frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Ask HN: Will Oracle's fall from grace be good for Open Source

1•lifeisstillgood•1m ago•0 comments

Math Corps 2026

https://alexkontorovich.wordpress.com/2026/07/18/math-corps-2026-visiting-day-directors-remarks/
1•mathgenius•5m ago•0 comments

Amnesty UK self-reports to watchdog after calling women's centre 'anti-rights'

https://www.theguardian.com/society/2026/jul/16/amnesty-uk-self-reports-to-watchdog-calling-women...
2•padda•5m ago•0 comments

GoodJsCode, a practical guide to writing cleaner JavaScript

https://github.com/pH-7/GoodJsCode
1•phenrys•6m ago•0 comments

'AI code is insane trash' – David Gerard [video]

https://www.youtube.com/watch?v=EwLW11Ucnps
1•baranul•6m ago•0 comments

Show HN: PrettyShot – A fast, local-first screenshot beautifier

https://www.prettyshot.site
1•prassamin•8m ago•0 comments

Conversation Steganography

https://github.com/nethical6/conversation-steganography
1•throwaway_19sz•10m ago•0 comments

We Built Our Knowledge Base

https://www.cerebras.ai/blog/how-we-built-our-knowledge-base
1•samuel246•17m ago•0 comments

Strip-Searched at the Serbian Border

https://psychotechnology.substack.com/p/strip-searched-at-the-serbian-border
2•eatitraw•18m ago•0 comments

Show HN: Go Micro – An agent harness and service framework in Go

https://github.com/micro/go-micro
1•asim•19m ago•0 comments

Screwing Up

https://www.seangoedecke.com/screwing-up/
1•gfysfm•21m ago•0 comments

Show HN: Workaround – Unstar GitHub Repos in Bulk

https://workaround.run/
1•yusveng•26m ago•0 comments

Where Your Mind Goes When You Stop

https://lanternhours.substack.com/p/where-your-mind-goes-when-you-stop
1•cuongvtran•26m ago•0 comments

Google workers demand layoff protections amid AI boom in petition to CEO

https://www.theguardian.com/technology/2026/jul/16/google-workers-layoff-protections-ai
3•tcp_handshaker•29m ago•0 comments

The Open-Soruce Big Bang

https://webaligo.bearblog.dev/the-open-soruce-big-bang/
1•ilreb•30m ago•1 comments

Ukraine's Dr. Strangelove – a rocket designer with dubious past sets out to

https://www.theatlantic.com/national-security/2026/07/ukraine-denys-shtilerman-drone-missile/687931/
2•bell-cot•30m ago•1 comments

Avoidance 1.0: Making Every Run Fairer

https://simonskinner.me/blog/avoidance-1-0-making-every-run-fairer
1•vultuk•32m ago•0 comments

Beaver who escaped to find mate welcomes first kit

https://www.bbc.com/news/articles/c70gz4zpv97o
3•1659447091•33m ago•0 comments

Trump administration is dictating access to frontier AI models

https://www.cnbc.com/2026/07/17/white-house-ai-access-anthropic-openai.html
4•tosh•34m ago•1 comments

Warum fällt Abnehmen ab 35 plötzlich so schwer?

https://substack.com/profile/524692702-ketosana94/note/c-296895670
1•ketosana94•35m ago•0 comments

Pelican on a bicycle is a good benchmark, right?

https://playcode.io/blog/macbook-svg-benchmark
2•ianberdin•37m ago•0 comments

Show HN: A modern sample database for learning SQL – replace the Sakila database

https://github.com/rozhnev/university-db
1•rozhnev•38m ago•0 comments

Trump pitched $100k monthly fee for faster feed of US president's posts

https://www.reuters.com/business/media-telecom/trump-media-pitched-100000-monthly-fee-fast-feed-u...
1•Alien1Being•39m ago•0 comments

GitRoot

https://gitroot.dev/
1•ilreb•39m ago•0 comments

OT Credential Abuse: They Logged In. They Didn't Break In

https://www.emberot.com/resources/blog/ot-credential-abuse/
1•TheWiggles•43m ago•0 comments

Profile: GRU cyber and hybrid threat operations

https://www.gov.uk/government/publications/profile-gru-cyber-and-hybrid-threat-operations/profile...
2•azalemeth•44m ago•0 comments

I was tired of random feeds so I created my personal algorithm

1•Satya29•48m ago•0 comments

Glamorous Toolkit

https://gtoolkit.com//
1•Tomte•48m ago•0 comments

Show HN: ShellStack – Interactive cybersecurity learning platform with 280 tool

https://github.com/shlokkokk/ShellStack
1•shlokkshahh•51m ago•0 comments

12 Factor Agents

https://github.com/humanlayer/12-factor-agents
1•veleon•51m 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•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 ...