Camelia, the Perl 6 bug

IRC log for #mojo, 2011-07-14

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

All times shown according to UTC.

Time Nick Message
00:18 xantus[] sri: http://xant.us/files/EV.pm
00:18 xantus[] if you didn't see it earlier
00:19 sri xantus[]: oh, missed it
00:19 sri does it work?
00:23 mattastrophe joined #mojo
00:31 xantus[] yes
00:31 xantus[] and its fast
00:32 xaka as i understand, EV supports child process watching and files/dirs changes watching?
00:32 xantus[] yes
00:53 fhelmber_ left #mojo
00:58 xaka left #mojo
01:27 sri xantus++
01:27 * sri wonders if EV support in core would be better than native kqueue/epoll support
01:28 sri xantus[]: there might be a problem though
01:28 xaka joined #mojo
01:29 sri what about multiple iowatcher instances running next to each other?
01:29 sri i suppose that case it not tested yet
01:30 sri at least not on the lower levels
01:30 sri we do use it higher up
01:33 sri also interesting you had to put in extra work to make watch() work... that's not how i imagined it
01:36 sri i like the idea of replacing IO::Epoll and IO::KQueue with EV
01:41 xaka i think there should be the choise up to developer. EV heavier than kqueue or epoll
01:48 sri the choice is up to the developer, it just means i won't be maintaining those backends in core anymore
01:55 tempire how did people get along without github
01:56 tempire rt+patch makes me feel like I should campaigning for nixon
01:56 tempire us-specific culture reference alert!
02:17 sri lol
02:18 sri that's tweet-worthy
02:19 qtxl joined #mojo
02:29 qtxl left #mojo
02:38 qtxl joined #mojo
02:49 stephen left #mojo
03:00 Alias joined #mojo
03:10 qtxl_ joined #mojo
03:21 qtxl left #mojo
03:21 qtxl_ left #mojo
03:22 qtxl joined #mojo
03:34 perlrocks Twitter: "Mojolicious:: I thought the Lite? What a pity! Amon2:: Could Lite!" (ja) --kamipo http://twitter.com/kamipo/status/91349726015922176
04:34 kaare joined #mojo
04:42 xaka|2 joined #mojo
04:42 xaka left #mojo
05:18 sri http://nodejs.org # damn, what a horrible new logo
05:33 xaka|2 omg, agree
05:34 xaka|2 wtf, what the xaka2, heeyyy
05:34 xaka|2 is now known as xaka
05:53 cosmincx joined #mojo
06:03 bpaluch left #mojo
06:03 bpaluch joined #mojo
06:05 xantus[] left #mojo
06:05 xantus[] joined #mojo
06:14 cosmincx1 joined #mojo
06:15 cosmincx1 left #mojo
06:19 cosmincx left #mojo
06:21 cosmincx joined #mojo
06:24 cosmincx left #mojo
06:58 xoma joined #mojo
07:00 lammel joined #mojo
07:08 preflex left #mojo
07:10 xoma left #mojo
07:11 preflex joined #mojo
07:16 cosmincx joined #mojo
07:23 fhelmber_ joined #mojo
07:24 fhelmber_ left #mojo
07:25 fhelmber_ joined #mojo
07:39 lammel left #mojo
07:46 AmeliePoulain joined #mojo
07:51 xaka left #mojo
08:00 AmeliePoulain left #mojo
08:03 nagual joined #mojo
08:04 spleenjack joined #mojo
08:13 tabbi joined #mojo
08:15 lammel joined #mojo
08:16 tabbi left #mojo
08:19 sugar joined #mojo
08:24 Alias left #mojo
08:26 sugar left #mojo
08:27 sugar joined #mojo
08:30 sugar left #mojo
08:32 sugar joined #mojo
08:34 Drossel joined #mojo
08:37 Kulag left #mojo
08:47 sri crab: bad pull request
08:47 crab oh? what went wrong?
08:48 sri pod and alphabetical order
08:49 sri also single line methods are grouped
08:49 sri tests are good though
08:51 xxtjaxx_ How do you handle images in directories? Are they supposed to go under templates too=
08:51 xxtjaxx_ s/=/?/
08:52 Drossel left #mojo
08:52 sri xxtjaxx_: http://mojolicio.us/perldoc/M​ojolicious/Lite#Static_Files
08:52 Kulag joined #mojo
08:58 crab sri: sorry. fixed.
08:59 GitHub86 joined #mojo
08:59 GitHub86 [mojo] kraih pushed 2 new commits to master: http://bit.ly/prshaZ
08:59 GitHub86 [mojo/master] Add expires/cache_control accessors to Mojo::Headers - Abhijit Menon-Sen
08:59 GitHub86 [mojo/master] Merge pull request #180 from amenonsen/master - Sebastian Riedel
08:59 GitHub86 left #mojo
08:59 sri crab++
09:04 Drossel joined #mojo
09:04 Kulag left #mojo
09:09 sri oh damn
09:09 * sri just got rickrolled by tempire
09:14 * sri wants to punch tempire
09:14 crab sri: do you want doc patches of the extremely nitpicky variety? missing commas, and such?
09:14 crab and if so, do you want one or two once in a while, or larger batches at infrequent intervals, or what?
09:16 sri crab: hmm, actually i'm not sure
09:16 * yko thinks thet crab whants to sey thet sri is a bit illiterete
09:17 sri :O
09:17 * yko giggles from aligator pit.
09:18 sri crab: typos yes, punctuation not so much
09:18 crab it's more than just missing commas. there are a lot of run-on sentences which should be multiple sentences. some phrases are awkward, etc. nothing critical, though.
09:19 sri extreme cases sure, but not if it's arguable
09:19 crab ok. i'll forget them.
09:19 perlrocks Twitter: "Mojolicious Mojocasts.  http://mojocasts.com/" --marksmith http://twitter.com/marksmit​h/status/91436607302938624
09:19 sri only if it's really awkward
09:20 * sri doesn't want to look "illiterete"
09:20 sri :o
09:32 xxtjaxx_ hmm I stashed my variables correctly and named them the same as in the tempate and though lo and behold it doesnt work :/ says requires explicit package name :/
09:33 crab you did it wrong.
09:39 yko sri, hey, that was joke, really
09:40 sri yko: i know, was rather impressed by the intentional typos :)
09:40 yko i thought i made enough meestekes to indicate that :)
09:41 AmeliePoulain joined #mojo
09:52 perlrocks Twitter: "Mojolicious the Gyazo Server:: wrote Lite - Ali http://htn.to/wc5oZX" (ja) --kazeburo http://twitter.com/kazebur​o/status/91444891527290881
09:52 xxtjaxx_ crab: hm? how am I supposed to do it right then=
09:53 xxtjaxx_ s/=/?/
09:55 preflex left #mojo
09:55 crab xxtjaxx: you find out what you're doing wrong, and change it so that it's right.
09:57 qtxl_ joined #mojo
09:57 preflex joined #mojo
09:58 qtxl left #mojo
10:10 lammel left #mojo
10:12 qtxl_ left #mojo
10:19 perlrocks Twitter: "Mojolicious the Gyazo Server:: wrote Lite - Ali http://dlvr.it/b7fn9" (ja) --RtestR http://twitter.com/RtestR/status/91451641924026368
10:23 alnewkirk joined #mojo
10:38 preflex left #mojo
10:40 preflex joined #mojo
10:49 kaare left #mojo
10:58 tabbi joined #mojo
10:58 tabbi left #mojo
11:01 xxtjaxx_ crab: http://paste.debian.net/plain/122854  << the stash , the error http://paste.debian.net/122856/ I wonder what went wrong
11:07 crab actual details! now you're talking.
11:07 crab you should paste your template too, but i can already guess that you want $snip_list and not @snip_list
11:08 crab what you've put in your hash is an arrayref, not an array
11:12 xxtjaxx_ crab: Template: http://pastebin.com/BkW5dgTs
11:14 alnewkirk left #mojo
11:15 crab try foreach @$snip_list, $snip_title->{$_} etc
11:23 perlrocks Twitter: "After mojolicious system route'ov Zend seems so miserable ... I want back in perl: (" (ru) --gosha_bugov http://twitter.com/gosha_bug​ov/status/91467967937777666
11:27 alnewkirk joined #mojo
11:36 xxtjaxx_ crab: http://pastebin.com/U5Kkfe7q says the curly braces are unmatched
11:41 xxtjaxx_ wait how do you say begin this div tag but with this id?
11:51 crab <div id=<%= "whatever" %>>
12:04 xxtjaxx_ crab: current Template state: http://pastebin.com/93D4T4CR , http://pastebin.com/PVaHr21G code for the stashing. Its just a test by now if the markup/templates work so forgive me the messy hardwired strings
12:19 sri xxtjaxx_: i strongly suggest reading the tutorial and guides
12:20 bosphorus joined #mojo
12:20 sri and there is no excuse for not indenting
12:24 sri guess you are new to perl (judging by the use of foreach), that's even more reason to carefully work through the documentation ans possibly some perl books
12:25 sri s/s/d/
12:28 * sri decides to kill a kitten every time someone posts a template like that
12:42 shonorio joined #mojo
12:45 tardisx woo I have a stackato
12:45 tardisx it's been a while since I signed up so I can't remember if it's interesting or not :-)
12:47 mattastrophe left #mojo
13:01 Akron joined #mojo
13:15 qtxl joined #mojo
13:15 alnewkirk left #mojo
13:16 qtxl left #mojo
13:23 sugar left #mojo
13:24 xxtjaxx_ sri: why? Is it wrong to use foreach this way? I'm lazy you see :) Indenting is part of my editors fault but see reason 1 for answers of why.
13:27 sugar joined #mojo
13:32 alnewkirk joined #mojo
13:40 fmerges joined #mojo
13:56 AmeliePoulain left #mojo
14:01 tabbi joined #mojo
14:08 sh9 joined #mojo
14:11 tabbi left #mojo
14:15 metaperl_ joined #mojo
14:16 xaka joined #mojo
14:17 metaperl_ left #mojo
14:33 metaperl joined #mojo
14:48 kaare joined #mojo
14:56 jwang left #mojo
15:06 xaka i'm running mojo app using "daemon" command in production mode. How can i turn on http requests logging as for development mode?
15:13 bosphoru_ joined #mojo
15:18 bosphorus left #mojo
15:23 spleenjack left #mojo
15:26 crab MOJO_LOG_LEVEL=debug
15:34 bosphoru_ left #mojo
15:35 xaka left #mojo
15:44 xaka joined #mojo
16:02 cosmincx left #mojo
16:16 gizzlon joined #mojo
16:20 vel joined #mojo
16:55 xaka i would like to see easier way to change default listening port instead of --listen "http://*:3000", may be --port as many server apps do
16:55 xaka or listen can check if it's a number - then it's the port
17:09 marty left #mojo
17:14 marty joined #mojo
17:22 fmerges left #mojo
17:27 sh9 left #mojo
17:52 * tempire says the best way to get more twitter followers is to have more rickrolls
17:53 tempire stackato has a bobo logo
17:54 tempire better than nodejs, though
17:54 perlrocks Twitter: ""skipped: set TEST_HYPNOTOAD to enable this test (developer only!)" #mojolicious" --jwapdx http://twitter.com/jwapdx/status/91566246335746048
18:12 Akron left #mojo
18:18 vel left #mojo
18:20 xaka it would be good to add not only shutdown to app, but shutdown hooks too. Like $self->shutdown(sub { my_runnner->stop }) and os on
18:20 xaka in case if u dont want to write it manually inside shutdown method
18:40 xxtjaxx_ http://pastebin.com/xFxQVj1e says there is no $snip defined.. WHy?
18:41 sugar left #mojo
18:46 tabbi joined #mojo
18:46 tabbi left #mojo
19:01 xaka xxtjaxx_: did u pass it to stash?
19:43 nagual xaka: hi
19:43 purl salut, nagual.
19:43 nagual xaka: speek mee to pvt
20:02 jzawodn left #mojo
20:07 perlite left #mojo
20:09 perlite joined #mojo
20:23 kaare left #mojo
20:43 xxtjaxx_ xaka: yep
21:30 nagual left #mojo
21:51 metaperl left #mojo
22:32 gbacon left #mojo
22:55 alnewkirk left #mojo
23:28 xaka too quite today
23:32 chansen mm
23:37 chansen perhaps sri has changed his diurnal rhythm?
23:38 * sri aims for chansens rhythm... sleep for a month... stay awake for a month :)
23:42 chansen hehe
23:42 xaka i can try to provide pull request for all this shutdown ideas if u dont mind, but i want to be sure that u like it and i won't waste my time :)
23:43 sri xaka: i don't like it, since we have DESTROY already
23:44 xaka startup vs shutdown looks clearly than startup vs DESTROY
23:45 sri then your problem is with perl, not mojolicious
23:46 xaka roughly
23:55 shonorio left #mojo
23:58 sri tempire: looks like you've already raised the bar for szabgab, his latest screencast seems very much inspired by yours
23:58 sri tempire++

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