frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Undefinable yet Indispensable

https://aeon.co/essays/the-word-religion-resists-definition-but-remains-necessary
1•Brajeshwar•28s ago•0 comments

Building the Weir Language

https://elijahpotter.dev/articles/building-the-weir-language
1•chilipepperhott•1m ago•0 comments

Silk Road-linked Bitcoin wallets move $3M to new address

https://cointelegraph.com/news/silk-road-wallets-transfer-3m-bitcoin-new-address
1•flipped•1m ago•0 comments

Ad-Free Social Media

https://treechat.com
1•mitya777•3m ago•0 comments

Show HN: Online ASN1 DER parser and editor

https://crypto.qkation.com/asn1
1•TheBestTvarynka•4m ago•0 comments

OpenChessClub: Free and OS Chess Club Management Software

https://github.com/OpenChessClub/openchessclub
1•whatamidoingyo•6m ago•0 comments

Oracle's $300B OpenAI Deal Has Investors Worried About Its AI Spending

https://www.bloomberg.com/news/features/2025-12-12/oracle-s-300-billion-openai-deal-has-investors...
2•gmays•6m ago•0 comments

Karen Wetterhahn

https://en.wikipedia.org/wiki/Karen_Wetterhahn
2•ZeljkoS•8m ago•0 comments

Chinese Supplier Knocked Me Off So I Sued Them and Won (All 184 of Them) [video]

https://www.youtube.com/watch?v=Q2EdZvXwh0Y
1•yomismoaqui•8m ago•0 comments

Formal Axiomatization of Advaita Vedanta in Lean 4

https://github.com/matthew-scherf/Advaita
1•hamiecod•9m ago•0 comments

Ctop: Top-Like Container/Docker Monitoring Tool

https://github.com/bcicen/ctop
1•indigodaddy•10m ago•1 comments

After 20 years in hospitality, I built an AI that learns to run a restaurant

https://schedulifypro.com/
2•SenseiOS•11m ago•1 comments

A browser extension to monitor, intercept, and debug JavaScript sinks

https://github.com/kevin-mizu/domloggerpp
1•doomerhunter•15m ago•0 comments

Ask HN: What framework/tool should I use for building agents?

1•realberkeaslan•17m ago•1 comments

I built a small site to help people write birthday messages

https://wishsparkle.com/
1•dannicou•18m ago•1 comments

Trump chickens out – Magnitsky Act edition

https://www.cbsnews.com/news/us-removes-brazilian-supreme-court-judge-alexandre-de-moraes-sanctio...
2•smnthermes•18m ago•0 comments

Barnum's Law of CEOs

https://www.antipope.org/charlie/blog-static/2025/12/barnums-law-of-ceos.html
1•pavel_lishin•18m ago•0 comments

Parametric BBC TV Clock

https://zxnet.co.uk/clock/#template=BBC1-1991
1•fanf2•19m ago•0 comments

Lite³: A JSON-Compatible Zero-Copy Serialization Format

https://lite3.io/
2•thunderbong•19m ago•0 comments

LG TV's new software update installed MS Copilot, which cannot be deleted

https://old.reddit.com/r/mildlyinfuriating/comments/1plldqo/my_lg_tvs_new_software_update_install...
3•bj-rn•19m ago•0 comments

Rails Helps Cookpad Serve 100M+ Home Cooks

https://rubyonrails.org/docs/case-studies/cookpad
2•mooreds•20m ago•0 comments

Bringing Content Authenticity to Video Streaming: C2PA Integration with Bitmovin

https://bitmovin.com/blog/bringing-content-authenticity-to-video-streaming-c2pa-integration-with-...
1•slederer•20m ago•0 comments

Slow and Steady

https://angryweasel.substack.com/p/slow-and-steady
1•mooreds•21m ago•0 comments

The Magic Prioritization Trick (2023)

https://cutlefish.substack.com/p/tbm-245-the-magic-prioritization
1•mooreds•22m ago•0 comments

Ask HN: How can I get better at using AI for programming?

4•lemonlime227•23m ago•2 comments

How to balance full-time work with creative projects (2021)

https://thecreativeindependent.com/guides/how-to-balance-full-time-work-with-creative-projects/
2•napolux•25m ago•0 comments

IsEven(int32_t) in O(1)

https://ceayo.neocities.org/0003%20IsEven32%20O1/
1•ceayo•26m ago•2 comments

Show HN: Free usage-based pricing infra for F25 batch until $500K revenue

https://admin.flexprice.io/
2•sudeepsd__•26m ago•0 comments

Free Online Vision Screening – Eyetestonline.org

https://eyetestonline.org/
2•seven_qwq•28m ago•1 comments

PostgreSQL AI Query Extension

https://benodiwal.github.io/pg_ai_query/
1•sbuttgereit•31m 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 ...