frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

All your agents are going async

https://zknill.io/posts/all-your-agents-are-going-async/
1•zknill•14s ago•0 comments

The Anatomy of Tool Calling in LLMs: A Deep Dive

https://martinuke0.github.io/posts/2026-01-07-the-anatomy-of-tool-calling-in-llms-a-deep-dive/
1•tonyl•33s ago•0 comments

Xonsh shell 0.23 REFORGED – not just a release

https://github.com/xonsh/xonsh/releases/tag/0.23.0
1•combisearch•2m ago•1 comments

Show HN: DSS, a new human-readable and plain format for XLS and spreadsheets

https://github.com/Datastripes/DataSheetStandard/
1•vinserello•3m ago•0 comments

Show HN: OpenBridge – turn web chat access into an OpenAI-compatible endpoint

2•linuz•4m ago•0 comments

The Pirate Bay's Oldest Torrent Turned 22

https://torrentfreak.com/the-pirate-bays-oldest-torrent-turned-22/
3•franczesko•10m ago•0 comments

Heatwaves in the Indo-Gangetic Plains: Why Local Conditions Matter

https://www.iitb.ac.in/research-highlight/heatwaves-indo-gangetic-plains-why-local-land-and-atmos...
1•akbarnama•14m ago•0 comments

A Hot-Air Balloon Landed in a California Backyard. The Owner Says It's A '

https://www.wired.com/story/a-brief-interview-with-the-owner-of-the-hot-air-balloon-that-landed-i...
1•joozio•16m ago•0 comments

Less human AI agents, please

https://nial.se/blog/less-human-ai-agents-please/
5•nialse•21m ago•1 comments

Show HN: Alignear – Client communication layer for Linear teams

https://alignear.com/
3•madatbay•22m ago•0 comments

The Fencing Visualization System

https://bsky.app/profile/kcimc.bsky.social/post/3mjxchuwkzs2v
4•mariuz•35m ago•0 comments

Berea college makes tuition free with its endowment

https://www.theatlantic.com/education/archive/2018/10/how-berea-college-makes-tuition-free-with-i...
3•KnuthIsGod•41m ago•0 comments

Iran claims US backdoors knocked out networking equipment

https://www.theregister.com/2026/04/21/iran_claims_us_used_backdoors/
4•defrost•46m ago•1 comments

Writing Node.js Addons with .NET Native AOT

https://devblogs.microsoft.com/dotnet/writing-nodejs-addons-with-dotnet-native-aot/
3•soheilpro•52m ago•0 comments

Using Changesets in a polyglot monorepo

https://luke.hsiao.dev/blog/changesets-polyglot-monorepo/
4•lwhsiao•53m ago•0 comments

Louis Zocchi, inventor of the d100, has died

https://icv2.com/articles/news/view/62176/r-i-p-louis-zocchi-the-godfather-dice
11•sgbeal•1h ago•1 comments

Ask HN: What are some of your favorite dedication pages in a book?

3•chistev•1h ago•0 comments

Palantir manifesto – 'ramblings of a supervillain' amid UK contract fears

https://www.theguardian.com/technology/2026/apr/21/palantir-manifesto-uk-contract-fears-mps
3•mindracer•1h ago•0 comments

WinShader: Curated GL Shaders in a Screensaver

https://github.com/PsyChip/WinShader
3•psychip•1h ago•0 comments

A mad undertaking: An undefinitive guide to the Aadam Jacobs collection

https://aadamjacobscollection.org/
3•wise_blood•1h ago•0 comments

OMGfixMD – Comment on Markdown like it's a doc

https://omgfixmd.com/
3•ladiamant•1h ago•0 comments

Cocaine alters the movement of salmon in a large natural lake

https://www.sciencedirect.com/science/article/pii/S0960982226003155
3•tobr•1h ago•1 comments

Google Cloud in the list of 4 EU sovereign cloud providers

https://www.theregister.com/2026/04/20/europe_picks_4_sovereign_cloud/
1•kouzant•1h ago•1 comments

Amazon 'strong-armed' Levi's, Hanes to hike prices on rival sites, DA says

https://www.cnbc.com/2026/04/20/california-da-amazon-price-fixing-walmart-target.html
5•1vuio0pswjnm7•1h ago•0 comments

Canada has banned employers from ghosting job candidates

https://www.positive.news/society/canada-has-banned-employers-from-ghosting-job-candidates/
7•jethronethro•1h ago•0 comments

Types and Neural Networks

https://www.brunogavranovic.com/posts/2026-04-20-types-and-neural-networks.html
5•bgavran•1h ago•1 comments

With Orban Out, the Pianist András Schiff Plans a Return to Hungary

https://www.nytimes.com/2026/04/20/arts/music/andras-schiff-piano-viktor-orban-hungary.html
2•mykowebhn•1h ago•0 comments

In major policy shift, Japan scraps limits on lethal arms exports

https://www.japantimes.co.jp/news/2026/04/21/japan/politics/japan-lethal-weapons-export-rules-eased/
2•geox•1h ago•0 comments

The Hero's Journey Is Burning the Planet

https://abiawomosu.substack.com/p/the-heros-journey-is-burning-the
2•rcy•1h ago•0 comments

At Long Last, InfoWars Is Ours

https://theonion.info/
2•throwaway81523•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 ...