frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Tell HN: Merry Christmas!

2•basilikum•4m ago•1 comments

US drops plan to deport Chinese national who exposed Xinjiang abuses

https://apnews.com/article/china-xinjiang-guan-dhs-deportation-4501dd29b8bd61c7282c88693d47930e
2•perihelions•8m ago•0 comments

YouTube Has a Firm Grip on Daytime TV

https://www.nytimes.com/2025/12/23/business/media/youtube-has-a-firm-grip-on-daytime-tv.html
1•bookofjoe•8m ago•1 comments

GNU C Language Introduction and Reference Manual, Edition 0.1 (May 2025) [pdf]

https://www.gnu.org/software/c-intro-and-ref/manual/c-intro-and-ref.pdf
1•lioeters•11m ago•0 comments

ShareTechnote

https://www.sharetechnote.com/Home.html
1•jsrcout•14m ago•0 comments

Social Collections: Find your friends social media handles

https://collections.social
1•wyall•15m ago•1 comments

Faster Rust Builds on Mac

https://nnethercote.github.io/2025/09/04/faster-rust-builds-on-mac.html
2•ushakov•15m ago•0 comments

Phoenix: A modern X server written from scratch in Zig

https://git.dec05eba.com/phoenix/about/
9•snvzz•16m ago•0 comments

2D Signed Distance Functions

https://iquilezles.org/articles/distfunctions2d/
1•nickswalker•18m ago•0 comments

Regulating Algorithmic Content Distribution and Moderation by Online Platforms

https://www.rstreet.org/research/regulating-algorithmic-content-distribution-and-moderation-by-on...
1•hn_acker•20m ago•0 comments

Re: Question about LuaJIT v3.0 status

https://www.freelists.org/post/luajit/Question-about-LuaJIT-v30-status,1
1•radiator•21m ago•0 comments

Microsoft: "30% of Our Code Is AI." Also Microsoft: "Windows Is Broken."

https://michael-dev-tech.github.io/Website/broken.html
3•f0r3st•21m ago•2 comments

Visualizing File Formats for Fun

https://www.telkins.com/blog/visualizing-file-formats
1•trevor-e•29m ago•0 comments

Show HN: AI Courtroom to settle arguments with your family this X-mas

https://thecourthouse.ai/
1•conaire•31m ago•0 comments

TOPS-10 in a Box (2011)

https://www.filfre.net/2011/05/tops-10-in-a-box/
1•exvi•33m ago•0 comments

Show HN: In-app messaging for modern SaaS (that doesn't cost $$$/mo)

https://cueflow.so/
2•nishmarka•34m ago•0 comments

Where Will AI Dissent Go in 2026?

https://www.unite.ai/where-will-ai-dissent-go-in-2026/
1•50kIters•35m ago•0 comments

Show HN: Just Fucking Use Cloudflare – A satirical guide to the CF stack

https://justfuckingusecloudflare.com
17•MyNameIsTito•35m ago•6 comments

The Concept of Bias: A Baseline Mechanism for Efficient Intelligence

https://theminddeveloper.github.io/LargeLanguageMind/notes/the_concept_of_bias.html
1•TheMindDev•38m ago•1 comments

Zelda: Twilight Princess Has Been Decompiled

https://www.timeextension.com/news/2025/12/zelda-twilight-princess-has-been-decompiled
1•birdculture•39m ago•1 comments

Would an AI die to save you?

https://twitter.com/kradleai/status/2003884971086565846
2•goog2012•40m ago•0 comments

Modern Rust and llama.cpp running on 20-year-old PowerPC Macs (Tiger/Leopard)

1•AutoJanitor•43m ago•0 comments

Ask HN: Why isn't everyone talking about (and using) Cerebras?

4•ray__•45m ago•0 comments

Ask HN: What is your primary operating system?

2•chistev•46m ago•4 comments

Betty Reid Soskin, oldest-ever US national park ranger, has died

https://www.latimes.com/environment/story/2025-12-23/betty-reid-soskin-oldest-national-park-servi...
1•NaOH•47m ago•0 comments

Cats-effect: I/O Integrated Runtime Concept

https://github.com/typelevel/cats-effect/discussions/3070
1•dustingetz•49m ago•0 comments

The AI capability measurement gap – Joel Becker, METR [video]

https://www.youtube.com/watch?v=RhfqQKe22ZA
1•swyx•51m ago•0 comments

Postgres extension complements pgvector for performance and scale

https://github.com/timescale/pgvectorscale
1•flyaway123•55m ago•0 comments

Workers across the U.S. are set for minimum wage increases in 2026

https://www.cbsnews.com/news/2026-minimum-wage-increases/
3•geox•56m ago•1 comments

A linear imageboru for My Little Pony art

https://derpibooru.org/
2•Psychoshy_bc1q•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 ...