Pinned toot

C fellas really do be out here naming their functions `htons` or `ntohl` smh

Show thread
Pinned toot

"You know, say what you will about America, $13 still gets you a hell of a lot of mice"

It's astounding how low the bar is for corporate web applications in the academic world. I go to the number 5 CS school in the country, but our advising app doesn't even have a footer that sticks to the bottom of the page. If I tried to give my clients this level of UI at my consulting firm, I'd be run out of town on a rail!!

how to send stuff back to yourself when you're ssh'd into a remote server: serverfault.com/a/175805

This bug has made me miss Rust immensely. C is great, but you really shouldn't be able to smash the stack that easily in 2020.

Show thread

I just remembered the really weird part! This bug isn't happening on my Ubuntu machine, only on the Red Hat school servers. Why wasn't the stack being smashed there? I'll have to do some detective work in the morning 🧐

Show thread

I was gobsmacked when I saw that calling `recv` would suddenly cause a huge chunk of my locals to become 0.... but not all of them! My sleep deprived brain took a second to realize this meant that the stack was being clobbered, and eventually realized that I was reading 512 bytes into a 40 byte buffer πŸ€¦β€β™‚οΈ
I'm kinda proud of myself for being able to effectively debug with gdb.

Show thread

Holy moly. It took an hour and a half of stepping through this socket code in gdb to figure out that the stack was being smashed after calling recv because my buffer was too small.

Arg parsing in C do be challenging tho

It's confirmed: I'm writing this assembler in 😎

ooh we have to write our own assembler in my processors class... a fella really might write it in Rust

Oof love it when interviews make me feel inadequate and like I don't have what it takes... Even though I clearly do?ΒΏ?ΒΏ

Ok but like these are actually some galaxy brain questions about the origins of mathematics twitter.com/aIeturner/status/1

Trying to explain what "API" and "server" can mean in different contexts to folks can be really hard, especially if they haven't gotten a ton of computing fundamentals and only know certain very specific definitions, e.g. API == the API presented by an HTTP server, server == some black box that we talk to on the Web.

Show thread

oh my GOSH I hate all the overloaded terms used on the Web 😭

When you see an interesting job posting... but they hit you with the "Modern C++" πŸ™…β€β™‚οΈπŸ˜·πŸ˜΄

HAHAHAHA LET'S GO crossbeam is the goat

Come on please I just want to store function pointers in a hashmap is that too much to ask 😭

It's been a really informative couple of days working on my Gemini server! The spec is really small and pretty easy to understand thankfully. I've also been learning a good bit about networking and TCP, which will come in handy in my networking class this semester I'm sure :D

Show more
The Cabal

This is a server created by Jahziel Villasana (aka hapax). He's not sure what he's going to use it for yet...