frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Reflecting on the Optimizely Incident and Why We Keep Failing

https://scotthelme.co.uk/reflecting-on-the-optimizely-incident-and-why-we-keep-failing/
1•speckx•53s ago•0 comments

MacVisor – Run your Mac as a virtualization host

http://macvisor.app/
3•rohityadavcloud•1m ago•0 comments

The Benefit of Art – George Eliot, the Natural History of German Life [pdf]

https://www.laits.utexas.edu/farrell/documents/NaturalHistory.pdf
1•tylerdane•2m ago•1 comments

Mistral offers three months of Vibe Pro free in Europe

https://x.com/MistralAI/status/2122713540666806397
2•DavCreator•3m ago•1 comments

Local first, OSS meeting notetaker

https://merkwerk.dev/
1•arzelaascoli•3m ago•0 comments

DNA Damage and Lifespan

https://www.science.org/content/blog-post/dna-damage-and-lifespan?referrer=https%3A%2F%2Fnews.goo...
1•bookofjoe•3m ago•0 comments

Show HN: A live globe of the gamedev GitHub pushes

https://worldspace.crankyfuse.io/
1•crankyfuse•3m ago•0 comments

Show HN: ChineseHuangli: A modern spin of traditional Chinese almanac calendar

https://chinesehuangli.com/
1•solous•4m ago•0 comments

Show HN: Hopkey, one ⌘T command bar for Safari, Chrome, Brave, Edge and Vivaldi

https://hopkey.app/
1•en3sis•4m ago•0 comments

Horizon Labs

https://horizon-labs.ai/
1•pretext•4m ago•0 comments

AMD ends confusion during DDR5 memory training, thanks to this new BIOS feature

https://www.club386.com/amd-asus-memory-training-debug-bios-update/
1•robin_reala•5m ago•0 comments

Disney plans $3B in cuts and more layoffs even as its profit doubles

https://www.martincid.com/business/disney-3-billion-cost-cuts-more-layoffs-profit-doubles/
1•thunderbong•5m ago•0 comments

Vulnerability Garden – A list of named vulnerabilities, attacks, and exploits

https://vulnerability.garden/
1•OuterVale•6m ago•0 comments

Bolt's Scooters Are Becoming Accessibility Sensors

https://geoawesome.com/bolt-scooters-accessibility-mapping-wheels4wheels/
1•chippy•6m ago•1 comments

Show HN: An AI app controlled from your phone's Picture in Picture

https://barnacle.qa
2•billychasen•6m ago•0 comments

Built a free resume edit tool thats landing offers

https://v3.edit2offer.com/
1•jacksonwhole•6m ago•0 comments

Optimizely Cyberattack Exposes Visitors to Malware on 178 Organisations

https://fish4news.co.uk/optimizely-malware-attack-178-organisations-websites/
1•fairytalemtg•6m ago•1 comments

Giving AI Agents a Better Way to Debug CSS

https://www.amitmerchant.com/giving-ai-agents-a-better-way-to-debug-css/
1•speckx•7m ago•0 comments

Break My Guardrails – AI sandbox escape challenge

https://playground.haikeilabs.com/
1•nhumrich•8m ago•0 comments

Ask HN: Are open-weight models like Qwen used in production?

1•k-thimmaraju•8m ago•0 comments

Strengthening NATO's Cyber Defenses

https://openai.com/index/strengthening-nato-allied-cyber-defences-ai/
1•pretext•8m ago•0 comments

ShieldFont swaps words in HTML, humans read your words, AI scrapers get a decoy

https://shieldfont.org/
1•ChrisArchitect•9m ago•0 comments

Show HN: Quickertype – quicktype in Rust, same output, up to 89x faster

https://github.com/EloB/quickertype
1•FragaOlle•9m ago•0 comments

Gemini is finally changing their privacy policy

1•EbNar•9m ago•0 comments

The unlikely queen of the bagel business

https://thehustle.co/newsletters/04-11-2026
1•paulpauper•9m ago•0 comments

The Buddhist A.I. Sect That Wants to Take over Silicon Valley

https://www.newyorker.com/magazine/2026/11/23/the-buddhist-ai-sect-that-wants-to-take-over-silico...
3•paulpauper•9m ago•0 comments

Show HN: Confidential Cloud – CPU and GPU Confidential VMs

https://console.confidential.ai/sign-in?returnTo=%2Finstances
1•geomatrick•10m ago•0 comments

Show HN: Peppy, a simplified robotics framework for regular devs

https://docs.peppy.bot/quickstart/
1•Ekami•10m ago•0 comments

Show HN: Puzzle for AI shopping agents inside our skincare store

https://keralabotanics.com/
1•rauschermate•11m ago•0 comments

Charles Schwab website goes down

https://www.businessinsider.com/charles-scwab-website-outage-reports-2026-11
2•tedd4u•13m 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 ...