skysight-inc/HackerNews huggingface dataset:
> Exceptions are easier

I'd add that they're easier because I don't know of any compiler that makes you handle every type of exception. I know a grip of compilers (and to be fair compilers with options and language extensions set) where you cannot not handle the "that didn't work, what now?" cases: the Left of the Either Left Right, Nothing of Maybe Value, Error of Result Error Value, None of Option etc etc etc.

Languages that force you to handle everything that can happen when you do a thing are an accessibility tool for me and my fellow smooth brains. If I can't see it in my buffer I'm not going to remember to check it.
The RDBMs in this case accepts 9999-12-31 as a valid date. Pandas does not. This is where the issue came in, and switching to PySpark meant we needed no date manipulation to handle the data supplied by the upstream.

Magic dates suck, but they exist in the wild. There are also valid cases where data is not tied to the lifetimes of humans currently writing code.

The range of values for date values in PostgreSQL is 4713 BC to 5874897 AD:

https://www.postgresql.org/docs/current/datatype-datetime.ht...
You know more than me probably but another detail is that warm air can hold more water than cooler air.
The primary link doesn't explain the other 60% of the formulation, but IIRC (from watching the video linked in my top-level comment) the other component is waste dirt from construction projects.

I'd expect it to be less strong than concrete, so I guess more fair comparisons might be mud bricks, other mud-brick + X formulations, and traditional clay bricks?

edit: but worth noting that the paper you linked does mention that someone else is making "sargacreto" that is 40% sargassum and 60% concrete, though it says there aren't numbers to cite for its strength yet.
https://ourworldindata.org/land-use

We already get 82% calories and 63% proteins from plants, but animal agriculture takes 80-90% of all agriculture lands, and is a leading driver of deforestation, biodiversity loss and droughts.

https://talkveganto.me/en/facts/suitable-for-all/

We don't need to eat animal products for sustenance or health.

https://ourworldindata.org/land-use-diets

Animals are really inefficient in converting plants into calories.

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5899434/

"Plant-based replacements for each of the major animal categories in the United States (beef, pork, dairy, poultry, and eggs) can produce twofold to 20-fold more nutritionally similar food per unit cropland. Replacing all animal-based items with plant-based replacement diets can add enough food to feed 350 million additional people, more than the expected benefits of eliminating all supply chain food loss."

https://www.wri.org/data/animal-based-foods-are-more-resourc...

Animal-based Foods are More Resource-Intensive than Plant-Based Foods

https://www.eurekalert.org/news-releases/917471

Feeding 10 billion people by 2050 within planetary limits may be achievable

A global shift towards healthy and more plant-based diets, halving food loss and waste, and improving farming practices and technologies are required to feed 10 billion people sustainably by 2050, a new study finds.
There's a risk/reward trade-off to be made.

Waymo had a huge head start, a ton of advantages, and more cash to burn. So they chose one operating point, under the theory that public perception and trust were vital to get right.

Later entrants chose a different operating point, because they had to catch up and had more limitations.

This is why Tesla rolled out autopilot before it was ready and killed a bunch of people; getting data collection running at scale was the only way for them to compete. Keep in mind that Musk promised a million robotaxis within a year of their roll out. That didn't happen.
Win16 got dropped at some point, probably because keeping it didn't add up financially. I have little doubt they could have kept support for much older stuff.
I dunno, maybe the python 2 -> 3 transition itself didn't go great, but I think python 3 has been a better foundation for python's wild popularity explosion over the last decade. I think if anything it's (in my opinion) more an example of not pulling the band-aid off quickly enough, rather than an example of why you shouldn't break backwards compatibility.
I know the trope "Americans spent millions inventing a pen that works in space, and Russians just brought a pencil" isn't entirely accurate. But, I can't help but get similar vibes as Americans spend billions developing self-driving cars, and as the rest of the developed world just builds trains.
Uh, there are "exit ways" every... some distance, so it's not big problem.
Sounds like he’s drawing on Aristotle: https://en.wikipedia.org/wiki/Four_causes
In fact looking into this further the only thing windows 11 lacks is the ntvdm which allows some dos api calls. If your binary is straightforward and not tied to msdos which this is it's fine. So I think the idea that this is a 32bit windows console application is completely untrue. It's also intuitively untrue when you consider the age of the app being run here.
Those people/use-cases don't care about the GIL. When you're doing anything numerical you're calling into Numpy, Pytorch or Polars anyways and those libraries make use of multiple threads and drop the GIL.

So yes, you can do Matmuls to your heart's content in one python thread and wait for file i/o in another thread without ever running into issues with the GIL. I'd even say if your Python Interpreter isn't bored waiting for stuff to happen, you're doing it wrong.
Lack of pattern matching is annoying, but Typescript's tagged unions and type narrowing from if-statements are a good substitude and make for a very pleasent time traversing ASTs. C# has it's own way to express similar data structures (with subclasses and interfaces), but I find unions+narrowing much more natural in Typescript.
Fine-tuning is such a dangerous phrased bc it sounds perfect.

“We’ll just fine-tune based on our (we think valuable + special) data”

Fine-tuning doesn’t enhance the model w/ new “knowledge” but a new narrowly-defined task

One other “cost” to consider is fine-tuning a 3rd-party model means if that foundation model changes or goes away that effort/cost needs to be repeated
Observability Challenges in WASM
He explains that it's like having a body guard. It will protect you from spam, psyop,scams, etc.
Every time I buy good tape I question my financial decision making.

Every time I use good tape I know it was worth it. Good tapes just tape better.

If I need lots of tape, I am using the wrong tape and two or three rolls of the wrong tape is just more of wrong.
I would argue the best time to post is early morning on a Monday when everyone starts getting into the office.

Would be really interesting to see data for a timeline of when hnews is most and least active relative to number of new posts.

Great advice for titles. If a title is too vague I won't even look at it.
Is it? Maybe insane in a bad way.

Right click on windows desktop had what now 3 different menus that might show depending on what you want to do. Oh. And let’s not talk about how much of what you see just covers the stuff up from 1998. Still rendering the old stuff only to have a slightly larger menu render right on top of it.
Isn't it just how speech works? There are examples of this probably in any culture. It would actually be odd to respond to the question as asked instead of the expected ACK; you'd get something like this classic: https://www.youtube.com/watch?v=mhEYXcCB1Qw
Directionality should also be easy to detect. Should just need a handful of mics around the car and some basic audio processing.
People always quote the links between the Daily Mail and Hitler, but conveniently forget the Guardian's support for eugenics.
So both Cruise and Waymo are subsidiaries of giant corporations rather than VC funded and needing to push tempo before they collapse. I don't think GM is particularly less risk adverse than Google.

Maybe the depth of the respective corporate coffers and the power of the executives backing the respective subsidiaries? I'm pretty sure that Waymo is supported directly by the Google founders, and I don't even think there's an equivalent person at GM to guarantee Cruise's continuation if they don't show results.
This seems like an interesting vector for a virus.
Idk. If you say “two objects collided” that to me implies a mutual head on collision.

You wouldn’t say an object at rest collided with something else.
Windows NT 3.1 was released on July 27, 1993.
Real smoked bacon is the way to go, though you won't find it in an American supermarket (just fake smoked bacon), just some ethnic European stores at best. Sadly all the Polish meat shops have long since closed around here..
Wine does this, it's a lifesaver for older games like Diablo 2.
I tried implementing this logic in java with a try-catch style:

try {
Validation validation = validate();
try {
Value value = update_db(validation);
send_email(value);
} catch (DBError db) {
try {
sleep(5);
Value value = update_db(validation);
send_email(value);
} catch(InterruptedException ie) {
// do nothing, stupid java-ism
} catch(DBError db2) {
try {
Value value = update_db_remote(validation);
send_email(value);
} catch (DBError db3) {
notify_user(db3);
} catch (EmailFailedError e) {
requeue_email(e);
}
} catch (EmailFailedError e) {
requeue_email(e);
}
} catch (EmailFailedError e) {
requeue_email(e);
}
} catch(ValidationError v) {
notify_user(v);
}

https://gist.github.com/Andrewp2/9d97bd213b061166d6df565ce26...

IMHO this is much worse than the railway version you gave, but maybe someone could write a superior version that still uses try-catch.
https://www.ted.com/talks/eric_x_li_a_tale_of_two_political_...

This talk is definitely propaganda to a degree, but describes the Chinese administrative promotion system.

https://www.hoover.org/sites/default/files/uploads/documents...

This study indicates that 2/3 of provincial leaders hold advanced degrees. I don’t have the comparative one for the US but I am pretty certain this is not the case for governors.

No source was requested for the claim that they have 7th grade education, I’ll note.
Like the Russian and the Italian?
Design is not a consumer product.

It’s not a product at all.

Design is a B2B business where some clients want prisons and others Bluetooth sleep masks.

You can imagine that there’s an existential difference between sleep mask buyers and inmates. But neither writes the check.
's/significant collision/significant collision in which it was at fault/'
> The concept of self driving cars isn't mutually incompatible with public transportation.

No, but it does make individual vehicle ownership look pretty silly:

Why buy a vehicle if you're just going to let it sit there for 95% of the time when it could be, you know, doing vehicle things?

And if you're going to let it drive strangers around, what (besides a maintenance burden and a parking burden) have you gained by owning it as compared to, say, owning stock in a company who maintains a fleet of said vehicles?

The knowledge that nobody has farted in this seat besides the people I invited to just isn't worth that much.
This doesn't solve the data science and machine learning problems, though. You will still have the problem that optimized code paths will be hundreds to thousands to even millions of times faster (on a GPU) than any Python could be, and falling back to pure Python, accidentally or otherwise, will still incur those slowdowns, even if the resulting pure Python code is embarrassingly parallel and that is fully perfectly exploited.

Personally, I wouldn't be surprised all this work gets done on GIL-removal, and the end result is that if you run 10 threads in Python you max out at roughly a 3x performance improvement in your pure Python code (and often get less, I do mean that as a max not an average), with all the memory traffic it is doing. Honestly even if it did perfectly parallelize up to 32 cores, a completely impossible absurdity, it would still be noticeably inferior performance to what many languages will give you on one core. I can't help but think that if you're sitting here waiting with bated breath for the GIL-ectomy to improve your Python performance that that is a sign you should be rewriting your code right now in any number of languages that are simply faster. I very, very strongly suspect that this is going to result in very very disappointing speedups when it is done.
Re the video and the "paper cut" of having to look up the latest ami for cent OS: with a conventional system, would one not merely specify "latest" and it'll use the latest image, depending upon support in the API?
They have the right of way and they still exercise caution because it would be insane not to. Being in the right doesn't mean the universe gives you a do-over if something goes wrong.

Do you not look both ways at traffic before using a crosswalk, regardless of what the light says? When a car ignores the light and splatters your brains on the pavement, do you think the right of way will put you back together again?
Maybe if said asteroid were fitted with a lightsail?
Almost all VPNs are vulnerable to traffic-leaking TunnelCrack attacks
There are also "plenty" more drivers on the road than the Cruise self driving fleet.
I've had arch running for a solid 7 years the only instability I've had to deal with is when a kernel update broke Bluetooth on my desktop.

What instability did you face?
Pay the poor people to build the vanity projects, solve two challenges at the same time.
Would a single molecule causing a single cancerous cell be sufficient to trigger a cancer?

EDIT: Should have searched. https://www.cancerresearchuk.org/about-cancer/what-is-cancer...

It checks out that a single unchecked self-reproducing cell could rapidly create a lot of them. I just thought there'd be control mechanisms to cause other cells to attack them.

But it is realistic apparently! Welp!
> Security is ALWAYS (fucking always, yes really - fucking always) a tradeoff.

It’s helpful to me that ACLs prevent me seeing other users’ files. I’m not trading anything off that I’m aware of.
Or just pass pointers because you need optionality, and get null pointer exceptions for free :)
Yeah, I think the learning curve and ability to optimize for the hardware is the draw.
Neither is mine, which is why I live in a place that has amazing restaurants with cuisines from all around the world. There's nothing frivolous about food or any other good or service that enhances one's quality of life.
Beating Go required dramatically improved algorithms. Simply increasing processing power was not sufficient.

I think Chess would be a better example - IBM was able to beat Kasparov with the Deep Blue super computer simply through hardware upgrades to essentially the same model. That system was searching 200 million moves per second, whereas with improved search algorithms modern (and better) chess engines beat GMs at orders of magnitude fewer moves per second on simple PCs.
Does this change the scientific consensus? It seems like aspartame is actually safe in the concentrations we use - noted bad effects happen at very high amounts, like the equivalent of 150 cans of diet coke level high. Has anything absurdly changed on this front?
I've already done the hard work and pointed the discussion at "Rule 219". Here's a handy link: https://www.gov.uk/guidance/the-highway-code/road-users-requ...

I would love to know why your understanding is different?
I think you are missing that the world is a little messy. You are correct that native extensions can and do drop the GIL. But data needs to be loaded, it needs to be preprocessed (does your image downsampling library drop the GIL? Does the video decoder drop the GIL? How do you find out? You need to do a little string processing on your data, well then you're out of luck.). Hardware devices need to be managed. Progress needs to be logged, and operations need to be debugged. There isn't a perfect kernel that can be run for every operation, you may have to run a little Python code before calling into your native code.

Again, I would encourage you to read the motivation section of the PEP, which shows a multitude of frustrations with the current state. The issue is subtle enough that I'm struggling to summarize it in a single sentence.
Ok well I should have been more precise, but I think people got the subtext.
Well, this is called marketing.

PS: The version turned out to be 82 btw.
I think you have your parties muddled up.
The problem is in the United States, most people don’t really know how they are doing.

I don’t know how I’m doing right now. If you asked me you wouldn’t get much of an answer. I might say I’m doing just fine to end the conversation.

But what is there to really say? We are simply going about this world trying to survive, trying to not get shot, trying to make so much money so that we never befall the fate of those who have been damned to a life of poverty. And all the time, a war wages for the control of our minds, and our privacy and free agency threatened at every opportunity. Big corporations and lobbyists want to hold us down, keep us in offices toiling away so princely investors can prop up their commercial real estate empires and ensure the working rich never get a chance to break free of their chains and embrace their own financial independence, because that would mean they become uncontrollable, a threat to those in power whose primary tool of coercion is money. The climate is falling apart and it makes little sense to have even one child, assuming you could even find a partner unsullied by the toxic dating culture that has been brewed by impossible standards hoisted upon us by social medias. I had to step over two homeless bums overdosing on the sidewalk this morning, victims of a drug epidemic that goes quietly unnoticed, swept under the rug as an inconvenient truth. It is clear the best days of this nation are far behind it. The future is perilously dark and uncertain.

How am I really doing? Don’t know. I don’t try to think about it.
The idea is to eat less meat and use feed those calories to people directly instead. Not the solution but contributing to it.
Indeed. It’s the one of the best time in terms of outcome, but not the best time in terms of how easy it is to get to the front page. It’s always a tradeoff.

Also, I’d argue that Tuesdays are better if you’re considering outcome exclusively. That’s when people will be done with catching up from the weekend and will have more free time.
[Foreword: I agree that it would make no sense for any language to automatically parallelize loops, especially over filesystem mutations. However I am very happy manually doing it with one function so it's explicit when it happens and maintainers know to take it into it account.]

> Even if you did this in Rust, it probably would not give you the true results you wanted, if that file tree were manipulated in any sort of way during the loop, was a network FS, or any of a number of other assumptions were violated.

That's factually true but not really relevant.

Introducing your own parallelism barely adds to this problem. Your program cannot assume it is not parallel with another program affecting the same file tree in arbitrary ways.

The parallelism you add to your own code (say, with Rayon) doesn't change the set of operations that can occur to those files. If you design your own operations to be non-overlapping then parallelism is no concern, and if you didn't then that's a bug and you might get non-deterministic results even without parallelism.

For what it's worth, even for writing that kind of code, Rust's standard library has taken the recent wave of TOCTOU vulnerabilities much more seriously than contemporaries like C++ implementations. Good writeup here: https://www.reddit.com/r/cpp/comments/151cnlc/a_safety_cultu...

This of course only makes safer operations possible in more cases. Code still has to do what it can with the constraint that filesystem contents may change in arbitrary ways at arbitrary times. Adding your own parallelism does not add significantly to that. And if one is to add parallelism, it may as well be with something as high-level as Rayon and with all of the usual data race protection Rust provides, so that you do get to focus on filesystem concerns and not also on thread-safety in general.
Fleet/swarm/traffic management would be an amazing thing to see.

Imagine seeing vehicles automatically moving to the side of the road to let an emergency vehicle through. Or the subtle nudges and lane shifts to ensure traffic doesn't reach a standstill.

It's a great use case for a hive mind ML/AI.
Helidon Níma: A Java microservices framework based on virtual threads
While it's nice to hear aggregate statistics for the Church, it's important to remember just how loosely associated the whole Church is.

Of course you have a unified structure with uniform law and chain of command. But every diocese, every ordinary, has a lot, a lot of autonomous power, and financially especially so. It's not like the Holy Father, or a functionary in Rome, could sell off land out here, or even tell us what to do with it.

Religious orders, even more so. There are a lot of protections for their governance and finances. And in these days of abuse lawsuits, every parish has independently incorporated to shield them from raiders of the lost diocese.

So while it's true that the Church owns a lot of nice things, you kight compare them to "farmers" owning a lot, rather than a monolithic corporation.

v. interesting to compare their unqualified assertions about the Church vs. British Crown holdings.
This comparison really exaggerates the differences, the measures are basically the same. If you look at the ranges over 2015-2020, France ranged from 0.17:0.25 and Germany ranged from 0.14:0.46. Top 11% in 2020 vs top 14% of countries with data.

It's a moot point anyway, since renewables don't stabilize Germany's grid: coal and gas power plants (and imported electricity) do. Renewables are cheap if they are a small proportion of sources or the grid is stabilized by another source. If you need storage the cost simply explodes.
I think people who reach for an IDE are deep down spoiled brats who need everything on a platter.
In what way does PyPy break compatibility?
Giving out your health data to an untrusted third party that analyses it using “advanced AI”? Nice try.
Elaborated here - https://medium.com/helidon/helidon-níma-helidon-on-virtual-t...
Non crap link

http://farside.link/twitter.com/mikko/status/169250324959558...
> Imagine buses routed dynamically, and sized perfectly to match demand.

We don't need self-driving to do this, and in fact many localities have already tried this with human drivers, and it's been an abject failure. Dynamic-dispatch public transit has been tried!

The results have been low usage (because it turns out the predictability of a timetable and consistent route is a feature, and not a bug!), with high wait times and long trip times.

Heck, the major ride hailing companies have done pilots on this front (ride hails as last-mile supplements to fixed-route public transport) and it's been a pretty thorough failure there as well.

In urban planning circles there's the term "gadgetbahn" to derisively describe high-tech, flashy transit projects using unproven tech that ends up being far worse than normal proven technologies. Dynamic-routed public transit is like that, but with even less "gadget".
And, JS engine's whims change frequently enough that yesterdays micro-optimisation is today's deopt.

Much better to just write ideomatic code.
For reference, 100 GW are 3.3 % of the average world electricity production in 2020 of 3062 GW, but this is supposedly only required for a few minutes.
Homebrew games for exactly the type of computers you are likely to have at home!

People write games for hopelessly ancient computers from ancient interplanetary space missions. We're long since living in "the future".