| |
| |
| |
|
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
Comments:
<0> Ikarus: Secret to success: Make it a POE component! <1> it's too specific <2> i mean i have md5_hex, but i need to convert it to md5_base64 <1> needs more knobs <1> I can probably give it to you as an example though <3> Yaakov: I am thinking, that I am biting off more then I can chew <3> even implementing the basics of what I need requires some trickery you go mad from <0> Ikarus: You are probably treading a well worn path that ends in specialization. Frankly, while it is very neat conceptually, it hurts my brain to consider the internals. <1> grab http://www.stonehenge.com/pic/Stonehenge-Apache2-Template.pm <4> merlyn's url is at http://xrl.us/noo4 <5> depesz: use MIME::Base64; encode_base64 <1> you'll need to change the package name, probably, and ensure that it's in your mod_perl's @INC <2> jpeg: but i have first to revert hex encoding. <3> Yaakov: I actually already wrote the specialized one, now I want a generic module for it as I have to do about 2 dozen different date calculation sets in this app <2> jpeg: for example. i have "70d18ee56c780087bd02e37f9a0258f5", and i need to convert it to: "cNGO5Wx4AIe9AuN/mgJY9Q" <0> Ikarus: Well, _that_ level of generalization might be doable.
<0> Ikarus: You have a definite problem space. <6> merlyn, it's installed <3> Yaakov: true <6> merlyn, hmm, where are the regular Apache2 packages installed? <0> Ikarus: If you could just convince everyone to use Epoch Time... <6> merlyn, nevermind, got it <3> hmmm ? <3> Yaakov: actually I was planning to internally convert everything to MJD <0> Ikarus: I meant, if all dates were in epoch time, it would be trivial. <0> Ikarus: I didn't know that Mark was a time format! <3> Yaakov: no, but Modified Julian Date is <3> It means I don't have to deal with actual dates in the core <0> Ikarus: Yes... yes. <6> merlyn, And you'll need some way to get the $tt_parameters from httpd.conf, the default value of /web/stonehenge/(...) isn't very default <0> Ikarus: Yes, but the conversion back through the mor*** is the issue. If everyone used a linear calendar, it would be simple. <3> Yaakov: I don't have to deal with intra-day stuff <3> so MJD can be converted back and forth as much as I want <6> merlyn, Can I get Stonehenge::Template::Plugin too, or is that already installed somewhere on my pc? <6> s/pc/server <0> Ikarus: Well, that helps, surely. <7> hi <8> merlyn: yo. <8> merlyn: you do any work with adult industry? <5> ....besides being a consumer? <3> ah, see, DateTime::Set is exactly what I am looking for I think <0> Ikarus: That would be nice! <0> I am unaware of it. <0> Ikarus: Looks pretty good! But benchmarking may be in order. <0> ::span, too. <3> Yaakov: yeah, they get the same idea as I had, you have a set, a span and a spanset <0> Hey, uber_spaced! <9> w***a goin on? <3> I should have paid more attention at math <0> Ikarus: That's the rub in the calendrical stuff. <0> Ikarus: If you want brain-hurt, google "calendrica". <3> The book ? <0> Ikarus: yes. <0> Ikarus: There is a cool Java applet, too. It does a bajillion calendars. <3> I need to find a good book on the math behind this <10> behind gregorian? <0> Ikarus: http://emr.cs.iit.edu/home/reingold/calendar-book/Calendrica.html <4> Yaakov's url is at http://xrl.us/nop8 <3> tempered: no, sets and spans <11> perlbot: special chars <12> perlbot, encoding? <0> perlbot: UTF-8 <0> perlbot: DIE A HORRIBLE DEATH SCUMBOT <13> Yaakov: you are invited to #lisp-il (discussions are in English) <0> Thanks, but I don't have an interest in lisp. <13> Yaakov: OK. <0> Thanks for thinking of me, though. <14> hallo <15> HI! <15> Whoops.. stupid shift key.. <15> Hi! <15> Awwww. :( <11> i'd want to know all the special chars to escape in regexp, it is not in perlreref, where it is please ? <0> lanchow: http://juerd.nl/site.plp/perlcheat <15> Pretty much any character that would do anything special, I guess. <16> hi again <16> hi defbot
<16> defbot, hello ? <11> ohoh, thanks <15> Hi! <6> ummm <6> $$foo{bar} aka $foo->{bar} is wrong, juerd <6> $$foo{bar} is parsed as ${$foo{bar}} iirc <6> not as $foo->{bar} <6> and this makes no sense too: <6> ${$$foo[1]}[2] aka $foo->[1]->[2] <6> ${$$foo[1]}[2] aka $foo->[1][2] <17> eh. <6> or am I being a real Perl noob now <6> ? <0> MY BRAIN IS SHUTTING DOWN <6> zomg! <18> GLUE ALERT <6> eval: my $foo = {bar => 'test'}; pring $$foo{bar} <19> dazjorz: Error: syntax error at (eval 243) line 2, near "$foo{bar" <6> eval: my $foo = {bar => 'test'}; print $$foo{bar} <19> dazjorz: test 1 <6> u <6> eval: my $foo = {bar => 'test'}; print ${$foo{bar}} <19> dazjorz: 1 <20> GumbyBRAIN: perldoc -f pring <21> $f = 'abcdef'; while (/(.)(.)/g){ push @f, [$1,$2]; }; [@f. <6> uh lol <6> typo <0> pring? <6> print* <6> yea I was trying to ping 'test' <6> so i pringed $$foo{bar} <6> pinged* <17> eval: my $foo = {bar => 'test'}; $$foo{bar} <19> BinGOs: test <6> seems right <13> perlbot: re <22> For regular expressions see perldoc perlretut perlrequick perlreref perlre http://xrl.us/hx93 <19> perlretut - Perl regular expressions tutorial. To access this perldoc please type, at a command line, 'perldoc perlretut'. You may also find it at http://perldoc.perl.org/perlretut.html <6> lol <0> eval: my $foo = {bar => 'test'}; print $foo->{bar} <19> Yaakov: test 1 <17> GumbyBRAIN: rape perlbot <21> karma perlbot. <22> usage: karma (thing) <6> omg. <13> Yaakov: #lisp-il is not really about Lisp. Well, not usually. <13> It was started one or two days ago. <6> rindolf, #perl isn't really about perl too <13> dazjorz: yes. <6> rindolf, we're talking offtopic 60% of the time. <6> let's talk about... Puppies! <6> gumbybrain: Kill puppies <17> and GumbyBRAIN talks off-reality 95% of the time! <21> Puppies were killed in the bookstore. <13> dazjorz: this is the rule rather than exception on the IRC it seems. <6> lol <17> I'd *like* to see her puppies. <6> Irreal Relay Chat? <17> Intaweb Rubbish Chatter <6> Irreal Reality Ciller <6> Killer* <17> that's IRK <6> ok from now on, it's called IRK <6> Yea <6> :) <6> Irreal Reality Chill. <6> That makes no sense, but it's IRC anyhow. <0> International Roof Panties <20> Infamous Russian Causality <23> Incredibly Realistic Chili <20> hehe <0> Infi Really Cares
Return to
#perl or Go to some related
logs:
#css gentoo stop unicode telecharger spaeker ioctld what's that +mirc +remove numbers ubuntu unistall wine python yield finally #qemu #asm mysql_real_escape_string depreciated
|
|