frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

What nearly broke you in your first year as CTO?

1•Cannonball2134•18s ago•0 comments

Zipp 2001 Restoration

https://robot-daycare.com/posts/zipp-2001-restoration-part-1/
1•o4c•1m ago•0 comments

Black Hat USA 2025 – Breaking Control Flow Integrity by Abusing Modern C++ [video]

https://www.youtube.com/watch?v=hxIPoi4ONNA
1•pjmlp•4m ago•0 comments

As US missiles leave South Korea, the Philippines asks: are we next?

https://www.scmp.com/week-asia/politics/article/3346226/us-missiles-leave-south-korea-philippines...
1•etiam•6m ago•0 comments

Show HN: AIWatermarkDetector: Detect AI Watermarks in text or code

https://github.com/ulrischa/AIWatermarkDetector
1•ulrischa•10m ago•1 comments

Whitehall can't cost digital ID until it decides how to build it

https://www.theregister.com/2026/03/11/digital_id_cost/
1•jjgreen•11m ago•0 comments

Meta Acquires Moltbook

https://arstechnica.com/ai/2026/03/meta-acquires-moltbook-the-ai-agent-social-network/
1•lnrd•11m ago•0 comments

The Anthropic Institute

https://www.anthropic.com/institute
1•pretext•12m ago•0 comments

The return-to-the-office trend backfires

https://thehill.com/opinion/technology/5775420-remote-first-productivity-growth/
2•PretzelFisch•13m ago•0 comments

Tensorlake

https://tensorlake.ai/
1•handfuloflight•15m ago•0 comments

Now I have a clear picture. Let me understand the issue

1•noduerme•15m ago•0 comments

I Need a Partner

1•justYooz•16m ago•0 comments

Ask HN: Which EU country would you recommend for setting up a startup?

1•stein1946•16m ago•0 comments

NextCell – a portable spreadsheet editor inspired by Excel 97

https://redata.dev/nextcell/
3•Suliman123•18m ago•1 comments

Show HN: TUI for SVN

https://lazysvn.sawirstudio.com/
1•sawirricardo•21m ago•0 comments

Agentic Risks

https://cloudberry.engineering/article/agentic-risks/
1•gbrindisi•22m ago•0 comments

Ask HN: Why does a black line appear on HN sometimes?

1•bheadmaster•28m ago•3 comments

Ask HN: How do you find joy in a world full of depressing news?

2•Razengan•30m ago•1 comments

Gpsjam GPS/GNSS Interference Map

https://gpsjam.org/
2•jonbaer•34m ago•0 comments

The Quantum Curtain

https://www.defenseone.com/ideas/2026/03/quantum-curtain/411967/
3•jonbaer•37m ago•0 comments

Stacksort

https://gkoberger.github.io/stacksort/
1•mihau•38m ago•0 comments

Mesh – remote mobile forensics and network monitoring

https://github.com/BARGHEST-ngo/MESH
1•0x0v1•38m ago•1 comments

MacBook Neo Review: Better Than You Think

https://www.youtube.com/watch?v=iGeXGdYE7UE
1•keepamovin•39m ago•0 comments

Encode/httpx: Closing off access

https://github.com/encode/httpx/discussions/3784
2•luismedel•40m ago•1 comments

A Kubernetes operator that orchestrates AI coding agents

https://medium.com/@bobbydeveaux/we-built-an-ai-that-plans-codes-reviews-and-ships-and-then-we-us...
2•bobbydeveaux•41m ago•1 comments

AI Agent Hacks McKinsey

https://codewall.ai/blog/how-we-hacked-mckinseys-ai-platform
3•mycroft_4221•42m ago•0 comments

Movies I Highly Recommend

https://github.com/ojhaugen15/12_movies
1•programmexxx•44m ago•0 comments

Richard Feynman's story illustrating the problem of p-hacking

https://twitter.com/SwipeWright/status/2031604331510690112
5•MrBuddyCasino•52m ago•0 comments

Glanceway – Collect RSS and custom plugin data in your macOS menu bar

https://glanceway.app
1•codytseng•53m ago•1 comments

Unbash: Fast 0-deps bash parser written in TypeScript

https://github.com/webpro-nl/unbash
1•mariuz•54m 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•10mo ago

Comments

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