@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14



Comments:

<0> the one tricky thing is moving the data from the nic device into the CPU cache, but that's what sscanf() is for
<1> aedinius: i told you, i figured out how to put my balls on things over tcp sockets
<2> aedinius, i both left and right click work on my macbook
<1> myrddin: yeah, sprintf with %s works as well
<1> but you dont want to use manual bounds checking versions
<0> we rewl
<2> sscanf should really only be used in device drivers.
<1> becuase they are prone to programmer error (such as buffer overflows), you should always use the automatic bounds checking versions
<1> like strcpy
<1> god, somedays i want to teach programming for a living, just so i can spread this wonderful knowledge on
<2> i wonder what veggie burgers are made out of.
<2> non-animal industral waste I ***ume.
<1> vegitarian cows?
<2> because honestly. i've never seen patties growning on trees.
<2> and there are little pieces in there that i don't recognize either.
<1> a cow attacked me once, ****ers, remember its us or them



<1> good thing for us they're really stupid
<3> OrngeTide: My mouse button isn't working at all
<1> most people dont realize but cows can run about as fast as horses
<2> cows can get really pissy. and unlike bulls, cows don't run in a straight line. you try to play matador and a cow will just stomp you in the ground.
<1> aedinius: i ****ing told you, its had my balls on it, thats the problem
<2> aedinius, on your macbook?
<3> OrngeTide: Yeah
<4> cows may very vell be the end of us all
<2> is there an apple store near you?
<3> Yeah
<4> just think what they could do if they were better organized..
<2> i recommend we never allow such animals to mature to large mean adults. veal should be the only kind of meat we eat.
<5> Tastes better.
<1> ot: i love veal, you can taste the torture and fear, makes the meat soft and juicy
<5> Can they give birth prior to becoming non-veal?
<1> so remember that game we played like years back, the what single line of code changed in their standard headers could make a person give up programming forever
<2> babies cry for all sorts of reasons. they cry when they are hungry, when they are wet, when they are bored, when they are scared, and when they are being tortured. who is to say that the babies cows locked into a box aren't crying because they are bored. i think it's damn selfish of them to make so much noise.
<1> i actually put the winner and first runner ups into someones header files at work a couple jobs back, it was ****ing great
<2> abaddon, ahaha.
<2> i control libc in my group....
<1> #define struct union /* a great space saver */
<1> that was the winner
<2> oh. that's great:)
<6> Hmm.. that'll be great for my embedded project.
<1> and my change to signal.h #define return(x) return(raise(SIGSEGV), x)
<2> i should put -Dstruct=union in the kernel makefiles
<7> hmm, that one wouldn't affect me
<1> i love seeing people trying to debug that
<7> #define return return raise(SIGSEGV),
<1> mauke: yeah, thats why it didnt win first place
<7> fails for return; though
<1> mauke: yeah, i actually had it more more elaborate so it worked, i dont remember the syntax
<1> probably raise(SIGSEGV),return(x)
<7> no, you can't use return in an expression
<1> or something
<1> hmmm, is that true? ive so rarely had the chance to try
<1> no reason it couldny be seperated by ;
<2> yea. return doesn't return anything :)
<2> yea. ; would be the way to go.
<1> the real problem of course is it only ****s people with unix
<3> I don't want to take this back to Apple =(
<1> i dont remember the exact syntax of it, it worked however it was
<2> #define return raise(SIGSEGV);return
<1> yeah, that was probably it
<2> aedinius, aww..
<2> i'm still mad about my broken 5 year old ibook
<1> the struct union thing really broke his build more than anything
<1> so he tries to break it down to the simplest form he can, and it keeps crashing on him
<3> Hm.
<2> now what you need is to turn every int into a bitfield of some smallish size.
<3> Yeah, it seems to be a hardware problem
<1> he was all "it says in the stacktrace that it called kill, but that totally makes no sense the stack must be trashed)
<3> The external mouse works fine
<2> aedinius, do you have an apple store near you?
<3> Yeah, about 15 miles.
<2> get going!
<8> bloop
<3> In case they steal it.
<2> firewire the whole thing. i ***ume target mode works on intel macs



<2> honestly you don't need a mouse. :)
<8> calc sprintf
<9> sprintf, the S is for Secure!
<3> OrngeTide: Do too. =(
<2> aedinius, is it the button that doesn't work? you could enable tap to click
<2> lets count how many times aedi has to send his apple laptop in.
<2> honestly apple would make more money if they didn't have to keep repairing or replacing your laptops
<3> =/
<3> This is the second time I've had to take this one back
<10> Yeah. It is.
<11> hehe
<7> #define malloc(n) malloc((n) / 2)
<1> mauke: hmmm, that might have some merit
<7> creeping memory corruption
<1> mauke: why not just change it to malloc(0)
<7> nah, that's too obvious
<2> mauke, be more subtle. do -1
<1> yeah, i guess its better if it creeps
<7> and it might return NULL
<1> mauke: yeah -1 is better
<1> mauke: no it wont
<7> malloc(0) is allowed to return NULL
<2> #define malloc(n) malloc(rand()%100)
<1> mauke: ive never seen an os (except for recent obsd i guess) that fails on malloc(0)
<7> malloc((n) - 1) might not have any effect
<1> mauke: yeah, padding
<2> mauke, there is liek a 1 in 4 chance of it having an effect.
<1> mauke: how about malloc(n%CACHELINE_SIZE)
<2> i'm satified with rand
<2> oh. i know. on gnu #define malloc(n) goto (*(void*)rand())
<1> ot: yeah, but im worried it might crash too soon with that
<1> nice
<1> heh, on linux 2.4 or lower do something to send a SIGTHREAD to the process
<1> it will only effect threaded apps, but they will go ape ****
<1> cause they dont really have mutex on 2.4 or lower (except the back ported futex stuff in the final kernels)
<1> so they fake it with signals
<12> ophten!
<8> sgtunix!
<12> and lynn, OT
<1> yeah, its like a reunion
<12> ophten: now this is a rare sight
<8> sgt, blame abaddon, i was working dilligently
<1> i really didny want to test my driver code out
<2> i had an extra set of parens. it needs to be #define malloc(n) goto *(void*)rand()
<1> so i figured if i was wasting time (and brain cells) on irc, i needed to bug him into it
<2> hi sgt, i rode to work today. but i avoided the highways.
<12> abaddon: yeah, always drag someone down with ya.
<1> ot: actually just adding in an extra paren could be fun by itself
<12> OrngeTide: highways are boring.
<4> SgtUnix, done some work on your fourier tranformation stuff?
<12> Mad_Coder: not yet, I've been busy with useless things.
<3> SgtUnix: Fix my laptop =(
<12> aedinius: Ok.
<7> #define free(p) realloc(p, 1)
<2> SgtUnix, the wind noise is a bit loud past about 45mph on the city streets. so i think i'll wear earplugs if i go on the highway.
<1> mauke: that memory leak might take a while to find
<2> SgtUnix, it's the curvy on-ramps that i'm mostly worried about.
<12> OrngeTide: I've been thinking of getting earplugs too. It really can hurt your ears in the long run
<7> #define memmove memcpy
<1> mauke: why not just #define free(x)
<2> mauke, ahhah
<1> mauke: wow, thats subtle and evil
<12> OrngeTide: going 120km/h for longer periods of time and it's noisy as ****.
<1> mauke: i like that one a lot
<13> @define memcpy memset
<1> mauke: cause it works some of the time
<1> mishman: wont work most of the time, compiler will barf
<12> Mad_Coder: you got any summer projects going on?
<2> SgtUnix, yea. it's really bad for your hearing.
<12> OrngeTide: i've noticed a loss of hearing :(
<2> that's not good!
<1> mauke: im going to have to find a victim for that memmove memcpy idea


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #c
or
Go to some related logs:

#nhl
#beginner
trinity_4 efnet
#nhl
Olivetti Echos 133 DM
diesel blackzilla
timothyt milwaukee
#online
#aix
#beginner



Home  |  disclaimer  |  contact  |  submit quotes