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



Comments:

<0> They do :P
<1> well, this code runs many times per second, so i wanted to avoid it doing any opens, like I had used a timezone of "local" for DateTime, and it was opening up a kabillion files figuring out what timezone to use
<0> I mean Mac apps specific. I found a script that switches "desktop" if you smack the side of the screen. I want it to change song.
<0> http://invisiblesun.googlepages.com/SetupforSmackbook.zip
<0> Thats the original script
<2> Hotwires: oh. so you want us to edit a script you didn't write?
<0> Well, yeah. It's for convenience more than anything.
<0> Shouldn't be too hard, should it?
<0> I just use my Mac for my Website and image editing. I don't know anything about perl.
<2> consider this a learning opportunity.
<0> :s
<0> Whats the command to make iTunes go to the next song?
<0> In Perl.
<1> heh
<0> This might help someoen
<0> *someone



<0> http://search.cpan.org/~bdfoy/Mac-iTunes-0.85/lib/AppleScript.pm
<3> Hotwires's url is at http://xrl.us/msfi
<0> Very funny
<0> Shock link?
<4> it should help you the most
<4> its a url shortener
<0> Oh right cheers
<0> I hate those shocker links :S
<0> Same as I posted before yeah?
<0> Oh, it's a bot :)
<1> hrm, I think I have a memory leak, a 98MB apache child (which is only running a couple cgis)
<5> haha
<6> what do I use to decode a Net::Pcap packet ?
<5> ./configure --help|less
<1> snL20 ethereal, :)
<6> dkr I was more thinking a module :P
<0> Whats the command to make iTunes go to the next song?
<0> In perm
<0> *perl
<0> Do I need to use Mac::iTunes or something?
<4> Hotwires: there probably isnt one without a module
<7> Hotwires: Perl is not used to make the desktop switch in that program.
<0> No, it just tells another program to switch if it senses motion
<7> Hotwires: Yes, it calls notify to talk to Desktop Manager.
<0> But all I have to do is remove the call to the external program and reroute it to changing the songs on iTunes
<7> By the way, it is probably NOT the best thing for your disk drive to bang on your computer.
<7> Hotwires: Do you suspect that perhaps you need a DIFFERENT external program to talk to iTunes?
<7> Hotwires: There is nothing built-into perl to talk to iTunes.
<0> There is a module on Macs
<0> You just do:
<0> use Mac::iTunes;
<0> apparently
<7> Then use that module.
<0> Can someone understand this syntax? http://search.cpan.org/~bdfoy/Mac-iTunes-0.85/lib/AppleScript.pm
<3> Hotwires's url is at http://xrl.us/msfo
<0> I have the use bit in
<0> Not sure about the rest]
<0> Just want to go to next song.
<6> what module do I use to decode a Net::Pcap packet ?
<0> I think I may have done it
<0> Testing now
<0> Uck
<0> Threw me a m***ive error
<0> Can I pastebin it?
<2> yes
<2> however
<2> one question:
<2> did you install the module?
<2> properly?
<0> It should be installled as default right?
<2> with cpan, for example?
<0> With a mac that is
<2> not necessarily
<2> not every mac has itunes
<0> Eh?
<0> I don't know how to install
<0> Erm, they do as far as I know :P
<0> All recent macs have iTunes
<0> This is the latest Powerbook
<0> 2004 model or something
<0> Okay



<2> Hotwires: perhaps. but that doesn't mean they have the perl module for it
<0> I have the module
<0> How do I install it?
<2> you unpack it
<2> perl Makefile.PL
<2> make
<8> I wonder where the union gets their personal ads
<2> sudo make install
<0> Okay
<4> Hotwires: as root: perl -MCPAN -e 'install "Mac::iTunes";'
<7> sudo cpan Mac::iTunes
<2> that works too.
<2> damn those CPAN people for making module installs easy
<9> so many cats, so little time
<7> Well, the module will not install here. It is failing.
<10> I'm having some trouble with utf8. I have a script that takes a string from the command line and prints it out then prints out utf8::is_utf8
<10> despite what the input string is, it never shows as being utf8
<10> any ideas why that might be?
<7> Test::Data iwon't install.
<11> is your terminal utf8?
<7> won't.
<10> SubStack, yup
<12> why the heck is X11 forwarding over ssh in cygwin so slow?
<11> peculiar then
<13> you forgot to turn on compression?
<7> That's the cause.
<13> has anyone used NX?
<14> Howdy!
<7> HELLO BUSGRRL
<15> I have
<10> heh, SubStack that makes me feel slightly better about not being a blatent idiot, yet slightly worse about what's going on.
<12> how the heck do I speed up windows eh?
<12> heh
<13> mauke: works well?
<14> yep, on the bus
<12> it seems so broke
<11> it p***es the obvious test anyhow
<15> Khisanth: worked for me
<7> Nola: My cat bit me and I am infected.
<13> mauke: well I meant performance
<13> kill the cat and then eat it
<15> well, it was a bit slower than usual
<16> sheesh
<14> Yaakov: job interview went well... I edjamaticated them on TAP and test::more
<13> hmm I thought it was supposed to be faster
<16> ano ba naman
<15> watching movies over nx is not recommended
<14> Yaakov: you serious?
<7> Nola: Yes. And, good news.
<7> Nola: I mean your interview.
<15> but running a terminal emulator and firefox turned out to be usable
<7> Nola: Is good. Not the cat infection.
<7> Nola: That's bad.
<13> identity: you probably need to use utf8::upgrade on the string first
<7> I use Xnest to good effect...
<14> Yaakov: I should hear back early next week ... maybe.. in two weeks.. no more PHP! (well the side jobs might be php still for awhile, trying to convert the guy to perl or ruby.
<7> Yay!
<14> Yaakov: where'd he bite you?
<7> She bit me on the back of my wrist.
<14> Yaakov: oww
<14> This guy said that template toolkit was slow
<14> he has some home grown regex template
<17> ha!
<18> Yay!
<13> well sure, wouldn't be suprising if a custom fitted solution performs better than a general solution
<6> buu bleh
<14> Khisanth: he measrured speed with a Benchmark module
<18> snL20: DIE PLZ
<13> but that is besides the point ;)
<13> trading computer time for programmer time will ultimately cost more
<6> buu--
<14> yes, but its not just a seems faster in the browser thing
<10> Khisanth, thanks that seems to set it as is_utf8 -- though I'm not sure why I should have to do that explicitly.
<18> snL20: I am immune to your attacks.


Name:

Comments:

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






Return to #perl
or
Go to some related logs:

#ai
opensuse not automatically mounting media
acidrip+use more tmp
#proftpd
polarina
#ubuntu
FBSD.iso 6.0
#css
aptitude purge dependencies
mod_ntlm2 + error



Home  |  disclaimer  |  contact  |  submit quotes