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



Comments:

<0> cool
<1> laptop LCDs are hella expensive (if you consider their contribution to the price of the system), but also usually very nice
<2> I have this plugged into a laptop
<0> cool
<2> the 14.5" screen was making me go batty
<0> hobbs: depends on the laptop
<2> the screen on my laptop is reallly nice
<1> simcop2387: well the good ones are good anyway
<0> tag: you might be able to do a dual head setup :) some laptops will
<2> but it's also small, and my laptop is a little worse for wear otherwise
<2> yeah I tried that already it wont
<1> and my 15" is enough for me. Yeah, 17 might be nice. But I'd hate the 17"-widescreens you get on laptops
<0> aww
<2> sides those dual-res dual-head setups give me a headache
<1> s/I'd/I/
<0> hobbs: yea i hate those too, so many i've seen that look like ****



<2> hobbs: yes, I started to hate staring at a laptop - it took me a few years, but finally it got to me
<2> sometime around the time I got a dual head 17" display at the office
<0> tag: i adjust the pixel sizes to be the same even if resolutions aren'
<0> t
<0> tag: X handles that marvalously
<1> simcop2387: and the most common 17" widescreen has _fewer_ pixels than the most common 15" 4:3 screen
<2> hobbs: Yes, this I mentioned in my spamming blog post, as it's true clear through 20" monitors
<0> hobbs: that too
<0> tag: i've been wanting to get a really ****ing cheap LCD put a tinted back on it (transparent still though) and move all the circutry so that i can see partially through my monitor
<0> it'd be cool as hell i think
<2> hurm, I should change the title of those pages
<2> I should hack it up
<3> you should totally hack that bitch up
<3> wait, what?
<2> hack up the plugin that is giving me those epoch time stamp page names
<3> oh, thought you meant something else, my bad
<0> ooo, i know i could also have it changed so that i have TWO monitors in there and have two LCD monitors in a layered setup! i'd have one be my normal desktop with X + Composite, and then have the other for video and games! holy **** that would be neat
<2> simcop2387: I should buy a second one of these
<2> tilt 'em portrait style and get 3200x2400
<2> that's a lot of screen
<2> I'm happy with this
<2> heh
<1> that would be four monitors, wouldn't it?
<1> two turned sideways, side-by-side would make 2400x1600, for an aspect ratio of 3:2
<2> yeah
<2> www.blisted.org/wiki/blog/2006/Apr/14/21.53.46.html
<2> That's better
<4> hmm
<4> tag: you were broke so you decided to go back to the store and get a MORE expensive monitor?
<2> yeah
<2> I took it back
<2> I only paid $172
<2> I was broke because I had to pay a bunch of money without much notice to retain a lawyer
<4> hrm how much is the 20? I need a monitor :)
<2> http://www.blisted.org/wiki/blog/2006/Apr/14/21.53.46.html
<2> buy it from amazon for $499.99, but click on that link first
<2> heh
<2> give me a reason to keep those ads up on my site 'cause I'm starting to wonder if it's ever going to work.
<5> 1600x1200 is great. it's what I have
<4> hrm $10 a day according to a friend :)
<4> at least the google ads
<5> but mine is a viewsonic vp201b
<2> Khisanth: or $0 a day for my site
<2> I don't seem to have much of an ad clicking audience
<2> :-)
<4> you linked to the wrong monitor!
<2> I did
<2> what the hell
<5> I know a guy grossing $1k/month from google (and growing fast)
<5> and it's a silly bmw after-market parts site
<4> cheaper at BB!
<0> tag: do you read thedailywtf?
<2> yes
<0> heh
<0> i'm pointing people to it now :(
<2> Amazon has failed me
<0> :)
<0> stupid slanted keyboard
<2> Khisanth: amazon doesn't have an advertiser link for the 204b...I'll have to wait until best buy gets back to me



<6> I wrote a proxy in Perl which forks all connections, then when it's done serving the connection I do exit();
<6> but, looking at ps, i see a lot of perl [defunct]
<6> how do i fix this?
<7> perldoc -f waitpid
<8> waitpid. To access this perldoc please type, at a command line, 'perldoc -f waitpid'. You may also find it at http://perldoc.perl.org/functions/waitpid.html
<7> do a nonblocking wait, collecting your processes, until there aren't any left to collect... do this every N seconds (N varies)
<7> and the "defunct" processes you speak of are actually "zombies".
<9> encryptio, i have a function that are supposed to clean those up
<9> encryptio, can i message you with url to my code?
<7> why not post it here?
<7> someone else could have a nice answer for ya too.
<9> http://tg.tnet.no/~tech/useless_proxy.txt
<10> ****
<10> anyone seen jdv79 lately?
<7> tech-: does it say that it's reaping your zombies?
<4> a few days ago
<11> okay
<11> the docs don't tell me how to make Apache2 use perl to interpret a .pl file
<4> tech-: you need to ***ign to %SIG sooner
<4> yes it does!
<7> oh, yeah.. just saw that next();
<7> tech-: your code is telling your children to reap their children when they exit - but your host code does NOT have that handler
<4> "hey kids, just kill yourself when you're done!" :P
<7> heh
<12> how can i inline initialize a hash
<7> jbalint: define "initialize"
<4> my %hash = ( ... );
<12> my %has = something
<11> where can someone learn to .pl files with apache2?
<11> I've tried googling
<11> I'm not finding answers to my questions
<12> Khisanth: thanks. I always get all the [({ mixed up
<4> my @array = (...);
<7> jbalint: [] and {} create references, () create lists
<12> Yeah, I know that. And [ is arrayref, but the hash always messed me up. What is {} ?
<12> Hash ref?
<7> yes.
<12> Ok, Thanks guys.
<9> well, by ***ingning SIG sooner i get a lot of perl processes (but without defunct this time), also if i add exit() after the fork is done with it's work, the main program seems to exit too :/
<7> eval: sub f { print(wantarray ? "s" : "a" } if ( f ) { }
<13> encryptio: Error: syntax error at (eval 111) line 1, at EOF
<7> eval: sub f { print(wantarray ? "s" : "a" } if ( f ) { "" }
<13> encryptio: Error: syntax error at (eval 111) line 1, at EOF
<7> eval: sub f { print(wantarray ? "s" : "a" } if ( f() ) { $a = 1 }
<13> encryptio: Error: syntax error at (eval 111) line 1, at EOF
<7> hmm
<7> eval: sub f { print(wantarray ? "s" : "a") } if ( f() ) { $a = 1 }
<13> encryptio: aReturn: 1
<14> f() is always true...
<14> it returns 1
<7> i was checking to see if it was list or scalar context, not if the if would do anything
<9> does anybody know what i am doing wrong ? :s
<4> it exits when you call exit, nothing wrong with that!
<9> but i want the kid to exit, not the parent
<7> tech-: just move the $SIG{CHLD} = \&clean_dead; before your main loop
<4> then exit in the kid!
<9> i updated my code, sig is ***igned before the loop now.. and the main program exits after one request - http://tg.tnet.no/~tech/useless_proxy.txt
<9> did anyone notice what i am doing wrong?
<12> i am looking right now
<12> Why are you keeping track of the child processes?
<12> I don't think you need to reinstall the signal handler.
<12> prob line 3 in clean_dead should be ==, not = ?
<7> nope
<12> er... line 4...
<12> the if statement
<7> not that one either
<12> This is perl 5.8, right?
<9> yes
<12> Ok.
<12> You run it in the debugger?
<7> hard to debug forking programs.
<9> i never really used the perl debugger
<12> Well the parent is the hard part and that's the easy part to debug.
<5> I love the debugger


Name:

Comments:

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






Return to #perl
or
Go to some related logs:

#qemu
#qemu
#ubuntu
rpm -q kernel +package kernel is not installed
#perl
ubuntu scan-util
#openzaurus
Perl multiple matching Regexp
set debian-sys-maint password
#ubuntu



Home  |  disclaimer  |  contact  |  submit quotes