Camelia, the Perl 6 bug

IRC log for #mojo, 2012-07-28

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

All times shown according to UTC.

Time Nick Message
00:12 GabrielVieira joined #mojo
01:01 GabrielVieira joined #mojo
01:08 GabrielVieira joined #mojo
01:17 xaka joined #mojo
01:25 tempire sri: was the white-space micro template language something you were actually working on, or just considering how it would look?
01:50 GabrielVieira joined #mojo
01:58 SmokeMachine joined #mojo
01:58 CromeDome joined #mojo
02:37 Psyche^ joined #mojo
02:47 noganex joined #mojo
03:40 asarch joined #mojo
05:07 mattastrophe joined #mojo
05:46 sri tempire: nope, not working on it
05:51 laouji joined #mojo
05:51 d4rkie joined #mojo
06:42 arpadszasz joined #mojo
07:03 Vandal joined #mojo
08:02 Foxcool joined #mojo
08:30 Britzel joined #mojo
08:47 sri hmmm
08:48 * sri wonders if disabling uninitialized warnings in Mojo::Base would be a better solution than using smartmatch
09:02 sri not sure if it would make mojolicious too opinionated
09:02 sri but how often working around that warning results in ugly code starts to piss me off
09:03 marcus it's sometimes a good warning tho
09:03 sri when?
09:03 marcus when you expect there to be data, and there's none? ;-)
09:03 marcus happened to me in the past :p
09:04 sri you're hand waving ;p
09:04 sri i can't remember the last time it helped me find a bug
09:04 marcus I'm hand weaving :)
09:04 marcus and also about to drive home to Oslo. Offline for a few
09:06 sri marcus: so that's a -1 from you for no warnings 'uninitialized';?
09:06 marcus sri: It depends, but I don't see a problem with smartmatch for this.
09:06 marcus if smartmatch is off the table, then I might change my vote.
09:06 sri smartmatch is a little slower
09:07 sri and no warnings of course also works for regex
09:07 sri ould make a lot of code more pretty
09:07 sri *+w
09:07 sri we still have tons of ($foo || '') =~ //
09:08 sri the smartmatch thing really illustrates how little the warning is worth
09:09 sri not a single case where we actually care if a value is undef
09:09 sri we just throw smartmatch at it
09:18 amirite poo
09:18 GitHub2 joined #mojo
09:18 GitHub2 [mojo] kraih pushed 1 new commit to master: http://git.io/q1GHiA
09:18 GitHub2 [mojo/master] improved Mojo::Base to load IO::Handle - Sebastian Riedel
09:18 GitHub2 left #mojo
09:19 sri at least that one is a no brainer :)
09:35 GitHub79 joined #mojo
09:35 GitHub79 [mojo] kraih pushed 1 new commit to master: http://git.io/f_5Ydg
09:35 GitHub79 [mojo/master] documentation tweaks - Sebastian Riedel
09:35 GitHub79 left #mojo
10:04 lukep joined #mojo
10:17 marcus_ joined #mojo
10:17 marcus_ oh hai
10:27 Patterner joined #mojo
10:30 sri http://golubenco.org/2009/09/19/understa​nding-the-code-inside-tornado-the-asynch​ronous-web-server-powering-friendfeed/ # an article like this about mojolicious internals could be nice too
11:28 GitHub181 joined #mojo
11:28 GitHub181 [mojo] kraih pushed 1 new commit to master: http://git.io/720bHg
11:28 GitHub181 [mojo/master] improved a few synopsis examples - Sebastian Riedel
11:28 GitHub181 left #mojo
11:44 GitHub150 joined #mojo
11:44 GitHub150 [mojo] kraih pushed 1 new commit to master: http://git.io/3i-O8g
11:44 GitHub150 [mojo/master] we now recommend Perl 5.14 - Sebastian Riedel
11:44 GitHub150 left #mojo
12:04 mire joined #mojo
12:14 titan joined #mojo
12:16 dbr joined #mojo
13:01 GabrielVieira joined #mojo
13:15 andrefs joined #mojo
13:43 Foxcool joined #mojo
13:49 Leandr joined #mojo
14:04 rem_lex|pivo joined #mojo
14:08 rem_lex| joined #mojo
14:24 Britzel_ joined #mojo
14:46 Foxcool joined #mojo
15:47 Britzel_ joined #mojo
16:47 ZadYree joined #mojo
17:16 mire joined #mojo
18:07 ZadYree joined #mojo
18:09 rem_lex|pivo joined #mojo
18:37 marcus sri: IO::Async::Loop::Mojo seems broken. Did we use to have a method in the ioloop called ->io ?
18:38 sri marcus: don't think so
18:38 marcus on Mojo::Reactor even
18:39 sri but i would expect it to be broken, LeoNerd wrote it at the same time i was still designing the reactor api
18:39 marcus hmm, we still do, why doesn't it work...
18:39 sri he actually made me do many of the changes :)
18:39 marcus I'd like to fix it, I want to use his IRC module
18:40 marcus seeing Method "io" not implemented by subclass at /Users/marcus/perl5/perlbrew/perls/perl-5.14.​1/lib/site_perl/5.14.1/IO/Async/Loop/Mojo.pm line 92 , but that seems like it should be calling ->io on Mojo::Reactor
18:40 xaka1 joined #mojo
18:41 marcus oh, actually, that will break
18:42 marcus Guess he should be using Mojo::Reactor::Poll
18:42 sri he also didn't fix IO::Async::Loop::EV, so i wouldn't get my hopes up
18:42 sri that would be the better route to go imo
18:43 sri but only timers work there atm, no io
18:43 marcus :(
18:44 sri he might be more motivated to fix IO::Async::Loop::Mojo, considering there's no mlehmann involvement
18:45 sri ah, it's designed wrong anyway
18:46 sri you only get a new reactor instance, but it won't allow you to share the global singleton one
18:46 sri even if you fix it, it won't really work
18:47 sri getting IO::Async to play nice with others is about as painful as POE
18:48 marcus sri: it should probably be using Mojo::IOLoop->reactor?
18:48 sri ->singleton->reactor
18:48 marcus mm
18:48 sri but LeoNerd won't like that
18:49 sri it's not very purist
18:50 marcus guess he needs to change it to take the reactor as a constructor parameter then.
18:50 sri if you're serious, i would just fork IO::Async::Loop::EV and make it work
18:50 marcus I don't want to depend on EV tho
18:51 marcus would prefer if this thing could run pure perl
18:51 sri maybe make a Mojo::Reactor::IOAsync ;p
18:51 marcus :)
18:51 sri http://mojolicio.us/perldoc/Mojo/Reactor#SYNOPSIS
18:52 sri that's the blueprint
18:53 sri the experience you gain by doing it should be pretty invaluable
19:01 marcus I will try
19:01 marcus seems more sensible than this crap
19:02 marcus also, I agree about the experience.
19:04 marcus hrm, I would like to have a working prove build system for sublime text.
19:04 marcus I tried making one, but for some reason it gives no output.
19:04 marcus the panel opens, the status line says 'Building', then nothing
19:06 marcus hrm, from looking at the console, it seems it's actually trying to do some svn crap
19:44 daniel_ joined #mojo
20:20 ZadYree joined #mojo
20:38 daniel_ joined #mojo
21:11 perlite joined #mojo
22:02 SmokeMachine joined #mojo
22:26 crab hi
22:37 daniel_ joined #mojo
22:38 daniel__ joined #mojo

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