Camelia, the Perl 6 bug

IRC log for #mojo, 2012-03-31

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

All times shown according to UTC.

Time Nick Message
00:00 xaka joined #mojo
00:08 mire joined #mojo
01:10 scott joined #mojo
01:11 GitHub85 joined #mojo
01:11 GitHub85 [mojo] kraih pushed 1 new commit to master: http://git.io/Jcjcog
01:11 GitHub85 [mojo/master] added Mojo::Log tests - Sebastian Riedel
01:11 GitHub85 left #mojo
01:45 GitHub148 joined #mojo
01:45 GitHub148 [mojo] kraih pushed 1 new commit to master: http://git.io/G9b8fA
01:45 GitHub148 [mojo/master] a few more Mojo::Log tests - Sebastian Riedel
01:45 GitHub148 left #mojo
02:24 mercutioviz joined #mojo
02:24 mercutioviz left #mojo
02:28 GitHub3 joined #mojo
02:28 GitHub3 [mojo] kraih pushed 1 new commit to master: http://git.io/HJ7dqA
02:28 GitHub3 [mojo/master] better Mojo::Log test - Sebastian Riedel
02:28 GitHub3 left #mojo
03:21 GitHub2 joined #mojo
03:21 GitHub2 [mojo] kraih pushed 1 new commit to master: http://git.io/X-iUng
03:21 GitHub2 [mojo/master] better request examples - Sebastian Riedel
03:21 GitHub2 left #mojo
03:39 mercutioviz joined #mojo
04:26 asarch joined #mojo
05:06 bzero joined #mojo
05:25 kaare joined #mojo
06:45 taryk joined #mojo
06:50 batman joined #mojo
07:01 inokenty joined #mojo
07:13 arpadszasz joined #mojo
07:16 marcus sri: You night owl you.
07:16 marcus is there a sane way to get EV onto osx lion at the moment?
07:40 tempire I have EV on osx lion
07:41 tempire didn't have a problem
07:41 omega libev is in homebrew atleast?
07:44 marcus libev works, but I get this problem with EV http://lists.schmorp.de/piper​mail/libev/2012q1/001721.html
07:44 marcus tempire: You have 4.11?
07:45 tempire yes
07:45 tempire just cpanm'd it
07:50 Leandr joined #mojo
07:51 omega Successfully installed EV-4.11
07:51 omega here as well
08:08 chorny joined #mojo
08:41 taryk joined #mojo
09:11 marcus Hmpf
10:11 venkatk_ joined #mojo
10:11 tempire joined #mojo
12:04 judofyr joined #mojo
12:15 Htbaa joined #mojo
12:22 mire joined #mojo
12:32 batman joined #mojo
13:36 tempire joined #mojo
13:47 sri works here as well
13:55 gbacon joined #mojo
15:01 judofyr joined #mojo
15:25 black joined #mojo
15:32 GitHub101 joined #mojo
15:32 GitHub101 [mojo] kraih pushed 1 new commit to master: http://git.io/dDNs3Q
15:32 GitHub101 [mojo/master] removed namespace FAQ answer - Sebastian Riedel
15:32 GitHub101 left #mojo
15:32 sri nobody listens anyway
15:39 judofyr joined #mojo
15:44 taryk joined #mojo
15:45 fibo joined #mojo
15:47 Psyche^ joined #mojo
15:53 tempire joined #mojo
15:53 SSergey joined #mojo
15:56 SSergey Hello guys, maybe i missed something, but on my linux hypnotoad dont doing automatic hot deployment. Second run and nothing happened.
15:57 SSergey i kill it by myself kill -9 pid
15:57 crab -9! try -USR2
15:58 tempire SSergey: you already tried "hypnotoad myapp" ?
15:58 SSergey And once more, before this in my "ps -A" i sees hypnotoad like "pid perl" now it shows "pid /var/www/scriptname"
15:58 SSergey sure, hypnotoad script/myapp
15:58 SSergey ou, mean without script
15:59 SSergey not trying this before, one second.
15:59 Leandr joined #mojo
15:59 crab i don't think that's what he meant
15:59 taryk joined #mojo
16:00 tempire sri: is the instruction to use Mojolicious::Plugin:: still explicitly stated somewhere?
16:00 SSergey root@s15445894:/var/www2# hypnotoad script/durango
16:00 SSergey root@s15445894:/var/www2#
16:00 SSergey root@s15445894:~# ps -A
16:00 SSergey 8555 ?        00:00:00 /var/www2/scrip
16:00 SSergey 8556 ?        00:00:00 /var/www2/scrip
16:00 SSergey 8557 ?        00:00:00 /var/www2/scrip
16:00 SSergey 8558 ?        00:00:00 /var/www2/scrip
16:00 SSergey 8559 ?        00:00:00 /var/www2/scrip
16:00 SSergey was kicked by sri: SSergey
16:01 sri tempire: all plugin examples in the guides
16:01 sri and of course the plugin generator
16:01 SSergey joined #mojo
16:01 SSergey ops, sorry.
16:02 sri no pasting into the channel please
16:03 SSergey Sorry again!
16:03 sri which mojolicious version are you using?
16:03 SSergey 2.70
16:03 sri then your log file should tell you some things about the zero downtime restart
16:04 sri like if it succeeds or fails
16:05 SSergey just  Listening at "http://*:8080"
16:05 SSergey and works, i can access pages.
16:05 SSergey after i run it again i sees in logs  Hypnotoad server 8581 started for "/var/www2/script/durango"
16:05 tempire There should be a "Upgrade successful, stopping [pid]"
16:06 SSergey perl 5.14.2
16:06 purl perl 5.14.2 is out, isn't it? why would the perldocs (e.g. http://perldoc.perl.org/perlrun.html) still be pointing to 5.14.1?
16:07 tempire that is a good question, purl
16:07 purl ...but that is true too....
16:07 SSergey I think it start doing like that after i update ubuntu. But not sure..
16:08 sri i run hypnotoad on latest ubuntu too, it works flawless
16:09 SSergey Linux s15445894 2.6.32-40-server :( what i can do to find why it this way for me?
16:10 sri what is your hypnotoad configuration?
16:11 SSergey not using any configuration, just defaults.
16:12 SSergey apache proxies to hypnotoad
16:16 SSergey on my DEV server with same scripts works as expected with same code..
16:20 SSergey same ubuntu, same mojo version. One difference is what one sever works from root, one from other user.
16:21 SSergey not privileged
16:38 perlite joined #mojo
16:39 GitHub53 joined #mojo
16:39 GitHub53 [mojo] kraih pushed 1 new commit to master: http://git.io/6XY8Ug
16:39 GitHub53 [mojo/master] improved Mojo::Log tests - Sebastian Riedel
16:39 GitHub53 left #mojo
16:39 sri would be nice if someone could run the new tests on windows
16:40 SSergey i will do.
16:41 sri tests with temporary files always make me nervous on windows
16:47 SSergey joined #mojo
16:48 SSergey cpanm http://latest.mojolicio.us , no one test fails. Windows 7 x64. perl 5.14.2
16:50 taryk joined #mojo
16:52 sri \o/
16:52 sri thanks
16:52 SSergey and for 2.71 same on linux, no hot deployment
16:52 SSergey Seems it something with my server?!
16:52 sri that's the only sensible conclusion
16:53 SSergey bad :( ok, try new perl from perlbrew. maybe it help
16:54 kaare joined #mojo
17:10 GitHub136 joined #mojo
17:10 GitHub136 [mojo] kraih pushed 1 new commit to master: http://git.io/sgNViQ
17:10 GitHub136 [mojo/master] improved Hypnotoad error handling - Sebastian Riedel
17:10 GitHub136 left #mojo
17:11 sri SSergey: just a hunch, but maybe that will tell you something
17:24 SSergey will try.
17:25 taryk joined #mojo
17:28 SSergey no not helps, just  Hypnotoad server 13415 started for ....  On second run. Will review my server
17:29 sri look at the log for a full minute
17:29 sri there are upgrade timeouts that should report a failure
17:30 SSergey ok, i look
17:31 sri http://hastebin.com/raw/dufovawequ # this is what a successful upgrade looks like
17:44 SSergey still nothing in logs
17:48 sri then something with your server is completely screwed up
17:50 SSergey ok, i`ll trying to install with perlbrew same 5.14.2 and fresh empty app working well.
17:50 SSergey hypnotoad says : Starting hot deployment for Hypnotoad server.
17:50 SSergey same server. just other user. Not root.
17:51 SSergey now try same app, what was for root
18:00 SSergey hmm. Hypnotoad fails for hot deployment again...
18:11 tempire joined #mojo
18:15 asarch joined #mojo
18:18 SSergey Well now all is ok. One module was without use strict.
18:19 SSergey not only "use strict". use features too. I just add use Modern::Perl. And now all work as expected
18:21 SSergey but why it fail to deploy hypnotoad ?!
18:21 sri you tell me
18:21 SSergey All others modules has "use Modern::Perl". Very strange.
18:22 sri also, your whole explanation makes no sense
18:22 sri you said you had the exact same code on another box and it worked
18:22 SSergey and now it work on old box too.
18:23 SSergey I just add use Modern-Perl. in code what run fron root.
18:23 SSergey from*
18:23 SSergey Now it work everywhere. In old box and new box.
18:24 SSergey seems some "use features" magic..
18:25 SSergey use feature*
18:25 sri if you used a 5.10+ feature in your code it shouldn't have worked anywhere
18:27 SSergey "~~" operator is 5.10+ ?
18:34 SSergey in 5.8.8 this operator does not work. in 5.10.1 work without use feature. Nothing else from "use feature" in my module. But now i remove "use Modern::Perl". from where i add. And it works!
18:40 xaka joined #mojo
19:01 taryk joined #mojo
19:18 GitHub168 joined #mojo
19:18 GitHub168 [mojo] kraih pushed 1 new commit to master: http://git.io/Yz6Ytg
19:18 GitHub168 [mojo/master] small Hypnotoad tweaks - Sebastian Riedel
19:18 GitHub168 left #mojo
19:42 SSergey joined #mojo
19:46 batman is there a simple way to only count actual code lines in a module?
19:46 batman cat $file | wc -l # this gives me a lot of lines, but i think most of them are either empty or doc...
19:47 inokenty
19:47 batman err... copy/paste error from a for-loop :P
19:47 batman wc -l $file is fewer characters :)
19:50 inokenty batman: grep -v '^$' -c $file
19:50 batman inokenty: will still count pod...
19:57 marcus With CC=gcc EV installed fine
19:58 inokenty batman: http://pastebin.com/qjsTBa0i
19:58 inokenty But it isn't simple
20:02 GitHub99 joined #mojo
20:02 GitHub99 [mojo] kraih pushed 1 new commit to master: http://git.io/LehdIw
20:02 GitHub99 [mojo/master] a few more test examples - Sebastian Riedel
20:02 GitHub99 left #mojo
20:03 batman inokenty: nice :)
20:04 sri batman: i use sloccount
20:04 baton8 joined #mojo
20:04 batman sri: ok
20:05 sri that;s how i know mojolicious has 10319 lines of code atm
20:05 batman sloccount lib; ?
20:06 * sri nods
20:06 batman nice
20:06 sri lines of code in mojolicious have been going down for over 6 months now :)
20:07 sri started with around 12k lines
20:07 batman Total Estimated Cost to Develop ??
20:07 batman $ 65,611 for 2000 loc ?!
20:07 batman sri: cool
20:08 marcus sloccount should look for copy/paste code and reduce the cost :)
20:08 sri it should count git history ;p
20:09 marcus mm
20:09 batman i think 65,611 sounds like a lot...
20:09 marcus depends how much you pay your programmers I suppose :)
20:10 batman i guess so...
20:10 batman sounds like altinn programmers :D
20:10 batman sorry... norwegian joke :P
20:10 sri also consider technical debt http://www.infoq.com/news/2012/02/tech-debt-361
20:12 batman cool
20:22 GitHub5 joined #mojo
20:22 GitHub5 [mojo] kraih pushed 1 new commit to master: http://git.io/22_Jrw
20:22 GitHub5 [mojo/master] slightly more interesting test examples - Sebastian Riedel
20:22 GitHub5 left #mojo
20:23 inokenty joined #mojo
20:40 sri wow, hunger games gets really dark in the last book
20:42 tempire joined #mojo
20:44 judofyr joined #mojo
20:46 * tempire trots
20:48 tempire Am I the only one who likes search.cpan.org layout better than metacpan?
20:49 tempire maybe I just need to get used to the extra stuff on the page.
20:50 * chorny also prefers search.cpan.org
20:51 taryk joined #mojo
21:03 * sri too
21:06 chorny joined #mojo
21:11 arpadszasz joined #mojo
23:19 tempire joined #mojo
23:49 mire joined #mojo
23:53 GitHub143 joined #mojo
23:53 GitHub143 [mojo] kraih pushed 1 new commit to master: http://git.io/CUnY-w
23:53 GitHub143 [mojo/master] added simple log rotation support with USR1 signal to Hypnotoad - Sebastian Riedel
23:53 GitHub143 left #mojo
23:53 sri someone please run the tests on windows, or i remove it again :)

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