Show more

the dirtiest average-of-two-integers code I've ever seen, from a great page on optimizing C:

avg = (x & y) + ((x ^ y) >> 1);

before optimizing:

a = (x + y) >>1;
/* overflow fixup */
if( a <x &&a <y ) a += 0x8000000;

(the page is azillionmonkeys.com/qed/optimi, by the way)

I just missed a ton of context in this conversation I overheard on the bus

passenger: Orange
driver: Sure
passenger: Thank you

"I'm so bad at... uh... temporal lookups"
"You mean _remembering things_?"

I installed a reddit app just now against my better judgement, and saw f7u12 (aka r/fffffffuuuuuuuuuuuu) in the default subreddit drop-down

let's just say time has not been kind to it

I think another pedestrian and I simultaneously crossed the street to avoid each other

timing laundry to finish drying four minutes before the laundromat closes

some day, I will learn time management skills. today was not that day

me, being foolish: I should read the rust compiler
the rust compiler: &***compiler.codegen_backend()

I was writing an interpreter and completely forgot callstacks existed

woe is me

>starts making spaghetti at 11:10 PM
is this the 10x'er mentality

chores: 3/10
chores with the "starship mario" track from galaxy 2: 7/10

there should be a button for "I don't want to see this post anymore" that would hide boosts and stuff, because it's too easy to forget to unmute people after a short interval

superultracursed, (not really us)pol 

Decided to see what would happen if I trained a neural net to write names for self-aware AIs.
May I present: GPT-2 trained on AI names from Iain M. Banks's Culture novels
aiweirdness.com/post/185883998

I am proud to announce I have made my lowest-effort protein dish of all time: chicken and soy sauce.

What if you were running a test suite but it assumed it would only ever be run *exactly* at midnight

How many votes can I get on this poll if y'all boost it?

why am I getting rate limited on masto on my phone. this is so sad

AH YES

THE.....??

just going through my camera roll and I came across this

apologies for potato image, I had half a second to take it

Show more
Mastodon for Tech Folks

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!