frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Add a walking Ralsei to your site

https://github.com/jotalea/ralsei.js
1•Jotalea•56s ago•0 comments

A ten-minute guide to electrical theory

https://kevinboone.me/electricity.html
1•andsoitis•2m ago•0 comments

OS builder tool for the Teenage Engineering OP-XY synthesizer

https://open-xy.com/
1•drunkonvinyl•2m ago•1 comments

The engine parts that 'fight the laws of the universe'

https://www.bbc.com/news/articles/cwe9lmp1pyyxo
1•ranit•4m ago•0 comments

A Bit about Email

https://maurycyz.com/misc/email/
1•zdw•7m ago•0 comments

Google AI's Opinions on How Ansible Has Changed

https://laserllama.substack.com/p/google-ais-opinions-on-how-ansible
1•geerlingguy•7m ago•0 comments

Air holes turn silicon wafers into flat UV focusing mirrors for compact optics

https://phys.org/news/2026-11-air-holes-silicon-wafers-flat.html
1•bookofjoe•8m ago•1 comments

Paraguay bank collapse fells a presidency and leaves millions broke

https://www.theguardian.com/world/2026/nov/07/paraguay-ueno-bank-collapse-santiago-pena
1•hbarka•10m ago•0 comments

Show HN: Certadomain – Free DMARC, subdomain takeover and lookalike checks

https://certadomain.com/en/index.html
1•ytkoka•12m ago•0 comments

One-day knowledge tests hide forgetting: LoRA 96% to 26.7% over four nights

https://huggingface.co/datasets/fintanlabs/overnight-four-nights-2026-11
1•troybrandon•13m ago•0 comments

I would love if you check my assistant

https://xaiht.org
1•angela_xaith•13m ago•0 comments

NAS Reborn

https://nasreborn.com/
1•wrxd•15m ago•0 comments

The planet Vulcan: a cautionary tale

https://kevinboone.me/vulcan.html
1•andsoitis•16m ago•0 comments

Min-Max Heap

https://en.wikipedia.org/wiki/Min-max_heap
1•Brysonbw•17m ago•0 comments

The best general advice on earth

https://jsomers.net/blog/william-james-advice
1•7777777phil•17m ago•1 comments

Dependencies in Linux Binaries (2024)

http://thelittleengineerthatcould.blogspot.com/2024/04/hidden-dependencies-in-linux-binaries.html
2•nanis•17m ago•0 comments

Sendspin: Whole-home audio, without the lock-in

https://www.sendspin-audio.com/
1•LelouBil•18m ago•0 comments

Activists break into building site of Microsoft datacentre in Amsterdam

https://www.theguardian.com/world/2026/nov/06/activists-break-into-building-site-of-microsoft-dat...
1•Markoff•19m ago•0 comments

AI agents are getting more complex. Developers shouldn't have to babysit them

https://thenewstack.io/harness-engineering-coding-agents/
1•Brajeshwar•20m ago•0 comments

The Second Photonic Shock: A Model

https://syncretica.substack.com/p/the-second-photonic-shock-a-model
1•7777777phil•23m ago•0 comments

A video game which caused real world violence

https://shkspr.mobi/blog/2026/11/a-video-game-which-caused-real-world-violence/
2•Brajeshwar•24m ago•0 comments

Show HN: Solous, a journaling app like a social media for emotions inside of you

https://solous.net/
1•solous•25m ago•0 comments

Thunderstruck: What does the future hold for lightning?

https://www.theguardian.com/science/ng-interactive/2026/nov/08/future-of-lightning-global-heating...
1•howard941•25m ago•0 comments

U.S. Refineries Make Dramatic Shift Away from Gasoline

https://oilprice.com/Energy/Energy-General/US-Refineries-Make-Dramatic-Shift-Away-From-Gasoline.html
1•iamnothere•28m ago•0 comments

Making musl and proprietary Nvidia drivers work together

https://chimera-linux.org/news/2026/11/musl-nvidia.html
1•birdculture•31m ago•0 comments

Show HN: Image to Image AI: Free AI Image Editor Online – Tancky AI

https://tancky.io/
1•tancky•33m ago•0 comments

A maximally tiny language model

https://tonisagrista.com/blog/2026/tinylm/
2•ilreb•33m ago•0 comments

MIDI Vanilli? Argentina's bass playing fake [video]

https://www.youtube.com/watch?v=FRoXKvD19Po
1•nephihaha•34m ago•0 comments

Show HN: Compress Photos for Email

https://onlineimageoptimizer.com/compress-photos-for-email
1•ImageOptimizer•35m ago•0 comments

The Secret Lives of China's Art Factory Workers

https://www.instapainting.com/blog/the-secret-lives-of-china-art-factory-workers
2•chrischen•36m 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 ...