frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

More Minitest:Spec Shenanigans

https://remimercier.com/more-minitest-spec/
1•thunderbong•28s ago•0 comments

Vibe → Environment → Culture: Why Leadership Gets This Backwards

https://medium.com/@hnshah/vibe-environment-culture-why-leadership-gets-this-backwards-c8b26af42519
1•BerislavLopac•2m ago•0 comments

The Future of AI in Ubuntu

https://discourse.ubuntu.com/t/the-future-of-ai-in-ubuntu/81130
1•jmngomes•4m ago•0 comments

Hyperscale data center in Utah to consume more power than entire state

https://www.sltrib.com/news/2026/04/25/hyperscale-data-center-may-be/
1•elsewhen•4m ago•0 comments

DeepMind Releases Vision Banana: Frontier Generalist Image Model

https://vision-banana.github.io/#results
1•filkny•6m ago•0 comments

Who Asked for This?

https://calnewport.com/who-asked-for-this/
1•ingve•12m ago•0 comments

Bug Bounty Guide – Methodology, AI tools, and lessons from 4 years of hunting

https://aituglo.com/guide/bug-bounty/
2•aituglo•13m ago•1 comments

Dynamic Pricing in B2B ECommerce in 2026

https://virtocommerce.com/blog/dynamic-pricing-in-b2b-ecommerce
1•vcmarketing•15m ago•1 comments

Ask HN: Is there a good CV review service for tech roles in Switzerland?

3•swissdom•17m ago•0 comments

A man who is paying to see the future – Semafor

https://www.semafor.com/article/04/24/2026/the-man-who-is-paying-to-see-the-future
1•voisin•17m ago•0 comments

RLM: LLMs to process arbitrarily long prompts with inference-time scaling (2025)

https://github.com/alexzhang13/rlm
1•ihrimech•17m ago•1 comments

FDA Approves First-Ever Gene Therapy for Treatment of Genetic Hearing Loss

https://www.fda.gov/news-events/press-announcements/fda-approves-first-ever-gene-therapy-treatmen...
1•JeanKage•20m ago•0 comments

France's Mistral Built a $14B AI Empire by Not Being American

https://www.forbes.com/sites/iainmartin/2026/04/16/how-frances-mistral-built-a-14-billion-ai-empi...
5•rzk•21m ago•2 comments

Httpxyz One Month In

https://tildeweb.nl/~michiel/httpxyz-one-month-in.html
1•roywashere•21m ago•0 comments

Ask HN: AI is like a hyper-motivated 16-year old genius – how to manage?

1•axeldunkel•22m ago•1 comments

Show HN: Launch Your Product. Get Seen Weekly

1•kalashvasaniya•23m ago•0 comments

Show HN: Renda Converts Claude Design HTML Zips into Instagram/Twitter PNGs

https://tryrenda.com/
1•Chips20•24m ago•0 comments

Show HN: Web Client for Hermes Agent

https://github.com/lotsoftick/hermes_client
1•lotsoftick•24m ago•0 comments

Show HN: OpenClaw Web Client

https://github.com/lotsoftick/openclaw_client
1•lotsoftick•25m ago•0 comments

Yahoo asking for subscription payment to send and receive emails

1•whyleym•26m ago•1 comments

Leaked results of Mythos' audit of the Rust stdlib

https://github.com/Swival/security-audits/tree/main/rust-stdlib
3•stavros•31m ago•0 comments

Understanding UMAP

https://pair-code.github.io/understanding-umap/
2•monneyboi•34m ago•0 comments

Jester Linux – A beginner-friendly desktop OS powered by NixOS and Lix

https://jesterlinux.org/blog/hello-world/
1•aprl•35m ago•0 comments

Foldergram – Self-hosted folder-based Instagram-style photo and video gallery

https://github.com/foldergram/foldergram
1•sebakubisz•35m ago•0 comments

Automate your contract process, the Docusign nightmare

https://www.getprobo.com/blog/2026-04-24-how-we-automated-our-client-contract-process
1•arthurmyx•36m ago•1 comments

Java: The Documentary (Trailer)

https://www.youtube.com/watch?v=cwLYS_xDvSw
2•Tomte•38m ago•0 comments

4TB of voice samples just stolen from 40k AI contractors at Mercor

https://app.oravys.com/blog/mercor-breach-2026
4•Oravys•38m ago•0 comments

Ask HN: Can you tell the difference between Claude Sonnet and Opus?

1•muddi900•40m ago•1 comments

Ask HN: Is it a good idea to add a Design your download page?

1•gray_wolf_99•43m ago•0 comments

TidesDB – Fast, persistent, scalable key-value storage for modern systems

https://tidesdb.com
2•alexpadula•43m 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 ...