skysight-inc/HackerNews huggingface dataset:
This sounds like a management problem more than a technical problem. Requirements need to settle down a bit so that you can get some work done. A schemaless approach does make schema changes easier, but woe is you if you have data in your database from several different versions of the schema. I don't see how you can make any guarantees about query correctness in such a situation. I.e., your business reports will be buggy. Not to mention, hard to write without SQL.

I don't buy your statement that "a lot of the data the business wants presented would be hard to store in a normalised format", at least not without some justification. Also, data to be presented may be structured differently from data as stored. Forget the presentation, is there any reason why the data model itself isn't normalizable? (Not talking about tweaks to the model due to changing requirements. Pick some version -- is that normalizable?)
> const uint16_t* asShort = reinterpret_cast<const uint16_t*>(src);

Ick. That violates the aliasing rules in many cases and is therefore UB. And it’s wrong on big-endian systems.

Just do src[i] | ((size_t)(src[i+1]) << 8).
Yes, it is on the copyright owner to take it down.

I use it often on news websites as it allows you to by-pass most soft paywalls.
> Burning Man stopped being Burning Man over 10years ago

Burners were saying that 10 years ago too.
The problem with that statement is that it is your company's lawyers interpretation of what it is all intended to mean. Yet, it's not certified by the OSS foundation and there are now loads of articles trying to interpret what it all means, which suggests to me that this is not a clear cut case of this being all that clear at all. Either way, your company is trying to actively restrict how the software is used even further than the AGPL already did.

I'd recommend sticking with well understood OSS licenses. There are plenty of those. This one is neither OSS (until the OSS foundation says otherwise) nor well understood. Both are problems. Especially when mixing with GPLed code. It creates all sorts of headaches. And conveniently your company's way to solve that is a commercial license. I'd still argue that that was the main point. I'd suggest celebrating any successful use of your software instead of trying to constrain it.

My suggestion would be to use Apache 2.0 and try to get companies to take a commercial license based on the merit of added value in terms of support, extra goodies, etc. This seems to work well for others in the industry (e.g. Elastic that recently IPOd); it's well understood; explicitly compatible with GPL; and has none of the disadvantage of rolling your own license.
> i felt this to be the absolute opposite

I completely agree.

When I started using React a couple of years ago, the only thing that made sense were the classes.

The bad aspect about React and JSX is that in general there are way too many JS acrobatics which alienates everyone from the codebase who isn't a JS ninja.
They're easy to grasp conceptually, but they're a pain to use in practice specifically because they force you to split up code which is conceptually related. I've had to deal with some truly monstrous class components in the past which would have been a hell of a lot easier to deal with if we had this.

As for `useEffect`: think about the kind of logic you'd put in `componentDidMount`, `componentDidUpdate`, and `componentWillUnmount`. In CDM, we set up side effects, in CDU, we update those side effects if needed (based on the props, state, and context) and in CWU, we clean up those side effects. If we squint a little, though, we're really only doing two actual operations in those three steps:

didMount: perform side effect A based on props/state/context
didUpdate: clean up side effect A, then perform side effect B based on props/state/context
didUpdate (again): clean up side effect B, then perform side effect C based on props/state/context
willUnmount: clean up side effect C

So the idea here is:

const [name, setName] = useState("world");

function modifyTitle() {
document.title = "Hello, " + name + "!";
return restoreTitle;
}

function restoreTitle() {
document.title = "Untitled";
}

useEffect(modifyTitle);

When this component is rendered, it'll run `modifyTitle` on the first pass, and store its return value (`restoreTitle`) for later. When it's rendered the _next_ time, it'll call `restoreTitle` first and then `modifyTitle` again... which itself returns a new "cleanup function".

So we basically have the same sequence of calls as this is mounted/updated/unmounted:

perform side effect A
cleanup side effect A, then perform side effect B
cleanup side effect B, then perform side effect C
cleanup side effect C

The only difference is we never told React _when_ to perform these steps, just _that it should_ perform them at the appropriate time.
The study controlled for income, other dietary factors, smoking, etc. Obviously there's only so much you can do along those lines in a self-reported study for a relatively rare phenomena (happily, not many people get cancer in a given year). But the effect seems pretty robust.
Do you have a public repo for your app?
Or rfid tag everything and add a scale so that your fridge can tell when you're out of items or low on milk! Would potentially make recycling easier too
I find most of this post persuasive, but it seems to me like there shouldn't be excessive certainty on either the yes or no column here. The author's claim is not "no, this is false" but "the study is not bad, for what it is, but is highly limited in the conclusions that can be drawn from it, and it has some serious limitations." It seems reasonable to remain agnostic for now and pursue further studies on the topic that attempt to more accurately correct for other confounding variables.

This also gives me pause: "It is certainly possible that some pesticide is causing adverse health effects at the currently used levels (although there is no current evidence for this)."

That claim seems to me to be false if we include studies on occupational use of pesticides [1]. It could definitely be the case that the residues that ordinary consumers encounter are entirely non-toxic, but again, it seems to me like the jury is still out on that.

[1] https://journals.plos.org/plosone/article?id=10.1371/journal...
I recently quit a job that had me burned out, and in the meantime I've decided to take a couple months off before my next job. My biggest fear in going back is that I feel like now that I have 0 tolerance for the corporate culture bullshit that permeates all large organizations. I don't really even fault Netflix for what they're doing (I've certainly seen much worse) but I've determined that to function that pretty much all large organizations have to do this weird theatrical dance that separates them from their humanity, and no one (or sometimes too many people I guess??) are willing to call them out on their bullshit.

Oh well, guess I could always be an Uber driver.
Straw man argument.
https://en.wikipedia.org/wiki/Suitport
Another anecode here, but I've had the exact same thing happen to me - Mint failed due to a similar issue during install, while Ubuntu installed without issue. I ended up using ubuntu for a while
Snap Continues to Struggle to Gain Users
(interestingly, one thing they controlled for was ex-smokers, and not because they were less likely to eat organic but because they were more likely to do so, which I guess makes sense when you think about it, even if it seems counter-intuitive at first glance)
"You just have to be careful not to reject all priests. When I listen to my neighbor he rejects the whole holy trinity and trusts the antitrinitarians[1] who are a very loud, very small minority. This make no sense."

[1] https://en.wikipedia.org/wiki/Nontrinitarianism

Damn heretics, nutjobs. Of course, our priests are right, not theirs, don't worry.

nihil novi sub sole...
Sorry, let me clarify. It's always possible to claim anything. I meant that the claim is too weak for the SSPL to create that threat.

It's obvious that several people disagree, but within this thread, conversing about this article, we should expect a bias to see things that way. I hope you'll stay open to being convinced otherwise. The SSPL has been submitted for review to the OSI, and this issue is one of the points of discussion that we're listening very closely to.
See, offer people a little convenience they will give up a lot of personal data.
As far as I know it is a different high that some people prefer. I think the reason it is more neurotoxic is also the reason why some people prefer it, you want that serotonin and euphoria that follows.
What the Pixel cameras are doing is staggeringly good. My father is the founder of https://www.imatest.com/, and has a substantial collection of top-end cameras. He's probably in the top 0.0001% of image quality nerds. But most of the time, he's now entirely happy shooting on his Pixel.
Which was the complaint.
Out of curiosity, what does get CPS called on you in your area? Second question: how much of it is a need of the child and how much serves more of "social mores controll" function?

For the record, I don't actually want to return to 1970 standards. However, I suspect that the extreme micromanagement has multiple reasons, but child's needs are not really the driver.
The byte code is used as a target for verification, and is designed to be easily JITable on x86 and arm.

There are network cards which offer eBPF offload, but they only implement a subset of features available in the kernel. I imagine that keeping up is hard, since the technology is moving quickly.

Netronome seems to have the most advanced eBPF offload available.
Looks interesting. How does this compare to RabbitMQ or MQTT?
A Guide to Open-Sourcing Your Project at Work
It's not the cost, it's the tracking. China epacket is not tracked, every other form of shipping inbound to the US is. So it will be a lot easier to get caught.
Wow. I can literally feel my neck and shoulders bunching up just _reading_ this. If I wanted to live in a fear-based culture every day, I'd join the armed forces--at least that way I could shoot back.
I wonder if those single income households include maintenance and alimony. The nature of families has changed significantly since the 1970s with more divorce and more children being raised in one parent households. I doubt the single parent receiving money from the estranged parent is counted as a two earner household, even though in some senses it is.

Once you add the changing rate of marriage, increase in single person households since the 70s, and the fact that real inflation often varies depending on which income quintile you're in, I don't think enough data is available to let you pick it apart meaningfully. So we're left trading anecdotes or stats with gaps. :)

The number of traditionally shaped families, i.e. mum, dad, and 2.2 children has plummeted since the 70s and the number of singles, with or without children has rocketed from both increasing separation and later entry into relationships.

I'm in agreement with your main point, that it's far harder for a single earner family to thrive now than in the past. I doubt I can cite that in any sensible way.
I didn't use the Chrome Web Store (or Chrome), I used outline.com

I learned of its existence through other users pasting similar links with articles that involve paywalls.

Previous instances of posting outline links to get around client-side only paywalls have not been fussed at, so I interpreted that to mean acceptance of the practice.

Someone educate me?
And were two of those people Drummond and DeVaul?
They may not be calculating housing costs correctly.

For example, in Toronto house prices have seemed to go crazy. Industry reports agree. However housing inflation in Toronto measured by Statistics Canada does not show that.

Has anyone else noticed this or have an explanation? It's very strange.

https://www.reddit.com/r/AskEconomics/comments/9haj6h/does_t...
Artists almost always write an extensive explanation of what their work means.

It's got to the point of satire:

https://artybollocks.com/generator.html
Canvas fingerprinting along with most of these issues were solved with Safari 12 on both Mac OS and iOS. If you don't want to be fingerprinted, consider switching to it.

Obviously there are some things that aren't yet anonymized in Safari 12, but it's good enough.
How the new Adventure Sync has changed completely in the game
Some of these companies are sounding more and more like the embodiment of The Circle with Tom Hanks and Emma Watson. I've experienced it on a smaller scale years ago when it wasn't nearly this bad. Little things like feeling like an outsider for not using the cultural lingo.

And I'm all for constructive candor but to do so you have to remember to a) know your audience and, b) ease people into it. Otherwise you're just being a dick.
For places without existing water infrastructure, however, doesn't the technology seem like it may have some appeal?

Not everywhere has tap water. Some places don't have an aquifer suitable for drilling a well. Other places don't even have a road network suitable for the delivery of water by truck in an economical manner (or at all).

Beyond that, drawing water from the air has benefit in that it does not negatively impact a local aquifer which might already be over-drawn. What is the additional economic benefit per liter of that? That could be subtracted from the $0.02 / liter cost if you care to look at more than just the immediate bottom line.
> Richard Siklos, a Netflix spokesman, said the company only fires employees for performance reasons, not because managers don’t like them

From what I've seen, managers give poor performance reviews or "metrics" when they don't like people. This feels like a distinction without a difference.
That is awesome, I didn't know they had upgraded the exceptions to 3 years.

For folks who want to look at previous exemptions

2015 - https://www.copyright.gov/1201/2015/

2012 - https://www.copyright.gov/1201/2012/

2010 - https://www.copyright.gov/1201/2010/

2008 - https://www.copyright.gov/1201/2008/

2006 - https://www.copyright.gov/1201/2006/

2003 - https://www.copyright.gov/1201/2003/

2000 - https://www.copyright.gov/1201/2000/
> Independent of all of this, they made a payout that they were contractually obligated to pay out.

Why did they make this payout and this contract? In other words—what benefit to Alphabet was it in exchange for?

Not damaging the reputation of the company is a common clause in severance agreements. I bet that not being retroactively found to have violated company policy is also common. Would it be in Google's interest to pay out the severance if the employee were found to have stolen corporate secrets?
Sorry dude, that's how economies work. Investors agree to buy shares in exchange for the right to sell those shares later. Employees agree to work in exchange for a salary; if they can find a larger salary elsewhere, they're free to pursue it. If employees want to buy some part of a company, they can do that as well (assuming they can persuade someone with shares to sell them) and then they'll earn (or lose) RoI just like other investors.
Err... what? I think this deserves a down vote (which I don't have)
Have you looked at what `React.Component.setState()` actually does under the hood? The logic isn't implemented in `React.Component` itself - instead, it tells the core React rendering logic to queue up a re-render. The real work is all inside React's internals.

I agree that the `useState()` aspect _looks_ a bit magical, but it's ultimately doing the same thing that `setState()` does in the end. React already knows what component this is, and you're telling it to queue up a re-render for that component.

Also interestingly, it seems that `useState()` is actually a wrapper around `useReducer()`, and not vice-versa :)
I had the exact same experience with a well known startup in SF. I got a glowing "Outstanding" review in the previous quarter. My manager left and the new manager who came in took just 15 days (with a single one on one meeting) to decide she din't like me and fired me without offering much of a reason.
I grew up working on cars and motorcycles. The mindset is very similar. Since I work more in DevOps than as a developer, I often think of myself as a software mechanic.

Interestingly, I find the musician mindset is also very similar, particularly musicians who compose or improvise.
I think the headline misconstrues the issue. There's nothing wrong with transparency, but there are plenty of issues with airing dirty laundry and having, quite apparently, sociopathic upper management.
Because it makes the later salary per household look better.
> but a layoff and getting fired are functionally the same at Netflix as they both come with the same severance.

I actually think that's a really great policy. I've seen layoffs done under the guise of "underperformance" (i.e. with no severance) and it's really shitty. Giving everyone severance is a just fairer way to say "the business has fundamentally changed".
Is this "here's an article talking about the corporate culture of company X" a recent thing (I can recall Netflix and Amazon recently at least), or is it a long-running trend? (has this happened to IBM, Oracle, GM, American Airlines, etc?) I suspect the latter, but honestly once I get the gist I stop reading, so I've likely forgotten many such articles.

If it's long-running, is there any common thread between them? Do they target companies that have extreme cultures...or do they just target big companies and describe the cultures in extreme ways?
How do you even make those adjustments? Do we actually understand the impact on developing cancer that exercise has, for example?
I keep an old iphone 5 with a busted screen for this reason - I would dispose of it but there’s no way to clean up the data. What’s that you say, it’s encrypted so the data looks like noise? Welp TFA says that’s not a problem since the screen broke a while ago, far prior to the latest ios release. Which prompts an interesting thought, how long will this current twilight last?
The ability of people to complain about other people complaining, which they can easily avoid, never ceases to astound me.

Secondly, nobody cares what you think about other people's complaints. That goes for everyone. Just ignore it you want to and disregard it on your own terms and don't ruin someone else's day.
The good/bad thing about going back to corporate is that the initial euphoria of stability and lack of stress offsets the frustration at meetings and politics. As the first declines, your ability to deal with and ignore the second increases. Equilibrium ensues until you next get the startup itch.
What mongo says on a sales call is not going to be found usable in court.
No, it's a fairly widespread misconception. People also think Turkish is also somehow related to Arabic and/or Farsi whereas Turkish belongs to a yet another language family (Turkic Languages) and is genealogically entirely unrelated.
So the vibe changed?
The root properties of Arabic go far beyond the example you gave of schwache Verben in germanic languages or the historical PIE/PIG roots that give us names like Rhine/Rhône (i.e. Fluß).

For example the word (as written) k-t-b (كتب) means "write" but could just as much mean letters, writer, books etc; these stems are really how you think of the word at a much deeper level than you get out of English etymology[+] or (IMHO) Hanzi radicals. Arabic has some limited case, but the grammar is quite different from PIE languages, lacking a "to be" verb and adjectival/adverbial distinctions (a fast car and a car that was swift are differentiated only by the article).
Should bosses ban friendships in the work place? I mean, horse play can impede work. At some point, bosses shouldn't be dictators of their workers' lives.
Dharma Lever – Borrow and Lend Crypto-Assets on Margin. Instantly
Recently I've been trying to "systemize" my learning a bit. In general, my high-level plan is to learn the all major branches of science to a roughly undergrad level (go deeper or shallower selectively), focusing on the fundamental, core stuff.

This probably sounds ambitious, but you can use the Pareto principle (get 80% of the value by spending 20% of the time) and do various optimizations such as taking care to choose the best learning resources.

I have a learn.md file in Dropbox. It contains several sections: math, statistics, machine learning, physics, chemistry, biology, economics, programming. Each section has a list of subfields, for example biology has "molecular biology of the cell" (that's a book) and "brain". Each section also has a "resources" list and a "topics" list, which contains little topics I'm curious about, for example the math sections has svd and wavelets. And there's also a "next" section containing the list of things I plan to learn next.

Having an overview/roadmap like this really helps with the anxiety about what to focus on next, it makes me feel organized.
Although these numbers are theoretical, it would value Waymo at roughly 10x Cruise, arguably their closest competitor. It would also give Waymo liquid cash (or something equivalent I assume) roughly comparable to Cruise's valuation. I also am guessing this would be more money than Alphabet has spent on Waymo and would immediately recoup their investment, not to mention that 90% upside in long term growth.

I feel like this is the partnership that might actually make self-driving cars a reality.
Not to rationalize the environment there but I feel like Netflix is pretty transparent about being a difficult place to work and compensates for the potential stress with above average pay. I feel like most people who can get hired there are well aware of the work environment they will be entering.
Commento (https://gitlab.com/commento/commento-ce) is another great alternative that's open source.
There is a difference between price and value: an art collector may buy a ‘work of art’ for a ridiculous price, hoping that someone else will buy it for an even more ridiculous price. However, the speculations of art collectors do not determine the actual value of the ‘work of art.’ And it seems that very few people outside of the art collecting business actually value AI generated artwork (that’s probably why it was expected to sell for only 10k).
That's really a third category and happens all the time when companies shift strategies or just evolve product lines over time. Sometimes there's a transition path to a new role but, even (or especially) if you're the world expert in X and there's no need for an expert in X any longer, there just isn't a place for you (especially at a salary commensurate with world expert status) any longer.

It doesn't need to be about not being willing to learn new things. It can be about having expertise and there still being a market for continuing to develop that expertise elsewhere.
Angular, Accessibility, and You
Good news. The purpose of the program is for catching any felon, not just immigrant felons. So I guess you are for it?
I've been wondering about Google's competency with senior executives a few weeks ago, when reading the Anthony Levandowski story that was making the rounds. Despite repeated and blatant acts of disloyalty and self dealing, Google kept throwing money at him.
Discussed earlier: https://news.ycombinator.com/item?id=17231593
> Richer people also eat out more often (some, all the time) and usually are served the cheapest ingredients there, except for very expensive venues.

I'm not sure about that last part. It's not hard to find moderately priced restaurants using quality and/or organic ingredients. It won't be fast food prices, obviously, but it isn't going to break the bank, either.
After reading this article, I can say with a clear conscious that if I had Netflix, then it just failed my keeper test.
I have on the order of 400 unread kindle books and probably 3x the number of pdfs downloaded I have intended to read along with an f ton of physical books. I'd love some tips on making headway as well.