MurphyA/hacker-news huggingface dataset:
by quotemstr | 2025-06-24 14:32:23+00:00
> thought it saved memory by loading one instance of shared objects into memory

It does! The trick is that it loads the shared object read-only as far as the CPU is concerned. If a program tries to modify the memory, the CPU (I'm simplifying a lot here) throws an exception. The kernel catches that exception, makes a copy of the memory the program is trying to modify, puts the copy of the original memory at the same address as the original read-only memory, and tells the program to re-try the write operation, which now succeeds. All of this happens without the application doing the writing being aware of what's going on. From its point of view, writes Just Work.

This way, you get the memory savings of sharing and the flexibility to do writes all without the security problems of shared mutability.

You might enjoy reading about OS virtual memory operation more generally!
by anonym29 | 2025-06-24 14:32:40+00:00
The term 'disinformation' is also used by TPTB to discredit information that is grounded in observable evidence that goes against narratives that TPTB prefer to maintain.

Accordingly, every single declaration of "misinformation" must be critically evaluated according to available evidence, as the claim itself has been weaponized by bad-faith, self-serving interests of those in positions of power and authority.

The "experts" are frequently wrong, and are not inherently trustworthy. Not every word that slips past their tongue is the truth, the whole truth, and nothing but the truth. They are humans, and like the rest of humans, they lie, they mislead, they are wrong, and some of them and can and do attempt to abuse social consensus mechanisms, including ostracization, to bend public discourse in their favor.
by kgwxd | 2025-06-24 14:33:03+00:00
The situation is very hit or miss, I assume the downvoters don't have many problems because they're probably smart about the machines they try to put linux on.

Just this month, I put Linux Mint on an old dell laptop, and a custom built PC with a 1080 ti in it.

The laptop worked perfect, wifi worked out of the box, and it ran much smoother than it did with Windows 10.

The desktop was a pain because none of the 3 usb wifi devices I already had, worked out of the box. I started down the path of following some guides that got 2 of them "working" with the same steps, but they both behaved horribly. I gave up and ordered a device known to work with Linux for $50 because it just wasn't worth my time. It's connection speed is even faster than it runs on my windows machine, but there are frequent "blips" in the connection. Gah! Nothing is more demotivating than having trouble loading the web page trying to show you how to fix your networking issues.

The video card seems to work fine but none of the games I want to play via steam work nearly as smooth as I hoped, and they're old games, the newest one just turned 10 yo. I love what Steam is doing, and I'm sure I could get a lot of the games working pretty good with some more effort, but it's not the cakewalk it's often hyped up to be. I decided to just use it for old emulators, and stick to my Windows machine for other games.

On top of all that, it feels just about as "slow" as it did with Windows for basic operations. Again, I'm sure I could do some optimizing and get it blazing fast, but I don't have the time for that when I've already got things generally working fine on other machines.
Show HN: 10% of HN Posts Don't Load
by tamacun | 2025-06-24 14:33:20+00:00
I'm always frustrated by the amount of posts on the front pages that don't load at all or are slow to load. Then you're just left to read the comments and try to piece together what it was about.

I wanted to make sure it wasn't just my slow connection, so I built this tool while sitting in a meeting for an hour, using Google AI Studio and Cloud Deploy.

Hope someone finds it interesting.
by JKCalhoun | 2025-06-24 14:33:24+00:00
You present some very daunting problems that the young and working class have to deal with (I know, I was both of those decades ago and struggled myself).

Credit to buy a new car though is still generally a bad solution. We should fix the other things you mentioned.

I would like to see laws allowing extreme low-cost vehicles (equivalent to golf carts, I guess) allowed on designated roads. A special inexpensive insurance proviso for them.

That you need something like $30K to buy a new car in the U.S. is insane.
by camillomiller | 2025-06-24 14:33:34+00:00
No, it is not. That ship has sailed. The reason why they are as powerful as they are is because their companies became structural and feudalistic in nature. We, non billionaires, are a new form of consumer that is more akin to indentured servitude than free-will choosers of products. If you think that’s still all it is, well you’re drinking a very late-stage-American-capitalism brand of kool aid.
by transpute | 2025-06-24 14:34:15+00:00
https://news.ycombinator.com/item?id=39836745#39837900

> There's been some interesting recent work to get the QMTech Kintex7-325 board (among others) supported under yosys/nextpnr.. It works well enough now to build a RISC-V SoC capable of running Linux

https://riscv.or.jp/wp-content/uploads/RV-Days_Tokyo_2024_Su...

32-bit MMU/No-MMU Linux-capable RISC-V softcore with rich peripherals is implemented by pure Verilog, and supported by OpenXC7, the FOSS FPGA toolchain.. These are still modern devices: 7-Series lifetime extended to 2035.

https://github.com/regymm/quasiSoC
by MrJohz | 2025-06-24 14:34:24+00:00
There are lots of tools that allow you to generate what are essentially lock files. But I think what the previous poster is saying is that most people either don't use these tools or don't use them correctly. That certainly matches my experience, where I've seen some quite complicated projects get put into production without any sort of dependency locking whatsoever - and where I've also seen the consequences of that where random dependencies have upgraded and broken everything and it's been almost impossible to figure out why.

To me, one of the big advantages of UV (and similar tools) is that they make locked dependencies the default, rather than something you need to learn about and opt into. These sorts of better defaults are sorely needed in the Python ecosystem.
by esperent | 2025-06-24 14:34:46+00:00
> Math has a very rigid and easily enumerable space of possibilities (strings of symbols), so we call it "discovery", while cooking has an enormous space of possibilities (countless pieces of meat and vegetables, each unique in its configuration of atoms, etc.), so we call it "invention".

I think you've made a good point here.

Although, to nitpick a bit: Both spaces (cooking and maths) are infinite, and for most fields of math, uncountably infinite. The difference is in the numbers we are dealing with. For cooking, it's mixtures of trillions of molecules. For maths, it's usually in the order of thousands of symbols (although those ellipses do some infinitely heavy lifting!).
by thorin | 2025-06-24 14:34:55+00:00
I was thinking like this, but after being married before I'm not even sure I want to date. I have friends, hobbies, kids in school to manage. Not really feeling the dating scene right now. I do enjoy talking to and meeting new people but often do this as part of hobbies or groups I've joined rather than in the context of "dating".

Are you looking because you're lonely, bored or just because that's what you think is expected?
by PintScotch | 2025-06-24 14:35:02+00:00
> Every case of "ruined by woke" I have seen ultimately just boils down to bad writing, with people blaming "woke" for it when, well, it's just shitty writing. If you ignore the woke stuff and look more broadly usually the whole thing is at best mediocre.

No not really. Claiming this is a hand waving away legit criticism. Fans/Superfans have legitimate criticism of how it breaks the in franchise universes. Constructive Criticism has been claimed to be racism/sexist/homophobia.

> Also sci-fi, fantasy, and horror have always been "woke." Star Trek was one of the first popular shows to prominently feature black characters in important roles and has always lampooned racism and other kinds of bigotry. Night of The Living Dead is pretty easy to see as a racism allegory, or at least it contains one as a sub-plot. Star Wars had an evil empire that was transparently a mix of Nazis and arrogant condescending colonialists. Alien was one of the first huge films I can recall to have a super competent female action hero with skills like engineering who didn't need any help from a man. The Expanse depicts a society that's so post-gender-mattering you don't even notice it, it's just the way it is (probably a good example of good writing in this regard). Etc.

No they haven't. It so annoying when people point to some ideas that were slightly progressive at the time being an example of it always being "woke". It is quite honestly tiresome.

None of the examples you have given are what people refer to as "woke" today anyway.

Star Trek was certainly progressive, no argument there. But progressive != woke. When people use "woke" as a pejorative they mean extreme left-wing politics that is bordering on insane. Star Trek TNG was progressive, but none of the politics were seen as extreme even at the time of release.

Alien (like Terminator) were very well done horror movies. They worked because women are seen as traditionally vulnerable. It a well known trope in horror movies.

Also there have been femme fatales and heroines in movies well before Alien. I've seen it in a silent Japanese Martial Arts movie from the 1930s where the Heroine avengers her friend who was raped after going to Samurai master (can't remember the name of the film though).

Heroines didn't just pop into existence sometime after 1960.

> The Expanse depicts a society that's so post-gender-mattering you don't even notice it, it's just the way it is (probably a good example of good writing in this regard). Etc.

Never seen it, probably won't now. If a piece of media is going to pretend that someone's sex isn't important to at least some aspect of their character, than it is bad writing. The fact that the show had to be saved by a Billionaire, tells me that it probably wasn't any good in the first place.
by aldanor | 2025-06-24 14:36:29+00:00
Working in the terminal gets you to make the best use of a single most efficient input source, the keyboard. Which, coincidentally, is what you need for coding. In visual ides (pretty much all of them), some actions can only be performed by using a mouse (because, well, it exists). In editors like nvim that's not the case and everything is accessible via keyboard, usually in some pretty logical and structured way, so that eventually you get used to longer key chords etc for doing various things.

That, plus the terminal (itself) is at your disposal because, uh, you're in it.

That, plus vim emulation in all major ides be it vscode or jetbrains is pretty wonky and not comparable to the real thing.

Not much to do with 'true hackers', it's sad there's people who actually think that.

(all of the above being purely subjective ofc; this can be an infinite argument)
by agentultra | 2025-06-24 14:36:35+00:00
> And remember just how young computer science is as a field, compared to other human practices that have been around for hundreds of thousands of years.

How long do you think Homo sapiens have been on Earth and how long has civilization been here?

I’ve been programming since 89. I know what you can squeeze into 100k.

But you can only blast so much electricity into a dense array of transistors before it melts the whole thing and electrons jump rails. We hit that limit a while ago. We’ve done a lot of optimization of instruction caching, loading, and execution. We front loaded a ton of caching in front of the registers. We’ve designed chips specialized to perform linear algebra calculations and scaled them to their limits.

AI is built on scaling the number of chips across the board. Which has the effect of requiring massive amounts of power. And heat dissipation. That’s why we’re building out so many new data centres: each one requiring land, water, and new sources of electricity generation to maintain demand levels for other uses… those sources mostly being methane and coal plants.

Yes, we might find local optimizations in training to lower the capital cost and external costs… but they will be a drop in the bucket at the scale we’re building out this infrastructure. We’re basically brute forcing the scale up here.

And computer science might be older than you think. We just used to call it logic. It took some electrical engineering innovations to make the physical computers happen but we had the theoretical understanding of computation for quite some time before those appeared.

A young field, yes, and a long way to go… perhaps!

But let’s not believe that innovation is magic. There’s hard science and engineering here. Electrons can only travel so fast. Transistor density can only scale so much. Etc.
by fundkal | 2025-06-24 14:36:38+00:00
Whenever you wanna buy something on telegram and you are afraid of getting scammed, you must ask the seller to use an escrow bot, the bot work in a group where it must be added, (you and the seller and the bot) then you follow the bot instructions, the bot will create an escrow wallet where you deposit the money and they will be secure, once the seller deliver what he is selling you can release the funds to him, if not he can refund you! if the deal failed for any reason (the seller did not deliver, the product is not as described) and the seller refuses to refund, (or the buyer took the product but don't want to release the money) you can dispute the deal and admins will join to solve the problem.
by ljm | 2025-06-24 14:36:43+00:00
Wages for the average person (working class) typically remain stagnant while cost of living increases, particularly through inflation. I imagine minimum wage would be 25-30 bucks an hour if it did track inflation and that would only serve to keep your purchasing power constant.

Credit, in this sense, is also used to solve a cash flow problem. It’s a bad sign when that credit (or Klarna Pay-in-3 style setups) is applied to basic day to day expenses like buying groceries or other necessities.

Basically the market’s answer to increasing poverty: you’re not getting paid more, so how about we give you a payment plan to spread things out?
by ttctciyf | 2025-06-24 14:37:02+00:00
Another solution is Conty[0] which is a download-and-run containerised Steam based on Arch; I use it to run games on Slackware without multilibs, and it's worked flawlessly so far.

However, it seems Arch are also dropping multilibs as a dependency of Wine, and moving to WoW64[1], with "reduced performance for 32-bit applications that use OpenGL directly".

What this implies for Steam on Arch (and hence for Conty) I'm not sure, though as of May some Proton versions have a PROTON_USE_WOW64 env var according to [2], so maybe multilibs can already be avoided running Steam natively anyhow.

0: https://github.com/Kron4ek/Conty

1: https://archlinux.org/news/transition-to-the-new-wow64-wine-...

2: https://github.com/ValveSoftware/Proton/issues/6889 (comment from artemyto on May 3)
by labster | 2025-06-24 14:37:26+00:00
Believe it or not, people who read newspapers get a lot of background information on lots of topics. One such topic was that US corporations, en masse, started dropping DEI policies around the beginning of Trump’s term in acts of anticipatory compliance. It was suddenly very unfashionable to be looking to the slavery reparations business. Now, we could ascribe Harvard’s actions to being in line with the larger trends. Or, we could take the researcher’s idea that the end of the study was about how good and productive the researcher was and how bad and unrepentant Harvard is. They would never be forced to pay reparations to these people, but the costs of being on Trumps bad side has already cost Harvard hundreds of millions. I think it’s simpler to assume the former is true. My own politics are kind of irrelevant here.
by Cthulhu_ | 2025-06-24 14:37:27+00:00
Poring over the raw files, basically, looking for patterns / strings / etc that might be interesting; I'd argue that it's a bit easier for older operating systems as the modern ones are much, much bigger (MacOS 8 which was on the PowerMac G3 used in the article was 120 MB, MacOS 11 requires something like 35 GB.

But I suppose also there's less fun allowed, the article mentions this easter egg was removed in 1997 when Jobs returned.
by dylan604 | 2025-06-24 14:37:35+00:00
Based on the position of the camera and current time of day, the sun is over powering and the camera's exposure adjustment washes out so much detail. If the system is able to determine the information it is trying to discern from that image, I'm impressed. You can't even tell what the sky looks like from this image. I'd try hooding the lens to see if you could get a better image when the sun is shining directly into the lens like this.

What would happen if someone geolocates your camera and just plants a bunch of umbrellas in the frame? Does the counter require the umbrella to be held by a human? What if the same person walks past the camera multiple times? Are they considered unique counts, or are you recognizing people and logging that?

TL;DR how robust is your system against mischievousness?
by cosmicgadget | 2025-06-24 14:37:58+00:00
Except that Trump was being actively prosecuted when he was re-elected. By the DOJ, by a special prosecutor, and by the Atlanta DA. None of these were performative, none were condemned by the party in charge, all had a fairly high probability of eventual conviction.

"War crimes" and "crimes against humanity" sound a lot like offenses to so-called international law (cough, treaties).
by charles_f | 2025-06-24 14:38:09+00:00
For the line to go up you need people to keep buying more, and reducing costs. But when these costs are people's salary, you end up paying them less, so they can't buy more, thus credit.

The overreliance on credit as a new step in the consumption cycle is an indicator that the whole system is collapsing, but somehow it's supposed to be good news that buying a burrito might be used against you to further drawn you down.

The town is on fire but good news, your house being burned down will get you air-miles.
by RomanPushkin | 2025-06-24 14:38:11+00:00
It's kinda cool and shows that there are real people behind corporations. Some folks with lots of $$$ say "I build this" (Zuck often says that), stealing the credit of accomplishment from small little people. While real small little people leave the note in history - "nope, it's us who put our souls into making this happen". Of course, Steve Jobs would ban this.
by Vegenoid | 2025-06-24 14:38:13+00:00
Maybe this is a failure of my imagination, but I still don’t understand how “replace an API with an LLM” makes sense. LLMs just generate text, the only way they have of interacting with software is by generating text that the software can parse - a.k.a. an API call.

Maybe I have some misconception here. I think seeing a program or system that is doing this “replace APIs with LLMs” thing would help me understand.
by ta1243 | 2025-06-24 14:39:03+00:00
> Gold is up 92% since 2012.

And housing is up 125% since 2012, so the sucker who bought gold instead of a house has lost out.

We can all be rich in hindsight.

(There's also other benefits to owning - like being able to have pets, not being able to be evicted, etc)

But the biggest tell that housing is valuable is that nobody is spending $500k on housing to rent it out if they could make more money pumping $500k into the stock market.
by kenjackson | 2025-06-24 14:39:06+00:00
This is interesting -- it does put into context some of what was hyped up recently in the news, for example, the Fairlife Core Power microplastics. While it is higher in Core Plastics, it's not off by an order of magnitudes compared with other milk products.

The other question I have -- what does someone who consumes very little microplastics look like? Increased lifespan, decreased risk of cancer (by how much), does it have lead-like outcomes, etc... Avoiding microplastics seems like a lot of inconvenience (at least for an individual) -- I'd want to make sure the payoff at the end is worth it.
by pessimizer | 2025-06-24 14:39:22+00:00
That's strange. I usually hear this expressed by people who have personally had their views censored out of the public sphere by some authority who was actively marketing the opposite view.

I usually hear what you've expressed from people who are glad that other people were censored: a vague argument for the existence of the possibility of censorship that isn't meant as political suppression, one which usually relies on accusing any possibly censored hypothetical person of likely being crazy, stupid, or a foreign spy.

Rather than an argument, it's an encouragement to use those priors when calculating the odds of the next "conspiracy theory" being censored off the internet actually being true. Remember, arrested people are usually guilty, because most of the guilty people I know about were arrested...
by Quinner | 2025-06-24 14:39:33+00:00
There's no lobbying necessary, because FICO isn't a government agency, its a private company. Why we have a private company determining such an important thing with minimal government oversight is certainly a question we could be asking.

That being said, there's an innocent explanation for this specifically. BYPL is pretty new as a common type of debt (became popular in the last five years). They're putting it into FICO 10. The last time they updated FICO was FICO 9 which was released in 2014, before that there was FICO 8 in 2008... a lot of banks are still using FICO 8 or even earlier models. Banks are slow to change, and FICO moves slowly because banks don't want their models upended every year. Fwiw if the government was more involved in this I doubt it would be taken into account any faster.
by nonethewiser | 2025-06-24 14:40:05+00:00
>I am totally against Python tooling being written in a language other than Python. I get that C extensions exist and for the most part Python is synonymous with CPython.

>I think 2 languages are enough, we don't need a 3rd one that nobody asked for.

Enough for what? The uv users dont have to deal with that. Most ecosystems use a mix of language for tooling. It's not a detail the user of the tool has to worry about.

>I'm against it creeping into an existing eco-system for no reason.

It's much faster. Because its not written in Python.

The tooling is for the user. The language of the tooling is for the developer of the tooling. These dont need to be the same people.

The important thing is if the tool solves a real problem in the ecosystem (it does). Do people like it?
by account42 | 2025-06-24 14:40:40+00:00
> If you own the computer, you can enroll your own keys and sign any operating system you want. The UEFI vendors don't necessarily make this easy to do, nor do they support it in a consistent way, but it's there

This is not unilaterally true and there is no reason they won't try to push more locked down computers now that the base technology is accepted.

> The primary function of Secure Boot is to protect against bootkits.

Which are pure FUD when it comes to regular users. Once your computer is owned to the point where a bootkit can install itself all the user data (what actually matters) is already long gone. Secure boot isn't going to help you one bit.
by bodge5000 | 2025-06-24 14:41:10+00:00
I know Starship isn't zsh specific but I guess its tangentially related, does anyone know what the default zsh config is on MacOS? I got quite used to it, and now I'm on linux I'd like to replicate it. The closest I've got is using the eastwood theme on oh-my-zsh but it's not quite the same (I dont even think MacOS using oh-my-zsh out the box, but its got all the nice git stuff)