Camelia, the Perl 6 bug

IRC log for #mojo, 2012-02-18

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

All times shown according to UTC.

Time Nick Message
00:02 GitHub2 joined #mojo
00:02 GitHub2 [mojo] kraih pushed 1 new commit to master: http://git.io/suK51A
00:02 GitHub2 [mojo/master] fixed Mojo::Template expressions and escaped expressions to consistently enforce scalar context - Sebastian Riedel
00:02 GitHub2 left #mojo
00:02 sri and that was that
00:04 sri must have been drunk when i wrote the tests
00:13 GitHub119 joined #mojo
00:13 GitHub119 [mojo] kraih pushed 1 new commit to master: http://git.io/-lk4DQ
00:13 GitHub119 [mojo/master] better test examples - Sebastian Riedel
00:13 GitHub119 left #mojo
00:16 GitHub113 joined #mojo
00:16 GitHub113 [mojo] kraih pushed 1 new commit to master: http://git.io/TSYWjw
00:16 GitHub113 [mojo/master] fixed typo - Sebastian Riedel
00:16 GitHub113 left #mojo
00:18 sri tempire: release unfrozen
00:19 vervain I'm getting a 'Failed test 'same context'... looks like a timezone error.
00:20 vervain http://pastie.org/3405017
00:22 vervain Ya... localtime is converting the '784111777' according to locality... so the results don't match.
00:23 * tempire release not started yet
00:24 sri which more reliable function is context sensitive?
00:29 vervain Maybe this is hackish... or bad for test code... but http://pastie.org/3405049 works
00:29 vervain I also don't think that the 'scalar' is required... but explicit is good.
00:30 tempire about an hour left on my battery
00:31 tempire if we want to release @ 30000 ft
00:31 tempire which I would love to tweet.
00:31 vervain How long have you been flying now tempire?
00:31 GitHub146 joined #mojo
00:31 GitHub146 [mojo] kraih pushed 1 new commit to master: http://git.io/dF2TwQ
00:31 GitHub146 [mojo/master] fixed consistency test - Sebastian Riedel
00:31 GitHub146 left #mojo
00:31 tempire don't know
00:31 tempire 6 hour flight
00:31 sri should be fine now
00:31 tempire maybe 4 hours
00:32 tempire maybe 5
00:32 vervain Actually you'll be well north of me... but I was going to say go have a poop... you might hit me. :-)
00:34 vervain master works for me
00:35 vervain ... and all of my weird newbie expectations. :-)
00:52 vervain Ok... well I can tell when my jokes crash... catch ya later folks.
01:13 tempire wellst.
01:13 tempire guess it really is ok to release.
01:13 tempire going once
01:13 tempire twice
01:13 tempire three times
01:13 purl it has been said that three times is enemy action.
01:13 tempire a lady
01:18 tempire "Released #mojolicious 2.50 from 30,000ft! or 10km :) - easier file upload, ioloop improvements https://github.com/kraih/mojo/blob/v2.50/Changes #perl #milehighclub"
01:18 sri :D
01:21 GitHub2 joined #mojo
01:21 GitHub2 [mojo] kraih pushed 1 new commit to master: http://git.io/IP83WQ
01:21 GitHub2 [mojo/master] fixed typo in test example - Sebastian Riedel
01:21 GitHub2 left #mojo
01:21 sri tempire++
01:25 tempire karma: tempire
01:25 tempire purl: karma tempire
01:25 purl tempire has karma of 73
01:25 tempire dernit
01:26 tempire \o\
01:26 sri /o/
01:42 Foxcool joined #mojo
02:04 rsimoes1 joined #mojo
02:18 mattastrophe joined #mojo
02:24 baton8 joined #mojo
02:57 jnap joined #mojo
03:11 ki0 joined #mojo
03:18 * sri wonders if anyone is actually using the cpanify command
03:20 * alnewkirk will once I develop a worthy Mojo app
03:43 dillon joined #mojo
04:25 crab sri: i do
04:25 crab including for entirely non-mojo-related things :-)
06:25 hide joined #mojo
06:38 athenot joined #mojo
06:58 tempire I use cpanify
07:51 melmothX joined #mojo
08:11 kaare joined #mojo
08:26 hide joined #mojo
08:45 black joined #mojo
09:06 TheAthlete joined #mojo
09:13 d4rkie joined #mojo
09:14 abra joined #mojo
09:20 spleenjack joined #mojo
09:22 noganex_ joined #mojo
09:27 hshong joined #mojo
09:42 TheAthlete left #mojo
10:27 spleenjack1 joined #mojo
10:28 sri hmm, ok
10:43 marcus Herp derp
10:43 purl rumour has it Herp derp is at http://derper.com/images/derp/Herp_Derp_Horse.jpg
11:03 black joined #mojo
11:04 trone Hello. I would like to show a bunch of static html files (with its own css/images relative paths) under a Mojolicious application - after authentication. I can't put them under public/ because I want auth on that html)
11:05 batman trone: https://metacpan.org/module/Mojolicious::Static <-- create your own static object and serve files from it after authentication is done
11:08 trone batman: mm. I go to read better that! thanks. Until now I limited myself to render_static and that method don't give me what I was looking for.
11:08 batman :)
11:09 batman sub auth_static { my $self = shift; $self->authenticate or return $self->render_exception; $static_obj->serve($self->param('static_file')); }
11:09 batman ^something like that...
11:09 batman or even get '/private/*static_file' => sub { ... }; # iirc
11:14 GitHub190 joined #mojo
11:14 GitHub190 [mojo] kraih pushed 1 new commit to master: http://git.io/nZQ34g
11:14 GitHub190 [mojo/master] improved portability of scripts - Sebastian Riedel
11:14 GitHub190 left #mojo
11:15 trone batman: thanks. really useful. Now I see what I'm able to do. :) thanks
11:16 batman sweet
11:48 GitHub5 joined #mojo
11:48 GitHub5 [mojo] kraih pushed 1 new commit to master: http://git.io/akCEeQ
11:48 GitHub5 [mojo/master] removed experimental status from around_dispatch hook - Sebastian Riedel
11:48 GitHub5 left #mojo
11:55 vervain What is meant by 'invalid characters' in M::G::Rendering? "Stash values that don't have invalid characters in their name get automatically initialized as normal variables in the template, and the controller instance as $self."
12:17 vervain I'm guessing that the rules are the same as for any variable name... e.g. this is wrong: $self->stash( '123key' => 'invalid' );
13:16 noganex joined #mojo
13:19 maettu joined #mojo
13:48 GabrielVieira joined #mojo
13:58 sri https://github.com/kraih/mojo/issues/290 # am i misunderstanding something here?
14:01 batman joined #mojo
14:03 vervain They look tagged to me.
14:04 glob joined #mojo
14:07 glob hi; i'm having some trouble getting mojo working with apache as cgi.  all urls are routed to '/'
14:07 glob http://glob.pastebin.mozilla.org/1487113 has a dump of my .htaccess, app, and routes
14:07 glob the rewrite rules are working, because i can access content in my /public directory without issue
14:11 glob when i visit example.com/welcome i get the 'index' output, not 'welcome'
14:13 glob |./plaything.cgi get /welcome| returns the welcome page, so i'm thinking it's a .htaccess conf issue (but it's straight from the wiki, and i can't see why it won't work)
14:18 glob ahh, i've found a .htaccess config which works -- http://glob.pastebin.mozilla.org/1487119
14:23 marcus glob: why not use scriptalias as suggested in the cookbook?
14:23 glob marcus, i was following https://github.com/kraih/m​ojo/wiki/Apache-deployment
14:24 * glob looks in the cookbook
14:24 marcus glob: http://mojolicio.us/perldoc/Mojoli​cious/Guides/Cookbook#Apache2FCGI
14:26 glob marcus, sweet, that's simpler :)
14:27 * glob points to his "mojo newbie" badge
14:27 * marcus points to his BOFH badge
14:28 * marcus pats his LART.
14:28 marcus j/k ;)
14:28 glob :D
14:29 d4rkie joined #mojo
14:50 d4rkie joined #mojo
15:32 maettu left #mojo
15:40 Foxcool joined #mojo
16:09 trek1s joined #mojo
16:32 GitHub106 joined #mojo
16:32 GitHub106 [mojo] kraih pushed 1 new commit to master: http://git.io/TQk4BQ
16:32 GitHub106 [mojo/master] detect source directory based on tests instead of makefile - Sebastian Riedel
16:32 GitHub106 left #mojo
16:32 sri ok, that should be the most dwim solution
17:02 batman joined #mojo
18:27 ki0 joined #mojo
18:27 inokenty joined #mojo
18:38 inokenty joined #mojo
18:40 jnap joined #mojo
18:46 GitHub184 joined #mojo
18:46 GitHub184 [mojo] kraih pushed 1 new commit to master: http://git.io/am5Myg
18:46 GitHub184 [mojo/master] made source directory detection slightly more efficient - Sebastian Riedel
18:46 GitHub184 left #mojo
18:53 batman joined #mojo
19:33 jnap joined #mojo
19:35 tempire 🐧
19:36 yko joined #mojo
19:48 vel joined #mojo
19:56 kitt_vl joined #mojo
20:44 black joined #mojo
21:03 inokenty Seems like search.cpan.org is down
21:05 sri happens all the time
21:07 batman joined #mojo
21:30 batman joined #mojo
22:12 GitHub79 joined #mojo
22:12 GitHub79 [mojo] kraih pushed 1 new commit to master: http://git.io/67X1Qg
22:12 GitHub79 [mojo/master] added experimental to_psgi method to Mojo::Server::PSGI - Sebastian Riedel
22:12 GitHub79 left #mojo
22:16 GitHub105 joined #mojo
22:16 GitHub105 [mojo] kraih pushed 1 new commit to master: http://git.io/eZR8SQ
22:16 GitHub105 [mojo/master] better PSGI example - Sebastian Riedel
22:16 GitHub105 left #mojo
22:52 GitHub142 joined #mojo
22:52 GitHub142 [mojo] kraih pushed 1 new commit to master: http://git.io/uJzcdg
22:52 GitHub142 [mojo/master] better PSGI test - Sebastian Riedel
22:52 GitHub142 left #mojo
22:58 mattastrophe joined #mojo
23:30 yko joined #mojo
23:38 preflex_ joined #mojo
23:52 jnap joined #mojo

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