Camelia, the Perl 6 bug

IRC log for #mojo, 2010-09-05

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

All times shown according to UTC.

Time Nick Message
02:35 janus left #mojo
03:13 janus joined #mojo
03:21 awnstudio_ joined #mojo
03:36 awnstudio_ left #mojo
03:37 sri stephan48: with the daemon it's possible Mojo::IOLoop->singleton->timer(...)
03:37 [1]awnstudio joined #mojo
03:39 sri stephan48: looks like you broke the route regex, don't do that
03:47 [1]awnstudio is now known as awnstudio_
04:04 tl joined #mojo
04:05 awnstudio_ left #mojo
04:05 tholen42 left #mojo
04:06 [1]awnstudio joined #mojo
04:07 [1]awnstudio is now known as awnstudio_
04:16 awnstudio_ left #mojo
04:17 [1]awnstudio joined #mojo
04:17 [1]awnstudio is now known as awnstudio_
05:40 jawnsy left #mojo
05:42 cognominal left #mojo
05:43 cognominal joined #mojo
05:48 jawnsy joined #mojo
06:00 cognominal left #mojo
06:00 cognominal joined #mojo
07:27 [1]awnstudio joined #mojo
07:30 awnstudio_ left #mojo
07:46 marcus moin
08:03 sri moin
08:05 spleenjack joined #mojo
08:18 ka2u left #mojo
08:18 ka2u joined #mojo
08:24 stephan48 sri: dont do that like its a known bug or dont do it like i fucked up my route definition?
08:24 sri stephan48: second :)
08:25 sri known bugs are usually fixed within hours
08:25 stephan48 because i am using the definition the generate mojolicious app gave me
08:25 sri ok, please tell me exactly what happens
08:26 stephan48 k
08:26 stephan48 i will do as soon as my pc is useable ;)
08:26 sri whats the exact request path?
08:27 stephan48 it should be /icons(test)(\Qtest\E)(
08:27 stephan48 i discovered this while testing ap2 proxy exceptions ;)
08:28 stephan48 and typed a ( instead of / behind it and the rest is just some more testing :)
08:28 stephan48 the result is that you get a blank page
08:28 stephan48 and only a exception in log
08:29 sri thats the request path or the route?
08:29 stephan48 the uri i entered
08:29 sri where?
08:29 sri route or request path?
08:31 stephan48 $r->route('/:controller/:actio​n/:id')->to('example#welcome', id => 1);
08:31 stephan48 the route as defined in start method
08:31 sri ok, so it is the request path
08:31 stephan48 the uri i entered in my browser (i think its what you called request path)  is what i posted above
08:34 sri which mojo version?
08:35 stephan48 some version from git...
08:36 stephan48 i just need to find out how to get the revision ;)
08:38 stephan48 0.999927 <- says the mojo pm file
08:39 sri ok, old version
08:39 sri i can't replicate your problem
08:39 stephan48 update?
08:41 stephan48 0.999930. <- i try now ;)
08:42 stephan48 http://abc123.pastebin.com/J7xPPa8k
08:42 stephan48 i get now
08:42 stephan48 same config as before
08:43 stephan48 + a proxy 502 ;)
08:43 GitHub175 joined #mojo
08:43 GitHub175 mojo: master Sebastian Riedel * c516c3a (2 files in 2 dirs): added test - http://bit.ly/bnf6MX
08:43 GitHub175 left #mojo
08:44 sri stephan48: test case passes
08:44 stephan48 so its non reproduceable?
08:45 sri wait
08:46 sri it's just the renderer code
08:56 stephan48 how you mean?
09:02 GitHub22 joined #mojo
09:02 GitHub22 mojo: master Sebastian Riedel * 6cd15de (3 files in 3 dirs): fixed a small renderer bug - http://bit.ly/a8vFIE
09:02 GitHub22 left #mojo
09:02 sri stephan48: i mean it's harmless and fixed now :)
09:15 Htbaa joined #mojo
09:17 spleenjack left #mojo
10:36 stephan48 sri: which is the minimal perl version mojo runs on?
10:41 janus 5.8 iirc
10:41 stephan48 hi janus :)
10:42 janus howdy :)
10:48 DaTa 5.8.7 says the Makefile.PL
11:12 al left #mojo
11:16 al joined #mojo
13:28 sri the social aspect is really missing from starcraft 2, winning doesn't mean much in these anonymous leagues
13:30 sri well, at leats no chance for me to get addicted :)
13:37 janus EVERYBODY LOVES HYPNOTOAD!
13:39 sri ALL GLORY TO THE HYPNOTOAD!
13:40 stephan48 does mojo support template(part) caching?
13:41 sri not by itself
13:41 stephan48 i have here my project for the playlist deamon and playlist dont change so fast so i want to cache the stuff instead of having it run each pageview
13:41 sri adding a cache helper would be just a few lines of code though
13:41 sri templates are cached in memory anyway
13:42 stephan48 ye
13:42 sri so real caching might not benefit you much
13:42 stephan48 but recursive templates is not so nice :)
13:42 sri recursive templates?
13:42 stephan48 playlists support children and these children support children by theirself....
13:43 DaTa hmm... the ctype example in the synopsis doesnt work, i guess it's not ready yet :)
13:43 stephan48 so i do recursion in the template
13:43 sri DaTa: sadly not
13:43 sri a cache helper would be like the form tag helper
13:46 sri <%= cache begin %><%= time for 1 .. 10000 %><% end %>
13:46 sri something like that
13:46 stephan48 and if some heuris
13:47 stephan48 stic determinates that a cache entry exists it will be returned instead of the code in the statement?
13:47 sri right
13:48 sri actually, i guess we could support in memory caching
13:48 stephan48 i would make it dynamic ;)
13:48 sri ?
13:48 stephan48 so users can choose their own
13:48 stephan48 because i have a memcache running on all my machines
13:48 sri everything in mojolicious is dynamic
13:49 sri we would only provide a default cache helper
13:49 sri people can just load plugins that redefine it with a memcached one or so
13:51 sri but it would be a useful example
13:51 sri thats the whole point
13:55 stephan48 where can i find the "begin" helper?
13:55 sri thats not a helper
13:55 sri it's part of the Mojo::Template syntax
13:56 sri <%= cache {%><%= time for 1 .. 10000 %><%}%>
13:56 sri that was the old syntax
14:13 stephan48 deamon prefork? i could use timer there to or(2 prozesses)
14:15 sri yes
14:15 stephan48 :)
14:34 GitHub93 joined #mojo
14:34 GitHub93 mojo: master Sebastian Riedel * 15b09f9 (3 files in 3 dirs): added experimental cache helper to Mojolicious::Plugin::DefaultHelpers - http://bit.ly/aPvNvC
14:34 GitHub93 left #mojo
14:34 sri :)
14:40 perlrocks joined #mojo
14:40 perlrocks Twitter: "Added experimental cache helper to #mojolicious, really fun now that we have cool template blocks. :) http://bit.ly/9eD6Hg #perl" --kraih http://twitter.com/kraih/status/23063345343
14:43 sri using a caller hack for now to generate a cache key
14:43 vti i don't like that when you smile after a commit :D
14:43 sri :D
14:44 vti what's new in mojo world? :)
14:44 sri *mad scientist laugh*
14:45 sri vti: depends how long you were afk ;p
14:45 vti i am still away, flying back to home tomorrow
14:46 sri slacker!
14:46 vti ye... baltic sea ;p
14:46 vti or nothern i guess
14:53 vti more and more topics about  mojolicious, i like that :)
14:53 sri ALL GLORY TO THE HYPNOTOAD!
14:53 vti WHEN????
14:54 sri ALWAYS!
14:55 vti WHEN ./HYPNOTOAD start? ;p
14:55 * sri hides
14:55 sri *crickets*
15:17 perlrocks Twitter: "We are OPENing in EAST Brainderd Tomorrow, LABOR DAY! Come Celebrate *Flavor Day* with a mojolicious burrito! And... http://fb.me/vPS9Fs9m" --Mojo_Burrito http://twitter.com/Mojo_Burrito/status/23066228782
15:17 sri wtf
15:19 vti Mojo_Burrito :D
15:20 sri the worst of all...now i'm hungry :(
15:20 vti beer
15:21 sri good texmex food is soooo rare in germany :(
15:23 sri instead you get kebab on every corner
15:23 vti ye :D
15:34 spleenjack joined #mojo
16:07 MojoGuest853 joined #mojo
16:07 MojoGuest853 From: http://www.google.de/url?sa=t&amp;source=web​&amp;cd=1&amp;ved=0CCIQFjAA&amp;url=http%3A%​2F%2Fdev.xantus.org%2F&amp;rct=j&amp;q=webso​ckets%20demo&amp;ei=ScCDTICVDozIswbP2fHmCA&a​mp;usg=AFQjCNGw6nZv0wO42uzUnHhWcD0vcKNULg (1 hits)
16:13 MojoGuest853 left #mojo
16:44 sri http://www.supertweet.net/ # lol...twitter failed so badly with oauth only
18:15 chansen joined #mojo
18:25 jawnsy left #mojo
18:31 jawnsy joined #mojo
18:32 [1]awnstudio is now known as awnstudio_
19:50 Htbaa left #mojo
19:58 GabrielVieira left #mojo
20:11 tempire sri: in Mojo::DOM->_parse_xml, what's the purpose of passing a reference to a reference of an array to _text, _doctype, _pi, etc?
20:11 tempire as opposed to just an array ref
20:14 sri tempire: don't remember
20:36 spleenjack left #mojo
21:24 GabrielVieira joined #mojo
21:34 GitHub54 joined #mojo
21:34 GitHub54 mojo: master Sebastian Riedel * bfeac64 (1 files in 1 dirs): added caching recipe - http://bit.ly/ctuNE1
21:34 GitHub54 left #mojo
22:06 al left #mojo
22:07 al joined #mojo
22:19 ltriant joined #mojo
22:41 nrh joined #mojo
23:04 nrh hmm
23:04 nrh i think i have an interesting mojolicious problem.
23:05 nrh on osx, I can't get it to render a text string longer than 81475 bytes.  >= 81476 it sends a correct content-length header, then sends 81475 bytes, then closes the socket.

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