Camelia, the Perl 6 bug

IRC log for #mojo, 2011-06-18

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

All times shown according to UTC.

Time Nick Message
00:09 xantus[] YOU LOOK LIKE PHP
00:17 sri LEAVE PERL ALONE!
00:17 sri :,(
00:50 bosphorus left #mojo
00:51 stephen joined #mojo
00:59 stephen left #mojo
01:39 j3nnn1 joined #mojo
01:41 scallywag joined #mojo
01:58 gshank left #mojo
02:35 scallywag left #mojo
02:48 gshank joined #mojo
03:47 alnewkirk|com just found node.js, ... im in love :}
04:16 alnewkirk|com sri, please let me know when the new "reload" functionality is avail
04:56 kaare joined #mojo
05:23 alnewkirk|com <%= javascript ":import" "/assets/js/" %> ... would be cool
05:23 alnewkirk|com sorry <%= javascript ":import", "/assets/js/" %>
05:23 crab alnewkirk: it might take some time for sri to make a time machine and go back in time until yesterday so that he can tell you it's available
05:24 alnewkirk|com crab, it is?
05:24 crab yes. i'm using it. it's great.
05:25 crab morbo app -w lib -w templates
05:26 alnewkirk|com i dont see it in the docs
05:28 crab Mojolicious::Lite, Mojolicious::Guides::Growing, Mojo::Server::Morbo
05:29 crab (from grep)
05:29 alnewkirk|com you misunderstood
05:29 alnewkirk|com <%= javascript ":import" "/assets/js/" %> ... look closer
05:31 crab huh?
05:33 kaare left #mojo
05:33 crab <alnewkirk|com> sri, please let me know when the new "reload" functionality is avail
05:33 alnewkirk|com oh
05:33 alnewkirk|com i thougth you meant the javascript thing
05:33 crab oh, no.
05:34 crab what would that do? include a bunch of different javascript files?
05:34 alnewkirk|com i need to upgrade then ... is it on cpan or git?
05:34 alnewkirk|com include everything in the target dir
05:34 crab git
05:34 alnewkirk|com rails has a simliar thing and i think its useful
05:56 fhelmber_ joined #mojo
06:02 sugar joined #mojo
06:20 perlrocks Twitter: "I really like #mojolicious, but it could do with something like @railstutorial" --purinkle http://twitter.com/purinkl​e/status/81969590011314176
06:34 sugar left #mojo
07:34 fhelmber_ left #mojo
07:56 arpadszasz joined #mojo
08:33 preflex left #mojo
08:35 preflex joined #mojo
08:42 spleenjack joined #mojo
08:45 preflex left #mojo
08:50 preflex joined #mojo
09:00 perlrocks Twitter: "Mojo::DOM is pretty much jQuery in #perl neat #npw2011" --chrborup http://twitter.com/chrboru​p/status/82009743622807552
09:03 perlrocks Twitter: "listening to a presentation on #Mojolicious at #npw2011." --ZoIomon http://twitter.com/ZoIomon​/status/82010545233993728
11:21 j3nnn1 left #mojo
11:54 sri alnewkirk|com: you're damn late again, node.js was new like 2 years ago
12:12 sri crab: btw. morbo now automatically watches lib, templates and public
12:16 GitHub14 joined #mojo
12:16 GitHub14 [mojo] kraih pushed 1 new commit to master: http://bit.ly/jcXJXo
12:16 GitHub14 [mojo/master] Morbo does not need to watch the "public" directory by default - Sebastian Riedel
12:16 GitHub14 left #mojo
12:21 sh9 joined #mojo
12:30 mattastrophe joined #mojo
12:36 j3nnn1 joined #mojo
12:46 rhaen joined #mojo
12:46 rhaen ho!
12:55 moritz ho ho ho, and a barrel of rum!
12:56 rhaen moritz: true! :-)
12:58 sri purl: hohoho
12:58 purl sri: sorry...
12:58 rhaen sri: :)(
12:58 rhaen grmpf.
12:58 rhaen sri: :-) - hejas
12:58 * sri waves
12:59 rhaen first mojo up - running since 1.0 - stable and smooth
12:59 rhaen sri: the 1.0 was good one :)
12:59 sri our latest releases were really good too ;)
13:00 sri especially Mojo::DOM made amazing progress
13:00 rhaen sri: oh, I just updated the application.
13:00 rhaen sri: I am just writing an article about it.
13:00 rhaen especially about the selectors thing
13:00 sri try morbo from github
13:00 sri (new dev server)
13:01 rhaen the rails thing?
13:01 rhaen *hides
13:01 sri oO
13:01 sri http://groups.google.com/group/mojolicio​us/browse_thread/thread/75b29305d01b25bf
13:02 arpadszasz left #mojo
13:02 rhaen sri: nah, the article will be about using Mojo::DOM Selectors for extracting information out of HTML/XML pages instead of using regexp
13:02 sri ah
13:03 rhaen so maybe like a small tutorial for those web admins which need to get data for status monitoring, etc.
13:03 rhaen something like that, right now I am in the planning process.
13:03 rhaen I was absent for quite a while (job things) - and I was amazed to see the mojo progress
13:03 sri sounds good
13:04 rhaen awesome work guys!
13:04 sri \o/
13:04 rhaen I looked into the docs and the wiki and found that it needs some love, too
13:04 rhaen I will try to catch up again with reading everything and get me up to date.
13:10 * sri would like to release 1.44 soon
13:10 sri but still need windows test results for morbo :/
13:10 rhaen ah, hang on. I am on a win machine right now
13:12 sri mojo generate lite_app; MORBO_DEBUG=1 morbo myapp.pl
13:13 sri and then edit myapp.pl and refresh browser
13:13 rhaen hang on. I need to deal with some stuff before :) Like installing git here.
13:16 rhaen ok and what should happen? A successful reload?
13:16 sri ye
13:17 sri debug messages will tell you details
13:30 rhaen k. cloning...
13:31 rhaen perl 5.12.3 strawberry here
13:37 rhaen ok, good news. Just cloned the repo - it builds and all the tests succeed. Now I am installing it and test the morbo thing
13:41 * sri wonders if he should add a little hack that makes "mojo daemon --help" and friends work
13:41 rhaen fails when I try to start morbo
13:41 sri as an alternative to "mojo help daemon"
13:41 sri rhaen: NOOOO!
13:41 sri rhaen: what's the problem?
13:42 rhaen he looks for a file and can't find it.
13:42 sri ?
13:43 rhaen I'll gist it
13:43 rhaen https://gist.github.com/795d0932302e73fdfbd9
13:44 rhaen strange.
13:44 purl But true.
13:44 sri huh
13:45 rhaen strange, hm.
13:45 sri looks like Cwd::abs_path fails on windows
13:46 rhaen is it a core module?
13:46 sri yes
13:46 sri seems to work differently on windows
13:46 rhaen hm. I'll try a few examples.
13:47 sri on unix it doesn't fail if the directory doesn't exist
13:48 rhaen even if I move it inside a sub dir it breaks
13:48 sri you mean you create a lib dir?
13:49 rhaen ah, uhm. No - misunderstanding. I've just created a directory and put the the script (lite app) inside the directory
13:50 sri that doesn't make a difference
13:50 rhaen I then moved outside the directory so I used morbo hello_world/hello.pl to start it.
13:50 rhaen k
13:52 rhaen however, the command abs_pathtself is working
13:52 sri i'll commit a version without abs_path
13:52 sri the what?
13:53 rhaen http://pastie.org/2087253
13:53 sri i'm not sure what you're doing
13:54 sri why would it not find itself?
13:54 sri the problem is that the lib and templates directories don't exist
13:54 rhaen jup, got it.
13:55 rhaen AH!
13:55 rhaen jup. it works when I create the directories on the same level as the script.
13:56 sri think i might have a solution
13:56 sri just a minute
13:56 rhaen but it fails when I try to run morbo from the "outside" directory
13:56 rhaen so:
13:56 rhaen mojo generate lite_app hello_world.pl
13:56 rhaen mkdir templates lib
13:57 rhaen morbo hello_world.pl
13:57 rhaen works
13:57 rhaen it starts the server and runs "Discovering news files, checking...."
13:58 GitHub52 joined #mojo
13:58 GitHub52 [mojo] kraih pushed 1 new commit to master: http://bit.ly/kLl3Vp
13:58 GitHub52 [mojo/master] added experimental --help support for all commands and fixed a Windows bug in Morbo - Sebastian Riedel
13:58 GitHub52 left #mojo
13:58 sri should be fixed
13:58 rhaen I'll update
14:02 rhaen building ...
14:04 rhaen running tests..
14:04 purl running tests is probably more complicated
14:05 rhaen All tests successful.
14:05 rhaen Files=65, Tests=5103, 145 wallclock secs ( 4.17 usr +  0.63 sys =  4.80 CPU)
14:05 purl Time to write more tests!
14:05 rhaen Result: PASS
14:06 sri wow, 145 wallclock secs is a lot
14:06 sri takes 14 here
14:08 rhaen it starts.
14:08 rhaen now I am doing the editing on it
14:09 rhaen looks like this:
14:09 rhaen DISCOVERING NEW FILES
14:09 rhaen CHECKING myapp.pl
14:09 rhaen DISCOVERING NEW FILES
14:09 rhaen CHECKING myapp.pl
14:09 rhaen MODIFIED myapp.pl
14:09 rhaen DISCOVERING NEW FILES
14:10 rhaen CHECKING myapp.pl
14:10 rhaen Terminating on signal SIGTERM(15)
14:10 rhaen C:\mojo-testing>
14:12 rhaen is that the desired behavior?
14:13 kaare joined #mojo
14:16 sri gist would have been nice, but yea
14:16 rhaen oops, true. Sorry - I am spamming the channel.
14:17 sri looks like there will be a release soon then :)
14:17 rhaen cool :-)
14:17 rhaen hooray for the windows guys!
14:17 rhaen As stated above: tested with strawberry perl 5.12.3 on winXP
14:23 alnewkirk|com sri, wait (... you're damn late again, node.js was new like 2 years ago)
14:24 alnewkirk|com ... was POE written as a result of the Node.js release?
14:31 mattastrophe left #mojo
14:40 sri POE is 12 years old
15:57 sh9 left #mojo
16:34 spleenjack left #mojo
17:18 sri gonna release 1.44 in an hour or so
17:20 sh9 joined #mojo
17:48 sh9 left #mojo
17:53 perlrocks Twitter: "@captaindomestic For simple things, Dancer. For big things, Catalyst. Some people love Mojolicious. All are worth exploring." --chromatic_x http://twitter.com/chromatic​_x/status/82143997551837184
18:00 sh9 joined #mojo
18:06 GitHub84 joined #mojo
18:06 GitHub84 [mojo] kraih pushed 1 new commit to master: http://bit.ly/lpNCml
18:06 GitHub84 [mojo/master] release preparations - Sebastian Riedel
18:06 GitHub84 left #mojo
18:15 perlrocks Twitter: "Mojolicious 1.44 by KRAIH - http://metacpan.org/releas​e/KRAIH/Mojolicious-1.44/" --cpan_new http://twitter.com/cpan_ne​w/status/82149435747991552
18:17 perlrocks Twitter: "Released #mojolicious 1.44 with the new Morbo development web server and mount plugin, enjoy! :) http://t.co/gHzoaF4 #perl" --kraih http://twitter.com/kraih/status/82150073676472321
18:18 sri \o/
18:20 shonorio joined #mojo
18:25 mattastrophe joined #mojo
18:25 ph1g joined #mojo
18:28 ndiewald joined #mojo
18:44 rhaen hooray for sri
18:45 rhaen we have a new mojolicious!
18:45 rhaen I will update everything!
18:45 sri ALL GLORY TO THE HYPNOTOAD!
18:46 rhaen cheers!
18:46 marty sri++
18:46 marty Man you roc... ALL GLORY TO THE HYPNOTOAD!
18:47 sri http://www.youtube.com/watch?v=​3lauOEEillQ&amp;feature=related
18:48 * marty feels the green qweezies after watching that vid
18:48 sri http://www.youtube.com/watch?v=9xdVmXubIV0
18:53 rhaen yep. Mojo is webscale (tm)
18:53 marty So the question we all face now is.  In a Hypnotoad -vs- Morbo matchup.  Who kicks who's butt?
18:54 sri i think there are too many unanswered questions
18:55 sri morbo could be immune to hypnotoad
18:55 rhaen http://www.youtube.com/watch?v=gazFV8X8bRE
19:00 rhaen hm. l8 - time to cover the motorcycle
19:00 rhaen with it's hood
19:14 ph1g left #mojo
19:21 alnewkirk|com bug found, http://localhost:3000/? ... keys %{$self->req->params->to_hash}
19:21 alnewkirk|com length is 1
19:23 alnewkirk|com fixed in my code with ...
19:23 alnewkirk|com # mojolicious bug at the time of coding
19:23 alnewkirk|com delete $data->{""} if defined $data->{""};
19:31 arpadszasz joined #mojo
19:31 ndiewald left #mojo
19:33 GitHub12 joined #mojo
19:33 GitHub12 [mojo] kraih pushed 1 new commit to master: http://bit.ly/jy5GJq
19:33 GitHub12 [mojo/master] improved Morbo documentation and fixed a small bug in Mojo::Parameters - Sebastian Riedel
19:33 GitHub12 left #mojo
19:33 psimanx1 left #mojo
19:34 sri alnewkirk|com: fixed
19:34 alnewkirk|com sri, thanks
19:43 Foxcool joined #mojo
19:46 GitHub49 joined #mojo
19:46 GitHub49 [mojo] kraih pushed 1 new commit to master: http://bit.ly/mJx3K1
19:46 GitHub49 [mojo/master] small documentation tweaks - Sebastian Riedel
19:46 GitHub49 left #mojo
19:49 jwang left #mojo
19:53 Foxcool left #mojo
19:59 mattastrophe left #mojo
20:01 alnewkirk|com sri, http://anainc.tumblr.com/
20:03 sri afraid i'm from the "validation should be done on the model layer" camp
20:04 alnewkirk|com why not both
20:04 sri overkill?
20:04 purl there is no such thing as overkill. there is only "not enough kill" and "enough kill" or if it's worth doing, it's worth overdoing (mythbusters) or http://thereifixedit.files.wordpress​.com/2009/12/129044739191257156.jpg
20:05 moritz incosistencies etc.
20:06 alnewkirk|com tho the crux of the idea is creating a middleware layer as opposed to handling it per occurrence
20:06 alnewkirk|com moritz, such as..
20:07 moritz alnewkirk|com: if the model checks on the two levels are only subtly different, you create very obscure bugs
20:09 alnewkirk|com oh i see what you mean, what i meant was i dont really care which camp you belong to (controller vs model-level validation), i simply see the benefit of implementing input validation as a layer
20:09 alnewkirk|com node.js does it because they dont have any other choice, but its still nifty
20:10 mattastrophe joined #mojo
20:19 GitHub162 joined #mojo
20:19 GitHub162 [mojo] kraih pushed 1 new commit to master: http://bit.ly/jZFTrE
20:19 GitHub162 [mojo/master] fixed typo - Sebastian Riedel
20:19 GitHub162 left #mojo
20:21 sri node.js has many problems because of stuff like this though
20:21 sri it very much discourages high level abstraction
21:02 GitHub124 joined #mojo
21:02 GitHub124 [mojo] kraih pushed 1 new commit to master: http://bit.ly/kkjhAk
21:02 GitHub124 [mojo/master] many more small documentation improvements - Sebastian Riedel
21:02 GitHub124 left #mojo
21:07 GitHub79 joined #mojo
21:07 GitHub79 [mojo] kraih pushed 1 new commit to master: http://bit.ly/jkWBvT
21:07 GitHub79 [mojo/master] fixed more typos - Sebastian Riedel
21:07 GitHub79 left #mojo
21:09 kaare left #mojo
21:36 yko left #mojo
22:15 tempire daily list spam check: no spam
22:16 tempire $tempire->recurring( 86400 => sub { remove_list_spam } );
22:25 sri \o/
23:57 sh9 left #mojo

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