Camelia, the Perl 6 bug

IRC log for #mojo, 2011-12-17

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

All times shown according to UTC.

Time Nick Message
00:31 chansen joined #mojo
01:11 MojoGuest862 joined #mojo
01:11 MojoGuest862 From: http://www.google.ie/url?sa=t&rct=j&q=h​tml5%20irc%20client&source=web&cd=4&amp​;ved=0CC8QFjAD&url=http%3A%2F%2Fdev.xantus.​org%2F&ei=FOzrTqbFIoyDhQfhh83QAw&usg=AF​QjCNGw6nZv0wO42uzUnHhWcD0vcKNULg&cad=rja (1 hits)
01:11 MojoGuest451 joined #mojo
01:11 MojoGuest451 From: http://www.google.ie/url?sa=t&rct=j&q=h​tml5%20irc%20client&source=web&cd=4&amp​;ved=0CC8QFjAD&url=http%3A%2F%2Fdev.xantus.​org%2F&ei=FOzrTqbFIoyDhQfhh83QAw&usg=AF​QjCNGw6nZv0wO42uzUnHhWcD0vcKNULg&cad=rja (2 hits)
01:40 gshank joined #mojo
02:09 mattastrophe joined #mojo
02:15 crab yko: good to hear. best of luck with the work and changes.
02:23 rem_lex|pivo joined #mojo
02:23 sri it's funny how javascript people consider ruby ugly
02:24 sri http://stackoverflow.com/questions​/3722334/why-dont-they-implement-p​ython-and-ruby-on-the-web-browsers
02:24 MojoGuest660 joined #mojo
02:24 MojoGuest660 From: http://www.reddit.com/r/html​5/comments/bt76k/irc_client/ (23 hits)
02:25 MojoGuest400 joined #mojo
02:25 MojoGuest400 From: http://networkedblogs.com/33Knp (23 hits)
02:27 MojoGuest672 joined #mojo
02:27 MojoGuest672 From: http://networkedblogs.com/33Knp (24 hits)
02:41 alanhaggai joined #mojo
02:43 crab heh
02:45 rem_lex|pivo joined #mojo
02:55 metaperl joined #mojo
03:15 mire joined #mojo
03:35 Psyche^ joined #mojo
03:42 mire joined #mojo
04:08 xaka joined #mojo
04:20 MojoGuest494 joined #mojo
04:20 MojoGuest494 From: http://blog.kraih.com/perl-is-ready-for-html5 (82 hits)
04:21 MojoGuest494 test
04:23 MojoGuest494 hi guys, how's the backend resources requirements and statistics for this irc cliet?
04:30 crab i don't know
04:31 crab and i don't think the guy who wrote it is here right now
04:37 crab but, i imagine it's very small.
05:10 GitHub116 joined #mojo
05:10 GitHub116 [mojo] kraih pushed 1 new commit to master: http://git.io/YeKPcw
05:10 GitHub116 [mojo/master] added hook example for skipping dispatchers - Sebastian Riedel
05:10 GitHub116 left #mojo
05:54 GitHub14 joined #mojo
05:54 GitHub14 [mojo] kraih pushed 1 new commit to master: http://git.io/ZIVdPA
05:54 GitHub14 [mojo/master] fixed POD formatting - Sebastian Riedel
05:54 GitHub14 left #mojo
06:02 xaka nobody had a chance to figure out the problem with EPIPE?
06:05 xaka i found that when EPIPE happens, streams doesn't close the handle, but emits "close" event. looks like somebody else has to do it, but it doesn't
06:26 tempire marcus
06:26 tempire http://imgur.com/gallery/cSveG
06:26 tempire true?
06:26 purl true is http://search.cpan.org/perldoc?true or http://www.youtube.com/watch?v=ikkg4NobV_w
06:29 Vandal joined #mojo
06:32 sri tempire: that can't be true :o
06:33 tempire I think I want to live there.
06:33 tempire pretty sure
06:33 sri tempire: your politics are messed up http://www.reddit.com/tb/nfxhj
06:35 sri now there's a special vote on wednesday, those companies sure have power
06:35 tempire indeed.
06:35 tempire though I think we're not the only ones.
06:35 tempire just the ones of the hour
06:37 inokenty joined #mojo
06:39 tempire hacker news article stating it's not ok for govt reps to not know about the internet anymore
06:39 tempire but I would bet a very small percentage understand anything about finance, much less technology
06:39 tempire % of government that actually knows what the fractional reserve system is?
06:39 tempire FAIL.
06:41 sri indeed
06:58 sugar joined #mojo
07:04 xaka interesting. stream emitted "close" event, ioloop marked connection as finished, but before it was switched to writting mode. when connection is finished, but writting (even failed write) it'll never be dropped
07:05 xaka writting can't be finished because of EPIPE. kind of "deadlock" which causes 100% cpu
07:06 xaka probably stream should do real close/drop when epipe happens, not only emitting the close event. just one of solution
07:08 xaka thoughts? any one?
07:19 tempire xaka: does it happen in 2.36?
07:22 xaka unfortunately it's not easy to reproduce. i'm lucky that i've found it and had a chance to strace
07:23 GitHub16 joined #mojo
07:23 GitHub16 [mojo] kraih pushed 1 new commit to master: http://git.io/YKMK6w
07:23 GitHub16 [mojo/master] fixed small Mojo::IOLoop::Stream timeout bug - Sebastian Riedel
07:23 GitHub16 left #mojo
07:23 sri that should fix it, but i can't come up with a test case
07:24 sri so it will break again
07:37 xaka ok, i know how to reproduce
07:39 xaka sri: https://gist.github.com/0407343dc7aafb118bbc
07:40 xaka just stop reading after some time (i read 1 byte and exited) and here we go
07:42 xaka i don't know if UserAgent allows doing close-in-a-middle magic to use it for test case
07:46 sri that kind of test is not portable
07:47 sri xaka: does my commit fix the problem?
07:50 xaka it does after "keepalive" time which means server will be slowed down for that amount of time
07:55 xaka sri: figured out that it happens only on big responses (i used 1mb response)
07:56 sri i still don't understand anything you're saying
07:58 xaka hm, which part?
08:02 xaka anyway you have test case, just run it and check cpu :) (use $self->render(text => "X" x 1_000_000)
08:03 sri that is not a test case
08:05 tempire xaka: by test case, he means a test that will fail with tap codes
08:05 tempire or pass when it's fixed
08:09 GitHub188 joined #mojo
08:09 GitHub188 [mojo] kraih pushed 1 new commit to master: http://git.io/1Z53Ww
08:09 GitHub188 [mojo/master] made exception handling in Mojo::IOLoop::Stream more resilient - Sebastian Riedel
08:09 GitHub188 left #mojo
08:09 sri this stuff is pretty much untestable since there are too many variables
08:13 sri defensive programming is pretty much all we can do
08:15 GitHub107 joined #mojo
08:15 GitHub107 [mojo] kraih pushed 1 new commit to master: http://git.io/i5rZsw
08:15 GitHub107 [mojo/master] fixed typo - Sebastian Riedel
08:15 GitHub107 left #mojo
08:33 sri basically what i'm saying is that your best hope to create a portable test would be something minimalistic that only tests Mojo::IOLoop::Stream behavior in exceptional situations
08:34 sri anything client/server is total bullshit
08:46 batman joined #mojo
08:55 * tempire issues sri a demerit for cursing
08:56 sri :(
08:56 tempire s/bullshit/I LOVE LIFE/
08:56 sri I'M SOWWY
08:58 * tempire issues mattp a free lunch arbitrarily
08:59 * tempire issues junkpiano a ++ for having an unexpected handle
09:11 sri http://www.daemonology.net/blog/201​1-12-17-POSIX-close-is-broken.html # eeep
09:14 lammel2 joined #mojo
09:23 sri think we'll soon need another release
09:24 sri crab: this one is yours?
10:14 GitHub75 joined #mojo
10:14 GitHub75 [mojo] kraih pushed 1 new commit to master: http://git.io/QRRVQw
10:14 GitHub75 [mojo/master] improved resilience of Mojo::IOLoop::Stream - Sebastian Riedel
10:14 GitHub75 left #mojo
10:35 GitHub179 joined #mojo
10:35 GitHub179 [mojo] kraih pushed 1 new commit to master: http://git.io/Xh-_iA
10:35 GitHub179 [mojo/master] simplified Mojo::IOLoop::Stream cleanup logic - Sebastian Riedel
10:35 GitHub179 left #mojo
11:13 mattastrophe joined #mojo
11:31 alnewkirk joined #mojo
11:45 crab yes, sure
11:45 crab now?
11:45 purl now is the time for the Kwisatz Haderach to arise and conquer America on a sandworm army
11:46 sri crab: dunno, there's an open pull request
11:46 sri and marcus has not delivered the LEARNING PERL section yet
11:46 crab ok, so i wait a bit.
11:47 crab let me look at the pull request though
11:47 sri both are just documentation though
11:47 sri as far as i'm concerned we are release ready
11:47 sri everything else is now your call :)
11:47 crab marcus: you want to do something different than what sri did yesterday?
11:48 crab oh, it's not a very important pull request
11:51 GitHub195 joined #mojo
11:51 GitHub195 [mojo] kraih pushed 1 new commit to master: http://git.io/oUoUkA
11:51 GitHub195 [mojo/master] added title to twitter and github links - Sebastian Riedel
11:51 GitHub195 left #mojo
11:59 sri just release imo
12:00 crab ok.
12:01 sri maybe we should some kind of release checklist in the wiki or so
12:04 arpadszasz joined #mojo
12:05 crab done.
12:06 sri why did you create a tag 1.52?
12:07 sri could be some old tag i deleted from master
12:07 crab i didn't. apparently it's a tag you created that was hanging around in my repository.
12:07 crab i was just going to figure out how to delete it again.
12:07 sri ok
12:08 GitHub30 joined #mojo
12:08 GitHub30 [mojo] amenonsen pushed 1 new commit to master: http://git.io/jN-kZQ
12:08 GitHub30 [mojo/master] Bump VERSION after release - Abhijit Menon-Sen
12:08 GitHub30 left #mojo
12:09 sri it's "git push origin :refs/tags/1.52"
12:09 sri still had it in my history :D
12:09 sri old tag where i forgot the v
12:09 crab already done
12:10 sri don't forget the tweet
12:10 sri and be glad it's just one sentence, back in the old days we had to write release announcement mails to the list :)
12:11 crab :-)
12:11 sri crab++
12:53 marcus Crab++
13:52 rem_lex| joined #mojo
14:01 rem_lex joined #mojo
14:35 sri http://contest.metacpan.org # maybe i'll send something too
14:54 memowe Maybe it's an omen that I just buyed a new wacom tablet. #logocontest :)
15:00 rem_lex|pivo joined #mojo
15:08 rem_lex| joined #mojo
15:09 marcus http://www.google-melange.com/gci​/task/view/google/gci2011/7134464 memowe,  please halp!
15:10 marcus sri is too lazy and I cannot speak german
15:10 memowe marcus: OK, I'll proofread.
15:10 sri ME NO GEERMAAN
15:10 memowe What's the next step?
15:10 purl the next step is PROFIT.
15:11 memowe purl: you aren't a person!
15:11 purl memowe: i'm not following you...
15:11 marcus memowe: either approve it or tell her what needs to be fixed.
15:11 marcus ME NO GEARMAN
15:11 memowe OK ok. :)
15:12 marcus I found out my ai-class examns are this weekend :(
15:13 marcus memowe: is this you? http://b.vimeocdn.com/ps/190/888/1908882_300.jpg
15:13 sri yes officer, that's him
15:14 memowe yup
15:15 marcus memowe: you're a very handsome dancer. Your gf must be proud.
15:15 memowe marcus: wtf!? ;)
15:15 sri this is getting weird
15:15 marcus memowe: http://nordaaker.com/docs/skitch/Mi​rko_Westermeier-20111217-161528.jpg
15:15 memowe Ah, ok. ;)
15:16 memowe Actually, I stopped dance competition. I'm now more in the dance teaching thing.
15:16 memowe latin, ballroom and salsa.
15:18 marcus :)
15:18 marcus probably fun. I gave up on dancing in 5. grade
15:18 marcus ooooh TM2 update \o/
15:19 memowe It actually is. Lots of fun.
15:20 marcus •TextMate 1.x and 2.0 can now both run at the same time.
15:21 marcus sri: did you switch to sublime text?
15:22 sri marcus: nope, trying to get stuff done ;)
15:22 marcus but obsessing over text editors is soo much better :)
15:22 marcus I was pretty happy with TM2 for work once I made a prove command to run unit tests in the bottom window
15:26 sri that does sound nice
15:28 memowe marcus: what's the right repository? leezu's or scholtzan's?
15:29 marcus scholtzan, but they are likely the same?
15:29 marcus seems scholtzan was merged back to leezu
15:29 memowe Yes, I see. :)
15:30 marcus she's the student tho
15:30 memowe marcus: are we supposed to compare original and german pod's? Or should I just check the german text?
15:30 marcus just check the german text
15:31 memowe aye. :)
15:31 marcus unless there's something that strikes you as wrong
15:33 marcus sri: https://metacpan.org/modul​e/TAP::Formatter::TextMate
15:37 crab memowe: does all the tinfoil on your head in http://b.vimeocdn.com/ps/190/888/1908882_300.jpg keep out enemy radar?
15:38 memowe crab: yes, and there's snake oil on it.
15:38 crab excellent.
15:38 purl excellent. are there any japan-natives lurking in here?
15:51 arpadszasz joined #mojo
15:56 memowe sri: weißt Du, wie man die Umlautprobleme mit den übersetzten PODs in den Griff bekommt?
15:58 memowe Wenn man die Dateien als latin1 codiert, werden Umlaute zumindest umgewandelt (ä => ae)...
15:58 sri memowe: english channel *cough*
15:59 sri just use utf8, no point bothering with latin1
15:59 sri mojolicious docs use utf8 too
15:59 sri see snowman examples in the routing guide for example
16:00 sri http://mojolicio.us/perldoc/Mo​jolicious/Guides/Routing#IRIs
16:00 arpadszasz_ joined #mojo
16:02 abra joined #mojo
16:02 memowe OK. :)
16:06 mire joined #mojo
16:18 crab i wonder if the spreadsheet guy will take patches to add use utf8; to his modules and convert the encoding to utf8
16:43 memowe Whoa, so much text... #german #cookbook
16:44 memowe I'm at PSGI/Plack and my suggestions file is at line 57.
16:48 crab memowe: wait, are you actually using twitter-style tags on irc?
16:48 memowe yeah. ;)
16:49 memowe I suggest not clicking on everything you can. ;)
16:49 marcus memowe: you're doing a great job :)
16:50 memowe Thanks marcus, I need that. :)
16:51 memowe marcus: since schotzan has issues disabled I'll provide my suggestions as a gisted markdown doc.
16:51 marcus memowe: both bringing the mojolicious to more germans and helping young students to learn more perl :)
16:51 marcus memowe: cool beans, I'll just reply in the GCI site with your link
16:52 memowe alright
16:53 marcus memowe++ # needs karma too
16:54 memowe okok, thanks, enough for at least one hour
16:54 memowe :)
16:56 marcus :D
16:57 sri germans are the worst customers/users!
16:57 sri don't need more of them ;p
17:03 marcus hei ho. må denne dagen bli god. den 17. dagen i blåfjell!
17:04 crab i wonder how many indian mojolicious users there are.
17:05 sri lets see
17:06 sri interesting
17:07 sri been some time since i looked at the analytics data
17:09 crab what does it tell you?
17:12 marcus fear and loathing
17:12 purl rumour has it fear and loathing is just a little weird. It's real people doing mostly rational things with cause and effect
17:12 sri we get around 40k page views per month
17:13 sri 8k unique
17:13 sri bounce rate is only 35%
17:14 sri india is rather low
17:15 sri 119 unique
17:15 sri most from Karnataka
17:16 sri Karnataka: 40, Maharashtra: 35, Tamil Nadu: 19, Andhra Pradesh: 7, Delhi: 6
17:16 sri all looked at 2.5 pages
17:17 crab delhi: 6 must all be me :-)
17:17 crab (bangalore is in karnataka, so that makes sense.)
17:17 sri india is not even in the top 10
17:17 sri i thought you were so many :o
17:19 sri US: 2.802, russia: 1.702, germany: 1.587, japan: 643, uk: 617
17:19 sri (still unique)
17:20 sri 6th is actually ukraine with 368
17:20 sri who would have thought
17:20 sri yko++
17:20 sri india is 16th
17:21 sri norway is 11th
17:21 marcus and we're 4 million people :)
17:21 sri marcus++ # that must be half of your population
17:22 sri china is 17th
17:23 sri average time on site is 3:15 btw
17:23 crab surprisingly high
17:23 sri indeed, also surprised by the low bounce rate
17:23 marcus well, it goes well with a low bounce rate
17:24 sri new typography clearly works
17:24 sri interested in any other stats?
17:25 marcus % new visitors?
17:25 sri 39%
17:25 purl 0.39
17:26 sri browsers are also interesting
17:26 purl okay, sri.
17:26 marcus low.
17:26 marcus interesting numbers
17:26 marcus sri: 80% ie6? :)
17:26 marcus iusethis is seeing 53% Safari
17:26 crab i wonder if anyone else still uses lynx.
17:26 sri firefox: 37%, chrome: 34%, safari: 17%, opera: 6%, ie: 3%
17:26 marcus and 21% Chrome
17:27 marcus sri: guess programmers use firefox
17:27 marcus I only see it at 18%
17:27 marcus but then it's not so great on the mac
17:27 sri yea, hate firefox on the mac
17:28 foomator where's w3m?
17:28 purl somebody said w3m was THE best browser there is, text or graphical!
17:28 foomator haha
17:28 Quai good to see that more people use opera than ie.. ;P
17:29 sri linux: 36%, windows: 32%, mac: 27%, freebsd: 2%, android: 2%
17:29 sri iphone: 1%
17:29 purl 0.01
17:29 inokenty Cool
17:29 inokenty Linux yeah!
17:30 sri samsung: 0.10%
17:30 purl 0.001
17:30 sri Oo
17:33 sri ops
17:33 sri i mixed some stuff up
17:34 sri it's 12k unique
17:34 alnewkirk joined #mojo
17:35 sri most of the other stuff seems ok
17:35 sri hmm, many people actually google for "mojolicious"
17:36 sri 1800 actually google for it!
17:38 xaka joined #mojo
17:38 sri ok, i think those were all interesting stats
17:50 xaka wow, so many changes for the last night
17:51 mire joined #mojo
18:10 noganex joined #mojo
19:00 tempire crab: your avatar is lame
19:00 tempire FIX IT!
19:03 crab what does that mean?
19:03 purl You're a nut! You're crazy in the coconut!
19:03 tempire meaning you should upload an avatar image so it shows on your cpan profile
19:04 tempire I think they use gravatar
19:10 MojoGuest822 joined #mojo
19:10 MojoGuest822 From: http://blog.kraih.com/perl-is-ready-for-html5 (83 hits)
19:40 MojoGuest86 joined #mojo
19:40 MojoGuest86 From: http://www.google.com/url?sa=t&rct=j&q=&a​mp;esrc=s&source=web&cd=4&ved=0CDYQFj​AD&url=http%3A%2F%2Fdev.xantus.org%2F&ei=​AvDsTsyJA_LKiALs5Y35Aw&usg=AFQjCNGw6nZv0wO42u​zUnHhWcD0vcKNULg&sig2=90cyii5E10726_qeheB0Xg (1 hits)
19:40 memowe Hi MojoGuest86!
19:40 MojoGuest86 left #mojo
19:40 memowe Bye MojoGuest86!
19:46 MojoGuest91 joined #mojo
19:50 mire joined #mojo
19:58 memowe Es funktioniert, da alles ohne Standardstruktur zu C</> geleitet wird und eine
19:58 memowe automatische Darstellung eintritt auch wenn kein eigentlicher Code vom
19:58 memowe Router ausgeführt wird. Der Renderer nimmt nur den C<text>-Wert auf und
19:58 memowe generiert eine Antwort.
19:58 memowe for teh laughs
19:59 memowe :/
19:59 metaperl joined #mojo
20:11 driller_w joined #mojo
20:15 driller_w I can't seem to pass an ip-address in a parameter for whatever reason, passing like "blabla" works whilst "127.0.0.1" doesn't work (nothing happends, it doesn't recognize the route at all) -- this is what I am doing: http://pastebin.com/DftKvW2p
20:15 driller_w Anyone have any takes on this?
20:25 vervain : doesn't match . does it?
20:25 sugar joined #mojo
20:26 driller_w oh? have I misunderstood what : is? I thought it was used for defining a parameter?
20:27 vervain I'm newish... so I don't want to mislead you... but you may have to look at Wildcard placeholders as well.
20:28 vervain maybe something like .../(*gs_address)/... would help?
20:29 vervain sorry sorry sorry.
20:29 vervain .../(.gs_address)/...
20:29 driller_w fantastic! that did the trick
20:30 vervain http://search.cpan.org/~ams/Mojoli​cious-2.38/lib/Mojolicious/Guides/​Routing.pod#Wildcard_placeholders
20:30 vervain And it's friend... 'Relaxed Placeholders' just below.
20:30 vervain Glad to be of service. :-)
20:30 inokenty http://mojolicio.us/perldoc/Mojoliciou​s/Guides/Routing#Relaxed_placeholders
20:30 driller_w going to read that through; looks like I have underestimated how flexible the routes really are
20:31 driller_w thank you
20:31 vervain no - Have fun.
20:31 vervain s/no/np/
21:15 baton8 joined #mojo
21:30 memowe vervain++
21:30 driller_w joined #mojo
21:31 memowe welcome back, driller_w! :)
21:35 * marcus just finished watching Drive. Awesome movie
21:37 * memowe just finished outboxing my new wacom tablet. :)
21:37 foomator does it have a display?
21:37 memowe No. ;)
21:37 foomator otherwise not interesting :)
21:38 foomator do you photoshop a lot?
21:38 memowe No, but I often GIMP.
21:39 marcus memowe: vector ftw
21:39 memowe marcus: k, which app do you prefer?
21:39 marcus memowe: me? Omnigraffle :-)
21:40 marcus I'm not an artist tho
21:40 foomator uh, gimp
21:40 marcus I believe sri uses Sketch
21:41 foomator i'm photoshop poisoned, so no gimp here and everytime i use it i really want to use photoshop
21:41 memowe My last PS version was 6
21:41 vervain snap!
21:42 vervain Oh hang on... maybe it was 3... off to google.
21:43 vervain Ah yep... had to be 3ish. :-)
21:50 tempire sketch!
21:50 tempire must prettier than inkscape
21:52 memowe kkk!
21:57 marcus perl perlito.pl -Cperl5 -e 'class Main { use Mojolicious::te; get "/" => sub { shift.render(text => "OH NOES") }; app.start  }' | perl - daemon
21:57 marcus works!
22:03 MojoGuest724 joined #mojo
22:12 alnewkirk joined #mojo
22:23 memowe marcus: you has .!
22:23 marcus i do?
22:23 marcus is that the opposite of slashdot?
22:24 memowe you has app.start!
22:24 marcus oh :)
22:24 marcus yes
22:25 marcus and shift.render
22:25 marcus but not much more atm =)
22:25 marcus sub { my $self=shift; seems to fail horribly.
22:25 metaperl joined #mojo
22:26 memowe oh, ok. :)
22:26 memowe did you overload the . operator?
22:26 marcus memowe: no, I'm playing with Perlito
22:27 marcus https://github.com/fglock/Perlito
22:33 memowe kkk!
22:36 marcus seems it does not support 'extends' yet :-/
22:37 marcus tried to get http://pastie.textmate.org/p​rivate/ef0moigl1smzooaqrgbzw to run
22:39 marcus missing value after operator '/' at lib5/Perlito/Expression.pm line 315. <- stuff like that is not very fun to work with :)
22:50 j3nnn1 joined #mojo

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