Posts by wilfredh@mastodon.social
(DIR) Post #AZcVfGFMVzymUlAmMC by wilfredh@mastodon.social
2023-09-10T03:56:35Z
1 likes, 0 repeats
I'm adding XML support for difftastic! Still needs some tweaking, but the initial results look promising.XML is particularly fun because early academic research on tree-diffing focus on XML.
(DIR) Post #AZsrR0lPo8eYIDNVTc by wilfredh@mastodon.social
2023-09-17T22:16:38Z
1 likes, 0 repeats
Uniform function call syntax treats `fido.bark()` the same as `Dog::bark(fido)`.This seems like a really nice way of representing methods in a language. Are there any downsides? There are plenty of languages without this.
(DIR) Post #Aa9821H1rPAKUX13RY by wilfredh@mastodon.social
2023-09-26T03:14:08Z
1 likes, 0 repeats
Today I learnt that a continually blinking caps lock on Linux signifies a kernel panic: https://unix.stackexchange.com/questions/3840/the-caps-lock-and-scroll-lock-lights-are-flashing-and-everything-is-frozen(On the plus side, it's the first time I've encountered this despite using Linux for years.)
(DIR) Post #Ab2IibZcJVI2LqhAKu by wilfredh@mastodon.social
2023-10-22T18:05:42Z
1 likes, 0 repeats
JSON Lines is such a delight to use. It's particular nice as a CLI interop format.You can use dumb, fast tools (e.g. grep to quickly filter large outputs) as well as structured tools (e.g. jq).
(DIR) Post #Abik2oPyQIrrecTxvE by wilfredh@mastodon.social
2023-11-12T05:33:33Z
0 likes, 1 repeats
A really fun (10 minute) talk on developing an LLVM backend for 6502, a chip with only three registers and a teeny tiny stack: https://www.youtube.com/watch?v=2lW3WHPtmKo
(DIR) Post #AdGcX4Ztm3GOhO77Ka by wilfredh@mastodon.social
2023-12-28T08:40:32Z
0 likes, 1 repeats
Difftastic now has its own homepage! I wanted to put together a set of screenshots that showed why you might like it.https://difftastic.wilfred.me.uk/Feedback welcome :)
(DIR) Post #AhnbHhtqxgyAGOiNGa by wilfredh@mastodon.social
2024-05-11T22:56:23Z
0 likes, 1 repeats
I've release difftastic 0.58:* Updated C, C++, CMake, CSS, Elm, Go, Lua and Python parsers* Better diffs when files have parse errors* Polish: CRLF handling, obscure terminal detection, and a man page!https://github.com/Wilfred/difftastic/releases/tag/0.58.0
(DIR) Post #ArInBEpUDBKw0vR6JM by wilfredh@mastodon.social
2025-02-20T04:06:48Z
0 likes, 1 repeats
Overall it seems like the Rust for Linux is making huge strides. Greg KH is super supportive of it[1] and the wider Linux community is pretty positive[2] (see all the quotes at the end of the slides).1: https://lore.kernel.org/rust-for-linux/2025021954-flaccid-pucker-f7d9@gregkh/2: https://fosdem.org/2025/schedule/event/fosdem-2025-6507-rust-for-linux/
(DIR) Post #AryKVTpoqBG5o1nBDc by wilfredh@mastodon.social
2025-03-12T04:57:54Z
0 likes, 0 repeats
It's interesting to see the "why not Rust?" discussions around the TypeScript news that they're using Go. It shows that Rust has reached a level of maturity that it's a default for some users.Go does seem to be in a sweet spot for AOT languages with GC though.
(DIR) Post #AyWMnHarj3qwoD9f6W by wilfredh@mastodon.social
2025-09-24T04:16:54Z
1 likes, 1 repeats
I've released difftastic 0.65! Highlights of this release:* Better parsing of Clojure, Common Lisp, Kotlin, Rust and Zig.* Quality of life improvements for binary files.https://github.com/Wilfred/difftastic/releases/tag/0.65.0
(DIR) Post #AyWMqrZSQ4dRG8CfjM by wilfredh@mastodon.social
2025-09-24T04:26:58Z
1 likes, 0 repeats
@pintoch Yeah, definitely interested: unvendoring has a bunch of other benefits too (easier updates, smaller crates.io upload). PRs welcome, although I can be quite slow to respond to non-trivial PRs.Last I looked Debian stable was on rustc 1.63, but looks like it's been updated significantly since then.
(DIR) Post #Azb0PO8EaL3KjhHM6i by wilfredh@mastodon.social
2025-10-26T08:37:54Z
1 likes, 0 repeats
GIMP is huge tool that I certainly haven't mastered, but it's so useful to have around.I used it this week to convert images from obscure formats to common ones. It's a great swiss army knife and runs everywhere.
(DIR) Post #B1EFkvIdkq7nqfaoMq by wilfredh@mastodon.social
2025-12-14T00:15:39Z
1 likes, 0 repeats
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?
(DIR) Post #B1EG0JVO2bAfGStSgS by wilfredh@mastodon.social
2025-12-14T00:39:17Z
1 likes, 0 repeats
@bpeel Oof, language changes I guess. E-mail became email at some point too.I also struggle to choose between HttpRequest and HTTPRequest. The former is easier to read (clear word boundaries) but HTTP just looks more correct to me.
(DIR) Post #B1GL8XzGy8x4aEXOuu by wilfredh@mastodon.social
2025-12-14T21:45:47Z
1 likes, 0 repeats
Co-Authored-By: An old Stack Overflow answer, blindly accepting the compiler's suggestions, and a linter.
(DIR) Post #B1K9GTnU0giV5RsYYS by wilfredh@mastodon.social
2025-12-17T00:29:19Z
1 likes, 0 repeats
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.
(DIR) Post #B1MnkYTnYAHCmOUGye by wilfredh@mastodon.social
2025-12-17T22:53:38Z
0 likes, 0 repeats
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?
(DIR) Post #B1NkpjaLa7ShxzHwQa by wilfredh@mastodon.social
2025-12-18T18:11:17Z
0 likes, 0 repeats
I find it odd that people recommend Docker for sandboxing agentic coding tools. Isn't it easier to just create a separate user account on the machine? It's an established security boundary, and viewing output is easy (just make the user's home directory world readable).
(DIR) Post #B1o4C43DOArzW8riRk by wilfredh@mastodon.social
2025-12-31T08:29:38Z
1 likes, 0 repeats
Igalia's post on self-hosting CI runners is a masterclass in build engineering. It shows dealing with weird API constraints, but still finding good designs.I also learnt that some CI systems use OCR on Apple's installers to automate!https://www.azabani.com/2025/12/18/shoestring-web-engine-ci.html
(DIR) Post #B1oFAlMwSdvwmbfswK by wilfredh@mastodon.social
2025-12-31T12:33:44Z
0 likes, 0 repeats
I've realised that AGENTS.md / CLAUDE.md solve two distinct problems: * It tells the LLM the conventions of the project, avoiding follow-up prompts.* It precomputes a summary of the project, saving a bunch of searches at the start of a session.