HackerLangs
トップ新着トレンドコメント過去質問紹介求人

ndr

2,213 カルマ登録 13 年前
Software Engineer, traveler and wonderer.

投稿

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

danluu.com
1 ポイント·投稿者 ndr·3 日前·0 コメント

Pull Requests are Free Puppies [video]

youtube.com
3 ポイント·投稿者 ndr·24 日前·2 コメント

Deleteduser.com –A $15 PII Magnet

mike-sheward.medium.com
1 ポイント·投稿者 ndr·3 か月前·1 コメント

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

thelibre.news
258 ポイント·投稿者 ndr·3 か月前·73 コメント

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

codeglf.com
2 ポイント·投稿者 ndr·4 か月前·0 コメント

Responsible Scaling Policy v3

lesswrong.com
1 ポイント·投稿者 ndr·4 か月前·0 コメント

Show HN: Claude-Stream-Compactor

github.com
5 ポイント·投稿者 ndr·5 か月前·0 コメント

A Data Model for Git

jvns.ca
2 ポイント·投稿者 ndr·6 か月前·0 コメント

Kamal: Deploy Web Apps Anywhere

kamal-deploy.org
2 ポイント·投稿者 ndr·6 か月前·0 コメント

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

youtube.com
2 ポイント·投稿者 ndr·7 か月前·0 コメント

Zellij: A terminal workspace with batteries included

zellij.dev
66 ポイント·投稿者 ndr·7 か月前·61 コメント

AeroSpace, i3-like tiling window manager for macOS

github.com
2 ポイント·投稿者 ndr·8 か月前·0 コメント

コメント

ndr
·4 日前·議論
From TFA:

> The authorized PDF versions can be purchased at www.informit.com/taocp
ndr
·5 日前·議論
Is it only me or this sounds a bit counter to clojure philosophy?
ndr
·10 日前·議論
Use that logic to sell phones. Don't limit civil liberties to compensate for failures of parental supervision.
ndr
·11 日前·議論
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/
ndr
·16 日前·議論
This is what kamal does when you use localhost as registry [0] [1].

Pretty cool thing, I ship plenty of services to my tiny $5/mo vps with it without having to pay for a docker registry.

[0] https://kamal-deploy.org/docs/configuration/docker-registry/...

[1] https://github.com/basecamp/kamal/blob/eee0083b38661c3707c6b...
ndr
·16 日前·議論
I do consume the parquets with DuckDB but had to read in firebird sql stuff.

I didn't think of checking, but I now learnt there's an extension for DuckDB but it's C++ and also embeds the same DLL [0] https://github.com/flozer/duckdb-firebird
ndr
·16 日前·議論
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.
ndr
·19 日前·議論
https://archive.ph/UwObv
ndr
·21 日前·議論
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.
ndr
·22 日前·議論
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.
ndr
·22 日前·議論
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.
ndr
·22 日前·議論
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.
ndr
·24 日前·議論
Context is that which is scarce.

It's hard to predict what parts of shared understanding we have today is going to be scarce tomorrow. And one can't serialize _all_ of that current shared understanding in documents and integration tests.

https://marginalrevolution.com/marginalrevolution/2021/12/co...
ndr
·24 日前·議論
Ugh HN removes the timestamp from the link!

https://www.youtube.com/watch?v=x8_ZZhRL3YU&t=1733s
ndr
·24 日前·議論
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
ndr
·24 日前·議論
Thank you, I was too eager copy-pasting YT transcriptions.
ndr
·24 日前·議論
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
ndr
·24 日前·議論
Is this what Cursor uses or a standard I'm unaware of?
ndr
·先月·議論
Thank you for resurfacing this, it has been my daily commute read for years, it was great!
ndr
·先月·議論
"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.