frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Why Wealthy Elites Come to Regret Their Bargains with Authoritarians

https://www.foreignaffairs.com/united-states/disposable-oligarchs
1•pseudolus•45s ago•0 comments

Synthetic.new – Limits and Pricing

https://organic.eris.host/limits
1•sea-gold•5m ago•0 comments

Show HN: 20-endpoint image API (remove bg, upscale, face restore)

https://github.com/useknockout/api
1•tlorents•7m ago•0 comments

A Git merge with 100k parents

https://github.com/cirosantilli/test-octopus-100k/commit/07fdcceb20ac3626a07c08166d0c410707b1cb9b
1•nvahalik•11m ago•0 comments

How dating app algorithms (likely) work in 2026

https://nsokolsky.substack.com/p/how-dating-app-algorithms-likely
1•nsokolsky•15m ago•1 comments

Higher temperatures spur Alaska's invasive pike to eat more, bad sign for salmon

https://alaskabeacon.com/2026/04/28/higher-temperatures-spur-alaskas-invasive-pike-to-eat-more-a-...
1•rolph•16m ago•0 comments

Epigenetic fingerprints link early-onset colon&rectal cancer pesticide exposure

https://www.nature.com/articles/s41591-026-04342-5
4•bookofjoe•16m ago•0 comments

An Explicit Solution to Black-Scholes Implied Volatility

https://arxiv.org/abs/2604.24480
1•efavdb•17m ago•0 comments

OpenAI Wants Codex to Shut Up About Goblins

https://www.wired.com/story/openai-really-wants-codex-to-shut-up-about-goblins/
4•spenvo•19m ago•0 comments

Chinese SUVs at Beijing Auto Show [video]

https://www.youtube.com/watch?v=rFcVGeIZk3k
1•dzonga•20m ago•0 comments

Fuck Off AI Music

http://fuckoffaimusic.com/
4•marvinborner•20m ago•0 comments

The New Teams CLI

https://microsoft.github.io/teams-sdk/blog/teams-cli-preview/
2•umangsehgal93•20m ago•0 comments

From One AI to Any AI: JetBrains rethinks the approach to AI tooling [video]

https://www.youtube.com/watch?v=J8fHU4WFd_c
1•lemming•21m ago•0 comments

We decreased our LLM costs with Opus

https://www.mendral.com/blog/frontier-model-lower-costs
5•shad42•26m ago•0 comments

Agent, Know Thyself (and bid accordingly)

https://www.strangeloopcanon.com/p/agent-know-thyself-and-bid-accordingly
1•paulpauper•29m ago•0 comments

AI Killed the MVP. What's Next?

https://www.indiehackers.com/post/ai-killed-the-mvp-whats-next-JIWTsjBRFuC4K87voEFk
1•toddh•31m ago•0 comments

Losing My Friend over Wegovy

https://www.thecut.com/article/wegovy-friendship-breakup.html
1•paulpauper•32m ago•0 comments

Maladaptive Frugality

https://herbertlui.net/maladaptive-frugality/
1•herbertl•33m ago•0 comments

Going Full Time on Open Source

https://jdx.dev/posts/2026-04-17-going-full-time-on-open-source/
2•stock_toaster•35m ago•0 comments

NBA proposes new '3-2-1' draft lottery system

https://www.nytimes.com/athletic/7237953/2026/04/28/nba-draft-lottery-tanking-changes/
1•0in•36m ago•0 comments

Continuing the Story of Early DOS Development – Microsoft Open Source Blog

https://opensource.microsoft.com/blog/2026/04/28/continuing-the-story-of-early-dos-development/
1•corvad•42m ago•0 comments

The Work Between Factories

https://www.cronwell.ai/founder-letters
1•zvbz•44m ago•1 comments

Ask HN: What product analytics are you using?

1•asdev•47m ago•1 comments

Framework 16 Gets Nvidia RTX 5070 12 GB Upgrade Module for Eyewatering Price

https://www.techpowerup.com/348614/framework-laptop-16-gets-nvidia-rtx-5070-12-gb-upgrade-module-...
1•voxadam•47m ago•0 comments

Tencent used Anthropic's Claude to fine-tune it's new Hy3 AI model

https://www.reuters.com/world/china/chinese-companies-used-claude-improve-own-models-anthropic-sa...
2•webninja•48m ago•0 comments

CATL says sodium batteries are mainstream-ready, signs 60 GWh deal

https://electrek.co/2026/04/27/catl-sodium-ion-battery-60gwh-energy-storage-deal/
3•ravenical•51m ago•0 comments

Fedora 44

https://fedoraproject.org/
1•linzhangrun•51m ago•0 comments

Amazon to offer OpenAI models on AWS after Microsoft exclusivity ends

https://www.aboutamazon.com/news/aws/bedrock-openai-models
1•webninja•51m ago•1 comments

Anti-Trump Instagram pic of seashells now enough to indict ex-FBI directors

https://arstechnica.com/tech-policy/2026/04/anti-trump-instagram-pic-of-seashells-now-enough-to-i...
6•duxup•52m ago•1 comments

Five takeaways from the King's historic address to Congress

https://www.bbc.com/news/articles/c8jvl3x19v9o
1•defrost•52m 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•11mo ago

Comments

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