Alex Harrison's Avatar

Alex Harrison

@alex-for-real.bsky.social

12 Followers  |  26 Following  |  33 Posts  |  Joined: 01.01.2025  |  1.7408

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

yes, but it's from your 20s until you die

03.10.2025 03:13 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

vc funding but it's just a dude with a job giving my unemployed ass 100 bucks

21.08.2025 06:08 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Anytime anyone in the future mentions git even in passing I am going to evangelize about git reflog. This has saved my ass so many times since I learned about it.

14.08.2025 22:31 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

Hated making icons by code in my app, so I wrote a whole ass separate panel for making them lmao.

Only took a few hours to make, surprisingly time efficient!

13.08.2025 22:00 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

figured out that literally any api can be immediate mode with good caches behind it
this has caused many small revelations for me

13.08.2025 08:43 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Rationalism is a cult but damn do they have the most accurate and actionable advice sometimes

13.08.2025 07:57 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

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

@alex-for-real is following 20 prominent accounts