frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: FileoPDF, PDF tools that process your files in the browser

https://www.fileopdf.com/en
1•Horatio148•54s ago•0 comments

Show HN: A Safari extension to accelerate animated WebP images

https://github.com/IliaMManolov/safari-animated-webp-extension
1•76SlashDolphin•3m ago•0 comments

SQLAlchemy 2.1.0 Released

https://www.sqlalchemy.org/blog/2026/09/24/sqlalchemy-2.1.0-released/
1•kbumsik•4m ago•0 comments

Terence Tao: Math 2.0 [pdf]

https://teorth.github.io/tao-web/slides/math-2-0-caltech-2026.pdf
1•Anon84•6m ago•0 comments

Show HN: My radio station calls its listeners

https://canarics.com/radio
3•attels33•12m ago•0 comments

MicroG: [Bounty] RCS Support [$14999]

https://github.com/microg/GmsCore/issues/2994
1•BoingBoomTschak•13m ago•0 comments

About the Book: Solving the Bottom Turtle

https://spiffe.io/book/
1•cgeier•14m ago•1 comments

AWS AgentCore security undone by prompt requesting credentials

https://www.theregister.com/security/2026/10/09/aws-agentcore-security-undone-by-prompt-requestin...
1•sbulaev•15m ago•0 comments

How HN: Go-dev-auth zero-dependency authentication library for Go

https://github.com/go-dev-auth/go-dev-auth
3•BisratMelak•16m ago•0 comments

Choreographic Programming in Rust

https://github.com/hibanaworks/hibana
1•o8vm•17m ago•1 comments

Measuring Cryptanalytic Effort

https://bitsofwork.org
1•torutofu•17m ago•0 comments

Twenty-two pending curl vulnerabilities

https://daniel.haxx.se/blog/2026/10/07/twenty-two-pending-curl-vulnerabilities/
1•Tomte•19m ago•0 comments

Bot traffic plunged to near 0 following the strike on its Vladimir data center

https://bsky.app/profile/perevaa.bsky.social/post/3mxlm6w2wcs26
3•PLenz•22m ago•0 comments

Memory Management (2022)

https://signalsandthreads.com/memory-management/
1•tosh•27m ago•0 comments

Building Houses with Rice Waste

https://www.bbc.com/future/article/20261009-the-houses-made-from-rice-husks
2•ranit•29m ago•0 comments

Singapore's government team that kills its own products

https://www.businesstimes.com.sg/singapore/inside-singapores-government-team-kills-its-own-products
3•doppp•30m ago•0 comments

Show HN: The great-grandfather of Oberon: Algol 60 running on LuaJIT

https://github.com/rochus-keller/Algol60
1•Rochus•40m ago•0 comments

Ferroni – Oniguruma's regex engine, modernized in Rust

https://ferroni.dev/
1•indentit•40m ago•0 comments

Taiwan man won lawsuit but jailed for using robot vacuum to record wife's affair

https://www.scmp.com/news/people-culture/trending-china/article/3365381/taiwan-man-wins-lawsuit-g...
2•nephihaha•41m ago•1 comments

Trama – See your agent's changes as state machines before any code

https://github.com/nicchia-code/trama
2•nicchia•44m ago•0 comments

Show HN: Hexnoth. Dark fantasy turn-based tactics in the browser

https://hexnoth.com/
1•jdzikowski•44m ago•0 comments

The maverick scientist trying to save coffee from extinction

https://economist.com/interactive/1843/2026/07/23/the-maverick-scientist-trying-to-save-coffee-fr...
1•andsoitis•44m ago•0 comments

Show HN: Claude Code Mode

https://github.com/gabe4coding/claude-code-mode
1•gabe4coding•45m ago•1 comments

Show HN: Termphin – Open-source SSH client whose sessions survive disconnects

https://github.com/Termphin/Termphin
1•mbadyl•53m ago•0 comments

You Can See the Results

https://docs.google.com/document/d/e/2PACX-1vQmQ6YjfD2BKWfhW8iKJJCqPygQfQpNMhF5qSwHkoJSt8d1GLPU4z...
1•GovNikoMLLee•57m ago•0 comments

Show HN: Gradually Loading Web Fonts

https://www.npmjs.com/package/invisible-ink
1•snshn•59m ago•1 comments

Can Switching Hands While I Masturbate Affect My Brain?

https://sex.cosmopolitan.com/pleasure/a73946773/masturbating-non-dominant-hand-good-for-brain/
5•snarky-comments•1h ago•2 comments

What a US purchase costs delivered to 16 countries

https://www.refurb.me/import-costs
2•simoelalj•1h ago•0 comments

Fetching AMD SEV Reports (With Zig)

https://github.com/bschaatsbergen/zig-sev-guest
3•bschaatsbergen•1h ago•1 comments

Don't Put Tilde In Your Path

https://disconnect3d.pl//2026/10/02/dont-put-tilde-in-your-path/
28•arusekk•1h 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 ...