@sebastian@jittr.click
@sebastian@jittr.click avatar

sebastian

@sebastian@jittr.click

a human i think

i sometimes post about things, uhhh let's be friends or something

"oh my god seb you should not be allowed to write c code" - @ecs

occasionally my avatar changes between various colors in the NES color palette, don't worry about it it just does that sometimes

also i'm an ajr fanboy :3

This profile is from a federated server and may be incomplete. Browse more on the original instance.

sebastian, to random
@sebastian@jittr.click avatar

oh ok i just segfaulted gcc

sebastian, to random
@sebastian@jittr.click avatar

status update:

i am currently writing an assembler which compiles to printf

sebastian, to random
@sebastian@jittr.click avatar

what if i made a fedi client for wii and called it fedii

sebastian, to random
@sebastian@jittr.click avatar
sebastian, to random
@sebastian@jittr.click avatar

holy fuck

i just realized the dumb song (ajr) and the fnaf song begin with the same notes

you said with certainty / we're waiting every night

i don't know what to do with this information but i feel like i need to do Something

sebastian, to random
@sebastian@jittr.click avatar

linguistic prescriptivists are so funny

sebastian, to random
@sebastian@jittr.click avatar

gotosocial mega-instance with open registration

sebastian, to random
@sebastian@jittr.click avatar

new project: https://git.sr.ht/~sebsite/MyFirstCalculator

i really wish there was an easier way to do this :/

sebastian, to random
@sebastian@jittr.click avatar
sebastian, to random
@sebastian@jittr.click avatar
sebastian, to random
@sebastian@jittr.click avatar

i have no idea if this is common knowledge or not but i didn't know about it so:

in python, the + operator on lists will allocate a new list, but += will concatenate the list in place:

>>> a = [1, 2, 3]
>>> b = a
>>> a = a + [4] # allocates a new list
>>> b
[1, 2, 3]
>>> a = b
>>> a += [4] # edits the list in place
>>> b
[1, 2, 3, 4]

sebastian, to random
@sebastian@jittr.click avatar

the circular bootstrap is complete

sebastian, to random
@sebastian@jittr.click avatar

tf why isn't today's bot the woz federating with me

sebastian, to random
@sebastian@jittr.click avatar

alright let's play a game of "spot the undefined behavior"!

spot the undefined behavior in the following expression (you may assume overflow doesn't occur):

x + 2 - 2

this is only UB in a very specific context, and i'm intentionally not providing any context above to make this more difficult

answer in reply

sebastian, to random
@sebastian@jittr.click avatar

gaming

sebastian, to random
@sebastian@jittr.click avatar

i love the c spec now

sebastian, to random
@sebastian@jittr.click avatar

apparently this whole time hare-c didn't compile on master harec cuz i had some local commits that i forgot weren't upstream lol

sebastian, to random
@sebastian@jittr.click avatar

things are happening

sebastian, to random
@sebastian@jittr.click avatar

lol gcc and clang have different semantics for attribute((packed))

struct attribute((packed)) foo *x;
struct foo { char a; int b; };
static_assert(sizeof(struct foo) == 5);
static_assert(alignof(struct foo) == 1);

this works in clang but not in gcc

sebastian, to random
@sebastian@jittr.click avatar

operating system written with the c preprocessor, call that shit macrOS

sebastian, to random
@sebastian@jittr.click avatar

brains are actually so fucked up

sebastian, to random
@sebastian@jittr.click avatar

noses are so fuckin weird. like there's just two holes on your face which suck in tiny particles and tell your brain to experience different things depending on what those particles are. whose idea was this

sebastian, to random
@sebastian@jittr.click avatar

if i had a dollar for every dollar i had i would have like twice as many dollars

sebastian, to random
@sebastian@jittr.click avatar

FUCK it's 3:37

  • All
  • Subscribed
  • Moderated
  • Favorites
  • โ€ข
  • megavids
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • InstantRegret
  • GTA5RPClips
  • Youngstown
  • everett
  • slotface
  • rosin
  • osvaldo12
  • mdbf
  • ngwrru68w68
  • JUstTest
  • cubers
  • modclub
  • normalnudes
  • tester
  • khanakhh
  • Durango
  • ethstaker
  • tacticalgear
  • Leos
  • provamag3
  • anitta
  • cisconetworking
  • lostlight
  • All magazines