frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

China's CE-25A Electric Commuter Airliner Demonstrator Emerges

https://www.twz.com/air/chinas-ce-25a-electric-commuter-airliner-demonstrator-emerges-in-photos
1•cisc•2m ago•0 comments

Channel Binding

https://blog.prosody.im/channel-binding/
1•zaik•5m ago•0 comments

AI agents shape experts' judgment calls

https://www.anthropic.com/research/agents-judgment-calls
1•firasd•6m ago•1 comments

Hue-rs: control hue lightbulb directly

https://github.com/hiatus770/hue-rs
1•hiatus330•6m ago•0 comments

U.S. approves $2.1B sale of Patriot interceptors to Ukraine

https://www.nbcnews.com/world/ukraine/us-approves-21-billion-sale-patriot-interceptors-ukraine-rc...
2•paaloeye•8m ago•1 comments

Fair Use Benefits Everyone

https://openai.com/index/fair-use-benefits-everyone/
2•pentagrama•11m ago•0 comments

The 'Moylan Arrow' Is One of Ford's Best Contributions to Car Design

https://www.thedrive.com/news/the-moylan-arrow-is-one-of-fords-best-contributions-to-car-design
3•thunderbong•14m ago•0 comments

10.0: CVE-2026-112816 – Canonical LXD – Improper cert validation — no emudhra

https://twitter.com/cvedotnow/status/2116213963872518418
1•paaloeye•16m ago•0 comments

Ask HN: Are most of you using HN Replies? Or what else do you use?

1•Gooblebrai•16m ago•2 comments

Show HN: Free Unlimited Virtual Monitors+Watch Claude Work on Them+Community

https://multispace.dev/
1•DanielSystem•28m ago•6 comments

The United Kingdom is committing an act of strategic self harm

https://blog.rodmena.com/entry/event_horizon_machine_standards
5•rodmena•29m ago•3 comments

Federal Bureau of Prisons employees serve as election monitors at polling sites

https://www.corrections1.com/federal-prison/bop-employees-to-serve-as-election-monitors-at-pollin...
11•MadrasTh0rn•33m ago•2 comments

AI changed what I can build

https://tanner.place/blog/how-ai-changed-what-i-can-build
2•vrennat•35m ago•1 comments

Zellic's and V12's Work on x86 Binary Formal Verification

https://v12.sh/blog/x86-formal-verification-intro
1•drdrey•36m ago•0 comments

Anthropic to receive high 'junk' rating from credit agencies following IPO

https://techcrunch.com/2026/10/30/anthropic-expected-to-receive-high-junk-rating-from-credit-agen...
6•jnord•37m ago•1 comments

Worst Halloween candies, according to the data

https://flowingdata.com/2026/10/30/worst-halloween-candies-according-to-the-data/
2•surprisetalk•38m ago•0 comments

Analysts find looming launch crisis is "more severe" than anticipated

https://arstechnica.com/space/2026/10/analysts-find-looming-launch-crisis-is-more-severe-than-ant...
4•jnord•38m ago•0 comments

Reddit shares plunge as Google's AI search squeezes traffic

https://www.reuters.com/business/reddit-pinterest-shares-tumble-weak-user-revenue-growth-2026-10-30/
1•tartoran•42m ago•1 comments

Tell HNN: Pets.com was *not* owned today

2•y1n0•43m ago•0 comments

Hands on the Wheel

https://ryanbigg.com/2026/10/hands-on-the-wheel
2•ryanbigg•44m ago•0 comments

The N64's GPU Is a Technical Marvel [video]

https://www.youtube.com/watch?v=WEoRgQH08MA
3•zdw•47m ago•0 comments

The Thaura Constitution

https://thaura.ai/constitution
2•conferza•51m ago•0 comments

Somoene bets $10M on Reddit stock anad loses half of it

https://old.reddit.com/r/wallstreetbets/s/LWYApzWCQH
1•paulpauper•52m ago•0 comments

The Ground Beneath Them Was Dry

https://lagomor.ph/2026/10/the-ground-beneath-them-was-dry/
2•jfil•52m ago•0 comments

Sndstation will transform cheap gaming consoles into music handhelds

https://cdm.link/sndstation-linux-distro-for-game-handhelds/
2•Blackthorn•52m ago•0 comments

The Commanding Heights

https://commanding-heights.com/
1•emersonmacro•56m ago•0 comments

$20 plans, $1 of Sol costs 7x what $1 of Opus does. A task, only 1.3x

https://twitter.com/AdamHoltererer/status/2115879037893534195
1•marcellosso•56m ago•0 comments

Assure – your AI agent says "done." This checks if it's lying

https://github.com/mgasparin67-cmd/Agent-verification_Assure
2•spaghetti0•57m ago•0 comments

Ukrainian arms manufacturer Fire Point has overcome Starlink restrictions

https://www.reuters.com/business/aerospace-defense/ukrainian-arms-maker-fire-point-says-its-syste...
6•uxhacker•59m ago•0 comments

AI's Bill Is Due – Intelligence or Brand? – Cold Logic – EP01

https://www.youtube.com/undefined
1•LebToki•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 ...