frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The Accursèd Alphabetical Clock

https://boat.horse/clock/index.html
1•ohjeez•2m ago•0 comments

Not Even Noise-Cancelling Headphones Can Block This Bicycle Bell

https://www.carscoops.com/2026/04/skoda-duobell-anc/
1•ohjeez•5m ago•0 comments

Ask HN: What's with the Wargames-like UX lately?

2•beatthatflight•6m ago•1 comments

Why QA and Cyber Security Matter More Than Ever [video]

https://www.youtube.com/watch?v=4K2p7eXAYTM
1•taleodor•6m ago•0 comments

Woman with three deadly diseases has 'remarkable' recovery after cell therapy

https://www.theguardian.com/science/2026/apr/09/autoimmune-diseases-cell-therapy-immune-reset
2•gmays•10m ago•0 comments

Sheaf, a minimal custom 65% keyboard

https://github.com/nxrmqlly/sheaf65
1•sadeshmukh•10m ago•0 comments

Show HN: Memwright – Self-hosted memory for multi-agent teams, no LLM in path

https://github.com/bolnet/agent-memory
1•Bolnet•10m ago•0 comments

Understanding the FFT Algorithm (2013)

https://jakevdp.github.io/blog/2013/08/28/understanding-the-fft/
1•peter_d_sherman•11m ago•0 comments

FL man arrested for running multi-state Ponzi scheme, defrauding victims in MA

https://www.boston25news.com/news/local/florida-man-arrested-running-multi-state-ponzi-scheme-def...
1•1vuio0pswjnm7•20m ago•0 comments

Ask HN: Apple force-updated me to Tahoe. Worth fighting?

2•strogonoff•25m ago•2 comments

Keynot – Kill PowerPoint with HTML

https://github.com/shawnzam/keynot
2•shawnzam•35m ago•0 comments

Dependency cooldowns turn you into a free-rider

https://calpaterson.com/deps.html
2•pabs3•38m ago•0 comments

One size fits none: let communities build for themselves

https://werd.io/one-size-fits-none-let-communities-build-for-themselves/
1•benwerd•38m ago•0 comments

Glyphosate resistance: a driver for multidrug-resistant clinical strains?

https://www.frontiersin.org/journals/microbiology/articles/10.3389/fmicb.2026.1740431/full
1•PaulHoule•39m ago•0 comments

Gauss' Secret Way to Calculate π Faster [video]

https://www.youtube.com/watch?v=7qiDDhIYx48
1•peter_d_sherman•41m ago•1 comments

Not all elementary functions can be expressed with exp-minus-log

https://www.stylewarning.com/posts/not-all-elementary/
2•mmastrac•42m ago•0 comments

Show HN: StockFit API – structured SEC EDGAR data with a free tier

https://developer.stockfit.io
1•areimann•47m ago•1 comments

The GNU libc atanh is correctly rounded

https://inria.hal.science/hal-05591661
1•matt_d•53m ago•0 comments

Google Arts and Culture

https://artsandculture.google.com/
2•satvikpendem•1h ago•0 comments

How to recover from a Git force push

https://gist.github.com/tomj/758d16b7f8e474035db72688663bb3cb
2•nstj•1h ago•0 comments

Adam Tooze: Electrostates, Petrostates and the New Cold War [video]

https://www.youtube.com/watch?v=gLnxzkiB-GI
1•verdverm•1h ago•0 comments

The Legend of Meir Berliner

https://www.serargentino.com/en/people/urban-legends/the-legend-of-meir-berliner
1•wslh•1h ago•0 comments

Social media age limits: Well intentioned but ineffective?

https://www.dw.com/en/do-social-media-age-limits-work-tiktok-instagram-cyberbullying-depression-k...
2•pseudolus•1h ago•0 comments

OpenAI's $852B valuation faces investor scrutiny amid strategy shift, FT reports

https://www.reuters.com/legal/transactional/openai-investors-question-852-billion-valuation-strat...
37•abdelhousni•1h ago•29 comments

The Many Faces of Claude

https://eriskii.net/projects/claude-faces
4•TheAceOfHearts•1h ago•0 comments

Ask HN: When you get a SAST finding, what's harder

2•kirumachi•1h ago•1 comments

Sony killing features for antenna, set-top box users of Bravia smart TVs in May

https://arstechnica.com/gadgets/2026/04/sony-killing-features-for-antenna-set-top-box-users-of-br...
1•canucker2016•1h ago•0 comments

"The Last Airbender" movie leaked 9 months before release date

https://nofilmschool.com/full-length-avatar-movie-leaks
2•tennysont•1h ago•2 comments

What do you want out of a coding monospace font?

1•d0able•1h ago•4 comments

The Mythos Threshold

https://joereis.substack.com/p/the-mythos-threshold
2•gmays•1h ago•1 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•11mo ago

Comments

qwertox•11mo ago
Rule #1: Always put deletions behind a flag which is disabled for the first couple of test runs.
turtleyacht•11mo 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•11mo 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•11mo ago
Oh, I see. Having a flag to skip deletion during test runs is a good rule then.
rvz•11mo 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•11mo ago
Who runs such an AI generated script without checking the code first?
qwertox•11mo 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•11mo ago
Right so lets just always run the code as is ?
qwertox•11mo 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•11mo 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•11mo ago
In which Roko's Basilisk fires a warning shot.
jethronethro•11mo ago
This is why you test code or a script before running it for real. Live and learn, I guess ...