MurphyA/hacker-news huggingface dataset:
by potato3732842 | 2025-10-29 22:47:24+00:00
> It is a tragedy of our era that anti-conservationalism was able to gain such a strong foothold in the body politic.

It was the entirely predictable result of the policies we adopted. You don't get to be sloppy and shortsighted and then sail off into the sunset without consequences.

Kicking the industrial layers of the economic pyramid overseas and telling people to learn to code is what you do when you want a quick win and don't care if people will rightly hate you in a couple decades (IMO it's a miracle we're discussing this now and not in 2002).

Behaving that way isn't socially/politically sustainable and it doesn't take a genius to figure it out.
by orangeboats | 2025-10-29 22:47:33+00:00
>Then any replacement project should start with implementing a better test suite in order to know what you're doing

"Then any replacement project should not include bugs in their code."

Like I said before, broad statements like these are borderline pointless.

Of course we all know the should, the real problem is how -- how can you realistically make a "better test suite" when your goal is to create a bug-for-bug compatible replacement project?

And given the size of the original project, how should a better test suite be created?

>That is a problem with whatever option library they chose to use.

Instead of being vague, why not show a precise example of what you are talking about?
by tptacek | 2025-10-29 22:47:34+00:00
Good to see an analysis emphasizing the metastable failure mode in EC2, rather than getting bogged down by the DNS/Dynamo issue. The Dynamo issue, from their timeline, looks like it got fixed relatively quickly, unlike EC2, which needed a fairly elaborate SCRAM and recovery process that took many hours to execute.

A faster, better-tested "restart all the droplet managers from a known reasonable state" process is probably more important than finding all the Dynamo race conditions.
by trhway | 2025-10-29 22:48:01+00:00
There are a lot of thing which are clearly "war support", yet it would be a long and frankly pointless discussion, so i'll just refer to China's own words:

https://www.cnn.com/2025/07/04/europe/china-ukraine-eu-war-i...

"Chinese Foreign Minister Wang Yi told the European Union’s top diplomat that Beijing can’t accept Russia losing its war against Ukraine..."
by kstrauser | 2025-10-29 22:48:34+00:00
> it won't work if it's not compatible

This is very new behavior in pip. Not so long ago, imagine this:

You `pip install foo` which depends on `bar==1.0`. It installs both of those packages. Now you install `pip install baz` which depends on `bar==2.0`. It installs baz, and updates bar to 2.0. Better hope foo's compatible with the newer version!

I think pip only changed in the last year or two to resolve conflicts, or die noisily explaining why it couldn't be done.
by pinkgolem | 2025-10-29 22:48:47+00:00
Are they?

They build 10x more solar power (total numbers compared, in percentages solar nearly tripled since 2021, nuclear had a 10% increase)

That seems more like a modest increase.

Honestly solar seems to have an exponential growth, nuclear linear at best.

Numbers from: https://en.wikipedia.org/wiki/Electricity_sector_in_China
by throwup238 | 2025-10-29 22:49:43+00:00
That’s why this was scrutinized more and the California AG got involved but it’s not that rare either.

Novo Nordisk the maker of Ozempic for example IPOd, diluting the Novo Nordisk Foundation’s share (though they still have controlling voting rights due to share classes IIRC) to raise money. SRI International spinoffs often get sold (Siri) or raise money and IPO (Nuance) diluting the nonprofit’s share significantly in the process.

A nonprofit that owns a for profit subsidiary is no different than a regular shareholder and can decide that diluting to reward employees or get investors is worth it to grow the value of the whole company.
by tracker1 | 2025-10-29 22:50:10+00:00
Agreed there are definitely a lot of Libertarians and Republicans that definitely object to random use of facial recognition as presented.

As I mentioned in another comment, I'd like to see any clarifying statements from ICE/DoJ on this before jumping to conclusions as framing often cuts off portions of video or otherwise warps framing of events. Not to mention, I don't recall seeing any mention of a request for comment in the article.
by daotoad | 2025-10-29 22:50:27+00:00
I was using Wezterm because of the cross platform and the lua config (let's me reuse my mad lua skilz from keeping my nvim config).

The thing that made me switch to Ghostty was the image support in wez didn't play well with tmux.

After testing wez, kitty, and Ghostty, I ended up going with Ghostty.

I do miss the idea of the whole lua config thing, but since I never did anything with it, I can't treat that as a practical concern.
by benjiro | 2025-10-29 22:51:03+00:00
> Their emissions are the emissions of Western companies for whom they are doing manufacturing.

Spoken like somebody that never stept a foot in China.

Sure, manufacturing for the West is part of it, but up to a few years ago, entering Beijing alone resulted in your naval cavities burning, the moment the airplane door opened.

Because of the usage from coal in households. It was only until a few years ago, that they banned the usage of wood/coal around the city. Outside the city, its coal everywhere for the normal class people who own their (country)house. Near other large cities its still very coal centric in the winter.

And the heating (communal for apartments) is mostly coal and while the coal may burn a bit more clean, and there is some filtration going on, its not a ton. So while open coal burning was reduced directly in the cities like Beijing, they simply moved a lot of it outside the 6th ring.

All those EV's ... great, no more gasoline/oil usage but ... wait, where does a lot of the electricity come from? Oeps...

But wait, all that crypto mining, where do you think that electricity comes from?

And now AI...

And the consumer goods.

Your statement ignore a large part of the coal consumption in the country.
by bitbasher | 2025-10-29 22:51:07+00:00
A majority of people in tech jobs have more than enough privilege to fight back, but instead they get cozy with their Microsoft editor, using the Microsoft backed LLM, pushing code to their Microsoft code forge, updating info on their Microsoft professional networking profile and publishing packages on Microsoft's package manager.

Let's face it-- the passion and resistance is nearly dead. There's a few of us left. Say what you want about Stallman, at least the man stood for something.
by nitwit005 | 2025-10-29 22:51:13+00:00
The project wasn't started as a global warming fix. As the article notes, it was about preventing desertification:

> Over the last three and a half decades China has planted roughly 120 million acres of forest, according to U.N. figures, much of it added to contain the spread of deserts. Last year China completed a project, begun in 1978, to plant a 2,000-mile-long belt of trees around the Taklamakan Desert in the west. Work continues on a belt of trees around the massive Gobi Desert in the north.
by torginus | 2025-10-29 22:51:17+00:00
One nice thing about these developing countries is due to the power infrastructure tends to be not very good - which prompts people to take things into their hands and install solar, not to save the planet but to stave off brownouts, and be able to run the AC around the clock to stave off the heat.

For residential, solar + batteries straight up beats legacy infra on cost, and with the upcoming cheap sodium batteries, things are only going to get better.
by zahlman | 2025-10-29 22:51:37+00:00
> Nowadays pip also defaults to installing to the users home folder if you don't run it as root.

This could still cause problems if you run system tools as that user.

I haven't checked (because I didn't install my distro's system package for pip, and because I use virtual environments properly) but I'm pretty sure that the same marker-file protection would apply to that folder (there's no folder there, on my system).
by tonymet | 2025-10-29 22:52:27+00:00
It's helpful context but still seems like a lost opportunity for python to provide the UI. It feels like every couple years we are reworking the wheel and redefining how to publish software.

With python over the years i can think of pip, pipx, setuptools, easy_install, distutils, venv, conda, wheel, .egg, wheel (formats) , now uv.

PHP stabilized with composer, perl with cpan , go with `go mod` and `go get` (builtin).

Java and Swift had some competition with Gradle/maven and swiftPM / cocoapods, but nothing as egregious.

file tree, dep tree, task DAG. how many ways can they be written?
by jillesvangurp | 2025-10-29 22:52:29+00:00
Just search for things like "green wall", "china straw landscape", etc.

A few good ones that I watched:

- Inside Africa's Food Forest Mega-Project https://www.youtube.com/watch?v=xbBdIG--b58

- China Buried Tons of Dead Plants Under the Desert Sand https://www.youtube.com/watch?v=Ev8DsPH_82Y

- Green Gold: Regreening the Desert | John D. Liu https://www.youtube.com/watch?v=E3nR3G9jboc

There are way more. One channel that I might call https://www.youtube.com/@MossyEarth. They basically use donations to take on projects to do smalls scale nature restoration. I am actually considering making a donation to them because I like what they do. There are more examples of such channels.

Not everything on this front is without controversy of course and I'm not blind to that. But I like the positive, constructive nature of these approaches. Just the simple notion that it's fixable with a bit of cleverness and lots of hard work. China is of course an autocracy that you can criticize for a lot of things. But they are doing a few things right as well. And it's worth calling that out and learning from them.
by Nextgrid | 2025-10-29 22:52:42+00:00
Employees shouldn’t be using the corporate network to view porn. Everyone nowadays (especially Meta employees) has smartphones with personal hotspot capability. Just use that if you really need access to such content in the office.

In fact I don’t really buy their reasoning - surely everyone working as a software engineer knows that SNIs are unencrypted and any corporate network will log them, so nobody should be accessing any kind of objectionable content via the corporate network for their own good to avoid embarrassment.

So I suspect the porn access may have been due to an actual AI scraper (not arguing that they trained on porn - it could very well be there are 2 stages - one is a basic scraper more or less following links, including accidentally following a pornographic link posted on a non-porn site, and another stage classifies the content and the decides whether it should be used for training or discarded).

If this was actually employees accessing or torrenting pornographic content, I’d expect this to be quickly followed up on and the employee facing dismissal after a stern warning (or an IT security investigation if they persevere in claiming they didn’t do it, as it could suggest malware using their machine to proxy traffic).
by resonious | 2025-10-29 22:53:23+00:00
It's been almost a year for me now but I had also stopped using it due to crashes. And since it shares a process for all your windows, it would close all my windows which just drove me nuts after awhile.

Though for me, I only wanted the absolute bare minimum, which Alacritty covers. I was sad to lose ligatures, but Alacritty is stable and very fast.
by matt8p | 2025-10-29 22:53:51+00:00
Hi HN,

I was experimenting with writing writing unit tests for MCP servers. I find unit testing incredibly useful for writing assertions for every MCP primitive: tools, prompts, and resources.

This helps with ensuring that future changes aren't breaking the server's behavior. To do this, I used a simple set up with Jest and MCPClientManager, a custom MCP client I wrote for testing.

Hope you find the article an interesting read!

Matt
by alwillis | 2025-10-29 22:53:54+00:00
> Could someone sell me on one of these alternative terminals (kitty, ghostty, wez, etc)?

* They're very fast and the scrolling is very smooth, especially on a 120 Mhz (ProMotion) refresh rate on MacBook Pros.

* While TMUX runs on all of them, they have built-in multiplexing, so you terminal sessions without requiring TMUX.

* Super configurable and in some cases programable

* Excellent typeface support, including ligatures, which I liker

* A quality of life issue: you don't have to copy and paste URLs; you just right-click them in the terminal.

* Excellent typeface support
by trhway | 2025-10-29 22:54:27+00:00
>Are you from country 404 by any chance? Because that's how these posts read.

You may read it whatever way you like. If we look at the facts - statista and globalwatch is some Western sites/orgs, topwar is straight Russian and Guardian is Great Britain.

>Kind reminder - this is not reddit.

This is why you're using that offensive "404" notation (an expression of the Russian propaganda point that Ukraine isn't a sovereign independent state) when referring to Ukraine?
by kstrauser | 2025-10-29 22:54:45+00:00
Pyenv's a different animal. It's meant for installing multiple Python versions at once so that you're not stuck with whatever dog your base OS happens to ship.

Pipenv tried to be what uv is, but it never did seem to work right, and it had too many weird corner cases ("why is it suddenly taking 3 hours to install packages? why it is literally impossible to get it to upgrade one single dependency and not all the others?") to ever be a contender.
by maxdamantus | 2025-10-29 22:55:08+00:00
Here in NZ when I've been to vote, there are usually a couple of party affiliates at the voting location, doing what one of the parent posts described:

> You can stay there and wait for the count at the end of the day if you want to.

And if you watch the election night news, you'll see footage of multiple people counting the votes from the ballot boxes, again with various people observing to check that nothing dodgy is going on.

Having everyone just put their ballots in a postbox seems like a good way remove public trust from the electoral system, because noone's standing around waiting for the postie to collect the mail, or looking at what happens in the mail truck, or the rest of the mail distribution process.

I'm sure I've seen reports in the US of people burning postboxes around election time. Things like this give more excuses to treat election results as illegitimate, which I believe has been an issue over there.

(Yes, we do also have advanced voting in NZ, but I think they're considered "special votes" and are counted separately .. the elections are largely determined on the day by in-person votes, with the special votes being confirmed some days later)
by tzs | 2025-10-29 22:55:28+00:00
China has 4 times the population. In any rational divvying up of the world's total emissions allowance by country China's share would be 4 times that of the US, but they are only emitting twice what the US is emitting.

Both are over their fair share, but the US is over by a larger factor so is farther behind on getting to where they need to be.

(This is not taking into account trade. Divvying up the world emissions budget by population gives the fair amount for each country if there is no trade. If there is trade the best way to handle it is probably to count the emissions for making things in country X that get consumed in country Y as being emissions in Y. With that correction China comes out even better).
by JumpCrisscross | 2025-10-29 22:55:52+00:00
> Texas Stock Exchange launches next year

The TXSE was launched by an energy magnate [1] and "is financed by institutional investors including Charles Schwab, Fortress, BlackRock, and Citadel Securities" [2]. It's a direct response to the NASDAQ and NYSE putting their feet down on carbon emissions.

Nothing about its structure requires a company be incorporated in Texas much less based there [3]--those restrictions would go against the reason it was founded.

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

[2] https://en.wikipedia.org/wiki/Texas_Stock_Exchange

[3] https://www.hunton.com/insights/legal/a-comparative-analysis...
by Rudybega | 2025-10-29 22:55:55+00:00
I think it's probably still useful to distinguish addictions with hardcore substance related barriers to quitting (think withdrawals) from addictions where the barrier is a lack of dopamine or serotonin or simple habituation.

For people with normal executive function, the second category of problems should be fairly tractable to overcome, whereas the first is still quite difficult.

The second only really becomes an issue when you have a bit of executive dysfunction.

Maybe that distinction is important and one merits the term addiction while the other doesn't? Though both categories seem to be relatively treatable with drugs that massively improve executive function, so the parallels are pretty glaring.
by leobg | 2025-10-29 22:56:23+00:00
Nietzsche’s sister tried to garner favor with the Nazi regime. After Nietzsche’s death, she took his notes, published them under the title “Will to Power” and made it all sound as though Hitler was the fulfillment of Nietzschean ideas. Even scholars who built their careers on Nietzschean philosophy fell for this. For example Ayn Rand. So your teachers were in good company. In truth, everything about the Nazis would have made Nietzsche sick to his stomach: group-think, racism, big government, socialism, robbery, personality cult, lack of intellect, mass appeal, Gleichschaltung, militarism.
by positron26 | 2025-10-29 22:56:24+00:00
Unless they have managed to hide a lot of leverage and debt (not investment), that's a problem for their shareholders if they have priced in future growth.

To avoid looping this conversation for the next 2-3 years, we need to get to higher PEs to match the dot com bubble. It's just hard to have a long bubble that collapses without debt and leverage. You need something that compels the market to correct or else the long bubble just stays long. Suddenly I understand why shorting is essential in breaking the back of long bubbles and stabilizing market dynamics.
by selcuka | 2025-10-29 22:56:47+00:00
The canonical way to do this with pip was using Constraints Files [1]. When you pollute your main requirements.txt it gets harder to see which package is an actual dependency of your project, and which ones are just sub-dependencies. Constraint files also let you not install a package if it's no longer a sub-dependency.

That being said, the uv experience is much nicer (also insanely fast).

[1] https://pip.pypa.io/en/stable/user_guide/#constraints-files
by tialaramex | 2025-10-29 22:57:12+00:00
The refrigerator is a relatively modern invention. There's always been a refrigerator for me, but as a child my mother sometimes stayed with people who didn't own one and for her mother they were a new invention many people didn't have.

Actually this idea of just buying things at "the store" is relatively new too. Historically people would make more things themselves, and more food would be purchased directly from farmers who had grown it.
by BeetleB | 2025-10-29 22:57:54+00:00
Not to take away from their suffering (especially the lack of communication on the issue), but I'll say that one of the nice things about my undergrad was that most math courses had no (graded) HW. The professor would "assign" problems from the textbook - all of which had answers in the back. You would do them yourself, and confirm the answer. No need to turn it in. He would then dedicate 10-15 minutes of the next lecture on difficulties students may have had.

Works for courses like calculus where there are easy ways to confirm your answer.

I loved it. HW would be a drag - getting it in presentable form, etc.
by kstrauser | 2025-10-29 22:59:00+00:00
That's exactly it. Imagine your company has multiple Python repos, and one depends on foo>=1.0,<2.0, and another depends on foo>=2.0. Venvs let you configure completely isolated environments for each so that they can peacefully coexist. I would not for a moment consider using Python without virtualenvs, though I'm not opinionated about which tool manages them. Uv? Great. Poetry? Fine. `python -m venv`? Whatever. They all get the job done.

Honestly, I can't think of a single good reason not to want to use a venv for Python.
by philipkglass | 2025-10-29 22:59:28+00:00
These are 3 relevant data sets from Our World in Data:

"Per capita consumption-based CO₂ emissions" (emissions adjusted for imports/exports)

https://ourworldindata.org/grapher/consumption-co2-per-capit...

"Imported or exported CO₂ emissions per capita" (shows the effects of imports/exports alone, as tons)

https://ourworldindata.org/grapher/imported-or-exported-co-e...

"Share of CO₂ emissions embedded in trade" (shows the effects of imports/exports alone, as percentage of total)

https://ourworldindata.org/grapher/share-co2-embedded-in-tra...
by Ukv | 2025-10-29 23:00:17+00:00
> I give them the time and address of where I need to be [...] That's usually enough to bring them down a notch from "train work" to "sometimes train work" [...] Do you want to play that game with me to get your reality check in order ?

I don't think the implied claim is that there should be specifically a train to every particular address, if that's what you're counting as failure in the game, but rather that with good public transport (including trains) and pedestrian/cyclist-friendly streets it shouldn't be the case that most people need to drive.
by joefourier | 2025-10-29 23:00:29+00:00
In the case of dithering, that’s only because the monitor has insufficient resolution. Put a 1:1 Floyd steinberg dithered image on your phone, hold it at arm’s length, and unless you have superhuman vision you’ll already start having a hard time seeing the structure.

If you look at analogue B&W film for instance (at least the ones I’m familiar with), each individual crystal is either black or white. But the resolution is so high you don’t perceive it unless you look under a microscope, and if you scan it, you need very high res (or high speed film) to see the grain structure.

Dithering is not an illusion because the shades are actually still there. With the correct algorithms, you could upscale an image, dither it, down res it, and get back the exact same tones. The data isn’t “faked”, it’s just represented in a different way.

If you’re calling it an illusion, you’d have to call pretty much every way we have of representing an image, from digital to analog, an illusion. Fair, but I’d rather reserve the term for when an image is actually misinterpreted.