Oddbean new post about | logout

Notes by Wesley Moore | export

 #WaterfallWednesday! Last week I spent a few days in the beautiful Lamington National Park and got to see this waterfall, Morans Falls. 

#Queensland #Photography

https://cdn.masto.host/mastodondecentralisedsocial/media_attachments/files/113/353/860/478/485/670/original/5223562dd11837f3.jpeg 
 This is the largest thing I've printed by print bed area on my little Prusa Mini. Had to cut it in half to make it fit. The print is a holder for my LTT screwdriver and bits—my first foray into Gridfinity. #3dPrinting #Gridfinity #PETG

https://cdn.masto.host/mastodondecentralisedsocial/media_attachments/files/113/030/689/381/972/548/original/102e75a830b0b650.jpg 
 It seems there is no "normal" (glibc/systemd) Alpine Linux equivalent, which is kinda weird:

- 6 monthly versioned releases supported for 2 years
- Minimal base install

Debian is perhaps closest but it only releases every 2 years or so. Ubuntu has 6 month releases but they're only supported for 9 months and it's hardly minimal. Have I overlooked a distro? #Linux 
 These are significant tweaks to Apple’s DMA compliance. Much closer to proper side loading than before. https://developer.apple.com/news/?id=8c1m8hqt #apple #dma 
 nostr:npub1vr4dqq5vzpz0kaavv3lc3098jmfzrpdtj79dazpemytqw4ansf0q2d92wq oh, hadn't heard of keyd be... 
 @6aef21eb the board is this one https://www.keebmonkey.com/en-au/products/wk870

I used a Keyboardio Model 100 for a while. I liked the split nature but I miss dedicated keys. I think TKL or thereabouts is my ideal (after a lot of experiments with smaller boards) 
 @6aef21eb Ok I have successfully replicated the most important parts of my custom keyboard firmwares with keyd:

- Swap Alt and Super
- Caps Lock = Ctrl
- Backtick = Esc
- Left control = go to function layer
- Function backtick = backtick

Still got to do the macros. Undecided whether to do those or move them to espanso. Will probably do the later. 
 nostr:npub1vr4dqq5vzpz0kaavv3lc3098jmfzrpdtj79dazpemytqw4ansf0q2d92wq a good keycap set will cost... 
 @6aef21eb Yes that key cap set is from GMK and definitely cost more than the keyboard. The switches are a Gateron brown variant that I bought a while back: https://www.scorptec.com.au/product/keyboards/accessories/99911-acckcswgg21 No qmk support. I've long had a requirement that my boards must be programmable but I recently discovered https://github.com/rvaiya/keyd so I'm going to try using that to customise this one. 
 Oh nice the Rust project is in the process of setting up its own Mastodon instance https://github.com/rust-lang/infra-team/issues/75 #rust 
 Fascinating thread on how Dutch Type Library still designs/digitises fonts:

Some excerpts:

> At DTL we use Wacom Intuos 2 tablets with lens cursors together with DTL IkarusMaster under Windows XP under Parallels Desktop under macOS.

> And yes, we still draw on paper

> DTL also has still three functioning Power Macintosh systems (two of which are upgraded desktop Gossamers) with Ikarus M and Aristo A3 digitizing tablets

https://typedrawers.com/discussion/4889/questions-about-ikarus #VintageMac #font 
 BurntSushi has joined GitHub sponsors https://github.com/sponsors/BurntSushi

If you use ripgrep, the regex crate, search in VS Code¹ you're using their code. If you're able, send some cash their way—you can do one-off or recurring.

¹ https://code.visualstudio.com/updates/v1_11#_text-search-improvements

#rust 
 @573d6b89 Huh well there you go. I knew there was a mechanism to query data from the display didn’t know it was I²C as well. 
 TIL you can use a HDMI port as an I²C interface on Linux http://www.sodface.com/tech/alpine-chromebase-rtc/ #Linux 
 nostr:npub1vr4dqq5vzpz0kaavv3lc3098jmfzrpdtj79dazpemytqw4ansf0q2d92wq right - yet we still go for... 
 @f3c16413 I use the local docs for the standard library (I have the tab open right now) because it opens the version that match the version of rust you're using in the project you run the command from.

As for online docs, yeah I dunno 😅 although in this specific instance I was poking around the docs of a crate in order to link to them in a comment, so needed the online URL. 
 nostr:npub1vr4dqq5vzpz0kaavv3lc3098jmfzrpdtj79dazpemytqw4ansf0q2d92wq search? 
 @f3c16413 yep search is all client side. You can also do rustup doc --std to open the local copy of the standard library docs. 
 nostr:npub1vr4dqq5vzpz0kaavv3lc3098jmfzrpdtj79dazpemytqw4ansf0q2d92wq I am once again disappointe... 
 @f3c16413 Isn't that what cargo doc --open does? No need for a server, it's just static HTML 
 M.A.C.E. Summer ’23 update https://mace.software/2023/08/31/summer-23-update/ #VintageMac 
 @b022f9d9 I've subscribed and looks fine to me. As long as I can see when there's a new post that's all I need,and it's doing that. 👍️ 
 i try to use try_from/unwrap consistently when converting between numeric type sizes in rust, but... 
 @25b22fbb I first saw this in ttf-parser. A trait that allows safe casting to usize that fails at compile time if target_pointer_width is too small. If you intend to only target 64-bit platforms an adaptation of it might be a nice ergonomics improvement.

I tweaked the trait/fn name to SafeFrom/safe_from when I pulled it into my own project.

https://github.com/RazrFalcon/ttf-parser/blob/e052dbb1627847cb813620637cf97ac8b6270338/src/parser.rs#L155 
 @e076bad7 @0af6133c I was just looking at that page yesterday and had similar thoughts. The end of updates seems to roughly align with the layoffs that fired a bunch of Rust devs. 
 Wish the Mastodon web UI had the "Load from remote server" feature that @83211688 has so I don't have to be thrown out of my own instance to see a new account or follow a whole thread. 
 need an app on my phone that automatically replies "STOP" to any text message containing the all ... 
 Interesting post about eyra, a Rust project that allows you build Rust binaries that don’t use libc by @50035177 https://notgull.net/eyra/ #Rust 
 How is your side hustle going? 
 @a21f2829 which one… I keep starting new ones before finishing the last one. 😬 
 Spotted some movement in the park on my evening walk today and saw a Bandicoot. 

 #Australia #Bandicoot

https://cdn.masto.host/mastodondecentralisedsocial/media_attachments/files/111/069/377/727/864/321/original/c10e4894647f45c3.jpeg 
 why don't #email clients have a tree view? Messages form trees not linear threads 
 nostr:npub1axsz05yfdc86uu4vuqkmsqdc9v2kqaqgsg4gf073pl7jq7eatc2sk5wdar

Is that Konsole I see? And... 
 @d36388b9 @e9a027d0 it's a popup in Neovim. Still all terminal based but it has the concept of floating windows. https://neovim.io/doc/user/api.html#api-floatwin 
 @e9a027d0 Yeah it should work in anything that is using rust-analyzer. Not sure about clangd but for C/C++ projects it's already present in CLion. 
 One of the places where rust-analyzer is ahead of the JetBrains Rust support is showing the size and alignment of types. I'm hoping that this is one thing that RustRover gains quickly. #Rust

https://cdn.masto.host/mastodondecentralisedsocial/media_attachments/files/111/067/254/472/089/340/original/e770690e8f13b176.png 
 nostr:npub1vr4dqq5vzpz0kaavv3lc3098jmfzrpdtj79dazpemytqw4ansf0q2d92wq I genuinely don’t underst... 
 @c0c38fd7 Yeah it is a bit strange. Especially when they say the Rust functionality will be usable from other IDEs too. 
 Ohh a dedicated Rust IDE from JetBrains. I’ve been using CLion for most Rust dev since 2019 so happy to see them investing even more in Rust. They’ve also joined the Rust Foundation https://blog.jetbrains.com/rust/2023/09/13/introducing-rustrover-a-standalone-rust-ide-by-jetbrains/ #Rust 
 I already had Inside Macintosh volumes I and II individually but now I have the full original set together. 🎉 #VintageApple

https://cdn.masto.host/mastodondecentralisedsocial/media_attachments/files/111/027/207/089/707/366/original/1e1a254eeaaedb40.jpeg 
 nostr:npub1vr4dqq5vzpz0kaavv3lc3098jmfzrpdtj79dazpemytqw4ansf0q2d92wq That’s a remarkably elusi... 
 @a4ff1d32 it sure is! 
 @9c220a3b thanks for searching! It's in the right space but that's a different book. It's describing Type 1 fonts and is by Adobe. What I'm after is describing TrueType fonts (version 1.0) and was published by Apple. 
 The semi-recent feature addition that lets you pick an SVG for a project in CLion is very satisfying.

https://cdn.masto.host/mastodondecentralisedsocial/media_attachments/files/111/021/896/164/226/801/original/46148ed01c779311.png 
 There's various references online to:

The TrueType Font Format Specification 1.0, Apple Programmers and Developers Association (APDA), P/N M0825LL/A published in 1990

However I can find no photos, PDFs, or any evidence of a physical copy online. Has anyone actually seen one? I'm kinda interested in owning a copy.

#RetroComputing #VintageApple #VintageMac #Fonts #TrueType 
 @a4ff1d32 you wouldn't happen to know where to look for this would you? 
 @d38bae73 interesting. Seems like the default Nvidia behaviour is more likely to successfully suspend. 
 TIL when you suspend a Linux machine with a discrete GPU it has to stash the GPU memory in system memory as the dGPU will likely be turned off in the process. My GPU has 12Gb VRAM, which means that if there might need to be quite a lot of system RAM free to suspend successfully. https://gitlab.freedesktop.org/drm/amd/-/issues/2362 #Linux 
 @84494f2b ahh now I know why you were asking about query params on file URLs a few months ago :) 
Event not found
 @5234e8f9 As much as it is tempting, I did not 🙂 
Event not found
 @07344a2b lemon curd tart. Unfortunately/fortunately it will require many tarts to use up a massive haul of lemons. 
Event not found
 @b022f9d9 Thanks for the shout-out in your post! Two points:

My name is Wesley (with and s). I use wezm for historical username availability reasons :)

You should consider my mention of Dinit to be glowing praise. I kept it short because there were no complains: all the benefits of a binary init without the kitchen sink of systemd—I love it.