Haha. Oh, man. I’m hopeless. This time I definitely thought I was going to use these tabs for “stuff”.
Table of Contents
Open Table of Contents
Cool art
I just love this stuff to death. It made me want to try out some Hanging Towers designs except, leaning hard on Solomon-esque sigil design and combining it with this and some art deco layout. One day, right?
I love this blog
Link but also check out his tech notes.
Benjamin Sago is great. Where’d he go? Hope he’s doing alright. But, look at this blog, it’s clean and info dense, and useful as hell.
I actually jotted this down a while ago but it was in an Obsidian vault that combined Obsidian Sync, and Apple iCloud. Which is stupid. Apple iCloud loves to throw shit away, apparently, and Obsidian Sync takes that very seriously. Entire weeks of private journaling, destroyed. But I found it again! So it goes here.
Another RSS link
Meanwhile, here’s another one. Not directly related, but Bsago’s RSS game is on point, and so I felt this was related.
Starlight & Blog Books
- Remark obsidian can turn obsidian things into typical markdown.
- Starlight lets you make webpage document hubs out of markdown.
- There’s some discussion about making it possible to host multiple starlights in a single repo.
I’m probably going to move my Hanging Towers and Evening source books and reference over to this blog. Starlight seems ideal for it, and I’m working on getting multi-instance support put together. My plan is to pop a bunch of my current repos into this one, which already reads Obsidian a little bit, and wire them up to be digital sourcebooks. I’ve got a branch going, it’s WIP, but Astro makes things easy.
Rust
Man, rust. Rust. I just gotta. You know? I just gotta.
Newtype Gizmos
Newtypes are a way to take a typical primitive type, say a usize
, and wrap it up with some other custom type, for example CertificateId
. That lets you write your code against CertificateId
, but use them like usize
. The problem with doing that in rust is just that there’s some additional plumbing you have to write up to do it.
Here’s some useful tools for that!
- Strum lets you toss a bunch of derive rules around that aid in recognizing enums as lists of stuff. Great for newtypes that have a bunch of variants.
- derive-new lets you pop a derive on top of a struct or enum that creates a bunch of constructors for you. So much less plumbing.
- derive_more (note the underscore; man, these subtleties always bite me) lets you throw a bunch of other derives on top of types, that help with coercion (
Into
/From
) and things like that. - derive_builder is in the realm of
derive-new
except it lets you do the builder pattern if you like, with a ton of dials on it for custom builder setters. Great for larger things or if you need type factories. - phantom-newtype gives you a bunch of derive-free type machinery for common newtype patterns, like amounts or identity numbers.
- ambassador lets you take one type and point its methods at another type which it contains. Great for building up interfaces!
Rust + Stripe
I have ambitions to actually make money one day. Who doesn’t like money? Here’s a way to wire money up to rust web-apps. Neat.
JSON Canvas
This is a rust implementation of the jsoncanvas spec that Obsidian uses for its canvas feature. It means you can pop canvas renders into things powered by rust!
Rust Web App Stuff
This is an umbrella of my own invention, so it’s a little scattered. That’s all the apology you’re going to get for this section.
- Tembo is a role model repo that I want to keep tabs on because its architectural premise is nice. They have topology orchestration and build processes in here that I want to read through and reference at some point.
- I just like this post about cargo-dist and want to find it again one day. It’s on reddit, so fuck if I know if it’s gonna be clickable a year from now. But it’s got some nice handy shell logs in it, so, here’s hoping I guess.
- An example of using Prost over WASM. I’m spiking out a template for my blessed architecture, and I want to rig a wasm client with prost RPC support in it. Here’s a good reference for that.
- Look at this other reddit post about wasm/rpc references. In the same vein as above, but it’s got more stuff I can read through and try to grok. This is a link to a post with links in it. Reddit, RIP.
- Hugging face has some repos here and here that leverage some nontrivial web and rpc architectures.
- An “enterprise ready webhook service” can be found here with svix-webhooks. Groovy.
- Finally, twirp-rs, which is just another protobuffer example for RPC web apps.
Alice’s Actor Post
Link.
I practically live with this post open, so I’ll just bookmark it. It’s outstanding, though. I use this setup all the time for all my things.
The Home Lab
I’ve kicked off a home lab for myself, it’s a local system with k3s installed, and a few services on it. I’ve started using it to test my deployments and platform work. The math works out pretty well, actually: I drop $1k on a server once, or I drop $1k running it every month. That’s right, every month! Cloud software is not cheaper, y’all.
Plus I’m going to drop my subscription services a bit and this is what I’ll need to do media hosting and file sharing, etc.
Here we go.
- Hosting a media platform on k8s this guide kicks ass. It’s a beat by beat setup for everything, and though I’m not doing the same setup (raspberry pi clusters) it’s close. Great reference.
- How to use local docker images for k8s is important to know if you want to build and deploy locally without Docker hub or open sourcing stuff.
- I’m hosing a private WoW server and it’s been fun. Mostly for me. No one else will play with me, understandably. Getting into the WoW mechanics, it’s kind of wild how they succeeded with all the mess I’ve discovered under the hood. Just shows to go you, huh?
- Also a self-hosted Minecraft server and it’s wild how easy this one is to set up. Bravo to this crew.
LLM Shit
Man, you knew I’d wind up here again, right? It’s just where everyone’s attention is these days, and I’d be making a dumb choice to not stay up to date.
- Llama3 From Scratch and the corresponding Orange Site comment thread.
- LLM Visualization linked in that same orange thread.
That’s all I got for this one this time though.
Conclusion
I’ve got to quit doing this to myself. At least this is a good release valve, though, huh?