frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

How drones could be used to track plastic litter on Irish beaches

https://www.rte.ie/brainstorm/2026/0424/1569594-ireland-beaches-plastic-pollution-litter-drone-fo...
1•austinallegro•3m ago•0 comments

Show HN: Daily China AI news briefing – engineering, product, and business

https://overnightai.substack.com/p/china-ai-news-eight-chinese-chip
1•jackyli02•4m ago•0 comments

Ask HN: I built an AI planner that adapts routines automatically – feedback?

1•Profazia•9m ago•0 comments

FDA gives the green light to the first gene therapy for deafness

https://www.npr.org/2026/04/23/nx-s1-5795526/deafness-gene-therapy-regeneron
1•geox•10m ago•0 comments

Wisp – Social that's fun again

https://wisp.mobile
2•janandonly•10m ago•0 comments

Wikipedia's AI Policy

https://en.wikipedia.org/wiki/Wikipedia:Artificial_intelligence
4•Antibabelic•14m ago•0 comments

Kremlin's tightening grip on internet fuels Russian discontent

https://www.bbc.com/news/articles/cr510de17jlo
1•breve•15m ago•0 comments

Mathesar 0.10.0

https://docs.mathesar.org/0.10.0/releases/0.10.0/
1•klaussilveira•16m ago•0 comments

Mounting tar archives as a filesystem in WebAssembly

https://jeroen.github.io/notes/webassembly-tar/
3•datajeroen•16m ago•0 comments

Impactmel Is Available

https://impactmel.com
1•pndize•17m ago•0 comments

Hidden Secrets in the ArXiv: Information Disclosure in Preprint Source Files

https://arxiv.org/abs/2604.20927
1•bageldesert•18m ago•0 comments

Ask HN: What sw do you dream about but don't have the time to code yourself?

1•curtisblaine•21m ago•1 comments

Artificial intelligence is creeping into American lawmaking

https://www.economist.com/united-states/2026/04/23/artificial-intelligence-is-creeping-into-ameri...
1•edward•22m ago•0 comments

Ask HN: Am I getting old, or is working with AI juniors becoming a nightmare?

3•MichaelRazum•22m ago•2 comments

Ask HN: Who is using DeepSeek in production

2•h99•22m ago•0 comments

DeepSeek-V4: Making 1M token context efficient

https://firethering.com/deepseek-v4-open-source-million-token-context/
2•steveharing1•23m ago•0 comments

OpenAI has the governance structure of a unicorn – it does not exist

https://readuncut.com/open-ai-has-little-effective-governance/
1•dnsb•25m ago•0 comments

Half a Month of Consolation Writing Advice

https://www.astralcodexten.com/p/half-a-month-of-consolation-writing
1•herbertl•27m ago•0 comments

How to Make Sense of AI

https://commoncog.com/how-to-make-sense-of-ai/
2•dnnddidiej•29m ago•0 comments

Seed3D 2.0

https://seed.bytedance.com/en/seed3d_2_0
1•pella•30m ago•0 comments

Why software fundamentals matter more than ever [video]

https://www.youtube.com/watch?v=v4F1gFy-hqg
1•zingar•32m ago•0 comments

The global edtech boom is fading as investors look elsewhere

https://restofworld.org/2026/edtech-funding-collapse-k12-startups-ai-workforce/
1•thm•32m ago•0 comments

Removal of Microplastics from Drinking Water by Moringa Oleifera Seed

https://pubs.acs.org/doi/10.1021/acsomega.5c11569
2•fodmap•33m ago•0 comments

AI Agent Designs a RISC-V CPU Core from Scratch

https://spectrum.ieee.org/ai-chip-design
2•pseudolus•36m ago•0 comments

Facts versus Understanding

https://www.solipsys.co.uk/ZimExpt/FactsVersusUnderstanding.html?zd24hn
2•ColinWright•37m ago•1 comments

US accuses China of "industrial-scale" AI theft. China says it's "slander"

https://arstechnica.com/tech-policy/2026/04/us-accuses-china-of-industrial-scale-ai-theft-china-s...
7•jnord•39m ago•0 comments

Electrostatics and High Voltage Links

http://amasci.com/static/electrostatic1.html
1•ludicrousdispla•42m ago•0 comments

Cohere and Aleph Alpha Merger

https://www.nytimes.com/2026/04/24/business/cohere-aleph-alpha-ai-merger.html
3•warthog•42m ago•0 comments

Spectro – macOS app to detect fake lossless audio files

https://www.getspectro.app
3•ddtcx•47m ago•0 comments

How Much Information Does Adding Noise Remove?

https://www.testingbranch.com/information_loss_and_noise/
2•mpcsb•57m 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 ...