Show newer

apparently this trick has fallen out of rust programmer folklore so PSA rust allows you to delay initialization of variables, and even Conditionally Initialize them

(it statically prevents you from messing up and will dynamically track whether they were initialized for cleanup)

this allows you to write things like this:

github.com/Gankra/socc-pair/bl

How the first gen ipod that was reverse engineered to run #Rockbox:

1. Someone figured out that when loading a particular HTML page (for viewing on the device), the device would reboot. It crashed. A buffer overflow in the HTML viewer!

2. The device remembered what it did before the crash, so it would reload the HTML page again after boot. Unless you connected to it over USB and removed the HTML file it would stick in this cycle.

(continues...)

whenever i need inspiration in life, I go and re-read the life story of the Saint Equal-to-apostles Olga of Kyiv.

I invite you to read it, too! Wikipedia has a good summary: en.wikipedia.org/wiki/Olga_of_

re: swepol, shitpost 

Now that I think about it, it was probably prompted by something that the Moderate Party said or did

Show thread

re: swepol, shitpost 

Found this in my drafts and thought: YOLO, send it!

I have no idea what exactly prompted me to write it in the first place.

Show thread

swepol, shitpost 

Swedish people's empathy is being decommissioned, deemed "too costly"

I'd just like to interject for a moment. What you’re referring to as The World Wide Web, is in fact, Chromium, or as I’ve recently taken to calling it, Google Chrome.

2862. Typical Seating Chart 

title text: Now that airlines have started adding wheel locks to their drink carts, less than half of flights have one accidentally fall out through the hole.

(xkcd.com/2862)
(explainxkcd.com/wiki/index.php)

mr president another plagiarism video essay has hit the youtubes

https://www.youtube.com/watch?v=FkuW7uKG6l8
pro tip for embedded devs: if you put a backdoor account in your config web ui you should probably not mention the username and password in the frontend js

you are developing a novel, highly efficient algorithm for shuffling music. do you:

a) file a patent
b) write a paper
c) write a post on instructables dot com

real heads of course choose c: instructables.com/Miller-Shuff

github.com/rust-lang/rust/pull

Soon you will be able to write c"Hello" in rust and get a valid UTF-8 encoded *NUL-terminated* string. This is amazing for people who work with C APIs.

Glasgow patch notes: bread now spawns at the bus shelter on Argyle Street

Show older
Computer Fairies

Computer Fairies is a Mastodon instance that aims to be as queer, friendly and furry as possible. We welcome all kinds of computer fairies!