skysight-inc/HackerNews huggingface dataset:
The compiler always might produce garbage. But a decent compiler won't:

#include <stddef.h>
#include <stdint.h>

uint16_t read_2byte_le(const uint8_t *src)
{
return (uint16_t)(src[0] |
((uint16_t)(src[1]) << 8));
}

This generates the correct code with gcc and with clang. Sadly, clang is a bit fragile in this regard: https://bugs.llvm.org/show_bug.cgi?id=39438
It's still a better culture than anywhere else I've worked.
We should instead have a moratorium here on HN against comments complaining about how projects are named. They distract us from useful discussions about the project itself.
" and they had no desire to learn about the cloud."

Is that true? I have seen it quite a bit that people in similar situations were never asked if they would like to switch.
See my response to tareqak. I mostly disagree with the way the headline is written as it implies that transparency is bad. Obviously the article dives much further into the issue but since when have people bothered reading such things? :)
Totally agree, just edited to make myself clearer. I was actually reacting to all the negative comments.
Whoa, I just found this redux-auto [1] project, which is a really interesting approach. You just apply it as a middleware and then you can import and call actions from anywhere. The API is a bit ugly but I like the general idea.

[1] https://github.com/codemeasandwich/redux-auto
The 'this' in 'this.setState()' tells react which component queued the setState. With the new API that information is collected by react through.. ehm.. some kind of magic.

I understand why the react developers chose not to make the component an explicit argument in the new API, as it would open doors to misuse. But magic never seems to work out in the long run, IME.
Kids Think the Darndest Things About How Computers Work
Microphones aren't plainly obvious and they can provide far more interesting data than a selfie. Also tape barely impacts the pickup quality for mics.

I have seen people cover laptop cameras but company-owned phones are usually ignored in this regard.

Not to mention keylogging and involuntary desktop screenshots.

Employee monitoring software usually has all of this (and more) in one neat package.
See elsewhere in this comment thread. Apparently she was already a regular burning man attendee.
Also I think Roberts is on here under the username russroberts613, and responded to the comments in this thread 2 hours ago, so upvote him to get his opinion/rebuttal seen and seek him out if you have any questions
It generally happens when the site specifies the forgeround or background color but not both, leading to very low contrast.
“Be­ing part of Net­flix is like be­ing part of an Olympic team,” the com­pany said in a writ­ten statement

Oh please. Get over yourselves.
In order to change the brakes on the rear of a Volkswagen you need a computer in order to retract the electronically adjusted calipers. This doesn't answer your question but it does exemplify the current situation. Cars aren't purely mechanical devices anymore. Computers play a large role in their operation.
I think you'll find that most people who dislike ICE do so because they are opposed to the acts they are designed to carry out (i.e., deportations). In this very thread, you have declared opposition to deportations.

And regarding AWS, the technology will allow ICE to carry out it's job more effectively (i.e., more deportations). This is clearly upsetting for some.
It's okay if they make 'more' money, but whenever an entity makes giant piles of money I wish there was a small mandatory royalty to the original creators.
Kuzeyköy F1 Domates Fidesi
Isnt the assumption here that he didn't want to share this publicly? It seems like a betrayl of trust, regardless of the merits.
> I wonder if their aggregate compensation even comes close to $150 million.

$150 million / 10 years / $200k per dev = 75 developers. I'm pretty sure more than 75 people work on Android, so yeah, a lot more than $150 million has been paid out.
Ah yes looking interesting... although it looks like more of an enterprise product (very expensive). I'm guessing this isn't included in the $7 per month developer plan?
Also, the military has pretty great job security, with the only genuine cutoff happening between E5 and E6.

I worried about a lot of things during my time in, but getting fired was not one of them.
If it was a fear based culture I would agree with you - I’ve worked in those & left as fast as I could.

Netflix is not even close to that in my experience, nor have I seen any evidence of that in the engineering teams around me.

Of course some teams may be different-and it certainly is different to how many companies operate-but the article seems to be unfairly characterizing the culture based on grumbling from a few disgruntled ex employees.
PTZ 15 Messi F1 Silor Hıyar Fidesi
Sure, correlates highly, but not perfectly.

Some people just don't get along. It's a fact of life. Managers are humans, and they detest working every day with people who rub them the wrong way.

Couple that with upper management at Netflix pressuring managers to hit firing quotas, and you can be sure who is chosen to be sacrificed on the altar of that particular metric...
Stalking / necroposting on this item:
https://news.ycombinator.com/item?id=6749247

You'd mused on how bad the PR disaster would prove, of Google's YouTube/G+ integration, back in November of 2013.

Five years later, that integration has been reversed, and Google are in the process of killing off G+.

Trust in Silicon Valley as a whole is low, Apple's CEO has just called for a national data privacy law in the US, and the idea of adopting a new Google product doomed to be killed shortly after is now a cheap punch line.

Google itself doesn't appear to be financially damaged, but that can take a long time to set in.
> No one intends to support their lazy eglstream suggestion for countless reasons,

So first Wayland came for the networked UIs because "X forwarding is shit" then they wayland users came for NVIDIA because "we don't like how they do it". I can see myself booting into a Windows 10 desktop in five to ten years because pretty much everything I relied on on Linux has been killed off by then, oh whait that is GNOME 10, it just looks and acts just as user hostile as Windows.

Excuse me while I seat myself into a corner with my trusty X window based software that at least does what I need it to do half the time.
> This design is so clean.

Does that include the giant video ad at the top?
https://imgur.com/a/4QvQO3W
I'd be shocked if there weren't at least a few assault arrests a year at Netflix HQ reading this. While on one hand having it be known that your time at a company is tenuous and can change quickly is helpful, because thats true at all companies, going the opposite direction to directly play into both imposter syndrome and general workplace anxiety sounds like they're selecting for only the most self-assured people.

In my experience, extremely self-assured people are wrong at probably the same rate as those who are unsure if they can cut it (but are still there). Having seen Netflix employees give tech talks at conferences, the thing I tended to take away is that every single thing they do must be marketed to be the end all be all and because they made it everybody else is wrong. In general, I've even agreed with much of the talks, but the rate at which they close off any/all ambiguity or side-considerations is bordering on an air of desperation.
You might think that, but the illusion will break fast if you actually move here. The inland can be supper dry, so much you could almost hear it dinning in your ears. No surprise so many water conservation efforts have been launched here!
The human gut microbiome in early-onset type 1 diabetes from the TEDDY study
I remember reading about this a while ago and I thought that it could work for a while but eventually you will attract and accumulate a bunch of cutthroat sociopaths. How do you even assess performance objectively without smart people gaming the system?
Hiring people of only one sex is illegal in the US. See the Hooters lawsuit, who had to settle for millions for only hiring women.
Didn't care personally doesn't mean you wont do what you need to cover the company (and your own ass) from negative future feedback (plus legal trouble) of not doing anything.

They cared about that, but they also cared about their pal (and fellow senior exec) more, so they designed a nice respectable and profitable exit strategy (people can resign for any reason after all, and at the time Google presented it as his own decision, amicable and everything).
Past kings would have banned just possessing any inflammatory information. If Wikipedia was around 800 years ago and you, a serf, were caught using it, the king of England would have cut your head off in the city center, and the public would cheer and celebrate your death.
Inequality is indeed inevitable, but inequality to this degree is relatively recent. You must have a short memory.
I get that Automattic wants to compete with Wix, etc, but throwing the Wordpress community and ecosystem under the bus is not the way to go.

Gutenberg has its place in the web dev world of 2018 but it should have been a completely new project instead of a replacement of good old Wordpress.
Any tutorial on building a cross-platform (Linux, Mac, Windows) desktop GUI app with this?
Nope. I inherited this Grails codebase. The people and reasoning behind the decision were long gone before I started here.

There's a lot I actually (now) like about Grails. Hiring talent is definitely not part of that.
I think the reason is that HR is similar to IT and QA - if they do their job right, it's like they're doing nothing at all.

My guess is that "Thank God HR was on top of that problem" is not a common phrase in meetings. Neither is "Wow, HR did a fantastic job creating that job posting, and every single candidate that they've brought in has been at least plausible." If they aren't braindead, you just take them for granted.

Systems like that tend to get neglected.
It's a moral panic, not entirely unlike your urge to exact revenge from the political class.
Another challenge is the trustworthiness of the x86 platform.

I can only imagine that's incredibly frustrating. Knowing no matter how hard you work on Qubes, x86 isn't really deserving of trust right now.
It's in the prescribing information.[1]

Adverse event - Xofluza(%) - Placebo(%)

Diarrhea - 3% - 5% [higher in placebo]

Bronchitis - 2% - 4% [higher in placebo]

The FDA requires that the manufacturer list the most common adverse events, even if they are unrelated to the drug in question.

[1]https://www.gene.com/download/pdf/xofluza_prescribing.pdf
asm.js is not "just" efficient Javascript though. It is typically compiled a different way to standard JS.
OTOH - DOS probably has a pretty low vulnerability profile and it's _very_ well known. Most modern POS terminals run Windows 7. Which is more secure?
Fabulous, so now in a company with 72 thousand employees anybody can just fill in an online form and file completely anonymous accusations of a serious crime that is very hard to disprove and leads to immediate termination. Can't wait to see how it goes.
In that case, if it were me - I suspect I'd be jumping into Swift. It _feels_ nice to play with (but playing with it is all I've _really_ done, so take that into consideration when evaluating this advice...)
This is so always the case.

Sometimes a business that is not a pure meritocracy may have managers who got the management gig because they’re someone’s relative or from some non-work-related connection. They may be afraid they’ll be exposed for not really being that qualified for their job.

If they have a report that produces really high quality work, they may be intimidated and hold off on the praise to avoid placing attention on the report, and on their own self-perceived inadequacies.

In addition to holding off on praise when it’s warranted they may also even write the report up for trivial things such as being 1 minute late to work. So the net effect for the report is more negative reviews than would otherwise be, and less positive ones than deserved.

Human nature is a hell of a thing.
I'd agree it's "magic" in the sense that it's not entirely visible to the end user. But, the key is that React is _already_ tracking _which_ component it renders as it traverses through the component tree. It's just now also keeping track of some additional data as it goes through the process of rendering that component. So in that sense, it's not any more "magical" than any of the existing render algorithm.
> So every employee gets to be badmouthed in front of as many as hundreds of former co-workers, as Netflix's special parting gift?

Well no. It’s usually very positive about them and generally sad that things couldn’t be made to work.

The point is not that they were bad - the idea is Netflix wouldn’t have hired them if that were so! It’s that it just wasn’t a good fit due to misalignment of goals. Perhaps someone doesn’t want to change or just keeps behaving in a way that they’ve been asked not to.

I’ve read a few departure emails in my time at Netflix and none of them - even the one with the C level exec who is mentioned in the article - were “badmouthing” anyone.

If anything they’re quite positive about the person tbh.
There's not really any motivation for people with access to GrayKeys to confirm things that GrayKey has said. I would imagine that GrayShift frowns upon its clients talking publicly about GrayKey, so there'd have to actually be a good reason for someone to do so. "GrayShift told the truth" isn't a particularly good reason. But "GrayShift is lying" for many people would be a good enough reason to be worth speaking up. Heck, even an anonymous claim that GrayShift is lying would be something, but if anyone made such a claim, it wasn't publicized anywhere.
That is american working culture - it is built upon the myth that if you can't cut it you don't work hard enough or smart enough. If you aren't a millionaire or on your way to become one, its because there's something wrong with you.
Just Deserts (on free will)
I know this is verging on the "non-substantive" type of comment we're discouraged from making here, but the word "Cult" springs to mind.

As someone who's now in mid-life (51), and self employed, I'm so glad I don't feel the need and aspiration to become employed by these goons (or any of these blue chip tech companies....Amazon, Facebook, Google). Life just sounds awful despite the generous salaries (which you'll piss away in crazy rents and mortgages).
If anything, that gives me the desire to apply there. This sounds exciting to me, not scary.
Arguing that the license is invalid as a defense in court seems to be a risky legal strategy.

‘Your honour, my argument is that I was copying this copyrighted software, for profit, without any legal license to do so. Oh wait...’
There are very few mechanics who will actually fix parts unless it is for their own vehicle. Most will just quite the price with a replacement part and move on. Even those that know how to do stuff like this rarely will agree to actually repair anything.
As far as I know, aiohttp is an alternative to Flask, unless there are newer versions of Flask that somehow integrate it.
> In the real world, it's not that easy. Things happen.

No, things don't "happen". People make them happen, and should own up to the consequences of their actions. If the policy is "don't", then you can choose to 1) do not, no matter how much you would like to; 2) move / leave so you can do freely; or 3) do and (if/when found) you get smacked in the face with the policy.
perl, bash and picat. C for the backbone work, picat for the hard problems, bash for simplicity, perl for the rest. and eventually pony for the massive parallel moonshot problem, when c++/openmp is too slow and insecure.
Since 2016. Two years after Rubin was allowed to retire. Still reassuring I think, but not a great headline.
> the effects are almost identical

This has been my experience too. I don't think I could tell them apart if I was drugged with an equivalent dose and not told which was which. I think the appeal behind meth is mainly the better value, its ability to be smoked, and the difficulty in adulterating it (since it is typically sold in crystalline form, whereas amphetamine is often sold as a powder or paste).
... This, according to a "travel and lifestyle" "journalist" with a degree in environmental studies. Thank you, very cool!
Which CVE is this referencing?
You reference the logical fallacy of "think of the children", but in this case it doesn't really seem like a logical fallacy, if we are literally poisoning the children.

For comparative example, lead abatement is not a fallacious "think of the children" argument- actual children are routinely poisoned by lead.
You'd think that in any decent company a manager would be held accountable for firings. "They weren't performing, why not? What did you do to assist them? Show us the minutes from your meetings where they outlined why they couldn't meet performance goals and you provided ways to help them"

A manager's role is to support their team, any failure to do so should be looked at very carefully as to why they are under-performing. This behaviour needs to continue up the chain to the very top of the company structure.
That's what I thought, and then I fragged a Ferrari engine. Dunning-Kruger is not a river in Egypt...
Have you already forgotten your own post that started this?

https://news.ycombinator.com/item?id=18297710

1. You are imagining current technologies at scale, but future technologies are likely to get cheaper and better. Robotics is still a newborn field. Cars have also gotten cheaper and better; the Model T started out around 20k in today's dollars for a 20hp car that went 45mph.

I didn’t set the comparison, and decades of cars before the Model T (released in 1908, only about a decade after the first practical automobile available in the US was released by Benz for a fortune) wwre hardlu displacing the horse. The mass transition from horses to automobiles began in earnest with the Model T, and the post you were replying to was pointing out the need to define your competition. The major competition for the Model T was a horse. Cars before it were finicky, incredibly expensive, unreliable, and out of the hands of the average person. The Model T changed all of that. Given that we were talking about how current humanoid robots could only be the toy of very wealthy people, it seems a fair comparison. The problem for you is that it supports the opposite point to the one you tried to make.
> It sounds a little draining to work with people you don't like, regardless of the reason of dislike.

Absolutely! Which is why people do get fired all the time if they rub their managers or the rest of the team in the wrong way.

That's why making blanket statements that "all our firings are due to pure performance reasons" is such a blatant lie.

I'd like to see the manager who puts up with someone they just personally dislike, for the most mundane reasons, every single day, for months.

The article states that upper management also encourages managers to fire employees, which makes this decision just a little easier and more likely.
The other magic is financial. My bet is that they assume free biomass. Once you assume input cost = $.00, things look easy.

And, to be fair, maybe this thing makes sense after a hurricane. There's lots of "free" biomass laying around in an area of extraordinary transportation costs.

But it's obviously not a solution to the "water problem" in rural, impoverished areas. You'd need to include the price of a renewable forest or palm plantation (for coconut shells), or the huge solar array.
This deserves some warning: the intense explicit language is pretty shocking even if it is 2000+ years old from a famous classical poet.
[ticgit](https://github.com/schacon/ticgit) might be a better kind of solution
On a small side project, I load the initial results with the template and then do filtering and additional searching with js. This allows me to be SEO friendly, while still having nice filtering functionality.
U. Bruhin (the primary author of LibrePCB) answered this question on Reddit (https://www.reddit.com/r/PrintedCircuitBoard/comments/9q4j1n...):

---Quote:---

Hi! LibrePCB has some very new concepts, especially for library management. You should take a look at my talk at FOSDEM: https://www.youtube.com/watch?v=vu-h5y6tK34 (Slides: https://archive.fosdem.org/2018/schedule/event/cad_librepcb/...)

As these are extremely different to KiCad's concepts, it would be very difficult to contribute that to KiCad because they need to provide backward compatibility. And KiCad already has a lot of legacy code, so it would become even worse when changing very fundamental concepts. It's very questionable if KiCad developers even would accept such fundamental changes - actually I'm pretty sure that they wouldn't agree with some of LibrePCB's concepts. So the only way was to create a completely new project.

And LibrePCB 0.1.0 is only the beginning - I have many more ideas how an EDA tool should look like. With a standalone project I'm much more flexible to implement new features than if every feature would need to be contributed to KiCad.
It's impressive, but it also means that your camera isn't always going to capture what's there -- it'll capture what it guesses was there. I wonder how easily it is fooled to capture something that's not there?
> Netflix pays well, but does it pay so much better that I should put up with this BS?

To the FAANG employee with a PHD who's been "hanging out" making widgets a 1st year programmer could build, the appeal I think is to invite people who want to show off the fire in their belly to do something.

And then they make 1st year programmer widgets, but with LOTS of passion and arguments and being told they can be fired at any moment.
Worth noting is that ciphering, regardless of the technology (2G/3G/4G), is optional.
I suppose more interesting is that 13 of those were "senior" managers.
Funny you should mention that :)

There's a lot of existing libraries out there that will indeed generate action creators, reducers, etc (see my Redux addons list [0] for examples).

One of the most interesting ones I've seen is Eric Elliott's `autodux` project [1], which does some clever bits of handling inside a `createSlice()` function.

Earlier this year, I put together a new project called `redux-starter-kit`] [2]. Its goal is to simplify several common use cases with Redux usage, including store setup, reducer definitions and immutable update logic, and default behavior out of the box. While we don't plan to add these things to the Redux core itself, `redux-starter-kit` is an official Redux-branded library, and we're going to start encouraging that people use it in most situations.

We just added a `createSlice` function to `redux-starter-kit`, based on the `autodux` approach. I'd encourage you to try it out, as it does _exactly_ what you're asking for. I'd also really appreciate some feedback on how well it works, and any additional ideas for things the starter kit should include!

[0] https://github.com/markerikson/redux-ecosystem-links

[1] https://github.com/ericelliott/autodux

[2] https://github.com/reduxjs/redux-starter-kit
It's a mercenary approach, interesting even just as a sociological experiment. Obviously a lot of people don't agree with the methodology, but Netflix isn't hiding anything; if you accept a job at Netflix then be prepared for a mercenary culture.

Ultimately, I'm most interested in seeing the results. Does having this mercenary culture increase or decrease the quality of the product? Hard to measure, of course, but if the ultimate answer is decrease or no significant change, we can probably all agree it's needless and potentially cruel.
This I assume:

https://lists.x.org/archives/xorg-announce/2018-October/0029...