| |
| |
| |
|
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
Comments:
<0> neat <1> and you cant use ssh because ... <2> That brings me to the next bit, is putting out to an LPT printer port easy in perl? <3> it's not hard at all <2> inmute: Because It'll be dynamically controlling a lawnmower, and I want it to be robust and I like perl? <0> I put out to my parallel port nightly. <2> As in, I want it to react to a keydown of forward as output to the paralell port relay board. <1> Excelsior: O.O i want to see pictures when this is done <2> Yeah, I'll be documenting it :P <3> iirc you need to use outb() <2> If I live through it. <3> haha <3> you may also need ioperm() <2> If I CAN use perl that helps since I'll just load nix on it and not have to worry about skimming down an XP installation to fit onto a small CF card <3> and it may have to run as root <3> (it's been years since i've done it)
<0> pft, a tiny linux distro could be more than enough <3> its very easy in C, too <2> Sorry, *nix. :P <4> perldoc -f outb <2> I don't like C, though. <2> Perl is much more elegant. <5> if anyone feels like looking at this code, it would be appreciated. the problem is, the socket never times out on some servers, and print "read" is never reached. http://pastebin.com/741981 <6> The paste 741981 has been moved to http://erxz.com/pb/1377 <3> Excelsior: i was just thinking that it's easier to keep a system trim if you don't need a perl interpreter <3> C uses the same functions <3> all you need to is ioperm(), outb(), and maybe inb() <2> bhearsum: hm, I guess. It's just going to need to fit on a 512 mb CF card <3> ahh <3> well, both will work, i'm sure :) <3> anyways, dinner <7> 512 should not be an issue <2> Fyi snL20, perldoc -f outb renders "no documentation for perl function 'outb'." <4> Excelsior yes, I know :| <7> Device::ParallelPort <2> I'd be outputting to something like this: http://www.electronics-lab.com/projects/pc/005/index.html <8> perlbot beginning perl <9> http://learn.perl.org/library/beginning_perl/ <2> O'Rilley "Learning Perl" > * <2> I just love that damn llama. <8> using perldoc and reading source code > * <5> dude did you guys hear that O'reilly is sueing people, saying that they trademarked "web 2.0"?! <8> I got that url for a friend though. <5> http://www.tomrafteryit.net/oreilly-trademarks-web-20-and-sets-lawyers-on-itcork/ .... wtf O'reilly what are you doing <10> aboutblank's url is at http://xrl.us/ms8n <5> if anyone feels like looking at this code, it would be appreciated. the problem is, the socket never times out on some servers, and print "read" is never reached. http://pastebin.com/741981 <6> The paste 741981 has been moved to: http://erxz.com/pb/1377 <11> say, i know i can do /foo/ to test against $_, is there a numeric equivilant? <12> No. <11> buu: oh, ok then. <13> There should be though. <12> perl6 <13> lol <13> You mean vaporware! <14> will DNF be written in perl6? <12> Yes. <12> wankit <6> Perl 6 doesn't have to do **** for a Klondike bar. <12> Hrmm. <15> aboutblank, uhm, well <15> 'Success' is spelled wrong <5> wow that Quellism. that spelling error in a print statement really WAS that problem <_< </sarcasm> <13> buu: therion should recruit this guy: http://commons.wikimedia.org/wiki/Image:Kozacka_piesn.jpg <13> GumbyBRAIN: cubeit and wankit <16> Sound is commonly called "globbing", and the thinkpad and i don't know what wankit is. <17> And, gentlemen, we should not overlook the Rapid Entry option. <15> aboutblank, no problem. ;) <18> GumbyBRAIN: what do you think about http://mauke.ath.cx/stuff/perl/add.pl ? <16> Can't think of the same about you. <13> GumbyBRAIN: \n.joke mitch <16> Mitch landrieu and ray when you try to print all values from the joke is this possible? <19> While using GetOpt::Std to make it so you have to include either the -a flag or the -b flag (not both, just either -a or -b) I would do getopts("a:b:"); right? <19> Just want to make sure <13> Does GumbyBRAIN keep a log of everything said in the channel? <18> Yawgmoth7: no <19> getopts("ab");? :D <0> Ecarroll: It puts teh words in its brane.
<18> Yawgmoth7: no <0> GumbyBRAIN: brane <16> Dude ... I just woke up ... But i guess i can use filter::line internally to break its encoding brane. <19> How about <18> GumbyBRAIN > * <16> /Usr/lib/dpkg/controllib.pl. <19> getopts("a:b"); <19> If that's wrong I'm going back and reading <18> Yawgmoth7: no <19> :P <19> damnit <13> Wikipedia should have a way to filter non-english nonsense <13> it makes reading articles distracting <13> http://en.wikipedia.org/wiki/Black_Hundreds <13> look at that first paragraph <13> wtf. <13> I guess it is the second <0> They're proper names <19> ah, getopts("ab:"); <13> b0at: granted... <13> CAA:0O <>=0@E8G5A:0O ?0@B8O, or Russian Monarchist Party <13> Lets just go with the latter. <5> in this (http://pastebin.com/742047) example, "waiting" is printed, but "read" is never printed and it never dies. what am i doing wrong? <6> The paste 742047 has been moved to http://erxz.com/pb/1379 <13> .0001% of people that read the english article can make anything of the russian name anyway <20> does anyone know if there's a way to use unpack() to get a count value from a binary packed string, seek back to the beginning of the just-read value, and use that count to extract the containing structure (as the count includes the bytes used to store the count itself)? <21> demon: yes <13> demon: ... in multiple steps sure. <22> I am having problems executing a redirected perl script (via 301), this is what the perl script looks like at http://sial.org/pbot/17381 for some strange reason it works ina browser but doesn't work ina 301 redirect via htaccess <20> Ecarroll: so I can't do it in one invocation of unpack()? I can do it with an unpack() and a subsequent unpack() or substr() already (and have done so) but was hoping I could just do it in one shot instead <13> demon: You can't unpack twice, with one unpack <13> It sounds like the unpack makes up the template for the unpack i don't see how you're going to pull that off with one unpack <13> I wonder if wikipedia gets a cutback from biblegateway.com <12> YES <12> M***IVE BIBLE MONAIES <13> ... seriously though <13> if all of these bible p***ages link to biblegateway... something is either fishy or they are getting cutbacks <13> I would like to think cutbacks <13> because wikipedia can't host the KJV online and self-reference wiki style? <12> Ecarroll: Not really factual material, so doesn't belong in an encyclopedia <12> And probably someone just went and added them <13> ... wiki is more than an encyclopedia dufus. <13> get with the times <13> Wikicommons <12> WIKIPORN <12> I can see a whole new enterprise. <13> lol <13> oh digg you are so addiciting <0> and juvenile <12> Arfhg <12> Pdfs ****. <11> eval: 'mew' <6> f00li5h: Return: mew <11> eval: 'mew' <6> f00li5h: Return: mew <5> please.. anyone.. http://pastebin.com/742047 my signal alarm is never triggered. <6> The paste 742047 has been moved to: http://erxz.com/pb/1379 <11> aboutblank: that's horrible news. who's sending you the signal? <5> -_- <5> everybody's gotta be a critic. <11> aboutblank: but really, who's sending the signal? <12> aboutblank: Are you sure the read is taking 2 seconds? <24> can anyone reccomend a Perl/Tk tutorial? <5> well on some hosts (this is an inet connect), the read takes longer, and if it takes longer i want it to timeout. <13> must firefox always crash <11> aboutblank: you need a ; after the die. that may help some <13> rcc: get the book <5> when i make an inet socket, i specify a timeout but that also never works <12> f00li5h: No he doesn't. <12> aboutblank: Those time outs are for other things. <11> buu: really? <12> Yes.
Return to
#perl or Go to some related
logs:
hooray beer wav
debian discontinued processor architectures #sed +emerge+e_modules+fails #math debian +ttyUSB0 +inittab #perl run pearl prog ubuntu brief-log tinderbox mozilla describe linux-image-server
|
|