Camelia, the Perl 6 bug

IRC log for #mojo, 2011-03-29

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

All times shown according to UTC.

Time Nick Message
00:01 ana-im is now known as alnewkirk
01:10 tempire dear goodness
01:11 tempire sri: squeeks didn't have any footing for his irritation
01:11 tempire squeeks 0, sri 1
01:11 tempire "professional" doesn't mean anything.
01:12 tempire if people think it's not professional, they have to define professional first
01:12 tempire they probably mean 'corporate', by which I mean uptight and stuffy.
01:13 tempire and honestly, who cares.  I work in a bureaucratic environment.  I'm rising the ladder quickly, because I don't pay attention to social norms, but rather I develop relationships with real people.
01:13 tempire Suddenly, the corporate thing goes out the window.
01:14 tempire The fail whale is acceptable because twitter is popular.  Once something is popular, the naysayers shut up.
01:15 tempire so, rainbow raptor, +1
01:16 tempire Perl + Mojolicious IS rainbows & unicorns.
01:16 tempire because we say so.
01:16 tempire BOOSH
01:16 tempire VIVA LA REVOLUCION!
01:16 tempire ALL GLORY TO THE HYPNOTOAD
01:17 tempire CAN I GET AN AMEN!?
01:20 sri \o/
01:20 sri AMEN!
01:20 * tempire steps off his soap box
01:23 tempire All that being said, maybe you should include an explicit thing in the FAQ saying how to change the default error page to something more 'corporate'
01:24 tempire That way you could just provide that url if someone says something.
01:24 tempire Which will probably make moritz happy
01:24 tempire I'd guess.
01:25 tempire oh, nevermind.  You already did that.
01:25 sri :)
01:26 tempire sri++ for appeasing the masses
01:27 tempire moritz: You should make a plugin called Mojolicious::Plugin::CorporateError or something.  There's probably quite a few people who would appreciate that.
01:27 sri it could disable all the easter eggs
01:27 sri like delete shagadelic
01:28 tempire And you'll be a plugin author, which will make you magical in sri's eyes
01:28 * sri can confirm that
01:28 tempire That's a decent idea
01:28 tempire Mojolicious::Plugin::Corporate
01:29 tempire or squeeks, you're welcome to join the crew.  We welcome your corporateness into the fold.
01:29 tempire if you're listening
01:31 * sri waves at the camera
01:36 stephen left #mojo
01:46 stephen joined #mojo
01:47 stephen left #mojo
02:01 twodollarz joined #mojo
02:09 dku joined #mojo
02:13 dku Trying to install MojoX::Session, no go during tests: http://pastie.org/1729224
02:18 kmx left #mojo
02:22 ok22 left #mojo
02:24 dku well, actually, i'd rather use the built-in sessions, but is there an authentication plugin for that?
02:34 dku nvm, this works :) http://search.cpan.org/~kraih/Mojoliciou​s-1.15/lib/Mojolicious/Lite.pm#Sessions
04:06 yakudzo can I send some content data in delete request with Mojo::Client ?
04:28 twodollarz left #mojo
04:56 Alias Corporates wouldn't care that the easter eggs are disabled, since they are still there
04:56 Alias :)
05:23 koban joined #mojo
05:26 ysyrota joined #mojo
05:31 kaare joined #mojo
05:41 marcus Moin
05:42 marcus Is there an easy way to generate the default development templates?
05:43 marcus I find the not found error msg annoying.
05:53 kmx joined #mojo
06:01 kvorg left #mojo
06:02 tardisx failraptor++
06:09 perlrocks Twitter: "# Mojolicious tried to add a translation. / Mojolicious:: Guides:: Cookbook http://htn.to/3D55W7" (ja) --kits_ http://twitter.com/kits_/status/52613220678115328
06:36 twodollarz joined #mojo
06:39 Christian joined #mojo
06:39 Christian morning
06:40 marcus hey Christian
06:40 purl Christian is the guy working for him
06:48 Christian hi marcus
06:54 marcus sri: Use of uninitialized value $lines in split at /Users/marcus/perl5/perlbrew/perls/perl-5.1​0.1/lib/site_perl/5.10.1/Mojo/Exception.pm line 109. <- I get a lot of those now
06:54 marcus should I be afraid? :)
07:00 moritz marcus: I get them too, but so far couldn't write a test case
07:00 moritz marcus: if you can, please do
07:01 twodolla_ joined #mojo
07:03 breaker313 joined #mojo
07:04 twodollarz left #mojo
07:12 perlrocks Twitter: "Mojolicious:: Guides:: Cookbook - GitHub http://bit.ly/fQWuVF" (ja) --wPerlnews http://twitter.com/wPerlnew​s/status/52629145762537472
07:26 bosphorus joined #mojo
07:40 yakudzo how can I send delete req with some xml data in it ??? $tx = $self->client->delete($url, {'Content-Type' => 'application/xml'}, $self->dom->to_xml);
07:40 yakudzo ?
07:43 ok22 joined #mojo
07:59 twodollarz joined #mojo
08:03 twodolla_ left #mojo
08:09 twodolla_ joined #mojo
08:12 Alias_ joined #mojo
08:13 twodollarz left #mojo
08:25 AmeliePoulain joined #mojo
08:29 omega all the content tests of mojo-1.15 fail for me on one machine, each page the tests requests give 404
08:30 omega huh, but only the first time I ran them
08:32 moritz server not warm yet? :-)
08:32 marcus :D
08:37 omega can I generate an app.psgi easily?
08:39 omega aha
08:39 marcus omega: you can just plackup myapp
08:39 omega no, not really
08:39 marcus it acts as app.psgi
08:39 marcus http://search.cpan.org/~kraih/Mojolicious-1.15/​lib/Mojolicious/Guides/Cookbook.pod#PSGI/Plack
08:39 omega but the docs claim the script acts like one
08:39 marcus that's what the cookbook says
08:39 omega I'm not starting with plackup
08:39 marcus omega: it has worked for me with plackup
08:39 marcus what are you using?
08:39 omega Plack::Builder
08:40 marcus not sure then
08:45 omega lol, wtf, had same problem with MojoX::Renderer::TT
08:46 marcus test suite issue?
08:46 marcus sick
08:47 omega mhm
09:00 twodollarz joined #mojo
09:02 twodoll__ joined #mojo
09:04 twodolla_ left #mojo
09:07 twodollarz left #mojo
09:27 spleenjack joined #mojo
09:53 twodollarz joined #mojo
09:57 twodoll__ left #mojo
10:02 perlrocks Twitter: "DBRD or GlusterFS lsyncd + rsyncd or like or Mojolicious + Xslate + Teng ..." (ja) --oyomeni_onihime http://twitter.com/oyomeni_oni​hime/status/52671861166845952
10:12 twodolla_ joined #mojo
10:16 twodollarz left #mojo
10:27 twodollarz joined #mojo
10:32 perlrocks Twitter: "@ @ Eloici vvhirm owls hey remember, Friday is maresmedev #. Come fiera a perl :-) Mojolicious to talk" (ca) --ibelmonte http://twitter.com/ibelmont​e/status/52679454857756672
10:32 twodolla_ left #mojo
11:35 twodollarz left #mojo
12:14 baton8 left #mojo
12:15 baton8 joined #mojo
12:46 cosmincx left #mojo
12:47 meraxes left #mojo
12:50 cosmincx joined #mojo
13:14 sri omega: https://github.com/kraih/mojo/wiki​/Mojolicious-and-Plack-Middleware # it just works
13:29 mattastrophe left #mojo
13:31 meraxes joined #mojo
13:31 Debolaz Hmm, I'm experiencing something odd here.. This Mojo application will only serve a picture from /public/imdb/foo.jpg if the url to this picture is //public/imdb/foo.jpg (As opposed to /public/imdb/foo.jpg). Without the extra /, it tries to interpret it as a controller action which it doesn't find and returns 404..
13:33 Debolaz Does this ring any obvious bells?
13:34 moritz did you install an   under '/'  or so?
13:34 Debolaz moritz: Could you rephrase that question?
13:35 sri routes can't affect the static dispatcher
13:35 bosphorus left #mojo
13:35 bosphorus joined #mojo
13:35 moritz ok
13:35 moritz Debolaz: no, forget it
13:35 Debolaz Other files under /public is served happily though.
13:36 sri makes no sense
13:36 moritz Debolaz: uhm, no need for the /public/ in the URL
13:36 sri oh, moritz is right
13:36 moritz should just be /imdb/foo.jpg in the URL
13:36 sri actually /public/ in URL is even very wrong
13:37 Debolaz moritz: D'oh - I kind of knew that in theory, but for some reason it slipped out of my mind now.
13:37 moritz unless you have a public/public/imdb/foo.jpg in your $MOJO_HOE :-)
13:37 Debolaz Everything works now. :-)
13:37 moritz *HOME
13:37 Debolaz Strange that //public/imdb/foo.jpg worked though.
13:42 bosphorus left #mojo
13:42 bosphorus joined #mojo
13:51 oleber joined #mojo
14:00 koban left #mojo
14:07 cosmincx left #mojo
14:22 cosmincx joined #mojo
14:25 ok22 left #mojo
14:37 ok22 joined #mojo
15:04 AmeliePoulain left #mojo
15:06 bosphoru_ joined #mojo
15:06 bosphorus left #mojo
15:08 Christian nice eveneing to you all
15:14 Christian left #mojo
15:21 oleber Is there a way of doing a exception handler (subroutine) in Mojolicios, that isn't the exception.html.ep
15:22 oleber ???
15:22 oleber thanks
15:37 bosphorus joined #mojo
15:37 bosphoru_ left #mojo
15:40 Akron joined #mojo
15:41 oleber Is there a way of doing a exception handler (subroutine) in Mojolicios, that isn't the exception.html.ep ???
15:47 kaare left #mojo
15:50 Akron left #mojo
15:52 GitHub61 joined #mojo
15:52 GitHub61 mojo: master Sebastian Riedel * 4b847d5 (2 files in 2 dirs): moved all bundled static files to lib/Mojolicious/public - http://bit.ly/fsOyKW
15:52 GitHub61 left #mojo
15:52 sri please test, i don't know if there are side effects
15:52 TheCritic joined #mojo
15:52 breaker313 left #mojo
15:53 moritz will do when I get home
15:53 TheCritic script/payment_capture_pro daemon --listen http://*:3001/ but it always listens on port 3000 anyway...
15:53 TheCritic am I missing something?
15:55 sri TheCritic: that /at the end looks wrong
15:56 TheCritic ok
15:56 TheCritic that worked
15:57 TheCritic crazy that a valid ending marker would throw it off so badly... it even printed that it was listening on 3001, but it didnt actually listen there... thanks for hte pointer
16:01 GitHub60 joined #mojo
16:01 GitHub60 mojo: master Sebastian Riedel * f07ad88 (1 files in 1 dirs): die on invalid listen value - http://bit.ly/ie3x57
16:01 GitHub60 left #mojo
16:01 sri TheCritic: fixed
16:01 TheCritic wow
16:02 TheCritic that was quick
16:06 * sri wonders if "public" is the right name for bundled files
16:11 moritz sri: I would have called it 'static'
16:12 sri static is ugly though
16:12 moritz "static" only makes sense in the web context
16:13 moritz in the context of perl module installations, not so much
16:13 * sri is now confused
16:13 ysyrota left #mojo
16:14 moritz if I see 'static' in an URL, I know what it means
16:14 moritz when a random perl module has a foo/static/ path, it confuses me
16:14 moritz that's what I mean
16:17 GitHub191 joined #mojo
16:17 GitHub191 mojo: master Sebastian Riedel * 898e7d7 (2 files in 2 dirs): move license list - http://bit.ly/fxBJpY
16:17 GitHub191 left #mojo
16:19 sri https://github.com/kraih/mojo/tr​ee/master/lib/Mojolicious/public
16:19 sri i mean this public directory
16:20 moritz yes, I know
16:20 gslin nice :-)
16:20 sri i kinda like that "public" also works as a warning
16:28 perlrocks Twitter: "I noticed Mojolicious a simple Perl based web flamework. This looks very easy. If I have time tomorrow, I'll make sample." --6pongi http://twitter.com/6pongi/status/52769014451142656
16:39 perlrocks Twitter: "Software Design Perl-based frameworks to buy things Mojolicious learned. This is a nice easy it easily. I'll try to make some samples if you have time tomorrow dullsville." (ja) --HidenoriSuzuki http://twitter.com/HidenoriSu​zuki/status/52771744976601090
16:45 perlrocks Twitter: "Changed how #mojolicious handles bundled files, please test, there might be side effects. http://t.co/Z4TBmXu #perl" --kraih http://twitter.com/kraih/status/52773376594423809
16:53 metaperl left #mojo
17:19 bosphorus left #mojo
17:20 trcjr joined #mojo
17:45 elb0w LOL@failraptor
17:45 elb0w thats awesome
17:48 sri :)
17:50 perlrocks Twitter: "Need ideas for a new #mojolicious 404 page. ;) #perl" --kraih http://twitter.com/kraih/status/52789832321208320
17:52 perlrocks Twitter: "Btw. the failraptor is cc-sa licensed, so other #perl web frameworks can use it too. http://t.co/dJVAt0e #mojolicious" --kraih http://twitter.com/kraih/status/52790230222254080
17:58 stephen joined #mojo
18:04 perlrocks Twitter: "Looking for something simple like this. :) #perl #mojolicious http://t.co/FvEuVru" --kraih http://twitter.com/kraih/status/52793310103879680
18:13 marty_ joined #mojo
18:13 marty left #mojo
18:23 metaperl joined #mojo
18:27 sri http://www.flickr.com/photo​s/katchinadaze/5549410550/ # this is tumblrs 500 btw
18:28 karamorf joined #mojo
18:28 karamorf is it possible to allow placeholders to be empty (happens to be the last section in the url)?
18:29 karamorf or should I just make a different route for that case?
18:29 sri yes, and it's mentioned in the documentation i'm sure
18:29 sri default values or so
18:29 karamorf then I'll keep digging, thanks
18:30 kaare joined #mojo
18:31 karamorf ahh, of course it was on the next page down :) thanks for calming my worries sri
18:32 sri :)
18:37 metaperl1 joined #mojo
18:39 metaperl left #mojo
19:01 metaperl1 left #mojo
19:02 metaperl joined #mojo
19:27 marcus left #mojo
19:28 marcus joined #mojo
19:28 marcus hurgle
19:28 marcus stupid bouncer disconnected me for half a day
19:33 * sri bounces marcus
19:33 marcus sri: here's something for you to bounce http://www.youtube.com/watch?v=3dS5AA​WbCt8&amp;feature=channel_video_title
19:34 sri \o/
19:38 karamorf should I be able to put stuff in Try::Tiny blocks and have the exception thingie Mojolicious does to not be hit?
19:50 karamorf ya, nevermind. I was just being dumb.
19:59 marcus sri: how's it going with your mongodb driver?
20:00 marcus is it faster than the official one? :)
20:02 marcus sri: idea for a controversial 404 - A perl dinosaur just missing Noah's Ark :D
20:03 marcus dino: not found
20:03 purl not found is 404
20:05 karamorf any idea what causes "Image corrupt or truncated: (mojo_file.pl)/mojolicious-black.png" on the exception page? rather annoying for there to be no background ...
20:09 sri karamorf: never seen that
20:09 sri marcus: haha
20:10 sri marcus: unless the official driver is seriously flawed it should not be faster
20:10 karamorf sri: ya, seeing if I can come up with an isolated test case ... I'll ket you know if I find something interesting
20:10 sri karamorf: considering it has never been seen before it's likely something on your end, broken browser or perl perhaps
20:11 karamorf sri: more then likely
20:11 karamorf sri: especially since it works fine on a new file, looks like one of my includes is doing it...
20:13 sri marcus: actually, maybe in a cluster it could be
20:14 sri multiple async connections with different servers
20:15 sri but for normal use the C implementation should always be much faster
20:16 karamorf sri: well this sucks. It's apparently caused by including a package my company created. Oh well, not dealing with that. Thanks tho.
20:17 sri karamorf: it prolly changes something globally
20:17 karamorf sri: yep. Everything I touch here does something globally, rather annoying.
20:18 sri default encoding or whatever
20:18 moritz with Mojo::Test, how do I test the redirect URL?
20:18 sri moritz: what do you mean?
20:18 sri ->header_is(Location => '...')?
20:19 moritz ah, yes
20:21 moritz thanks
20:34 marcus sri: did you see the benchmark I pasted the other day?
20:34 marcus seems the php mongodb driver is much faster. http://tong.ijenko.net/201​1/03/mongodb-php-1-perl-0/
20:34 marcus guess it's implemented in c tho :)
20:36 sri marcus: i somehow suspect it is not the C part
20:36 metaperl1 joined #mojo
20:36 sri could just be overhead from DateTime and friends
20:37 marcus yeah, datetime is pretty horrible
20:37 marcus moose might have something to do with it it too
20:38 TheCritic left #mojo
20:39 metaperl left #mojo
20:39 tjfontaine joined #mojo
20:41 metaperl joined #mojo
20:43 perlite left #mojo
20:44 metaperl1 left #mojo
20:45 perlite joined #mojo
20:49 metaperl1 joined #mojo
20:53 metaperl left #mojo
20:58 kaare left #mojo
20:58 metaperl1 left #mojo
21:03 metaperl joined #mojo
21:08 metaperl1 joined #mojo
21:08 GitHub83 joined #mojo
21:08 GitHub83 mojo: master Sebastian Riedel * 39f5668 (1 files in 1 dirs): cleaned up default 404 error page - http://bit.ly/fi2OqG
21:08 GitHub83 left #mojo
21:12 Akron joined #mojo
21:12 metaperl left #mojo
21:19 metaperl joined #mojo
21:24 metaperl2 joined #mojo
21:24 metaperl1 left #mojo
21:28 metaperl left #mojo
21:35 kvorg joined #mojo
21:39 GitHub190 joined #mojo
21:39 GitHub190 mojo: master Sebastian Riedel * 5ef4903 (1 files in 1 dirs): cleanup - http://bit.ly/dHJIrh
21:39 GitHub190 left #mojo
23:52 mikegrb sri: tjfontaine is awesome and is learning the super unicorn magic that is mojo
23:53 tjfontaine quite
23:53 tjfontaine I've not yet been successful in finding a pointer to embed into an existing event loop, my current attempt was to instantiate Mojo::Server::Daemon and set ioloop() to a previously created IOLoop with one_tick being called by the outer event loop, better thoughts?
23:53 mikegrb but he has an interesting issue and I'm no hope, he's wanting to use Mojo::Server::Daemon in an external event loop
23:53 * sri spews rainbows
23:54 sri there is an anyevent ioloop on github somewhere
23:54 Alias When can I buy a failraptor shirt?
23:55 sri the failraptor has too many colors for the high quality print :/
23:57 sri tjfontaine: one_tick shouldn't be that bad either though
23:57 sri you could also play with on_idle and Coro
23:58 tjfontaine sri: well, I'm seeing a listener but events don't seem to be triggering
23:58 twodollarz joined #mojo
23:59 tjfontaine a certain amoutn seems created properly because if I hit it improperly Unhandled event error: SSL accept attempt failed with unknown errorerror:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request

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