frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

CP/M-68K and Motorola 68000 Emulator

https://kobolt.github.io/article-264.html
1•AlexeyBrin•39s ago•0 comments

Type checker may be wrong – Lean and the Curry-Howard correspondence

https://max-amb.github.io/blog/your_type_checker_may_be_wrong/
1•max-amb•2m ago•0 comments

Show HN: Cygnus – A fast, lightweight self-hostable serverless runtime and PaaS

https://cygnus.run
1•ccheshirecat•2m ago•0 comments

Personal context data isn't a moat, tacit knowledge is

https://cse.ac/en/jun/hobby-capital/
1•hyeongjun•4m ago•0 comments

Show HN: I made an algorithmic arena game with physics in 3D

https://algohol.net/
1•Vibr•4m ago•0 comments

Git rebase -I is not that scary

https://cachebag.sh/journal/interactive-rebasing/
1•birdculture•6m ago•0 comments

An industrial designer's take on a portfolio tracker

https://stockfly.app
1•khorsus•6m ago•1 comments

Trajectory: A Standard Format for Agent Experience Data

https://www.letta.com/blog/trajectory/
1•wertyk•9m ago•0 comments

Systems and Delays

https://martin.janiczek.cz/2026/07/24/systems-and-delays.html
1•haeseong•9m ago•0 comments

Show HN: Tawrida – Global Trade Export Documents Generator Tool

https://tawrida.xyz/tools
2•Mohamed_zakarya•10m ago•0 comments

What if the RAM/GPU shortage is deliberate?

https://xn--vk5b17r.online/posts/ram-gpu-consp/
1•theoneone•11m ago•1 comments

Copyfarleft

https://wiki.p2pfoundation.net/Copyfarleft
1•Tepix•12m ago•0 comments

Trump announces 2028 presidential bid

https://www.smh.com.au/world/trump-announces-2028-presidential-bid-20260725-p60iho.html
1•wahnfrieden•15m ago•0 comments

Scientist with 1k Patents Fueling a Drug Powerhouse

https://www.wsj.com/health/pharma/regeneron-george-yancopoulos-drug-discovery-17fea3fa
2•bookofjoe•19m ago•1 comments

FrontAlign – A CSS Framework with Semantic Utilities and Vanilla JavaScript

https://frontalign.dev
2•eyruz•27m ago•1 comments

You never have to do work again

https://hiotto.vercel.app/
2•anqer•28m ago•2 comments

How we pushed CDC into Postgres, and turned replication into clockwork

https://www.snowflake.com/en/blog/engineering/postgres-to-snowflake-replication-mirroring/
2•plaur782•34m ago•0 comments

The University After AI

https://www.chronicle.com/article/the-university-after-ai
3•Michelangelo11•35m ago•0 comments

Things I wish Datomic had: Map values

https://blog.danieljanus.pl/datomic-map-values/
2•nathell•38m ago•0 comments

Saga: Source Attribution of Generative AI Videos (identifies the model used)

https://arxiv.org/abs/2511.12834
2•giuliomagnifico•41m ago•0 comments

What's horned, fluffy, and ethically dubious? Yak clones

https://www.cnn.com/2026/07/25/china/tibet-yak-clones-conservation-intl-hnk-dst
3•breve•45m ago•0 comments

The Rise of Anti-Flock Influencers Who Make Things Up for Clout

https://www.404media.co/the-rise-of-anti-flock-influencers-who-make-things-up-for-clout/
3•Cider9986•46m ago•1 comments

Epistemic Engine – verify AI-generated code and forecast what will break

https://github.com/aswinsasi/epistemic_engine
4•aswinsasi123•47m ago•0 comments

cpp-tui – A lightweight, single-header C++ TUI (Text User Interface) library

https://github.com/jonoton/cpp-tui
3•gjvc•47m ago•0 comments

Why So Many Sales Happen on WhatsApp

https://lytonkiyayikalete.substack.com/p/why-so-many-sales-happen-on-whatsapp
2•Lyton256•48m ago•0 comments

Landmark victory as plans for first octopus farm withdrawn

https://www.eurogroupforanimals.org/news/landmark-victory-plans-worlds-first-octopus-farm-withdrawn
2•thunderbong•48m ago•0 comments

Russian operatives are targeting emails US nuclear scientists and contractors

https://www.cnn.com/2026/07/23/politics/russian-hacking-nuclear-scientists
2•Bender•52m ago•0 comments

Austerity Breeds Financial Protectionism

https://theloop.ecpr.eu/who-the-welfare-state-protects-shapes-a-countrys-financial-openness/
3•kome•52m ago•0 comments

Being Linux Torvalds

https://antirez.com/news/171
5•surprisetalk•52m ago•1 comments

Kalshi demands Netflix down trailer misleading prediction market documentary

https://www.cnn.com/2026/07/24/politics/kalshi-netflix-prediction-market-documentary
5•Bender•53m ago•1 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 ...