Roger Peppe's Avatar

Roger Peppe

@rog.bsky.social

CUE, Go, fiddler, climber, gardener, curry maker.

1,346 Followers  |  159 Following  |  382 Posts  |  Joined: 25.04.2023  |  1.8273

Latest posts by rog.bsky.social on Bluesky

If only the wi-fi had worked and the bluesky app had notifications, I'd have seen your recommendations :( oh well... I'll check the slides out later!

02.02.2026 07:09 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Any talks you'd recommend going along to?

01.02.2026 08:51 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

see you there!

30.01.2026 15:53 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Anyone I know gonna be at #FOSDEM or #cfgmgmtcamp ?

30.01.2026 11:20 โ€” ๐Ÿ‘ 8    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0
Preview
proposal: net/http/httptest: synctest support ยท Issue #76608 ยท golang/go Proposal Details I use the httptest package a lot, and in particular NewServer rather than ResponseRecorder, because it picks up subtle real-world issues that don't appear when not using the entire...

Nice! Maybe I stimulated that by creating github.com/golang/go/is...

29.01.2026 11:15 โ€” ๐Ÿ‘ 8    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Lots of my friends there... :) Enjoy!

28.01.2026 10:28 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Went to order this and found I've had it on pre-order since July 2024! Only another couple of months now... can't wait!

28.01.2026 10:27 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

good luck!

26.01.2026 22:34 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
Proposal: Generic Methods for Go ยท Issue #77273 ยท golang/go Proposal: Generic Methods for Go A change of view. Background For clarity, in the following we use the term concrete method (or just method when the context is clear) to describe a non-interface me...

Interesting expansion of generics in #golang ๐Ÿ‘€

23.01.2026 00:35 โ€” ๐Ÿ‘ 36    ๐Ÿ” 8    ๐Ÿ’ฌ 3    ๐Ÿ“Œ 0

Perfect! Exactly the design choices I was after. Thanks for mentioning it. ๐Ÿ‘Œ

23.01.2026 18:18 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I remember enjoying Air, but can't remember the first thing about it!

23.01.2026 11:05 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I'd like to know more about this risk, as I'd assumed the risk was similar to visiting an arbitrary URL or clicking on a link on a website you don't necessarily trust (something that's pretty common to do and hard to avoid tbh). Are there security risks that are specific to QR codes themselves?

21.01.2026 16:15 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 3    ๐Ÿ“Œ 0

Still @nickharkaway.com's best IMHO. Although I never re-read it, so it's possible I'll be disappointed when (not if) I do ...

19.01.2026 20:30 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I actually genuinely went back to the beginning immediately after finishing and started again (didn't finish again mind!). Another book this brought to mind: Gone Away World.

19.01.2026 19:44 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Worth saying! I have seen so many utterly worthless, nay negative-worth, unit tests in the past. And testscript itself is still so nice to use - we use it a lot.

16.01.2026 08:50 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

If the local indexes are all within ~/.claude, the total size of that directory (as reported by `du -s`) is just 55MB.

14.01.2026 15:03 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I have no idea! Are they all loaded into memory? BTW that memory size is _resident_ memory. Virtual memory use is 77GB!

14.01.2026 15:02 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

I don't understand why Claude is such a resource hog when it's not actually doing that much locally. For example, it's currently idle on my machine and it's coming up as using just under 500MB of memory. WTF?!

14.01.2026 14:59 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

Nice! I've implemented your "naive approach" in the past but this is much nicer.

13.01.2026 13:19 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

great idea. joined!

09.01.2026 15:41 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

"Is it too much to expect that a hotel should provide an easily accessible mains power socket within a relatively short distance of the bed?", I think as I delve under my bedside table for the 5th night in a row. #firstworldproblems

09.01.2026 00:53 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Good info, thanks! It would definitely be nice to have a cheat-sheet for this kind of optimisation. Maybe restricted to optimisations that reduce allocations and/or big-O behaviour.

08.01.2026 17:43 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

... because naively that's what I'd expect to happen. I wonder if there's a comprehensive list of optimisations like this that we can refer to.

08.01.2026 17:25 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

This idiom is interesting. I presume there's some compiler optimisation that says that `append([]byte(nil), make([]byte, n)...)` does not _actually_ copy n bytes from a newly allocated empty slice?

08.01.2026 17:24 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

my main reason is unfortunately a "by design" issue that will never be fixed AIUI: no cursor warping. Without that, the editor I use is substantially broken.

04.01.2026 16:42 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I just finished (and really enjoyed) Ken Liu's Dandelion Dynasty series, which probably fits the bill here too.

04.01.2026 12:51 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

One of the most frustrating things in the modern age: on an Android phone, having a set of photos selected in Google Photos and wanting to attach them to a specific Facebook reply.

30.12.2025 21:58 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

super cool project: direnv done with #cuelang

01.12.2025 18:55 โ€” ๐Ÿ‘ 6    ๐Ÿ” 1    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Some pretty cool work on editor support (LSP) for CUE here. I really need to sort out my LSP acme game now!

01.12.2025 18:49 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Split a git commit with an agent I often sit down to write some code and then, four yaks, two shaves, and a haircut later, I realize my working tree contains several intertwined changes. This post shows a reliable workflow and shell ...

I got something working nicely, for me at least.

Shell script and commentary at:

commaok.xyz/ai/split-com...

17.11.2025 22:41 โ€” ๐Ÿ‘ 2    ๐Ÿ” 1    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

@rog is following 20 prominent accounts