skysight-inc/HackerNews huggingface dataset:
The thing with emacs is that you normally wouldn’t “start for small edits.” Rather, you’d start it early in the morning and close it late at night (if ever).
> things like Wireguard require a simple, but odd procedure to request apt pull packages from newer releases

That's not a good idea, as it breaks the assurance that Debian Stable provides. Using the backports repository is the recommended approach if you need a newer version of some clearly-defined piece of software. It will pull the newer dependencies it requires from backports, while still relying on stock-provided packages as far as practicable.
There is so much to unpack in your high effort, low value comment. Google the game, watch some "let's play"s. Keep your weird "housewives" stereotypes to yourself, its 2020.
"Sam (!)" and a Swedish browser person… wonders who you are
> we caught a significant race condition

It is a data race, not a race condition.

> and which passed the race checker for Go

No, it is not.
https://github.com/helm/helm/pull/7820#issuecomment-60436062...

There is a comment by issue author which is literally a go data race detector warning.
Like "WARNING: DATA RACE".
The situation is pretty complex. People at the top decided that only these essential workers deserved to make a living and put many people out of a job. So you have a big supply of recently unemployed people ready to replace any of these essential workers if they started organizing for more pay or what have you. Unemployment insurance is nice, but not everyone was working before this happened, so that's a lot of people left out from getting some kind of government assistance. Also, they decided to close down schools, so now you have a lot of >16 year old kids with laid off parents who are probably now trying to get any kind of job so that they can help themselves or their family. I think the government did not go hardline enough about supporting everyone, so they've created a sick situation where people are begging to go back to work during a pandemic instead of enjoying their once in a lifetime forced vacation.
Cherry Blossoms and a Particle Accelerator
I did drop shipping and retail reselling as a hobby to earn a few million airline miles, AMA.
Neat little writeup. I'd love to play with the algo and data. OP, if you see this, care to publish a notebook / code on Github?
I've always preferred deflecting them with my katana :)
It’s a game about communicating and building relationships.

You could learn a lot from it.

Boom! Roasted.

All done in 4 paragraphs.
> Most apps allow you to turn autoupdate off (in fact I can't think of single one without this option)

Every MacOS app from Google auto-updates. You can turn it off iff you have hacker skills. The average user can't do it.
They've been flooded with freeware/freemium (often malware or adware disguised as a gift) so they lost the ability to identify value.

More informed people still pay for software.
(Not to be confused with jEdit.)
It's not a lie if you believe it's true.
David E. Gordon, Gwendolyn M. Jang, Mehdi Bouhaddou, Jiewei Xu, Kirsten Obernier, Kris M. White, Matthew J. O’Meara, Veronica V. Rezelj:

And to take this one step further . . . hospitals all have patients sign off as they admit them. Why not include in the sign off that patient hereby releases all sources of their prescription medication to the hospitals - - who are ALL participating in a National study that compares survival rates of patients. This is much the same way that famotidine (Pepcid) was discovered in China to have a big effect on Coronavirus. They found that double the number of poorer patients were surviving and it was traced down to oral Pepcid ingestion.

DATA science is the key.
Idea: Configs and Stream Debug
An outbreak in Vegas would be more a case of tourists infecting each other than the residents of the town getting sick.

And if you've caught something in Vegas and spread the disease across your hometown, you're probably not going to admit it. This virus is no exception.
It really depend on definition. Bro-culture when used a pejorative is usually an reference to the supposed male privilege, and then we have to deal with the question of a woman can have that male privilege and what that would then mean.

But why are people bringing in gender into the critique of this article in the first place? The points could just have easily been made without mentioning gender and gender pejoratives. What insight does it contribute that the other points in the comment does not already bring up?
Invasive 'Murder Hornets' Have Appeared in United States
There are ways to optimize this per section, alphabetically, etc. Otherwise Xapian is very easy to setup and would be my goto over Elasticsearch.
Great solution! Only there's no problem it solves.
I could see that. Can't remember if Isaacs' biography covered that debacle.
For the second one, it seems most natural to reach for exists, or something (I have not tried this code..)

select
node
, (case when parent is null then 'Root'
when exists (
select * from tree c
where c.parent = node
) then 'Inner'
else 'Leaf'
end) "label"
from tree

EDIT: also, in the fourth, it seems like you'd want to partition the window function, who cares about order. Something like

sum(cash_flow) over (partition by date) "cumulative_cf"
You don’t have to set up a certificate because the university is using a public cert. My old uni configures their network the same exact way.

And the situation isn’t really all that dire because once you connect to the real university wireless once it will pop up a warning if another network with the same SSID appears but doesn’t present the cert.
Unicorns: As the economy skidded, so did startups. Now they need new ideas, fast
Yup. I had Hodgkins many years ago. We've been treating Hodgkins for many decades with considerable success (~95% of young men with Hodgkins eventually die of something else and that may have improved further). And so it would be unethical to perform a placebo comparison because we're confident from anecdotal evidence (some patients refuse treatment) that it'll kill you.

I was considered for (but ultimately did not qualify IIRC) a trial of a new Hodgkins treatment. If I had qualified and opted in all that would have meant is basically they toss a coin, heads I get the new treatment, tails I get the existing "Gold standard".

As well as not using a placebo because it's a death sentence, they also can't truly blind the trial because the new regime is different drugs, with different side effects and a different calendar. The staff must know which they are giving you and even if they didn't just tell you it's not hard to look up online what the Gold Standard is and tell if you aren't getting it.

So all they have left it's a two arm trial in which they've tried to match the arms up, and then compare the results.

In my case the eventual trial results show the new regime was slightly worse, not better as hoped. Slightly more (statistically insignificant but not good news) deaths and worse side effects. Unfortunate, but there was only one way to find out.
I really appreciate this piece as there's a lot of the world of oil I don't understand.

One thing I don't understand is, why is it favorable for OPEC not to cut supply? Is it they want to crush all non OPEC based producers? Or are their buyers forced to buy at a particular price so they don't care if they keep producing?
Happened a month ago: https://www.reuters.com/article/us-health-coronavirus-wells-...
You can also do the lunr index creation server side, with lib in php or python, generating a quite smaller file and also reducing processing time on the client side.

I've been developing a podcast hosting solution that parses the xml feed, generate static pages and prebuilds a lunr index, and for ~100 posts, it takes around 30 seconds to build server side and less than a second to download and and load on the client.
> Just feeds to the misconception of "shithole country" many seem to hold.

Please dont do this, there is really no need to hide your head in the sand, we literally have people shitting on the streets, why not simply accept that instead of saving face in front of foreigners?
I wrote sql for years for a forex platform used by some of the top dogs (literal). Pretty hardcore sql and had to be very fast, never used BETWEEN ROW.
Apparently the hivemind disagrees, but I thought it was a worthwhile comment.

Sure you could probably just look it up, but sometimes direct replies from people are better for getting at the essence of things.
The other bit is that west coast cities responded earlier. Seattle got hot early but locked down pretty hard, SF locked down before it got bad, and both locked down well before nyc.
Software is too volatile.

If the software is good to start with, it is loved, but then the developers will decide to change it. Users have very little say in this, especially when the company behind it is beholden to some other kind of power instead of their damned users. People either live with the changes or they move on. I always move on. I am merely one person, so my word doesn't mean anything. Most people live with the changes. Or the company will gain new users who don't know how good things used to be and the old users stop mattering.

Recently, there was a paid app that came out with a new version of their paid app, so they made an update that rendered the previous version useless and they offered users a coupon to buy the new one.

You can miss me with that. I'm not paying for a double cheeseburger that can become two pieces of bread with ketchup on it that's been stepped on at any given time.
Cloud is not backup! Rogue software can erase you cloud data too. You can't call Google or Dropbox and ask for last week's version of your cloud files.
> it's pretty much just drinks and darts ;)

And drama!!
It doesn't use variables in the minified version where the vars are already expanded: https://raw.githubusercontent.com/ajusa/lit/master/dist/lit....

Also how much support & udpates do you want to see in a piece of CSS that's barely a dozen blocks? It's a strange comment to make.
> the milder the initial dose, the more chance the immune system has of overcoming the infection before the virus multiplies out of control.

Probably why early healthcare workers had such bad outcomes. Masks would also lower your initial dose buying the additional time mentioned.
> Except that you know/expect how exactly it will be executed

You're writing bad tests. Do yourself a favor and write tests that pass "it [satisfies some human expectation]". Stop writing tests that care about how it's implemented.
It seems like there is a surge in California now though.
Why can firefox on the desktop resize the font on HN and reflow the content, but iOS cannot?
1.5.0 is basically broken for computer vision. Input tensors are usually in NHWC memory format, but PyTorch (and CUDA) prefers NCHW (planar). So you'd normally run permute() to move things around. But https://github.com/pytorch/pytorch/issues/37142 (and possibly other bugs) kinda gets in the way of that. I had to roll back, since training got way slower than it was before, and it wasn't super fast to begin with, even on my quad-GPU workstation.

The fact that such obvious, severe bugs make it through the release process likely means that there isn't really much of a release process. And what's in place doesn't even test the release on totally bread-and-butter models like resnet50.
If your sorting algorithm degrades to anywhere near O(n^2) in pathological cases, you're doing something wrong. And even if it's just a kind of timeout/operations-limit to detect pathological cases and just run an in-place mergesort instead. Tail latency/containing pathological data is quite important if there's any interactivity.
I think they see this is their last chance to shake off the light crude people in the US.
Also, to be clear, by “we” they really mean “a contributor”
It’s not rude at all to highlight how this warrants huge skepticism. “Just calling someone up” to spend $25k+ on “advice” and claiming it’s justified in time saved of your existing staff not flailing around to research the same topic is _very_ weird. That doesn’t line up with any professional experience I’ve ever seen in any machine learning team at Fortune 500, startup, finance & academia jobs. _Maybe_ for appearance fees to have a big name researcher come and give a company presentation or keynote. _Maybe_. Absolutely not believing it for ad hoc freelance consulting based on someone having some NLP projects on GitHub, conference presentations or publications, or gigs at “fancy” AI employers, and I find it’s worth making this comment so other readers can consider how extremely shaky that premise is.
I've never heard of BETWEEN ROW, but self-joins have been a pretty common thing for me, particularly when you're doing analysis on any kind of business-centric table that (rightly) has tons of columns -- e.g. a "users" or "products" or "items" or "orders" table.
I just keep Wireguard on even when on my home network. With NAT Loopback on the router this works fine. Is there a reason to have it off?
Really nice. I was looking for something to use on my blog. I will try this out now.
> That's not definitionally false, if it sounds false to you is because you have an implicit assumption that does not apply.

That "implicit assumption" is awareness of what "privacy" and "data collection" mean, and it very much applies (arguing otherwise is revisionist). Ergo: "definitionally false".

In particular:

> Data from users does not imply user sessions on the collector side

Yes it does, because otherwise collecting that data is pointless. Further:

> All messages from our users are record-unlinkable for us, meaning that we have no way to reconstruct any session.

Not if a malicious actor (which may or may not include a future or even current version of you) taps into the locally-stored tracking data. The very existence of that data and its collection thereof is a fundamental security and privacy risk. Just because you ain't currently siphoning it to remote servers doesn't mean malware can't do so, or that a "critical security update" can't reprogram the Cliqz browser/addon to do so.

That is: whether the aggregation happens client-side or server-side does not change the basic fact that the aggregation is happening, and that aggregated data remains a juicy target (and to make matters worse, even if you did want to safeguard that data, it's effectively outside your control). That very aggregation itself is therefore a violation of my privacy.

And this is all taking Cliqz' claims at face value. We could certainly dig further into how we're supposed to take your word that you are indeed discarding unique identifiers (including IP addresses). We could (and should) certainly do the same for other sites claiming to discard such identifiers, but given DuckDuckGo (for example) ain't in the business of peddling sleazy-looking adware¹ (to my knowledge at least), I'm at least slightly more inclined to take their word for it.

I'll give Cliqz credit for at least trying to address these issues in the hopes of finding a creative solution that gives advertisers what they want without egregious privacy violations, but - having read the papers before, and reading them again - I'm still pretty thoroughly unconvinced. I'd much rather not have tracking at all, like how newspaper and magazine ads work (barring some substantial leap in technology, newspapers and magazines never tracked my "engagement" with the ads within or how long my eyeballs were looking at them or how quickly I turned the page or what have you).

----

¹: https://cliqz.com/en/cliqz-angebote
I suspect there exists some internal documentation at Ericsson that just hasn't been cleaned up and added to the source repository - but it's entirely possible that the core Erlang/OTP team solely relies on passing the knowledge on from engineer to engineer.

I'm also not saying that the C code is unmaintainable. It's definitely a bear to dive into, but by spending enough time with it, it starts to unfold in front of you. The main issue I have, is that none of the specification/design documentation exists as part of the source repository. Maybe it doesn't exist at all, but in that case, I'd really hope that some of those core engineers would have taken the time to write some of that stuff down. In any case, none of it is readily available AFAIK.
Because individually it does not work. If you cut and oil price does not go up as much as your cut percentage wise you actually lose revenue. And your competitors who don't cut benefit from any price rise. It is not easy to maintain a price cartel.
One detail I didn’t see that affects the risk profile is that every island in AC is their own market and you can buy and sell turnips on other people’s islands.

You can afford to be far more risky than the model suggests if you have a few friends or an active Discord group because on any given day you can almost surely find an island with a profitable price if you need it in a pinch.
There is also https://www.arxiv-vanity.com/papers/1601.04017/
I know some very smart very capable Indian engineers.

The problem they face is a little like the "tenure" problem.

How would your workstyle change if you were "on probation" for a number of years? In a highly competitive situation with lots of other folks like you? Would you say "no" technically or otherwise?

And after the probation period was over, would you be changed by it?

I'm not an Indian engineer, but I've worked somewhere where there were a few rounds of layoffs. The culture really changed when everyone had to show off their own skills and compete.

I think the trick is that apple has to create a really great culture for everyone, even folks with special situations. The recent articles about apple's internal tools groups makes me wonder[1].

[1] https://news.ycombinator.com/item?id=22804607
It covers up bad queries, so you may not see an underlying data duplication problem.

Often better to group explicitly so you know what's actually going on.
From my understanding, over the last decade, shale has become a force to be reckoned with in North America (US, Canada). This is seen as a competitive threat to other global energy producers. Saudi Arabia and Russia both have sufficient cash reserves to be able to just dump a glut of crude oil on the market at "fair market value" and exist with the depressed prices and are ok with making no money to basically completely dominate the market once tons of highly levered US upstream and downstream oil producers die off with this ongoing period of non-existent demand.
They did want to cut supply, Russia refused to cooperate in the cut.

As a result they increased supply to fight back and hurt Russia’s export.

At least that was the story I read a few weeks ago when this went down.
I'm in the same boat. I've been having this on/off experience with difficulty breathing since the first week in March when I first experienced all the typical COVID-19 symptoms: mild fever, dry cough, fatigue, difficulty breathing. I was unable to get tested at the time, because it was early in the pandemic and testing was limited, so I was never officially told that I had it.

I seemed to recover a couple weeks later. But then I started having difficulty breathing again (without fever or cough this time). After another few days I'd start to feel better. Then I'd have a few days of difficulty breathing. I've been cycling between feeling okay and feeling bad ever since.
I think they actually wanted to use some rotating set of engines and fuel tanks early on with the rotation taking care of propelant flow.

IIRC they dropped that early on as well.
Also, begin every shell script you write with

set -Eeuo pipefail
With the extreme popularity of pandas, I think a lot of Python programmers would be amazed how clean and easy-to-read SQL queries look like, compared to the (downright) mess that's being written to query pandas dataframes.
> You can inspect the changes in flight by inserting a select-statement

All true, but you still can't express a transaction as a single expression.

> Interesting, Hacker News's user interface puts no reply link below your comment. So I could not reply directly. I guess it allows only so many nested replies. This is probably an optimization for readability or to avoid flamewars

They just hide the reply link at a certain depth of threading. You can navigate to the parent comment (by parent link or datestamp depending) and reply.
Afaik Skylake/Kabylake.
Timetracking-Rs: Tracking Hours in Rust
I’ve seen people use tape to seal.
Meat, and therefore the meat industry, isn't essential. A well-planned vegan diet is perfectly healthy and nutritionally adequate for all ages, including children [0,1,2,3,4].

[0] https://www.ncbi.nlm.nih.gov/pubmed/27886704/

[1] https://www.ncbi.nlm.nih.gov/pubmed/19562864/Die

[2] http://www.euro.who.int/en/health-topics/disease-prevention/...

[3] https://www.dietitians.ca/Downloads/Factsheets/Guidlines-for...

[4] https://www.bda.uk.com/foodfacts/vegetarianfoodfacts.pdf
Well written article. If I was better versed in math I might be able to pose questions on the article, but it is a straightforward explanation.
Unless you're already calling someone else out for a spelling mistake.
Exactly, the problem is outsourcing.

Whatever you decide to outsource you gradually lose expertise in. Which should be obvious, as if I paid someone to fix my car for me all the time, I probably wouldn't come to be an expert in knowing how to fix it myself.
Location location location. The restaurant is in the middle of the main shopping street in the middle of the city, on a street called "bank", in the part called center town. We can make an educated guess that the rent is not exactly going to be cheap.

The article reads very different when the location is known. Tourism is significant effected. City shopping is significant effected. People who work in expensive offices is exactly those that often have the option to work at home. All the talk about margins feel like distraction of the fact that restaurants at central shopping streets are going to suffer. It is thus questionable if the article has anything to say about the industry as a whole.
I cite my salary and salaries of my friends and colleagues in the industry, and levels.fyi. You cite your experience and stack overflow. I think we'll have to agree to disagree, as you're not going to convince me I make less than I make (or pay, apparently) and I'm not going to convince you anyone makes more than you. I think that's okay.
> That is not the right name to use for returning an element without side effects

how do you feel about `str.replace`? i'd say that that name implies side-effects too, but everybody's used to the fact that [in python] strings are immutable, so it's no big deal. it's all a matter of expectations and language conventions – e.g. in Haskell, `replace`, `reverse`, `insert` etc. would all be pure functions and no one would think about it twice.

and sure, i'd prefer a "declarative" name if one's available (e.g. `plus` vs `add` on numbers). but if you overdo it you end up naming your functions stuff like `with_inserted` or `with_replaced` and that's just... not up my alley at all (though i'm sure someone likes it)
Free as in Freedom is great: http://faif.us/
What's the file size of the index? Is it just encoded in JSON?
There's a current idea that the USSR collapsed due to oil shock:

https://thetyee.ca/News/2013/03/13/Soviet-Union-Oil/

The actual scientists say it's more complicated. As you should expect:

https://carnegieendowment.org/2017/03/29/formation-and-evolu...
There are similar stories for gendered articles and conjugation in natural languages. They don't convey any additional information, but in case you miss the word, they provide clues elsewhere in the sentence that significantly constrain what it could have been.
The other thing it ignores is the HUGE number of people time traveling. Because of this, it’s trivial to find somewhere to sell for 500+ if you’re willing to put in an hour of effort on /r/ACTurnips. I “settle” for 350 because way fewer people try to get onto those islands and I can be done faster.