Camelia, the Perl 6 bug

IRC log for #mojo, 2010-12-29

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

All times shown according to UTC.

Time Nick Message
00:06 daviddelikat joined #mojo
00:07 alnewkirk joined #mojo
00:15 dotan_ left #mojo
00:23 seb_ left #mojo
00:33 marty left #mojo
00:42 marty joined #mojo
00:47 perlrocks joined #mojo
00:47 perlrocks Twitter: "#mojolicious rocks!" --perlrocks http://twitter.com/perlrocks​/status/1.99174976165642e+16
00:48 sri yay, new perlrocks works
00:50 DaTa 1.99e+16? :)
00:51 perlrocks left #mojo
00:53 perlrocks joined #mojo
00:54 sri https://github.com/kraih/mojoli​cio.us/blob/master/perlrocks.pl
00:54 sri also on github now
00:54 sri since it's a little more readable
00:57 tempire_ excellent
00:58 sri without the --nick argument it will just stream matching tweets to STDOUT
01:07 perlrocks Twitter: "Rewrote the #mojolicious twitter/irc bot today, good non-blocking client example with google translate. :) http://bit.ly/dRx97o #perl" --kraih http://twitter.com/kraih/s​tatus/1.99223318581166e+16
01:13 perlrocks left #mojo
01:13 perlrocks joined #mojo
01:25 perlrocks left #mojo
01:25 perlrocks joined #mojo
01:29 Alias joined #mojo
01:32 sri awesome...i want to test the bot and the twitter api has hiccups again :(
01:41 perlrocks left #mojo
01:41 perlrocks joined #mojo
01:44 perlrocks left #mojo
01:44 perlrocks joined #mojo
01:45 sri haha
01:45 sri "perlrocks.pl --pattern bieber" is funny
01:49 seb_ joined #mojo
02:01 MojoGuest384 joined #mojo
02:01 MojoGuest384 From: http://news.ycombinator.com/item?id=1277067 (127 hits)
02:02 MojoGuest384 left #mojo
02:36 jamesw left #mojo
02:37 Alias_ joined #mojo
02:52 ispy_ joined #mojo
03:25 arpadszasz joined #mojo
03:40 perlrocks left #mojo
03:40 perlrocks joined #mojo
03:41 perlrocks left #mojo
03:42 perlrocks joined #mojo
03:53 daviddelikat1 joined #mojo
03:56 daviddelikat left #mojo
03:58 yakudzo if I dont want to use under block in my application for some routes how I do this ?
04:00 crab yakudzo: what do you mean? just don't put them "under" something...
04:03 tholen42 joined #mojo
04:05 tl left #mojo
04:18 adhoc joined #mojo
04:34 yakudzo crab, thanks (:
04:37 avkhozov joined #mojo
04:43 avkhozov left #mojo
04:43 avkhozov joined #mojo
05:19 ispy_ left #mojo
05:26 ispy_ joined #mojo
05:34 naquad left #mojo
05:58 kaare joined #mojo
06:08 arpadszasz left #mojo
06:15 ispy_ left #mojo
06:31 koban joined #mojo
06:35 su-bzero[A] is now known as su-bzero
06:35 * sri yawns
06:37 dotan_ joined #mojo
06:38 ispy_ joined #mojo
06:40 dotan_ left #mojo
06:41 sri interesting, the MongoDB module has a quite good low level api
06:53 sri you can actually handle connections yourself and use the xs module for packet building
07:11 yko sri, don't remove !tweet please  :)
07:11 sri yko: already too late ;p
07:11 yko oh... damn. that's all beed drinked yesterday
07:11 sri a new !tweet bot would be more than welcome though :)
07:11 yko i think i lost my cell phone :(
07:12 sri :S
07:14 adhoc left #mojo
07:24 ispy_ left #mojo
07:26 crab hi yko.
07:26 crab dammit, i had a question about one of your plugins, but i've forgotten what it was.
07:38 fhelmberger joined #mojo
07:39 fhelmber_ joined #mojo
07:39 fhelmberger left #mojo
07:42 ispy_ joined #mojo
07:47 yko lol
07:47 * yko found his cell phone
07:47 yko just dropped in the car when left it at parking
07:47 yko the world is mine! such a good wether today
07:49 yko http://tigan.md/card.aspx?id=ad24​e07b-07ad-4831-978e-9db3e00f177b
07:53 kvorg left #mojo
07:55 koban yko: cool :)
08:00 yko ye, i really hope they make feature-length from that pieces
08:21 snearch joined #mojo
08:23 jamesw joined #mojo
08:28 AmeliePoulain joined #mojo
08:33 AmeliePoulain morning
08:48 alnewkirk left #mojo
08:54 perlrocks Twitter: "I was Mojolicious 1.0. Should I use the Nde new building projects after a long time since New Year." (ja) --mutsura http://twitter.com/mutsura/​status/2.00399886535967e+16
08:56 arthas joined #mojo
09:04 ysyrota joined #mojo
09:06 ispy_ left #mojo
09:10 yko i can't get why hypnotoad server needs 'clean start' -- that 'exec' at #71 after modifying ENV
09:31 GianlucaCasati joined #mojo
09:40 szasenko_ joined #mojo
09:40 szasenko_ is now known as sza
09:44 marcus YOU WILL RESPECT MAH AUTHORITY
09:44 ispy_ joined #mojo
09:45 zamolxes marcus++ # http://www.slideshare.net/marcu​sramberg/mojolicious-a-new-hope is nice
09:45 marcus zamolxes: thanks.
09:46 MojoGuest176 joined #mojo
09:46 MojoGuest176 From: http://www.google.pl/search?sourceid​=chrome&ie=UTF-8&q=websocete (1 hits)
09:48 MojoGuest176 asdasd
09:48 MojoGuest176 asdf
09:48 MojoGuest176 asdf
09:48 MojoGuest176 asdf
09:48 MojoGuest176 TESTING
09:48 yko Hi there
09:49 MojoGuest133 joined #mojo
09:49 MojoGuest176 ok, test sucessfull ;)
09:49 MojoGuest133 /name kvorg
09:49 MojoGuest133 to kvorg or not to kvorg
09:49 MojoGuest133 hmmm
09:49 MojoGuest176 left #mojo
09:49 AmeliePoulain I have copypaste from the perldoc: http://pastebin.com/4fBHRLDg When I was open a page in the browser, page is loading ond nothing else. Apache2 log cut: http://pastebin.com/fZvudRC4
09:50 MojoGuest133 sri: there is a type in the last phrase of Guides:Rendering - Since most template systems don't support temlates* -> templates (i read teammates the first time)
09:51 yakudzo AmeliePoulain, it is only half of copypaste
09:52 AmeliePoulain Hmm...It's from http://mojolicio.us/perldoc?​Mojolicious/Lite#Route_Names
09:52 AmeliePoulain What I need for properly working script?
09:53 yakudzo your copypaste starts only from the middle  } => 'bar'; and you should add #!/usr/bin/env perl
09:53 yakudzo use Mojolicious::Lite; at the begining
09:54 AmeliePoulain I was added that :)
09:54 AmeliePoulain Hmm, wrong pastebin :(
09:56 AmeliePoulain http://pastebin.com/fNUaDnbN
09:57 yko lol
09:57 yko you forgot app->start in the end
09:57 su-bzero Don't start, just enjoy! ;)
09:58 AmeliePoulain =)))
09:58 AmeliePoulain Seems like mistake in the tutorial;
09:59 AmeliePoulain 10x
10:16 Quai joined #mojo
10:17 spleenjack joined #mojo
10:17 spleenjack left #mojo
10:21 maez good day. how can i set up expiration of session? I use $self->session(..) to store session in single cookie and default expiration is 1 hour. How can i change it? Thanks
10:22 su-bzero maez: $self->session->default_expiration(100000)
10:22 yko maez: i think it can help you http://mojolicio.us/perldoc/?Mojol​icious/Sessions#default_expiration
10:22 su-bzero For example.
10:23 su-bzero O. Yes, now we could provide links to docs. It's prefered.
10:24 maez su-bzero, this code raising "Can't call method "default_expiration" on unblessed reference" exception
10:25 yko i think it should be used as app->sessions->default_expiration, but not sure though
10:25 maez is it for Mojo-Lite? I use non-lite app
10:25 yko it's your part to investigate, i only give your right direction :)
10:25 yko $c->app->sessions in controller or $self->sessions in startup.
10:26 spleenjack joined #mojo
10:26 yko but you may want to walk through documentation, i didn't modify exp time for sessions yet, so i may be wrong
10:27 maez yko, thanks, last one works fine
10:43 otaviof joined #mojo
10:50 otaviof left #mojo
10:53 perlrocks Twitter: "Said Jifty easily if multithreading, then use it to it! Dancer is also the feeling of incomplete, although the same feel and simplicity http://plurk.com/p/9usr6t Mojolicious" (zh-TW) --johnteee http://twitter.com/johnteee/​status/2.00698628271063e+16
11:02 marcus wow. I have no idea what that meas
11:02 marcus means
11:03 avkhozov left #mojo
11:04 crab which is par for the course.
11:05 snearch left #mojo
11:11 perlrocks Twitter: "@hurdlecrew Also, mojolicious just went 1.0. Writing web applications has never been easier! http://blog.kraih.com/mojolicious-10-released" --oylenshpeegul http://twitter.com/oylenshpeeg​ul/status/2.00743349156659e+16
11:11 avkhozov joined #mojo
11:12 GianlucaCasati hi all, i just joined the google mojolicious group, i'm not a web framework guru, nut it is really exciting to start learning from a so promising framework since its 1.0 version
11:12 GianlucaCasati is now known as fibo
11:17 AmeliePoulain I have a trouble. When I'm adding "% layout 'main';" into a template, i've got the "Not found" page, but I have layouts/main.html.ep
11:31 DaTa sri: the twitter links are broken
11:34 yko hypnotoad++
11:46 MojoGuest290 joined #mojo
11:46 MojoGuest290 From: http://www.google.co.uk/url?sa=t&source=​web&cd=5&ved=0CDoQFjAE&url=http%​3A%2F%2Fdev.xantus.org%2F&rct=j&q=we​bsocket%20demo&ei=Lx0bTd3HMsSwhQeVkrG3Dg​&usg=AFQjCNGw6nZv0wO42uzUnHhWcD0vcKNULg (1 hits)
11:48 MojoGuest290 left #mojo
11:48 MojoGuest541 joined #mojo
11:48 MojoGuest541 From: http://www.google.co.uk/url?sa=t&source=​web&cd=5&ved=0CDoQFjAE&url=http%​3A%2F%2Fdev.xantus.org%2F&rct=j&q=we​bsocket%20demo&ei=Lx0bTd3HMsSwhQeVkrG3Dg​&usg=AFQjCNGw6nZv0wO42uzUnHhWcD0vcKNULg (2 hits)
11:48 MojoGuest541 left #mojo
11:55 avkhozov left #mojo
12:09 adhoc joined #mojo
12:12 perlrocks Twitter: "Ru_perl community in LiveJournal: Mojolicious, about navigation http://ff.im/w0gJ5" (ru) --planetperlru http://twitter.com/planetperlr​u/status/2.00897439119442e+16
12:33 yko Oh!! <% %> can be multiline!
12:44 sza always wanted to multiline them
12:45 yko sza: seems that they are just multiline
12:46 yko i don't like that idea but % doesn't have =%> option
12:46 avkhozov joined #mojo
12:47 yko i have to update mojo.vim then :\
13:02 AmeliePoulain Where I can get mojo.vim? :)
13:02 forwardever joined #mojo
13:05 yko https://github.com/yko/mojo.vim
13:06 yko or VimBall at http://www.vim.org/scripts but i'd recomend to use github version - recently updated
13:06 su-bzero yko: Multiline? Better later than never! ;)
13:06 su-bzero vim as ball.
13:07 su-bzero <%
13:07 su-bzero code
13:07 su-bzero code
13:07 su-bzero %>
13:08 yko su, stop it. use pastebin for 3+ lines! :()
13:08 su-bzero yko: I pasted only 2 lines of code.
13:08 su-bzero Other 2 lines were "mojo stuff" ;))
13:08 su-bzero Don't blame me. I could freeeeze you.
13:09 * su-bzero is getting sub-zeroz power!
13:09 su-bzero was kicked by yko: oops...
13:11 su-bzero joined #mojo
13:11 su-bzero ;))
13:14 su-bzero Doooh-doooh, yko, in New Year you will be freezed by cold wine. ;)
13:14 MojoGuest347 joined #mojo
13:14 MojoGuest347 From: http://www.google.com/url?sa=t&amp;source=web&​amp;cd=6&amp;sqi=2&amp;ved=0CDwQFjAF&amp;url=h​ttp%3A%2F%2Fdev.xantus.org%2F&amp;rct=j&amp;q=​websockets%20demo&amp;ei=xzMbTdz6GIP_8AbEkazDD​g&amp;usg=AFQjCNGw6nZv0wO42uzUnHhWcD0vcKNULg (1 hits)
13:14 MojoGuest347 left #mojo
13:16 nuba left #mojo
13:22 daviddelikat joined #mojo
13:26 Alias_ left #mojo
13:27 daviddelikat1 left #mojo
13:36 sza left #mojo
13:48 ok22 joined #mojo
13:51 ok22 left #mojo
14:02 perlrocks Twitter: "Come Toruyan Mojolicious 1.0" (ja) --alt_george http://twitter.com/alt_george​/status/2.01174316409242e+16
14:15 AmeliePoulain Which license applies to the Mojo[licious]?
14:15 AmeliePoulain *what
14:21 kthakore AmeliePoulain: We wear hot pants license
14:22 kthakore AmeliePoulain: nah I am kidding I dunno but ....
14:52 perlrocks Twitter: "added some documentation to # mojolicious resourceful routes plugin - http://bit.ly/ehdHhr" (de) --fwever http://twitter.com/fwever/s​tatus/2.01299793165763e+16
15:06 forwardever sri: installed mojolicious on freebsd yesterday via cpan module, README.pod is put directly into the site_perl/5.12.2 folder
15:07 ispy_ left #mojo
15:10 ysyrota left #mojo
15:13 MojoGuest133 left #mojo
15:20 perlrocks Twitter: "# Mojolicious wonderful!" (mk) --Verolomka http://twitter.com/Verolomka​/status/2.01370449194557e+16
15:21 fibo left #mojo
15:34 AmeliePoulain left #mojo
15:36 perlrocks Twitter: "perl's web framework, dancer and mojolicious with which it? Hesitation. . . ." (zh-CN) --imbafrog http://twitter.com/imbafrog​/status/2.0141222806954e+16
16:06 sri yko: you're mixing up session and sessions
16:06 sri session expiration is also mentioned in the growing guide
16:06 yko you must be right, ill check it now
16:13 daviddelikat left #mojo
16:18 yko sri: question was how to set default expiration time of session cookies. Growing explains only how to kill a single session
16:18 yko Anyway, thats not a point to fight at. Better tell a few words about hypnotoad
16:19 yko why it needs exec self one more time?
16:19 sri ?
16:19 yko https://github.com/kraih/mojo/blob/ma​ster/lib/Mojo/Server/Hypnotoad.pm#L71
16:19 yko here
16:20 sri like the comment says, for a clean start
16:20 yko ahm... why first toad is dirty? what 'clean' means at that point?
16:21 sri clean environment
16:21 sri no ARGV, no descriptors
16:22 yko hm, ok thanks :)
16:22 sri it is a test to ensure your app doesn't do anything wonky that breaks hypnotoad
16:24 yko hm. one day ill get it, nevermind :)
16:25 yko oh, u are so big, so absolutely huge, that we are simply stunned...
16:26 koban left #mojo
16:33 daviddelikat joined #mojo
16:37 perlrocks Twitter: "Emil Perhinschi (emilper): #Mojolicious 1.0 http://bit.ly/h5urEc" --perl_twitch http://twitter.com/perl_twitc​h/status/2.01565437144678e+16
16:42 DaTa sri: http://data.rbfh.de/p/2010-12-299Zsg7yxZ
16:49 daviddelikat left #mojo
17:03 sri DaTa: thanks
17:04 sri yko: i'm not fat :(
17:04 * yko giggles
17:04 yko you can't prove it!
17:05 sri look at the drawn picture of me!
17:05 daviddelikat joined #mojo
17:07 perlrocks left #mojo
17:07 perlrocks joined #mojo
17:07 sri think i remember reading that the twitter api changed
17:07 sri 64bit tweet ids or so
17:08 sri someone tweet! :)
17:08 otaviof joined #mojo
17:12 seb_ left #mojo
17:14 sri marcus: still a mongodb fan?
17:14 sri it is kind of intriguing, not the best at anything, but good enough at everything
17:15 y0j left #mojo
17:16 sherr left #mojo
17:16 arthas left #mojo
17:18 y0j joined #mojo
17:30 seb_ joined #mojo
17:40 sherr joined #mojo
17:40 y0j left #mojo
17:44 spleenjack left #mojo
17:51 robinsmidsrod left #mojo
17:51 avkhozov left #mojo
17:52 avkhozov joined #mojo
18:09 fhelmber_ left #mojo
18:17 tempire_ Ok, it's done.  I've decided to move to spaces.
18:19 tempire_ !tweet Mojolicious in Japan: easily than you think.
18:25 arpadszasz joined #mojo
18:26 trcjr joined #mojo
18:27 sri no more !tweet
18:27 koban joined #mojo
18:31 robinsmidsrod joined #mojo
18:35 tempire_ !tweet no more tweeting
18:36 MojoGuest749 joined #mojo
18:36 MojoGuest749 From: http://www.google.com/search?q=websocket+demo&​amp;ie=utf-8&amp;oe=utf-8&amp;aq=t&amp;rls=org​.mozilla:en-GB:official&amp;client=firefox-a (1 hits)
18:37 MojoGuest749 dsafdf
18:38 MojoGuest749 left #mojo
18:44 MojoGuest980 joined #mojo
18:44 MojoGuest980 From: http://www.google.com/search?sourceid=ch​rome&amp;ie=UTF-8&amp;q=websockets+demo (1 hits)
18:44 MojoGuest980 left #mojo
18:53 forwardever left #mojo
19:01 spleenjack joined #mojo
19:13 MojoGuest840 joined #mojo
19:13 MojoGuest840 From: http://community.livejourn​al.com/ru_perl/382225.html (2 hits)
19:14 MojoGuest183 joined #mojo
19:14 MojoGuest183 From: http://news.ycombinator.com/item?id=1277067 (128 hits)
19:14 MojoGuest183 /me wavess
19:14 MojoGuest183 left #mojo
19:14 MojoGuest319 joined #mojo
19:14 MojoGuest319 left #mojo
19:23 den joined #mojo
19:24 snearch joined #mojo
19:24 und3f sri, i have question about Mojo::Client returned errors
19:25 und3f sri, if Client failed because of timeout it returns 'Interrupted, maybe a timeout?' and prints 'Wed Dec 29 21:24:51 2010 error Mojo::Client:763 [22559]: Connect timeout.' to output
19:26 und3f sri, how can i get error that client printed?
19:29 sri don't know
19:30 und3f sri, why Client returns strange error, not specific one?
19:30 sri ^^^
19:30 und3f you wrote that
19:30 und3f i guess you should know
19:31 sri you are throwing some random error message at me without any context
19:31 sri we've been over this so many times
19:31 und3f left #mojo
19:31 sri i'm tired of asking you the same questions over and over
19:32 sri ...
19:33 sri why do people assume i can read minds? Oo
19:34 sri i've even written a FAQ entry about bug reporting dedicated to und3f :S
19:37 perlrocks Twitter: "Playing with #mongodb, thinking about an optimized #mojolicious plugin for it. :) #perl" --kraih http://twitter.com/kraih/status/20201686752563200
19:38 und3f joined #mojo
19:39 und3f sri, problem is in overwriting error message in case of timeout
19:40 und3f and the specific error message is overwriting by `strage' message 'Interrupted, maybe a timeout?'
19:41 sri that sounds a lot more helpful, can you turn it into a test case?
19:41 sri is there possibly a wrong test case already?
19:42 und3f sri, client.t line 114
19:43 und3f sri, also that test case would be locale specific
19:43 sri thats not a connect timeout test
19:43 und3f i can write new
19:43 und3f what about localization?
19:44 und3f just drop LANG to "C" ?
19:44 und3f LC_LANG
19:45 * sri doesn't follow
19:45 ispy_ joined #mojo
19:45 und3f sri, errors returned from IO::Socket are localized
19:46 sri how does that relate to the problem?
19:46 und3f if we want to test right value of error we need to setup english locale
19:46 sri that error is generated by ioloop i think
19:48 su-bzero is now known as su-bzero[A]
19:48 sri factually "Interrupted, maybe a timeout?" is right too
19:48 sri i'm not convinced yet there is really a bug
19:52 und3f sri, you it is normal?
19:53 und3f sri, it returns 2 different error strings. One of them is from IO::Socket and one is from your fix in Mojo::Client
19:53 und3f sri, perl -MMojo::Client -e 'Mojo::Client->new->get("http://google.com:31", sub{my($client,$tx)=@_; print $tx->error, "\n"; $client->ioloop->stop})->start'
19:54 sri thats not true, there is no IO::Socket error
19:55 und3f possible not IO::Socket
19:55 und3f but that a specific error string
19:56 und3f Why  do you return some question in error string if we have error string that describes error?
19:56 perlrocks Twitter: "Mojolicious - Web framework for Perl http://www.findbestopensour​ce.com/product/mojolicious # opensource" (id) --bestopensource http://twitter.com/bestopenso​urce/status/20206600279040000
19:57 sri i don't know, it needs to be investigated
19:57 sri factually it's not wrong though
19:58 und3f sri, i want a right error string because i got such a nice reports http://check-host.net/check-report/123d
19:59 sri feel free to investigate
20:00 und3f sri, will you apply path? I know how to fix
20:00 und3f or you just want to leave it so anyway?
20:00 sri i don't have enough information to say
20:02 perlrocks Twitter: "Submitted Mojolicious 1.0, MVC web-framework in the language Perl http://opennet.ru/29156/" (ru) --opennetru http://twitter.com/opennetr​u/status/20208038271000576
20:02 nuclon joined #mojo
20:02 und3f sri, why not to setup $tx->is_done in sub _error?
20:02 sri und3f: context!
20:02 und3f that will fix it
20:02 perlrocks Twitter: "Mojolicious - Web framework for Perl http://www.findbestopensour​ce.com/product/mojolicious # opensource http://bit.ly/hBK7Z1" (id) --FOSSwiki http://twitter.com/FOSSwik​i/status/20208169401720833
20:03 sri und3f: you keep throwing random chunks of information at me
20:03 sri und3f: please stop it
20:03 sri collect information, turn them into one big report and send it to me
20:04 sri i really don't understand you
20:05 sri the language barrier might be too big
20:05 sri if anyone else here understands him, please feel free to step in
20:08 MojoGuest771 joined #mojo
20:10 sri http://search.cpan.org/~zzz/Nginx​-Engine-0.01/lib/Nginx/Engine.pm # interesting
20:12 MojoGuest771 left #mojo
20:12 nuclon he is trying to say that Mojo::Client replaces error message got from ioloop with message "Interrupted, maybe a timeout"
20:12 nuclon und3f: am I right?
20:12 und3f nuclon, he knows it
20:13 sri ok, thats about as far as i got
20:14 MojoGuest840 left #mojo
20:14 nuclon and und3f prefers to get original error message instead of this meaningless one
20:16 nuclon I think it is reasonable request
20:17 sri "[20:59] sri: feel free to investigate"
20:18 sri after that it became gibberish to me
20:18 nuclon nice
20:19 sri i think he might have found something, but couldn't understand
20:19 perlite_ joined #mojo
20:20 und3f sri, i gave you oneliner that shows problem
20:20 nuclon perl -MMojo::Client -e 'Mojo::Client->new->get("http://google.com:31", sub{my($client,$tx)=@_; print $tx->error, "\n"; $client->ioloop->stop})->start'
20:21 nuclon it shows two different error strings
20:21 sri which are factually similar
20:21 und3f sri, no. Second one is unspecific question.
20:21 nuclon is it possible to get exact error messages, without any "maybe?"
20:22 und3f sri, and first one is a confirmation
20:22 sri nuclon: i already said that i don't know without investigating
20:23 perlite left #mojo
20:23 nuclon okay. could you accept this one-liner as test-case for the problem?
20:23 perlite_ is now known as perlite
20:24 und3f sri, what about a little bit democracy? Can you add something like userecho.com to mojolicious site to allow people to vote from resolving problems?
20:25 sri wtf?
20:25 und3f *to vote for resolving
20:25 sri und3f: nobody gets to decide on what i spend my free time
20:26 und3f its best time for fork :P
20:26 * sri doesn't like at all where this discussion is heading
20:26 sri und3f: discussion closed
20:26 und3f yeah
20:27 sri as a final note, you migth want to read section 14 of the artistic license
20:29 den * a bit funny "discussion" :)
20:29 sri happens every now and then, usually by mail :)
20:29 sri "you released free software, therefore you have to give us free commercial grade support too!"
20:30 nuclon nobody expects for commercial-level support.
20:31 sri nuclon: please let the discussion go now
20:33 nuclon undef found a problem, gave a one-liner to reproduce the problem. don't you agree that it's enough for saying: "okay, that's a problem, I admit it. I'll work on it as soon as I will want to. or wait for somebody who will commit a patch", that's all. and that's last thing in the discussion, I promise :)
20:35 marty Hey sri.  I dig mojolicous baby.  Do you think it we be prudent to insert a quote or two from Austin powers into my source code (along with a Simpsons quote) or would that just make things to Randy baby!
20:37 sri nuclon: "[21:24] und3f: sri, what about a little bit democracy? Can you add something like userecho.com to mojolicious site to allow people to vote from resolving problems?"
20:38 sri nuclon: "[21:26] und3f: its best time for fork"
20:38 sri nuclon: thats absolutely inappropriate
20:38 und3f was kicked by sri: und3f
20:39 marty \o/
20:40 den is now known as verrens
20:42 tempire_ personality conflicts are hard, even without language barriers.
20:44 sri cnn just ran a story about chinese becoming the majority language on the internet
20:45 sri freaky
20:45 tempire_ I've been spoiled, being a native english speaker
20:45 tempire_ I often wonder what its like for non-latin languages on the internets
20:45 marty * is still struggling with english
20:46 marty Maybe esperanto?  :)
20:46 sri haha
20:47 tempire_ The hardest part is the nuances, and what they mean.  That's the whole problem with the earlier conversion.  Two people trying to communicate using their 2nd languages will never be easy.
20:47 nuclon mi namo est An :)
20:51 sri hello (esperanto)
20:53 sri wait
20:53 sri i think the translator just sucks :S
20:55 koban left #mojo
20:56 sri lets switch to klingon
20:56 y0j joined #mojo
20:57 sri qavan!
21:02 snearch left #mojo
21:03 GitHub114 joined #mojo
21:03 GitHub114 mojo: master Sebastian Riedel * 52f2884 (2 files in 2 dirs): added test and fixed typo - http://bit.ly/gjyyvb
21:03 GitHub114 left #mojo
21:03 diegok sri: would it be hard to add the verb to the routes command exit?
21:04 sri diegok: not sure what you mean
21:04 diegok sri: never used the command for real, but now I'm making a presentation for barcelona.pm :p
21:04 diegok sri: hm... I mean, the http verb: post, get, delete, put...
21:05 sri aaah
21:05 sri you mean "./myapp.pl routes"?
21:05 diegok sri: right :)
21:05 sri hardest part will be formatting the output
21:06 sri routes might be nested with multiple verbs
21:06 sri get,post /lalala -> get /yada...
21:07 sri you can build really complex trees
21:08 diegok sri: hm, understand... I'll look at code after finishing the slides. It just come to my mind it could be useful :)
21:09 * sri would love to have it show more information :)
21:09 diegok sri: great :)
21:13 verrens left #mojo
21:28 perlrocks Twitter: "Submitted Mojolicious 1.0, MVC web-framework in the language Perl http://ow.ly/1aEunh" (ru) --positivelab http://twitter.com/positivel​ab/status/20229758679785472
21:33 sri hmm, wonder why mongodb doesn't use protocol buffers
21:49 perlrocks Twitter: "@kraih optimized #mongodb plugin for #mojolicious? yes please! :D" --perlninja http://twitter.com/perlninj​a/status/20234898472173569
21:50 perlrocks Twitter: "Perl MVC web framework Mojolicious - http://icio.us/Adcz2q" --stepanov http://twitter.com/stepano​v/status/20235247908036608
21:59 arpadszasz left #mojo
22:09 nuclon left #mojo
22:34 spleenjack left #mojo
23:10 tempire_ I have a plugin for form/query param authentication
23:10 tempire_ params_auth: http://pastie.org/1416013
23:10 tempire_ thoughts?
23:11 tempire_ I'm thinking it would be hella useful for folks.  Looking for comments before posting to cpan.
23:16 sri it handles undef and stuff right?
23:17 sri and multiple values?
23:18 tempire_ Multiple values, yes, just passes them to the callback.  The parameters to params_auth are just whatever param names you want to pass.
23:18 sri at first sight it actually doesn't look that useful, but those little things add up
23:19 sri oh, just passes as in arrayref?
23:19 tempire_ It's really simple, but it helps when you're simplifying, say, 5 different types of auth.
23:19 sri ah ok, maybe it needs more context :)
23:21 tempire_ This may make it more obvious: http://pastie.org/1416044
23:21 tempire_ The callback just verifies against a list of param values (the params named in the params_auth call)
23:24 tempire_ Hopefully this isn't too wall-of-textish for you:
23:24 tempire_ http://pastie.org/1416046
23:25 sri hmm, it could be smarter about multiple values i guess
23:25 sri like run the callback multiple times with all combinations :)
23:26 sri or just use the first
23:26 sri (considering it is auth and you'd rather not make bruteforce attacks easier)
23:27 tempire_ ah, you mean multiple values for each parameter.
23:27 tempire_ ok, that makes sense.
23:27 sri ye foo=bar&foo=baz
23:27 kaare left #mojo
23:56 tempire_ As I recall, mojolicious does not recognize client ssl certs.
23:56 tempire_ correct?
23:56 sri yes
23:57 kvorg joined #mojo
23:58 sri someone wanted to work on it, but prolly got scared by our test requirements
23:58 tempire_ I'm going to start.
23:59 tempire_ Would appreciate a direction, though.  It seems IO::Socket::SSL is initialized in IOLoop.
23:59 sri yes, ioloop would need support first

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