@# 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 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44



Comments:

<0> Quiznos: read my previous line..
<1> Triffid_Hunter hmm, pondering
<1> k
<2> Quiznos, you cant officially cast an integer to a pointer
<1> i need a diff kind of return mechanism
<2> except 0, which is known to be an invalid pointer, NULL
<1> ok
<3> Quiznos, don't bother returning errno
<3> just return NULL
<3> and have the calling code check it
<2> just call malloc!
<1> but it wont last with an intervening lib call
<3> if you're dead-set on returning errno, you have to use a struct with a flag telling which one it is
<2> the wrapper function is useless now
<1> i need to pull it out of libc's influence
<2> oh i see, libraries



<1> pepsi yea
<4> is this the ##C channel? ;-)
<3> *ahem*
<2> lo_tek, it is now
<3> struct ret {
<4> lol
<1> bytecoder i'm gonna use a different return mechanism
<2> zhivago and his buddy are ***holes
<2> :P
<1> maybe a stack
<3> enum data {void* pointer; int errno;}
<3> int type;
<1> pepsi what channel?
<3> };
<3> there, all done
<2> ##c :P
<3> Quiznos, different return mechanism?
<1> pepsi yea, i know, i already told them politely the same thing
<3> just use the freaking struct!
<2> Quiznos, been telling them for months
<1> bytecoder i'm thinking a stack, which i'll need for the forth engine too
<2> hehe
<1> pepsi good, ty.
<1> pepsi there's emulation going on in there too. very bad
<3> if you don't even know how to use the ternary operator properly, how do you expect to do that? ;)
<2> Quiznos, they do have a point though sometimes, where you ask the wrong question
<2> so they help you see why its the wrong question
<1> bytecoder and with a forth-style of words and stack, things get mighty easier
<2> but they _always_ get carried away
<1> pepsi they were completely unhelpful in the extremem
<1> and fully and unnecessarily rude
<1> but i remained in honor
<1> maybe i should complain to lilo
<1> ask him to investimitigate the channel and clean it out
<1> with soap
<1> :)
<1> bytecoder would such a stack answer your and the others' plaints of what i'm a wanna do?
<3> Quiznos, I dunno
<3> I honestly stopped caring a while ago
<3> why are you using C in the first place?
<1> cuz it's "easy" to abuse :)
<1> void *cons() { void *X; return (X=malloc( sizeof( _v))? X : (-errno)); }
<1> oops
<1> void *cons() { void *X; return (X=malloc( sizeof( _v))? X : (-errno)); }
<1> void cons() { push( malloc( sizeof( _v)); }
<3> except that still doesn't work
<1> now it returns nothing that the compiler can check, it looses it's typeinfo, which I want and it's easier to use and check.
<3> I ***ume you mean push( X=malloc(...)? X : -errno)
<1> and with forth, i can handle pushing errno too as a neg
<1> and forth has an easier time with multiple return values
<3> in which case, you /still/ need to flag what type it is
<1> a third plus
<3> a pointer or error value
<1> ( -- ptr | 0 -errno)
<1> if you can read forth stack comment
<1> that satisfies your last post
<3> no, I cannot
<1> ok
<3> and if I ever do, I will kill myself
<5> what is the easiest way to rename all files in a folder by stripping all spaces in the names? ll * | xargs mv ...something?
<0> Quiznos: why not make one of the function parameters a pointer to an errno variable, which you can write to in your function?



<1> it says, +ptr OR 0 and a negative num
<3> I'll stick with my programming language, thank you very much
<1> Triffid_Hunter heh, too complicated :)
<1> bytecoder heh k
<3> ok, gotta go
<3> bye
<1> nite
<0> Quiznos: more complex than void *cons() { void *X; return (X=malloc( sizeof( _v))? X : (-errno)); } ?
<3> you're lucky I was here
<3> saved you from weeks of debugging :P
<1> ty for your help
<1> heh
<1> ok, so i'll start earlier with the stack stuff.
<1> it uncomlicates everything then!
<1> rbrb
<6> hi, where are the syslog logs kept?
<7> /var/log ?
<6> oh ta
<8> I met a cute chick who knew calculus two days ago.
<8> Talk about ***iness.
<9> PeterFA, nice
<8> "nice" is an understatement.
<8> Any chick who beats me in chess who is cute pwns my heart.
<8> @.@
<2> bye
<10> does anyone know where the syntax highlighting files for Kate are?
<11> hi how can i setup a dsl connection?
<8> sdfzx, depends on how your modem is.
<12> hi please what HTTP package could you recomand me for DEBIAN?
<1> farscape twice today, 5pm and next 4am edt on wgnsat
<8> sdfzx, if it's internal, I don't know. Normally, as far as I know, you connect to your modem over a CAT5 cable.
<11> modem? im using dsl modem
<8> EVRAMP, lighttpd
<12> thanx
<8> sdfzx, that's right.
<11> external but the lan card is internal
<8> sdfzx, that's no problem
<10> pepsi: why are you being rude
<11> please tell me how :)
<8> sdfzx, what you do is make the lan card work, and it connects to the modem... I never did it in Linux however.
<8> sdfzx, I use a router that distributes IPs via DHCP
<11> aw
<8> It automatically talks to the modem via uplink.
<8> sdfzx, try ##networking
<11> :(
<11> ok thanks
<13> re. hi all
<1> wb
<11> but usually how do u use the pppoe?
<8> Iunno
<11> waa i cant use my dsl here in slackware huhu
<8> sdfzx, you can.
<8> Linux was built to network.
<11> but dont kknow how
<8> sdfzx, search the web.
<8> go to ##networking.
<8> I have no clue.
<11> ok googlize hehe
<11> thanks anyway :)
<8> echo `wget http://google.com/search?*` >> /dev/brain
<8> wait...
<7> the modem should look like any other ether device, config your ethrnet card (the net3 howto might help)
<8> echo `wget `wget http://google.com/search?*`` >> /dev/brain
<8> wait...
<6> how do i flush the squid cache?
<8> echo `wget $(wget http://google.com/search?*)` >> /dev/brain
<12> PeterFA please can i install lighttpd without compile (cant use command "make")?
<8> EVRAMP, try to install GCC with make or something.
<14> ah
<14> someone try !slap...
<8> !slap TragicZ


Name:

Comments:

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






Return to #linux
or
Go to some related logs:

linux grep --exclude
ubuntu cant open display
xmame gentoo pragma once
ktorrent keeps crashing
#web
#gentoo
#gaim
#perl
#php
obsification perl



Home  |  disclaimer  |  contact  |  submit quotes