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



Comments:

<0> Maloeran: Which information seems wrong to you?
<1> The % of visits from each country, the OSes. It can't be representative of the whole http traffic
<2> Maloeran: Linux isn't used much on the desktop.
<1> I could believe that, but Canada counting for 3% of the traffic and France only 2%? There's quite a difference of population
<1> Or Germany producing 6.5 times the traffic of France, this is not reprentative
<2> If it's the number of hits, it might just be that Linux users have better google-fu, as well. :)
<3> most canadians are too busy watching hockey
<2> i.e. fewer misses before finding the information you're looking for.
<1> Canada has a low population, I was comparing with France
<3> oh, yeah
<3> France has alot more people
<2> How many Internet customers?
<2> How much time do they spend www-ing?
<1> Not 12 times less than Canadians, hund
<0> 1% seems too low even for desktop Linux usage to me.
<2> Also, French people **** at English, and I bet the majority of websites included in the stats are in English.



<1> Asian countries are pratically absent as well, so I'm just saying this sample is not representative
<3> yeow, anyone see that in #c++?
<4> yes i parted
<2> Depends on what you want to measure.
<3> that was alot of bots
<4> not many.
<0> CStubing: What happened in #c++?
<2> For instance, bandwidth-friendly sites can attract more Australians. I hear ISPs there tend to have quotas.
<3> Teckla: maybe 50 bots joined and nick-change flooded
<5> yes australin internet is ****ed :(
<4> thats why they hunt crocodile
<6> hey
<6> I wonder how can I get WParam ?
<6> like auto pressing a menu item
<5> win32 or MFC?
<6> win32
<0> CStubing: Yikes.
<5> you have to process the windows message
<6> isnt there a program for ?
<0> sirh0t: You're looking for #winprog
<3> sirh0t: It's part of the argument p***ed to the windows message loop... yeah, try #winprog or MSDN
<6> nobody response
<7> #winprog czth> OMG, that question needs to be taken out and shot.
<3> haha
<6> isnt there a program for I understand SendMessage() but not how to get wParam Lparam in menu's
<1> Wrong channel, try #winprog
<2> czth: There are no dumb questions.
<7> hund: ... just dumb people
<2> Yesss. :)
<2> http://flickr.com/photos/n3wjack/18891429/ "kitten porn"
<8> hund: They look exactly like the kittens I had.
<8> :-(
<9> my code crashed
<10> how to print whole string in gdb ? I'm trying print buf[1] (it's 2 dimensional table), also x/s &buf[1][0]
<11> can you do: print buf[1] ?
<10> _reppir yes, but it doesn't print everything
<11> what is it missing?
<10> about 100 or 150 first chars only
<10> gdb) print &buf[1][0]
<10> $2 = 0xbf8e2c83 "HEAD / HTTP/1.1\r\nHost: www.google.pl\r\nUser-Agent: Links (2.1pre20; Linux 2.6.16.18 i686; 155x49)\r\nAccept: */*\r\nAccept-Charset: us-ascii, ISO-8859-1, ISO-8859-2, ISO-8859-3, ISO-8859-4, ISO-8859-5, ISO"...
<10> as you see he leaves ...
<10> hmmm maybe there's nothing there though
<11> how about print &buf[1][150] ?
<11> could be
<11> it may not be the best tool for that type of evaluation tho, an fprintf() might be in order
<10> the \r\n\r\n sequence must have been ommited somwhere
<10> ahhh I don't have the last
<10> \n
<10> I know even why ;)
<12> Can someone tell me a library similar to CURL? I'm trying to use proxies
<12> I have Tor setup at 127.0.0.1
<10> hmmmm after httpd receives \r\n\r\n it should respond with at least error
<10> am I right ?
<10> or I'm not.. ?
<13> should i use strptime() or getdate()?.
<13> httpd doesn't have to respond with anything
<13> i've given it invalid header data before and it just sits there and times me out
<10> hmmm
<10> ok so strlen doesn't count \r\n\r\n as a part of the string ?
<10> no it does
<10> my godd



<10> http://rafb.net/paste/results/ApZNXR85.html
<10> what's wrong with that
<10> I see with tcpdump response from google
<10> but select hangs
<14> where does it hang @
<10> on line 142
<10> select
<10> and keeps selscting
<10> and I see that the response is back, tcpdump shows it
<14> if(select(cli_sockfd,&cli_socketd,NULL,NULL,NULL)==-1) {
<10> mhm
<10> I forgot +1
<10> :)
<10> and all this happens just for +1
<14> +1? should be just 1 right ?
<14> if(select(cli_sockfd,&cli_socketd,NULL,NULL,NULL)==1) {
<10> select(cli_sockfd+1,&cli_socketd,NULL,NULL,NULL)
<10> like that
<14> &cli_socketd
<10> what's wrong with &cli_socketd
<10> ?
<14> &cli_sockfd+1
<10> ?
<10> you mean
<10> select(cli_sockfd,&cli_socketd+1,NULL,NULL,NULL)
<10> ?
<10> ah no
<10> you mean
<10> select(cli_sockfd+1,&cli_socketd,NULL,NULL,NULL)
<10> select(&cli_sockfd+1,&cli_socketd,NULL,NULL,NULL)
<10> like the last one?
<14> yes
<10> so before in line 82
<14> i dunno i think it's something else
<14> but its possible that might be it
<10> in line 82 also should be if(select(&new_fd+1, &socketd, NULL, NULL, NULL)
<10> like that ?
<14> yea
<15> t1: EXCUSE ME WTF R U DOIN
<10> yeah
<14> about to goto sleep
<10> int select(int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout);
<10> it says it needs int n
<15> exactly, not a pointer
<14> oh
<14> nm then
<10> so I written properly before
<14> why is it -1 ?
<10> if(select(cli_sockfd+1,&cli_socketd,NULL,NULL,NULL)==-1)
<10> like that I believe mauke ?
<14> cli_sockfd++ ?
<10> yeah, can be also
<16> you probably don't want to manually change the socket file descriptor
<17> just make sure you re-initialize cli_socketd before every call of select. select overwrites it with it's results.
<10> CompHobby so it's better to say just cli_sockfd+1
<16> and if that's an index into the struct, you should be using the name of it not the hardcoded offset to avoid portability issues
<16> no, it's better to not base your code off of constants like that
<17> you can just put 1024 in there if you don't really care instead of trying to calculate the max fd.
<10> mhm
<10> so your advice is to put 1024 there and not worry
<17> static biggest_fd=-1; int create_socket(...) { ... ; if (fd>biggest_fd) biggest_fd=fd; return fd; }
<17> I_v0, well that's the lazy way to do it.
<17> the performance hit is not really that big.
<10> OrageTide and the proffesional way?
<17> obviously funny things would happen if you managed to open more than 1023 files/sockets at a time. so actually counting the biggest one is safer.
<17> I_v0, oh it's not professional.
<17> using select() is not professional. :)
<10> isn't it?
<10> what can be more proffesional?
<16> select is pretty ancient, isn't it?
<17> these days everyone uses a library or template or something
<16> oh, bleh
<17> calc libevent
<18> libevent: a BSD licensed library for dealing with event notification on windows and *nix. Uses select, poll, kqueue, epoll, devpoll, etc. http://www.monkey.org/~provos/libevent/


Name:

Comments:

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






Return to #c
or
Go to some related logs:

tail -f while read line
#linux-noob
#nhl
#politics
mmassassin
#politics
#computers
#slackware
detect needed drivers
#politics



Home  |  disclaimer  |  contact  |  submit quotes