skysight-inc/HackerNews huggingface dataset:
Hmm, I can't find any research about spoiled food being bio luminescent, you say "bacteria breaking down food produce light", but experience seems to suggest lots of food spoilage is due to fungi (molds). Though it'd be fun to see lactobacteria in pickles or kimchi glowing...
this:

> Though it sounds slightly paradoxical, if you want to raise money, the best thing you can do is get yourself to the point where you don't need to.
I mean this is the same Zenefits that according to friends that worked there only had 1 chair for every 1.5 employees. Everything I hear about their boom time was reminiscent of an old school frat party shit show.
> their point of view is the most absent from tech.

How so?
Wholesale Clothing
Right, we would triage these TODOs as part of a larger cadence once every week (or maybe every other?... it was a while ago). If a given TODO was both important and urgent, someone would be specifically assigned to address it.
And to be fair, competitive gamers are a miniscule part of the the market to the point of being irrelevant.
Fun statistics & math:

2010 total plastic marine debris[0]: 4,800k - 12,700k metric tons
2010 EU plastic marine debris[0]: 50k-120k metric tons (Higher than the US by ~1k)
2010 EU plastic marine debris percentage[0]: 1%
2016 EU export of nontoxic garbage to a country in top 10 plastic marine waste[2]: 269,000 tonnes (a lot missing statistics so wide error bars here)
2015 percent of nontoxic garbage export that is plastic/mixed[1]: ~9%
Hours wasted digging through overly verbose pdfs and mislabled charts: Too many

Probable amount of EU plastic that gets exported to top 10 country: 26.9k - 53.8k tonnes
Crude adjusted EU ranking if 100% of the doubled amount makes it into the ocean: ~10th
Incredibly crude adjusted EU plastic marine debris percentage: 2%

Other stupid things learned: Netherlands imports hilarious amounts of garbage [3]

[0]: https://www.iswa.org/fileadmin/user_upload/Calendar_2011_03_... (the footnote of table 1 specifically)

[1]: https://ec.europa.eu/eurostat/statistics-explained/index.php...

[2]: http://appsso.eurostat.ec.europa.eu/nui/show.do (You'll have to screw with the customizations to get useful statistics)

[3]: https://ec.europa.eu/eurostat/web/waste/transboundary-waste-...
> detained the bodyguard as collateral for a deal went wrong

As a non-native English speaker, I'm confused whether this should have been "deal gone wrong" or "deal that went wrong", or whether it's a garden path sentence that I'm just unable to parse correctly.
The right place for the switch in this case is the browser. The browser should have a button for light/dark/system, defaulting to system. And CSS should follow that.

JS should not be involved, and we don't need every site to have its own version of the switch, located in a different place and looking different.
Even is the accusation isn't credible enough to hold up in court, it might make sense for a company to dismiss an employee (although not always, it depends on the accusations), particularly in at-will employment. Employment is not a court case.
Adding 1000 people would change most companies, regardless of what those people look or think like.
I'm going to guess that if you need to spend $18k on equipment to get your water then you probably aren't going to blow through 240 gallons a day.

150 gallons could be quite a lot of fresh water for a small remote village that otherwise lacks a good fresh water source. Useful for drinking and cooking, but not used for bathing or irrigation. I assume the system could be powered by a reasonably sized solar array.

On the other hand, given the cost of this setup it would probably be a lot easier and cheaper to install water filters.
Checked out your ship demos, that's an amazing use for VR :-)
Maybe you're right. ... but I think "telling" is also the wrong way to look at it. It's not about who's right and who's wrong or who's the best or who should get dinged or whatever will get people's backs up and invoke pride and resentment among equals. There's a reason why there's a boss, they're there to set direction where their role in doing so is clearly defined to everyone.

I suppose every team is different though.
Case law is law in our system, and having explicit legislation doesn't protect you anymore from future changes than case law does.
Your comment is not being downvoted despite talking only about one side of the problem. I like HN.

Part of the solution to the problem you described is to make such company behavior more costly. If the outcry from today's story was significant, the company would have to calculate such cost into their decision. "Look Andy, we know you know lot of our secrets, but if we pay you millions and call you a hero it could cost us much more."

This would in turn have effect on companies calculating whether to try to hide dirty laundry or come clean, knowing they have little leverage on disgraced VPs.
How to Build a Great Engineering Team
And "we're not talking about that" is literally an invalid response to pointing out a negative implication of a proposed policy. Do you disagree?
First, the chart is showing the number of deaths in the previous 12 month period.

Second, this isn’t a political football. This is something that every American can look at and agree that we need to be bringing powerful tools (regulatory, legal, policy, aid, EMS, hospital, pharmacy, education, volunteer, etc.) in a concerted and coordinated effort to fix this.

Third, any efforts are obviously going to take time to show up in the death rate, but even if we are turning a corner will need to be sustained across administrations.

One could sensibly make the argument that the root of the problem is the carving out of the middle class and manufacturing base of the country that occurred solidly during Obama’s years as a result of the push toward globalization. The massive economic improvement as a result of the tax cuts and deregulation since Trump’s election has helped get people whose jobs were “never coming back” to become gainfully employed again and motivated to face the hard fight against opioid dependence.

But in the end it’s just finger pointing / and falsely ascribing causation to correlation to try to score political points or demonize the “other side”.
I'm a native speaker. I think it should be "deal gone wrong" (or "a deal that went wrong" would work too).

FWIW.

I will add that I think they were trying to make "deal gone wrong" past tense -- or even more past tense, since gone is already past tense. I think they were trying to indicate it was a prior event within the story line, not just prior event in relation to people reading it now.
Copyright Office Ruling Imposes Sweeping Right to Repair Reforms
What is the downside to changing the example here:

https://reactjs.org/docs/hooks-reference.html#usereducer

To something without strings and hard-coding the actual "reduction code" to something like

export const increment = (state) => ({count: state.count + 1});

And give modern JS languages like typescript import the increment function and use it directly?

Why are we so attached to these action type strings?
People use Redux way too often and think of features like time travel as nice-to-haves, when in reality they're the main reason why you'd want to use Redux in the first place.

Using Redux just to simply set and get data on every page is an overkill.

For the majority of applications making API calls directly from the component and storing data in the comp state is the way to go.

This is coming from someone who used redux excessively in the past.
have you used it with a docking station and multiple screens? if so what was your experience?

do you think Qubes will complete their effort with a live USB with persistence? what would be your opinion on using that?
Thirty Centimetres of Safety: A Train Incident in London
Roberts is a fellow at the rightwing Hoover Institution, which like most rightwing think tanks gets significant funding from rightwing billionaires who have a particular ideological agenda.

Of all the academic types at rightwing think tanks like AEI, Heritage, Cato, Russ Roberts is probably the best. I like him. But this issue - wealth inequality- is core to rightwing interests.
Question: would the numbers change if the media had a different stance? In what direction and by how much?
I live in central London in a 3-4 years old building (24 floors) and the elevators are truly a joke. Every 3-6 days they somehow get out of sync with which floor they are currently on, especially if you go first to -1, after that pretty much every floor will be wrong :) I always wonder who wrote it.
Every organization and team is different. Often I've found two approaches work best: going around the road blocks and managing everything end to end, then getting buy-in for data and ops to own it properly after the fact (playing up the political angle of owning more stuff after we do the heavy lifting), and the brute force method of just meeting after meeting to educate people about the differences in use cases and deployment for ML products.
This is another case of shitting all over something for years and years and then trying to play the victim.
How much of his net worth is his wife asking for?
And we know a great deal about starvation thanks to Nazi research on Jewish prisoners.

Given that at the time, we couldn't know the, I guess, "benefits" of the Nazi experimentation (barf), all present fighting against the Nazis were right to do so.

Given that we don't know what foundations/benefits could result from a subordinate/boss relationship at Google today, it is more logical to fight against them on the principle of what we know now - that they are dangerous, potentially damaging to the company for multiple reasons.

One potential angle someone take arguing my point is that objectively, starvation / rocket research is not worth the cost of lives due to the Nazi regime (or could have been discovered without it), but that doesn't necessarily detract from the point - we can't see into the future, we must weigh decisions on presently available information.
I have absolutely no problem with trademarks as long as they're used as consumer protection.

For example, there's the whole uBlock vs uBlock Origin thing, where uBlock Origin is the good one run by the original maintainer, and uBlock is run by people who had nothing to do with the original project.

https://en.wikipedia.org/wiki/UBlock_Origin

Trademarks can be used offensively, and few cases were more offensive than the Linux trademark dispute back in the 1990s, when William R. Della Croce, Jr., someone with nothing to do with the Linux kernel or anything else of value, acquired the trademark to "Linux" in September 1995 and began to demand royalties from the people who did useful things with their time. It took a court case to dislodge him.

https://en.wikipedia.org/wiki/Linux_Mark_Institute

https://www.linuxjournal.com/article/2559

What Mongo did was meaningfully better than what Della Croce did, and closer to the spirit of "prevent people from confusing products and thinking stuff is from the original development team when it isn't", but I can see how it would be an unpleasant shock in the Open Source world which, sadly, usually doesn't know or do a damned thing about trademarks until some asshole forces the issue.
Majority of deaths are caused by fentanyl produced in foreign countries and shipped into the US to be cut into low quality drugs. So sanctioning those countries would be a good first step

The initial addiction though is due to doctor's and drug companies. There's plenty of evidence of drug companies pushing doctors to prescribe these drugs when they really aren't needed. Fine the companies, arrest the doctors and executives who push this stuff in the name of profit.

As for government, if you think the average congressmen cares about long term tax revenue vs that sweet pharma lobby money today, you're naive.
Apple is right about privacy, but wrong about freedom
That name is also taken:

https://multicorn.org/
It's difficult to differentiate, though. How do you know what relationship is coercive or isn't? Were you there at the time?

There are always power differences between males and females, and in the past, dating a superior was often the only way a female could transcend the class they were born into. Hypergamy is a real, observed social phenomenon, and it bothers me that people are hand wringing over a problem that may not even exist in the first place. Hypocrisy runs deep in this country, especially for the self-appointed moral police.
The video did talk about rather low-tech solutions, constrict the movement of one of your knees lightly by putting a bandage round it, or stick a pebble in your shoe.
Not to mention the added benefit of doing some valuable underground research during the process.

Wouldn't it be game changing if we found fossils really deep inside the moon as we did this? If the impact that hit Earth to form the cluster of rocks that eventually settled into what is now our Moon, I wouldn't expect it to pulverize earth into dust but rather into large pieces. Imagine of some fossils were encased in some of the larger rocks, which later settled deep inside the lunar core.
On top of everything you said, if you put your database inside your VPC, your lambda function has to create a network interface inside the subnet. That increases the cold start time.

DynamoDB is a much better solution for serverless since it just uses a REST interface.

I’m a big fan of lambda but not for user facing API end points. It works well for eventually consistent event processing.

Setting up a Load Balancer and an Autoscaling group is not rocket science. Neither is automated patch management.
How the hell do you test the damn things?
November 1918: The First World War Ends
Fair enough. I'll rephrase. Why does it make the usually unacceptable acceptable?

Perhaps too often I'm on the wrong place at the wrong time but I hear plenty of half conversations in public (e.g., on the train) that would not happen if both parties were in the same row.

Too much volume. Questionable subject matter. Far from urgent. The rest of us don't need to hear that. Do they?
Agreed. Having used React since the beginning and having taught it, this seems to me its natural evolution. I also thought the API was beautiful. I also think it will be easier to teach, but I'm less certain about that.

While I think its a great API, I totally understand some of the hesitance expressed by others. Its more churn, etc., it seems to allow for more spaghetti code for intermediate devs perhaps. But, I don't mind the churn, to me, while its been a nuisance, it also often appears like an evolutionary process.
There are a lot of gotchas with these. Don't call in conditionals, branches, loops. Can only be called from function components. Order of invocation matters (yeck!)

If the goal is helping developers "fall in to the pit of success" I think classes are a much better option than this.
The word "diversity" is kinda loosing it's meaning when there's a specific thing to be described as "diversity".
It doesn't care, it's some sort of an anti google account:

https://news.ycombinator.com/submitted?id=IBM

https://news.ycombinator.com/threads?id=IBM
> Does anyone else have a codetag for this? DEBUG doesn't seem to be a well-known codetag, and I'd prefer to use something other people use.

My team now uses `TODO(#pr)`. The #pr tag meaning it should be taken care of in this pull request, but I don't think that's common. Though maybe if toodles gets some use it will become more common :)
No, we're talking about how dredging up an exception to the rule where things worked out for two people is not a a very good argument that it's actually fine most of the time and bosses won't victimize subordinates under the right circumstances.

Bill and Melinda Gates's relationship isn't so important to the world that we must allow bosses to date, pressure into a relationship or manipulate subordinates just in case.
I refuse all kinds of gifts, except for information and knowledge material, from anyone except my immediate family. I also do not gift anyone who may have a business or personal relationship with me now or any time in the future.
The comparisons tend to only work well nationally. See https://www.usnews.com/education/best-colleges/articles/how-...
What to Know About Unity 3D's Entity Component System for Making Massive Worlds
That is very cool! When i gave someone Dogecoin I had to do all that stuff your website does. Only suggestion is to make the placeholder text more obvious that is example data, like instead of "ann@mail.com" use "ex: ann@mail.com". And a lighter color is also common.
Hi - I'm one of the core developers of LightGraphs (and other packages in the JuliaGraphs ecosystem). Happy to answer any questions.
I haven't looked into this too deeply, but given that all the major VR platforms are walled gardens with policies against explicit sexual content (Steam, Oculus Experiences, Playstation Store, and the App Store and Play Store for phone-based VR), I don’t see how adult entertainment publishers would get onto them in the first place.
Huh, I always assumed that like crack, the issue with meth is that it is usually laced with heroin.
I'm using Ubuntu since almost 10 years. I rediscovered windows 10 and i have to admit it's pretty good : more responsive than Ubuntu, more pretty. On the down side, you have to download drivers even for very common devices like for the wifi card of Intel nucs. I miss also the simplicity of installing software and library (sudo apt get...) Vs downloading an installer, the installer download something, clicking ok ok ok ok ok ...
I think 2D graphics is also mainly a WebGL problem. Fill a vertex buffer with 2D vertices each frame, and try to render it with as few draw calls as possible (e.g. fill vertices sorted by texture, and only issue a new draw call when the texture changes, pack small textures into a bigger texture atlas etc...). Most what makes this fast is how WebGL is used and can be done quite efficiently from JS too. WASM may help in the tight loop where the vertex buffer is filled with data though.
Thank you for your thoughtful response!

>>> Measuring diversity based on a few predefined attributes makes no sense. Creating diversity by hiring someone because they're female isn't the answer, we need to go beyond that to truly have diversity.

I think I might have been a tad overdramatic by just saying "I'm not diversity" in the title, but what you wrote above there is exactly what I'm trying to communicate: diversity is more than just bullet points, we need to see it more holistically.
So do we see that in other countries without outrageous healthcare premiums? I don't know, but I'm sure there are examples of countries where a company won't be paying for that and causing one's wage to stagnate because of it.
I have some troubles with the state hook. It may look nice to a novice developer, but when I look at it I just see confusing magic. I read what's happening and I just say wait, there's no closure or class here, how this state is stored is completely hidden from me.

I can see uses for the other types of hooks, but the state hook seems like it would be much better served with an HOC like Redux's connectToStore, which would be concise and non-magical.
Agreed, diversity should mean more than simply ethnicity and gender.

Age is one thing she left out, it's great for one's career these days to look ~28.
Hey, author of dynarmic here.

> more context on why they're switching

I started working on an AArch64 (ARMv8) frontend for dynarmic upon request from yuzu's developers. At the time, they decided to switch over because dynarmic has better performance compared to unicorn.

To be honest, I feel like unicorn has instrumentation as a primary goal. Dynarmic has different goals: (a) performance and (b) ease of integration into pre-existing/custom emulated memory systems.

When I last looked at unicorn it didn't quite have a full ARMv8 implementation; yuzu maintains a fork of unicorn that follows upstream qemu more closely at https://github.com/yuzu-emu/unicorn. We use this version of unicorn to test dynarmic by fuzzing the emulators against each other to ensure accuracy of emulation.

> how they gradually move over

Dynarmic has "fallback" capability -- if an instruction isn't implemented, a user-provided callback is called so the library user can provide an implementation of the unimplemented instruction. yuzu uses unicorn as the fallback implementation. This was helpful for getting the system up and running in the early days.

We're not quite at full ARMv8 support yet (we're at about 70% --- half-precision floating point support and ARM pointer authentication are the biggest unimplemented features), but the vast majority of guest applications in yuzu do not currently fallback to unicorn.
Almost every story cited in today's NY Times piece was previously reported by The Information about a year ago. It's a paywall site, but it's stories do get disseminated by other sources. But the bigger sources (who are dependent on Google Ad revenue) didn't run very far with it.

November 2017: https://www.theinformation.com/articles/androids-andy-rubin-... and https://www.theinformation.com/articles/google-reckoning-wit...
Ask HN: How did my phone figure out my SO's name and that we were having dinner
Last night I was having dinner with my girlfriend and my phone gave me a notification saying something like "Silenced your phone for Dinner with $HER_FIRST_NAME $HER_LAST_INITIAL" (with the variables replaced)

The notification came from an app I've had for a while that puts my phone on silent when I have a calendar event, but I never made a calendar event for having dinner with my girlfriend. I searched all my calendars on my phone and found that there was never an event titled "Dinner with $HER_FIRST_NAME $HER_LAST_INITIAL", nor were there any calendar events for that night at all.

I can see how an app could guess that I'm having dinner based on the time and my timezone. But how did it know the name of the person I was having dinner with?

Edit: For reference, my girlfriend is not using that app, and she's using an Android phone, while I'm using an iPhone. This is the app that gave me the notification:

https://itunes.apple.com/us/app/autosilent/id474777148?mt=8
That wasn't tptacek's response, which was effectively "we don't have to worry about implications that make the policy look bad if we're not talking about them".

Your claim -- that it's an extreme exception and doesn't outweigh the harm of a blanket prohibition -- would be a relevant response (although suboptimal because you're only replying to that one case and not the general phenomenon).
> Your mixing modern and ancient ideas.

The article itself is doing that. "it was time we all accepted that ancient sculpture was not pure white—and neither were the people of the ancient world. One false notion, she said, had reinforced the other" - but how so? "Some white supremacists have been drawn to classical studies out of a desire to affirm what they imagine to be an unblemished lineage of white Western culture extending back to ancient Greece" - but none of the reconstructions the article shows would threaten such an affirmation.

> a man with pale skin was considered unmasculine: bronzed skin was associated with the heroes who fought on battlefields and competed as athletes, naked, in amphitheatres.

This sounds like an attempt to make something out of nothing, particularly given the lack of an picture (in an article that's otherwise full of them) that would commit to what shade of "bronzed" they're actually talking about. Ancient Greeks thought men looked better with a tan? Sure, so do many modern people.
If a man cannot do his job while around a woman, that's undeniable proof that said man is immature and lacks basic discipline. That's grounds for dismissal: it's not the company's job to train aan how to act properly and not treat women as sexual objects.
My read of "hypergamy is a real observed phenomenon" is that it is mostly a way of dismissing concerns when they pertain to women employees.