Alex Harrison's Avatar

Alex Harrison

@alex-for-real.bsky.social

11 Followers  |  20 Following  |  27 Posts  |  Joined: 01.01.2025  |  1.726

Latest posts by alex-for-real.bsky.social on Bluesky

Goddamn it, why is modding tooling always exclusive to windows. We had cross-platform development in the 80s!

03.08.2025 06:35 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I am now officially a dolphin developer yippee! My two line change has been merged.

30.07.2025 23:36 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

IMO it's totally valid (and in some cases better) to use a big flat string as the backing for a text editor. You can easily memmove for inserts in under a millisecond on multi-megabyte text files.

And while people may open and look through larger files (e.g. logs) it's unlikely they will edit them.

30.07.2025 23:12 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Just finished rewriting two ubiquitous ssbm tools in like a week to be faster, simpler, easier to use, more correct, and cross platform. I love my job.

21.07.2025 04:38 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

big fan of stonemasonry

09.07.2025 04:25 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

god I'm so freaking tired right now!!

05.07.2025 03:39 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

It's so fun learning a field that's adjacent to your main expertise. You constantly think "yep, I'm gonna look back at this and cringe". But this feeling isn't negative for me, it's instead looking forward to the enjoyment of drastic improvement over the next few months.

02.06.2025 07:34 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I really like bsky because there's no one here. I don't want people seeing my lowest behaviour of shouting into the void.

02.06.2025 07:25 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Yeah go for it! But I think you should make it in pure html and css first before you get lost in the frontend jungle.

30.05.2025 02:25 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Never thought I'd be saying this but damn, webdev is kinda fun.

At least if you don't do anything crazy. Got a simple server read/writing to a db and from a site working in a few hours. Gonna turn it into a simple forum / chat for fun.

Used sqlite, mongoose, and htmx and it works great.

29.05.2025 23:32 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

shoutouts to @alex-for-real.bsky.social for defeating himself in order to win empty house

29.05.2025 20:25 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

I really like doing commissions for tournaments. Being self-employed means I don't have any deadlines, which makes my efforts often meandering and unfocused. Having that hard deadline is nice as it forces me to get my shit together. Reminds me of uni, except now people actually care.

14.05.2025 20:32 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Just fixed a crazy bug. The results screen model scale table was being overwritten unknowingly by mex, causing us to load code as a model scale value making models to disappear. Was hell to track down, thank god for memory breakpoints. Solution was ez tho, just moved the table and it works great!

14.05.2025 20:02 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

UI upgrades took so long...

BUT I found a cool new (to me) way of representing UI! Instead of a tree, all you need are two vectors, a panel vector and a split vector.

Each split contains a direction and bitfields for the l/r or u/d panels. Then split manipulation is pretty much all bitfield ops!

24.04.2025 01:49 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

Last one.

This is my wgpu wrapper. Just be aware that it's not intended for other people to use. github.com/AlexanderHar...

25.02.2025 01:02 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

The function z^t

25.02.2025 01:02 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Video thumbnail

This is the base visualization. Each ring is 2^n out, and the grid lines are on the integers.

I definitely could improve the colours. They're fine for an afternoon project tho.

25.02.2025 01:02 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

Here's a modular form! I don't know what they are, but they look cool!

Yes, this project was nerd-sniped by www.quantamagazine.org/behold-modul...

25.02.2025 01:02 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Video thumbnail

woah...

25.02.2025 01:02 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Video thumbnail

Wrote a complex plane visualization with my wgpu wrapper today. Was a lot of fun!

I highly recommend building a graphics programming wrapper. Making small programs like this is soooooooo much faster and simpler. This visualization only took 150 lines, including the shader!

See a few more below

25.02.2025 01:02 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Has anyone tried out the SDL3 gpu api yet? What did you think of it?

I skimmed the docs, and it looks very similar to the webgpu api. It makes sense they'd be similar - they both wrap the same graphics backends.

30.01.2025 19:29 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image Post image

Working in a legacy codebase is mostly pain, but it can be fun when you get to refactor gems like this.

I'm not sure if the new logic is 100% the same, but I guarantee the original author also had no clue what their code was calculating either. In any case, it tests just fine.

14.01.2025 05:43 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

It might be cool to have an expression / statement selection mode, but pulling in tree-sitter is a big commitment and I wanna see what inherent workflow issues I have with the current model before going crazy with the fun stuff.

06.01.2025 00:25 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

It's super simple, just splitting on either:
- Paragraph - double newlines
- Line - newlines
- Word - whitespace
- Group - differing character types (word-like, symbolic, etc.)
- Character - any character

05.01.2025 19:28 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Fun fact, very simple images (such as these diagrams) can be compressed to about the same size with MUCH faster decompression and compression speeds by just running the bytes through zstd rather than using png or jpeg!

03.01.2025 23:56 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Been working hard on this!

Adding drawing was really fun. You can just draw capsules between each mouse event and it looks great. Shoutouts to Inigo Quilez, stole his capsule code lol.

Handling window resizing which can force a texture copy when they draw oob was a bit of a pain, but we got there.

03.01.2025 23:56 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Video thumbnail

I'm writing a fun little text editor in C and vulkan!

Like vim, it's modal. But there is no concept of a cursor in normal mode, only a selection. You can switch the selection "granularity" with h and l, then move the selection with j and k.

And ofc there are a ton more hotkeys for selection manip.

01.01.2025 22:31 β€” πŸ‘ 14    πŸ” 5    πŸ’¬ 1    πŸ“Œ 0

My new years resolution is to share more. I don't ever share anything.

I always felt it was selfish to take the time for myself, but that is not how connecting with people works!

I'd like to learn to keep mental notes of things that happen, then share them with people I care about.

01.01.2025 22:21 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@alex-for-real is following 20 prominent accounts