frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

China launches Shenzhou spacecraft carrying 2 Chinese and 1 Pakistani astronaut

https://apnews.com/article/china-space-shenzhou-24-543306bfe17419395d10fae107500564
1•Teever•30s ago•0 comments

Analytics-Info

https://analytics-info.com/
1•witkacy•1m ago•0 comments

BFCM Live

https://bfcm.shopify.com/
1•doppp•3m ago•0 comments

Show HN: B36date

https://github.com/NWoodsman/b36date
1•CrimsonCape•5m ago•0 comments

What Women Compassion Looks Like [video]

https://www.youtube.com/watch?v=NjPv49yLl-g
1•PorciiVorbesc•6m ago•0 comments

New York declares emergency as Thanksgiving storm threatens East Coast

https://abcnews.com/US/new-york-declares-emergency-thanksgiving-storm-threatens-east/story?id=138...
1•madihaa•10m ago•0 comments

Show HN: An interactive map of the Riemann Hypothesis proof

https://longbinlai.github.io/riemann-atlas/?lang=en&step=reflection&view=overview
1•robeenly•10m ago•0 comments

Don't worry, 95.24% of people are good folks

1•N8works•11m ago•0 comments

Show HN: Gmbrank – Google Business Profile rank tracking with geo-grid maps

https://gmbrank.ai
1•gmbrank•21m ago•0 comments

Blind man drives 150 miles while drunk

https://www.itv.com/news/calendar/2026-07-31/blind-man-who-drink-drove-150-miles-followed-hgv-lights
1•madihaa•22m ago•0 comments

A Weekend of Machine Mathematics

https://charlesponeill.com/posts/a-weekend-of-machine-mathematics/
1•gmays•23m ago•0 comments

Stay Connected on WhatsApp When You Travel

https://blog.whatsapp.com/stay-connected-on-whatsapp-when-you-travel?_fb_noscript=1
1•sidcool•25m ago•0 comments

Show HN: 4K fsync tail latency and SQLite WAL lock failures on a $4/mo VPS

https://nodebudget.dev/guides/why-cheap-vps-benchmarks-lie/
1•wordwright•26m ago•0 comments

Ask HN: Why can AI prove Riemann but not solve cust svc problems?

1•louiereederson•30m ago•4 comments

Take-Two Battles Unofficial GTA 6 PC Port Work

https://www.ign.com/articles/take-two-appears-to-be-trying-to-scrub-gta-6-pc-ports-from-the-inter...
1•Skyfall106•40m ago•0 comments

The Singularity Clock

https://www.singularityclock.ai/
2•iamanatom•40m ago•0 comments

Google will show solo Android developers' phone numbers and addresses

https://support.google.com/googleplay/android-developer/answer/17594752?hl=en
30•nreece•43m ago•7 comments

Riemann home reaches 41 independent validators

https://riemann-at-home.github.io/riemann-at-home/#@titojankowski
1•tito•44m ago•0 comments

Citroën Hydraulic System

https://www.citroenet.org.uk/miscellaneous/hydraulics/hydraulics-1.html
1•o4c•44m ago•0 comments

World records six straight days above 2C warming threshold

https://www.guardian.co.tt/news/world-records-six-straight-days-above-2c-warming-threshold-6.2.27...
1•asphodele•48m ago•1 comments

Necrometer – Zero-back end Rust/WASM audit for GitHub repo decay

https://necrometer.dev
1•jeryd•1h ago•0 comments

Show HN: Sqrin – A better screen share for Mac

https://sqrin.app
3•stichoza•1h ago•0 comments

Melbourne’s safe injecting room is one of the world’s busiest.

https://theconversation.com/melbournes-safe-injecting-room-is-one-of-the-worlds-busiest-the-liber...
1•defrost•1h ago•2 comments

Trying /Swarm in Google Antigravity

https://flaviocopes.com/antigravity-swarm/
1•gmays•1h ago•0 comments

Jakarta EE 11 No Longer Has an Umbrella Jar

https://foojay.io/today/jakarta-ee-11-umbrella-jar/
1•lprimak•1h ago•0 comments

No-Boilerplate, Warning-Free and Reproducible Builds on Maven 4

https://foojay.io/today/no-boilerplate-maven-4-builds/
2•lprimak•1h ago•0 comments

Upgraded Immich to Postgres 19 and VectorChord 1.5.0, works great

https://www.reddit.com/r/immich/comments/1y4ulvq/upgraded_immich_to_postgres_19_and_vectorchord/
2•lprimak•1h ago•0 comments

Gleam Case Exhaustiveness, as a Fan

https://oyster.pckt.blog/gleam-case-exhaustiveness-as-a-fan-fd4whyp
1•TheWiggles•1h ago•0 comments

Linus Torvalds: "Tell Your AI Companion to Get Its Act Together"

https://www.phoronix.com/news/Linus-Torvalds-EXT4-AI-Big
13•droidjj•1h ago•0 comments

New AI research suggests AI bubble bursting and to expect major market collapse

https://www.london.edu/think/ai-bubble-about-to-burst
2•nreece•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 ...