frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Palantir Has a Nemesis and I Accidentally Found Him [video]

https://www.youtube.com/watch?v=4l53lJ-Ulkw
1•Cider9986•2m ago•0 comments

Show HN: Zen Mode – a global focus mode for macOS

https://github.com/cabeen/zen-mode
1•cafebeen•2m ago•1 comments

The State of MCP Security [pdf]

https://www.canopii.dev/State%20of%20MCP%20Security%202026.pdf
2•mavzer•5m ago•0 comments

China lands rocket during an orbital launch for first time

https://www.space.com/space-exploration/launches-spacecraft/making-history-china-lands-rocket-dur...
1•zdw•5m ago•0 comments

Show HN: Openleetcode – LeetCode runner where tests live in the repo

https://github.com/therepanic/openleetcode/releases/tag/v1.0.2
1•therepanic•6m ago•0 comments

Would AI have ruined my 100 days of algorithms?

https://danielsada.tech/blog/100-days-of-algorithms/
1•dshacker•7m ago•0 comments

Flash-MSA: Accelerating Million-Token Training with Sparse Attention Kernels

https://nanduruganesh.github.io/flash-msa/
2•rawsh•8m ago•0 comments

A SETI Home for AI-Assisted Research

https://www.kvncnnlly.com/2026-07-11-seti-for-ai-assisted-research/
1•wintercarver•9m ago•0 comments

What's the story behind the names of Cloudflare's name servers? (2013)

https://blog.cloudflare.com/whats-the-story-behind-the-names-of-cloudflares-name-servers/
2•aragonite•12m ago•0 comments

"Stop Cutting Down Flock Cameras " (Mass Surveillance Is Good) [video]

https://www.youtube.com/watch?v=su-Ce4PlNz0
8•Bender•15m ago•0 comments

Elsevier's global survey of 3k researchers on use of AI tools

https://www.elsevier.com/about/press-releases/elseviers-global-survey-of-3-000-researchers-reveal...
3•yogthos•16m ago•1 comments

Imaginary Bases

https://thegraycuber.com/imaginary_bases/
3•marvinborner•17m ago•0 comments

I made a easy to understand and easy to write programming language

https://github.com/NEWMAN50ott/A-Lang
2•newman50ott•18m ago•1 comments

Lake Mead Update Dangerous New Lows Happening Now [video]

https://www.youtube.com/watch?v=5y8w5uvWaIQ
2•Bender•18m ago•0 comments

Why prompt injection works: a Transformer-level view

https://medium.com/@kirill89/why-prompt-injection-works-a-transformer-level-view-d5e3cfa31525
2•k1r111•20m ago•0 comments

Show HN: Crawlie Search – Rust powered 12x cheaper site search than Algolia

https://www.crawlie.co/products/search
2•seandotexe•21m ago•1 comments

Rust Buch

https://anfaenger.wissen-ahrensburg.de/
2•thorstenkloehn•21m ago•0 comments

Getting back my closed Google Play Developer account

https://blog.matzielab.com/getting-back-my-closed-google-play-developer-account/
2•matzie•22m ago•0 comments

Show HN: Present of Time – gift someone your undivided time,phone in an envelope

https://presentoftime.com/
2•growt•22m ago•0 comments

The hard-line activists ramping up for the war with AI

https://www.msn.com/en-us/news/us/the-hard-line-activists-ramping-up-for-the-war-with-ai/ar-AA27IpTr
2•pseudolus•22m ago•0 comments

UI for Managing Aliases

https://github.com/hannesgnann-hub/easyalias
2•user99op•23m ago•1 comments

Using Augmented Reality to identify planes in the sky

https://apps.apple.com/cy/app/ardar-ar-flight-tracker/id6786470882
2•ItsMeDavidV•25m ago•1 comments

Netflix reportedly considering always-on channels and bundles, which is, cable

https://thenextweb.com/news/netflix-always-on-channels-bundles-cable
4•rolph•26m ago•1 comments

Show HN: Lazysusan – run commands on your machines from anywhere with just curl

https://github.com/belugashark/lazysusan
2•ishaanmishra•28m ago•0 comments

Meningococcal B Vaccine to Prevent Neisseria Gonorrhoeae Infection

https://www.nejm.org/doi/full/10.1056/NEJMoa2516739
3•bushwart•30m ago•0 comments

Tiny Emulators

https://floooh.github.io/tiny8bit-preview/index.html
27•naves•31m ago•0 comments

Creator Sues for First Amendment Rights After Being Blocked from JD Vance Event

https://www.aclu.org/press-releases/catsonacouch-instagram-creator-barred-from-jd-vance-event-sue...
4•gnabgib•32m ago•1 comments

Do Models Doubt?

https://www.psychologytoday.com/us/blog/the-digital-self/202607/before-i-think-therefore-i-am
3•0gs•33m ago•1 comments

LinkedIn, a mass grave of ghost jobs, is now becoming a dating app

https://www.sfgate.com/tech/article/linkedin-dating-app-22340622.php
4•backlit4034•33m ago•1 comments

Show HN: Artificiety – Agentic society in a fantasy world

https://artificiety.world
2•Haldt•35m 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 ...