frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The Usefulness of AI Agents

https://erikjohannes.no/posts/20260408-on-the-usefulness-of-ai-agents/index.html
1•Curiositry•3m ago•0 comments

/Dev/Notion

https://www.notion.com/product/dev
2•handfuloflight•3m ago•0 comments

AI glasses are aiding cheating in exams. Test-obsessed Asia is ground zero

https://www.cnn.com/2026/06/26/asia/ai-glasses-cheating-exams-intl-hnk
1•pseudolus•5m ago•0 comments

AI Workflows in Production Without Burning Tokens

https://unmeshed.io/blog/bringing-ai-workflow-into-production-without-burning-tokens
1•jusonchan81•8m ago•0 comments

Microsoft worker emails employees about company's support of Israel

https://www.thecanary.co/global/world-analysis/2026/06/26/microsoft-worker-emails/
2•lorecore•10m ago•0 comments

The Cheques Are for the Land Not the Intelligence

https://aidatumpoint.substack.com/p/the-cheques-are-for-the-land-not
1•MadCatBureau•11m ago•0 comments

Show HN: best.free

https://best.free/
1•nadermx•12m ago•0 comments

Crypto vs. community: 4k local US lenders join forces to fight 'stablecoins' law

https://www.theguardian.com/technology/2026/jun/28/crypto-v-community-local-lenders-fight-stablec...
3•pseudolus•12m ago•0 comments

New UK stealth fighter demonstrator takes shape

https://www.aerosociety.com/news/new-uk-stealth-fighter-demonstrator-takes-shape/
1•Gravityloss•12m ago•0 comments

You get to watch 1 season of 1 show for the rest of your life, what do you pick?

https://www.reddit.com/r/AskReddit/s/Sf9sqnAqRr
1•eeko_systems•13m ago•1 comments

QUIC, HTTP/3 and WebTransport Vulnerabilities and How PQCrypta Mitigates Them

https://pqcrypta.com/quic-hardening/
1•pqpdf•22m ago•0 comments

Wall Street regulator investigating prediction market giant Polymarket

https://www.politico.com/news/2026/06/26/cftc-investigation-prediction-market-polymarket-00978218
7•voxadam•29m ago•1 comments

Knowledge Distillation of Black-Box Large Language Models

https://arxiv.org/abs/2401.07013
9•babelfish•32m ago•3 comments

My coworker Iris isn't a person

https://vinibrasil.com/my-coworker-iris-isnt-a-person/
1•vnbrs•33m ago•0 comments

France records 1k additional deaths as extreme heat breaks European records

https://www.latimes.com/world-nation/story/2026-06-28/extreme-heat-breaks-more-european-records-1...
2•rolph•33m ago•0 comments

State of the Tau 2026: Why Pi Is Wrong

https://www.tauday.com/state-of-the-tau-current
1•rendx•34m ago•0 comments

Khaos C2: Building a Custom Command and Control from Scratch

https://medium.com/@28zaaky/khaos-c2-building-a-fully-custom-command-and-control-from-scratch-95c...
2•882542F3884314B•36m ago•0 comments

Ask HN: Local CJK/Latin entity extraction without shipping a model?

2•zphou•37m ago•0 comments

Show HN: Pitch Ponies – startup themed comic series

https://supramono.com/blog/never-trust-a-venture-capitalist-a-founders-comic-book-horror-story/
1•supramono•37m ago•0 comments

Writing your own static website generator

https://x3hy.github.io/data/pages/f32cbcd0-c594-4a16-b93b-bdcb2c9b2573.html
2•3hy•39m ago•0 comments

A QNX-inspired operating system with selectable kernels

https://qsoe.net
5•edvinbesic•42m ago•0 comments

Hire Me (Taylor) via API

https://taylor.town/looop-000
2•Curiositry•42m ago•0 comments

Amid stark opposition, data center developers think twice about Florida

https://www.politico.com/news/2026/06/28/florida-data-centers-developers-opposition-00978255
2•1vuio0pswjnm7•43m ago•0 comments

Xonaly – Canada's Independent Search Engine

https://xonaly.com/
4•backlit4034•43m ago•0 comments

Comparative Advantage in Software

https://achad4.substack.com/p/comparative-advantage-in-software
1•achad4•44m ago•0 comments

Role-model: protocol for assigning the right AI model for the right job

https://role-model.dev/
1•handfuloflight•47m ago•0 comments

How does a pull-back car work? Illustrated teardown

https://mechanical-pencil.com/products/car
3•Muhammad523•47m ago•1 comments

Why One of Tech's Biggest Gamblers Is Betting Against Elon Musk's AI Vision

https://www.wsj.com/tech/why-one-of-techs-biggest-gamblers-is-betting-against-elon-musks-ai-visio...
1•petilon•48m ago•2 comments

Slow Breathing Can Rewire Your Brain and Change the Choices You Make

https://scitechdaily.com/slow-breathing-can-rewire-your-brain-and-change-the-choices-you-make/
6•Gaishan•51m ago•0 comments

Lucidml – Playable World Models that run on consumer GPUs

https://www.reddit.com/r/lucidmlx/s/8d7ZjIvmV3
2•abhisoflucidml•54m 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 ...