MurphyA/hacker-news huggingface dataset:
by joaquintides | 2025-07-15 11:52:27+00:00
Abstract: Push and pull are the two main paradigms when it comes to data processing. In this talk, we'll discuss both approaches from an abstract point of view, compare them for expressivity and efficiency, review some prominent C++ examples and propose a push-based approach that outperforms C++ ranges, sometimes by a wide margin. We end the talk by discussing how coroutines blur the boundaries between push and pull and what it would take for them to be a compelling option for high-performance data processing.

Presentation and associated material:

https://github.com/joaquintides/usingstdcpp2025
by vintermann | 2025-07-15 11:53:09+00:00
> But unless you already understand and believe in the vitamin model of nutrition, the notion of a trace substance that exists both in fresh limes and bear kidneys, but is absent from a cask of lime juice because you happened to prepare it in a copper vessel, begins to sound pretty contrived.

Good point, and well written.

I must admit I didn't know about Holst and Frølich's work either.
Ask HN: What are some Linux tools to diagnose a system which keeps hanging?
by chbkall | 2025-07-15 11:53:16+00:00
I have a laptop which runs Ubuntu. After running for a while (sometimes 5-10 mins, sometimes more), the system hangs and stops responding to keyboard or mouse inputs. Before I open the system up or take them to a technician who can look at the hardware issues, I was wondering if there are ways I can diagnose the system using linux tools. Can the issue happen due to bad blocks in the partition? The issue started after I used fdisk on the hard drive? Are there ways to confirm this?
by Jealous8 | 2025-07-15 11:53:28+00:00
Impressive deep dive, this classic ASPLOS paper shows that early hardware virtualization support (like Intel VT-x) didn’t outperform VMware's binary-translated software VMM due to high VM‑exit overheads and rigid models/

The obvious takeaway? Flexible software optimizations often beat hardware if exits are too heavy or inflexible. Makes me wonder: with modern nested virtualization and microarchitectural improvements, are we finally seeing hardware VMMs that consistently match or exceed software VMMs?
by idoubtit | 2025-07-15 11:53:37+00:00
I think the programming language is not relevant, especially since startup time plays no role. A different design can have much more impact, and IIRC Garnet is not fully compatible with Redis.

The main difference appears to be that Garnet is more parallel, according to this student's report of benchmarking various keystores (see the "CPU usage" sections in the PDF) https://www.diva-portal.org/smash/record.jsf?pid=diva2%3A196...
by epolanski | 2025-07-15 11:53:53+00:00
Except that you can't clone gold or fork gold.

Gold isn't lost because you forgot the password to open it.

Or arbitrarily decide tomorrow that the old gold is not valid and a specific chain of gold is the real one.

Also, you can smelt gold, create electronics, jewellery, cosmetics, drugs with gold, you can't with Bitcoin.

Seriously comparing Bitcoin to gold is beyond silly.
by ansc | 2025-07-15 11:54:29+00:00
>I don't have a strong argument for this

I think you do. Have we ever been successful at slowing down technological efficiency?

>If that comes to pass, then what people will do with that technology, and what will change as a result, will be up to the people who are alive at the time.

If it is inevitable that technology will be developed, it is also inevitable that it will be used, and in turn, further technology developed. Technology is an arms race. You can't opt out once you've started. If you do not employ the same technical progress for whatever-- propaganda, profits-- you will lose.

I know you're not posing it as a problem or solution, but I believe pinning it completely on "it's how we use it" is not a valid tactic either.
by imiric | 2025-07-15 11:55:27+00:00
That's not a usable workaround. In most cases it doesn't actually produce full determinism[1].

And even if it did, a certain degree of non-determinism is actually desirable. The most probable tokens might not be correct, and randomness is partly responsible for what humans interpret as "creativity". Even hallucinations are desirable in some applications (art, entertainment, etc.).

[1]: https://medium.com/google-cloud/is-a-zero-temperature-determ...
by yash-sri19 | 2025-07-15 11:55:35+00:00
Location: Bengaluru, India

Remote: Yes

Willing to relocate: Remote preferred, YES to possibly in Bengaluru.

Technologies: Python, ML/DL, AI

Résumé/CV: www.yash-sri.xyz

Email: ysrivastava82<at>gmail<dot>com

Engineering Grad with experience in Applied ML(Fintech), AI/LLMs products. Worked in a high paced AI D2C startup, shipping major features. Have worked on several high impact projects(refer website for more details), internships in fintech and NLP domain. Can work across engineering/research, both independently or with a fast shipping team. High agency, hard working and always up to date with AI.

P.S Only looking for full time roles.
by namibj | 2025-07-15 11:56:12+00:00
Feels like they should come with watchdog timers that alert when a loop fails to check in on this status often enough? Then the only thing that still needs manual checking to cover these more-exotic states is that the code path for loop watchdog-and-signal-checkin will indeed lead to early exit from the loop it's placed in (and all surrounding loops).

Sure, it's more like fuzzing then, but running in production on systems that are willing to send in big reports for logged watchdog alerts would give nearly free monitoring of very diverse and realistic workloads to hopefully cover at least relevant-in-practice codepaths with many samples before a signal ever happens to those more-rare but still relevant code paths...
by immibis | 2025-07-15 11:56:17+00:00
CGNAT isn't a matter of cheapness. There are more Internet users than IP addresses. Someone has to draw the short straw, and that's the providers that came late to the party.

Now, if they're doing CGNAT and also don't have IPv6, that's just crap. They shouldn't be allowed to call themselves an ISP at that point.
by lutoma | 2025-07-15 11:56:38+00:00
Mostly the better documentation (last I checked FastAPI docs felt more like a series of blog posts than actual docs, but maybe that's improved). I also preferred the community-driven approach of Litestar as opposed to FastAPI's BDFL-type development structure.

I think there were also some technical details I liked better about Litestar where it was more explicit about things while FastAPI was more "opaque magic happening in the background", but to be honest I don't remember all of those.
by gametorch | 2025-07-15 11:56:47+00:00
No.

I trust Cursor isn't trying to screw me.

I don't trust random 3rd party extensions. They might be trying to screw me. This is the exact reason why I don't touch npm.

I'm not prescribing a formal set of rules by which you should or shouldn't trust things. I'm just a reasonable person.

Cursor is an unrelated 3rd party to this situation, which is probably clearly described in their Terms of Service. Blaming them reeks of denying responsibility for your own actions. If you want Cursor to audit every 3rd party extension, they'd probably want you to pay them for it. Just like every commercially licensed Linux distro.
by scotty79 | 2025-07-15 11:57:30+00:00
Yeah. He definitely wants that. He constantly complains about FED keeping interest rates too high.

But it's such a terrible idea. Dollar being worth half of EUR, which might easily happen way sooner than anyone expects (look at what happened to pound), means that Americans would have to work twice as much for anything they import because the world will adjust their dollar prices to reflect the dropping value of the dollar.
by UncleMeat | 2025-07-15 11:58:16+00:00
Why both of them? They are both braised meat dishes. They test roughly the same skills and knowledge. Surely if you wanted to pick two french dishes you'd pick two that cover a wider set of skills.

They are also both dishes that are highly forgiving. You can elevate them by replacing the vegetables used in the braise with precisely cooked ones in the final product, by balancing the braising liquid properly, and by getting the final braising liquid to the right consistency but this is largely procedural and involves balancing fewer different elements than sauces that involve spiciness in addition to sweet, sour, and savory.
by apwell23 | 2025-07-15 11:58:37+00:00
I am not doubting 95% acceptance rate all. I've pure vibecoded many toy projects myself.

> in line with what they would have written,

point i am making is that they didn't know what they would've written. they had a rough overall idea but details were being accepted on the fly. They were trying out bunch of things and see what looks good based on a rough idea of what output should be.

In a real world project you are not both product owner and coder.
by Cthulhu_ | 2025-07-15 11:58:58+00:00
That's a kind of survivorship bias though; sure, 100% of AI art that you identified as AI art turned out to be AI art, but what about the ones you didn't realise were AI art? It's the unknown unknowns. Was this comment written by AI?

The success rate of AI evading detection will only increase; the issue with "too many fingers" was solved years ago, and there's probably companies actively working on avoiding AI detection already. And on detecting it. It's the new spam / anti-spam, virus / anti-virus arms race.
by anarazel | 2025-07-15 11:59:03+00:00
The usleep here isn't one that was intended to be taken frequently (and it's taken in a loop, so a too short sleep is ok). As it was introduced, it was intended to address a very short race that would have been very expensive to avoid altogether. Most of the waiting is intended to be done by waiting for a "transaction lock".

Unfortunately somebody decided that transaction locks don't need to be maintained when running as a hot standby. Which turns that code into a loop around the usleep...

(I do agree that sleep loops suck and almost always are a bad idea)
by OskarS | 2025-07-15 11:59:06+00:00
I think the idea is that you're using some external library (e.g. database drivers) which do not use asio but returns a std::future. You can't just "not use std::future" if that's what your library uses without fully rewriting your external library.

The other option is as you mention polling using a timer, but I don't see how that's better, I'd rather move the work off of the event loop to a thread. And you then have to do the "latency vs. CPU time" tradeoff dance, trying to judge how often to poll vs. how much latency you're willing to accept.
by ForHackernews | 2025-07-15 11:59:18+00:00
What "true colors"? I think I've been pretty consistent that I think Cursor is a commodity. You're surprisingly hostile and defensive about your preferred autocomplete plugin. You're right, I haven't used Cursor, but I've used similar tools like Copilot.

Your characterization of hosting as "a small biz website builder" is revealing. https://finance.yahoo.com/quote/GDDY/ is the one that made it and is now a $24B firm, but there were at least dozens of these companies floating around in the early 2000s.

Why are you so sure Cursor is the new GoDaddy and not the new Tripod? https://www.tripod.lycos.com/
by jqpabc123 | 2025-07-15 12:00:11+00:00
This agent would also have knowledge of the user's habits and preferences, stored locally in your computer

Who owns/controls "this agent"?

If it is not the user --- what incentive would this "agent" have to work in the user's interests?

I would expect a Google owned "agent" to work for me similar to the way Google does now --- in a superficial manner that prioritizes Google's interests.

Expecting otherwise would be incredibly naive.
by immibis | 2025-07-15 12:01:00+00:00
> because your cellular modem

This is one of those common scaremongering things. It's an unavoidable part of the network, not extra malice added on top - it's basically equivalent to pointing out that in a wired network, it's possible to follow the wires to see where they go. And then adding that your ISP is spying on you by having a database of where all the wires go. Technically correct, but calling it something nefarious makes it more scary than useful information. It's just how networks work and you should be aware of it when using networks, especially wireless ones.
by fc417fc802 | 2025-07-15 12:01:33+00:00
> it seems you think I am a simple mathematical average

No, I was merely inquiring after what appeared to be a misunderstanding but apparently wasn't.

> Lisdexamfetamine is not amphetamine

Just to clarify, this topic is always needlessly confusing because "amphetamine" is used to refer to both a distinct chemical as well as an entire class of chemicals. Lisdexamfetamine is _an_ amphetamine in exactly the same way that codeine is an opiate (ie a prodrug of).

I'm not sure why you think I'm mistaken about the study nor why you are so condescending about a misunderstanding rooted in terminology. You yourself state that it is about relative drug safety and the study is also quite clear about this so it would seem that we were in agreement all along.
by roxolotl | 2025-07-15 12:01:54+00:00
Absolutely couldn’t agree more. Incredibly useful tools are, in fact, incredibly useful. These discussions get clouded though when we intentionally ignore what’s being said by those doing the investing. The inevitability here isn’t that they’ll save 30% of dev time and we’ll get better software with less employees. It’s that come 2030, hell there’s that 2027 paper even, LLMs will be more effective than people at most tasks. Maybe at some point that’ll happen but looking at other normal technology[0] it takes decades.

0: https://knightcolumbia.org/content/ai-as-normal-technology
by djray | 2025-07-15 12:02:03+00:00
There seems to be a mistaken thought that having an AI (or indeed someone else) help you achieve a task means you aren't learning anything. This is reductionist. I suggest instead that it's about degrees of autonomy. The person you're responding to made a choice to get the AI to help integrate a library. They chose NOT to have the AI edit the files itself; they rather spent time reading through the changes and understanding the integration points, and tweaking the code to make it their own. This is much different to vibe coding.

I do a similar loop with my use of AI - I will upload code to Gemini 2.5 Pro, talk through options and assumptions, and maybe get it to write some or all of the next step, or to try out different approaches to a refactor. Integrating any code back into the original source is never copy-and-paste, and that's where the learning is. For example, I added Dexie (a library/wrapper for accessing IndexedDB) to a browser extension project the other day, and the AI helped me get started with a minimal amount of initial knowledge, yet I learned a lot about Dexie and have been able to expand upon the code myself since. If I were on my own, I would probably have barrelled ahead and just used IndexedDB directly, resulting in a lot more boilerplate code and time spent doing busywork. It's this sort of friction reduction that I find most liberating about AI. Trying out a new library isn't a multi-hour slog; instead, you can sample it and possibly reject it as unsuitable almost immediately without having to waste a lot of time on R&D. In my case, I didn't learn 'raw' IndexedDB, but instead I got the job done with a library offering a more suitable level of abstraction, and saved hours in the process.

This isn't lazy or giving up the opportunity to learn, it's simply optimising your time.

The "not invented here" syndrome is something I kindly suggest you examine, as you may find you are actually limiting your own innovation by rejecting everything that you can't do yourself.
by pjc50 | 2025-07-15 12:03:03+00:00
> The government was actually succeeding, albeit at “another objective altogether”—the enrichment of its own members.

Indeed. And as soon as the flow of foreign money propping the whole thing up was cut off, they vanished like melting snow across the border.

Corruption endangers security in all sorts of ways. This came up at the start of the Russian invasion of Ukraine, when it became apparent that maintenance money (and in some cases entire pieces of equipment) had been diverted, resulting in operational failure. The US Navy had a corruption scandal a while ago too ("Fat Leonard").

> to declare that the government may commit crimes in order to secure the conviction of a private criminal

Not even conviction, just straight up execution. The lesson of the BLM backlash was that, no, really the US public demanded that the police had the right to execute citizens in the street without accountability.
by arnaudsm | 2025-07-15 12:03:08+00:00
Context : Cursor, despite raising $900M, is a vscode fork that uses the open-vsx extension registry. It is maintained by european volunteers at a non-profit, and does not have the resources to check for supply-chain attacks like this.

Freeloading on (and blaming) volunteer infrastructure is irresponsible, especially when you have so much funding.
by ilaksh | 2025-07-15 12:03:22+00:00
Some is marketing, but it's not _just_ marketing. Many people have a worldview now where AI progress is inevitable. So we really believe it

I would be interested to hear other ideas or plans that don't involve AI progress. My premise though is that the current state of affairs although improved from X decades/centuries ago is horrible in terms of things like extreme inequality and existential threats. If in your worldview the status quo is A-OKAY then you don't feel you need AI or robotics or anything to improve things.
by eric-burel | 2025-07-15 12:03:50+00:00
In an agentic setup the value is half the prompts half how you plug them together. I am opposing for instance a big prompt that is supposed to write a dissertation vs a smart web scraper that builds a knowledge graph out of sources and outputs a specialized search engine for your task. The former is a free funny intern, the latter is growth percentage visible in the economy.
by IshKebab | 2025-07-15 12:04:40+00:00
Well this was an extremely unsophisticated attack. The malware wasn't hidden and they didn't even bother to actually copy the real extension.

If I were doing this I would copy the real extension, give it a name that made it sound official but in the README say it is a tweaked version with some improvements or whatever. Also actually add some improvements, but hide the malware in those changes.

Good luck finding that. (brb going to try this)
by Festro | 2025-07-15 12:05:05+00:00
This article puts the context of declining US literacy rates into context. If an author at Psychology Today in 2010 can claim that children don't need to be taught to read then people will treat that as advice.

There's a real deficit of pragmatism in the article. Whilst humans may be incredible at picking up skills by osmosis it doesn't mean that ability should be relied upon. This just leaves social advancement to chance and privilege.

"As long as kids grow up in a literate society, surrounded by people who read, they will learn to read."

What if they don't? Does that child not deserve the same opportunities as kids who are surrounded by readers and reading materials?
by MisterTea | 2025-07-15 12:05:05+00:00
> All those auxiliary systems.

That's the problem. I don't need or want any of that extra nonsense. You can't replace the radio in these contraptions. The only thing a car needs is: drive-line control, braking/ABS/ESP, steering, HVAC. Electronics wise dump the lame glued on tablet look and just give me a single up front dash display and a double DIN cutout in the dash. HVAC only needs knobs. I hope a Chinese auto maker comes out with an EV that dumps all of this stupidity and just gives us cars again.
by TheAceOfHearts | 2025-07-15 12:05:12+00:00
It feels very nitpicky to police the use of the word create. If GP hadn't willed it, the song wouldn't exist at all, it was only created due to their action.

But I guess it depends on how much creative input is given. If I write the lyrics for a song, I feel like that's a significant contribution in creating a musical piece.

If I made a detailed sketch for a table design and I hired someone to help correct any oversights and to build it, I think you can take some credit for the creation of the table, because your design was a key input.
by robbertvdg | 2025-07-15 12:05:36+00:00
Deeploy | Software Engineer (Full-stack) | Onsite Hybrid | Full time | Utrecht, the Netherlands | https://deeploy.ml

At Deeploy we build a platform for responsible AI, making the deployment of machine learning models easy and robust and provide out of the box features such as explainability, monitoring and a human feedback loop. We strive to make AI transparent, manageable, traceable and reproducible for everyone.

We are a young and small but ambitious team and have a beautiful office in the city centre of Utrecht, close to the central station. We recently got backed by the European Union for €7.5M, giving us plenty of runway to further develop and scale our platform.

We are looking for a full-stack software engineer (emphasized on front-end) that is not afraid to get their hands dirty with some DevOps and machine learning operations.

Stack: Typescript, Angular, NestJs, Python, Kubernetes

The full vacancy can be found here: https://deeploy.ml/careers/?ashby_jid=21e2c27d-13bd-4158-a92...

You can apply there or email me at rvandergugten@deeploy.ml for more information.
by benreesman | 2025-07-15 12:05:36+00:00
An imperfect but really useful standard for whether or not a C++ feature is going to work out is how long and troublesome the standardization process is. Modules? Never happening boys, the time has passed when anyone cares. Coroutines? Break gdb forever? Keep dreaming.

Look at what they can do when it's clearly a good idea and has the backing of the absolute apex predator experts: reflection. If reflection can fucking sail through and your thing struggles, it's not going to make it.

Andrew Kelley just proposed the first plausible IO monad for a systems language, and if I wanted to stay relevant in async C++ innovation I'd just go copy it. Maybe invert the life/unlift direction.

The coroutines TS is heavily influenced by folly coroutines (or vice versa), a thing with which I have spent many a late night debugging segfaults. Not happening.

Besides, if threads are too slow or big now? Then everything but liburing is.
by firesteelrain | 2025-07-15 12:06:06+00:00
Posting what I posted below:

I have been off since Oct 2024. Also, I did continue to lose weight the traditional way. After I stopped, a coworker told me about Vida which my work offers as a health benefit.

Using the Vida service where I got a registered dietician to show me what to eat, I tracked my food and water intake and tracked my exercise. I had protein and fiber goals to hit.

You can’t do it all on the medicine - it is a lifestyle change. The medicine was the catalyst but not the reason I kept the weight off. I wanted it. But because I wanted it, I wanted to use the support system that my work paid for.

I think there is a lesson to be learned here