frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Why a Cheaper EV Battery Could Cost You Double in the Long Run

https://autos.yahoo.com/ev-and-future-tech/articles/why-cheaper-ev-battery-could-193507353.html
1•methuselah_in•3m ago•1 comments

The Path Is No Path

https://thinkhuman.com/the-path-is-no-path/
2•jamesgill•6m ago•0 comments

Only the Questions: An app that shows only the questions in a piece of text

https://only-the-questions.vercel.app/
1•gaws•7m ago•0 comments

NextDNS is my new favourite DNS service · Stan's blog

https://stanislas.blog/2020/04/nextdns/
2•mefengl•12m ago•0 comments

Show HN: On Making Music with the Machine

https://songxytr.substack.com/p/on-making-music-with-the-machine
2•songeater•12m ago•0 comments

Show HN: KeyByKey.app – Daily piano game for practicing playing melodies by ear

https://keybykey.app
1•reassess_blind•20m ago•3 comments

NPM needs an analog to pnpm's minimumReleaseAge and yarn's npmMinimalAgeGate

https://www.pcloadletter.dev/blog/npm-min-release-age/
1•ronbenton•21m ago•0 comments

The city never sleeps, but my LEDs do

1•emmasuntech•22m ago•0 comments

New York subway ends its MetroCard era and switches to tap-and-go fares

https://apnews.com/article/metrocard-retired-omny-pay-nyc-subway-512112eea4d6e082baab299d41e8171a
5•djoldman•29m ago•0 comments

KYC fails at the only thing it claims to do

https://servury.com/blog/kyc-is-outdated-security-theater/
3•ybceo•35m ago•1 comments

Ubisoft helpdesk staff in India accepted bribes to hack player accounts

https://twitter.com/vxunderground/status/2005372434669592812
3•sergiotapia•36m ago•1 comments

Finnish Train Introduced a Bug in My App

https://ariana.dev/blog/finnish-train-bug
1•cyrill_makarov•37m ago•1 comments

Private equity is killing private ownership: first it was housing, now it's PCs

https://old.reddit.com/r/pcmasterrace/comments/1px9xwx/private_equity_is_killing_private_ownershi...
24•akyuu•42m ago•7 comments

I built a forensic accounting engine for divorce cases (catches lies auto)

https://exitprotocols.com
1•cd_mkdir•46m ago•1 comments

Roko's Basilisk

https://en.wikipedia.org/wiki/Roko%27s_basilisk
1•doener•48m ago•0 comments

How to Pay for Books (2022)

https://blog.danieljanus.pl/2022/09/24/paying-for-books/
1•zdw•49m ago•0 comments

Endurance athletes have a 4x higher risk of irregular heartbeat, here's why

https://theconversation.com/endurance-athletes-have-a-four-times-higher-risk-of-irregular-heartbe...
3•PaulHoule•50m ago•0 comments

Bloop

https://en.wikipedia.org/wiki/Bloop
1•doener•53m ago•0 comments

UVB-76 (The Buzzer)

https://en.wikipedia.org/wiki/UVB-76
3•doener•56m ago•0 comments

Character histories – notes on some ASCII code positions

https://jkorpela.fi/latin1/ascii-hist.html
1•matteodelabre•58m ago•0 comments

Goodbye Sass

https://www.redblobgames.com/blog/2025-12-27-goodbye-sass/
3•signa11•1h ago•1 comments

New LLM Pre-Training and Post-Training Paradigms

https://magazine.sebastianraschka.com/p/new-llm-pre-training-and-post-training
1•lr0•1h ago•0 comments

How We Optimize RocksDB in TiKV – Write Batch Optimization

https://medium.com/@siddontang/how-we-optimize-rocksdb-in-tikv-write-batch-optimization-28751a4bdd8b
2•eatonphil•1h ago•0 comments

Prompts.chat/Builder: Prompt Building Suite

https://prompts.chat/builder
1•fka•1h ago•0 comments

Show HN: Deep Code Research – AI surveys 10 similar repos to review yours

1•WindChimeRan•1h ago•0 comments

Silver Thursday

https://en.wikipedia.org/wiki/Silver_Thursday
1•gjvc•1h ago•0 comments

Familial confounding in the associations between maternal health and autism

https://doi.org/10.1038/s41591-024-03479-5
3•rendx•1h ago•0 comments

CLI for internet speed test via Cloudflare

https://github.com/kavehtehrani/cloudflare-speed-cli
3•sashk•1h ago•0 comments

BuyMeACoffee with Crypto Rails

https://cryptocoffee.dev/
1•shrimalmadhur•1h ago•0 comments

Going Paperless

https://www.julianfalk.dev/blog/going-paperless
3•jan0r•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•7mo ago

Comments

qwertox•7mo ago
Rule #1: Always put deletions behind a flag which is disabled for the first couple of test runs.
turtleyacht•7mo 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•7mo 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•7mo ago
Oh, I see. Having a flag to skip deletion during test runs is a good rule then.
rvz•7mo 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•7mo ago
Who runs such an AI generated script without checking the code first?
qwertox•7mo 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•7mo ago
Right so lets just always run the code as is ?
qwertox•7mo 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•7mo 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•7mo ago
In which Roko's Basilisk fires a warning shot.
jethronethro•7mo ago
This is why you test code or a script before running it for real. Live and learn, I guess ...