frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

I built a tool to auto-generate iMessage replies from my actual history

https://github.com/aditya-r123/iMessage-Bot
1•adityarao4•3m ago•0 comments

How Many Questions Can the World Afford to Ask AI?

https://www.chicagobooth.edu/review/how-many-questions-can-world-afford-ask-ai
1•chris_money202•3m ago•0 comments

New Zealand's close shave with the mongoose

https://thespinoff.co.nz/science/18-05-2026/nzs-close-shave-with-the-mongoose
1•HBcodes•5m ago•0 comments

Nvidia Rides Blistering Chip Sales to Another Record Quarter

https://www.wsj.com/tech/ai/nvidia-nvda-1st-quarter-earnings-report-2026-stock-c2bb9c1c
1•bookofjoe•6m ago•1 comments

Meta Begins AI-Driven Layoffs, Report Says. Can They Boost the Struggling Stock?

https://www.barrons.com/articles/meta-stock-ai-layoffs-f9dba997
1•1vuio0pswjnm7•10m ago•0 comments

InferenceBench: A Benchmark for Open-Ended Inference Optimization by AI Agents

https://inferencebench.ai/
1•matt_d•11m ago•0 comments

Valkey 9.1 trims memory 10% and pulls search into the core

https://thenewstack.io/valkey-91-cuts-memory/
1•ohjeez•13m ago•0 comments

RFC 9989: What's New in the Latest DMARC Specification

https://dmarcchecker.app/articles/rfc-9989-dmarc-changes
1•awulf•14m ago•0 comments

Tracking Capabilities for Safer Agents

https://arxiv.org/abs/2603.00991
1•matt_d•19m ago•0 comments

The Elements of Power (AI Supply Chain)

https://z-library.im/book/xkRN77V9kg/the-elements-of-power-a-story-of-war-technology-and-the-dirt...
1•mmirshekar•20m ago•0 comments

JAM: DSP audio engine programmable via AI chat

https://jeffsaudiomachines.com/my-story
1•jcward•22m ago•1 comments

Ask HN: Mac users – has Mac-to-Android texting broke for you, since macOS 26.5?

https://discussions.apple.com/verify-human/verify.html?next=/thread/256300699
1•akulbe•22m ago•2 comments

Marketing Help

https://itcrowd.io
1•chrisrichardson•23m ago•0 comments

Anti-Meme Explosion

https://www.jernesto.com/articles/anti_meme_explosion
3•slopranker•25m ago•2 comments

Search engines and me. Is the classic internet dying? [off-topic]

1•nullpwr•27m ago•3 comments

SpaceX files for IPO that could make Elon Musk a trillionaire

https://www.bbc.com/news/articles/cg4pe2953q1o
2•colinprince•29m ago•0 comments

Kickstarter apologises for its criticised adult content rules

https://www.eurogamer.net/kickstarter-adult-content-rules-censorship-apology
1•healsdata•29m ago•0 comments

Primer Pay – micropayments for WordPress on Base requiring Chrome extension

https://wordpress.org/plugins/primer-pay/
1•adrianwaj•32m ago•1 comments

Deep – CLI/REPL for generating and iterating on codebases using DeepSeek

https://github.com/cynchro/deepseekCLI
2•cynchro980•33m ago•0 comments

Show HN: udoc. Dependency-free document extraction in Rust

https://newelh.github.io/udoc/
2•newelh•35m ago•1 comments

Understanding Bitcoin Inscriptions

https://www.learnbitcoin.com/glossary/inscriptions
3•granya•37m ago•2 comments

New Bitcoin Fee Pressure Signal

https://chainquery.com/reports/fee-pressure
2•granya•39m ago•0 comments

Global Biolab Map

https://global-biolab-atlas.netlify.app/
1•sebg•39m ago•0 comments

Staged Publishing for NPM Packages

https://docs.npmjs.com/staged-publishing/
1•jonchurch_•41m ago•1 comments

Moe inference optimizations: 15% lower expert load by request reordering

https://blog.doubleword.ai/moe-expert-coactivations
1•mezark•43m ago•0 comments

Show HN: A fast, free AI rewriter

https://revise.io/ai-rewriter
2•artursapek•46m ago•0 comments

Model Thinking – Percolation Models (2020) [video]

https://www.youtube.com/watch?v=Bs0QuGYrPAI
1•throwaw12•47m ago•0 comments

Shareable text box

https://txt.box
2•shikhar•47m ago•0 comments

Boundaries – A Talk by Gary Bernhardt

https://www.destroyallsoftware.com/talks/boundaries
2•throwaw12•48m ago•0 comments

DOS Zone

https://dos.zone/
32•rglover•55m ago•7 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 ...