frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

When can the C++ compiler devirtualize a call?

https://quuxplusone.github.io/blog/2021/02/15/devirtualization/
1•lionkor•27s ago•0 comments

Fast16 Sabotage Tool Was Built to Subvert Nuclear Weapons Simulations

https://www.security.com/threat-intelligence/fast16-nuclear-sabotage
1•ledoge•41s ago•0 comments

Writing Z80 assembly, 4 decades later:-)

https://github.com/ttsiodras/3D-on-a-ZX-Spectrum-48K/
1•ttsiodras•3m ago•0 comments

MegaTrain Full Precision Training of 100B+ Parameter LLMs on a Single GPU

https://github.com/DLYuanGod/MegaTrain
1•adulau•6m ago•0 comments

WHO declares Ebola outbreak in DR Congo a global health emergency

https://www.bbc.co.uk/news/articles/c2l2p0wwzzdo
1•lifeisstillgood•6m ago•0 comments

Ra

https://qntm.org/ra
2•sim04ful•18m ago•0 comments

How to Tell If You're Living in a Binary Crisis

https://www.honest-broker.com/p/how-to-tell-if-youre-living-in-a-8ee
1•Khaine•22m ago•0 comments

Strait of Hormuz submarine cable

https://www.cnn.com/2026/05/17/middleeast/iran-hormuz-undersea-cables-intl
1•reconnecting•22m ago•0 comments

Towards local plug-and-play AI

https://adlrocha.substack.com/p/adlrocha-towards-local-plug-and-play
1•adlrocha•28m ago•0 comments

Why are there squares everywhere in statistics?

https://statmodeling.stat.columbia.edu/2026/05/16/why-are-there-squares-everywhere-in-statistics-...
1•Tomte•33m ago•0 comments

Show HN: Extendable API Gateway Written in Go

2•starwalkn•33m ago•1 comments

Std: Is_heap Could Be Faster

https://quuxplusone.github.io/blog/2026/05/11/is-heap/
1•signa11•34m ago•0 comments

Trump's More Than 3,700 Trades Astonish Wall Street Insiders

https://www.bloomberg.com/news/articles/2026-05-14/trump-bought-nvidia-boeing-microsoft-in-flurry...
2•_tk_•34m ago•0 comments

Unit Testing's Eval Twin

https://volary.ai/articles/unit-testings-eval-twin
2•CamouflagedKiwi•41m ago•0 comments

Show HN: Onami Radio, a simple radio app for iOS

https://marigov.github.io/onami/
3•marigov•43m ago•0 comments

BT.1886 Shorthand Is a Trap

https://daejeonchronicles.com/2026/05/07/bt-1886-shorthand-is-a-trap/
1•Prasadnarava•43m ago•0 comments

Judge Says Krafton Must Rehire Fired 'Subnautica' CEO

https://www.bloomberg.com/news/articles/2026-03-16/judge-says-krafton-must-rehire-fired-subnautic...
1•_tk_•49m ago•0 comments

Softmax in front of CrossEntropyLoss: 16 other bugs PyTorch won't catch

https://gaox.substack.com/p/how-a-road-network-library-helped
1•neurarch•50m ago•0 comments

A Basic Interpreter in Markdown, Running "Natively" in Claude Code

https://dunkels.com/adam/llm-basic-interpreter-markdown/
1•adunk•56m ago•0 comments

Playing Atari ST Music on the Amiga with Zero CPU

https://arnaud-carre.github.io/2026-05-15-ym-fast-emu/
10•z303•58m ago•0 comments

Patrick Collison – Detroit Impressions

https://twitter.com/patrickc/status/2055733308877881807
1•rmason•1h ago•1 comments

UWB Mobile Suica isn't just walk-through gates, it's payments too

https://atadistance.net/2026/05/13/uwb-mobile-suica-isnt-just-walkthrough-gates-its-payments-too/
1•ksec•1h ago•0 comments

ConnectAI – LinkedIn DM Generator

https://chromewebstore.google.com/detail/connectai-—-linkedin-dm-g/cjfnhjpheldgcfmipcmibbmlfmpf...
1•sujalmeena•1h ago•2 comments

Contrast-Proofing Colors with CSS

https://dan-webnotes.com/posts/2026-05-16-contrast-proofing-colors/
1•dandep•1h ago•0 comments

Ten Signs of Fascism. America has all of them

https://rutgerbregman.substack.com/p/10-signs-of-fascism-america-has-all
34•fredski42•1h ago•9 comments

What the FDA won't tell you about your medications (transcript, Propublica)

https://www.propublica.org/podcast/what-fda-wont-tell-you-generic-drugs-safety
1•abawany•1h ago•0 comments

I built a fake Phantom wallet generator

https://larpwallet.app
1•Jhoney•1h ago•2 comments

Neptune: Direct3D Virtualization for QEMU

https://blog.getutm.app/2026/introducing-neptune-direct3d-virtualization-for-qemu/
2•oofdere•1h ago•0 comments

From raw logs to programmable EVM execution intelligence

https://blog.bridgexapi.io/the-anatomy-of-programmable-evm-execution-intelligence
1•Bridgexapi•1h ago•0 comments

kharp – k version 3 Language Interpreter in C#

https://github.com/ERufian/ksharp
1•tosh•1h ago•0 comments
Open in hackernews

I asked Gemini for a script to move files to Cloudflare R2. It deleted them

https://twitter.com/levelsio/status/1921974501257912563
6•bundie•1y ago

Comments

qwertox•1y ago
Rule #1: Always put deletions behind a flag which is disabled for the first couple of test runs.
turtleyacht•1y ago
It was truncating filenames, so /pics/1003-46.png overwrote /pics/1003-45.png because both were renamed /pics/1003-.png, or something like that.
qwertox•1y ago
Truncating file names for the target. Then it proceeded to delete the source file. "Successfully deleted local file: ..."

I mean, look at the printout. It shows that it created the remote file with the truncated filename, then deletes the local file with the correct filename.

turtleyacht•1y ago
Oh, I see. Having a flag to skip deletion during test runs is a good rule then.
rvz•1y ago
Recently there was a story about an updater causing a $8,000 bill because there was a lack of basic automated tests to catch the issue. [0]

The big lesson here is that you should actually test the code you write and also write automated tests to check any code generated by an LLM that the code is correct in what it does.

It is also useless to ask another AI to check for mistakes created by another LLM. As you can see in the post, both of them failed to catch the issue.

This why I don't take this hype around 'vibe-coding' seriously since not only it isn't software engineering, it promotes low quality and carelessness over basic testing and dismisses in checking that the software / script works as expected.

Turning $70 problems found in development into $700,000+ costs in production.

There are no more excuses in not adding tests.

[0] https://news.ycombinator.com/item?id=43829006

victorbjorklund•1y ago
Who runs such an AI generated script without checking the code first?
qwertox•1y ago
To be fair, the code Gemini outputs in AI Studio is so extremely verbose that it is almost impossible to read through it.

It turns 10 lines of code which is perfectly fine to reason about into 100 lines of unreadable code full of comments and exception handling.

weatherlite•1y ago
Right so lets just always run the code as is ?
qwertox•1y ago
No. Not at all. I've settled to discussing my code with Gemini. That way it works very well. I explicitly say "Comment on my code and discuss it" or "Let's discuss code for a script doing this and that. Generate me an outline and let's see where this leads. Don't put comments in the code, nor exception handling, we're just discussing it".

Or you create elaborate System Instructions, since it adheres to them pretty well.

But out-of-the-box, Gemini's coding abilities are unusable due to the verbosity.

I've even gone so far to tell it that it must understand that I am just a human and have limited bandwidth in my brain, so it should write code which is easy to reason about, that this is more important than having it handle every possible exception or adding multiline comments.

rsynnott•1y ago
> To be fair, the code Gemini outputs in AI Studio is so extremely verbose that it is almost impossible to read through it.

In which case, it should simply be considered unusable. Like, the sensible response to "tool is so inadequate that there is no reasonable way to make sure its output is safe" is to _not use that tool_.

rsynnott•1y ago
In which Roko's Basilisk fires a warning shot.
jethronethro•1y ago
This is why you test code or a script before running it for real. Live and learn, I guess ...