frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Qwen3.6-Max-Preview: Smarter, Sharper, Still Evolving

https://qwen.ai/blog?id=qwen3.6-max-preview
103•mfiguiere•1h ago•40 comments

Atlassian Enables Default Data Collection to Train AI

https://letsdatascience.com/news/atlassian-enables-default-data-collection-to-train-ai-f71343d8
138•kevcampb•3h ago•33 comments

All phones sold in the EU to have replaceable batteries from 2027

https://www.theolivepress.es/spain-news/2026/04/20/eu-to-force-replaceable-batteries-in-phones-an...
323•ramonga•1h ago•146 comments

ggsql: A Grammar of Graphics for SQL

https://opensource.posit.co/blog/2026-04-20_ggsql_alpha_release/
130•thomasp85•2h ago•35 comments

GitHub's Fake Star Economy

https://awesomeagents.ai/news/github-fake-stars-investigation/
428•Liriel•7h ago•249 comments

Sauna effects on heart rate

https://tryterra.co/research/sauna-effect-on-heart-rate
186•kyriakosel•1h ago•111 comments

10 years ago, someone wrote a test for servo that included an expiry in 2026

https://mastodon.social/@jdm_/116429380667467307
75•luu•20h ago•38 comments

M 7.4 earthquake – 100 km ENE of Miyako, Japan

https://earthquake.usgs.gov/earthquakes/eventpage/us6000sri7/
158•Someone•5h ago•67 comments

WebUSB Extension for Firefox

https://github.com/ArcaneNibble/awawausb
71•tuananh•3h ago•54 comments

I prompted ChatGPT, Claude, Perplexity, and Gemini and watched my Nginx logs

https://surfacedby.com/blog/nginx-logs-ai-traffic-vs-referral-traffic
3•startages•9m ago•0 comments

OpenClaw isn't fooling me. I remember MS-DOS

https://www.flyingpenguin.com/build-an-openclaw-free-secure-always-on-local-ai-agent/
156•feigewalnuss•7h ago•194 comments

Ask HN: How to solve the cold start problem for a two-sided marketplace?

47•alegd•1h ago•49 comments

Focused microwaves allow 3D printers to fuse circuits onto almost anything

https://newatlas.com/electronics/meta-nfc-focused-microwaves-circuits/
100•breve•2d ago•16 comments

NSA is using Anthropic's Mythos despite blacklist

https://www.axios.com/2026/04/19/nsa-anthropic-mythos-pentagon
275•Palmik•5h ago•220 comments

Up to 8M Bees Are Living in an Underground Network Beneath This Cemetery

https://www.discovermagazine.com/up-to-8-million-bees-are-living-in-an-underground-network-beneat...
123•janandonly•2d ago•20 comments

SDF Public Access Unix System

https://sdf.org/?ssh
137•neehao•1d ago•66 comments

What if database branching was easy?

https://xata.io/blog/what-if-database-branching-was-easy
38•tee-es-gee•2d ago•17 comments

I Made the "Next-Level" Camera and I love it

https://thelibre.news/i-made-the-next-level-camera-and-i-love-it/
155•ndr•3d ago•44 comments

IPC medley: message-queue peeking, io_uring, and bus1

https://lwn.net/Articles/1065490/
13•signa11•3d ago•0 comments

Epicycles All the Way Down (2025)

https://www.strangeloopcanon.com/p/epicycles-all-the-way-down
24•surprisetalk•4d ago•11 comments

Stop trying to engineer your way out of listening to people

https://ashley.rolfmore.com/stop-trying-to-engineer-your-way-out-of-listening-to-people/
342•walterbell•19h ago•191 comments

Claude Token Counter, now with model comparisons

https://simonwillison.net/2026/Apr/20/claude-token-counts/
170•twapi•14h ago•68 comments

Zero-copy protobuf and ConnectRPC for Rust

https://medium.com/@iainmcgin/zero-copy-protobuf-and-connectrpc-for-rust-69bda8ac0f02
107•PaulHoule•3d ago•31 comments

Turning a Chinese IoT camera into an owl livestream

https://blog.alexbeals.com/posts/owl-cam
13•dado3212•4d ago•0 comments

NASA Artemis Posters

https://www.nasa.gov/gallery/artemis/
57•bookofjoe•3h ago•9 comments

A Brief History of Fish Sauce

https://www.legalnomads.com/fish-sauce/
209•vinhnx•1d ago•89 comments

How Motorola’s 2N2222 and 2N3904 transistors became the default NPNs

https://www.allaboutcircuits.com/news/how-two-motorola-transistors-became-the-worlds-default-npns/
58•ChuckMcM•2d ago•23 comments

Who Is Blake Whiting?

https://theamericanscholar.org/who-is-blake-whiting/
31•Caiero•2d ago•6 comments

Turtle WoW classic server announces shutdown after Blizzard wins injunction

https://www.pcgamer.com/games/world-of-warcraft/turtle-wow-classic-server-announces-shutdown-afte...
291•Brajeshwar•23h ago•251 comments

Stripe's Payment APIs: the first 10 years (2020)

https://stripe.dev/blog/payment-api-design
84•tibbar•10h ago•44 comments
Open in hackernews

10 years ago, someone wrote a test for servo that included an expiry in 2026

https://mastodon.social/@jdm_/116429380667467307
75•luu•20h ago

Comments

db48x•18h ago
Classic!

But before you judge the fix too hashly, I bet it’s just a quick and easy fix that will suffice while a proper fix (to avoid depending on external state) is written.

pavel_lishin•48m ago
I'll bet you one US Dollar that this is a scenario where the temporary fix becomes the permanent one. (Well, at least, permanent for a hundred years.)

Some day, Pham Nuwen is going to be bitching about this test suite between a pair of star systems.

em-bee•33m ago
of course it is just an easy fix. it's the kind of solution that even someone like me could write who has no understanding of the code a all. (i am not trying to imply that the submitter of the PR doesn't understand the code, just that understanding it is unlikely to be necessary, thus the change bears no risk.

but, the solution now hides the problem. if i wanted to get someone to solve the problem i'd set the new date in the near future until someone gets annoyed enough to fix it for real.

and i have to ask, why is this a hardcoded date at all? why not "now plus one week"?

bombcar•1h ago
Any time constant will be exceeded someday.

An impossibly short period of time after the heat death of the universe on a system that shouldn’t even exist: ERROR TIME_TEST FAILURE

unkl_•1h ago
Posted on HN in 2126: 100 years ago, someone wrote a test for servo that included an expiry in 2126
yetihehe•1h ago
Now I feel bad for using (system foundation timestamp)+100 years as end of "forever" ownership relations in one of my systems. Looking now, it's only 89 years left. I think I should use nulls instead.
jerf•1h ago
I've got some tests in active code bases that are using the end of 32-bit Unix time as "we'll never get there". That's not because the devs were lazy, these tests date from when that was the best they could possibly do. They're on track to be cycled out well before then (hopefully this year), so, hopefully, they'll be right that their code "won't get there"... but then there's the testing and code that assumes this that I don't know about that may still be a problem.

"End of Unix time" is under 12 years now, so, a bit longer than the time frame of this test, but we're coming up on it.

bombcar•5m ago
I seem to recall much smugness on Slashdot around the "idiot winblows users limited by DOS y2k" and how the time_t was "so much better". Even then a few were prophesying that it would come bite us eventually ...
fny•1h ago
Who here remembers the fud of Y2K?
NetOpWibby•1h ago
Exciting times with an anticlimactic end; I was in middle school, relishing the chaos of the adult world.
philipallstar•1h ago
I remember the reality of all the work needed to avoid issues.
LocalPCGuy•1h ago
While there was a lot of FUD in the media, there were also a lot of scenarios that were actually possible but were averted due to a LOT of work and attention ahead of time. It should be looked at, IMO, as a success of communication, warnings, and a lot of effort that nothing of major significance happened.
tejohnso•1h ago
Yes, Y2K is a success story, similar to the alert and response related to ozone layer and CFCs.

Dissimilar to the global climate catastrophe, unfortunately.

---

The 2024 state of the climate report: Perilous times on planet Earth

https://academic.oup.com/bioscience/article/74/12/812/780859...

"Tragically, we are failing to avoid serious impacts"

"We have now brought the planet into climatic conditions never witnessed by us or our prehistoric relatives within our genus, Homo"

"Despite six IPCC reports, 28 COP meetings, hundreds of other reports, and tens of thousands of scientific papers, the world has made only very minor headway on climate change"

"projections paint a bleak picture of the future, with many scientists envisioning widespread famines, conflicts, mass migration, and increasing extreme weather that will surpass anything witnessed thus far, posing catastrophic consequences for both humanity and the biosphere"

timschmidt•1h ago
I don't mean to lessen the impact of that statement. I think climate change is a serious problem. But also most of the geologic time that genus Homo has existed, Earth has been in an ice age. Much of which we'd consider a "snowball Earth". The last warm interglacial period, the Eemian, was 120,000 years ago.
john_strinlai•11m ago
this is the same style comment as "no offense, but <offensive thing>"

if you didnt intend to lessen the impact of that statement, why say something that is specifically meant to lessen the impact of the statement? just say what you want to say without the hedging.

philipwhiuk•10m ago
What you just wrote is the same as: 'the entire lifecycle of humanity has no precursor to the conditions' we are about to face.

We aren't facing the ice age that has been the last 120,000 years.

I'm sure the rocky planet will survive just fine, maybe even some extreemophiles, even if we completely screw up the atmosphere. Not 6 billion humans though.

myself248•1h ago
Another victim of the preparedness paradox.
acuozzo•1h ago
Don't mistake a defused bomb for a dud.

https://en.wikipedia.org/wiki/Preparedness_paradox

arduanika•5m ago
Thanks! I think about this concept a lot, and now I know there's a name for it. "Preparedness paradox". I'll have to remember that.

And to your point, Y2K is right there on the wiki page for it.

gom_jabbar•56m ago
Made me think of Mark Fisher's Y2K Positive text:

> At the Great Midnight at the century's end, signifying culture will flip over into a number-based counterculture, retroprocessing the last 100 years. Whether global disaster ensues or not, Y2K is a singularity for cybernetic culture. It's time to get Y2K positive.

Mark Fisher (2004). Y2K Positive in Mute.

kristofferR•41m ago
[flagged]
andai•20m ago
It was started by people who thought Twitter didn't have enough censorship (back when it had a lot more).

I guess that's a matter of personal sensibilities, but it's pretty funny to me.

(Note: this is the only fact I know about it, happy to learn more.)

rirze•9m ago
Any social space will break down upon reaching a critical point in representation of the general populace.

I have no idea about the development however.

Alupis•41m ago
Just skimmed the PR, I'm sure the author knows more than I - but why hard code a date at all? Why not do something like `today + 1 year`?
whynotmaybe•29m ago
Because it should be `today + 1 year + randomInt(1,42) days`.

Always include some randomness in test values.

andai•23m ago
Interesting, haven't heard this before (I don't know much about testing). Is this kind of like fuzzing?
whynotmaybe•10m ago
I recently had race condition that made tests randomly fail because one test created "data_1" and another test also created "data_1".

- Test 1 -> set data_1 with value 1

- Test 1 -> `do some magic`

- Test 1 -> assert value 1 + magic = expected value

- Test 2 -> set data_1 with value 2

But this can fail if `do some magic` is slow and Test 2 starts before Test 1 asserts.

So I can either stop parallelism, but in real life parallelism exists, or ensure that each test as random id, just like it would happen in real life.

devin•21m ago
Are you joking? This is the kind of thing that leads to flaky tests. I was always counseled against the use of randomness in my tests, unless we're talking generative testing like quickcheck.
whynotmaybe•17m ago
`today` is random.
rcxdude•21m ago
Not a good idea for CI tests. It will just make things flaky and gum up your PR/release process. Randomness or any form of nondeterminism should be in a different set of fuzzing tests (if you must use an RNG, a deterministic one is fine for CI).
whynotmaybe•4m ago
That's why it's "randomInt(1,42)", not "randomLong()".
CoastalCoder•5m ago
> Always include some randomness in test values.

If this isn't a joke, I'd be very interested in the reasoning behind that statement, and whether or not there are some qualifications on when it applies.

johanvts•28m ago
That introduces dependency of a clock which might be undesirable, just had a similar problem where i also went for hardcoding for that reason.
rcxdude•17m ago
Arguably you should have a fixed start date for any given test, but time is quite hard to abstract out like that (there's enough time APIs you'd want OS support, but linux for example doesn't support clock namespaces for the realtime clock, only a few monotonic clocks)
andai•22m ago
Interesting, from the title I thought it was intentional, as a "forced code review." Apparently not, but now I really like that idea!
adrianpike•10m ago
We've done that at a few places I've been at - it's tricky because if the failure is too short its just annoying toil, but if it's too long there's risk of losing context and having to remember what the heck we were thinking.

Overall it's still net positive for me in certain cases of enforcing things to be temporary, or at least revisited.