frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Donut Lab – first all-solid-state battery. Production Ready Today

https://www.donutlab.com/
1•kevinak•1m ago•0 comments

F3: The Open-Source Data File Format for the Future

https://github.com/future-file-format/F3
1•tosh•1m ago•0 comments

Pope Leo calls for Venezuela to remain an independent country

https://www.reuters.com/world/americas/pope-leo-calls-venezuela-remain-an-independent-country-202...
1•sipofwater•1m ago•1 comments

YouTube Censorship (Patrick Boyle)

https://www.youtube.com/watch?v=AJP6K2_rr90
1•ziptron•4m ago•0 comments

Checklist.design A collection of the best design practices

https://www.checklist.design/
1•BaudouinVH•8m ago•0 comments

Starlink goes dark in Uganda just days before elections

https://itweb.africa/article/starlink-goes-dark-in-uganda-just-days-before-elections/G98YdMLGPYZ7...
2•NewCzech•9m ago•0 comments

Danish PM tells Trump to stop 'threats' against Greenland

https://www.bbc.com/news/articles/c4g0zg974v1o
3•saubeidl•10m ago•0 comments

A "bridge month" cost to run Venezuela:$1.5B–$3.0B/month(public sources, charts)

https://www.thepricer.org/how-much-would-running-venezuela-cost-per-month/
2•jasonmomnah•11m ago•3 comments

Expensive food makes children fat

https://www.uni-bonn.de/en/news/001-2026
1•leobdkr•13m ago•0 comments

The Hive Mind

https://jacquesmattheij.com/the-hive-mind/
1•rcarmo•17m ago•0 comments

Ask HN: Would you back a standards proposal to taint AI output?

1•jacquesm•18m ago•0 comments

The Future of Coding Agents

https://steve-yegge.medium.com/the-future-of-coding-agents-e9451a84207c
1•TheAnkurTyagi•23m ago•0 comments

Secondhand Truth

https://voidtalker.com/secondhand-truth/
1•bovermyer•24m ago•0 comments

What we're talking about, when we talk about data destruction

https://free-dissociation.com/blog/posts/2019/01/what-were-talking-about-when-we-talk-about-data-...
1•fanf2•24m ago•0 comments

The French university where spies go for training

https://www.bbc.co.uk/news/articles/c98nqeqnylro
1•mellosouls•25m ago•0 comments

Show HN: I made an open-source app to interrupt nail biting

https://github.com/vaitko/stopbitingnails.app
1•vaitko•33m ago•0 comments

The Year in Computer Science

https://www.quantamagazine.org/the-year-in-computer-science-20251216/
1•isaacfrond•35m ago•0 comments

Recovering depth from images using Markov Random Fields

https://nghiaho.com/?page_id=1366
1•vitaelabitur•35m ago•0 comments

GNU Ddrescue 1.30 Released

https://lists.gnu.org/archive/html/info-gnu/2026-01/msg00001.html
3•guiambros•42m ago•0 comments

Why I Cold-Called President Trump at 4:30 in the Morning

https://www.nytimes.com/2026/01/03/insider/trump-interview-venezuela-nyt-reporter.html
1•notmysql_•46m ago•1 comments

A Practical guide to building a parser in Go

https://gagor.pro/2026/01/a-practical-guide-to-building-a-parser-in-go/
1•todsacerdoti•48m ago•0 comments

China Urges United States to Release Venezuelan President Maduro

https://medium.com/@omshree0709/china-urges-united-states-to-release-venezuelan-president-maduro-...
2•OmShree0709•50m ago•1 comments

Show HN: Model2data – generate realistic synthetic data from data models

https://github.com/JB-Analytica/model2data
1•jarichb•57m ago•0 comments

How Twitch Tamed a Million Lines of TypeScript

https://www.joshribakoff.com/blog/lint-snapshots/
1•joshribakoff•58m ago•0 comments

Perp DEXs emerge as crypto's strongest growth story in 2025

https://altcoindesk.com/perspectives/expert-opinions/perp-dexs-emerge-as-cryptos-strongest-growth...
1•AishwaryaTiwari•59m ago•0 comments

How does a president becomes a dictator? By executive order

https://augustafreepress.com/news/john-whitehead-how-does-a-president-becomes-a-dictator-by-execu...
4•allgirl•1h ago•3 comments

Why Simple Everyday Objects Are Impossible to Make [video]

https://www.youtube.com/watch?v=pj0ze8GnBKA
1•areoform•1h ago•0 comments

No-Ham-anuary: a retrospective on reducing my intake of processed meat

https://tomaytotomato.com/no-ham-anuary/
1•tomaytotomato•1h ago•0 comments

NAS file sharing: Why I use both NFS and SMB protocols (2025)

https://www.xda-developers.com/why-use-both-nfs-and-smb-nas-for-file-sharing/
1•sipofwater•1h ago•2 comments

Skimfeed has changed it's url linking

1•markx2•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 ...