Daniel Martí

@mvdan.cc

#cuelang #golang https://mvdan.cc London, UK

Gerrit seems to be an issue with AI transcripts 😆 Garret is being slow, Garret is down today, can you please look at Garret... Poor guy doesn't get a break.

I receive a handful of drive-by AI PRs per week. I've decided to start rejecting ones from accounts which seem to target issues across dozens of unrelated projects. I don't know if they're trying to pad their resume, or claim broad experience, but I'm not interested in participating.

I know it's not the biggest news of the day, but I just spotted this... One of Keir Starmer's last acts in Govt is this: Laying legislation that will legalise 'plug-in solar' (aka balcony solar) panels in Britain It means plug-in solar panels do not (legally) have to be wired in by an electrician.

Timeline - SI 2026/848 - Plugs and Sockets etc. (Safety) Regulations 1994 and Electricity Safety, Quality and Continuity Regulations 2002 (Amendment) Regulations 2026 - Statutory Instruments - UK Parl...

Timeline for Plugs and Sockets etc. (Safety) Regulations 1994 and Electricity Safety, Quality and Continuity Regulations 2002 (Amendment) Regulations 2026

statutoryinstruments.parliament.uk

GitHub Actions is down *again*. I can't do this anymore. What are people switching to? I need Linux+Mac+Windows support, GitHub or Gerrit integration, and all the usual: secrets, webhooks, logs, etc. For context, we already have scalable machines for all OSes via @namespacelabs.com.

This is a fun one: I just sent go.dev/cl/790740, which elides method wrappers for embedded types at offset zero, common for mixins/inherited data types. Doing this removes 60 _thousand_ method wrappers from tsgo's AST package, dropping the compilation of our main exe from 49s to 28s on my machine.

Benchmark 1: go build -a ./cmd/tsgo
  Time (mean ± σ):     48.992 s ±  0.274 s    [User: 345.152 s, System: 12.545 s]
  Range (min … max):   48.702 s … 49.478 s    10 runs
 
Benchmark 2: ~/work/go/bin/go build -a ./cmd/tsgo
  Time (mean ± σ):     28.323 s ±  0.133 s    [User: 141.277 s, System: 4.853 s]
  Range (min … max):   28.075 s … 28.555 s    10 runs
 
Summary
  ~/work/go/bin/go build -a ./cmd/tsgo ran
    1.73 ± 0.01 times faster than go build -a ./cmd/tsgo

It really does feel like GitHub is getting worse by the day. Now I regularly get bogus "invalid value" label errors when the label clearly exists and works.

Bild

Stared at my screen for a good while, not understanding why a git diff didn't git apply when it obviously should. Turns out Discord turns tabs into spaces when you send code snippets, even inside triple quotes 🙄 As a workaround, use git apply --ignore-whitespace.

The issue with GitHub Actions used to be its poor design. Nowadays it's down so often, that I don't even get to think about that at all.

It's about two and a half years since we installed a heat pump and disconnected gas in this house, so out of curiosity I went to look at our average efficiency over this time. The install study predicted about 350%, but we're actually averaging 425%!

I'm officially looking around, if anybody needs a Go software engineer with a very strong background in web security lmk. I also know a fair share of frontend dev and was a SWE/SE for Google and Microsoft. I'm looking for security-sensitive dev projects and security reviews.

Seen in the fediverse: If you're learning programming, apply to @igalia.com program and get paid to work on open source. 💰 Fully paid grant 📆 450 hours of work with mentor from June 📍Global remote 🎓 Open to students or self-directed learners 🚨 Until April 3rd! www.igalia.com/coding-exper...

Igalia Coding Experience | Igalia - Open Source Consultancy and Development

Igalia is an open source consulting firm specialised in the development of innovative projects and solutions. Our engineers have expertise in a wide range of technological areas, including browsers an...

igalia.com