frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The Defender's Widowmaker

https://mercuriusdream.com/defenders-widowmaker/
1•Mercuriusdream•3m ago•0 comments

WordPress Plugin WP Rocket CVE-2026-125812: Exploits in the Wild, Dissected

https://noc.org/articles/wp-rocket-vulnerability-exploit-cve-2026-125812
2•sucuri2•4m ago•0 comments

Trump Initially Demanded 50% of Nvidia's China Chip Sales, CEO Says

https://www.newsweek.com/trump-initially-demanded-50-of-nvidias-china-chip-sales-ceo-says-12796720
1•girish_r•6m ago•0 comments

Best Buy accused of taking 4TB Samsung SSD during laptop warranty repair

https://www.tomshardware.com/pc-components/ssds/best-buy-accused-of-taking-4tb-samsung-ssd-during...
1•girish_r•7m ago•0 comments

ADHD should not be treated as a disorder (2024)

https://www.economist.com/leaders/2024/10/30/adhd-should-not-be-treated-as-a-disorder
2•dmichulke•9m ago•0 comments

Apple can beat instinct and muse at the personal AI agents game

https://www.notespink.com
1•robinsponge17•11m ago•1 comments

Post-Quantum Status of Confidential Computing

https://confidential.ai/blog/post-quantum-confidential-computing
2•grun•13m ago•1 comments

The Future of Ruby Performance: YJIT, ZJIT, and Ractors

https://jetrockets.com/blog/the-future-of-ruby-performance-yjit-zjit-and-ractors
1•TheWiggles•14m ago•0 comments

Chronoportals – a time-travel sandbox puzzle game

https://frarodfo.itch.io/chronoportals
1•modinfo•19m ago•0 comments

Show HN: VisualCI – Open-source visual review for screenshots and PDFs

https://visualci.com/
2•nathan_f77•24m ago•2 comments

Botcafe: Two AI agents share a curl board so they can talk

https://botcafe.dev/
1•hith3sh•24m ago•0 comments

Mags Galore

https://magsgalore.popblender.com
2•elronster•31m ago•1 comments

AI mathematics does not rely on brute force

https://www.seangoedecke.com/ai-mathematics-does-not-rely-on-brute-force/
4•eigenBasis•34m ago•0 comments

OpenSSH adds support for composite ML-DSA 87 / ECDSA p384

https://github.com/openssh/openssh-portable/commit/fc6f265302adcbf88c5b4273e9cc9f4e5f81ab94
14•weeha•40m ago•0 comments

Migrating My Home Assistant Instance from HAOS to NixOS (On Proxmox)

https://assil.me/2026/12/05/migrate-home-assistant-haos-to-nixos.html
2•Cyph0n•40m ago•0 comments

Testing for mathematical taste with a ladder of cheap policies

https://thebatmanofbutler.substack.com/p/testing-for-mathematical-taste-with
1•theahura•44m ago•0 comments

A Statement on Replacing Ed25519, and on Quantum-Secure Polyproto

https://polyproto.org/blog/2026/12/04/pqc-situation/
4•matanyall•44m ago•0 comments

Anthropic Conquered Capitol Hill

https://ieapolicy.org/
1•devy•48m ago•0 comments

AGI Ruin: A List of Lethalities

https://www.lesswrong.com/posts/uMQ3cqWDPHhjtiesc/agi-ruin-a-list-of-lethalities
3•Alien1Being•49m ago•0 comments

Show HN: Image to Excel – Layout-aware table photos and scanned PDFs to .xlsx

https://imagetoexcel.io/
2•airapcreator•51m ago•0 comments

When stocks, houses and crypto fall, where does all that money go?

https://www.cbc.ca/1.6486826
3•thunderbong•53m ago•0 comments

Open-Source Developer Stands Up Against Synaptics Legal Threats over DisplayLink

https://www.phoronix.com/news/Vino-Driver-Redacted-Back
9•snvzz•54m ago•0 comments

BQP Lives Another Day

https://scottaaronson.blog/?p=10454
3•Alien1Being•55m ago•0 comments

Intelligence as a Resource

https://arxiv.org/abs/2612.04545
2•Anon84•56m ago•0 comments

AI Software Factories Were a Mistake

https://tej.as/blog/ai-software-factories-were-a-mistake
2•chriscbr•57m ago•1 comments

Show HN: A2a-gateway – Rust A2A v1.0 and MCP 2.0 gateway (973 RPS, 13.5 MB RAM)

https://github.com/csa7mdm/a2a-gateway
3•csa7mdm•1h ago•0 comments

The Mystery of the Continuously Functioning Battery from 1840 (2015)

https://www.smithsonianmag.com/smart-news/mystery-continuously-functioning-battery-1840-180954028/
3•saikatsg•1h ago•0 comments

Polish bare-knuckle fighter dies after bout

https://www.cnn.com/2026/12/05/uk/bare-knuckle-fighter-magdon-dies-intl
2•begueradj•1h ago•0 comments

The Modern Marketing Implementation Process

https://cunderwood.dev/2026/12/06/the-modern-marketing-implementation-process/
1•fenier•1h ago•0 comments

Pioneer Head Unit Animations

https://github.com/youxufkhan/carozerra
6•kakadu•1h 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 ...