Camelia, the Perl 6 bug

IRC log for #mojo, 2011-01-20

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

All times shown according to UTC.

Time Nick Message
00:42 Trelane left #mojo
00:42 daviddelikat joined #mojo
00:42 tholen42 left #mojo
00:42 perlite left #mojo
00:42 ryan left #mojo
00:42 memowe left #mojo
00:42 Kulag left #mojo
00:42 GeJ left #mojo
00:42 marcus left #mojo
00:42 zakame left #mojo
00:42 trcjr left #mojo
00:42 s0va left #mojo
00:42 jegade left #mojo
00:42 zipkid left #mojo
00:42 garu left #mojo
00:42 daviddelikat left #mojo
00:42 esskar left #mojo
00:42 mikegrb left #mojo
00:42 mateu left #mojo
00:42 al left #mojo
00:42 polvo left #mojo
00:42 MisterHatt left #mojo
00:42 phillipadsmith left #mojo
00:42 chansen left #mojo
00:42 omega left #mojo
00:42 perlrocks left #mojo
00:42 stephan48 left #mojo
00:42 y0j left #mojo
00:42 purl left #mojo
00:42 bc5042 left #mojo
00:42 marty_ left #mojo
00:43 tardisx left #mojo
00:43 su-bzero left #mojo
00:43 daviddelikat1 left #mojo
00:43 ispy_ left #mojo
00:43 crab left #mojo
00:43 chilts left #mojo
00:43 fh left #mojo
00:43 Beirdo_ left #mojo
00:43 diegok left #mojo
00:43 mmcleric_ left #mojo
00:43 josh left #mojo
00:43 xantus[] left #mojo
00:43 bloonix left #mojo
00:43 tempire left #mojo
00:43 wolf__ left #mojo
00:43 zamolxes_ left #mojo
00:43 robinsmidsrod left #mojo
00:43 sherr left #mojo
00:43 Quai left #mojo
00:43 yko left #mojo
00:43 charsbr left #mojo
00:43 punytan left #mojo
00:43 sri left #mojo
00:43 tholen42 joined #mojo
00:43 sri joined #mojo
00:46 daviddelikat joined #mojo
00:46 bc5042 joined #mojo
00:46 su-bzero joined #mojo
00:46 ispy_ joined #mojo
00:46 esskar joined #mojo
00:46 marty_ joined #mojo
00:46 mikegrb joined #mojo
00:46 crab joined #mojo
00:46 tardisx joined #mojo
00:46 purl joined #mojo
00:46 mateu joined #mojo
00:46 al joined #mojo
00:46 polvo joined #mojo
00:46 y0j joined #mojo
00:46 MisterHatt joined #mojo
00:46 phillipadsmith joined #mojo
00:46 chansen joined #mojo
00:46 omega joined #mojo
00:46 perlrocks joined #mojo
00:46 stephan48 joined #mojo
00:46 chilts joined #mojo
00:46 fh joined #mojo
00:46 diegok joined #mojo
00:46 Beirdo_ joined #mojo
00:46 mmcleric_ joined #mojo
00:46 josh joined #mojo
00:46 xantus[] joined #mojo
00:46 bloonix joined #mojo
00:46 tempire joined #mojo
00:46 wolf__ joined #mojo
00:46 zamolxes_ joined #mojo
00:46 sherr joined #mojo
00:46 Quai joined #mojo
00:46 yko joined #mojo
00:46 charsbr joined #mojo
00:46 punytan joined #mojo
00:46 robinsmidsrod joined #mojo
00:46 perlite joined #mojo
00:46 ryan joined #mojo
00:46 Kulag joined #mojo
00:46 GeJ joined #mojo
00:46 marcus joined #mojo
00:46 s0va joined #mojo
00:46 zakame joined #mojo
00:46 trcjr joined #mojo
00:46 jegade joined #mojo
00:46 zipkid joined #mojo
00:46 garu joined #mojo
00:48 memowe joined #mojo
01:18 perlrocks Twitter: "@kraih can we please-please have a way in Mojolicious to get current route name? Or I was bad looking? :)" --skaurus http://twitter.com/skaurus​/status/27897725932544000
01:32 daviddelikat1 joined #mojo
01:36 daviddelikat left #mojo
01:41 ryan left #mojo
01:49 perlrocks Twitter: "Ladies keep your ears open for our Mojolicious Girls Night Out  on February 12th ready to kick off NY Fashion Week. Details soon to come" --bibisalonnyc http://twitter.com/bibisalon​nyc/status/27905428071387136
01:49 jdixon wtf
01:50 josh left #mojo
01:51 josh joined #mojo
01:56 daviddelikat1 anybody like using virtual machines?
01:56 daviddelikat1 I'm putting together a Mojo VM
01:56 daviddelikat1 let me know if you'd like a copy
01:57 tarski joined #mojo
02:15 tempire daviddelikat1: You should make a mojo ami for amazon ec2
02:21 daviddelikat1 I could do that
02:21 jdixon not to be a sour puss, but what's the point of a Mojo VM?
02:22 daviddelikat1 I havent done anything with amazon yet
02:23 daviddelikat1 its easy to manage; has mojo installed; has shell-in-a-box for connecting
02:23 daviddelikat1 its cool
02:23 daviddelikat1 I still have to install git
02:24 daviddelikat1 you can install your best app on it and pass it to a customer to try
02:40 tempire presentingperl could be really useful if one could jump around in the videos.
03:26 GabrielVieira joined #mojo
04:03 tl joined #mojo
04:05 tholen42 left #mojo
04:30 mmcleric_ left #mojo
04:30 mmcleric joined #mojo
04:36 perlrocks Twitter: "Mojolicious> http://mojolicio.us/" (sw) --shot6 http://twitter.com/shot6/status/27947571053858816
05:07 alnewkirk joined #mojo
05:19 daviddelikat1 left #mojo
05:44 kaare joined #mojo
06:02 ispy_ left #mojo
06:08 MojoGuest775 joined #mojo
06:08 MojoGuest775 From: http://www.google.com.br/search?hl=pt-BR&a​mp;rlz=1C1SKPL_enBR415BR415&q=demo+web​socket&aq=f&aqi=&aql=&oq= (1 hits)
06:08 MojoGuest775 hello
06:09 MojoGuest775 alguem do brazil?
06:09 MojoGuest775 left #mojo
06:19 mmcleric_ joined #mojo
06:22 purl left #mojo
06:22 mmcleric left #mojo
06:22 tardisx left #mojo
06:22 marty_ left #mojo
06:22 bc5042 left #mojo
06:26 bc5042 joined #mojo
06:26 marty_ joined #mojo
06:26 tardisx joined #mojo
06:26 purl joined #mojo
06:36 avkhozov joined #mojo
07:15 koban joined #mojo
07:19 Trelane joined #mojo
07:33 Christian joined #mojo
07:33 Christian good morning
07:33 purl Lies!
07:35 RidingDef joined #mojo
07:35 RidingDef left #mojo
07:42 koban morning!
07:42 purl Mornings are great. Every time you experience morning, you're not dead yet!
07:46 jdixon left #mojo
07:59 otaviof left #mojo
08:01 otaviof joined #mojo
08:09 breaker313 joined #mojo
08:15 avkhozov left #mojo
08:31 ysyrota joined #mojo
08:37 tarski left #mojo
08:42 su-bzero_ joined #mojo
08:46 esskar2 joined #mojo
08:47 su-bzero left #mojo
08:48 esskar left #mojo
08:56 koban is there any tests for tag helpers plugin?
08:59 yko koban: lite_app.t
09:00 koban thx, yko
09:08 kaare left #mojo
09:10 kaare joined #mojo
09:11 MojoGuest482 joined #mojo
09:11 MojoGuest482 left #mojo
09:20 koban left #mojo
09:20 koban joined #mojo
09:43 MojoGuest412 joined #mojo
09:44 MojoGuest412 left #mojo
09:44 MojoGuest807 joined #mojo
09:44 MojoGuest807 ;
09:44 MojoGuest807 left #mojo
09:44 MojoGuest417 joined #mojo
09:44 MojoGuest417 From: http://www.reddit.com/r/html​5/comments/bt76k/irc_client/ (40 hits)
09:45 MojoGuest417 left #mojo
09:55 spleenjack joined #mojo
11:08 marcus moo
11:09 marcus MAKE THE LOGO BIGGER
11:10 marcus http://www.youtube.com/watch?v=5AxwaszFbDw
11:27 chansen hehe
11:42 yko BIGGERRRR! YEAH
11:44 Alias joined #mojo
11:55 spleenjack left #mojo
12:02 spleenjack joined #mojo
12:29 fish__ i have an plugin here and a route create with app->routes->bridge->to. i add this route to the config opts of this plugin. can i somehow use redirect_to (url_to) with it?
12:31 yko fish__:  set up name for that route and than use it for url_for to get appropriate url?
12:31 yko but actually i'm not sure what are you talking about :D
12:32 fish__ yeah, problem is: i don't fully understand that content_management plugin memowe wrotes ;)
12:32 yko than you should find memowe and shake him a bit :)
12:33 yko or (better) read docs for a plugin
12:33 fish__ acctually i don't really understand what i do here while setting up this route. it just use the example.. but you might be right and i can just use the get '/foo' => syntax instead if the my $route = app->routes->bridge(..)->to
12:33 yko if they are not enough to understand - read source code, write (extend) docs, send pull request, find memowe and shake him a bit
12:33 fish__ is there a 'get route for($name)' function?
12:34 yko don't think so
12:35 yko i have feeling you are doing something wrong
12:35 fish__ ah, but get/post/any returns the route. nice
12:35 yko sure they do
12:37 yko maybe i dont understand you, i'm ill for 2 weeks, have t37 and my head is just a jug with snot
12:38 fish__ well, it looks like it works and you were right, i did things 'wrong' (because i hacked based on the example without understanding what he's doing there)
12:38 yko :)
12:39 fish__ yko: https://github.com/memowe/mojoli​cious-plugin-content_management <- i setup the admin route like in the example
12:39 fish__ but know i just use: my $admin_route = get '/admin' => sub { .. } => 'admin'
12:39 fish__ s/know/now/
12:40 yko wait.... adin_route should be a bridge
12:40 yko *admin
12:40 yko why do you need it to be 'get' route?
12:40 fish__ no, i don't..
12:41 fish__ and to be honest, i don't really know what a bridge is..
12:42 yko -_-
12:42 yko fish__: http://mojolicio.us/perldoc?Moj​olicious/Guides/Routing#Bridges
12:42 fish__ the only thing i need is something i can feed redirect_to, to have it redirect to the '/admin' bridge
12:42 fish__ yko: yeah, i'm already on it ;)
12:45 jdixon joined #mojo
12:49 daviddelikat joined #mojo
12:53 yko looks like mojolicious-plugin-content_management  is broken with Mojolicious 1.02 (latest)
12:53 fish__ oh, thats sad :/
12:53 fish__ guess i'll take care of that soon
13:05 fish__ something with flash seems to be broken here. i can use it on the one redirect but not on the other. it seems to be always empty after the redirect. but when i reload the page manually, the flash message shows up..
13:11 fish__ oh, okay. so the flash is stored in the session but if i plan to implement a logout function with a 'you are now logged out message' i can't clean the session..
13:14 fish__ uhm, not it seems thats not the problem
13:16 fish__ but its something related to the flash() in combination with session()
13:39 daviddelikat1 joined #mojo
13:43 daviddelikat left #mojo
14:05 mobyu joined #mojo
14:11 kaare left #mojo
14:13 kaare joined #mojo
14:17 kaare left #mojo
14:21 fhelmber_ joined #mojo
14:22 sri moin
14:24 MojoGuest617 joined #mojo
14:35 MojoGuest617 left #mojo
14:39 Alias_ joined #mojo
14:39 mobyu left #mojo
14:41 Alias left #mojo
15:02 sri http://twitpic.com/3rqpb4/full # new marketing banner :)
15:02 sri thoughts?
15:02 purl Mmm... donuts.
15:02 * sri hugs purl
15:02 * purl nibbles sri's elbow
15:03 sri i love the contrast when you scroll down to the feature list
15:04 jdixon sri: honestly, it looks like an internet meme.
15:06 jdixon I expect to hear the guy yelling about "double rainbows" in the background.
15:06 sri lol
15:06 jdixon that would be an awesome egg :)
15:06 mobyu joined #mojo
15:07 kaare joined #mojo
15:10 yko lol
15:10 DaTa http://trpdsaya.tumblr.com/pos​t/2807688789/photo-from-demir
15:25 perlrocks Twitter: "The truth. :) http://t.co/hMIVfwZ #mojolicious #perl #marketing" --kraih http://twitter.com/kraih/status/28110955380473856
15:26 ysyrota left #mojo
15:27 ispy_ joined #mojo
15:27 ispy_ left #mojo
15:29 koban lol
15:29 sri :D
15:32 yko javascript on mojolicio.us need optiomization
15:32 yko i'll try to do something in nearest 2 days
15:33 sri why?
15:33 yko chrome iz ok, but ff eats all cpu on scroll
15:34 sri ff4 is ok here
15:34 yko well, if no i wouln't bother about it :)
15:35 yko *won't
15:35 perlrocks Twitter: "Ha! RT @kraih: The truth: Mojolicious and Perl are made of rainbows and unicorns. :) http://t.co/hMIVfwZ #perl" --phillipadsmith http://twitter.com/phillipads​mith/status/28113403356651521
15:36 yko damn, i wanna be healthy. disease takes 45% of my cpu (which is slow by default)
15:39 * sri installs mcaffee
15:39 sri that wll use the other 55%
15:40 yko :D
15:40 yko that's all because i havent drink vodka for 5 years :/
15:41 yko all that rums, gins, tequila... very harmful drinks
15:43 MojoGuest255 joined #mojo
15:43 MojoGuest255 From: http://www.google.com/url?sa=t&amp;source=web&a​mp;cd=2&amp;sqi=2&amp;ved=0CBkQFjAB&amp;url=htt​p%3A%2F%2Fdev.xantus.org%2F&amp;rct=j&amp;q=htm​l5%20irc%20client&amp;ei=FFg4TfbTG9ew4Abm5Mi4Cg​&amp;usg=AFQjCNGw6nZv0wO42uzUnHhWcD0vcKNULg (1 hits)
15:43 MojoGuest255 left #mojo
15:49 GabrielVieira left #mojo
15:50 GabrielVieira joined #mojo
15:52 marty_ *waves
15:52 marty_ is now known as marty
15:55 marcus BOOZE
15:55 Akron joined #mojo
15:56 marty Kewl Idea on the new banner sri.   My first impressions are good.  I like the colors and "happiness" that is conveyed in the picture.  My only comet is that "the web in a box" gives an idea of what you are looking at, right away.   "web development can be fun again" is more ambiguous. ie, am I looking at a graphics program, etc, etc..  But overall,I really like the colors.
15:57 marty s/comet/comment/
15:58 sri marty: thanks
15:59 Christian can i use regex in templates?
15:59 sri templates are just Perl
15:59 sri you can do everything
15:59 Christian ok
15:59 perlrocks Twitter: "Very cool! :) RT: @ kraih: The truth. :) Http://t.co/hMIVfwZ # mojolicious # perl # marketing" (ru) --sharifulin http://twitter.com/shariful​in/status/28119531805212672
16:01 sri wonder of anyone will notice the true easyer egg in the image
16:01 sri *easter
16:01 su-bzero2 Font of balloon is not great.
16:02 su-bzero2 Trees without branches. And the first question: why unicorn?
16:02 sri su-bzero2: my first question, why start with the negative?
16:04 sri su-bzero2: you say what you like and then what you don't
16:04 su-bzero2 sri: Sorry, rainbow is cool. But no negative, just question. ;)
16:04 sri because mojolicious and perl are made of rainbows and unicorns :)
16:05 su-bzero2 Jufty has a ponny. ;) I remember.
16:07 su-bzero2 Perl's balloon is going out... ;( To other planet. ;)
16:07 su-bzero2 And only with one box. One box for a planet I think. ;))
16:09 sri the unicorn is also a reference to the django pony
16:09 sri http://djangopony.com/
16:09 sri :D
16:09 marcus sri++ # The new header is teh awesome
16:09 sri \o/
16:09 su-bzero2 ;) I see now.
16:09 su-bzero2 Only 4 colors in rainbow... cause of no Model support by default? ;)
16:10 su-bzero2 It's cool that mojolicious are updated in many various aspects - code, documentation, design.
16:10 marcus double rainbows!
16:10 su-bzero2 ;))
16:10 sri thats a theme for 2.0 :D
16:11 perlrocks Twitter: "# Mojolicious sub made of Unicorns Rainbows born! http://t.co/Z8auiFf" (cy) --nordmarcus http://twitter.com/nordmarc​us/status/28122346392911872
16:11 mobyu left #mojo
16:11 sri Oo
16:11 marcus wtf
16:11 marty My first impression of the "trees" was that they are growing up to create a much larger ecosystem.  Just like Mojolicous will do with web development.   And the Unicorn rocks baby!  For me it symbolizes the fact that Perl "is not supposed to exist any more" and therefore Mojolicous is the Unicorn. The big Prize!!  :)
16:11 perlrocks Twitter: "#mojolicious is made of unicorns and rainbows! http://t.co/F5FvSTx" --marcusramberg http://twitter.com/marcusramb​erg/status/28122567076220928
16:12 sri marty: nice explanation!
16:13 perlrocks Twitter: "#mojolicious is made of unicorns, rainbows and awesomesauce! http://mojolicio.us/" --perlninja http://twitter.com/perlninj​a/status/28122878880784384
16:14 sri and nobody has found the easter egg yet ;p
16:15 tempire_ joined #mojo
16:16 tempire_ My liver finds the current mojolicious logo highly disturbing.
16:18 Christian this: <%= $foo =~ s/\r\n|\n|\r/<br>/g %>   print a "<br>" on my site, why it doesn't to the <br> any ideas?
16:19 Christian to=do
16:19 sri why is that an expression?
16:20 sri anyway, the question made no sense
16:21 Christian but it replace \r\n with <br>
16:23 sri perl -e 'my $foo = "lala\n"; print $foo =~ s/\r\n|\n|\r/<br>/g'
16:23 sri thats what you're doing
16:24 koban left #mojo
16:25 Christian ahh ok
16:25 Christian how can i use a regex and print after the regex?
16:25 sri you might want to read the rendering guide again
16:26 sri it has all you need
16:26 Christian ok
16:26 Christian renderiung guide
16:26 yko sri: http://games.adultswim.com/robot-uni​corn-attack-twitchy-online-game.html
16:26 sri http://mojolicio.us/perldoc?​Mojolicious/Guides/Rendering
16:26 zipkid left #mojo
16:27 sri yko: thats old ;p
16:27 yko ye, but theres' unicorn and rainbows and... robots :))
16:28 zipkid joined #mojo
16:29 sri :D
16:31 sri reminds me of that zack snyder movie coming out this year, when i saw giant samurai robots with gatling guns i just knew it will be awesome!
16:37 su-bzero2 http://bit.ly/fGzckQ this cute pet is needed there. ;)
16:40 breaker313 left #mojo
16:41 Christian cu all
16:41 Christian left #mojo
16:43 sri mojolicious has no bugs
16:44 yko sri: thanks for reminding. that movie looks like good mix sin city/final fantasy/Silent Hill/Afro Samurai/(add simething with dragons)
16:46 MojoGuest226 joined #mojo
16:46 MojoGuest226 From: http://www.google.co.uk/url?sa=t&amp;source=​web&amp;cd=6&amp;ved=0CD4QFjAF&amp;url=http%​3A%2F%2Fdev.xantus.org%2F&amp;rct=j&amp;q=we​bsocket%20demo&amp;ei=yWY4TYRci4OFB_uX6fIK&a​mp;usg=AFQjCNGw6nZv0wO42uzUnHhWcD0vcKNULg (1 hits)
16:46 MojoGuest226 left #mojo
17:04 su-bzero2 sri: But bug is very funny. ;) Thank you for your work, by the way.
17:05 su-bzero2 Ladybird wants to go to the box by rainbow.
17:06 Akron left #mojo
17:07 koban joined #mojo
17:25 arthas joined #mojo
17:25 arthas left #mojo
17:26 sri su-bzero2: it could also sit on one of the wires at the bottom
17:26 sri the dot could be a ladybug
17:28 arthas joined #mojo
17:41 perlrocks Twitter: "Love seeing people try to interpret the new #mojolicious banner. :) http://t.co/FsM3OSX #perl" --kraih http://twitter.com/kraih/status/28145194742317056
17:43 su-bzero2 So http://i55.tinypic.com/30w18nt.png
17:43 sri :)
17:44 perlrocks Twitter: "And of course the remixes! :) http://t.co/VSLeb9O http://t.co/KTLQqyV #mojolicious #perl" --kraih http://twitter.com/kraih/status/28145822965174272
17:44 su-bzero2 =)
17:47 perlrocks Twitter: "The new #mojolicious banner is appropriate for the times! #perl :D" --sjoshuan http://twitter.com/sjoshua​n/status/28146699419525122
17:59 koban left #mojo
18:05 MojoGuest1 joined #mojo
18:05 MojoGuest1 From: http://www.google.com.br/search?sourceid​=chrome&amp;ie=UTF-8&amp;q=websocket+irc (1 hits)
18:06 MojoGuest1 left #mojo
18:15 jamesw joined #mojo
18:15 avkhozov joined #mojo
18:22 Christian joined #mojo
18:24 Christian sri, i don't found a solution to print a text from the stash with <br> on my site. that works fine: $self->render(text => 'Hello!<br>you', status => 410);
18:26 Christian but not with stash data
18:28 Christian someone has an idea?
18:28 yko can you describe your problem?
18:29 yko ohmm i get it
18:29 yko you didn't read rendering guide, did you?
18:30 yko Christian: http://mojolicio.us/perldoc?Mojolic​ious/Guides/Rendering#Embedded_Perl  <-- look at third snippet, it should explain much
18:31 su-bzero_ left #mojo
18:32 Christian i did
18:32 perlrocks Twitter: "bug free since 2003... http://i55.tinypic.com/30w18nt.png #mojolicious" --esskar http://twitter.com/esskar/status/28157994487250946
18:32 Christian i found the solution with the status => 410
18:33 yko can you explain what you are trying to achieve
18:34 tempire_ sri: I'm still hoping for the unicode snowman with laser beams shooting out of his eyes, destroying new york
18:34 tempire_ rainbow laser beams, even
18:35 Christian i have a text with newline characters and i want to print the newlines on my site
18:35 tempire_ maybe an army of unicorns
18:35 tempire_ preceding his greatness
18:35 Christian the text is in the stash
18:35 sri tempire_: haha, i've actually started working on a perl 5 raptor :D
18:35 sri with a laser cannon on its head
18:36 tempire_ excellent.  A dinosaur comics crossover is in order, then.
18:36 yko Christian: first, why don't you do data preparation in controller?
18:36 sri the motto would be something like "thought extinct, but fucking badass!"
18:36 Christian thy yko
18:36 Christian thx
18:36 yko solved?
18:36 Christian YES :)
18:36 Christian my mistake was here: %=
18:36 Christian i replaced it by %==
18:37 Christian and it work
18:37 sri yko++ # problem solver
18:37 yko well, you should just read guides. and read it again. AND AGAIN!! :D
18:37 Christian first on perl site i do this: s/\r\n|\n|\r/<br>/g
18:37 Christian i read and read but my head was so full with shit today
18:37 yko i would do s/[\r\n]+/<br>/gs or so
18:39 yko did somebody use attributes?
18:40 yko im looking at it and thinking does it worth to shoot my leg or not
18:40 Christian yko, oh yeah nice solution with /gs
18:42 avkhozov left #mojo
18:43 yko actually /s is unnecessary in this case :\
18:54 spleenjack left #mojo
19:00 chansen czech beer++
19:02 yko czech++ # at all
19:03 yko i don't understand their language but like country
19:03 yko actually, after second mug of czech beer they understand me well
19:05 chansen heh
19:37 marcus forever lazy!
19:38 * marcus still maintains inbox 0, second week in a row
19:42 sri forever lazy!
19:47 arthas left #mojo
20:08 Christian good night to you all
20:09 Christian left #mojo
20:22 otaviof left #mojo
20:41 GitHub182 joined #mojo
20:41 GitHub182 mojo: master Sebastian Riedel * ace9d04 (1 files in 1 dirs): pod fix - http://bit.ly/dF55r2
20:41 GitHub182 left #mojo
20:48 marcus good house episode this week
20:49 sri i would have been happy with a bad episode too atm... so few stuff in tv i like :(
20:51 marcus hehe
20:51 marcus yeah
20:51 marcus not much going on atm
20:52 marcus I watch colbert and daily show tho
20:52 otaviof joined #mojo
20:52 marcus and big bang theory, and sunday comics
20:53 marcus and californication just started again
20:53 sri big bang theory is awesome
20:53 marcus yeah, it's cool
20:53 marcus I liked when they made an app :)
20:53 sri seen the first two californication episodes already when they leaked :S
20:55 omega wewt, big bang theory isn't in itunes store?
20:55 marcus sri: metoo
20:57 yko californication sucks at first two episodes :(
20:57 omega haha, wtf, it's in the canadian store
20:58 * sri is watching ncis and castle atm
21:01 sri i stopped watching smallville after the first season, maybe thats something i could start again too
21:01 sri wtf. 10 seasons already? :O
21:03 omega we're getting old!
21:03 sri :S
21:03 dekimsey joined #mojo
21:04 sri spooks was also really good for a uk show
21:05 marcus watching ep1 of misfits here
21:05 marcus pretty cool.
21:06 sri damn all 9+ ratings on tv.com
21:08 marcus 9.1 on imdb
21:10 sri i demand more scifi and spy shows!
21:17 tempire_ smallville is good up until about season 7, I think.
21:17 tempire_ then it just becomes ridiculous.
21:18 tempire_ burn notice is the best spy show I've ever seen.
21:18 tempire_ human target is excellent for the first season
21:18 sri oh, i wanted to get burn notice, but forgot :)
21:19 tempire_ V just came out with a new episode.  I'm excited to see where they take it
21:19 sri i kinda like V... until someone talks
21:20 sri that show sooooo stupid
21:20 fhelmber_ left #mojo
21:20 tempire_ you think?
21:20 purl No, I'm a bot.
21:20 tempire_ I dig it
21:22 dekimsey Where is an appropriate place to tell Mojolicious about the "url base" (not sure what the appropriate terminology might be) for a given application? I have apache doing rewrites on incoming requests to the cgi app but I'm not sure how to get Mojo to create urls that are appropriate (given the rewriting).
21:23 dekimsey I've dug around in the docs and thought under might be it, but it doesn't seem to be.
21:24 sri you either rewrite CGI parameters in apache properly or use a hook in mojolicious to rewrite $self->req->url
21:25 dekimsey When you say properly, what exactly do you mean?
21:25 sri i'm no apache expert, when i say properly i mean CGI
21:26 sri actually i don't even know if apache can do it
21:27 sri when i have to touch apache it's usually just ScriptAlias
21:28 dekimsey Hrmm, lemme look around. I hadn't considered I might be doing the rewriting poorly. The current rule i have takes request for  (assuming no file on the system is found) my-app/some/path => my-app/app.cgi/some/path.  This comes from an older, CGI::A which used a hook to cleanup the PATH_INFO env.
21:28 dekimsey Unfortunately ScriptAlias is disallowed on our host.
21:28 dekimsey I could probably request it, maybe. But then I'd have to request it... and thats loads of fun.
21:29 omega marcus: american misfits?
21:29 marcus omega: english
21:29 marcus omega: http://www.imdb.com/title/tt1548850/
21:29 sri dekimsey: http://mojolicio.us/perldoc?Mojol​icious/Guides/Cookbook#Rewriting
21:29 sri thats prolly all you need
21:29 marcus YOU SLAG!
21:30 * marcus just bought totalfinder
21:30 marcus tabs in finder is awesome
21:30 sri "Plot Keywords: Sex With Gorilla | Immortality | Time Travel | Female Rapist"
21:30 dekimsey Thanks, I'll try that. And I just found a thread on the mojoicious mailing list entitled "overwrite controller method url_for" in which the op appears to be trying to do what I am
21:30 sri hmm
21:30 dekimsey Thanks sri.
21:31 sri no surprise it has a 9+ rating
21:32 marcus it's pretty great
21:32 sri dekimsey: changing helpers is usually not a good idea, better to rewrite the incoming URL
21:32 sri dekimsey: a recipe in the wiki would be very much appreciated if you get it to work :)
21:33 dekimsey sri: Agreed, I just thought I'd mention that I came across it. I hadn't had any luck in my searches previously. Duly noted!
21:36 * marcus just found a book called 'distributed intelligence in design'.
21:36 marcus it seems super pretentious
21:36 omega bleh, none of the series I wanted are in iTunes, and netflix doesn't work with my current vpn anymore
21:36 omega sucky evening!
21:37 dekimsey sri: Is there any particular section you'd like to see this in?
21:39 sri dekimsey: https://github.com/kraih/m​ojo/wiki/Apache-deployment
21:41 dekimsey Alrighty, thanks again.
21:46 perlrocks Twitter: "#mojolicious is the first cpan module on github to reach 300 followers, congratulations everyone! :) http://t.co/WQ9AaLE #perl" --kraih http://twitter.com/kraih/status/28206817402167297
21:53 perlrocks Twitter: "Awesome: RT @kraih: #mojolicious is the first cpan module on github to reach 300 followers, congratulations! :) http://t.co/WQ9AaLE #perl" --phillipadsmith http://twitter.com/phillipads​mith/status/28208393466421248
22:12 tempire_ hooray!
22:14 kaare left #mojo
22:14 tempire_ sri: what do you think about a 'source' link in the podrenderer?
22:14 sri unsure, dunno about possible security risks
22:15 tempire_ I'm thinking default off, changeable by a constant or something of that sort.
22:16 tempire_ I suppose I could look into subclassing the podrenderer, and making it a separate module
22:16 tempire_ not sure if that would make sense
22:17 sri i generally don't like source links though
22:17 tempire_ I use the search.cpan source link all the time
22:17 sri maybe some ajax thingy that allows syntax highlighting
22:17 tempire_ hmm
22:19 tempire_ actually, it would make sense to be a plugin parameter switch.
22:19 tempire_ I wonder if there's a bookmarklet that does this
22:29 tempire_ neat. http://bit.ly/cTiqs3
22:29 tempire_ Now I just need to convert it to twighlight.
22:32 alnewkirk left #mojo
22:33 alnewkirk joined #mojo
22:34 sri :)
22:34 blaze-x_ joined #mojo
22:35 blaze-x_ I'm trying to run the example http://blog.kraih.com/glue-for-the-web but I'm getting: Can't locate object method "pause" via "Mojolicious::Controller". Changes file mentions pause in 0.99something but I can't find any reference to pause() in Controller.pm
22:36 blaze-x_ is now known as blaze-x
22:36 sri blaze-x: just leave out pause and finish
22:37 blaze-x sri: then it'll complain about ->process()
22:37 sri replace that with ->start
22:38 sri a very unfortunate example, half of it got simplified shortly after the blog post
22:39 blaze-x am now getting  Waiting for delayed response, forgot to render or resume?
22:40 blaze-x but I do call $self->render like in the example
22:40 sri you don't, it's delayed
22:40 sri it's all fine
22:41 sri the warning is there because async is advanced stuff, normal users usually don't touch
22:42 blaze-x I'm mostly into bare metal PSGI, I thought I'd give mojo a shot, just wanted to run an example.
22:42 blaze-x yeah, but I'm not getting anything back as well,
22:42 sri bad example then
22:42 sri start with the official documentation
22:43 blaze-x it's most likely because http://blog.kraih.com/rss.xml is offline (or unresponsive at least)
22:43 sri that example is about as advanced as it gets, worst choice possible for starting
22:44 sri yes it is, still bad example :)
22:44 sri blaze-x: http://mojolicio.us/perldoc?Mojolicious/Lite # that's where you want to be :)
22:45 blaze-x I disagree, I think it's a good point to start, I wanted to see what it would tell me. And I'm quite pleased. no garbage in the log output, nice output on error!, stacktrace if wanted but not in your face... hmmm yes, I'd say I like the error handling side very well!
22:45 sri try "% die;" in a template then :D
22:46 blaze-x I don't like those,
22:46 blaze-x I'm using logicless templates, have been for 5 years now
22:46 sri you can actually look inside the compiled perl from the exception screen
22:46 sri sure, it's worth it for eyecandy though ;)
22:48 blaze-x thing is, I've written (haven't we all) my own duct-tape-for-the-web, I was quite happy to discover it was PSGI compatible and now it seems Mojo+Mustache is almost exactly what I have coded up myself. Glad to see all these idea's are converging. I'm leaving behing custom (mod_perl2) code to migrate to less code in PSGI mode, am now looking in adopting some Mojo :-)
22:49 sri heh, i like mustache too
22:49 blaze-x hmmm, that might sound a bit presumptious, I meant, that my code resembles it, I don't have as much functionality as Mojo ofcourse. I'm a one man show.
22:50 blaze-x but I like the shorthand to longhand mode, I really dislike that in most minimalistic stuff, they are unable to grow
22:50 sri the one thing i miss in mustache is helpers though
22:50 blaze-x anyway, congratulations to everyone who made this happen, nice job!
22:51 sri thanks
22:51 blaze-x helpers?
22:51 purl somebody said helpers was http://search.cpan.org/~mramberg/Catal​yst-Devel-1.10/lib/Catalyst/Helper.pm
22:52 tempire_ well.  if that isn't confusing to newbies, I don't know what is.
22:52 sri http://mojolicio.us/perldoc?Moj​olicious/Plugin/DefaultHelpers
22:52 sri http://mojolicio.us/perldoc?M​ojolicious/Plugin/TagHelpers
22:53 blaze-x a bit much to read right now,
22:53 sri http://mojolicio.us/perldo​c?Mojolicious/Plugin/I18n # this one has its own "l" helper for translations
22:55 blaze-x I use a contentfilter for that, <trans></trans> to .po mapping. it's fast and I can push my js trough it as well
22:56 blaze-x ofcourse, this was back when mod_perl2 was the new/fast kid in town
22:56 blaze-x I might want to do some reading up :)
22:57 sri sure, still looking for the holy grail of template systems myself too :)
22:58 sri the thing about embedded perl templates is that they are a really nice fallback for when you just need power
22:59 blaze-x in my experience the most simple solution: every dir can have a nav.thtml all content will be wrapped in it. Content will be constructed with template system X
23:00 blaze-x I usually split nav.thtml on <!--{INCLUDE_TEMPLATE}--> (nostalgia from Template::Magic), and keep it in memory, so wrapping content is fast
23:01 blaze-x then again, for really high performance, I write the endresult back to disk and use PSGI with X-Sendfile
23:02 blaze-x I then switch template systems as they come and go, also interesting for $Clients mandating template_system_X
23:03 sri https://github.com/kraih/mojolicio​.us/blob/master/mojolicious.pl#L17 # the fixed example btw.
23:04 blaze-x the reason I never use embedded templates is that I'm a javascript programmer as well, and I refuse to mix three languages in one document :) jk
23:04 blaze-x sri: thanks,
23:10 blaze-x well I'm off, thanks for the help sri. Goodnight if you're in CET.
23:10 sri nn :)
23:34 Alias__ joined #mojo

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