frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

They Think

https://ericsilberstein1.github.io/how-they-think-book/
1•whobre•6m ago•0 comments

Reggae the seal uses rubber ducks for daily enrichment training

https://apnews.com/article/reggae-seal-rubber-duck-boston-aquarium-training-b0c43808394cc73586368...
1•1659447091•11m ago•0 comments

Show HN: CRTX – AI code gen that tests and fixes its own output (OSS)

https://github.com/CRTXAI/CRTX
1•johnnycash926•15m ago•0 comments

US 500 Excluding Artificial Intelligence Enablers Price Return Index

https://www.google.com/finance/quote/SPXXAI:INDEXCME
3•mattas•20m ago•0 comments

Show HN: Check iOS Cert Status via our easy to use API

https://novadev.vip/api/
2•SuperGamer474•22m ago•0 comments

A war foretold:how the CIA and MI6 got hold of Putin's Ukraine plans and why

https://www.theguardian.com/world/ng-interactive/2026/feb/20/a-war-foretold-cia-mi6-putin-ukraine...
4•geoka9•24m ago•0 comments

The coding agent is dead

https://ampcode.com/news/the-coding-agent-is-dead
2•ElasticBottle•26m ago•0 comments

Klarna's shift to AI agents threatens traditional SaaS valuations

https://roundly.io/blog/klarna-ai-agents-replacing-saas
2•roundly_io•29m ago•1 comments

Show HN: YAML-schema-router – content-based schema routing for yaml ls

https://github.com/traiproject/yaml-schema-router
2•drLuca•34m ago•1 comments

Show HN: TypstMe – Build ATS-proof resumes using Typst and WASM

2•yoangilliand•36m ago•0 comments

Ask HN: Can RAG be used for recommendation system?

2•pinner•40m ago•0 comments

Ask HN: What happens to all the hardware when data centers upgrade?

3•givemeethekeys•40m ago•0 comments

CSLib: A Focused Effort on Formalizing Computer Science in Lean

https://www.cslib.io/
2•md224•42m ago•0 comments

Steve Webber on Multics

https://www.youtube.com/watch?v=0gzjrF9r6QA
2•twoodfin•42m ago•0 comments

Unlocking full-body human motor learning at scale

https://amathislab.github.io/mm-blog/
2•moatmoat•42m ago•0 comments

A Bollywood Spy Thriller Crosses the India-Pakistan Divide

https://www.bloomberg.com/news/articles/2026-02-20/bollywood-epic-dhurandhar-breaks-records-in-in...
2•petethomas•43m ago•0 comments

Show HN: Velo – Open-source, keyboard-first email client in Tauri and Rust

3•Espired•51m ago•0 comments

If Chatbots Can Replace Writers, It's Because We Made Writing Replaceable

https://thewalrus.ca/if-chatbots-can-replace-writers-its-because-we-made-writing-replaceable/
4•eon01•51m ago•0 comments

What Is OAuth?

https://leaflet.pub/p/did:plc:3vdrgzr2zybocs45yfhcr6ur/3mfd2oxx5v22b
10•cratermoon•52m ago•0 comments

Napkin Math

https://github.com/sirupsen/napkin-math
3•fagnerbrack•52m ago•0 comments

The Rise and Fall of Scala: A Love Letter to the Language That Broke My Heart

https://medium.com/@naveensky/the-language-that-made-me-feel-like-a-genius-until-it-didnt-my-brea...
3•b-man•55m ago•0 comments

Cord: Coordinating Trees of AI Agents

https://www.june.kim/cord
16•gfortaine•58m ago•2 comments

Heaven Has a Physical Location, a Physicist Claims

https://www.popularmechanics.com/science/a70423234/location-of-heaven/
3•nikolay•59m ago•4 comments

Facebook Is Doing A-Okay

5•givemeethekeys•1h ago•2 comments

Show HN: Share Your Ideas with the Community

https://novadev.vip/share/
2•SuperGamer474•1h ago•0 comments

Precise exceptions in relaxed architectures [video]

https://www.youtube.com/watch?v=JkNgZz4bu1E
2•matt_d•1h ago•1 comments

An Archaeological Dig Through the Extropian Archives

https://mtabarrok.com/extropia-archaeology
2•jdkee•1h ago•0 comments

India's Sarvam 105B LLM tops OCR benchmarks

https://timesofindia.indiatimes.com/technology/tech-news/explained-what-is-indias-sarvam-ai-model...
2•dyauspitr•1h ago•0 comments

Show HN: I created a beautiful number animation library for React Native

https://number-flow-react-native.awingender.com/
2•WingenderA•1h ago•0 comments

Correcting the Financial Times Report about AWS, Kiro, and AI

https://www.aboutamazon.com/news/aws/aws-service-outage-ai-bot-kiro
3•nonfamous•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•9mo ago

Comments

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