skysight-inc/HackerNews huggingface dataset:
TIL SystemExit and that `sys.exit` actually raises SystemExit.

From Python docs: https://docs.python.org/3/library/exceptions.html#SystemExit

> exception SystemExit

> This exception is raised by the sys.exit() function. It inherits from BaseException instead of Exception so that it is not accidentally caught by code that catches Exception. This allows the exception to properly propagate up and cause the interpreter to exit. When it is not handled, the Python interpreter exits; no stack traceback is printed. The constructor accepts the same optional argument passed to sys.exit(). If the value is an integer, it specifies the system exit status (passed to C’s exit() function); if it is None, the exit status is zero; if it has another type (such as a string), the object’s value is printed and the exit status is one.
> A call to sys.exit() is translated into an exception so that clean-up handlers (finally clauses of try statements) can be executed, and so that a debugger can execute a script without running the risk of losing control. The os._exit() function can be used if it is absolutely positively necessary to exit immediately (for example, in the child process after a call to os.fork()).

Replying to your comment regarding:

> Isn't raise for "throwing" exceptions/errors though?

Well, some would argue that is idiomatic in python. A quick google search not only autocompletes "exceptions for control flow" to "exceptions for control flow python", but on the second search, most results discuss that (with many agreeing).
I guess you can say most python developer wouldn't immediately assume it's an error. I definitely can say, I don't.
As a nuclear physicist who left academia for Disney once told me: "Academia... The competition is so intense because the stakes are so low..."
I've worked at three places that embraced the open office scheme.

What I've learned from those experiences is that I do not operate well in those environments. So much so that I now know that if a company uses it, there's no point in exploring employment with them as right off the bat I know it's a poor fit for me.
Here's a collection of quotes from major news publications over the past 100 years related to climate change: https://tofspot.blogspot.com/2010/10/goosey-goosey-gander.ht...
Indeed, it's possible that dark matter has no interactions with itself. But also, a little bit of interaction makes the detailed galaxy stuff come out a bit better, so the jury's out on it.
I thought that cuttlefish were the established kings of this particular hill?

https://www.xkcd.com/520/

http://tailsteak.com/archive.php?num=400
The US has lowered it's CO2 emissions 10% since 2000. Thanks to the "right" and fracking. 16% in the EU.

If you eliminated US/EU production of CO2, atmospheric CO2 levels would still rise. The slight warming that would take place as China and India modernize their life will still happen.
A 'town square' law where a communications medium is ruled to be essential or of great influence (eg, Twitter) ensuring that free speech can continue to exist would be a positive thing.
WireGuard VPN Installation and Configuration
Is that what it signals? As someone who isn't a native speaker but believes themselves close to one, I don't read it that way.

I understand that "X says that Y are Z" is less strong a statement than "Y are Z", but with something as complex as this, it's hard to state it as fact without coming across as if it is your own research or conclusion. I can write 2+2=4 without that, but I can hardly write that donald duck running a leading economy is bad for the whole planet without it seeming like an opinion to those who either looked at different examples as I did or those who are not completely convinced it is a fact. (That was exaggerated obviously, but you get the picture: if I had written the donald duck statement like "scientists say that $complexSystemThatFew(IfAnyone)CanTrulyProve", it seems more likely to be true than without it, regardless of whether it truly is a fact.)
nature.com is scientific based (or at least aligned) organization. If your political stance is to ignore science, that doesn't make it political organization.
> if their ethnic and other prejudices were catered to

being with people like you who share the same culture is the natural inclination. its the opposite that needs to nurtured and "catered to".

Nothing wrong with wanting to live with other Somalians, other Japanese, or Northern Europeans, as long as the different communities collaborate and get along.

>40% of Americans

probably more like 80%. people just want peace, the current climate is chaos.
Thanks!

1. AI is definitely improving in this area. We watch this space closely, but based on user feedback so far, it seems that AI voices are perceived as very monotonous, and thus it is not enjoyable to listen to them for more than 10-15 min.

2. Listle is already available on the web at https://www.listle.io/ -- scroll down to "Sign in here" link.

We also have a chrome extension which allows you to see if a particular page / article you are on already has a human-read audio version. If it doesn't, it creates an AI powered audio for you: https://chrome.google.com/webstore/detail/listle-request-ext...
There is way too many people like this on hn. I guess this means that HN is essentially 'mainstream' now (at least in SV?), but it's also disappointing.

It's like discovering your close circle of scientist friends has a anti-vaxxer.
Remember when browsers were for, you know, browsing?
Would it shock you to know these topics have already come up in the family, and have since day one? Or that she herself is an Amazon customer?

Somehow, she still finds a way to sell books and make some money, as well as highlight local authors and sell trail guides. The Barnes & Noble down the road, to be frank, seems to be her bigger headache.
Kind of neat that the way these are shared is a PNG file with appended data. The PNG file is the icon for the Shortcut :)

Example: https://cvws.icloud-content.com/B/AZc9tIA45EozUwn3Zs0zZEJSUY...
Building with wood that bends itself into shape
Philosophy will help, but they need facts early on. For instance a knowledge of basic chemistry would help a bunch. On social media I saw an older gentleman who's been involved in a quite technical field all his life, but he makes incorrect statements regarding climate change like "we don't know how carbon moves in the environment". The basics of chemistry would help him see that we have a very clear picture of most parts of the carbon cycle.
> How about we let people who want to work from home to work from home and people who need others arpund to work in the office ?

Sounds good to me!
It always has existed, and the problems are largely imaginary. Hence the politics.
Good journalists don't make you take their word for something. Citing the source of information is good practice.

Edit: I guess it would have helped if they said which scientists.
Some years ago I read a book about a banker who took a summer off to work an Alpine pasture (ie. a summer farm) without electricity and company. Just him and 50 cows. I've been dreaming about that ever since.
Or as Al Swearengen put it on the best TV show ever, HBO's Deadwood: "Announcing your plans is a good way to hear God laugh."
Ask HN: What is the best way to get a user's bank statement details?
Of course with user's consent.
I have definitely had my battles with people who want to poke holes in my plans, rather than support me. They think they're helping me, but they aren't. They're just killing my enthusiasm.

If I'd been left to try, I'd have worked hard at it, had an experienced, learned some things, and maybe even accomplished it. Instead, they did their best to stop me.

I now snap at people who do this to me. I no longer let them throw problem after problem at me, and instead shut them down before they can destroy my dream.

I accomplish a great many of the things I try, and I get exercise and knowledge from the failures.
GP doesn't want the statement to read: "scientists believe X", he wants it to read: "X is a fact that is not up for debate"
reply
could be something as simple as "rm /var/$myfile" with myfile being null or unset. As long as /var isn't owned by the current user and/or SIP is installed, testing won't let them know they have a problem.
>what are you on about with the world freezing. That's new to me.

Well, because this was a thing in the 70's, so before you were born. I remember the headlines in pop-sci magazines were screaming about "the coming ice age" and artists depictions of glaciers in New York, Chicago, etc.

It doesn't invalidate the current climate science, but plenty of people remember that old sensationalism.
I was on the Forbes 30 Under 30 list this year, and five alums from the org I run have also made the list over the years, as well as two friends of mine. They are all are pretty reasonable people who have done cool things.

I'm not surprised they were able to find a few that were crazier, though. It's not substantially different from an obsession with getting into YC or raising VC money. I've done both of these things as well, and I met many of the same people. They will always find something to be obsessed by.

And for what it's worth, all the recognition I've gotten over the years has never really translated to much of a business advantage, but it's still pretty neat to be recognized for something you've been putting a lot of work into.
For tying knots, video. For everything else, reading.
VCs could finance these companies and make money on the investment that way without taking ownership.

For example, I am certain YC accepts non-profits which have gone on to attain VC investment... and non-profits don't have any ownership.
(not) to talk about diversity in tech
The point is that there's nothing particularly "tech" about these companies, unless you're redefining the word completely. They're scalable companies. They're low marginal cost companies. They're software companies. Fine. But that's not what a "tech" company is.

This pervasive notion that the "tech sector" is software companies from the Bay Area is creating an engineering brain drain that seems oblivious to the fact there's technology in literally every industry, and it's probably damageable to innovation.

The Stratechery analysis seems to me to just restate obvious things using homemade terms ("aggregators") and doesn't explain much. I must confess I still don't understand the hype around that newsletter which to me has the style and substance of run of the mill B-school case analyses. I wish there was a "tech sector" equivalent of Matt Levine.
What does the NRx mean to you? I've never heard of that, some minor googling leaves me confused.
AltStore: iOS App Store alternative that doesn’t require jailbreak
We were not all doomed to freeze to death in a new ice age. I think there were a couple of news pieces about it in the late seventies here in the UK. I even bought one of the shitty conspiracy paperbacks about it in 1980-something. Just as I bought Erich von Däniken's hilarious Chariot of the Gods proving the pyramids were built by aliens.

On the other hand there were dozens and dozens of news reports, over a lengthy period, about acid rain, climate and ozone in the early and mid eighties. The world bothered to do something about two. We hear far less of those two and the Millennium Bug these days. Which is taken as proof nowadays that they were never a problem in the first place. Errr...
Nuclear is no longer a climate solution since it unfortunately takes too long to build and scale. Modern economies do not have the skills for this.

We do have the skills for massive amounts of thin film production that's necessary for solar and lithium ion batteries. And somehow, we are massively reducing the cost of wind as we scale to ever larger turbines!

We need to lean into our current tech skills, particularly those that get cheaper as we deploy more of it. That description does not fit nuclear, as it has a negative learning curve for costs.
It might impinge on GDP by 10% come a century from now. A life or death analysis of the issue would say that development of poor developing countries is much more important, as are other pollutants that really kill.
Let's try an analogy.

99% of the sailors on a lifeboat say, "We need to paddle West, or we'll all die."

Sure, you have every right to be skeptical. But don't you think we should probably paddle West?

If someone starts trying to paddle East, shouldn't everyone in the boat try to stop them?

Yes, the sailors may be mistaken. But given the divisions of labor we have, and our limited understanding of the world, don't you think we should follow the best advice we can get?

Is there some better way you can imagine to gather the best advice?
I assume this is the sequel to 'Children of Time'? I enjoyed it, so I guess I should check out the sequel sooner rather than later.
Everyone I know that supports Trump is also a climate change denier. Concerns about climate change are liberal propaganda that progressives are trying to use to raise our taxes. It is very very very much political.
I'd love to see some sample circuits evolved -- I feel like humans might get stuck in known patterns, and I'm curious to see more 'random' circuits that still work.
Are you being facetious? How many people do you think would be killed by a nuclear blast of that size? How many more would die in agonizing pain as the fall-out spread over the globe? How many more from horrible cancers forty years from now? A volcanic eruption of that size would destroy agriculture and cause most of Africa, much of Asia, much of South America, and probably good chunks of North America and Europe to starve. It would also send ash contaminated with nuclear fall-out into the atmosphere.
When we look back in 50 years, I believe we'll see this as a time of incredible growth and discovery. Kind of how I look back on the space age now, the moon landing. The space program was almost a complete disaster, but instead it inspires generations.

Yes, let's talk solutions! It you don't like one of these solutions, come up with a better one. Anything but working on solutions is an excuse (i.e. complaining about people that aren't on board or trolls). Don't miss out on the big adventure.
Carpentry, probably anything that required manual labor with some creativity needed.
Not just weather, but almost anything can be attributed to climate change - poverty, depression, suicide, crime, decline in insects, decline in birds, etc.
You might as well ask for the primary source of my assertion that Donald Trump is the sitting president of the United States. Ergo, the answer is "the front page of any major newspaper". Now that I've tripped the wire, please do go on about how that doesn't count.
From another perspective: whom is one of the few relics of the entirely dropped dative case in English (via the also disappearing objective or oblique case which mostly only remains in English personal pronouns I versus me). It's generally relegated only to formal writing, and some (including the Oxford English Dictionary since the 1980s) consider "whom" to be entirely deceased, ancient, and no longer an active English word.
Was there ever a time the testing and quizzing was wrong? How did you know?

For example, “Later that candidate did X, which would have been great for Firebase.”

How often did you take subordinates that weren’t fresh college graduates or former/current FAANG engineers?
Rodrigo Duterte, president of the Phillipines, who literally said he would be "happy to slaughter" the 3 million drug users he thinks live there, enjoys an 80% approval rating.
Linux Capabilities in Practice
Prudent defense or not, no law should be written in the first place so as to criminalize a joke YouTube video under its letter. Nor should citizens (or subjects in this case) be compelled to explore the necessities of free expression as a criminal defense for making a simple joke.

Thankfully in the US we have already codified free speech into law. Unfortunately there are still many who do not consider the liberties protected by the Bill of Rights to be a settled issue.
Every time I read a new climate change article or headline, I think about how much of a squandered opportunity the MIT Media Lab represents. It has a budget of $80MM, access to some of the best minds on the planet, and not beholden to the perverse incentives that afflict politicians and corporate executives. Are we supposed to believe it's impossible to generate useful and commercializable IP while simultaneously tackling climate change?

If anyone wants to brainstorm... what would it take for universities to announce cross-campus climate change initiatives dedicated to rethinking basic social systems? The California-China Climate Change Institute is the only one that I know of (1).

(1) https://www.sfchronicle.com/politics/article/Jerry-Brown-to-...
One would hope so. But they often don't, especially when the goal is clicks.
Any geo-engineering strategy that's more expensive than carbon sequestration or significantly riskier is a non-starter.
Apple’s Use of Swift in iOS 13
Why are domestic threats related to incels relevant to the Army whatsoever? This should be entirely within FBI/law enforcement's purview.

Are they worried they are coming from incel service members?
The Global Disinformation Order 2019
So for every new hire at your company, you pack up on a Friday and unpack on a Monday? Do you only hire on one day a year, or sign week-long leases, rather than year-long leases?

No, that's silly. You lease a building bigger than you need today, and then when you fill it up you either pause hiring or start cramming people in until your lease is up and you can move.

Or, I guess you can set money on fire and break lease after lease after lease, but I think there's no way around the fact that this is a space issue first and foremost, with money providing a way to mitigate/solve space issues.
(standard disclaimers apply; I am not a dietician or otherwise formally qualified to have any opinion at all on this topic)

It looks like they're using the NOVA classifications[0]; there have been a couple of other articles relating to the same system posted here recently, e.g. [1].

The NutriSource in "Whole milk (Cloverland) with NutriSource fiber" is apparently 100% partially hydrolyzed guar gum[2], which I believe would qualify the combination as ultraprocessed under this part of the definition from [0]: "Substances only found in ultra-processed products include some directly extracted from foods, such as casein, lactose, whey, and gluten, and some derived from further processing of food constituents, such as hydrogenated or interesterified oils, hydrolysed proteins, soy protein isolate, maltodextrin, invert sugar and high fructose corn syrup.". By contrast, skim milk (as used in the unprocessed menu) has nothing added, only removed, and so would fall under their Group 1 "unprocessed or minimally processed foods".

As for whether this is actually a useful classification system, I don't know. I have no reason to believe any of the studies are bogus, but taken as a whole, it does seem like an attempt to launder the naturalistic fallacy into some scientific respectability.

[0] http://archive.wphna.org/wp-content/uploads/2016/01/WN-2016-...

[1] https://news.ycombinator.com/item?id=19930970

[2] https://www.nestlehealthscience.us/brands/nutrisource/nutris...
Spotify is hypocritical to say the least. They complain about Apple controlling their ecosystem too tightly and being too unfriendly to third parties while also refusing to provide a modern replacement for the deprecated and broken libspotify, removing playback capabilities from their other SDKs, breaking numerous Spotify-capable hardware devices, and shutting down third party devs trying to build on their platform.

Spotify has no room to complain.
This reminded me of the time I mistakenly deleted /var/tmp/ instead of just deleting the contents of /var/tmp/. The router was not pleased.
Yeah, unfortunately England, in winter, isnt really conducive to drying clothes outside.
The big crisis for western democracy is mass disinformation. Democracy only works if we all agree on what the facts on the ground are. In the US we used to have the FCC Fairness Doctrine which prevented broadcasters from becoming straight propaganda outlets. Reagan's killing of the Fairness Doctrine led directly to the rise of Rush Limbaugh, AM talk radio, Fox News, Sinclair Broadcasting, etc. They have been able to create an alternate universe where the facts on the ground are completely different then the so-called mainstream (which is misnamed since the alternate universe is now as big as the "mainstream" one).

We need some form of Fairness Doctrine updated for the internet age. Otherwise things will only get worse and the democracy experiment will fail in probably catastrophic ways.
I think they are very keen to have the ability to give updates very fast in case of a major exploit used in the wild.

What exactly is preventing Chrome from checking for updates / security patches itself (even taking notifications to update) without the use of a launchd agent? Why should any part of a browser be running when I an not using it?
The underlying architecture of mainstream media and social media that produced Trump and Brexit haven't changed.

They provide the conditions for the herd to congregate, accumulate and then stampede. And the herd will. Until the underlying architecture gets fixed. Too much attention is paid to which direction the herd is stampeding in rather than the underlying architecture that enables it.
> The number of Britons taking a yearly two-week vacation (a travel-agency staple, long standard because of the country’s generous vacation days)

Does the UK have a reputation for generous vacation days? I never knew that - I thought it was pretty standard 28 days here.
>They say "dietitians scrupulously matched the ultraprocessed and processed meals for calories" but also that people were told to each as much as they like. What does that even mean? The calories can only be the same if you fix the quantity.

It looks like they were going for energy density (and composition, for that matter).
BUT: They absolutely botched that one. While overall density was the same between the two groups, the energy density without beverages was almost twice as high in the ultraprocessed group. TBH, I'm a bit baffled how this huge discrepancy managed to remain in there.

I mean, they even admit as much:

However, because beverages have limited ability to affect satiety(DellaValle et al., 2005),
the ~85% higher energy density of the non-beverage foods in the ultra-processed versus unprocessed
diets (Table 1) likely contributed to the observed excess energy intake (Rolls, 2009).

Edit: Looking at the referenced paper (https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4182946/), it directly supports both these points: that food energy density quite significantly impacts total intake, and that using beverages instead doesn't (even in contrast to using liquid ingredients which _does_ work). Hoo boy.
30 Under 30 is a lot like Mensa--the only benefit of getting in is so you can tell others you got in.
I've seen a lot of these "successful people do this thing!" stories, but after years of reading them and watching how people act, I've come to the conclusion that those people are successful by nature first, and all these things they do are helpers, not enablers. Doing that thing won't turn people into successes.

These things are crutches that successful people use to improve themselves, not something that they learned in order to be successful. They'd be successful either way, this is just easier.
Then the business could say that they don't serve people who advocate for illegal activity. If they also don't want to serve dinner people who advocate for legal activity, then they should be transparent about it
No, the nuclear blast would be underground in the remote Pacific away from civilization, just enough to trigger a massive ash cloud to cool the earth.