265 karma · joined Mar 1, 2019 (7y ago) · 114 submissions
Github: https://github.com/carderne/
LinkedIn: http://www.linkedin.com/in/chris-arderne
Email: chris@rdrn.me
comment 6mo ago · link · parent
Gell-Mann suggests I should treat the rest of your post with skepticism.
EDIT: maybe you meant the UK total primary energy? I feel like that's extending the boundary a bit far. Should we start digging for uranium? Or stick to renewables, but only with locally sourced silica and rare earths?
comment 7mo ago · link · parent
comment 8mo ago · link · parent
[0] Fun to see the confusing docs I wrote show up more or less verbatim on Claude’s docs.
[1] My config is here, may be useful to someone: https://github.com/carderne/pi-sandbox/blob/main/sandbox.jso...
comment 8mo ago · link · parent
Yeah I think for general use the transparency of what your thing does is really great compared to a pile of TypeScript and whatnot.
comment 8mo ago · link · parent
For those using pi, I've built something similar[1] that works on macOS+Linux, using sandbox-exec/bubblewrap. Only benefit over OP is that there's some UX for temporarilily/permanently bypassing blocks.
comment 8mo ago · link · parent
[1] https://github.com/anthropic-experimental/sandbox-runtime [2] https://github.com/carderne/sandbox-runtime
comment 8mo ago · link · parent
For most use-cases I’d probably prefer to just delete the payloads some time after the job completes (persisting that data is business logic problem). And keep the benefits of “just use Postgres”, which you guys seem to have outgrown.
comment 9mo ago · link · parent
If you want bags of features, rather clone oh-my-pi somewhere, and get your agent to bring in bits of it a time, checking, reviewing, customising as you go.
comment 9mo ago · link · parent
Long read on the topic (quite funny, covers Cluely): https://harpers.org/archive/2026/03/childs-play-sam-kriss-ai...
comment 10mo ago · link · parent
These are some of the existing commercial solutions (just found these on Google, can't remember which I was comparing my own work against):
- https://koregeosystems.com/digital-core-logging/
- https://mountsopris.com/wellcad/core-logging-software/
- https://www.geologicai.com/logging/
I don't know enough about the science side to take it any further on my own.
The "tech" part of what I started building is really quite simple: convert the images to Cloud-optimised GeoTIFF, then do range requests to S3 from the browser.
comment 10mo ago · link · parent
Existing solutions are all complicated and clunky, I put something together with S3 and bastardised CoGeoTIFF, instant view of any part of the image.
Wish I knew how to commercialise it…
comment 10mo ago · link · parent
Their main criticisms of Python were:
> it is slow, its type system is significantly harder to use than other languages, and it's hard to distribute
Your comment would have been more useful if it had discussed how FastAPI addresses these issues.
comment 11mo ago · link · parent
It’s ~impossible in Python (because you don’t control memory) and hard in C/similar (because of use-after-free).
Rust’s borrow checker makes it easier, but it’s still tricky (for non-trivial applications). You have to do all your transformations and data movements while only referencing the original data.
comment 11mo ago · link · parent
So only the outer API surface of the library matters. That’s mostly explicitly typed functions and classes so the room for different interpretations is lower (but not gone).
This is obviously out the window for libraries like Pydantic, Django etc with type semantics that aren’t really covered by the spec.
comment 11mo ago · link · parent
A Python ORM, inspired by Drizzle and the like. Whenever I come to Python I'm frustrated by the ORM options. They generally lack type-safety on inputs and outputs, or useful type hints.
SQLAlchemy is an institution but I think it's hard to use if it's not your full-time job. I check the docs for every query. I want something simple for the 80-99% of cases, that lets you drop easily into raw SQL for the remaining %.
I'm going to keep hacking at it, would love to from anyone who thinks this is worthwhile (or not). Also: - The interface for update queries is clunky. Should I add codegen? - Should I try to implement a SQL diffing engine (for migrations). Or just vendor sqldef/similar...?
comment 1y ago · link · parent
If I just want a smart switch that controls a smart light, can I do that without a hub? Can I use my phone to control that light/switch in a pinch? I'm not averse to spending $100 or whatever, but it's just more _stuff_ that I'd rather not think about.
[0] "Apple now lets you add Matter devices to Apple Home without a hub" https://www.theverge.com/2024/9/18/24246581/ios18-matter-sma...