miniblog.

21
Rust and RISC-V both feel like they've reached critical mass and I'd guess that they'll be used more in 5 years than they are today. What other technologies fit this description?
2
Some excellent safety improvements in C++26: hardening the standard library against out-of-bounds bugs, and a safer semantics for uninitialised local variables:
1
LLMs have been really helpful for me porting some JS projects to TS. Since the types are erased and annotations are optional, I can go gradually and safely with more minimal human oversight. (I'm not sure if it'll significantly help robustness, but it's lovely for navigation.)
7
Reviewing some of my earliest web projects: they have a mix of Postgres, MySQL and Mongo. These days I just use sqlite for all my personal projects. It's really good at my scale and makes deploying very easier.
1
The author of rust-analyzer discussing how language features help or hinder fast IDEs. If you allow `from m import *` you can't analyse files in isolation, and it's even harder in Rust.
81
My 3.5yo is learning to use a mouse, and it's super interesting. He's mastered clicks and drags, but he hasn't yet figured out lifting up the mouse when run out of mouse pad. That's a tricky case where you deliberately break the relationship between mouse and cursor movement.
14
I'm surprised there aren't more tools out there for starting a new project with some default config files. There's `cargo new` but it's Rust specific and very minimal. create-react-app is React specific. The only option I know of is cookiecutter. Surely it's a common problem?
223
Excellent series on Self, both the programming model and the tool chain. I love how opening an inspector on a value (e.g. nil) then shows a link to all occurrences of the value in other open inspectors!
I'm experimenting with imitating window UI elements when showing code snippets on my website. What do you think? Do the familiar dots of the title bar help, or is it just confusing decoration? First image is the current style, the second image has the window UI.
PhotoPhoto
I've started naming my servers digiocean1.example.com, digiocean2.example.com and so on. I wish I'd done this much earlier. I already have domain names for the actual deployed services, but it quickly gets confusing when you start moving things around.
I'm adding uptime data to my personal LLM bot. Does this information belong in the system prompt? That was my initial plan, but I'm thinking that a tool would be better. Tools let me see information provenance ("queried the uptime tool"). There's also a small caching benefit.
I've released difftastic 0.68! A smaller update, but still worth upgrading: * Improved Bash, C, Go, Lua, Nix, Perl, Python, Rust, Scala, Swift and YAML parsing. * Minor display and git compatibility fixes.
PhotoPhoto
Really elegant developer tool: Go's inline IDE feature is used with deprecation markers, so call sites are autofixed from OldApi() to NewApi() based on the implementation of OldApi.
Are there any developer experience advantages for `x := 1` over `let x = 1`? A `let` keyword probably improves parsing error behaviour, and makes declarations more visible. := is more concise though.
What is the lowest resolution image that is still recognisable? I made a space invader craft project at one point and spent a bunch of time wondering if I had enough materials.
Showing 1-15 of 7,577 posts