Remote
I do IT magic things with the cloud, servers, and stuff. Also do programming, primarily in Rust, and scripting. #WarDamnEagle #ECUAlumni #Sysadmin #Developer
0
Followers
0
Following
35
Posts
Joined November 25, 2022
Website:
GitHub:
Personal Git Host:
Other Links:
Posts
Replying to
@smalls@ocw.social
That is currently only usable at runtime. I want to also have the opposite of it so I can write the page components in Markdown and have those components' code generated at compile time.
Open post
Replying to
@smalls@ocw.social
Started out with that because I'm planning on making the reverse of this: https://git.smalls.online/smallsonline/md-topcoat
0
1
0
0
Open post
Replying to
@smalls@ocw.social
Actually dipped my toes into creating Rust proc macros finally. Made one for quickly making an API client so I don't have to do a lot of boilerplate code.
1
1
0
0
Open post
Replying to
@smalls@ocw.social
If you want to know how much AI usage there was during all of this: Very minimal and all local. Mostly confined to just git commit messages and doc strings.
0
1
0
0
Open post
Replying to
@smalls@ocw.social
I think I might finally be making this live this week? 👀👀👀
2
1
0
0
Open post
Replying to
@smalls@ocw.social
Damn. I'm really digging the design I've done for the code blocks. 👀
3
1
0
0
Open post
Replying to
on ocw.social
Took a lot longer to do, but that's done. Only a few things I have left to do. Mostly some minor fixes and optimizations.
0
1
0
0
Open post
Replying to
@smalls@ocw.social
I'm so fucking close. This week I've been putting together the API and CLI for blog publishing. Biggest pain was designing the OAuth authentication and validation. Not so much the implementation, but more on the library API.
0
0
0
0
Open post
I have put more work into my personal website rewrite in the last two weeks than I have any other time in the past year.
0
1
0
0
Open post
Replying to
@Undead_Zeratul@ocw.social
0
0
0
0
Open post
What's funny about AI bros complaining about Codeberg's recent anti-LLM policy change is that they can just... You know... Self host it themselves.
0
1
0
0
Open post
Rewatched Avengers Endgame and all I could think of was "Man... Wouldn't it be cool if it were 2019 again?".
0
1
0
0
Open post
Replying to
@GossiTheDog@cyberplace.social
0
0
0
0
Open post
Replying to
@smalls@ocw.social
The good news is that I'm no longer using regex for parsing heading attributes from Markdown.
0
0
0
0
Open post
Replying to
@smalls@ocw.social
The other thing I ran into was the assets system. Neat system, but heavily limited.
I utilize the Bootstrap Icons library and the pre-bundled CSS file expects the woff and woff2 font files in the fonts/ directory relative to the bootstrap-icons.min.css file. The assets system breaks that.
Also the exposed path for assets is hardcoded to /_topcoat/assets. Not a huge fan of that. Should be configurable, IMHO.
Much like the components issue I ran into, there is no other obvious way to serve files. I ended up creating an "API route" with a custom output type to handle that. That custom output type is what gets the contents of the file to set the response body to and sets the Content-Type response header based on what type of file it is. Been working out great so far, but I need to make sure path traversal isn't possible.
0
1
0
0
Open post
Replying to
@smalls@ocw.social
Welp... I did it. You'll never guess where I had the most issues: Dynamically generated Markdown components.
Basically components can get finicky when they can potentially be recursively called within themselves. Creates a type dependency cycle. It's very hard to debug the compiler for it and took a lot of looking at the source code and how the view!{} macro expands when compiled.
It's also a little painful to create components when you're in that situation. Going the route I did wasn't all that obvious. topcoat is very heavily geared towards you staying within the documented macros.
0
1
0
0
Open post
Open post
Replying to
@Undead_Zeratul@ocw.social
@Undead_Zeratul@ocw.social I feel like the last time I've had lightning strike that close was back in 2019 when it hit one of the copper lines very close to our building. Fried both my router and modem and tripped the fire alarm system for the whole building.
0
0
0
0
Open post
Loudest pop I've heard in a long time. Been a long time since I've had lightning strike that close to where I live too.
0
1
0
0
Open post
Replying to
@smalls@ocw.social
Guess it's time to rewrite the Markdown AST converter again. For the third time. lol
0
1
0
0
Open post
Damn. Just as I finally got back around to my personal website rewrite that I've been working on-and-off again for the last year and a half.
https://github.com/tokio-rs/topcoat
0
1
0
0
Open post
I just like emo/core-adjacent music.
https://reddit.com/r/Metalcore/comments/1uzjgto/new_loathe_should_be_called_postmetalcore/
0
0
0
0
Open post
Replying to
@smalls@ocw.social
BuildKit seems to be broken at the moment with socktainer due to an issue with bind mounts, but you can easily get past it by setting up one through the container CLI and configuring a builder instance using the remote driver.
SetupCreate a default builder with the Apple Container CLI:
container builder start
Create a remote builder with the Docker CLI:
docker builder create --driver "remote" --use --name "apple-buildkit" docker-container://buildkit
Make it the default for docker build
Add this environment variable to your shell profile (.bashrc, .zshrc, etc.):
export BUILDX_BUILDER="apple-buildkit"
0
0
0
0
Open post
Replying to
@smalls@ocw.social
Does take a bit of work to get 1:1 parity since it doesn't expose a socket for the docker CLI to use. I only need that because there are tools out there that exclusively look for that. socketainer helps with that: https://github.com/socktainer/socktainer
0
1
0
0
Open post
Set up Apple's container tool to see how it compares against using podman for running containers on my MacBook Pro. Both methods are just running virtual machines, but it seems Apple's method might be slimmer?
0
1
0
0
Open post
They're not doing real work
Define "real work". Genuinely.
Dev work
Ah. Typical.
https://www.youtube.com/watch?v=wnfxSxP8pGs
0
0
0
0
Open post
Replying to
@oz@uate.social
@oz@uate.social Yuuuup. Switched to it around March. Still have to keep VSCode around for some work things that require a few of Microsoft's proprietary extensions that don't work outside of it, but I use VSCodium for everything else now.
0
0
0
0
Open post
VSCode moving to a weekly release cycle was extremely obnoxious. Call it update fatigue.
https://www.reddit.com/r/vscode/comments/1ul6f7c/keeps_updating_every_single_day_now/
0
0
0
0
Open post
Oh sweet! Valve has finally made it so that the resolution override settings for games on SteamOS (and adjacent) are generated based on the display's aspect ratio. Let me ch- Oh...
0
0
0
0
Open post
Replying to
@smalls@ocw.social
0
0
0
0
Open post
Replying to
@smalls@ocw.social
GTA6 not having a legit physical release is just disappointing. Digital is convenient, but you're also at the mercy of the platform.
1
0
0
0
Open post
I mean... There is a reason why some people, including myself, are buying Blu-ray movies and ripping them because we're getting tired of not being able to own our media and the cost of streaming has gotten too high.
https://www.reddit.com/r/pcmasterrace/comments/1uf4nj5/as_the_world_burns_we_watch/
1
0
0
0
Remote instance
ocw.social
Open on original server