HN user

ndr

2,216 karma

Software Engineer, traveler and wonderer.

Posts77
Comments471
View on HN
danluu.com 14d ago

Agentic test processes, LLM benchmarks, and other notes on agentic coding

ndr
1pts0
www.youtube.com 1mo ago

Pull Requests are Free Puppies [video]

ndr
3pts2
mike-sheward.medium.com 3mo ago

Deleteduser.com –A $15 PII Magnet

ndr
1pts1
thelibre.news 3mo ago

I Made the "Next-Level" Camera and I love it

ndr
258pts73
codeglf.com 4mo ago

Show HN: Codeglf – a local-first Python golf site

ndr
2pts0
www.lesswrong.com 4mo ago

Responsible Scaling Policy v3

ndr
1pts0
github.com 5mo ago

Show HN: Claude-Stream-Compactor

ndr
5pts0
jvns.ca 6mo ago

A Data Model for Git

ndr
2pts0
kamal-deploy.org 6mo ago

Kamal: Deploy Web Apps Anywhere

ndr
2pts0
www.youtube.com 7mo ago

Stanford Lecture: Dr. Don Knuth – Adventures with Knight's Tours [video]

ndr
2pts0
zellij.dev 7mo ago

Zellij: A terminal workspace with batteries included

ndr
66pts61
github.com 8mo ago

AeroSpace, i3-like tiling window manager for macOS

ndr
2pts0
www.theverge.com 11mo ago

Perplexity offers to buy Google Chrome for $34.5B

ndr
93pts123
nostr.com 11mo ago

Nostr – An open protocol with a chance of working

ndr
4pts0
twitter.com 1y ago

Coinbase was hacked, breached <1% of MTU data

ndr
7pts2
news.ycombinator.com 1y ago

Tell HN: Cursor stuck with outdated VSCode Marketplace, CVEs unresolved

ndr
16pts0
www.localfirst.fm 1y ago

A podcast about local-first software development

ndr
1pts0
leochatain.com 1y ago

Eat Dessert First

ndr
1pts0
www.bloomberg.com 1y ago

Former Google, Stripe Executives Raise $56M for AI Agent Startup

ndr
2pts0
nikitabobko.github.io 1y ago

AeroSpace: I3-like tiling window manager for macOS

ndr
2pts0
www.git-town.com 2y ago

Stacked Changes – Git Town

ndr
1pts0
freespoke.com 2y ago

Free Spoke Search

ndr
1pts0
logseq.com 2y ago

Logseq: A privacy-first, open-source knowledge base

ndr
18pts4
qr.brainboar.com 2y ago

Show HN: QR-Code Offline Scanner

ndr
1pts0
www.youtube.com 2y ago

JAXA Slim Lunar Landing – Live Tracker [video]

ndr
2pts0
github.com 2y ago

S6-overlay: one *thing* per Docker container

ndr
3pts0
robertheaton.com 2y ago

Making Peace with Simpson's Paradox

ndr
8pts2
download.clojure.org 2y ago

A History of Clojure (2020) [pdf]

ndr
134pts42
download.clojure.org 3y ago

A History of Clojure (2020) [pdf]

ndr
2pts0
www.schneier.com 4y ago

Clever Cryptocurrency Theft

ndr
2pts0

I use it in several projects. You're still open to a few seconds of possible downtime (depending how often you flush the WAL to your remote location, and how bursty your writes are), and you need to have all of your db on disk on the process doing the reads, but it's been great.

It's not (just) GDPR and TFA mentions that as soon as they move on from Cookies, ie point 2 on local storage:

"This buys you nothing. Article 5(3) of the ePrivacy Directive".

They clearly have a product to sell but the article seems balanced and offers a good list of commonly used/proposed techniques that are not quite compliant.

As you alluded, there're more lawful basis than consent, one of most common ones being technical necessity to mitigate abuse.

There are game-theoretically aligned ways.

See for example https://oneacrefund.org/ [0] where they have a revolving loan fund.

OAF lends materials and teachers to farmers to make the more productive, by the end of the program they got productive enough to pay back the loan and OAF can lend the same money to someone else.

It's super capillary, with many boots on grounds and quality problems.

Embedded into this there's a good feedback channel: farmers who don't think are getting a good service stop paying back the loan. This allows OAF to go and audit what's failing there.

[0] The person who started also appeared in a podcast where they explained the basics https://foreveron.com/podcast/episode-035/

Great loop spotting!

Recently I was messing around with parquet files in Python and ended up needing to ship the results on Windows, without a Windows machine to test on.

Shipping Python to end users is half mad already, and doing it on Windows is exactly the kind of thing I don't want to spend my life maintaining.

So I figured I'd rewrite it in Go. But that meant embedding a DLL, and how would I test it? I could spin up a VM, sure. But GitHub Actions already has a Windows environment, and there was my loop: let the agent push to the repo, run tests in GHA, rinse and repeat.

In under an hour it had a full rewrite of my Python, passing every test and producing row-for-row copies of my Parquet output. And it does work on the user machine!

Spotting a loop like that is as satisfying as noticing you can walk your chess opponent into a smothered mate. Truly empowering.

Of course I meant that it won't make data up.

It can only emit SQL and the json spec of the chart.

Since shipping I've reviewed dozens of queries and charts it produces answering the user. I'm yet to catch sonnet off guard.

Yes it's that, in particular `duplicate-code`.

`pylint . --disable=R0801` will work, `pylint profiling/ --enable=duplicate-code` doesn't seem to exit in a reasonable time. So that's likely hitting some pathological case, possibly accidentallyquadratic.tumblr.com material.

TBH this is true only on the root of black. If you do `uvx pylint src/` it takes 5s on my machine.

It's still impressive but it looks like a pathological case in a test directory.

This. I've recently used both duckdb and sqlite to power a dashboard for a small restaurant of a family member. It converts all their sales to a very tiny parquet files, daily.

The file fits in memory and can do all sort of computation in the browser itself. The backend is extremely simple, it just loads the JS and serves the parquet files.

It was also trivial to let the owner do their own queries, just give the schema to an LLM and let it use the charting library, no data hallucinations. If they need it in the dashboard they can either use that one or ask me to review that query.

To be honest, given how simple some things became, it's been really fun to work on.

Lightly edited transcript of Richard Hipp, creator of SQLite, from 28'53":

Suppose you had a pull request for SQLite. "Hey, I've got this new feature for SQLite. Here's the pull request." When you want me to pull that into the tree, you say, "Oh, it's free."

No, it's not free. What you're doing is asking me - you've got this cool feature, and you want me to maintain it for you, to document it for you, to test it for you, to maintain it for you for the next twenty-five years. That's not free.

Linus Torvalds is famous for saying there's free as in beer and free as in speech. But there's another kind of freedom: free as in puppies. "Oh look, I've got a free puppy for you." You see where this is going?

A pull request is a free puppy. And then you've just got a kennel full of puppies at the end of the day. And you can't just throw them out - you're morally obligated to take care of them for their natural life.

I don't want any free puppies.

Originally posted at https://news.ycombinator.com/item?id=48567803 but may be worth its own entry

Related to this, the concept of "free as in puppies" from D. Richard Hipp, creator of SQLite:

Suppose you had a pull request for SQLite. "Hey, I've got this new feature for SQLite. Here's the pull request." When you want me to pull that into the tree, you say, "Oh, it's free."

No, it's not free. What you're doing is asking me - you've got this cool feature, and you want me to maintain it for you, to document it for you, to test it for you, to maintain it for you for the next twenty-five years. That's not free.

Linus Torvalds is famous for saying there's free as in beer and free as in speech. But there's another kind of freedom: free as in puppies. "Oh look, I've got a free puppy for you." You see where this is going?

A pull request is a free puppy. And then you've just got a kennel full of puppies at the end of the day. And you can't just throw them out - you're morally obligated to take care of them for their natural life.

I don't want any free puppies.

source: https://youtu.be/x8_ZZhRL3YU?t=1715

"Any sufficiently complicated C or Fortran program contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of Common Lisp."

-- Greenspun's tenth rule

He had some lack of conviction to scope it so narrowly.

With what credit card provider?

I've done it multiple times when a vendor wasn't behaving fairly and it always went through.

I don't recommend doing it to a vendor you plan to have business with again in the future as they might ban you (eg food delivery apps)

This is uncharitable, but makes a prediction. I imagine you'd bet the author won't be successfully using this, at MS/Uber or wherever they are, in a year time?

Rust makes no promise of being terser than C++, and RSL does less than this considering the optimization.

Also it's only 45/50k LOC so not so very from the 36k LOC.