frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Half‑Life: Alyx on Apple Vision Pro

https://glovebox.vision/
1•bryan0•4m ago•0 comments

HTX's iPhone Duo Review

https://www.youtube.com/watch?v=o1qc29t04GI
1•skogstokig•5m ago•0 comments

Max is now source available and open to everyone

https://www.modular.com/blog/max-license
1•nickmain•12m ago•0 comments

"Interesting hidden file on NVR"

https://www.reddit.com/r/reolinkcam/s/QIovKvK0JI
1•hentrep•12m ago•0 comments

Alzheimer's breakthrough: 2 hrs of sleep restored without clearing brain plaques

https://www.sciencedaily.com/releases/2026/10/261018084421.htm
3•amichail•13m ago•0 comments

LeTrain v1.0.0-beta.7 is out

https://github.com/antoniovazquezaraujo/LeTrain
1•avaraujo•14m ago•0 comments

The Emperor's New Clothes – Edward Snowden (2026) [video]

https://www.youtube.com/watch?v=zMG6aRZhIGE
1•xeonmc•21m ago•0 comments

Afterfeed: A tool to view all your social media backups

https://github.com/rebeccathedev/afterfeed/
1•RebeccaTheDev•23m ago•0 comments

DeepSeek Just Shook the AI Industry Again [video]

https://www.youtube.com/watch?v=YX6QdIYVSgY
1•Bender•24m ago•0 comments

If I wanted to talk to people I wouldn't come here

https://talktopeople.online
1•bobby2shorts•27m ago•0 comments

The One Question I Can't Stand at Restaurants

https://www.theatlantic.com/culture/2026/10/restaurant-phone-number-question/688926/
1•voisin•28m ago•1 comments

A visual introduction to information theory

https://arxiv.org/abs/2206.07867
1•nill0•28m ago•0 comments

Password, Please: Border Searches of Laptops, Phones Up 32% This Year

https://gizmodo.com/password-please-border-searches-of-laptops-phones-up-32-this-year-2000830213
1•gumby•29m ago•0 comments

SCAMPI Mission Launches to the ISS

https://education.esa.int/student-built-scampi-experiment-launches-to-the-international-space-sta...
1•binarymax•29m ago•0 comments

Users of Apple's new $2K iPhone Duo are complaining of cracked devices

https://nypost.com/2026/10/23/business/apples-new-2k-iphone-duo-wows-critics-with-foldable-screen...
2•lakeviewterrace•30m ago•2 comments

Mark Zuckerberg Pushed Meta to Shield Him from California's Proposed Wealth Tax

https://www.nytimes.com/2026/10/21/technology/mark-zuckerberg-meta-california-wealth-tax.html
8•JKCalhoun•31m ago•8 comments

Show HN: 27B open model to grade robot data 48x cheaper/27x faster vs. 6 Astra

https://twitter.com/josefchen/status/2113687649131336039
1•josefchen•34m ago•0 comments

The anti-AI writing police are everywhere. What are they looking for?

https://www.cnn.com/2026/10/21/tech/ai-detectors-pangram-literary-prizes-cec
1•paulpauper•35m ago•0 comments

Winter on the Ward

https://ussri.substack.com/p/winter-on-the-ward
1•paulpauper•37m ago•0 comments

Book Review: The Ghost in My Brain

https://www.astralcodexten.com/p/your-book-review-the-ghost-in-my
1•paulpauper•37m ago•0 comments

Brotli Decoder Vulnerability

https://patchtheplanet.org/brotli
2•nthypes•38m ago•2 comments

Google's Frontier Imperative, Compute Scarcity Dilemmas and the Future of AI

https://www.bigtechnology.com/p/sundar-pichai-googles-frontier-imperative
1•gmays•41m ago•0 comments

Twelve Years of Distributed SQLite

https://philipotoole.com/twelve-years-of-distributed-sqlite/
2•otoolep•49m ago•0 comments

Around a dozen banking apps began specifically permitting GrapheneOS

https://grapheneos.social/@GrapheneOS/117492375462459244
2•privacyishuman•51m ago•0 comments

I built rooms for AI agents to work together

https://bellman.sh/r/blog/p001-hello-front-desk
2•mcfearsome•55m ago•0 comments

Show HN: MotorHangar: Car specs, safety ratings, and recalls in one place

https://motorhangar.com/
1•lou_alcala•57m ago•0 comments

GhostLite: Why we need another blogging app

https://kumailht.com/introducing-ghostlite-or-why-we-need-yet-another-blogging-app/
1•khet•59m ago•0 comments

Ask HN: What was pancake.apple.com used for?

https://pancake.apple.com
1•BSOhealth•59m ago•2 comments

Remake: Enhanced GNU Make

https://github.com/Trepan-Debuggers/remake
2•denysonique•1h ago•0 comments

Ask HN: What was that repo I can donate/sell me remaining subscription tokens?

2•matt3210•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 ...