Camelia, the Perl 6 bug

IRC log for #mojo, 2010-08-29

| Channels | #mojo index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:02 perlrocks Twitter: "perldancer.org doesn't respond. #mojolicious team's dirty tricks? :)" --ysyrota http://twitter.com/ysyrota/status/22393392177
00:02 AL-76 [ Twitter / Yuriy Syrota: perldancer.org doesn't res ... ]
02:36 janus left #mojo
02:36 janus joined #mojo
02:47 awnstudio left #mojo
04:03 tl joined #mojo
04:04 awnstudio joined #mojo
04:05 tholen42 left #mojo
04:46 ka2u left #mojo
05:30 koban joined #mojo
05:31 und3f[A] is now known as und3f
05:45 koban left #mojo
07:16 yko joined #mojo
07:20 ysyrota left #mojo
07:36 ysyrota joined #mojo
07:59 _mpu joined #mojo
08:56 su-bzero_ left #mojo
09:48 und3f is now known as und3f[A]
10:38 arpadszasz joined #mojo
11:41 Alias joined #mojo
12:17 yakudza joined #mojo
12:41 arpadszasz left #mojo
12:48 und3f[A] is now known as und3f
13:16 awnstudio left #mojo
13:23 perlrocks Twitter: "How to document Mojolicious is fairly easy to read and think. http://search.cpan.org/dist/Mojolicious/" (ja) --hisaichi5518 http://twitter.com/hisaichi5518/status/22437015214
13:23 perlrocks Twitter: "RT @ hisaichi5518: Mojolicious think writing documentation is quite easy to read. http://search.cpan.org/dist/Mojolicious/" (ja) --AE_PerlIsm http://twitter.com/AE_PerlIsm/status/22437015828
13:23 AL-76 [ Twitter / ひさいち: Mojoliciousのドキュメントの書き方は結構読 ... ]
13:23 AL-76 [ Twitter / ひさいち: Mojoliciousのドキュメントの書き方は結構読 ... ]
13:23 AL-76 http://xrl.us/bhxmzw
14:56 koban joined #mojo
15:51 koban left #mojo
16:21 arpadszasz joined #mojo
16:46 sri can't wait to port Mojo::JSON and Mojo::DOM to perl 5.10+
16:46 sri recursive regex should be much easier and faster
16:47 crab when do you plan to do it?
16:48 sri it all depends on redhat basically
16:49 sri i think they upgrade to 5.10 next year or so
16:51 yko left #mojo
16:56 cristi8 left #mojo
16:56 perlrocks Twitter: "Very tempted to make #mojolicious depend on #perl 5.10, the new regex engine is so much better." --kraih http://twitter.com/kraih/status/22452187855
16:56 AL-76 [ Twitter / Sebastian Riedel: Very tempted to make #mojo ... ]
16:57 crab can't it be written such that if you build it with newer perl, you get the faster version?
16:57 crab as long as people use 5.8.x the old branch will continue to be tested; and when it's finally dead, it can be dropped.
16:57 sri dunno, but i'm not very motivated to maintain multiple versions
16:59 MojoGuest402 joined #mojo
16:59 MojoGuest402 left #mojo
16:59 crab i know the feeling.
17:00 tmz joined #mojo
17:01 tmz left #mojo
17:01 skaurus joined #mojo
17:02 skaurus oh noes! upgrading mod_perl to 5.10 on centos is so hard
17:02 skaurus i don't use mod_perl now, but anyway %)
17:16 yko joined #mojo
17:24 cristi8 joined #mojo
17:29 vti left #mojo
17:29 vti joined #mojo
17:29 vti mojo rocks!
17:30 crab back and forth!
17:30 nuclon joined #mojo
17:31 * yko giggles
17:32 vti 2 minutes
17:32 vti too bad.... :)
17:32 yko hmm
17:33 * marcus just returned to civilization
17:34 vti marcus: where've you been? ;p
17:34 marcus vti: North-Trøndelag
17:35 nickm joined #mojo
17:35 marcus vti: http://maps.google.com/maps?f=q&source=s_q&am​p;hl=en&geocode=&q=Follafoss,+Verran,+Nor​way&sll=63.985521,11.112563&sspn=2.766718​,7.580566&ie=UTF8&hq=&hnear=Follafoss​,+Verran,+Nord-Trondelag,+Norway&t=h&z=14
17:35 AL-76 [ Follafoss, Verran, Norway - Google Maps ]
17:35 AL-76 http://xrl.us/bhxnit
17:35 marcus a place so remote, google does not have good images of it.
17:36 crab ah, trøndelag. wish i could have gone hiking there when i visited.
17:36 janus as remote as members of the german political parties :P
17:36 yko google does not have good images of whole country i live!
17:36 yko :'(
17:37 vti yko: where is that?
17:37 yko oh, you don't know that place...
17:37 marcus uzbekistan?
17:37 vti the center of the universe? :D
17:37 vti marcus: you're doomed now :)
17:39 marcus vti: can expect horse head in my bed any day now?
17:41 cristi8 left #mojo
17:49 sri :o
17:49 sri in soviet russia maps google you!
17:50 cristi8 joined #mojo
17:52 nuclon yko: Kyiv?
17:52 nuclon yko: afaik google maps does have good images
17:53 skaurus left #mojo
17:54 nuclon yko: otherwise - there is yandex maps with street view :)
17:54 yko left #mojo
17:56 perlrocks Twitter: "I've got reports stating Mojo::DOM to be 20 times faster on #perl 5.10 than on 5.8, even without recursive regular expressions! #mojolicious" --kraih http://twitter.com/kraih/status/22456132909
17:56 AL-76 [ Twitter / Sebastian Riedel: I've got reports stating M ... ]
18:00 vti sri: what have you been doing for 2 minutes?
18:01 ysyrota nuclon: google use maps from the same provider, so they are identical
18:01 sri vti: ? Oo
18:02 vti sri: :)
18:02 nuclon ysyrota: probably, but google doesn't have street view for kyiv :)
18:03 vti google is evil
18:06 nuclon yakudza: sources of satellite images are different
18:06 ysyrota vti: how do you search then?
18:06 vti !tweet #Mojolicious is like #Perl on steroids!
18:06 perlrocks Twitter: "#Mojolicious is like #Perl on steroids! --vti" --perlrocks http://twitter.com/perlrocks/status/22456745655
18:06 perlrocks vti: http://twitter.com/perlrocks/status/22456745655
18:06 AL-76 [ Twitter / Perl Rocks: #Mojolicious is like #Perl ... ]
18:06 AL-76 [ Twitter / Perl Rocks: #Mojolicious is like #Perl ... ]
18:06 vti ysyrota: soviet russia searches you!
18:06 sri duckduckgo!
18:07 sri (even though it's using bing behind the scenes)
18:07 crab great, now every time someone posts to twitter, we'll get four messages on irc.
18:07 vti duct tape!
18:07 sri what is AL-76?
18:08 vti soviet spy
18:08 AL-76 was kicked by sri: AL-76
18:08 * sri gabs torch and pitchfork
18:08 sri *+r
18:08 vti :D
18:08 ysyrota sri: so, microsoft isn't evil anymore? :)
18:09 sri microsoft is the underdog these days
18:09 sri so they're cool again
18:09 vti ymicrosoft doesn't exist
18:11 vti ysyrota: where are you from?
18:12 ysyrota vti: Ukraine
18:13 vti ysyrota: hm..... what city?
18:13 ysyrota wow, dukgo uses perl crawlers. they must be good boys :)
18:13 * vti drinks vodka today
18:13 ysyrota vti: Rivne
18:13 vti ysyrota: nice :)
18:14 ysyrota vti: are you from FSB? :)
18:14 vti sri: do you drink vodka?
18:14 vti ysyrota: cia ;p
18:14 sri only if i don't have tequilla
18:15 vti sri: good vodka is the best thing, the worst vodka is the worst thing ever
18:16 sri which vodka do you recommend?
18:17 vti ukrainian is the best these days, but ti's too expncive in europe
18:18 vti absolut or hortytsia
18:19 ysyrota sri: I like Nemiroff or Khortytsia
18:19 sri absolut sounds familiar
18:19 crab what's a really bad vodka?
18:20 ysyrota crab: warm vodka
18:22 DaTa wodka is boring, obstler ftw!
18:23 sri fruit schnaps
18:23 crab all my obstlers are finished :-(
18:23 vti ysyrota: киев
18:24 vti never tried schnaps
18:24 vti only have seen it in movies :)
18:24 nuclon vti: not "vodka" but "horilka" :)
18:25 vti nuclon: ich bin russische schwein :)
18:25 DaTa vti: vodka is schnaps too :)
18:25 * sri wonders why nobody brought up absinth yet
18:25 nuclon shnaps is 30%, vodka is 40%
18:26 ysyrota so, with shnaps you have more time
18:26 nuclon interesting. russian wikipedia says 30%, english one says 40%
18:27 nuclon oh, 40% is about german schnaps
18:27 vti % != ˚
18:28 DaTa nuclon: in fact schnaps is just colloquial for distilled beverage
18:29 sri http://www.kleinerfeigling.com # i think this is the most popular vodka mix in germany
18:29 sri don't think many people drink vodka pure here
18:29 DaTa why? it has no taste at all :)
18:30 vti drinking vodka mixed is really dumb
18:30 sri kleiner feigling is pretty damn good though
18:31 sri fruity and vodka, best of both worlds :D
18:31 vti sri: german ;p
18:33 DaTa i only drink vodka if i get toothache on weekend 8-)
18:36 vti vodka is good only when you have a good food, and you drink only vodka, otherwires it is stupid
18:37 sri bread, caviar and vodka?
18:37 ysyrota yko's fix for 'extends' made my extended templates doesn't produce content
18:38 crab i don't understand how template inheritance works
18:38 sri i've not found a great example for explaining it yet :(
18:38 sri contributions would be very welcome
18:39 sri rails and django use pretty much the same system btw.
18:39 ysyrota I thought it is simple, extended template get all content of parent
18:40 sri the first to define content wins basically
18:40 ysyrota sri: with yko's fix. <%== content %> returns content defined in top parent
18:41 arpadszasz left #mojo
18:41 sri thats correct
18:41 sri first wins
18:41 ysyrota sri: but it's useless. how can I override content in child?
18:42 sri do you mean top as in first in chain or last?
18:42 sri a > b > c
18:42 vti d?
18:42 ysyrota first (father beats child)
18:43 vti what? that's cruel
18:43 vti sri: i've got deutsch b1 today :)
18:43 vti 285 yout of 3000 :)
18:43 vti oh
18:43 vti 285/300 :)
18:44 sri ysyrota: the double_inheritance example in t/mojolicious/lite_app.t seems to work flawless
18:45 sri ysyrota: layout > extends (with content) > extends (overloading named block)
18:46 crab i think i want a way to append content to a block
18:46 sri double_inheritance.html.ep extends template_inheritance.html.ep to overload the sidebar
18:47 marcus kinky
18:47 sri crab: don't you think that might get too complicated?
18:47 marcus sri: congrat on finishing ep2
18:48 crab it might. i'm going to try it out and see how it looks.
18:48 sri marcus: final level is insane
18:48 marcus sri: I got kidn of stuck on 15
18:48 sri crab: people already have problems understanding
18:48 marcus sri: playing monster dash now.
18:49 crab basically, i want to be able to declare that my page contains an "X" component, and have that X say "i need <...this...> in the <script> stuff in <head>, and <...this...> in the <style> section, etc."
18:49 vti !tweet They just ignore me.
18:49 perlrocks vti: http://twitter.com/perlrocks/status/22459399385
18:50 ysyrota sri: are you talking about main tree? I just tried changes from yko's tree
18:50 marcus !tweet it's for the best.
18:50 perlrocks marcus: http://twitter.com/perlrocks/status/22459425533
18:50 ysyrota sri: source code from your tree works well so far
18:54 sri marcus: 15 is where it starts to get tricky :)
18:54 sri marcus: next few get much harder
18:55 marcus sri: Guess I'll never finish it then ;-)
18:55 sri ysyrota: aren't ykos changes merged yet?
18:57 ysyrota sri: I'm not sure, but is main tree works for me... it seems that it aren't merged yet
18:57 sri marcus: the bonus level this time is a separate game :)
18:58 sri ysyrota: maybe he just broke something then
18:58 marcus hmm, EFI update for my laptop
19:03 sri i don't think extends needs fixing
19:07 yko joined #mojo
19:07 vti .цшт 2
19:07 yko ysyrota: i've been waiting for your test. So i didn't send any pull requests to sri about 'extends' patch
19:08 sri yko: i don't think extends needs fixing
19:08 yko it's not fix... it's extend... :)
19:08 yko but if you think so, then ti's don't, sure
19:12 esskar_ is there a way to detect if a plugin is loaded inside a other plugin?
19:14 yko UNIVERSAL::can('Mojolicious::Plugin::PluginName', 'can') :)
19:14 yko but it's ughly
19:14 crab that also doesn't mean it's been registered yet, does it?
19:17 sri usually does
19:19 sri as long as people use app->plugin(...)
19:19 crab ah right
19:20 sri if you depend on a helper you could also check for its existence
19:22 yko I don't remember if Mojolicious somehow registers loaded plugins, but if plugin's module loaded - i think plugin also loaded (but it can be not true for example if you have nested app or something else)
19:22 sri doesn't register
19:24 sri it's the most minimalistic plugin system you can imagine
19:24 sri only loads a module, instantiates and calls a method
19:25 sri the actual power comes from all the little apis mojolicious components provide
19:26 sri helpers are managed by the rendrer for example
19:26 nuclon left #mojo
19:37 tempire huh.  snow leopard ships with 5.8.9.
19:39 sri and 5.10
19:39 tempire yeah.  I just learned you can switch it with env variables.
19:39 tempire neat.
19:40 vti you can compile too! ;p
19:41 tempire 5.8.9 fails compilation on snow leopard.
19:41 tempire I don't feel like troubleshooting why.
19:41 vti i've succesfully compiled 5.10
19:42 diegok tempire: did you tried using perlbrew?
19:42 tempire Yep. That's what I'm referring to.  5.8.8 & 5.8.9 fail with perlbrew
19:43 diegok tempire: I'm using 5.10 from macports and 5.12 from perlbrew...
19:43 diegok :(
19:43 vti just download from cpan
19:44 tempire manual labor.
19:44 * diegok manual labor is fun!
19:44 diegok :p
19:45 diegok hm, that could be a spanish joke only...
19:46 yko left #mojo
20:11 yko joined #mojo
20:15 perlite left #mojo
20:15 perlite joined #mojo
20:34 arpadszasz joined #mojo
20:56 und3f is now known as und3f[A]
21:02 _mpu left #mojo
21:18 korshak joined #mojo
21:19 yko left #mojo
21:37 korshak is now known as yko
21:40 yko left #mojo
21:52 ltriant joined #mojo
22:13 arpadszasz left #mojo
22:19 sri http://h4ck-n-lash.no.de # damn, a game on the website, thats brilliant
22:22 tempire I'm winning
22:24 sri keeps crashing :S
22:26 tempire Does Mojo::DOM provide a way to access the cdata content, without the <![CDATA[ ... ]]>?
22:26 sri cdata gets treated as normal text
22:26 sri it just affects escaping/unescaping
22:27 skaurus joined #mojo
22:27 sri ->text and ->all_text will give you cdata too
22:27 skaurus sri: can I encode uri with pure mojolicous?
22:27 sri of course
22:27 sri Mojo::ByteStream has all kinds of escaping/unescaping functions
22:28 skaurus i grepped sources and didn't find... oh, i'm even dont look there, thought it all about binary :)
22:28 skaurus thanks
22:28 sri i wish it was easy to split character and byte manipulation :/
22:29 sri it's a complicated topic in perl sadly
22:29 skaurus and one more question... is there a place where i can populate Controller object with some my variables?
22:30 sri use the stash
22:30 skaurus i can call some func inside each method and populate $self with anything
22:30 skaurus but maybe some central place?
22:30 skaurus like "before"?
22:31 sri well, it's just a perl object
22:31 sri you can always overload new
22:31 skaurus nice idea, thanks :)
22:33 tempire skaurus: You might be wanting a routing bridge.
22:33 sri or just app->defaults(...)
22:34 skaurus tempire: what is a "routing bridge"
22:34 * skaurus google defaults
22:34 tempire Mojolicious::Guides::Routing
22:34 sri it's all in the guides
22:34 tempire under the heading, 'ADVANCED'
22:35 skaurus tempire: i missed question mark in previous message) and thanks!
22:38 skaurus sometimes something easy to find only if you already know where it is... i had no glue it will be smth inside routing guide, and altough i read all guides, i can't say i remember each topic in them :)
22:38 skaurus so, sorry for my questions, "guide questions" will repeat)
22:39 skaurus *but
22:41 skaurus tempire: I didn't find about bridges here: http://github.com/kraih/mojo/blob/maste​r/lib/Mojolicious/Guides/Rendering.pod. Maybe you mean helpers?
22:42 tempire You want Routing.pod, not Rendering.pod
22:42 skaurus oh fuck
23:07 tempire bug!
23:08 tempire sri: Ok, so each submission I've made, I've done something wrong - rebasing to master, I think you said.
23:10 sri oh noes

| Channels | #mojo index | Today | | Search | Google Search | Plain-Text | summary