Camelia, the Perl 6 bug

IRC log for #mojo, 2013-09-05

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

All times shown according to UTC.

Time Nick Message
00:21 dotandimet joined #mojo
00:26 punter Is there any way Mojo::Log can output to STDOUT?
00:26 punter except 2>&1
00:27 punter (because I need two loggers, one on stdout and one on stderr)
00:32 punter Found it (the handle attr)
01:13 laouji joined #mojo
01:21 basic6 joined #mojo
01:40 keedi joined #mojo
01:57 Meiermann joined #mojo
02:00 d4rkie joined #mojo
02:29 connor_goodwolf joined #mojo
02:32 D4RK-PH0ENiX joined #mojo
02:57 asarch joined #mojo
03:16 jberger joined #mojo
03:29 preflex_ joined #mojo
03:56 howitdo joined #mojo
05:08 hummeleBop joined #mojo
05:10 dvinciguerra joined #mojo
05:20 xtetsuji joined #mojo
05:29 dod joined #mojo
05:30 dod joined #mojo
05:35 dod joined #mojo
06:30 denis_boyun joined #mojo
06:35 Vandal joined #mojo
06:38 MeierM joined #mojo
06:57 Vandal joined #mojo
06:59 ladnaV joined #mojo
07:00 basiliscos joined #mojo
07:01 dod joined #mojo
07:10 Vandal joined #mojo
07:19 trone joined #mojo
07:20 gatitskiy joined #mojo
07:27 ladnaV joined #mojo
07:34 Vandal joined #mojo
07:48 arpadszasz joined #mojo
07:48 ladnaV joined #mojo
07:51 go|dfish joined #mojo
07:51 cosmincx joined #mojo
07:53 dotandimet joined #mojo
07:57 Vandal joined #mojo
08:18 ladnaV joined #mojo
08:20 gatitskiy joined #mojo
08:24 Vandal joined #mojo
08:27 gatitski_ joined #mojo
08:30 ladnaV joined #mojo
08:32 gatitskiy joined #mojo
08:47 marcus muhaha
08:49 fhelmber_ joined #mojo
08:55 ec2-user left #mojo
09:06 keedi joined #mojo
09:07 dotandimet joined #mojo
09:10 stephanj marcus: what have you done?
09:10 marcus stephanj: you want the truth? You can't handle the truth!
09:13 stephanj marcus: oh please. please let that be my decision!
09:17 nicolaas joined #mojo
09:26 mire joined #mojo
09:31 pingvin joined #mojo
09:47 dotandimet joined #mojo
10:22 Vandal joined #mojo
10:30 Vandal joined #mojo
10:53 batman anyone who has a simple pastebin written with mojo?
10:54 cosmincx joined #mojo
11:03 ladnaV joined #mojo
11:08 mire joined #mojo
11:31 Meiermann joined #mojo
11:42 jberger https://gist.github.com/jberger/5701774
11:43 jberger I have a much improved version, but I'm not sure I can share it
11:43 jberger :-/
11:43 jberger $ work
11:48 jberger batman ^^
11:48 batman ok :)
11:59 batman jberger: i just wrote one while waiting by the way...
11:59 batman going to check out yours soon...
12:00 basiliscos joined #mojo
12:08 jberger It's really a pretty easy task
12:09 jberger Hmmmm it would be a good mojo/mango non blocking blog post
12:09 jberger Something to work on on the train
12:09 jberger :-)
12:18 asarch joined #mojo
12:21 Dandre hello,
12:23 Dandre is there any way to get an error code when a client tries to put some data in a json format but with formatting errors in it?
12:27 jberger_ joined #mojo
12:29 batman jberger: mine: https://gist.github.com/jhthorsen/6449446
12:38 yakudza joined #mojo
12:49 mire joined #mojo
12:51 jberger_ I can't run it right now (on train) but am I right in thinking that get / is a timeout?
12:51 jberger_ Also why html 4?
12:52 jberger Bender: spread the love
12:52 jberger Oh nm
12:54 batman jberger_: timeout? it works for me... why not html4? who cares? :P
12:55 batman i will change it to html5 later.
12:55 batman copy/paste issue :(
12:55 batman jberger_: it has the name "pastebin", so it will render pastebin.html.ep from __DATA__
13:02 batman jberger_: it has no dependencies, so you could run it on the train if you have mojo installed.
13:12 jberger batman: Oh right, my brain isn't on yet I guess
13:12 batman i know the feeling :/
13:13 jberger Is there an arm port of perl yet?
13:19 jberger batman: one other unimportant question
13:20 jberger Why use mojo asset file rather than slurp and spurt from util?
13:20 batman because i'm not used to it.
13:20 * batman lives in the stoneage :(
13:21 sri asset file also doesn't have to load the whole file into memory
13:21 jberger That's fine, I was curious if there was some technical reason
13:21 batman jberger_: http://p.thorsen.pm/ <-- in action
13:22 batman ooops!
13:22 sri there's of course a recipe too http://mojolicio.us/perldoc/Mojolicio​us/Guides/Rendering#Custom_responses
13:22 jberger sri: indeed, but that isn't how batman is using it
13:22 sri bad batman
13:22 batman sri: i will fix it at once!
13:22 * batman doesn't like the stone age anyway
13:23 denis_boyun joined #mojo
13:24 gryphon joined #mojo
13:30 denis_boyun__ joined #mojo
13:38 batman http://p.thorsen.pm/ and https://github.com/jhthorsen/sni​ppets/blob/master/perl/mojopaste
13:39 dqw joined #mojo
13:51 jberger We may have to fight over the name mojopaste tho :-)
13:52 batman hehe. so it's a race to cpan?
13:52 batman haven't really thought about making a repo...
13:52 sri pastilicious
13:53 batman s/repo/dist/
13:53 batman hehe...
13:53 btyler joined #mojo
13:53 batman jberger: do you want pastilicious or mojopaste?
13:53 batman i'm taking the other
13:54 batman can i make a dist with all lowercase or must i add App::pastilicious ?
13:54 batman haven't really thought about that before
13:54 sri all lowecase is a pragma
13:54 jberger I had a fancy for mojopaste but truly if you have the tuits for something take whichever name you want
13:55 batman pick one! i can't decide :)
13:55 jberger App if you want all lower
13:55 batman i'm releasing it once it get a name...
13:55 batman thanks
13:55 sri all pragmas are reserved for core use... so it can be taken away from you
13:55 jberger Ok I claim mojopaste
13:56 jberger :-)
13:56 sri pastemojo
13:56 sri mojobin
13:56 PerlJam pojo
13:56 jberger I do intend to do a mojo mango thingy
13:56 nicomen pollo
13:56 sri mangopaste
13:56 PerlJam arroz con pollo
13:56 jberger Ooooh mojobin is nice too
13:56 PerlJam :)
13:56 sri mangopastilicious
13:57 batman hehe
13:57 nicomen chutney
13:57 sri mangobin
13:57 PerlJam nicomen: so ... are you hungry too?  :)
13:57 nicomen yup
13:58 batman jberger: if you want mojobin, then i will let the computer decide... perl -le'print @ARGV[rand(@ARGV)]' mojopaste pastilicious
13:59 jberger Pick away, it seems I have plenty of options
13:59 batman :)
13:59 batman computer says "App::mojopaste"
14:00 nicomen mojjoklumpen
14:00 batman nicomen: i think only three of us find that amusing :)
14:01 bluescreen joined #mojo
14:09 sri final futurama episode :,(
14:18 gatitski_ joined #mojo
14:19 ryozi joined #mojo
14:20 hydrauligsepp joined #mojo
14:34 sh4 joined #mojo
14:48 batman crap! that took too long :( https://github.com/jhthorsen/app-mojopaste
14:53 hydrauligsepp left #mojo
15:01 dqw joined #mojo
15:08 hydrauligsepp joined #mojo
15:14 hydrauligsepp left #mojo
15:24 gryphon joined #mojo
15:31 mire joined #mojo
15:34 MeierM joined #mojo
15:55 Vandal joined #mojo
16:03 ladnaV joined #mojo
16:11 moltar joined #mojo
16:27 basiliscos joined #mojo
16:31 dod joined #mojo
16:39 d4rkie joined #mojo
16:41 whatitdo joined #mojo
16:43 cfedde joined #mojo
16:44 cfedde Is there a mojolicious equivalent to Moose's before/after/around?
16:47 Mad_Dud- joined #mojo
16:50 jberger cfredde, not in mojo base, but if you want them, use Moo(se)?
16:50 cfedde yeah,
16:51 jberger For fun maybe Moops :-)
16:51 cfedde Maybe there is mojo-ish way to do what I want.  I think I want $self->stash() to always have some attributes that are only used in the layout.
16:52 cfedde I was going to do that by wrapping stash.
17:11 jberger Do you just want default stash values?
17:14 dvinciguerra joined #mojo
17:19 PerlJam cfedde: perldoc Mojolicious  # look for $app->hook
17:24 jberger No need for hook for stash defaults
17:30 PerlJam ah, I didn't read down far enough.
18:15 sri \o\
18:15 sri /o/
18:31 bjoernfan joined #mojo
18:32 basiliscos joined #mojo
18:45 cfedde jberger: maybe so.
18:55 cfedde $self->defaults(bla => "bla");  # awesome!  somehow I overlooked this feature.
18:56 cfedde er... $self->app->defaults
19:33 good_news_everyone joined #mojo
19:33 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/rjPytQ
19:33 good_news_everyone mojo/master 4ad5dba Sebastian Riedel: fixed a few typos
19:33 good_news_everyone left #mojo
20:20 * sri has been wondering if delays should catch errors in closures
20:34 good_news_everyone joined #mojo
20:34 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/LEq1Pg
20:34 good_news_everyone mojo/master cf14cd8 Sebastian Riedel: mention return value of delay callbacks
20:34 good_news_everyone left #mojo
20:42 sri it's not as easy as it seems though, there may still be active events when the callback dies, that case needs to be considered too
20:47 rem_lex|pivo joined #mojo
21:05 sri tempire: btw. one thing i do like about promises is that failures propagate through the whole chain... so you can have one exception handler for all steps
21:07 bowtie_ joined #mojo
21:09 bowtie_ joined #mojo
21:30 KindOne joined #mojo
21:42 batman any idea how to prevent robots from using my pastebin?
21:42 batman i mean... dumb robots :)
21:51 bluescreen joined #mojo
22:10 Meiermann joined #mojo
22:12 rihegher joined #mojo
22:19 jzawodn magnets!
22:22 batman :)
22:46 cfedde captcha
23:01 rem_lex| joined #mojo
23:02 howitdo joined #mojo
23:09 rihegher left #mojo
23:26 jberger joined #mojo
23:26 russum joined #mojo
23:30 russum1 joined #mojo

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