@# 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



Comments:

<0> why security problem?
<1> What if your CWD is an user's home, where he got a "ls" program lying around? He could grab your root if you execute that
<0> hmm
<2> so put . at the end of the path
<0> I wonder what happens if i have a dir.exe file
<1> No need to worry about security on windows, you don't get any anyway :)
<3> CStubing: then make a "sl" and wait for typos :-)
<2> dir is a shell builtin of cmd.exe.. (or command.com if you're ancient).. builtins will be handled before the path is searched
<0> hm, even with a dir.exe present, "dir" still lists the directory
<2> mauke: hehe.. makes me think of my friend's domain, slytel.com
<0> billg was wise to mark executables with an .exe extension =)
<2> mauke: people email [pager_number]@skytel.com to send text messages to people's pagers
<1> Exactly mauke, having ./ in PATH is dangerous
<2> mauke: and my friend catches a ton of type-os at slytel.com
<3> thezog: or .bat or .exe or .pif or .com or .pl or ...
<3> er, .scr



<0> haha also a guy registered null.com
<0> seems some telecom provider defaults to null.com when the number is invalid
<4> hey has anybody here used GTK+?
<4> oops forgot to fix name
<5> no but I used gtk++ and gtk#
<1> calc anybody
<6> *You* tell me what is foo
<1> calc anyone
<6> 90% of the questions in this channel _annoyingly_ start with "Does anyone/anybody..." the answer is "yes", now ask the real question.
<7> sometimes it's best not to take the English language literally
<0> you "fixed" your nick alright :)
<7> discorpse: I can't tell if you're joking or not - are those real?
<8> where can i find the entire code behind std::swap online?
<7> yeah for some reason I can't put in my full nick - silly java irc client
<9> no
<9> efnet has a limit
<0> no
<1> Check the libstdc++ source, JLM`
<0> efnet has a 9 char limit
<3> JLM`: namespace std { template<typename T> void swap(T &a, T &b) { T tmp(a); a = b; b = tmp; } }
<7> ah craps
<10> Can I say "no" as well?
<5> lame isn't it
<5> it's been like this for like 15years
<0> no
<10> It's perfectly valid
<8> oh
<7> ok but anyways would anybody here be willing to help me with a GTK+ thing?
<8> thanks both of yall
<10> The original IRC specification limited to 9, and EFnet sticks to that.
<5> time changes
<9> look at freenode :P
<10> Why should they? Why do people of today need more than 9 characters to express their personality?
<0> ah, like fortran had 6-char variables because 6 chars fit in a IBM machine word
<5> or using 2 digits for the year just because it saved a couple of bytes
<9> 00 < 99!
<9> IMPLODE!
<10> Oh noes.
<0> except for large values of 00
<0> original!
<11> 8-]
<11> Very large values
<0> bool IsComputerOnFire();
<0> always cracks me up
<12> hmm.
<13> Opinions please.
<13> cgi-lib >= cgi-c?
<13> cgic that is.
<13> I might write a mini-parser
<12> cgi is so 90's
<13> heh
<12> web 2.0 is the future
<13> cgic it is
<2> CGI.pm?
<14> You can do Web 2.0 with CGI.
<15> web 2.0 doesn't exist
<14> It exists as much as Web 1.0
<15> there was never a web 1.0
<15> there are things served using the http protocol
<14> Then the conclusion should be obvious.
<15> end of story.



<1> Anyone put a trademark on Web 3.0 already? That should stop the insanity
<2> I think Al Gore already has it.
<16> whats wrong with this code?
<16> http://rafb.net/paste/results/bg1n8r66.html
<16> woops
<16> i mean
<16> http://rafb.net/paste/results/GrNyBY69.html
<1> Can't you just scandir ./ instead of reading the cwd in 200 chars? Seems very akward
<17> hyp`: is it not working?
<17> if so, what isn't working?
<16> it segfaults
<16> on strlen
<16> and maloeran thats very true lo
<16> lol*
<17> i don't see a strlen
<16> i guess its used in one of the functions
<16> because i debugged it
<16> and it segfaulted at strlen
<17> ...
<17> :P
<17> which function?
<1> Type bt for backtarce
<1> backtrace* ***uming gdb
<16> k
<16> (gdb) bt
<16> #0 0x400a2363 in strlen () from /lib/tls/libc.so.6
<16> #1 0x40071681 in vfprintf () from /lib/tls/libc.so.6
<16> #2 0x400778c2 in printf () from /lib/tls/libc.so.6
<16> #3 0x08048546 in main ()
<16> (gdb)
<17> type this:
<17> frame 3
<17> for(i=0; i<filecount+1; i++) {
<17> that +1 is probably wrong
<16> didnt fix it
<1> files[i-1] ? What is that?
<1> Accessing files[-1] is not going to do much good
<16> aha
<16> thats my problem
<16> thanks
<16> fixed now :D
<1> What's the deal with your +1 and -1? :) Don't need any of that
<2> heh.. I had a coworker who used to do stuff like: for (i=1; i <= n; i++) Foo(bar[i-1]); ... had to break him of that.
<18> was he an ex basic programmer?
<18> after I started using C it still took me a long time to break myself of that habbit
<18> habit
<1> I'm guessing Basic counts from... one?
<19> jeffloc you should go chill ,take a beer and lean back my brother...
<1> This hardly makes sense for memory addressing, there must be tons of hidden operations
<18> no. I thought he meant the single letter variable names
<1> Single letter variables are fine, less typing :)
<18> heaps harder to figure out what it's doing too
<19> is c better than c++ ?
<19> in your oppinion
<20> c--
<1> My opinion? Yes
<19> yes maloeran
<21> Any FreeBSD users awake?
<2> yeah
<21> Which port do I compile for gnome desktop/nautilus/whatever?
<19> nautilus
<2> go into /usr/ports and do: make search key=gnome
<2> or make search key=nautilus
<2> that searches the port names & descriptions... to just search the name, you can do make search name=gnome
<18> I just fixed the most silly type of mistake!
<18> I'm so ashamed
<22> you should be;[
<21> Thanks guys
<18> the bad thing is it took me so long to spot it
<21> Hmmm, I think the port name might be "gnome-session".
<21> "This provides session management for the GNOME 2 desktop, and
<21> provides the tools used to start the desktop."
<21> Well, it would certainly be helpful to be able to start the desktop :)


Name:

Comments:

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






Return to #c
or
Go to some related logs:

#sql
#gentoo
#winxp
#linuxhelp
#beginner
#winxp
#freebsd
unichrome Pro IGP + hitman
#heroin
#c



Home  |  disclaimer  |  contact  |  submit quotes