Camelia, the Perl 6 bug

IRC log for #mojo, 2011-03-28

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

All times shown according to UTC.

Time Nick Message
01:10 Alias joined #mojo
02:26 mattastrophe left #mojo
02:29 mattastrophe joined #mojo
03:51 twodollarz joined #mojo
04:07 twodolla_ joined #mojo
04:10 twodollarz left #mojo
04:28 zoo-zed joined #mojo
04:29 zoo-zed left #mojo
05:01 twodolla_ left #mojo
05:05 kaare joined #mojo
05:38 kvorg1 joined #mojo
05:38 kvorg left #mojo
05:56 ysyrota joined #mojo
06:00 koban joined #mojo
06:03 Alias left #mojo
06:16 arpadszasz joined #mojo
06:16 kvorg1 left #mojo
06:34 Christian joined #mojo
06:34 Christian morning
06:45 bosphorus joined #mojo
06:50 AmeliePoulain joined #mojo
07:00 yakudzo left #mojo
07:03 twodollarz joined #mojo
07:04 yakudzo joined #mojo
07:05 breaker313 joined #mojo
07:48 perlrocks Twitter: "Finally finished the first version Joker'a - Plugin Manager # mojolicious, you can now plug pee themselves ..." (ru) --s0151 http://twitter.com/s0151/status/52275860090265601
07:50 marcus heh
07:50 marcus morning
07:51 stephan48 hi marcus
08:05 twodolla_ joined #mojo
08:09 twodollarz left #mojo
08:17 cosmincx joined #mojo
08:35 spleenjack joined #mojo
08:53 omega for non-lite apps, the place to add helpers is in startup?
08:59 esskar joined #mojo
09:06 janus left #mojo
09:12 perlrocks Twitter: "# Maresmedev next Friday (April 1). Talk about Mojolicious (http://t.co/TuXJdb7) by Diego Kuperman, of Madrid.pm" (es) --ibelmonte http://twitter.com/ibelmont​e/status/52296903433531392
09:18 bosphoru_ joined #mojo
09:18 bosphorus left #mojo
09:37 twodollarz joined #mojo
09:41 twodolla_ left #mojo
10:06 twodolla_ joined #mojo
10:09 twodollarz left #mojo
10:41 ajgb joined #mojo
10:45 ajgb left #mojo
10:46 fhelmber_ left #mojo
10:55 twodollarz joined #mojo
11:00 twodolla_ left #mojo
11:26 edoardos joined #mojo
11:29 edoardos hi! i have a question about functions in mojolicious::lite, i have some code that check a language parameter and sets it for the templates, i need that for all the requests, what's the best way of implementing that? right now i wrote a sub which is called within each get '/url' like my_func($self)
11:31 edoardos at first i tried $self->my_func() but didn't work, still the relations between app, $self, controller are not all clear to me in Lite
11:32 moritz edoardos: under sub { ...; return 1 };
11:33 stephan48 edoardos: to make it accesssible under $self you need to declare it as helper
11:34 moritz under() has the advantage that it's called automatically
11:34 edoardos moritz: thanks, i was thinking about something in the route system
11:35 edoardos stephan48: from what I understood $self is the controller, which in Lite I suppose is the one and only
11:35 stephan48 yes, and to iomport methods into controller and templates use helper()
11:35 stephan48 app->helper
11:36 edoardos ok, for my case i think under is more appropriate tho
11:49 ysyrota left #mojo
11:50 ysyrota joined #mojo
11:51 twodollarz left #mojo
12:19 metaperl1 joined #mojo
12:23 metaperl left #mojo
12:56 moritz http://www.samuelkaufman.com/blog/​2011/03/26/hello-websimple-plack/ I don't think that can compete with Mojolicious::Lite in terms of terseness and readability :-)
12:59 mattastrophe left #mojo
13:01 stephan48 ye
13:03 kaare left #mojo
13:17 MisterHatt left #mojo
13:33 kaare joined #mojo
14:00 trone joined #mojo
14:08 breaker313 left #mojo
14:09 AmeliePoulain left #mojo
14:10 perlrocks Twitter: "Playing with an idea for a #mojolicious production mode server error page. :) #perl http://t.co/vJiGeu1" --kraih http://twitter.com/kraih/status/52371903918252032
14:12 breaker313 joined #mojo
14:12 sri :)
14:16 * moritz hopes that sri is not too serious :-)
14:17 sri don't like it?
14:18 * moritz is old-fashioned enough to think that error pages don't need images at all
14:22 * sri pokes tempire
14:23 arpadszasz left #mojo
14:25 squeeks joined #mojo
14:27 squeeks So I've created a basic set of boilerplate, is there a way I can get script/my_mojolicious_app to fire up as a daemon without any arg given?
14:27 sri explained in the lite tutorial
14:27 sri very early on
14:28 squeeks so I've gotta use ::lite?
14:28 squeeks right.
14:29 diegok sri: image was deleted from your last tweet? <-- http://yfrog.com/hsul5sp
14:29 sri Oo
14:30 breaker313 left #mojo
14:35 sri new try
14:35 perlrocks Twitter: "Playing with an idea for a #mojolicious production mode server error page. :) #perl  http://t.co/Ad3E5nz" --kraih http://twitter.com/kraih/status/52378313745899520
14:39 sri squeeks: no you don't
14:39 purl Oh yes I do
14:40 sri squeeks: you can simply apply the lite recipe to normal apps
14:40 squeeks The bot has spoken.
14:42 metaperl joined #mojo
14:45 metaperl1 left #mojo
14:46 perlrocks Twitter: "Love it! RT @kraih: Playing with an idea for a #mojolicious production mode server error page. :) #perl http://t.co/vJiGeu1" --kevinold http://twitter.com/kevinol​d/status/52381099199971328
14:50 diegok sri: nice, but rainbows can't be very wrong :-p
14:57 koban left #mojo
15:00 Christian nice evening to you all
15:02 Christian left #mojo
15:04 MisterHatt joined #mojo
15:10 bosphoru_ left #mojo
15:13 perlrocks Twitter: "Amazing 500 page :) RT: @kraih: Playing with an idea for a #mojolicious production mode server error page. :) #perl  http://t.co/Ad3E5nz" --sharifulin http://twitter.com/shariful​in/status/52387828075724800
15:17 ok22 left #mojo
15:28 ok22 joined #mojo
16:01 sri http://textaligncentaur.com # lol
16:05 ysyrota left #mojo
16:18 sri looks like everyone is in favor of the new production mode server error page :)
16:19 moritz except me
16:19 sri except moritz
16:21 stephan48 sri: will it be default or a plugin? it might scare users away...
16:22 sri why would it scare users away?
16:23 squeeks A dinosaur spewing a rainbow is not the most professional look.
16:24 sri what is professional look?
16:24 sri is the fail whale unprofessional?
16:25 squeeks The fail whale is already tied to a specific identity. Mojo is being used on websites that all have many identities.
16:25 sri if you have your own identity you would surely use your own 500 template
16:26 squeeks I don't know about you, but on the things I've worked with, figuring out the look of error pages tends to be further down the ladder of importance.
16:26 sri that's your problem
16:26 squeeks well, that attitude certainly won't win people over.
16:26 sri a web framework is not meant to solve your organizational problems
16:27 squeeks No but enforcing something, you are attempting to solve them for me.
16:27 sri ?
16:27 sri that phrase made no sense at all
16:31 sri basically you're saying http://images.plurk.com/3225881_cb​62ab5324e7b534ee8f4c846d68d360.jpg is more professional than http://t3n.de/news/wp-content/up​loads/2010/02/twitter_whale.png
16:31 squeeks Stop comparing apples and oranges.
16:32 squeeks Perhaps "professional" was a bad choice in wording.
16:32 sri it's not apples and oranges
16:32 squeeks It is, unless mojolicious was built to only make websites that all look the same.
16:32 sri you make no sense at all
16:33 sri the failraptor is meant as a default
16:33 sri people can just overload it with their own ones
16:33 sri nobody is forcing anything on anyone
16:34 squeeks Hear me out a second or kick me out.
16:36 sri i'm annoyed because you're not presenting any arguments
16:36 squeeks If you don't let me put my words together I'll just leave.
16:36 squeeks left #mojo
16:36 sri ...
16:37 stephan48 he dont want to talk
16:37 DaTa m(
16:37 sri yea
16:38 stephan48 sri: and i only think it looks a bit strange .... a rainbow puking raptor ;)
16:39 sri i've not seen anyone ever complain about a funny 500 page
16:39 sri it might just get you more publicity
16:39 sri and that is if you're sticking to the framework default
16:40 sri could also add a mojolicious button at the bottom to distance it from the actual website
16:44 stephan48 btw did someone already implement a oauth/openid provider with mojo?
16:45 sri think so, but nobody published a plugin yet
16:45 stephan48 i know theres a oauth2 client
16:46 stephan48 then i will try to implement one
16:46 stephan48 i need one for SSO stuff
17:06 spleenjack left #mojo
17:21 perlrocks Twitter: "Big question, should this become the new default production mode server error page of #mojolicious? :) #perl http://t.co/yj9Mmqz" --kraih http://twitter.com/kraih/status/52419949116923905
17:43 arpadszasz joined #mojo
17:45 Akron joined #mojo
17:50 perlrocks Twitter: "www/p5-Mojolicious - 1.15: - Update to 1.15  Changes:        http://search.cpan.org/dist/Mojolicious/Changes PR:... http://bit.ly/hDdzGK" --freshports_org http://twitter.com/freshports​_org/status/52427366714195968
17:51 Akron stephan48: SSO stuff? I would like an OpenID provider plugin (2.0)!
17:54 Akron Oh - on twitpic there's a misinterpretation of the unicorn raptor. :( But everybody seems to be fine with rainbow puke. Although ... whenever I see vomiting dinosaurs their eyes are closed - so ... it's a little bit non realistic.
17:55 sri Akron: actually eyes closed is unrealistic
17:56 Akron You just want the viewer suggest you pay attention to his failed attempt for injecting sql code, right? Like these photographs of staring people in public toilets ...
18:01 sri gonna turn the discussion into a blog post :)
18:02 sri the opposition seems much smaller but much more vocal
18:02 sri astounding that some people seem really upset about it
18:03 sri like this one from twitter... "@kraih that's gay."
18:05 sri ooooooh
18:05 sri dancer committer...lol
18:05 sri now i get it
18:05 sri dancer people are upset
18:05 sri muhahahaha
18:08 stephan48 Akron: ye a openid provider for auth and then a oauth2 thing next to it for authz
18:08 stephan48 theres some spec by which combined the two
18:09 Akron stephan48: OpenID Connect is close to OpenID over OAuth.
18:09 stephan48 its more or less both at same time
18:09 stephan48 you get access token on openid login
18:09 Akron sri: The raptor should look more humbled. It's his fault ... well or humbled puke.
18:10 stephan48 paint a user next to it and make the raptor say "its his fault!"
18:10 Akron stephan48: Does OpenID Attribute Exchange a similar thing?
18:10 stephan48 idk
18:18 Akron stephan48: I want to play with ostatus stuff in the next weeks - so an oauth2.0 server plugin would be really nice.
18:20 stephen joined #mojo
18:22 mattastrophe joined #mojo
18:23 mattastrophe left #mojo
18:23 mattastrophe joined #mojo
18:32 marty left #mojo
18:41 Akron left #mojo
18:46 perlrocks Twitter: "The #mojolicious failraptor. :) http://t.co/p4lae0y #perl" --kraih http://twitter.com/kraih/status/52441534464917504
18:52 * sri pokes marcus and tempire
18:55 marty joined #mojo
19:00 perlrocks Twitter: "#mojolicious #faliraptor is cool, i like it :) http://blog.kraih.com/failraptor" --oroce http://twitter.com/oroce/status/52444877635600384
19:05 GitHub128 joined #mojo
19:05 GitHub128 mojo: master Sebastian Riedel * 45572de (1 files in 1 dirs): cleanup - http://bit.ly/gNjZui
19:05 GitHub128 left #mojo
19:07 GitHub190 joined #mojo
19:07 GitHub190 mojo: master Sebastian Riedel * 095b6c8 (1 files in 1 dirs): more cleanup - http://bit.ly/ffP3mw
19:07 GitHub190 left #mojo
19:18 arpadszasz left #mojo
19:21 kvorg joined #mojo
19:22 kvorg *nudges purl.
19:29 kvorg purl: failraptor is cool
19:29 purl ...but failraptor is meant as a default...
19:29 kvorg failraptor?
19:29 purl i think failraptor is meant as a default
19:30 kvorg even purl got over that one, strange what people are prepared to argue about
19:30 kvorg (on a hypnotoad server, I would expect a puking hypnotoad, but we can have everything)
19:32 marcus http://tong.ijenko.net/201​1/03/mongodb-php-1-perl-0/
19:33 marcus I like your failraptor, sri. Except... You said the raptor represents perl5'
19:33 marcus So maybe it's not great to connect it with fail too :)
19:34 garu I like the failraptor, but if it's -Ofun then we could enable it only if the app was started via "shagadelic" :)
19:35 garu I wonder if rubyists show a broken ruby gem in a server error
19:36 * chansen who said p5 was dead? I have been away ~10 days and have more than 600 rss/atom post to backlog
19:37 sri https://github.com/sinatra/sinatra/bl​ob/master/lib/sinatra/images/500.png
19:37 garu heh
19:37 kvorg my god, people, it's the default. it's fun. put your own pony in it if it is your application. :-P
19:38 kvorg sorry sri, I have been away for a while and should have kept my mouth shut.
19:38 marcus i dont mind it being the default.
19:38 kvorg hello everyone, btw ... it took me a week to get up to date with all the great things that happened in the meanwhile
19:38 garu me neither, I actually like it
19:39 marcus If your app is so damn serious, dont let it fail :p
19:39 sri then you better make a comment on the blog!
19:39 * kvorg agrees with marcus.
19:39 sri so far the most vocal people are against it
19:41 marcus There's no comments on the blog.
19:41 sri right, i've got a gazillion on twitter though
19:45 sri the spilled drink of sinatra is surely unprofessional too, no?
19:46 sri rails goes with plain text though
19:46 garu the empty stage for a 404 is awesome
19:46 kvorg aaah, i tried to be vocal, and on the blog. there are no other comments, so this is done, no?
19:46 * sri barely hears kvorg
19:47 * kvorg tries to be heard out of the alligator pit, but fails to be able to open the trapdoor.
19:47 kvorg purl: help me?
19:47 purl wish i knew, kvorg
19:49 marcus Connection reset by beer.
19:49 purl well, connection reset by beer is when the other end of a socket discovers Australian for HARD REBOOT.
19:49 chansen heh
19:51 marcus Btw, if you read books: kingkiller triology is frickin awesome.
19:51 sri i'm too young for books!
19:52 moritz ...except that only the first two books are written yet :-)
19:52 chansen sri: seriously, a raptor spewing a rainbow, what did you expect?
19:55 sri chansen: more discussion and less upset people
19:59 marcus Moritz: true :) i am reading the second one now.
20:00 marcus Sri: what did morano say?
20:00 moritz marcus: ha, I'm already through it :-)
20:00 chansen sri: perhaps your proposal should have been less intrusive/provoking?
20:01 marcus Yeah. Make it a camel choking on cock,
20:01 marcus Err, wait...
20:02 chansen lol
20:07 sri marcus: he called the raptor "gay"
20:07 marcus Sri: i was unable to find his twitter account.
20:08 sri @hyperdavid
20:08 marcus Sri: but yeah, it is pretty cheery.
20:08 marcus :)
20:09 chansen sri: if you are targeting "professional" programmers or CTO's you need to rethink your marketing strategy ;)
20:10 sri since when are default exception templates marketing material?
20:10 sri aside from the developer ones shown in demonstrations
20:11 sri we are talking about a template that only shows up when a fatal exception happens in live code and the app has no 500 page
20:11 marcus I often see the default cattlelust one
20:11 marcus Of course, it is pain to override it.
20:12 chansen sri: you are the person identified with Mojo, your blog posts reflect interpretation
20:12 sri i'm gonna sort feedback based on who is actually using mojolicious ;)
20:13 elb0w MOJORICIOUS!
20:13 elb0w should have a Japanese version imo
20:13 perlrocks Twitter: "repeat repeat repeat .... Friday is Maresme Developers Meetup. Tech talk about # mojolicious by Diego Kuperman (@ Freekey)" (es) --ibelmonte http://twitter.com/ibelmont​e/status/52463432577974272
20:17 perlrocks Twitter: "So far it looks like people actually using #mojolicious are in favor of the failraptor. :) #perl" --kraih http://twitter.com/kraih/status/52464420659531777
20:18 chansen lol
20:26 perlrocks Twitter: "@kraih The failraptor is great. Maybe the tail of the Velociraptor is bit longer and larger at the end... It's so #perl style. #mojolicious" --adulau http://twitter.com/adulau/status/52466539030528000
20:26 sri wait, what?
20:26 purl yeah, seriously
20:33 Akron joined #mojo
20:34 GitHub138 joined #mojo
20:34 GitHub138 mojo: master Sebastian Riedel * 80d8201 (1 files in 1 dirs): added recipe - http://bit.ly/gnQCqm
20:34 GitHub138 left #mojo
20:36 kvorg sri: would you find a patch adding --cert and --key options to mojo get command acceptable?
20:36 kvorg i find I can not live without mojo web scraping anymore, and many of the pages I want to scrap are certificate protected.
20:40 kvorg perhaps I could manage to add that to the g method of ojo, too. but I doubt it anyone would let me add one more env variable. :-P
20:41 sri yea, that seems unlikely
20:41 sri --cert and --key would be ok i guess
20:48 stephan48 Akron: i will try to implement a openid provider tomorrow
20:48 stephan48 whats ostatus?
20:49 perlrocks Twitter: "Mojolicious Web Framework - Join the Perl revolution!: Http://mojolicio.us/" (ja) --junysb3 http://twitter.com/junysb3​/status/52472357054447616
20:50 Akron stephan48: An open protocol stack by suggested statusNet (http://ostatus.org/) which is currently becoming a main building brick of the open social web. All statusnet instances are using it, so does GNU Social, Diaspora is implementing it, BuddyCloud, Google Buzz partly ...
20:51 Akron -> suggested by / building block
20:51 stephan48 k
20:52 Akron It uses PortableContacts and so needs OAuth.
20:52 stephen left #mojo
20:52 metaperl1 joined #mojo
20:53 stephan48 k
20:53 Akron But sri says I first have to learn github ... ;)
20:53 stephen joined #mojo
20:56 prank joined #mojo
20:57 metaperl left #mojo
21:01 kaare left #mojo
21:32 Akron left #mojo
21:52 GitHub131 joined #mojo
21:52 GitHub131 mojo: master Sebastian Riedel * 5e5e897 (3 files in 2 dirs): added failraptor - http://bit.ly/hueTQY
21:52 GitHub131 left #mojo
21:55 perlrocks Twitter: "The failraptor has been added to #mojolicious, and here's a recipe for hiding him. ;) http://t.co/3sMnEmg #perl" --kraih http://twitter.com/kraih/status/52488915990478850
21:55 sri now looking for 404 ideas! :)
22:13 cosmincx left #mojo
22:14 cosmincx joined #mojo
22:26 metaperl joined #mojo
22:30 metaperl1 left #mojo
22:31 metaperl1 joined #mojo
22:34 metaperl left #mojo
22:38 kvorg passing cert and key to ua is trivial, but finding a useful way to do testing proves a bit more daunting.
22:39 kvorg sri: can you please point me to where the cmd-line interface is tested? i feel silly, but don't seem to be able to find it.
22:39 sri it is not tested i'm afraid
22:39 sri none of the commands are
22:42 kvorg ahh, so i only write tests for ojo, and trust that the TLS functionality is tested by the ua_tls tests?
22:45 sri write tests for ojo?
23:40 metaperl joined #mojo
23:42 metaperl1 left #mojo
23:44 Alias joined #mojo

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