josef is a user on mastodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

food Show more

photographers put a UV filter on the front of their lens to protect it, not from UV light, but from damage such as scratches onto the lens's surface (its UV mapping)

josef boosted

@jk imagine me standing atop the roof of the party boat as bad dubstep plays but also millennia earlier my celestial body breaking off from a meteor and leaving a fiery trail across the sky that gives early hominids religion, that is how I feel, about this post

@er1n @body as everyone knows, programming is supposed to comfort the disturbed and disturb the comfortable

@body im so glad to have received this pull request

josef boosted

@jk

Metap (*OPSP[]) () PROGMEM = {
[] { return a + b; },
[] { return a - b; },
[] { return a * b; },
[] { return a / b; }
};

long getdatap(int a, int b, int key) {
long gongle = 0;
for (int i = 0; i != b; i++) {
gongle <<= 8;
gongle |= pgm_read_word(&OPSP[key] + a + i);
}
}

long plusp(int a, int b) {
return getdatap(abs(a), abs(b), 0);
}

@popefucker were the two previous toots not a good enough explanation. im struggling to think of a better one

hi there, and welcome to Teach Me Tech! Channel. today's a pretty important episode:
why are computers.......
........ ....... ....
..
.... BAD???!!!!!!!!!!!!!!!!!!!!!!!!!! HAHUAHUAHUAHUAHUA

*you look down to check how much more of the video there is:*

mastodon.social/media/RtuflfB5

rusp, a fully-compliant plusp implementation for rust

tired: C++

wired: *(++&([1]C[-1])&++)*

@body this doesnt quite capture it, though. i would ideally like the result of plusp to be, not the location in memory of the 'plus' operation, but instead the concept of plus itself

@body i was thinkin somethin like

int plus(int a, int b) {
return a + b;
}

int plusp(int a, int b) {
return &plus;
}

5 + 4 = 9

plusp(5, 4) = +

tired: +

wired: plusp

josef boosted

Existential crisis type: people I knew when I was a kid keep showing up as competitors in the Olympics

VICE interviews me. i turn the tables. pretty soon we're both admitting that there's definitely something going on but we dont know what it is. a man called boob dolan immediately bursts in with a court summons, saying that i have infringed upon his copyright. another man called bob dylan follows him, with his own court papers alleging that i have committed libel by creating a parody of him called 'boob dolan'

todo

- find out what exactly is going on

computers Show more