frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Owners who spend more time close to their cats tend to have more positive moods

https://www.eurekalert.org/news-releases/1148065
1•gmays•1m ago•0 comments

Show HN: Visual heat map of AI news updated hourly

https://ai-news.jagular.io
1•jnaina•7m ago•0 comments

I put my cell number on my startup's homepage

1•civitasinnovare•9m ago•0 comments

Superintelligence Strategy (2025)

https://www.nationalsecurity.ai
1•reasonableklout•13m ago•1 comments

Americans Are Spending More Money to Drive Worse Cars

https://www.theatlantic.com/technology/2026/10/americans-not-buying-electric-cars/689071/
5•fortran77•14m ago•1 comments

Apple's OS release and how it impacts Identity Graphs

https://cunderwood.dev/2026/10/20/apples-os-release-and-how-it-impacts-identity-graphs/
1•abtestdev•20m ago•0 comments

Why do some data grids show blank rows during scrolling?

https://comparegrids.com/articles/article-why-grids-show-blank-rows
1•davidvela•26m ago•0 comments

Show HN: TMPlayer, a TV player for the videos in your own Telegram chats

https://github.com/dracu-lah/TMPlayer
1•nevilkrishnak•26m ago•0 comments

Advancing Fault-Tolerant Quantum Computing with GPU-Accelerated Simulation

https://nvidia.github.io/cuda-quantum/blogs/blog/2026/10/19/jupiter-magic-state-simulation/
1•wondersky•27m ago•0 comments

FaderBuddy – Plug-and-play motorized faders for ESPHome and more

https://github.com/scottbez1/FaderBuddy
1•foltik•29m ago•0 comments

U.S. Political Money Funnels to Indian Bots to Lure Voters

https://www.nytimes.com/2026/10/19/business/michigan-primary-disinformation-campaign.html
3•grandpajoey•30m ago•0 comments

Token-based API guard Auth Bypass

https://github.com/laravel/framework/security/advisories/GHSA-f9x3-7vq9-cph6
1•Spqa•30m ago•0 comments

Show HN: Vramkit – measuring LLM weight and KV-cache compression on a MacBook

https://github.com/SRKRZ23/vramkit
1•sardor_r1•31m ago•0 comments

Show HN: Death Plan Switch, a self-hosted dead man's switch for solo devs

https://deathplanswitch.com/
2•romeo19361•32m ago•0 comments

How to Rebuild Yourself, Inch by Inch

https://mrjakyl.substack.com/p/how-to-rebuild-yourself-inch-by-inch
1•yarapavan•33m ago•0 comments

Russian Satellite Makes a Menacing Approach to Another Craft in Orbit

https://www.nytimes.com/2026/10/19/science/russia-satellite-kosmos-2612.html
2•reaperducer•34m ago•0 comments

Europe has lots of pleasant cities but too few that matter

https://economist.com/europe/2026/10/15/europe-has-lots-of-pleasant-cities-but-too-few-that-matter
3•andsoitis•39m ago•0 comments

Rising Stars Need a Witness

https://www.indiethinkers.com/essays/the-cosigns-you-dont-ask-for
1•danielkhunter•40m ago•0 comments

Parallel Language Models via Variational Decoding

https://arxiv.org/abs/2610.26693
1•E-Reverance•40m ago•0 comments

No More Icons in Every Menu by Default

https://blog.jim-nielsen.com/2026/icons-in-every-menu/
2•riffraff•43m ago•0 comments

Terence Tao and Yu Deng: Why We Build Open Math Model

https://www.youtube.com/watch?v=TjeCcDkuyao
5•doppp•45m ago•0 comments

Telehack

https://telehack.com/
1•jljljl•45m ago•0 comments

The Permanent Voice Vault

https://satire.worldbibliotech.com/
1•book-collective•46m ago•0 comments

Clang Bytecode interpreter update 2026

https://developers.redhat.com/articles/2026/10/19/clang-bytecode-interpreter-update-2026
1•tbaeder•49m ago•0 comments

Inside Prometheus: Meta's Journey to a Gigawatt-Scale Supercluster

https://engineering.fb.com/2026/10/19/data-center-engineering/inside-prometheus-meta-gigawatt-sca...
2•jonbaer•50m ago•0 comments

Managing projects with GNU Make, 3.xth Edition

https://wanderinghorse.net/computing/make/
2•seeg•50m ago•0 comments

SKY‑001 ] the First Engineering World Model

https://skyfall.ai/sky-001
1•doener•51m ago•0 comments

Mastodon 5.0: A Closer Look

https://blog.joinmastodon.org/2026/10/5.0-a-closer-look/
3•riffraff•53m ago•0 comments

ThinkPad I9990303 Error Catch-22

http://www.os2museum.com/wp/thinkpad-i9990303-error-catch-22/
3•userbinator•54m ago•0 comments

IBM Anderon Quantum Foundry Automates Qubit Fabs

https://spectrum.ieee.org/anderon-quantum-fab
2•gmays•54m 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 ...