MurphyA/hacker-news huggingface dataset:
by hydrogen7800 | 2025-11-20 13:53:25+00:00
This book was real eye-opening for me. I heard about it when it was first released, but sort of dismissed it since on its face it seemed like just another pop alt-history, "you won't learn this in school" book. But it is well researched, and well regarded by historians[0].

[0] One example:https://www.tandfonline.com/doi/abs/10.1111/j.1931-0846.2006...
by lazide | 2025-11-20 13:53:43+00:00
Making the calculus apparent is why we might have a chance.

Because then anyone who owns a bridge/needs to pay for said bridge damage goes, ‘well clearly the costs of running into a bridge on the runs-into-bridges-due-to-negligence-group isn’t high enough, so we need to either create more rules and inspections, or increase the penalties, or find a way to stop these folks from breaking our bridges, or the like - and actually enforce them’.

It’s why airplanes are so safe to fly on, despite all the same financial incentives. If you don’t comply with regulators, you’ll be fined all to hell or flat out forbidden from doing business. And that is enforced.

And the regulators take it all very seriously.

Ships are mostly given a free pass (except passenger liners, ferries, and hazmat carrying ships) because the typical situation if the owner screws up is ‘loses their asset and the assets of anyone who trusted them’, which is a more socially acceptable self correcting problem than ‘kills hundreds of innocent people who were voters and will have families crying, gnashing their teeth, and pointing fingers on live TV about all this’.
by cosmic_cheese | 2025-11-20 13:54:32+00:00
That’d still come with the limits brought by the old kernels Ubuntu ships.

Which as an aside, I think distros should advertise better. It must be awful to be sold on a distro only to find that it doesn’t support your newish hardware. A simple list of supported hardware linked on the features and download pages would suffice but a little executable tool that will tell you if your box’s hardware is supported would be even better.
by Octoth0rpe | 2025-11-20 13:54:35+00:00
php has kept around a lot of functionality that can be misused, but PDO has had parameterization since forever and is the go to method if you want to connect to a database. Beyond that though, most PHP projects at this point are likely using a query builder/orm like eloquent.

So I guess it depends on what you mean by unhelpful. PHP as a language makes it pretty easy to do bad stuff. PHP as a community makes it easy to Do The Right Thing.
by crazygringo | 2025-11-20 13:54:57+00:00
This isn't even about ads. It's just about basic business metrics.

And no, you can't just "wait 2 weeks and check for the actual sales volume difference". The example I gave requires individual anonymized tracking. Pretty much anything that has to do with correlations in customer behavior requires individual tracking. And that's how businesses improve.

Also, it's not just giving up "some percentage points". There are a huge number of small businesses that can only exist because Facebook ads work so well in targeting very precise customer segments who would never know about their product otherwise. Targeting advertising does actually work, and you'd be putting tons of small business owners out of work if you got rid of it.
by belter | 2025-11-20 13:55:17+00:00
The business and technical argument for Aurora is that it delivers significantly higher performance for the same underlying hardware compared to MySQL or PostgreSQL: https://pages.cs.wisc.edu/~yxy/cs764-f20/papers/aurora-sigmo...

Even if you are not currently hitting performance limits of your current engine, Aurora would maintain the same throughput and latency on smaller instance classes. Which is where the potential cost savings come from...

On top of that, with Aurora Serverless with variable and unpredictable workloads you could have important cost savings.
by aDyslecticCrow | 2025-11-20 13:55:29+00:00
Welcome to the swamp of code certification testing. If I'm lucky to get sources, I also get a PDF describing the optimization flags allowed, and a checksum of every source file. It depends on protocol and domain, but it is very real.

Blobs are popular for a reason, and it's often for the sake of the user of the blob not the maker of the blob.
Show HN: Tunes – Rust audio synthesis/playback (100x realtime, SIMD, GPU, WASM)
by sqrew | 2025-11-20 13:55:55+00:00
Hello everyone! I built Tunes by accident while building an audio engine for my own game engine. It's a "batteries included" approach to music composition, audio synthesis, and sample playback.

I built tunes to solve my own issues; I wanted it to have a bunch of capabilities while being simple to use and relatively performant (what else is new lol). So I spent a lot of time trying to optimize things that probably didn't need it. I ended up with a kitchen sink full of fun tools for audio.

I wanted to share this with everyone because I feel like it's in a good enough position to help other people with their own audio issues now. It's easy to use and performant enough for most use cases. I'd love to get feedback and discuss any parts of it with you guys. Thanks.
by krapp | 2025-11-20 13:56:05+00:00
Prepared statements have been available in PHP for over 20 years, when it deprecated the old mysql libraries. They were removed entirely in PHP 7.

And let's be real - most handwritten SQL code in existence in most languages just builds queries from concatenated strings, even when more secure options exist. A lot of code doesn't even bother to escape anything. That's not a language problem so much as a developer laziness and assumption that "simplicity always equals correctness and frameworks are always wrong" problem.
by cbolton | 2025-11-20 13:56:29+00:00
That actually sounds like a good idea, the situation is similar with an official channel of "trusted" software for which the distributor takes some responsibility, versus whatever file you downloaded yourself. It's certainly more risky on a Debian system to install a .deb from some random website, or an AppImage, compared to a .deb from the official repositories. I guess it's the same for Fedora.
by otabdeveloper4 | 2025-11-20 13:56:31+00:00
> Do you think that some people claim that Rust's memory safety guarantees mean that a Rust program is incapable of crashing or having a bug?

Undoubtedly yes.

> ...but what does this have to do with match blocks?

You tell me. You're the one advocating for placing one after every single function call.
by franktankbank | 2025-11-20 13:56:55+00:00
This convo is hilarious, you rock. I'm not surprised someone was open minded enough to master the art of cooking with a microwave. Also there are different type of fast cooking apparatus that are usually reserved for restaurants but I could imagine they might be up your alley. (I can't right now recall the name of such a device but its similar in function to microwave maybe it is a microwave at its heart?)
by jibal | 2025-11-20 13:57:11+00:00
I'm well aware that many people are wrong about consciousness and have been misled by Searle, Chalmers, Nagel, et. al. Numbers like 55% are argumentum ad populum and are completely irrelevant. The sample space matters ... I've been to the "[Towards a] Science of Consciousness" conferences and they are full of cranks and loony tunes, and even among respectable intelligent philosophers of mind there is little knowledge or understanding of neuroscience, often proudly so. These philosophers should read Arthur Danto's introduction to C.L. Hardin's "Color for Philosophers". I've partied with David Chalmers--fun guy, very bright, but has done huge damage to the field. Roger Penrose likewise--a Nobel Prize winning physicist but his knowledge of the brain comes from that imbecile Stuart Hameroff. The fact remains that consciousness is a physical function of physical brains--collections of molecules--and can definitely be the result of computation--this isn't an "assumption", it's the result of decades of study and analysis. e.g., people who think that Searle's Chinese Room argument is valid have not read Larry Hauser's PhD thesis ("Searle's Chinese Box: The Chinese Room Argument and Artificial Intelligence") along with a raft of other criticism utterly debunking it (including arguments from Chalmers).

> It's an analogy.

And I pointed out why it's an invalid one -- that was the whole point of my comment.

> But just like the pot of gold, that might be a false assumption.

But it's not at all "just like the pot of gold". Rainbows are perceptual phenomena, their perceived location changes when the observer moves, they don't have "ends", and there certainly aren't any pots of gold associated with them--we know for a fact that these are "false assumptions"--assumptions that no one makes except perhaps young children. This is radically different from consciousness and computation, even if it were the case that somehow one could not get consciousness from computation. Equating or analogizing them this way is grossly intellectually dishonest.

> Someone sees computing, assuming consciousness is at the end of it, so they think fi there were more computing, there would be more likelihood of consciousness.

Utter nonsense.
by sunrunner | 2025-11-20 13:57:42+00:00
Perfect timing, I was looking for something to keep my apps warm this winter since they're not fond of the iPod Socks I've been using (too itchy).

For people looking for desktop or TV versions, I can also recommend:

- https://store.steampowered.com/app/2678480/Pixel_Fireplace/

- https://hammertail.itch.io/pixel-fireplace

- https://www.youtube.com/watch?v=sy8GU_19V4E
by Breezy233 | 2025-11-20 13:57:49+00:00
Gotun is a simple, cross-platform command-line tool that enables HTTP-over-SSH tunneling. It allows you to securely access internal networks, restricted resources, or any HTTP services by using a remote SSH host as a proxy. This tool simplifies the process of connecting to a remote network without requiring complex port forwarding or exposing services to the public.

Key features:

Supports SSH-based tunneling for secure access. Allows multi-hop SSH for complex network setups. Cross-platform support: Windows, Linux, macOS. Configurable for system-wide HTTP proxy settings. Easy installation via Homebrew, install scripts, or from source. Whether you're working remotely or need to securely connect to internal systems, Gotun provides an easy and reliable way to route traffic through a secure SSH tunnel.
by ModernMech | 2025-11-20 13:58:11+00:00
> Start the n-th "visual" or "image based" programming language (hoping to at least, make _different_ mistakes than the ones that doomed smalltalk and all other 'assemble boxes to make a program' things ?)

Unironically yes, this. Progress happens in this field one dead language at a time; people try a thing and make mistakes continually, so that other people can try again and make other different mistakes. Eventually, something good is found and they integrate it into C++.

But no one is going to find these ideas unless people keep trying and failing. This is a community effort, you can only do your part. And like the rest of us you will likely fail and never be thanked for your efforts -- except by the next poor sap who takes up the good fight, sees your failures, and deftly avoids all your mistakes. But the plus side is if you succeed... you also won't be thanked or rewarded so scratch all that you probably shouldn't bother if you respect yourself.
by juancn | 2025-11-20 13:58:27+00:00
Why not a store-and-forward architecture?

You still need a protocol for point to point and maybe that's where QUIC plays a role, but wouldn't make more sense to use something like email?

The distances and latencies are so large, that you want to send a file to the next hop in the network, and from there to the next one, and so on.
by parth21shah | 2025-11-20 13:58:39+00:00
OP here. I’ve been doing backend work for ~15 years, but this was the first time I really felt why eBPF matters. We had a latency spike that all the usual polling tools missed — top, CloudWatch, Datadog, everything looked normal. In the end it was a misconfigured cron job spawning ~50 short-lived workers every minute. Each one ran for ~500ms, burned the CPU, and exited before the next poll. So all our “snapshot” tools were basically blind. I wrote the post to show this exact gap: Polling = snapshots, Tracing = event stream. For stuff that appears and disappears between polls, only tracing really sees it.tools like execsnoop or auditd can catch this, but in our case the overhead felt too high to leave on 24/7 in production. I amm currently playing with a small Rust+Aya agent that listens on ring buffers so we can run this continuously with less overhead. If you just want to try the idea, the post has a few bpftrace one-liners so you can reproduce the detection logic without writing any C or Rust.
by teunispeters | 2025-11-20 13:59:04+00:00
Lisp - historically - did not work well with others. Did not share spaces, did not coexist with other systems particularly well. Or if it did, it would wrap them very carefully in "unsafe" and keep as much to the boundaries as possible.

It's not like it's the only system that suffers this, but "working well with others" is a big key to success in almost every field.

I'm absolutely fascinated by what worked and was possible in that venue, just like I find rust code fascinating. These days lisp is much more workable, as they slowly get over the "must coexist with other software". There are still things that are really hard to put in other computer languages.
by lazide | 2025-11-20 13:59:26+00:00
I’m not sure what you’re trying to say by this.

Ideally (from a scientific/engineering basis), zero bs is acceptable.

Realistically, it is impossible to completely remove all BS.

Recognizing where BS is, and who is doing it, requires not just effort, but risk, because people who are BS’ing are usually doing it for a reason, and will fight back.

And maybe it turns out that you’re wrong, and what they are saying isn’t actually BS, and you’re the BS’er (due to some mistake, accident, mental defect, whatever.).

And maybe it turns out the problem isn’t BS, but - and real gold here - there is actually a hidden variable no one knew about, and this fight uncovers a deeper truth.

There is no free lunch here.

The problem IMO is a bunch of people are overwhelmed and trying to get their free lunch, mixed in with people who cheat all the time, mixed in with people who are maybe too honest or naive.

It’s a classic problem, and not one that just magically solves itself with no effort or cost.

LLM’s have shifted some of the balance of power a bit in one direction, and it’s not in the direction of “truth justice and the American way”.

But fake papers and data have been an issue before the scientific method existed - it’s why the scientific method was developed!

And a paper which is made in a way in which it intentionally can’t be reproduced or falsified isn’t a scientific paper IMO.
by RobAley | 2025-11-20 14:00:03+00:00
Parse_url isn't standards compliant, often fails with relative url's and most importantly only parses urls, not uris (with the exception of file://). I also find it's syntax clunkier than the new uri(), but that's just personal preference.

The pipe operator is indeed just syntactical sugar (and the article links to another article specifically about it which does cover the case of temporary variables), but with the coming partial function application feature it (in my opinion) will make easier to read/reason chains of code than temporary variables or nested function calls.
by embedding-shape | 2025-11-20 14:00:12+00:00
> Best case: we’re in a bubble. Worst case: the people profiting most know exactly what they’re doing.

The article literally starts with hyperbole and not being charitable at all. I'm sure there are many arguments for why AI will bring doom and gloom, but outright being dishonest in the first 7 words of the article will put off the people you actually want to read this article.

What happened to well-research and well-argued points of views? Where you take good faith arguments into account, and you don't just gaslight and strawman your way into some easy to make points for the purpose of being "sharable" on social media?
by netsharc | 2025-11-20 14:00:57+00:00
It's a very fine-grained data, isn't it... Something like on August 24, 1652, 17:34 local, soldier X killed the last tribesman Y they were fighting and claimed the area for his king Z. And a lot of regions were/are disputed with no clear "ruler", e.g. the no man's land between North and South Korea.
by gizajob | 2025-11-20 14:00:59+00:00
Who is we? You mean you think that? It’s part of the lyrics in my understanding of the song. Particularly because it’s in part inspired by the nonsense verse of Lewis Carrol. Snark, slithey, mimsy, borogrove, jub jub bird, jabberwock are poetic nonsense words same as goo goo gjoob is a lyrical nonsense word.
by throw0101c | 2025-11-20 14:01:35+00:00
> The moment you can afford to run your own mini dc at your office, you start to enter the "well, hello there" for CF.

As someone who has (and is) runs (running) a DC with all the electrical/UPS, cooling, piping, HVAC+D stuff to deal with: it can be a lot of just time/overhead.

Especially if you don't have a number of folks in-house to deal with all that 'non-IT' equipment (I'm a bit strange in that I have an interest in both IT and HVAC-y stuff).
by johnisgood | 2025-11-20 14:01:36+00:00
Yes, see: https://news.ycombinator.com/item?id=39989663

---

Books:

* PHP & MySQL: Novice to Ninja by Tom Butler

* PHP 8 - Quick Scripting Reference by Mikael Olsson

* PHP 8 Objects, Patterns, and Practice by Matt Zandstra

* Programming PHP (2020) by Kevin Tatroe and Peter MacIntyre

I personally found them to be really good. I learned a lot from the first book especially.

You can find the code from the first book here: https://github.com/spbooks/phpmysql7

I hope this helps.
by jonesjohnson | 2025-11-20 14:01:37+00:00
They warm up things that a) I don't want to put in a kettle and b) don't want to put in a dedicated pot to put on the stove.

Like the remainder of the soup i made yesterday that I've put in a china bowl in the fridge. I was able to eat warm soup out of that bowl without requiring to make any other dishes dirty. Pretty convenient if you ask me.

Bonus: you can take a cherry tomato or a single grape and make a small plasma arc in the microwave. Pretty cool trick to impress and scare people at house parties.
by Aurornis | 2025-11-20 14:01:47+00:00
> Let's not forget a team making a great free product.

I am fully appreciative of the work that goes into making a product like this, but I’m also tired of this mentality that nobody is allowed to talk about the problems with the product. Even simple comments from people who tried to use the product but encountered show-stopping issues are getting downvoted into gray text in this thread.

This mentality that we must only speak praise and cannot speak of problems because a product is free is further off putting. I’ve given Matrix/Element an honest try many times because some of the OSS projects I’m involved with use it, but month after month it’s the most troublesome of all of the apps in this space that I use, and it’s not even close. If I’ve gone a month without dealing with Matrix and I have to open it again it feels like there’s a 50:50 chance something is going to either be inexplicably broken or cause problems even though I thought I finally had it all working last time.

The contrast between how hard we’re told that Matrix is the great and superior option and the reality of what it’s like to use it as a casual or occasional user is really wearing me out on the project.
by kgwxd | 2025-11-20 14:01:52+00:00
I would love my streaming services if I could pick a show or play list and put it on shuffle, repeating forever. For shows I've already seen, anyway. I HATE choosing. And watching something in order makes me feel like I have to pay attention more.

But I feel like streaming services don't want us to watch, since that cost them money, they just want the subs.

Instead, I downloaded my favorite shows, mix them into various playlist in VLC, and put shuffle on. I hate choosing so much, it's usually just the "all" playlist I put on. It's glorious.
by sambuccid | 2025-11-20 14:02:25+00:00
Independently on the hypotesys/conspiracy that the big investors and big tech don't actually believe in AI, the measurable outcome the OP is making remains the same: very few people will end up owning a big chunk of the natural resources, and it will not matter if they will be used to power AI or for anything else.

Perhaps govrenments should add clauses on the contracts they make to avoid this big power imbalance from happening.
by FooBarBizBazz | 2025-11-20 14:03:11+00:00
Two of those (Italy and Japan) have more conservative gender dynamics than the US does. (Reasonable ones though. We're not talking about Saudi Arabia.)

I think a lot of the appeal isn't even about gender per-se. They're just nice places.

If my goal isn't to be a girlboss, but to have a nice life, then I see huge appeal. Japan, say, is safe, and comfortable; it's full of pleasant built environments; it's easy to afford the rent; and apart from rising in management at Sony I can do whatever I want. Sign me up?

Say you survey men: Probably a lot of them have similar ideas. Probably the same places are popular with them too.

Like, apart from a handful of Andrew Tates who are converting to Islam for the wrong reasons, do you think western men want to live in Saudi Arabia either? You think they want to rule in some loveless breeding-marriage from The Handmaid's Tale? Does that sound like a "male fantasy" (oh no, such a bad thing /s) to you? Of course not.

Turns out that both the men and the women would really just be perfectly happy to go somewhere with a nice piazza and sip espresso.
by sophrosyne42 | 2025-11-20 14:03:31+00:00
Obviously a large proportion of buildings are destroyed. My point was that your question and framing were disingenuous. It is trivial to select a sample especially an extremely limited and biased one (which is a limitation of the kind of data video can capture and has nothing to do with credibility of a news organization) that a video can show, and ask a misleading question. I could take a video in an undestroyed part of gaza and ask the opposite question, which would be similarly misleading.

Hamas members themselves have said they have trapped structures [1]. I don't think it is unreasonable that many buildings were trapped. There are also other causes of destruction, like bombing.

[1] https://timesofindia.indiatimes.com/videos/international/ham...
by monocularvision | 2025-11-20 14:04:10+00:00
Goalposts moved.

The original claim was that the compliance was done for malicious reasons to change the law. Another possibility is that lawyers are a cautious bunch and advise their clients to take a less risky option when implementing a legal requirement. From personal experience, I would saw that latter is much more likely and would also explain why government agencies interpret these rules the same way when developing their websites.
by Aperocky | 2025-11-20 14:04:14+00:00
Fundamentally I think the job of engineer is to translate a business or real life scenario into logic. This is true for any kind of engineer, and is not restricted to software.

I held and continue to hold that software engineer shouldn't be constrained to any specific language. And extrapolate to the entire engineering field, the engineering profession will continue to exist because to first translate a business or real life scenario into logic, you would need to describe it accurately - the rest of the translation is rote work. That describing things accurately is a skill I see most common (but still not common enough) among engineers, even if that is done in English.