| |
| |
| |
|
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 33 34 35
Comments:
<0> dabreegster: http://humanity.berlios.de/Summary-0.0.7.txt <0> dabreegster: I even have a music. <1> rindolf: You can write music? <0> dabreegster: not really. <0> dabreegster: I learned music for a while. On the electronic organ. <0> dabreegster: but quit. <2> Spetsnazgg_: You'll have too google that one further because I'm not sure of the details. Also, make sure permissions on the dirs are ok/normal and that user/group is correct. <0> dabreegster: I quit twice. <3> rindolf :( <4> jbalcomb: $ <5> jbalcomb: is there a reason you are doing @row = $sth->fetchrow_array() <3> boo! <0> dabreegster: then we gave away our Organ, which wasn't working very well. <5> and then pushing onto the same array? <1> rindolf: I'm probably going to learn an instrument soon, so I might get into composition. <6> jbalcomb: ok, that's what i'm doing right now, so far i haven't found anything too useful because i'm not sure how to phrase this without being too wordy :)\
<1> rindolf: I know it's nowhere near as fun, but have you considered a digital MIDI keyboard? It might be somewhat like an organ. <0> dabreegster: I also have a MOD file composition: http://www.modarchive.com/cgi-bin/download.cgi/Y/yonqatan.mod <2> Zaphar_work: I need to use that array in my next while loop so i can compare against data i'm pulling from a file. <0> dabreegster: maye. <0> dabreegster: aren't MIDI organs costy? <1> rindolf: No clue. <3> no? <3> not old school <3> just make one <2> rindolf: ebay.com <0> jbalcomb: yeah. <1> rindolf: Shlal Sharav is amazingly relaxing, by the way <0> jbalcomb: I never bought anything from ebay. <0> dabreegster: yes. <7> i want to add support for Authen::SASL to IMAP::Admin, if Authen::SASL is available <0> dabreegster: I have some other Israeli songs in that directory. <2> rindolf: better late than never. ;) <0> jbalcomb: yeah. <7> is there a pattern in perl for doing stuff only if a module is available? <0> jablko: yes, there is. <0> jablko: use "require MyModule;" <0> jablko: and trap the exception. <0> jablko: there's also the "if" pragma. <0> core: if <8> if was added to Perl5.007003 <0> Hmmm... <5> jbalcomb: while (my $row = $sth->fetchrow_arrayref()) {..} <3> core: Module <8> Module will be added by christmas <3> heh <7> rindolf: if pragma... <7> man perlcore? <0> Do the mysql* binaries have an "-f" flag? <0> jablko: buubot is more convenient. <0> jablko: you can use it too. <2> Zaphar_work: how do i add that value to @macDB? push requires arg 1 to be an array <3> perldoc -f push <8> push. To access this perldoc please type, at a command line, 'perldoc -f push'. You may also find it at http://perldoc.perl.org/functions/push.html <3> huhu <5> you do a my @row above your loop <5> otherwise every iteration of your loop overwrites @row so none of your pushes stick around <0> dabreegster: there is also some stuff here: http://eskimo.shlomifish.org/Files/files/music/mp3-ogg/ But the link is slow. <5> jbalcomb: its a scope issue <1> rindolf: OK, I might check it out later. Thanks. <9> "jbalcomb" at 216.28.180.158 pasted "Reading DB and saving array with Zaphar's recommendations" (22 lines, 617B) at http://sial.org/pbot/18028 <1> Does anybody know how tough it is to convert a poem into a Perl poem? <3> you don't do that? <2> Zaphar_work: I'm still seeing zero elements in my @macDB <10> HALLO EVERYONE <3> HALLO EVAN! <11> question with subroutines: is there a way to make a scalar/array argument optional? <3> .joke picard <12> Available categories: ballmer, blonde, coffee, mitch, quayle, redneck <3> =[ <7> rindolf: think i want the opposite of if pragma <7> do something if Authen::SASL can be used <7> using Authen::SASL is the condition <10> Daveman: HALLO. <7> trap an exception... <3> :) <10> I'm so creating an orm
<3> o.O <7> how to trap an exception in perl? <5> jbalcomb: $row is an array reference containing the fields for the row in your db <2> Zaphar_work: I sort of get that from reading the perldocs but i can't say i understand it. <5> jbalcomb: you need to do push @macdb, $row; <5> that stores the row into your macdb <5> I didn't know what you were using macdb for from your earlier paste or I would have been able to tell you that :-) <5> actually your probably want push @macDB $row->[0]; so you have the macaddress and not an array reference in your macDB array; <10> my orm will be like jesus <10> Zaphar_work: eval {} <2> Zaphar_work: Testing macDB: ARRAY(0x814ccc0) <-- ;) kinda works now.. <10> eval: eval { die }; print "not dead"; <8> EvanCarroll: not dead 1 <9> "zaphar_work" at 12.206.248.152 pasted "rewrite of jbalcombs code" (22 lines, 620B) at http://sial.org/pbot/18029 <5> try that <10> So my orm i think will grow up to conquer all. <2> Zaphar_work: didn't even need the pastebin cause adding the ->[0] fixed it. woot!!s to you Sir. <5> jbalcomb: rewrite the if (DEBUG) line too <5> jbalcomb: now go read about references :-) <5> perldoc perlref <8> perlref - Perl references, the rest of the story. To access this perldoc please type, at a command line, 'perldoc perlref'. You may also find it at http://perldoc.perl.org/perlref.html <1> This is creepy. A few lines of code and they're already cheating. <2> Zaphar_work: I have put 8+ hours into simply getting the MAC and IP in my DB properly. You just solved the last two hours of it. Thank you. <3> .joke fraiser <12> Available categories: ballmer, blonde, coffee, mitch, quayle, redneck <3> =[ <5> jbalcomb: no problem just make sure you read about references so you don't have to ask that question again <13> I want to create a windowed application in perl. What should I start with? <3> heh <14> Lisenok: perl/Tk <5> Lisenok: wxperl? perl/TK? <13> Thanks, I'll google for that <3> use rickswm! <3> it's perlalicious! <13> Is that Perl/Tk capable of dealing with multiple encodings more or less complex text fields and such stuff? <14> and the very raw X11::Protocol <15> perl X support is problematic, I tried doing an app ocne, and ended up writing it in c <13> X?.. <16> Lisenok: X11 THE WINDOWING PROTOCOL <14> dkr: did you look at X11::Protocol ? <15> (was intercepting X keypress events since abarcode scanenr was emulating a keyboar device) pretty weird proejct, :) <16> Lisenok: Tk is ugly as **** <16> just thought you should know this. <3> dooky ;D <17> how do i turn off warnings for a specific module (but leave it on for the program calling that module)? <16> daveman! long time no see punk <16> whats up <3> yeah <3> meh, just pimpin <5> skizo1: warnings pragma <3> about to go pimp it up in the city <15> tybalt89: speaking the protocol wasn't the problem, it was translating the keycodes, I think, it was a few mango seasons ago, :) <16> skizo1: 2>/dev/null <16> Daveman: that's legit <16> I'm at work <16> lol <3> dooky++ <3> haha <18> pimpin? <17> dooky: hah <15> skizo1: perldoc warnings <8> warnings. To access this perldoc please type, at a command line, 'perldoc warnings'. You may also find it at http://perldoc.perl.org/warnings.html <13> Um. Is trere a not 'ugly as ****' way to create a windowed perl application? <16> blondie: he's gonna go pull some birds <18> hmm <16> Lisenok: use Gtk; <16> maybe it's use Gtk2; <16> it's been a long time, I don't remember <5> Lisenok: does it need to be cross platform? <13> Gtk is not solid.. And lacks documentation <17> dkr: so, this would work? no warnings "Archive::Zip"; <13> Zaphar_work, yes <19> Okay. I've got the following line: "if ($line =~ ($rule)) {" .. $line = Jun 27 00:45:05 loghost01 SEC-6-IPACCESSLOGP , $rule = /SEC-6-IPACCESSLOGP/ .. why doesn't it match?
Return to
#perl or Go to some related
logs:
talkd install ubuntu 7025551212
kernel panic not syncing VFS gentoo-r7 reiserfs wine on ppc jeeva freebsd #fedora jack library libjack.so ubuntu extended desktop fix broken avi ubuntu ubuntu dual cpu i386
|
|