Better HN
topnewbestaskshowjobs
Log inSign up

lukasschwab

185 karma · joined Feb 14, 2016 (10y ago) · 48 submissions

Submissions

comment 1d ago · link · parent

Would be neat to recreate this on the same MacBook Pro using 19 kHz sound (inaudible for most adults) as the side-channel instead of RF.

2.

Covert Channels Without Coordination(ostro.ws ↗)

2 points · by lukasschwab · 1d ago · 1 comment

comment 1w ago · link · parent

Are there clear reasons to prefer this over just pinning a commit SHA?

comment 2w ago · link · parent

Agents are pretty savvy with the `go doc` and `go list` builtins, especially if you nudge them!

comment 3w ago · link · parent

I was impressed by Marin's published evals policies: https://github.com/marin-community/marin/issues/9409

Precise and very clearly written.

comment 3w ago · link · parent

I'm not sure I'll do it justice, but one of the general ideas behind open-model initiatives is that the economic impacts of specialized post-training are a fait accompli. OpenAI and Anthropic have spent $many-millions procuring closed posttraining data.

The relevant question here is whether you want open-weight models — projects like Open Athena — to remain or become competitive in the same range of specialties.

7.

There is no posttraining data commons(openathena.ai ↗)

128 points · by lukasschwab · 3w ago · 30 comments

8.

Illustrating the AI proof of the Mahler conjecture(chessapig.github.io ↗)

1 points · by lukasschwab · 1mo ago · discuss

comment 1mo ago · link · parent

Nope. There's a lot of unscientific intellectualism out there. I don't see a lot of intellectual depth in the communities springing up around AI use — I had vibecoding in particular in mind, and Fernando's blog post directly addresses mathematics.

I don't understand the contrast you're drawing. Harness design and benchmarking are major aspects of vibe coding (and solving math problems with LLMs, for that matter); I would go so far as to say harness design and benchmarking are the more intellectually serious aspects of vibecoding. Fernando is definitely aware of them as well. These just aren't meaningful substitutes for the intellectual work being diminished.

comment 1mo ago · link · parent

If you exclude the deep work on models themselves and just focus on use — harnesses etc. — then the intellectual community is basically prescientific. Very little meaningful empiricism. danluu's notes on benchmarks and experimental design come to mind: https://danluu.com/exercise-7/

comment 1mo ago · link · parent

Super slick buried Extend marketing

comment 1mo ago · link · parent

More byzantine that way

comment 1mo ago · link · parent

SQLite/Turso probably offers a much better developer experience than Postgres for the overwhelming majority of projects on Supabase (especially for local testing and testing in ephemeral environments).

comment 1mo ago · link · parent

Didn't mean to dismiss it. I think it's worth reasoning about! e.g. the CI example — in a build cache shared between ephemeral instances, cache poisoning can smuggle malicious behavior from untrusted environments to trusted ones. You're right.

comment 2mo ago · link · parent

One thing to consider — one of the reasons I want our Actions CI to be fast is that I do a good deal of agentic coding work in parallel (worktrees) on very, very small VMs, but we have some computationally demanding tests and linters. Delegating the expensive validation work to a separate environment — the beefier Actions runner, with run-isolation — and then watching the check status actually tightens the feedback loop for these agents.

Like with all things CI, your mileage will vary according to where you write your code and what the code does.

comment 2mo ago · link · parent

I'd echo Peter's #1 recommendation:

> - Allowing actions/setup-go users to specify a cache key prefix so that they can have more than one golang CI job, each with its own cache [...]

I'd actually go further: this may be a sensible default behavior.

"Always update the cache" can get expensive, but it's a neat one; "trim the cache" is definitely necessary if you enable this in a moderately active repository in our experience.

If you want really out-there ideas: rather than storing and loading the full cache monolithically, you could use a GitHub-specific GOCACHEPROG and Go-specific cache service to load only the active items. The pruning problem goes away because accretion is cheap. In theory, parallel jobs could actually share this joint cache. (This may not be a realistic initiative at GitHub.)

If you can raise feedback with your colleagues —

- The docs and settings for Actions Cache limits are really hard to navigate; at some pointed we desperately wanted to pay GitHub more money for more cache, but couldn't figure out why we were capped.

- Bulk-data endpoints for Actions performance would be a boon for optimization projects like this. I wind up either scraping `gh run` (slow) or setting up a GitHub App to collect perf data through webhooks (initially tedious, has to be continuously available).

All this aside — actions/setup-go is a pretty well-considered default and an essential part of writing Go on GitHub; ty for your work maintaining it!

comment 2mo ago · link · parent

They target different parts of actions/setup-go for optimization:

- WillAbides/setup-go-faster speeds up the Go toolchain setup (literally installing Go)

- cloudx-io/setup-go uses the slower actions/setup-go toolchain setup, but changes cache strategy so your `go test` and `go build` steps do less work

Those strategies are compatible. I hadn't heard of setup-go-faster — thanks for putting me on to it.

If you're deciding between one or the other, it'll probably come down to which inefficiency predominates in your codebase (i.e. how many tests you have, how quickly they run, and how much real churn there is in your test package build graph).

comment 2mo ago · link · parent

I also had fun substantiating the claim "86% of actions/setup-go test runs are unnecessary." We had a general sense things were faster, and we measured impacts immediately after we made changes, but hard to understand long-run performance vs. a counterfactual.

The trick was to run back over our git history and calculate, for each commit,

1. The test package Go cache keys at that point

2. The GitHub actions/cache keys constructed by actions/setup-go and cloudx-io/setup-go respectively

Once you have these mappings, you can

1. Pick some arbitrary HEAD commit

2. Model which prior GitHub cache blob would be loaded under each action

3. Compare the test package Go cache keys in that loaded blob against those for HEAD to determine which test packages would run vs. skip

Might write this up in greater depth sometime soon.

comment 2mo ago · link · parent

There are some good off-cuts that didn't make the official post, but which might be of interest to HN!

It only gets a brief mention, but the cache-pruning change was an interesting one. Cache accretion happens in the default actions/setup-go too, but dramatically increasing the number of cache-writes for cloudx-io/setup-go made it an actual issue.

As the cache grows, so does the time it takes to load it from GitHub's actions cache... and that grows until it's a significant time-suck in CI. We prune with basic mark-and-sweep.

Digging deeper, the pluggable `GOCACHEPROG` (introduced in Go 1.24) is a really useful tool. Shimming the normal cache logic for measurement, for example. In theory this should also be attractive for remote caching.

comment 3mo ago · link · parent

> I’m going to add a recommendation in our docs for pgtestdb, particularly for users aiming to test end-to-end (i.e. job inserted by client → fully completed by worker).

That's exactly what I did to learn River — implementing simple apps and testing their execution with pgtestdb: https://github.com/lukasschwab/river-playground

The starter skeleton was LLM-generated and not quite perfect, but discovering the coding agent's mistakes was satisfying in its own right.

comment 4mo ago · link · parent

The title is a reference back to "Is Claude Code a Compiler?" by the same author, linked from the first sentence: https://commaok.xyz/ai/is-claude-a-compiler/

And then claim is attributed right there:

> The hands-down highlight was the talk by Erik Schluntz: Vibe coding in prod.

> Among other things, he drew an analogy between LLMs and compilers.

comment 7mo ago · link · parent

You won't make one at home, but cloud chambers[^1] reveal individual alpha particle tracks.

There's one in the Musée des Arts et Métiers in Paris — blew my mind!

[^1]: https://en.wikipedia.org/wiki/Cloud_chamber

Edit: turns out people make these at home all the time. Sick!

23.

Show HN: Explore your own Spotify history(lukasschwab.me ↗)

2 points · by lukasschwab · 11mo ago · discuss

comment 1y ago · link · parent

Large gems can be broken up and recut for sale. Destroys value (certainly the cultural value) but renders them salable.

comment 1y ago · link · parent

His recent "Secret Life of Components" series covers lots of fascinating electromechanical tinkering, including many of the mechanisms in the Novelty Automation arcade machines: https://www.youtube.com/watch?v=6JAgXz6xO0s&list=PLtaR0lZhSy...

comment 1y ago · link · parent

Basically linkblogging. I'm not sure this needs to be a separate feed; JSON Feed has a dedicated `external_url` field:

> If `url` [optional] links to where you’re talking about a thing, then `external_url` links to the thing you’re talking about.

I'd be shocked if Atom/RSS didn't have equivalents.

This kind of "repost"-ish behavior may just be obscured in the tools people use to construct feeds, so they remain obscure features of the standards. The designers had syndication in mind, very much like what you're describing — ingesting feeds, reprocessing/mixing/extending them, and exposing the result as another feed.

comment 1y ago · link · parent

After about a decade of experimentation (NetNewsWire, Feedbin, Miniflux...), I'm self-hosting a feed reader I wrote myself, running on a free hosted LibSQL db.

- NetNewsWire was slick, but wouldn't work on my phone.

- Feedbin was excellent, but eventually I decided to do some subscription cost-cutting.

- Miniflux worked fine, but 1) I found it a pain to set up with remote hosted Postgres and 2) it burned through the Neon free-tier usage limits in a couple days.

So I built one myself and run it on a Raspberry Pi home server.

Made a great little weekend project. The feed standards are known quantities, so a little AI assistance with boilerplate goes a long way.

Deciding you need a new feature and just adding it is refreshing — e.g. I wanted a "read it later" feature like Feedbin's (something missing from Miniflux), and now I have it.

comment 1y ago · link · parent

> An RTO mandate is also an excellent thing for a CEO to show investors they are doing, if they are not making money and lack better ideas.

I think of Jeffrey Pfeffer's "social contagion" arguments a lot — first with regards to layoffs[^1], but increasingly also to RTO policies and tracked AI use.

It seems very unlikely execs (esp. in small organizations) are taking the time to read and seriously evaluate research about RTO or AI and productivity. (Frankly, it seems much less likely than them doing serious modeling about layoffs.) At some point, the "contagion" becomes a matter of "best practices" — not just a way to show investors what you're doing, but part of the normal behavior shareholders expect.

Bleak if true!

[^1]: https://news.stanford.edu/stories/2022/12/explains-recent-te...

comment 1y ago · link · parent

A practical guide for integrating a custom linter into your Go project, a [light] screed against golangci-lint, and a defense of a simpler Go metalinter I’m experimenting with: glint.

30.

Bring Your Own Linter (Go)(lukasschwab.me ↗)

1 points · by lukasschwab · 1y ago · 1 comment

12