skysight-inc/HackerNews huggingface dataset:
Summary:

> Root Cause Analysis and Advice for Implementers:

> We conduct a forensic analysis with the aid of performance counter results to identify the root causes of this performance gap. We find the following results: (1) code compiled to WebAssembly yields more loads and stores than native code (2.1× more loads and 2× more stores in Chrome; 1.6× more loads and 1.7× more stores in Firefox). We attribute this to reduced availability of registers, a sub-optimal register allocator, and a failure to effectively exploit a wider range of x86 addressing modes; (2) increased code sizes lead to more instructions being executed and more L1 instruction cache misses; and (3) generated code has more branches due to safety checks for overflow and indirect function calls.

A surprisingly large amount of this boils down to "x86 needs more registers", but there's quite a lot of detail here. It validates my personal experience that Chrome doesn't do a very good job relative to Firefox, for example

> Code generated by Firefox
has 1.15× more branch instructions retired and 1.21× more conditional branch instructions retired than native code, while code generated by Chrome has 4.13× branch instructions retired and 5.06× more conditional branch instructions retired.

> Chrome executes 2.9× more instructions and Firefox executes 1.53× more instructions on average than native code.

> On average, Chrome suffers from 3.88× more L1 instruction cache misses than native code, and Firefox suffers from 1.8× more L1 instruction cache misses than native code.

Overall, it was always obvious that Chrome's deficit compared to Firefox was just engineering work, but what is new is figuring out how difficult the native code deficit would be to close. Some aspects are quite straightforward; browsers probably need to develop a more aggressive tier-2 WASM JIT, now that both listed have a tier-1 baseline that is very fast to compile. This should include:

1. a better register allocator,

2. better peephole optimizations,

3. sophisticated loop optimizations.

Unavoidable slowdowns might include:

1. register pressure from reserved registers,

2. stack overflow checks,

3. function table bounds checks.

———

Is this line a typo? I can't make sense of it; I read 1.5 and 1.9 respectively from the table. (There's another mistyped sentence starting ‘Clang,’ but it is not a major issue.)

> On average WebAssembly in Firefox runs at 1.9× over native code and in Chrome runs at 1.75× over native code.
Leave. Job-hopping is a pattern, not a single event. If I get a candidate with a good track record but one three-month stint, sure I'll query it, but "it wasn't a good fit for me" is a reasonable excuse and a good conversation starter if you can wrap it in a strong story for what _is_ a good fit.
It should be noted that Microsoft has a history of massive engineering investments in backwards-compatibility, esp. around Windows. I don't know that that's the case here, but there's certainly cultural and technical precedent.
>"Things were better before so let's revert to where we were five years ago" is a terrible strategy.

I mean, if things really were better before, reverting to how they were sounds like a pretty good strategy. That's kind of a tautology.
> So, yes, it's absolutely impossible to get key up events in tty context

There is absolutely no reason that many terminal emulators couldn't translate key up events into an escape sequence and forward them on to the application. So long as they receive them somehow themselves (eg an X terminal emulator will be told of them by X).

It doesn't need to be out-of-band and it doesn't need to involve the tty driver.

The right way to do it is to make them only sent when the application requests them.

For example, this is how focus events work. If the application requests them with SM ?1004, \033[I is sent when the window gains focus and \033[O when the window loses it. There are not a lot of applications that use them, but some can (eg vim).
The benefit is, of course, clean up of orphan defunct processes. One might argue if this is outweighing the drawback of the change (it might not, but that’s what some distro maintainers chose to enable), but you shouldn’t suggest that they just broke you for no purpose, instead, you should stop and think before you assume that other people are incompetent, both because it would make you a better interlocutor, and as a bonus it wouldn't violate HN's principle of charity.
... and thus out of the ashes rose Rust lang...
Developing Infinite Scroll App in Node and React Native
Turn off JS and you see none of that. None.

Lord, I'm tired of people whining about the web and doing nothing, not disabling JS, not blocking ads via even a trivial hosts file, disabling cookies to prevent easy tracking, nothing.
What's sadder than the web is people who can't be bothered to take any responsibility for how the web is presented to them.

Yes, I'm angry. I've even contacted website maintainers to pressure them over this.
Ach, I have lost faith in people. They want nice things without doing any work for it.
Smart TVs, Digital Cameras, Thermostats, Wristwatches, Phones, Tablets, Printers, Google Home devices, Amazon Echo devices, TV sticks (Chromecast, Firestick etc), Ring doorbells, security devices, etc, . . .

Anything (like a Printer) with a web based interface, having a micro web server within the device.

There are VASTLY more ARM and other architecture chips than there are x86/64 chips around you right now. Possibly even in the computer monitor you're reading this on. The desk phone in your office.

Just about anything that has any kind of a screen with menu system.
Linked page is available on archive.org: https://web.archive.org/web/20160310023438/http://bevandan.v...
Alongside New Light Rail Stations, Seattle Plans Affordable Housing
Simple diagrams of convoluted neural networks (2018)
Respectfully, if you're using the PC's for work I'm guessing they don't get turned off (or stay in alternate OS's) for extended periods.

I'll take a look at task scheduler, thanks.
Yes it does suck. Not for writing but for maintenance.

I once got dumped a BI project that was written in a visual tool. Simple things like tracing how a field was derived was impossible, because there was no search function. I could search the XML file it produced but that was impenetrable.
Stable Perception in the Adult Brain
”The distance around Mount Castro along this path is less than 2,200 meters (275 bow lengths), so an error of two millimeters per bow length could give a total leveling error ofabout 55 centimeters.”

I don’t see a reason to assume any correlation between errors, so one would expect about sqrt(275) or 17-ish times 2 millimeters of total errors, or a few centimeters.

On the one hand, that makes it easier to use such a construct. On the other hand, I suspect the ‘2 mm’ figure was at least partially made up to fit the data.

Also, I find it weird that the text doesn’t mention any attempts to locate the various stone pillars presumably constructed. Surely, some remains should still be there?
People Obsessed with Going Deep Underground
It looks like China has a huge lead over the US in the "kill wealthy people" industry:

https://www.bloomberg.com/news/articles/2011-07-23/china-exe...
> code due to being unmaintainable, undebuggable or unoptimizable.

I would argue that the shader editor in UE3 had none of these properties. It showed you cycle count and each step of the graph visually for debugging.

Also, I don't mean to be blunt but you aren't the target for those tools. Where they shine is when you have a level artist that needs to make a small tweak to how a shader looks. With those systems you don't have to loop in a dev to make it happen. You still need a solid tech artist to make sure things don't get out of hand and they're not a tool for every problem but in the domains where it aligns you see 10x gains on a regular basis.
They have updated, just `apt-get upgrade`.
It looks like fairly standard JS to me. I don't know where to read about it but there are some details on the deprecation blog article: https://blogs.msdn.microsoft.com/ie/2008/10/16/ending-expres...
Risk Assessment Canvas for Product Teams
> If you're serious about running a marathon you'll probably average about 80km/week in training.

For my first marathon, my training was a half marathon the month previous and my training for that was zero (signed up 3 days before.) Now I'll concede it wasn't fast by any means (5h35) but you absolutely do not need to do 80km/week for marathon running if you're going to be in the 4h30-6h timeframe (and, indeed, most of the extreme runners I know don't do any training because they're averaging 50+ marathons a year and there's just no damn time for anything else.)
Researchers observe inwardly rotating spirals in a nonoscillatory medium
"Why do Indians always sound so defensive about their practices?"

I feel like that's a broad overgeneralization, but regardless I'd wager a guess that it would have something to do with not wanting to sound like a charlatan or a fool. Even if it works for them, people can be awfully bristly about health and lifestyle practices when it comes from someone they don't know.
That obituary question is a bit morbid for my taste - but this sounds like an interesting event. Reminds me of yc startup school but more personal.
The somewhat large transistor counts are understandable taking into account that the CADR CPU is mostly an insane (for the time) amount of SRAM (as in hundreds of 1k and 4k chips) coupled to comparatively small logic.
Visual programming suffers from the same low information density as video. I've actually had to work in visual programming environments and anything of moderate complexity (lets say a single average source file length) is simply visually untenable. A simple class you can page through in 1 minute is 20 screens in each direction represented visually.
yes and these adults might settle unknowingly
I think they should at least do some A/B testing on whether including a .deb package increases the downloads or upgrades significantly to justify the time and cost.
Said typos are (for the most part) on purpose.

https://news.ycombinator.com/item?id=19024327
“Finally solving Physics?” Yikes.
I was introduced to Shannon's theory through Pierce's text, which is also surprisingly good and cheap [1].

[1] https://www.amazon.com/Introduction-Information-Theory-Symbo...
Put the money into a trust fund? I suppose I could do that on my end, but that's a little extreme from an effort point of view.

Subscriptions are just difficult to manage, I can't deal with individual recurring costs for so many pieces of software.
With open source, your work is still protected by copyright
Just off the top of my head: I think on three separate occasions, specifically crafted text messages have made the Messages app disappear from iOS, requiring a reboot. There was a comparable MacOS login bug not too long ago.
Bait & switch jobs are a pattern, they happen all the time. Needing to leave several jobs in a row after only a few months at each place is just basic reality, normal circumstances for a lot of people given the way corporations treat employees now.
I use to make a living creating LabVIEW solutions for a few years in manufacturing test applications and in laboratory applications before that.

It works marvelously if you want put together a UI to process measurements from a fairly wide variety of instruments. Someone who is very skilled in LabVIEW can run circles around most expert Python or VB/C# .NET programmers trying the same thing. Seriously it's awesome. You get parallelism "out-of-the-box" with no problem at all. BUT... these benefits only hold true within the problem domains that LabVIEW is good at.

Once you try to use LabVIEW for truly general-purpose tasks it becomes either unwieldy or no better than open-source tools. Eventually, I had to drop LabVIEW when more and more work involved databases, dealing with network protocols, and heavy integration with API's outside of the NI ecosystem. The $3-5K per developer "seat" is also a barrier to entry for some orgs.

I think there's a place for visual programming for certain types of DSL's. Version control, diff'ing, modularization and some of the other things folks are complaining about here are just technical obstacles that can be overcome or worked around with a bit of creativity.
SO, are you going to share the candidates prior to the retreat?

Can we vote on people we feel should be there?

Can we see their submission videos?
> systemd is modular, but the modules are still all part of the whole

The idea that you are searching for is coupling. Modular systems should aim to have low coupling and high cohesion.
I've been running my own mail and other services since 2005. We had one severe outage in 2008, caused by a bug in reiserfs. In 2013 I migrated to a different server, with minimal downtime but some work involved. Last year, one of the disks in the raid1 was giving smart errors, but it turned out it was hot swappable.

I can't recall the last unplanned outage since the 2008 one.
In fact it need not even be restricted to discrete signals.

I think he was uncomfortable with the fact that the continuous signal story was not as well fleshed out. He came to revisit that after about a decade in "coding theorems for a discrete source with a fidelity criterion". This did for lossy compression what his 1948 paper did for lossless.

It rarely happens that a paper that creates a field also resolves its most important questions. That was Shannon's standard, I guess. That he revisited the question perhaps speaks to his inner discomfort that the story was not complete.
It’s showing me ‘AM’ and I’m on a 24 hour clock locale
It was correlated - it wasn't caused.

Sorry - grammar eye twitch!
This is kind of a ridiculous reply. Is the only solution then to admit that Linux is "done"? Because it sounds like there's no room for change, even when change is communicated and multiple options to avoid it are provided.
I've found this plugin works well. By default nothing autoplays, but I can whitelist websites.

https://addons.mozilla.org/en-GB/firefox/addon/disable-autop...
> I wonder if he had seen the current state of internet discussion if he would have changed "frequently" to "occasionally"

Which is accurate. A lot of Internet communication is a tracker phoning home, TLS handshakes and other communication with content but no "meaning" per se. In Shannon's day, such industrial communications--over telegraph--were common enough to warrant mentioning but not prevalent enough to make up the bulk of human communication traffic.
Note that it still won't warn you if you have the "Warn you when closing multiple tabs" options unchecked.

Source: https://bugzilla.mozilla.org/show_bug.cgi?id=502908#c68

> We don't intend to add a third, separate pref/warning for people who do want to have a quit warning, don't turn on session restore, and don't want warnings when closing windows / multiple tabs (ie making browser.tabs.warnOnClose = false + no automatic session restore + browser.warnOnQuit = true show a dialog is not something we're interested in doing.
What is a proprietary language to you? Java? Then you will have a hard time using many languages since it is open source and copyrighted by its owner like many languages.
Thank you--I appreciate it. I should have clarified that I did eventually get a job. Pay's quite low, but it's otherwise fine. And all things considered, I'm loathe to attempt another job hunt any time soon.
You can open about:profiles and use it to manage/start them, I think
Yes but it's clunky compared to chrome.

Manager:

firefox -p

Ordirect access:

firefox -p "account name"

I believe containers are available without an add-on using aboutconfig but that may have changed or it may not be full functionality.
We would really suggest using certbot-auto instead because it will create a venv for you so that you don't get version conflicts elsewhere. (It does use pip behind the scenes, but in a venv.)
Well the limit in nightly to nvidia on windows is less about saying “we think WebRender only works/is stable on nvidia on windows” than it is about saying “we want more people to try it and possibly send big reports but we don’t want to risk breaking the entire nightly population or have them all sending in big reports, so we will start with a small subpopulation where we think bugs will be due to WebRender rather than graphics drivers”
First contact: what if we find not organic life but ET’s AI? –
Interesting, which FAANG? Skimming through your history seems to imply we are both at the same one, but I can’t be sure.
It makes sense since WASM's SIMD isn't ready yet, and a paper saying “WASM is slower because SIMD isn't ready yet” would be rather uninformative to browser vendors.
He also showed the limits of the efficient market hypothesis in economics. Add in Einstein (information cannot travel faster than the speed of light), and Kolmogorov (random information cannot be compressed) to get 90% of why markets cannot be fully efficient.
I did end up getting an offer at something like this. Low pay, worthy and mostly interesting work. So no real complaints.
Meet the man behind a third of what's on Wikipedia [video]
Technically, only copy-paste mutations are not enough as you confirm addresses on the screen. But, for example, DOM edits from a malicious extension are enough.
How to Stop Wasting Time Online: A Proven 5-Step Strategy
Thanks for the kind words! My doctorate was about a DSL for musical signal processors [1]. Current post doc is about programming interfaces - I hope to Show HN in a couple of months!

1: https://www.researchgate.net/publication/289495172_Kronos_A_...
Sorry, didn't make it clear enough. I meant I worked for a company for a year and a half without ever taking time off.
This is so much bigger than Google and Oracle. They rule against Google and we are in for a lot of pain.

What is so ironic is Oracle was completely built off of re-using an API. It was an API owned by IBM.

Few companies existence is completely built off of using someone else's API.

But then the irony for Oracle to bring this lawsuit.

What other company the size or Oracle was built on an API?
Goodbye Big Five: Google
I work for a big 4 tech company and I've never had tasks as unreasonably paced as the ones I had in school. Admittedly I went to the school reported to have the worst work life balance in the country while I was there.

The environment isn't important, it's the deciding factor in the quality of your education. A good environment with the right curriculum is the single most effective way to learn a difficult subject, develop the habits that help you learn, and have the conversations that lead to retention.

There is a vast economic interest to decrease the distance here. You have a ton of eLearning resources at your disposal. They just don't work as well for most people.
Couldn't one technically do this right now with online games?
For anyone interested in this, check out http://reddit.com/r/zerowaste
Yes. One good thing about getting older is having better perspective on stuff like this.
Not quite sure that's true for cycling the latest TDF winner started at a cycle club in working class wales.
This will be the new model for accelerators moving forward. Condense the most valuable interactions down to a few days and watch the magic happen. Cheaper, less time intensive, and more effective.
I see what you're saying, but you also have to acknowledge what the article is saying. You could also "cycle" by finding a used, broken $90 bike. You could do "obstacle courses" by setting up abandoned garbage in a field for $0.

For all three of the sports, this is not representative of most of what the average invested long-distance athlete spends or how they interact with the sport. For example, if you run alot you're definitely going through more shoes than 1 pair a year to not risk injury, so increase that to $400-$500 / yr. Set aside $100-$500/yr for races. Don't forget $100-$200/night for the hotels, and a few hundred for travel and food. A good watch to help you improve your training is $400-$700. You don't want to chafe so get good running equipment and keep it up-to-date ($300/yr). When you become competitive, you might want to push yourself further with group training sessions or coaching ($50-500/mo). Your nutrition will be very important when you run far so account for $300-$1000/yr in extra groceries, nutrition items, sports drinks, gels, etc.

Now with just these we're easily over $10K/yr total costs, for just running. I won't even dig into cycling.

I totally agree running is low cost and low barrier to get into. But as you start investing more time in it, joining the local community, participating in races, making friends in the sport, and setting more aggressive goals, you find the costs do go up.

Yes, this is obviously an extreme example, but so was yours. I hope you can see how the average somewhat-invested runner easily spends close to what the article quotes.
Well I think it's clear that the Silicon Valley folks (rightly or wrongly) are getting frustrated by the focus on "incremental innovation" in technology and it sounds like this is one attempt to foster more ambitious innovation.
Want your web application (server side) to run on both local machine and those crazy "way too many weak cores" ARM servers?

Want your command line application to run on your desktop and phone?

Want to mock that hardware you are creating on your PC, do you can unity test the controller software?
Google starting to hit the presses about this probably means they realize they are fucked. This is an attempt to steer public opinion in their favor in order to influence either the outcome or start the discussion about mitigation for the expected outcome.
Creating AI-first mobile applications [video]
^this

I think the best illustration of this "fight" between CSS as a tool for styling "traditional" hypertekst documents, vs CSS as a tool for styling "web pages" is the fate of Adobe's CSS regions proposal - and Håkon Lie's opinion piece arguing against it:

https://alistapart.com/blog/post/css-regions-considered-harm...

That was when "design" lost. But now with grid and transitions, there's a "new" CSS - one that is oriented around UX for "web apps". But apps evolved from documents, mind - not from windowing toolkits like smalltalk morphs or Java swing etc.

Fwiw I really liked the idea of regions for laying out rich documents - like what you might want for epub.

I must admit I'm not that concerned about "web apps" - everyone seems to end up doing their o we n abstraction anyway, and the CSS that "falls out" isn't really sane anyway.
Serverless Checkout
Couldn't have said it better myself. You get it. :)
Yeah, using an ISO standard language (https://en.wikipedia.org/wiki/Category:Programming_languages...) avoids this problem. There a spec is specifically produced so that there can be multiple implementations.
Searched in four or five major cities. (Not SV, which is financially untenable for me.)

I'm sure there are numerically plenty of places that would hire me, but finding them is pretty arduous, esp since many of my declines were after all-day travel interviews to the opposite coast.

It's a big change from the past, when jobs would invariably just fall in my lap.
I often say that it takes years to wipe computer science off of recent grads and make them into engineers.

Do you need to memorize the algorithms so you reproduce them off the top of your head? No! Should you be aware of what they are in a comparative sense, and have a rough idea of what family of them you should be applying? Yes.

You need to learn just enough to keep learning, and more so when your applying, because only through use do you gain mastery. That. Takes. Time!

As for "will it get you jobs" -- at a subset of companies it will. Another subset will ask you to "write" code (and this is wrong as well)... Do you want to work for those companies is the larger/other question.
A proprietary language in this context is one that does not have an ISO standard.