frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Heart Rate Variability Dynamics in Padel Players in Relation to Match Outcome

https://www.mdpi.com/2411-5142/11/1/12
1•PaulHoule•1m ago•0 comments

Learning to Discover at Test Time

https://test-time-training.github.io/discover/
1•in-silico•2m ago•0 comments

Managing a million dollar pool with 15k lines of Go

http://nat-echlin.com/one.html
1•natechlin•4m ago•0 comments

Ask HN: How to redeem a Gift Card without risking lock-out?

1•magnetic•4m ago•0 comments

Understanding Rust Closures

https://antoine.vandecreme.net/blog/rust-closures/
2•avandecreme•7m ago•0 comments

Pywidevine: Python Implementation of Google's Widevine DRM CDM (Content Decrypti

https://github.com/devine-dl/pywidevine
1•fanf2•7m ago•0 comments

Is Privacy an Illusion?

1•rafaelmdec•7m ago•0 comments

Namecheap sued a YC founder personally after shutting down her startup's domain

https://twitter.com/snigdhasur/status/2014747997943238791
1•ecares•9m ago•0 comments

Ask HN: Weekend Social: Your top two languages and what they could borrow

1•susam•10m ago•0 comments

ICE Executes Arrestee

https://old.reddit.com/r/Minneapolis/comments/1qlstaq/quick_stabilization_of_ice_murder_on_the_mo...
8•alangibson•10m ago•2 comments

Get-Shit-Done

https://github.com/glittercowboy/get-shit-done
1•mpartel•10m ago•0 comments

Why Most AI Projects Fail

https://www.youtube.com/watch?v=zBWmh2ZE8WQ
1•athampraveen•11m ago•0 comments

Most Admired Companies 2026

https://fortune.com/ranking/worlds-most-admired-companies/
1•ksec•12m ago•0 comments

Massive nanoparticles follow the rules of quantum mechanics

https://www.univie.ac.at/en/news/detail/metal-clumps-in-quantum-state-vienna-research-team-breaks...
1•wjSgoWPm5bWAhXB•12m ago•0 comments

In Search of a Platonic Co-Parent

https://www.nytimes.com/2026/01/24/style/platonic-co-parenting-apps.html
1•paulpauper•13m ago•0 comments

AutoAP

https://wiki.dd-wrt.com/wiki/index.php/AutoAP
1•mooreds•21m ago•0 comments

Why sandboxing coding agents is harder than you think

https://martinalderson.com/posts/why-sandboxing-coding-agents-is-harder-than-you-think/
1•martinald•21m ago•0 comments

This Month in Redox – December 2025

https://www.redox-os.org/news/this-month-251231/
1•akyuu•22m ago•0 comments

Testing Makes You Faster (Eventually)

https://gabor-kiss.com/essays/testing-makes-you-faster-eventually/
1•mooreds•22m ago•0 comments

Researchers Use D&D to Test AI's Long-term Decision-making Abilities

https://today.ucsd.edu/story/from-chatbots-to-dice-rolls-researchers-use-dd-to-test-ais-long-term...
1•wjSgoWPm5bWAhXB•23m ago•0 comments

The social media ban that wasn't

https://crookedtimber.org/2026/01/23/the-social-media-ban-what-wasnt/
2•mooreds•24m ago•0 comments

Strategies and lessons from partitioning a 17TB table in PostgreSQL

https://www.tines.com/blog/futureproofing-tines-partitioning-a-17tb-table-in-postgresql/
1•shayonj•24m ago•0 comments

Hung by a Thread

https://campedersen.com/rayon-mutex-deadlock
3•ecto•25m ago•0 comments

Show HN: Remote workers find your crew

1•fcpguru•25m ago•2 comments

Show HN: Send encrypted messages to the future (Client-side Time Capsules)

https://www.encrypter.site/
1•zealer•25m ago•0 comments

A Primer on Memory Consistency and Cache Coherence (2020) [pdf]

https://pages.cs.wisc.edu/~markhill/papers/primer2020_2nd_edition.pdf
1•tanelpoder•26m ago•0 comments

Can programmers escape the gentle tyranny of call/return?

https://dl.acm.org/doi/10.1145/3397537.3397546
1•andsoitis•26m ago•0 comments

LibPDF: A Modern TypeScript PDF Library

https://documenso.com/blog/introducing-libpdf-the-pdf-library-typescript-deserves
1•yufiz•27m ago•0 comments

Building the first open-source quantum computer

https://uwaterloo.ca/news/global-futures/building-worlds-first-open-source-quantum-computer
2•ohjeez•28m ago•0 comments

The Apple Collection (1986-1987)

https://archive.org/details/apple-collection-1986-1987
1•ea016•29m 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•8mo ago

Comments

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