frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Self-Consent: When Users Take Control

https://silencelaboratories.com/blog/self-consent-the-next-frontier-for-financial-data-sharing
1•eustoria•52s ago•0 comments

The Large Gilded Coffin of King Tutankhamun

https://egymonuments.gov.eg/news/gilded-coffin-of-king-tutankhamun/
1•brudgers•1m ago•0 comments

Curated collection of A/B test results from best-in-class apps

https://abtest.design/
1•eustoria•2m ago•0 comments

PDE Simulator (the game) – homeoffice viable

https://rogmash.neocities.org/waves
1•rogmash•3m ago•0 comments

Tell HN: GitHub is partially down again

2•croemer•3m ago•0 comments

The Pursuit of Purity (The Right Way to Do AI)

https://marlene.ai/post/ai-pursuit
1•marlene_zw•4m ago•0 comments

I Am Begging You to Read Terry Pratchett

https://www.theatlantic.com/ideas/2026/05/author-terry-pratchett-film/687253/
2•Michelangelo11•5m ago•0 comments

Show HN: Resume Claude Code without replaying your whole session

https://github.com/sofumel/claude-handoff-revive
1•sofumel•5m ago•0 comments

Self-hosted A/B testing in Rust, runs on a $5 VPS

https://easy-experiments.dev/
1•MarkAntipin•5m ago•0 comments

Jomangy: INJ3CTOR3's Self-Healing FreePBX Toll Fraud Campaign

https://cyble.com/blog/jomangy-inj3ctor3s-self-healing-freepbx-toll-fraud-campaign/
1•WeaklingOra•5m ago•0 comments

How Many Solar Panels Would It Take to Equal One Nuclear Reactor?

https://www.bgr.com/2172123/how-many-solar-panel-equal-nuclear-reactor/
1•rustoo•5m ago•0 comments

Show HN: Droast, a Dockerfile linter that stopped being polite

https://ewry.net/droast-dockerfile-linter/
1•immanuwell•7m ago•0 comments

The Megalith Lightning Node

https://megalithic.me/
1•janandonly•8m ago•0 comments

Jensen Huang Just Told Every CEO Hiding Behind AI Layoffs to Shut Up

https://www.thestateofbrand.com/news/jensen-huang-ai-layoffs
3•cdrnsf•9m ago•1 comments

Chrome 148 numeric input bug

https://twitter.com/jaffathecake/status/2059569641609961814
1•keepamovin•10m ago•0 comments

Cost of Electricity by Country 2026

https://worldpopulationreview.com/country-rankings/cost-of-electricity-by-country
2•leonidasrup•12m ago•0 comments

Physics Informed Neural Networks (PINNs): An Intuitive Guide

https://medium.com/data-science/physics-informed-neural-networks-pinns-an-intuitive-guide-fff1380...
1•rramadass•13m ago•1 comments

US data brokers sold Americans' location data to foreign adversaries

https://epic.org/the-33-data-brokers-selling-us-data-to-foreign-actors-according-to-california/
2•Predaxia•13m ago•0 comments

Ripgrep AI Policy

https://github.com/BurntSushi/ripgrep/blob/master/AI_POLICY.md
2•singiamtel•14m ago•0 comments

'Mind-bogglingly crazy': Europe's deadly, early heatwave is smashing records

https://www.yahoo.com/news/weather-news/articles/mind-bogglingly-crazy-europes-deadly-early-heatw...
1•vrganj•14m ago•0 comments

RawBit – Visual Bitcoin raw tx builder

https://rawbit.io
2•rawBit_io•14m ago•1 comments

Want a pi-based domain name? Go long

https://shaungallagher.pressbin.com/blog/pi-domains.html
1•jawns•14m ago•0 comments

Show HN: I made a tool to find invoices in my email and match them to payments

https://billpal.io
1•romanleeb•15m ago•1 comments

SK Hynix joins $1T club after Samsung, Micron on AI chip boom

https://www.reuters.com/world/asia-pacific/sk-hynix-market-capitalisation-tops-1-trln-2026-05-27/
2•akyuu•17m ago•0 comments

ETL CLI – the Swiss army knife you always wanted

https://www.npmjs.com/package/etl-cli
1•zjonsson•17m ago•0 comments

Ask HN: What game have you replayed more times than any other?

1•yashnitro•18m ago•1 comments

Pdf2api – Turn Messy API Doc PDFs into OpenAPI, Postman and SDKs

https://pdf2api.hedvion.com
1•hedvion•21m ago•0 comments

Show HN: ERPC – encrypted, typed RPC over any bidirectional channel

https://github.com/dotexorg/erpc
2•dotexorg•23m ago•0 comments

Atomically precise mechanosynthesis of carbon structures on hydrogenated Silicon

https://arxiv.org/abs/2605.27250
2•gene-h•29m ago•0 comments

Video Quality Evaluation Methodology and Result of AV2 Compression Performance

https://arxiv.org/abs/2605.15800
1•ledoge•29m 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•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 ...