| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Comments:
<abaddon> and i already hate people <abaddon> OT: what'd you get? <OrngeTide> a lot of my coworkers are tired of paying for gas for their SUVs. they all wants to know how hard it is and stuff to ride. ehhe <OrngeTide> abaddon, triumph bonneville. <ncaller> I know that if I need to modify a struct from inside a function I need to p*** in a pointer to said stuct. How can I p*** a proper pointer to a struct from inside a recursive function. Example: I have a linked list, I p*** node *head into a recursive function which traverses down directory tree's, I want to append the filenames to the list as listnodes. But how do I know what level of indirection to use if I am levels deep from within a recursive <abaddon> OT: cool <abaddon> ncaller: exactly like you would normally <abaddon> ncaller: but you should probably try to avoid recursion, it looks pretty but you're not using a lisp compiler, eventually its going to bite you <ncaller> well my recursive function already works okay <OrngeTide> abaddon, yea. i'm pretty happy with it. it's not fast. but has good low-end torque. and handles better than a cruiser. <abaddon> ncaller: im not sayin git wont work, but recursion, while pretty, does not play happy with the stack in languages like c, its better to use a loop <blake> aedinus: LANE is ethernet emulation for atm network, it's disgusting like all things atm <aedinius> blake: I see that now. <aedinius> blake: I have to write a paper on it <rkeene> What's wrong with ATM ? <aedinius> LANE vs Gigabit Ethernet <blake> aedinius: legacy networking concepts? <rkeene> You have to write a paper on ATM and didn't know what LANE was ? :-P <aedinius> rkeene: I have to write a paper on LANE, didn't know it had to do with ATM <blake> rkeene: is this religious? <abaddon> i love how i can come into #c and talk **** about programmers and noone argues <rkeene> blake, No, we don't even use ATM at my workplace anymore (our backbone is now 10GigE) <rkeene> But I've used ATM for many years and I don't see what you were complaining about. <Dro> where's that topic from? <Dro> abaddon: where did you get that quote from <ncaller> okay normally I would do: addnode(&list); from main, but what if I do main(){ recursivefunction(&list) and recursivefunction() calls addnode, won't on the 2nd recursion of recursivefunction(&list) it p*** in the address of the stack variable from the first recusion instead of the original address of the list? <abaddon> dro: aim conversation between me and ophten <Dro> that lampshade reference is from a movie or something <abaddon> um, no, im a bad person, its much worse than that <Dro> it's very old <Dro> so it's not yours <Dro> plagirist <abaddon> dro: its a concentration camp joke, except in this case it was programmers i hate <level_> aedinius, should i use threads, since i want to read all the messages that the clients send too? <abaddon> dro: um, bite me? <Dro> I don't bite nerds <rkeene> I do ! <abaddon> dro: well find something to put in your mouth, your talking is bothing me, i can suggest something to put there if you want <level_> i already used pthreads in the accepting clients part. should i use one for the messages and one for the read(); ? <Dro> is that a ***ual innuendo faggot? <aedinius> level_: You don't need threads for that. <aedinius> level_: that's why I said select/poll/libevent <level_> aedinius, for what of those three? <aedinius> level_: libevent would be best, it'll chose the best option for you. <aedinius> level_: and be portable (at least mostly) <Dro> what if it it was? <Dro> that's besides the point <abaddon> wow, you're still talking <Dro> I was clarifying obviously **** surfer <level_> aedinius, i can't find anything on the man pages, and the only thing related to libevent are some libs. <level_> but no documentation on it ( on my PC ) <aedinius> level_: uh. <level_> google, i know. <abaddon> dro: are you an english professor? am i in a college cl***? i didnt steal the quote but just for the sake of shutting you up, lets say i did, so what, shut up <level_> but, that's enought right? just the library. <aedinius> http://www.monkey.org/~provos/libevent/ <twkm> libevent's documentation is concentrated in one man page, usually event(3). <Dro> you think I would shut up for a **** surfer? go fish for some cock <level_> ah, thanks twkm, and thanks alot aedinius. <abaddon> dro: not to throw too much ego here, but do you know who you're being a little **** to? <Dro> only little **** here is you <level_> twkm, man 3 event puts me in perl documentation. <abaddon> dro: why dont you google abaddon@io.com then **** off <twkm> level_: oh well. aedinius' url is probably better. <abaddon> that was annoying <OrngeTide> abaddon, what's new with you? still trying to escape the bay area? <aedinius> abaddon: aha <abaddon> ot: maybe, depends on the day <aedinius> I love that first hit. <level_> no documentation there, should i try poll() or select() ? <aedinius> level_: Did you install libevent? <OrngeTide> abaddon, take a vacation to someplace crappy and then you'll appreiate it more. like take a week vacation to the first motel you find in Mobil, AL. <abaddon> seriously, of all the things to get mad about that topic, i thought for sure someone would be mad because its horribly insensitive to jews or something, but no, he gets mad cause he thinks hes seen it some place <OrngeTide> s/Mobil/Mobile <abaddon> ot: well its not bentonville arkansas thats for damn sure <OrngeTide> abaddon, ahha. <OrngeTide> Gary, IN is a real treat. <aedinius> OrngeTide: Mobile doesn't ****. <abaddon> nothing is worse than bentonville ak <aedinius> OrngeTide: That's where I was born. <abaddon> walmart hq <OrngeTide> aedinius, parts of Mobile **** <aedinius> abaddon: your clue there is 'ak' <abaddon> yeah, seriously <OrngeTide> well gary smells, like the burning itching chemical smell. combine that with the highest trailer trash population of that state and you have an unbeatable combiniation <OrngeTide> *, ak is terrible <aedinius> OrngeTide: exactly. <abaddon> ot: nothing is worse than bentonville ak <aedinius> Now, parts of AL smell bad. like paper mills. <abaddon> i had to go there 3 times on business <OrngeTide> at least there are people in AK. in Montana there aren't anything but dirt and rocks to talk to. <OrngeTide> going to walmart in Montana is a 3 hour drive. <abaddon> OT: you wouldnt say that if you met the people in bentonville <abaddon> ot: not going to walmart, going to walmart hq <OrngeTide> abaddon, ahah. I think I can imagine the type. <Gambit-> OrngeTide, Yeah, because een though you can drive 130MPH, it's still nearly 500 miles away :) <OrngeTide> well going to walmart HQ is an advantage, because you could burn it down <OrngeTide> Gambit-, exactly. <abaddon> ot: nope, i thought about that, men with guns <OrngeTide> there are like 3 stores in montana. <abaddon> ot: more guns then they let me carry onto planes these days <OrngeTide> abaddon, hire a suicide bomber. <abaddon> stupid terrorists making it hard for me to bring a gun on a plane <abaddon> ot: do you really pay suicide bombers? <OrngeTide> we should declare Jihad on Walmart <abaddon> ot: that sounds like work <OrngeTide> abaddon, yea. you pay their families and tell them that it will rain virgins in heaven. <abaddon> ot: aaah, i see <OrngeTide> yea. i'm too lazy to topple any corporate empires today. <abaddon> yeah, plus im still paying off my layers from the last tussle i had with a fortune 100 <OrngeTide> yet another evil corporate empire. <abaddon> getting closer to being paid off... <CStubing> peeling off your layers? <aedinius> if it rained virgins I'd be scared <abaddon> aedinius: yeah, but in that good way <aedinius> Why can't it rain experienced yet clean women <OrngeTide> they are turning into an aquisitions juggernaut. screw inventing things, just absorb everything. like The Blob or the Borg. <abaddon> virgins are a pain in some ways, there can actually be such a thing as too tight sometimes, id prefer sloppy seconds on the virgin <OrngeTide> aedinius, yea. i value women who know what they are doing much more than virgins <aedinius> Though I would have to say <OrngeTide> virgins are generally not freaks in bed. boring <abaddon> ot: yeah, i mostly just have a problem with the chairman/ceo over there, the rest of the people are decent enough, **** even their lawyers (inhouse council) told me they were sorry <aedinius> For some reason, my exgirlfriend the virgin was amazingly better than my current girlfriend, who's had several before me. <abaddon> ot: they can be, yo uhave to find the right kind of repressed hottie <OrngeTide> abaddon, yea. maybe he has a napoleon complex. <abaddon> ot: nah, i just think he horribly miscalculated, but even then i blame ISS for most of my woes <abaddon> ot: i think cisco and i are even, ISS and i wont be even for a long time <OrngeTide> yea. you need the right combination of ***y and non-golddigging. <OrngeTide> abaddon, huge parts of cisco want to get rid of ISS. <abaddon> ot: non-gold digging is easy for my lawyer paying off, broke *** <abaddon> ot: how so, you mean get rid of them <OrngeTide> problem is the parts that want to keep ISS have more swing here. <OrngeTide> abaddon, replace ISS with a better OS. <OrngeTide> although nobody wants to replace the goofy CLI <abaddon> ot: um, ISS is a company <OrngeTide> wait.. what am I thinking of? <OrngeTide> IOS <abaddon> ios <OrngeTide> i'm retarded. <OrngeTide> what is ISS? <rip> inernational space station <abaddon> internet security systems <rip> ? <abaddon> that too, but not what im talking about <aedinius> abaddon: We had to deal with ISS in our competition <OrngeTide> internet security systems <rip> ios cli is heh weird
Return to
#c or Go to some related
logs:
#worldcup #netbsd rick jenerette quotes Given a simple program designed to take inputs of integers from 1-1000
OIH holder stocks
#gentoo cannibis ruderalis #gentoo #beginner emu10kx audio[a000]
|
|