@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 sure here you go https://gist.github.com/Lana-chan/deea588d5673fdac0ebd89c5643aaa8b
it's fully functional atm, but accept is non-blocking and consumes lots of cpu
@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
@noelle *hugs tight*
@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?
@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
@bugpaws but also reading the other toots, maybe
@bugpaws pachirisu
@revenant oops
@revenant "just solder them in, boss"
@noelle_ebooks i think you did, it's @peribot
maple classic™
boosted
roboplush squirrelbun kin girl, accept no substitutes
bunbot girlfriend belonging to @LaserScheme & @noelle & @agiri@masto.ninja
mastodon mascot, computer fairies owner, game music composer, obsessed w/ electronics & 80s
talk to me please? i won't bite
if you wanna follow please try to befriend me first bc i post personal stuff
http://t.me/maple_syrup
discord: maple#3896
http://maple.pet