Show newer

@Jirikiha @sydneyfalk there are more steps to getting clearer transparent 3d prints than i know of, you're probably better off looking it up on youtube in channels where people talk about this kind of stuff, i remember some very informative videos from a while ago

@lupine actually i have a while(running) which calls accept() inside it

my main issue is i'm not sure how to setup select or what to expect from it and the man page is very confusing

@lupine hmm

i'm afraid i'm still not following how i'm supposed to factor select into the code i have right now :(

every example of select i've found online looks incredibly complicated and it all flies over my head

@lupine i mean if i make the accept non-blocking i won't need select anyway...

but then it's running a while loop forever and eating CPU

@lupine i tried both close() and shutdown() from a SIGINT handler and neither unblocked accept() and now i'm trying to understand select() but it's really confusing

@er1n it's a pretty accurate insight into my brain

it gets messy

maybe after this uni assignment is done i can rewrite this into something else less cluttered idk?

Show thread

@lupine i just use it because gedit looks awful not obeying the mate theme

like yeah it's really low-level gear grinding but i rather enjoy writing pure C sometimes

Show thread

good hecking lord i am servos deep in c code and i'm actually slightly enjoying myself that i made a pure telnet chat server work?

i just need to figure out how to make it quit properly now because it gets stuck in the main loop waiting on accept() and i can't seem to unblock it from that

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!