Better HN
topnewbestaskshowjobs
Log inSign up

ComputerGuru

32,405 karma · joined Jan 3, 2008 (18y ago) · 8,297 submissions

mqudsi on most sites.
Submissions

comment 6y ago · link · parent

Mobile is such a stupidly confined platform for UX with its imprecise input constrained not only to boxes 1cm/1cm wide but also the lack of hover. They're crude approximations that fail to benefit from true human dexterity and simultaneously rob us of hover and other input signals that can be used to enrich the UX and show hints or provide context. And desktop UI designers scrambled over one another to throw out their rich and carefully designed UX paradigms to adopt a similar least common denominator for their user interfaces.

comment 6y ago · link · parent

That's OK if you have a reverse camera but will make driving or parking in reverse absolutely impossible if you don't. Clever suggestion, otherwise.

comment 6y ago · link · parent

Tomorrow Github announces developers pushing releases (or commits) with less than a certain cadence will be unlisted.

What a time to be alive.

comment 6y ago · link · parent

That should be on the person using a tiling window manager. The whole problem with development this side of the mobile revolution is the regression not to the mean but to the least common denominator and it's what made Windows 8 so horrible.

If a WM might exist that chooses to ignore the positioning call, that doesn't mean everyone should be robbed of that functionality.

comment 6y ago · link · parent

One of the problems is that X is effectively being deprecated in favor of something that isn't X 2.0: it has different goals, different targets, different ideologies, and not to mention different architecture.

Eg Wayland is unashamedly Linux-centric (mind you, definitely not the same as Linux exclusive), while X most definitely isn't. One was designed to allow for remote rendering, one wasn't. One integrates the window manager functionality and one doesn't. The list of course goes on.

comment 6y ago · link · parent

Sure, but they never\* have to travel the full coast-to-coast, which is presumably where the worst of its effects, if any, would be realized.

comment 6y ago · link · parent

The assumption was that teams from the Midwest would suffer least if it were purely distance (as they have the least shift/average travel) but that didn't bear out.

comment 6y ago · link · parent

I actually explored all those in my research a few years ago, but stateside and with baseball as the subject: https://neosmart.net/blog/2016/homefield-advantage/

comment 6y ago · link · parent

A bit of a shameless plug, but a few years ago I Googled for scientific and statistical analyses of home field advantage and didn't find anything, so I ended up crunching the numbers for myself.

With the caveat that this is for baseball and not football, home field advantage has shrunk tremendously over the years. Just look at the curve of "field kindness" over the history of the MLB, it is insane how much of a difference the field you were visiting used to make!

https://neosmart.net/blog/2016/homefield-advantage/

(my favorite bit is the curve ball when it comes to fields that confer a statistical advantage to the visiting team!)

comment 6y ago · link · parent

Except we’re not talking about companies, we are talking about the actual app in question. The app is called instagram and it is separate from another app called Facebook by the same company.

comment 6y ago · link · parent

One benefit dance has is being low risk, especially for someone that might be in a partially compromised state.

comment 6y ago · link · parent

This is actually the opposite of current limitations. Stick a capacitor and some DRAM on the NVMe and you can "instantly" flush to disk, but there's no way to anticipate where the next read will come from and therefore no way to accelerate it.

You'll see modern NVMe disks with sustained writes greatly outpacing reads until the write cache is saturated, at which point what you say is true and reads will greatly outpace writes. But you don't want your disks to ever be in that threshold.

comment 6y ago · link · parent

They are, but performance in teraflops is not the same as performance in general computing activities. We are now scaling horizontally within a single cpu package.

comment 6y ago · link · parent

Moores law is strictly about transistor count and not performance, it is just that we are only now seeing the two come decoupled.

comment 6y ago · link · parent

This is why there exist variants of chess purposely designed to change that dynamic such as a fully randomized initial placement of pieces.

comment 6y ago · link · parent

I definitely would not say zstd has replaced xz, but it is on its way too. I'm not sure it is even the best replacement because the needs of packages differ from the strengths of zstd. Zstd is designed to optimize for both compression and decompression (i.e. It does neither spectacularly but has very good/pareto trade offs) while packages are very much written once and read many times. If xz weren't so memory intensive to decompress it would be a good choice (ie it's not a good choice), but I feel like there is still a better option out there that approaches the problem from a "optimize for size at the expense of heavy compression costs" and zstd is not it

comment 6y ago · link · parent

Not intended as snark, just colloquial. Thanks for the feedback and I've updated the phrasing.

comment 6y ago · link · parent

FYI you can use ffmpeg to encode gif as h264/h265 mp4 videos of varying quality or convert to webm which can be played from an img tag, all of which will be orders of magnitude smaller.

Simplest form: ffmpeg -i foo.gif -c:v libx264 -crf 22 foo.mp4

You can vary crf to change the size to quality trade-off.

comment 6y ago · link · parent

A court case is the only way for a judge to privately review the purported evidence and make a determination if that evidence actually exists and was sufficient for the story to go forward (even if ultimately false) or if it was shaky at best or entirely fabricated at worst - otherwise any paper could publish anything based off of "anonymous sources."

I'm all for journalistic freedom and anonymity of sources; I'm not saying they have to unmask their sources but they definitely have to be able to provide - confidentially to a judge or a mutually agreed upon third party - something to substantiate their allegations.

comment 6y ago · link · parent

They should have been sued, and not from a being petty perspective. Libel laws are a huge part of what keeps the media trustworthy.

I'm also curious why they were not sued, and tbh that makes me wonder...

comment 6y ago · link · parent

No, I believe SRAM actually has the edge in that department, and by a fair margin too. The d in DRAM is for dynamic as contrasted with S for static. DRAM need to be constantly read and refreshed (the timings) while SRAM doesn't and that comes with a pretty big hit to energy consumption. As soon as you add DRAM to an embedded project, the thermal/power envelop increases.

Of course that all depends on the generation of tech and only applies in an apples to apples scenario.

comment 6y ago · link · parent

Have a look at this writeup by the author of lezer, if you haven't already: https://marijnhaverbeke.nl/blog/lezer.html

comment 6y ago · link · parent

"Tachy goes to Coventry" was the first implementation I know of. And I can't believe I remembered that off the top of my head.

comment 6y ago · link · parent

> I'd really hate my 6% sales tax to be raised to 10% so that we could kill a coin I don't even use (last paid cash probably a year ago).

If you're paying in plastic then there's no rounding.

1
118119120
277