miniblog.

33
I'm never sure what to name my remotes in git. I tend to use 'mine' so I can add other forks later, but sometimes I use 'gh' or the traditional 'origin'. What do others use?
64
Caddy is really growing on me. It's nice having a web proxy that includes letsencrypt functionality without any additional configuration. I've tended to use nginx with a separate letsencrypt setup for projects before, and it's much more awkward.
8
Co-Authored-By: An old Stack Overflow answer, blindly accepting the compiler's suggestions, and a linter.
14
One subtle behaviour of Claude that wasn't obvious to me: whilst each conversation is transient, permissions persist across conversations. So if you've given permission to run e.g. 'cargo test' or even 'cargo run', you need to be sure that all future invocations are safe too. You can see the current permissions with /permissions.
23
I'm never sure how to convert words with hyphens into SCREAMING_SNAKE_CASE. For example, should built-in function be BUILT_IN_FUNCTION or BUILTIN_FUNCTION?
133
I've added an eval button to the website of my programming language! It's a been a lot of work to lock down appropriately. It still needs some UI polish but it's so nice to be able to try snippets immediately.
PhotoPhoto
34
I'm trying to decide what program I should show on the home page of my PL. Hello World is too simple to show much syntax. Fibonacci is OK but the reader may not know what print(fib(10)) should show. Maybe print(greet("World")) is better? It gives you a function definition at least.
12
Claude asked me a question today: was I looking for an Emacs plugin (because I was talking about elisp) or a Rust program (because I have configured Rust preferences)? I'm really impressed, it's rare to see LLMs ask follow-up questions. (I wanted Emacs in this case.)
71
Delighted to see that Typescript 7 is moving to conventional LSP for its IDE services!
12
I've been using "Expected Int, but got String" for my type error messages, but I've been wondering if I could do better. "Expected Int here, but this value has type String" or "This expression requires Int, but the value is String". Do you have a favourite?
41
IPv6 adoption is approaching half! https://www.google.com/intl/en/ipv6/statistics.html shows 46% as of today.
16
Difftastic 0.67 is released! * Added support for protobuf, improved bash and YAML. * Updated 16 parsers to the latest upstream version (thanks Antonin Delpeuch!) * A ton of display polish for word highlighting, alignment, and binary files.
PhotoPhotoPhotoPhoto
4
If you created a large, successful OSS project, would you want to be BDFL or move on after a period? I see tradeoffs on both sides, although it's not a decision I've needed to make myself.
33
A cute systemd feature to get the system clock roughly correct: if the system time is before the compilation time of the systemd binary, it moves the clock forward to that time!
174
I've not seen this before: a captcha to distinguish adults from children! The in-app purchases were behind this screen. The primary user is a 3 year old who can only count to 20 😊
PhotoPhoto
Showing 31-45 of 7,549 posts