MurphyA/hacker-news huggingface dataset:
by p_ing | 2025-07-08 14:56:02+00:00
Not sure what you're talking about, NT/Linux are well aware of the P/e cores and how to schedule among them for these past handful of generations.

I also moved to AMD (5800X3D) due X3D alone being a massive improvement for simulations. Intel is still better in the laptop space and just outright more available (though I'm Mac-only for day-to-day laptop usage).
by taeric | 2025-07-08 14:56:25+00:00
Right, that is basically what I was asking. Essentially, I expected the machine code to be a bit of an unrolling of the interpreter over the opcodes that a piece of code is executing.

That my intuition is wrong here doesn't shock me, I should add. It was still a surprise and it will get me to update my idea on what the interpreter is doing.
by geocar | 2025-07-08 14:56:35+00:00
> There’s a lot to the story that’s obviously made up...

Obviously? I think I've had this phone call myself a few times, although in my experience it was never from a statistician and they didn't give me as much data, but I'm pretty sure the story is mostly accurate.

> I think this is nonsense... why would an invalid or incomplete sendmail configuration default to three milliseconds?

This is a wonderful question, and perhaps much more interesting than anything else in the page, but first, let's reproduce the timing;

My desktop, a 2017 Xeon E7-8880 (144 cores of 2.3ghz; 1tb ram) with a load of 2.26 at this moment:

$ time sleep 0.001 real 0m0.004s user 0m0.001s sys 0m0.003s

On my i9-10900k (3.7ghz) current load of 3,31:

$ time sleep 0.001 real 0m0,002s user 0m0,000s sys 0m0,001s

(In case you think I'm measuring exec; time /bin/echo returns 0's on both machine)

Now as to why this is? Well in order to understand that, you need to understand how connect() actually works, and how to create a timeout for connect(). Those skilled in the art know you've got a number of choices on how to do it, but they all involve multiple steps because connect() does not take a timeout as an argument. Here's one way (not too different than what sendmail does/did):

fcntl(f,F_SETFL,O_NONBLOCK); if(-1==connect(f,...)&&errno==EWOULDBLOCK){ fd_set a;FD_ZERO(&a);FD_SET(f,&a); if(!select(f+1,&a,&a,NULL,{.tv_sec=0,.tv_usec=0})) { close(f);return error; } }

If you read this carefully, you only need to ask yourself how much time can pass between the top of connect() and the bottom of select(), and if you think it is zero like tedu does, you might probably have the same surprise: Computers are not abstract machines, but made out of matter and powered by energy and thus subject to the laws of physics, and so everything takes time.

For others, the surprise might be that it's still 3msec over twenty years later, and I think that is a much more interesting subject to explore than whether the speed of light exists.
by gryfft | 2025-07-08 14:57:17+00:00
The policy began as a direct response to the Richard Reid shoe bombing attempt in December 2001 [1]. This was as America was still reeling from 9/11, and full body scanners weren't standard at airports yet. Now they are, and they've improved explosive detectors too [2].

It indeed seems like it was always something of an overreaction, but an understandable one that's now fully overlapped by superior modern scanning.

1. https://en.wikipedia.org/wiki/American_Airlines_Flight_63_(2...

2. https://www.dhs.gov/science-and-technology/news/2022/10/06/f...

Edit: whoa, groupthink.
by coffeecoders | 2025-07-08 14:57:28+00:00
Lately I have been using ChatGPT for my meal planning. There are countless [1] threads on reddit on how to tailor this to your preference.

I went through a cut phase with it and it worked out great. I prefer it better than the popular one eatthismuch[2].

[1] https://www.reddit.com/r/ChatGPTPromptGenius/comments/1hnjbm...

[2] eatthismuch.com
by aosaigh | 2025-07-08 14:57:43+00:00
Honestly, this is terrible news. A number of the core team of Nuxt.js are joining Vercel and NuxtLabs itself is acquired by Vercel.

I choose Nuxt.js and Nuxt UI Pro specifically because they aren't Vercel products. I built two SAAS MVPs over the last year based on this, now I'll have to wait and see what Vercel (their competitor) wants to do with it.
by craftkiller | 2025-07-08 14:57:44+00:00
> Alt+tab is an optimal controller.

Having to iterate through your windows is not optimal. I use sway, with windows divided across workspaces. So if I want to switch to my web browser I hit super+1. If I want to switch to my code editor I hit super+2. If I want to switch to my terminal(s) I hit super+3. I use 4 through 0 for other random windows (for example, I usually launch games or videos on 0. If I'm working in two code bases I generally put the editor and terminal for the 2nd code base on 4 and 5).

What takes you O(n) takes me only O(1).
by smithkl42 | 2025-07-08 14:57:46+00:00
I don't know that I would draw that sharp of a distinction between archaeological and Biblical evidence. Pretty much every strata of the Bible that we have, from pretty much every age, assumes that even Yahweh's worshipers are aware of and frequently worshiping other gods. Rachel has her period on a pile of household idols (Gen. 31:26-35). Jacob gives up all his household's idols at God's request (Gen. 35:1-4). The Israelites in the desert worship first a golden calf (Ex. 32) and then the Baal of Peor (Numbers 25). David's wife Michal has an idol just sitting around, available to be used in a subterfuge (1 Sam. 19:11-17). And that's before we get to the prophets, whose message everywhere assumes that other gods are present in Israelite civil religion.

The question isn’t whether ancient Israelites worshiped other gods. Every single source we have, including the Bible, says that they did. The real question is how early and how consistently such behavior was objected to, and on what grounds. And there, the evidence shows that even the earliest traditions seem to expect loyalty to YHWH alone, even if they don’t always explain why. Over time, those objections become sharper, more theological, and more absolute. But there is no point in the biblical tradition, early or late, where YHWH is not a jealous God; just as there is no point where he doesn’t have cause to be.
by BeetleB | 2025-07-08 14:58:03+00:00
Indeed. When I read this, I thought: "Doesn't he know about virtual workspaces?"

I also use a tiling WM (awesomeWM). I tend to keep one window per workspace, and then merely select multiple workspaces if I need to see multiple windows in tandem.

For my work Windows laptop, I've installed a virtual workspace manager.
by vidarh | 2025-07-08 14:58:50+00:00
> The poll timeout is 3ms, as specified by the lore. I think this is nonsense, why would an invalid or incomplete sendmail configuration default to three milliseconds?

The answer is that per the original story, it was not defaulting to three milliseconds. It was defaulting to 0, and the 3ms was just how long it took the system to check for a response with a 0 timeout:

> Some experimentation established that on this particular machine with its typical load, a zero timeout would abort a connect call in slightly over three milliseconds.

This is a very different scenario, as it's not clear there should be a poll() there at all (or more likely select() given the age of the story) to match the original, but if there was, the select would have a timeout of 0, not 3ms, and would just happen to be unable to distinguish between 0 and up to 3ms.
by gritlin | 2025-07-08 14:59:03+00:00
I’m building two agents:

An automatic code instrumentation agent that instruments your code (in Python, Node, etc.) to add tracing, metrics, and logs without manual effort.

An agent that reads customer logs and telemetry automatically to help you find out what went wrong during incidents or user issues.

I wanted to ask:

Is this something that would be useful to you?

What are your biggest pain points around debugging in production or adding observability today?

Would you be open to a quick chat so I can learn more about your workflow and needs?

Thanks in advance for your thoughts!
by mdaniel | 2025-07-08 15:00:02+00:00
That was interesting, although it's unclear why there's only one other person in a Zoom. However, it turns out that I was glad to have someone there because they asked the question I had about the interaction between diffusion and prompting <https://www.youtube.com/watch?v=oot4O9wMohw&t=977> which made it click why one would use this diffusion setup for code completion specifically. The "prompt" is the current state of the (file|line) and it then diffuses text into place
by gear54rus | 2025-07-08 15:00:26+00:00
> Then that’s a shitty company and perhaps you should consider not using their service anymore.

That's not always possible. There might not be enough quality competition and I don't see others following my example to beat the shitty company into submission and make them change their ways if I do that.

> Either way I don’t see how that’s relevant to the point. It’s not like the web is any different in that regard.

Web is very different in that regard. You can pry any app open and change basically anything with a single press of F12. Most of the time, people already did that for you and submitted an ad blocking filter for everyone to use. This isn't even close to the crapware of a typical app store.

Web is the last democratic platform we have left.
Show HN: LocalCloud – Run complete AI stack locally for $0
by devprerenur | 2025-07-08 15:01:24+00:00
Hey HN! I built LocalCloud after burning $2k in 3 days experimenting with RAG architectures.

LocalCloud runs your entire AI development stack locally: - LLMs (Llama 3.2, Qwen 2.5, Mistral) - PostgreSQL with pgvector - Redis cache - S3-compatible storage

One command (`lc start`) and everything's running. Works great with Claude Code, Cursor, and other AI assistants.

We've been dogfooding for months - built everything from chatbots to code analysis tools without spending on APIs during development.

Tech: Go, Docker, designed to run on 4GB RAM.

Would love feedback from the HN community! What would you build if AI development had no cost barriers?
by 0xbadcafebee | 2025-07-08 15:01:35+00:00
Good films are hard to make, that's why. The article sort of skips over this, but there aren't a lot of Spielbergs out there. Most big-budget movies are lame, and intentionally so. Hollywood is about making money, not good films.

Most of the highest-rated films of the last 20 years are action films. Not because they had good characters, writing and acting. But because they were exciting. Sometimes they accidentally have good, nuanced characters, good acting, good cinematography, but those are happy accidents. The main thing you need for a successful film is a good car chase, guns blazing, people hanging off a ledge, monsters constantly giving chase (and yet somehow never killing the main characters as easily as the NPCs), an attractive woman in distress, a handsome male hero saving the day, maybe an orphan thrown in the mix. Get those hormones flowing and people will feel good afterward and give the movie a high rating.

Note that this is a completely different thing than "critics' favorite list of movies". Studios couldn't give a shit what critics think, they care how much revenue they made. If they want to win awards they'll churn out something emotional about a person with a handicap, a period drama or a war film.
by puttycat | 2025-07-08 15:03:38+00:00
If LLMs can't even do basic arithmetic [1,2,3], why should anyone trust them with what they put in their mouths?

[1] https://arxiv.org/abs/2410.21272

[2] https://arxiv.org/abs/2406.02356

[3] https://github.com/0xnurl/gpts-cant-count
by WalterBright | 2025-07-08 15:04:11+00:00
> have very little understanding about what makes good movies

I've seen many thousands of movies, and that does give me knowledge about what makes a movie better.

For example, music makes a huuuuge difference, even if one may not even be aware of the music. For example, Star Wars and Lord of the Rings would be diminished considerably without their very good soundtracks. You can see this with the Hobbit movie - a lousy soundtrack, which severely damaged the movie. 2001 was greatly enhanced with the soundtrack. I read that Kubrick spent hundreds of hours listening to records searching for the perfect music. It paid off handsomely. What would "Blade Runner" be without the Vangelis soundtrack?
by leviathant | 2025-07-08 15:04:38+00:00
YouTube's initial success came from being able to serve, on a global scale, user-uploaded, largely uncredited copyright violations of both video and audio.

Facebook's "pivot to video" similarly relied on user-uploaded unlicensed video content, now not just pulling from television and film, but from content creators on platforms like YouTube.

Today, every "social" platform is now littered with "no copyright infringement intended" and "all credit to the original" copy-and-paste junk. Don't get me wrong, I'm a fan of remix culture – but I believe appropriating and monetizing the work of others without sharing the reward is a destructive cycle. And while there are avenues for addressing this, they're designed for the likes of Universal, Sony, Disney, etc. (I've had original recordings of original music flagged by megacorps because the applause triggered ContentID.)

AI slop further poisons the well. It's rough going out there.
by SirMaster | 2025-07-08 15:05:09+00:00
I use it in Brazil scuba diving as it's the universal PADI hand gesture for asking (and responding) if someone is OK and never had any issues or negative reactions.

The PADI standard gestures are used and recognized all over the world to mean these things.

https://blog.padi.com/scuba-diving-hand-signals/
by lordnacho | 2025-07-08 15:05:41+00:00
I thought the 3ms was more or less what a low-granularity clock would give you. So, not the clock that gives you nanos, but the big standard one that is useful if you just somewhat care that some timer has run out. Perhaps you use it to count frames (120fps ~ 8.3ms) or check whether some calendar event has happened.

A 333 Hz clock seems like something you might have on computers going back to those days, even if not for the CPU.
by UncleEntity | 2025-07-08 15:05:47+00:00
Probably the methods they use as well.

I may not be completely accurate on this because there's not a whole lot of information on how Python is doing their thing so...

The way (I believe) Python is doing it is to take code templates and stitching them together (copy & patch compilation) to create an executable chunk of code. If, for example, one were to take the py-bytecode and just stitch all the code chunks together all you can realistically expect to save is the instruction dispatch operations, which the compiler should make really fast anyway, which leaves you at parity with the interpreter since each code chunk is inherently independent so the compiler can't do its magic on the entire code chunk. Basically this is just inlining the bytecode operations.

To make a JIT compiler really excel you'd need to do something like take all the individual operations of each individual opcode and lower that to an IR and then optimize over the entire method using all the bells and whistles of modern compilers. As you can imagine this is a lot more work than 'hacking' the compiler into producing code fragments which can be patched together. Modern compilers are really good at these sorts of things and people have been trying to make the Python interpreter loop as efficient as possible for a long time so there's a big hurdle to overcome here.

I've (or more accurately, Claude) has been writing a bytecode VM and the dispatch loop is basically just a pointer dereference and a function call which is about as fast as you can get. Ok, theoretically, this is how it works as there's also a check to make sure the opcode is within range as the compiler part is still being worked on and it's good for debugging but foundationally this is how it works.

From what I've gleaned from the literature the real key to making something like copy & patch work is super-instructions. You take common patterns, like MULT+ADD, and mash them together so the C compiler can do its magic. This was maybe mentioned in the copy & patch paper or, perhaps, they only talked about specialization based on types, don't actually remember.

So, yeah, if you were just competing against a basic tree-walking interpreter then copy & patch would blow it out of the water but C compilers and the Python interpreter have both had million of people hours put into them so that's really tough competition.
by aimor | 2025-07-08 15:06:05+00:00
When I was a kid I loved "Dinosaur Time" by Peggy Parish (and illustrated by Arnold Lobel). Originally published in 1974 it ends, "Dinosaurs lived everywhere for a long time. Then they died. Nobody knows why. But once it was their world. It was Dinosaur Time."

There was a revision to the book (not sure the date) with changes to the text and an expanded author's note at the end that talks about the new things we understand about dinosaurs including how Brachiosaurus are no longer believed to have spent their time in water to support their weight and how it's now believed an asteroid killed off the dinosaurs.

Original: https://archive.org/details/dinosaurtime00pari
by gdbsjjdn | 2025-07-08 15:06:05+00:00
As something of an Alien fangirl 3 and 4 are more failures from a production standpoint than from a creative one. If you look at all the rejected pitches for Alien 3 there's a lot of interesting ideas which were never explored and a lot of studio fuckery in the final cut. I don't think the Fincher cut is amazing but I think it proves that there could be another excellent Alien movie.

Alien: Resurrection is plotted terribly and has all the shitty Joss Whedonisms you expect, but there's something undeniable about Winona, Sigourney and Ron Perlman in the grungy space aesthetic. The idea of Ripley as an Alien hybrid who is simultaneously attached to and repulsed by the Xenomorphs is interesting. Unfortunately they saddled the movie with a French director who couldn't speak English (and Joss Whedon, who arguably shouldn't speak at all).

The Terminator franchise is definitely more boxed-in: there's a core narrative about an important person who changes the world. Everyone else lives in contemporary LA, and the post-apocalyptic future is pretty boring.

The Animatrix anthology shows you can do lots in the Matrix world without needing the core characters. The themes and world-building could support a show like Cyberpunk: Edgerunners which is only tangentially related to the movies.
by hnaccount_rng | 2025-07-08 15:06:22+00:00
The number of people that would but a NAS over just spending the 5$/month for storage is well below a percent and if you combine that with the requirement of not having a PC/Mac you may well end up in the hundreds…

There aren’t that many people that are willing to own a device from a company but not trusting that company with their data
by immibis | 2025-07-08 15:06:59+00:00
Don't create every possible picture. Create a representative set.

Draw each screen at least once. If you have dark mode, you don't have to fully redraw each screen in dark mode, just enough to show how dark mode should look. If it has to work on desktop, you probably do have a completely different desktop version of each screen (from the default mobile) so draw that - but don't redraw every detail of a widget that's identical to mobile.

Testing every combination should be for the testing stage. It's good if you can foresee clashes (like the desktop version of this widget looks bad on this page in dark mode) in the design stage but it's not really an excuse to prolong the design so long that it lasts until you would have been finished with testing anyway.

Having a computer generate all the combinations for you in the design stage isn't that great unless you can pay individual attention to them - there's no point producing artefacts that nobody looks at.
by reverendsteveii | 2025-07-08 15:07:37+00:00
under the DMCA the minimum penalty for an illegally downloaded file is $750 (https://copyrightresource.uw.edu/copyright-law/dmca/)

"Anthropic had no entitlement to use pirated copies for its central library...Creating a permanent, general-purpose library was not itself a fair use excusing Anthropic's piracy." --- the ruling

If they committed piracy 7 million times and the minimum fine for each instance is $750 million then the law says that anthropic is liable for $5.25 billion. I just want it to be out there that they definitely broke the law and the penalty is a minimum $5.25 billion in fines according to the law, this way when none of this actually happens we at least can't pretend we didn't know.
by bai422 | 2025-07-08 15:07:40+00:00
Michelangelo.best vs Leonardo.ai -------------------------------- • Pricing - Michelangelo: totally free, unlimited runs - Leonardo : 150 free tokens/day, paid plans from $12/mo

• Sign-up required? - Michelangelo: no account needed - Leonardo : account required

• Models - Michelangelo: open-source Stable Diffusion 1.5 (iterating) - Leonardo : proprietary Phoenix/Flux, multi-model, fine-tuning

• Prompt library - Michelangelo: 300+ curated prompts (CC0, copy-paste) - Leonardo : mostly community-shared

• UI footprint - Michelangelo: single lightweight page, loads fast on mobile - Leonardo : rich canvas, layers, real-time editing

• Primary use case - Michelangelo: quick experimentation / teaching / idea sketching - Leonardo : production assets, team workflow, hi-res output

TL;DR – Michelangelo is a free sketchbook for testing prompts; Leonardo is the full studio for polished, commercial assets. They complement each other.

leonardo.ai is my goal, i will continue optimize my web and catch to .leonardo.ai
by vidarh | 2025-07-08 15:08:10+00:00
Why do you think it's "clearly bullshit"?

connect() will take time. Either you then fail on reiceiving EINPROGRESS, or you attempt a select() with 0 for the timeout, which will also take time. That that time could add up to 3ms on a mid-90's system also used for other things seems entirely plausible to me.
by johncole | 2025-07-08 15:08:20+00:00
> Even with evidence staring them in the face, carriage companies still did not pivot, assuming cars were a fad.

I like this quote. But this analogy doesn’t exactly work. Withe this hype cycle, CEOs are getting out and saying that AI will replace humans, not horses. Unlike previous artisans making carriages, the CEOs saying these things have very clear motivations to make you believe the hype.
by a_sydelov | 2025-07-08 15:08:54+00:00
A comparative analysis of cloud data tooling across AWS, Google Cloud, and Azure — covering storage, databases, analytics, pipelines, BI, machine learning, and governance.

Instead of feature listings, it outlines trade-offs, platform philosophies (e.g. control vs. simplicity vs. enterprise integration), and real-world cost scenarios like S3 vs Glacier tiers. Also discusses how “data gravity” affects long-term platform choices and ways to stay portable (open formats, modular pipelines, multi-cloud tools).

Curious how others approach cloud choice — especially when data size or team structure starts to limit flexibility.
by flohofwoe | 2025-07-08 15:09:37+00:00
> they did not translate into massive adoption of Wasm by the gaming industry

This is more about monetization and less about technology, and nobody has figured out how to monetize web games beyond hyper-casual 2D games. And you don't need WASM to move a handful 2D sprites around.

Personally I'm quite happy what WASM allows me to do, e.g. the browser has become "just another runtime target" for my C/C++ hobby projects:

- https://floooh.github.io/sokol-html5/

- https://floooh.github.io/tiny8bit/

- https://floooh.github.io/doom-sokol/

...also the actual problem to run game-y stuff in browsers is not WASM, but the terrible state of web APIs, WebGL and WebGPU are both quite okay-ish, but beyond that it's an absolute mess (but OTH, people also cope with game development for Android, which is even worse).