frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

U.S. Lawmakers Are Poised to Keep Chinese Cars Out Through 2042

https://www.wsj.com/business/autos/u-s-lawmakers-are-poised-to-keep-chinese-cars-out-through-2042...
2•bookofjoe•2m ago•1 comments

Show HN: Does your browser/SSH client use post-quantum key exchange?

https://amipostquantum.com/
1•keito•2m ago•0 comments

Show HN: Readback – hear Claude Code and approve its prompts by voice

https://github.com/badedokun/readback
1•terramind•3m ago•0 comments

On Human Agency

https://scholarstage.substack.com/p/thoughts-on-human-agency
1•jger15•3m ago•1 comments

Show HN: Detached – Share a Git repo without the BS

https://detached.to/
1•pwnicholls•6m ago•0 comments

What?

1•lofon•11m ago•1 comments

Harvest Now, Decrypt Later

https://en.wikipedia.org/wiki/Harvest_now,_decrypt_later
1•chistev•11m ago•0 comments

What Bill Gates Expects from AI

https://www.economist.com/business/2026/12/03/what-bill-gates-expects-from-ai
1•doener•13m ago•0 comments

Llama Runner and Chat client/harness

2•merlinwarage•14m ago•0 comments

The post-quantum right answers for December 2026

https://www.latacora.com/blog/post-quantum-right-answers-december-2026/
2•DASD•15m ago•0 comments

Birdwatching expert tracked down every single bird in Grand Theft Auto VI

https://www.cbc.ca/news/entertainment/gta-6-birdwatching-9.7437865
1•kartik147•16m ago•0 comments

Post Quantum Cryptography: AI merely moved the deadline

https://www.vincirufus.com/en/posts/post-quantum-cryptography-ai-merely-moved-the-deadline/
2•vincirufus•17m ago•0 comments

Devin Gets a GPU

https://devin.ai/blog/devin-gets-a-gpu
2•gmays•24m ago•0 comments

Personal Finance in Claude

https://claude.com/resources/articles/introducing-personal-finance-in-claude
24•alwillis•25m ago•33 comments

NYC Council approves ban on fastest e-bikes

https://gothamist.com/news/nyc-council-poised-to-pass-sweeping-e-bike-safety-measures-including-s...
2•geox•25m ago•1 comments

Show HN: We crashed agents on 6 frameworks after an approval. All paid twice

https://salahmakboul.github.io/call4agents/leaderboard/
1•iuogh71•28m ago•0 comments

Show HN: Skyofsound – A star map of 6,291 music genres

https://skyofsound.com/
1•giuocopiano•29m ago•0 comments

What It Takes to Make Critical Mineral Recovery Bankable and Insurable

https://ccsi.columbia.edu/news/what-it-takes-to-make-critical-mineral-recovery-bankable-and-insur...
1•crookedroad44•30m ago•0 comments

Geothermal startup is betting lasers can slash drilling costs 95%

https://techcrunch.com/2026/12/03/this-geothermal-startup-is-betting-lasers-can-slash-drilling-co...
1•crookedroad44•31m ago•0 comments

Mixpanel: AI agent now run more queries than humans do

https://mixpanel.com/blog/agent-vs-human-queries/
1•danielwbean•31m ago•0 comments

RSI Bench: Measuring Whether AI Agents Can Improve Themselves

https://labs.scale.com/blog/rsi-bench
2•gmays•32m ago•0 comments

Microsoft Should Watch the Expanse

https://idiallo.com/blog/microsoft-should-watch-the-expanse
2•firefoxd•32m ago•0 comments

Assay: A monthly overlay journal for AIxScience

https://assay.pub/
2•jdwor•33m ago•0 comments

TechCrunch laid off 5 of its last startup-focused reporters today

https://twitter.com/joshconstine/status/2128221317895995509
1•doener•33m ago•0 comments

Is my website post-quantum?

https://ismywebsitepostquantum.vercel.app/
1•minasrc•34m ago•0 comments

A new website with PC specs for tech enthusiasts

https://allpcs.ca/en
1•boredace•34m ago•1 comments

Trump Signals That His Support for Nvidia's Jensen Huang Has Its Limits

https://www.nytimes.com/2026/12/03/us/politics/trump-nvidia-jensen-huang.html
2•JumpCrisscross•35m ago•1 comments

Cursive Muse previews cursive signature styles at real size before PNG export

https://cursivemuse.com/muse/
2•pu_jagen_cm•35m ago•0 comments

Show HN: Collect and triage feedback from users and AI agents

https://mostlovedproduct.com/
1•jcoc611•36m ago•0 comments

Ask HN: How to present my work (Internet and Software) to 3rd graders?

2•recvonline•37m 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 ...