skysight-inc/HackerNews huggingface dataset:
California already has: https://www.huffpost.com/entry/understanding-californias-ban...

I think NY would have a harder time doing this without losing employers in finance. A lot of IP in algorithmic trading can't be protected by patents since they only work if they are kept secret. Non-competes are essentially the only mechanism for IP protection of trading strategies.
Without a garbage collector? A garbage collector is a gift, not a restriction. A garbage collector is a fallback for when other mechanisms fail, and a helpful tool for prototyping.

A garbage collector is a function that frees memory through tracing. It doesn't stop you from freeing memory another way. D's GC isn't a Java or JavaScript or Go GC, it doesn't have overhead-inducing write barriers.
I think you're vastly overestimating both the leverage a low-level employee would have in one of those megacorps and the amount of autonomy that an HR rep would have in a case like this. They have a process to follow, and that process does not include negotiation. Maybe they have the power to escalate the request to someone with decision making power, but that's going to take time, and their flowchart probably does not allow for allowing somebody to start work provisionally until that escalation is solved.

What "legal repercussions" are you thinking of? The author stated that their new contract was "at will", so their employment could be terminated for any reason at all.

(Not defending Amazon here. But the employee had been put into a position where they had no realistic choice but to sign.)
I see people recommend this _all the time_ and yet as far as I know the only way to legally obtain LTSC is via a 45$/month subscription to MSDN. Is there some other avenue I'm not aware of? If not, then that price is absurd for a feature set that used to be available by default in Windows 7.
Private is also uploaded. Will make all those thing clearer, consistent feedback here about that topic. (Nowhere else people mentioned that)
I’m currently an Amazon engineer - it was my first job out of college. I worked really damn hard to get this job, and now everyone (including you, a Facebook/Google employee) seem to think I’m stupid and inferior because I didn’t pass my Google/Facebook onsites.

I’ve studied for hundreds of hours but the best company I’ve cracked is a hedge fund. It’s comments like these that make me wonder if I should just end it all.
But the bug is not in that function, if a function accepts size_t, then that value can never be <0. If someone were to pass (size_t)-1 to it, it would still be positive. The issue is in the caller of the function, which must convert a negative value of a signed type into size_t, and that is the actual bug in this situation. Perhaps those conversions should trigger at least a compiler warning.

Asserting things which are given from the types is a waste. Or do you think we should assert that a value of type bool is really either true or false and fail the program otherwise?
One register is a big deal on x86-64.

Even bigger deal on x86-32.

I recently wrote a x86-64 backed (as in like 4 years ago) and I recall that if address pattern matching (which is now very complete) was not there, you’d lose >1% perf across the board.

I wrote a pretty good x86-32 backend - for a totally different compiler (a whole program PTA-based AOT for JVM bytecode) a long ass time ago and vaguely remember it being like 10-15% there.

Note I’m talking about macrobenchmarks in both cases. And not individual ones - the average over many.

Also don’t forget those functions that sit on the ledge of caller saves. Having any caller saves is more costly than having none. So if a function is using all of the volatile regs, makes no calls (so no need to promote to caller save), and you cause it to use one more register, then it’s prologue/epilogue slows down.

Registers matter a lot. :-)

And about your point about freeing up ports or other things: that may be a cool theory, but I’m just saying that it’s hard to show that using those addressing modes is a speedup if register allocation doesn’t care either way (I.e the use of addressing modes doesn’t help spills or prologues). Meaning, most of the reason why compilers emit these is for regalloc, and it is the only reason that I’ve been able to detect as being the one that changes perf across two different back ends.
Automatically generated builders are also nice, not sure yet which I prefer.
> Some people are saying that these clauses are known upfront before joining

If you live in a country/state where this is legal, that doesn't really matter, because practically every company has non-compete clauses, and your options are to agree or be self-employed the or unemployed.
Most user experiences aren't the same as developer user experience.
No plans, huge backlog one person :)
That depends on the nature of the genetic disease.

If the original gene produces a protein that actively causes an issue in the body, versus if the gene produces a broken protein that simply fails to do its job.

In the first case, a partial replacement means that the original active protein continues to cause the disease.

In the second case, a partial replacement means that the repaired protein begins expressing itself.

In either case, there may or may not be a linear correlation between the percentage of fixed proteins and the severity of the disease, and that relationship probably isn't well understood in most disease cases, but a partial replacement is likely much more beneficial in the second case, rather than the first.

That is why these initial test are done on chemo patients, so that we can isolate testing of the method of treatment without needed to know what amount of the original tissue needs to be replaced.

There is still a long complicated road ahead. Not a lot of organs get fully replaced in other procedures.
I struggle to understand how a TiVo-ized device running a mixture of GPL2 and proprietary code isn't a license violation. The code is distributed to the end user as a single uninspectable blob, i.e. the firmware image. Yes, "under the hood", there are separate binaries - but this is purely an accounting fiction that holds no relevance for the user. Is any combination of GPL and non-free code allowed, so long as it emulates a Unix OS at some level?
I was confused by this response, because it appears to just repeat the content of my original comment.

Now I'm more confused that my comment was upvoted and this was downvoted.
Who's saying he has to sell his stock? He should be giving it away to his employees, all the way to the lowest-wage factory and warehouse workers. They're the ones who make the company work, and he doesn't give a shit about them.
Questions to help people decide what to learn
XOR Gates in Human Neurons
The authors show how dendrites in human neurons may be equipped to function as an electrically independent XOR gate.
Free is usually a trap
You make it sound like selling all at once and flooding the market is the only option. He could slowly sell off shares over many years and thereby exchange personal power at amazon for tangible good in the world. He choses to maintain his position because that's where his priorities are. He's within his rights to do that, but let's not pretend one of the most powerful people in the world has his hands tied.
Seafarers Getaway, along the Great Ocean Road, Victoria Australia: https://seafarers.com.au/

I went in winter. It's surrounded by the Otway Rainforest, a very unique ecosystem with some pretty awesome hikes and waterfalls! I live in Aus, so I just drove there, but there is a bus line that takes you from Melbourne along the Great Ocean Road you could use if you're coming from overseas.
Was not "marketing" one of the biggest driving factors of moving to Swift, though?

Objective-C ranked highly in usage, but largely because of it being necessary for iOS development.

At the same time, it was common outside of the Apple bubble for devs wanting to make something for iOS to complain about having to learn this "weird language with square brackets" that "only Apple uses", and "why can't we just use something like Java like we can with Android?"

With, of course, zero knowledge of Objective-C's Smalltalk roots, or its purported ethos.

I know it's more complicated than "square brackets bad", with all the C code mixed in, and memory release pools and all, but in general, Apple did still have a marketing problem courting outside developers to build native apps without resorting to "web view" wrappers.

I love Swift, I really do, but I would love something that feels more directly Smalltalk-esque even more. Swift decidedly feels like the goal was to make something that looked familiar enough to the C / Java / Javascript / C-like devs to get them on board, without tossing out some of the core benefits of the Smalltalk ethos. Which, apparently, means using C-like methods with parentheses at first... until you reach special cases where you don't.

Smalltalk is, IMO, a great example of how something can both be very expressive yet very minimal... but that inherently means ditching some very familiar syntax. As soon as you do that, you lose a lot of C-like developers (be it rightfully or wrongfully so).
> AMP is a Google content proxying technology, and Google isn't generally understood to be a "sketchy site."

The whole idea of AMP pages is sketchy by default, as it's Google taking content from websites run by news media outlets and hosting it on their own servers so they have even more control over user-tracking.

In the long term, this has the potential to further centralize the Internet, something the Internet was never meant to be.

It's not that difficult to imagine a future where news media won't even host their own stuff anymore but instead outsource it all to Google.

Very comparable to how Facebook has become the de-facto place for small businesses, with little to no IT knowledge, to have their own little web-presence.

Which has certain advantages, but it's dangerous to belittle the very real disadvantages that kind of centralization of content will have in the long term.
I definitely do. FF being perceivably slower than Chrome continues to keep me off it.
Adobe Photoshop 1.0 Source Code
No, there's no way to escape the laws of dilution.
The URL can already be longer than the screen to begin with, so they could still do that and show as much as will fit, showing the rest if you click on it. This is already what Firefox does.
This looks painful.
it is a very useful project and just done at the right balanced - simplicity and self-contained. But, I use an android phone :(
So distribute some of his net worth in Amazon shares, no need to convert to cash first.
TPU
Almost as if different clauses can impart different context to the same word. The data is not locked, provided you have the application that manages that data. If you want to call it "locked" then "the application itself turns it into unlocked data for you".

That argument that a proprietary file format "locks" data ignores the fact that it's the pair {application, file} that determines whether your data is locked away or not. For instance: Microsoft Word data? not locked. You can trivially export it in quite a lot of ways. Can you easily get it from a traditional .doc file? Hell no, but that doesn't mean the data itself is inaccessible. Instead of using sqlite, or xslt, or PERL, or whatever, you use word.
I am not sure how you define "amazingly competent, well-trained, and effective", but in at least one respect the Japanese police is highly negligent: https://www.businessinsider.com/afp-getting-away-with-murder...

Additionally, this statement does not depict what many (most?) people would consider an effective or competent police force: "she was not [Japanese], which meant that the police were... less incentivized to help her".

I am currently a foreigner living in a Scandinavian country, and I simply cannot imagine facing the same kind of discrimination from the police force (nor from other authorities) here. I think many (most?) people would agree that an effective/competent police force is not one which ends up driving foreigners out of the country by virtue of being unwilling to afford foreigners equality before the law.
Point and Shoot Camera
Well, many of them sure, but not all of them. For example, Bill Gates has his wealth distributed across a wide range of investments, which means that Gates' ability to turn his wealth into cash is much much greater than Jeff's.

As for the theoretical part, billionaires with all of their wealth tied up in a single company generally only have access to billionaire kind of money through loans with incredibly generous terms that they pay back by selling a bit of their stocks every year.
Underrated ML
https://music-grid.surge.sh/#2281-3241-2217-3759-0-2866-2325...
> which is pretty much the salary of one person to look after that system for the lifetime.

My average time spend in data centers when handling racks in two different location was around 3-4 days a year. Buying on-call, out-of-hours support is going to cost you a tiny fraction of a persons salary per year, either on retainer and/or based on hefty day rates.

Hardware failures simply do not occur often enough for a rack or two worth of hardware to typically require enough maintenance to make it that expensive, and remote hands (people who act based on a ticket) are available in pretty much any data centre at low costs. If you get servers with IPMI etc. you typically pop in to wire up or retire equipment and dealing with the occasional failure.

Source: Have provided those kind of services for years.
Another one! I keep hearing this over and over again. Can you PLEASE explain how these things won't scale from a few million people to a few hundred million people?

Of course there are some things that only work in very tiny places, like the prince of Liechtenstein inviting all citizens to a garden party at his place – and some things that only work in very big places, like a manned lunar program. But why wouldn't things like hospitals and schools scale well for the range "a few million" (Sweden in your example) to "a few hundred million" (the US in your example)? Sorry that I'm getting all worked up here, but I feel like a crazy person for being presented with this argument over and over and not grasping even a fraction of it!

Nobody says "oh, those things from Sweden won't scale to Germany (10x)", but for some reason this conversation keeps getting shut down with "oh, those things from Germany can't possibly scale to the US (4x)".

Above I'm only talking about population, because surely you don't actually mean that "small physically" has a positive effect on hospitals, schools and housing? If we were discussing transportation infrastructure, sure, but…
But why should isOdd, isEven and isNumber reside in seperate packages? Surely a single math tools package should cover all of this?
Yes, though in this instance they pulled of 44terrabits rate per second, so with that you would be looking at 156 megabits inflight over a 1km cable if my napkin maths are correct. Thats 18 megabytes, sure error rate etc and correction would limit that a bit as nothing works as ideal, but sure does seem like may have some uses come into play.
Comparison of async await syntax in .NET, Python and JavaScript (2016)
Honestly, if most "advanced" users turn off the features that Google uses to gather data to improve UX, it's strong signal UX isn't important enough to "advanced" users for Google to optimize for it.
I have fond memories of using Swarm in an undergrad course on agent based simulation ~20 years ago. Just tweaking the heatbugs example in various ways was already enlightening. Thanks for your work!
Seven Techniques to Master Error Handling
The benchmark doesn't reflect how I would use asyncio. Instead of simply hitting a DB I'd like to see adding an API call to the middle of the request.
It's worth noting that this is usually a significant pay cut from the usual total comp, since annual bonuses in some areas of finance tend to be >50% of total comp.
To me it is preferable to write JavaScript like it is 10 years ago (using slightly more rudimentary functionality) than to deal with transpiler hell and write shiny ES6 code. Old tech gets the job done and if you are aiming for stability, is probably a better choice. I know it isn’t exactly a fair comparison, but C developers don’t code everything in C18 and then transpile to C99 for maximum platform operability (I hope). We usually just use the older standard until the shiny new one is supported on the platforms we care about. I may know of one or two legacy C89 code bases that still exist that have not caused the sky to fall yet.
L1B is a dead-end, how do you plan to leave amazon and still stay in the US?
Hardly. If you look at firefox's source, you will find several extensions that are hard-coded for special handling. This is not new.
How are you vacationing without a rental car on a tropical island, like Hawaii? Uber/Lyft might be workable on Oahu, but on any other Hawaii islands rental car is a necessity unless you just stay in your resort all day long.

Or any of the national parks that's far enough you can't drive your own car all the way from your home? After you finished your activities for the days and are ready to go back to your hotel, you might not even have phone signal to call Uber/Lyft in the national park.

I guess you and me just have very different definitions to "vacation".
Losing $35 – A Classic from 1997
> Ramana Maharshi taught the simple, direct method of enlightenment.

Can someone explain why I should want "enlightenment"?
Coral: Dev Board Mini
The entire I-must-love-my-job-else-something-is-wrong-with-me thing is a fool's errand.

It is but actually hating your job isn't great either.
You can make a modest argument for that as it relates to Amazon retail. Mass retail is a hyper low margin business, and one in which the labor skill required is very low, which produces the low incomes: the employees are very easy to replace and the sales & profit per employee ratio is very low.

Bezos doesn't derive more than 1/4 of his wealth from the Amazon retail business however. His wealth primarily comes from AWS.

Your premise collapses badly in tech. The big flaw in your premise is the notion that the profit maximization equation involves slashing compensation to the lowest levels possible. In tech - and most high-skill segments - that is not the optimal equation.

The employees of Microsoft - to name one example of many - are among the best compensated workers in all of history, anywhere, at any time, doing anything. Many other tech giants with extreme profits mirror that outcome, including at such companies as Facebook and Google.

Microsoft is the second most profitable non-state corporation in history, and will soon surpass Apple as #1. They're presently generating $52 billion per year in operating profit and will double in size in the next seven or eight years. They learned a long time ago to share the wealth to attract the best talent, because it was more than worth it for the printing press profits they get in return.

More broadly speaking, tech employees in the US as a major sector are the best paid in world history, and they're the most coddled by a large margin. There is nothing remotely like it in any other segment of the global economy.

For 2019, approximately 1.4 million US software developers earning a median of ~$110,000 per year (and that's not total compensation, which leaves out a lot). Show me anything else comparable to that anywhere else on the planet.

Sure sounds like reciprocity derived from enormous profits to me. By maximizing profitability, they can pay their workers better; by paying their workers better, they can attract the best talent and maximize profitability.
Good point, casinos operate in the ludic realm, where probability calculations can actually mean something.

Your second paragraph is just illustrating the point though- yes there are times when it can appear to make sense, just like you can get a "hot hand" in craps. They're two instances of the same thing. It's illusory, nobody ever knows what is going to happen, ever.
Keeping the front page simple, direct, mobile-friendly, and fast loading generally, is definitely a good idea, but more information would be useful just not cluttering up that clean page.

Perhaps a links along the lines of "I want to know more" or "see a demo" which links to a page (or pages) with a video or gif walkthrough or two.

Especially if your audience is the lesser experienced, which I assume it is as most other people either already have a hosting solution and/or would want a self-hosting option for later, as those users will want reassurance that the process does not have hidden complexities.
So it sounds to me like it might be the safest encoder... except for the fact that it is 60% assembly. Maybe they can improve that.
But if you indicate sarcasm as such, it ceases to be so! The best sarcasm is one that leaves exactly half of the people believing it to be sarcasm, and the other half agreeing with it. Otherwise, it is just a farcical exaggeration (which is also funny, but for different reasons).
That's false.

Since it's Washington State we're talking about: Googlers who join in WA state do not have a Non-compete in their contract (at least the "rank and file" engineers), even though Google could add it and Amazon/Microsoft have one.

In fact Google took it a step further and tried to lobby to get non-compete banned in WA State:

There was an almost full-ban on non-compete that was proposed a few years ago in Washington State. Google came to the public hearings with full support for the law as it is (which make sense given the status for non compete in California - and how it had gotten sued by Microsoft over one employee, and now again by Amazon). The law would have made it that non-compete are void if laid-off, and void if over 1 year max or if you're not an executive employee.

But Microsoft, Amazon, and the hospitals lobbied hard against it. (Hospitals are using those non-competes on both nurses and doctors apparently)

So the bill got rewritten where it only applies to people with a total comp less than 185k, and where student debt could be subtracted to that 185k. This, again, got fought more by opponents.

Now the ban on non compete only applies to people whose yearly salary (total comp as listed on W-2) is less than 100k, So doctors and tech workers at those companies get nothing out of it, except the clarification that non compete:

- cannot be for longer than 18 months

- if employee is laid off and non compete is enforced, the company must pay base salary for the duration of non-compete.

Geekwire had a good coverage of it over the years:

https://www.geekwire.com/2016/non-compete-bill-stalls-washin...

https://www.geekwire.com/2018/effort-kill-non-competes-washi...

https://www.geekwire.com/2019/tech-leaders-sound-off-washing...

And the original bills:
http://lawfilesext.leg.wa.gov/biennium/2015-16/Pdf/Bills/Hou...

http://lawfilesext.leg.wa.gov/biennium/2017-18/Pdf/Bills/Hou...

final bill: https://app.leg.wa.gov/billsummary?BillNumber=1450&Initiativ...
Just because the wealth isn't immediately liquid doesn't mean it can't be used. People borrow against illiquid wealth as a rule rather than as an exception. I don't think this argument holds water.
Honestly I don't understand why people still go to work for FAANG in 2020 after so many recurrent (or past now exposed) scandals regarding hiring, non-competes, poaching, crazy NDAs etc. A huge salary and a golden mark in your CV can't be the only thing that matters in a career given all the internal dirty politics hitting the HN front page every once in a while, come on.