The web in a box - a next generation web framework for the Perl programming language

IRC log for #mojo, 2014-04-16

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

All times shown according to UTC.

Time Nick Message
00:18 klapperl joined #mojo
01:09 cfedde_ joined #mojo
01:09 laouji joined #mojo
01:09 cfedde_ joined #mojo
01:12 klapperl_ joined #mojo
01:23 hesperaux joined #mojo
01:25 shmuel joined #mojo
01:51 bluescreen joined #mojo
01:57 cpan_mojo Mojolicious-Plugin-CacheMoney 0.01 by AMIRITE - http://metacpan.org/release/AMIRITE/Mojolicious-Plugin-CacheMoney-0.01
01:58 d4rkie_ joined #mojo
02:05 laouji_ joined #mojo
02:56 alnewkirk joined #mojo
03:08 russum joined #mojo
03:13 disputin joined #mojo
03:23 hesperaux_ joined #mojo
03:55 sujithm joined #mojo
04:34 laouji joined #mojo
04:44 sujithm joined #mojo
04:44 klapperl joined #mojo
04:44 d4rkie joined #mojo
04:47 laouji joined #mojo
04:53 klapperl_ joined #mojo
05:24 denis_boyun joined #mojo
05:33 denis_boyun_ joined #mojo
05:40 denis_boyun joined #mojo
05:49 sujithm joined #mojo
05:52 sujithm_ joined #mojo
05:59 laouji joined #mojo
06:29 hummeleBop joined #mojo
06:47 Vandal joined #mojo
07:06 eseyman joined #mojo
07:20 dod joined #mojo
07:23 trone joined #mojo
07:28 rem_lex| joined #mojo
07:34 rawler joined #mojo
07:42 shmuel joined #mojo
07:53 fhelmber_ joined #mojo
07:54 basiliscos joined #mojo
08:00 nic Bah, the elm I knew was for theorem proving, a precursor to larch
08:02 nic cfedde: if nginx is an option for you, that supports websockets
08:03 laouji joined #mojo
08:09 dotan joined #mojo
08:31 sujithm joined #mojo
08:35 denis_boyun joined #mojo
08:58 arthas joined #mojo
09:03 neyasov_ joined #mojo
09:17 moritz hi all; does hypnotoad allow some kind of checking if there's already an instance running?
09:18 moritz that would be very helpful for init scripts
09:18 moritz -t seems to test if a thing could be started, not if one is running
09:21 batman moritz: no, but it will only hot reload, so not much harm in starting it twice...
09:21 moritz batman: I know, but by convention, many init scripts have a 'status' command
09:21 batman toadfarm can though: https://metacpan.org/pod/distribution/Toadfarm/lib/Toadfarm/Manual/RunningToadfarm.pod
09:22 moritz and it would be nice for the ops folk to give them that command
09:22 batman toadfarm --start -a My::App # will not hot reload
09:27 arthas_ joined #mojo
09:39 laouji joined #mojo
09:39 laouji joined #mojo
10:22 meshl joined #mojo
10:43 dpetrov_ joined #mojo
10:49 * sri yawns
11:00 Eke|| joined #mojo
11:13 klapperl joined #mojo
11:34 neilhwatson joined #mojo
12:23 sujithm joined #mojo
12:38 nemux joined #mojo
12:42 d4rkie joined #mojo
12:46 edestler joined #mojo
13:00 nic moritz: It's v easy to write that yourself
13:00 nic (You just check the pid location)
13:27 cpan_mojo Mojolicious-Plugin-Args 0.04 by AMIRITE - http://metacpan.org/release/AMIRITE/Mojolicious-Plugin-Args-0.04
13:28 cpan_mojo Mojolicious-Plugin-Documentation 0.02 by AMIRITE - http://metacpan.org/release/AMIRITE/Mojolicious-Plugin-Documentation-0.02
13:29 cpan_mojo Mojolicious-Plugin-PDFRenderer 0.05 by AMIRITE - http://metacpan.org/release/AMIRITE/Mojolicious-Plugin-PDFRenderer-0.05
13:30 sujithm joined #mojo
13:34 matt joined #mojo
13:41 sujithm_ joined #mojo
13:43 basiliscos joined #mojo
13:44 D4RK-PH0ENiX joined #mojo
13:45 sujithm joined #mojo
13:46 bluescreen joined #mojo
13:47 sugar_ joined #mojo
13:47 gryphon joined #mojo
13:56 btyler joined #mojo
14:00 mishantil joined #mojo
14:04 asarch joined #mojo
14:07 disputin joined #mojo
14:14 mire joined #mojo
14:19 mib_d5qkk0 joined #mojo
14:23 sugar__ joined #mojo
14:25 good_news_everyone joined #mojo
14:25 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/N62-Tw
14:25 good_news_everyone mojo/master f32265f Sebastian Riedel: small optimizations
14:25 good_news_everyone left #mojo
15:05 sh4 joined #mojo
15:14 sujithm_ joined #mojo
15:38 yko joined #mojo
15:41 bzero joined #mojo
16:04 beyondcreed joined #mojo
16:22 bzero joined #mojo
16:38 dod joined #mojo
16:44 tempire https://news.ycombinator.com/item?id=7598616
16:44 dod joined #mojo
16:52 balazs joined #mojo
16:53 balazs hi, newbie here. trying to install with "curl get.mojolicio.us | sh" as the website say, get no visible errors, but "morbo" is not found afterwards.
16:54 balazs same if I "sudo" it
16:55 balazs how do I debug this ?
16:57 btyler balazs: if you're installing to system perl, yeah, you'll need to sudo it. the suggested setup is using http://perlbrew.pl/, though -- that way you have a perl (and module library) that is totally independent of your system perl
16:58 balazs looks like it's not installed anywhere. I ran a "sudo find / -name morbo" and got nothing
16:59 btyler (and in general, things that look like "sudo curl <url> | sh" should be treated with great care -- super convenient, but risky)
16:59 genio ^^
16:59 balazs btyler: is the "sh" run as root as well, or just the curl ?
17:00 genio When you see someone telling you to pipe the contents of a page to your shell, use caution.
17:00 genio The easiest way to install Mojo is to setup your Perl, install App::cpanminus   and then install mojo with   cpanm Mojolicious
17:00 sri i do wonder if we should move back to the old "curl -L cpanmin.us | perl - -n Mojolicious" oneliner for more transparency
17:01 balazs sri: that's what get.mojolicio.us is
17:01 btyler balazs: sh as well, hence the high risk level/level of trust
17:01 sri which is why i said "for more transparency"
17:02 eugen joined #mojo
17:02 balazs oh ok.
17:02 genio balazs: What OS/version of Perl are you using?
17:03 balazs genio: v5.16.3
17:03 genio on which OS?
17:03 purl on which OS are you currently?
17:03 balazs it's a fresh AWS instance, 64-bit Amazon Linux AMI 2014.03
17:04 sri "All you need is a one-liner, it takes less than a minute." might also be better phrased as "All you need is a working CPAN toolchain and this one-liner, it takes less than a minute."
17:04 genio ah, ok... RHEL variant. sudo yum install perl-App-cpanminus   sudo cpanm Mojolicious
17:05 denis_boyun joined #mojo
17:06 balazs genio: I seem to need Test/More.pm first
17:07 balazs sudo cpanm Test::More ?
17:07 genio yep
17:14 sri that means your perl is broken
17:14 sri Test::more is a core module
17:14 sri s/m/M/
17:14 genio I'm assuming you aren't yet worried about the potential problems of using a system-installed version of Perl.  In the future, it's best to install your own Perl via PerlBrew (or, if you know how, compile your own).  The reason for this is that the packaged version of Perl from OS makers is generally broken and specific to their needs
17:15 balazs got it working. Had to install Time::HiRes as well, and gcc for that. shouldn't cpanm take care of the dependencies  ? (not gcc of course)
17:15 genio Not to mention, very out of date and chopped all up.
17:16 sri your linux distribution broke perl apart, you need to complain to them
17:16 balazs hmm, ok. just trying out some thing now; production version will have personally built perl
17:16 cmihai I tend to use local::lib for isolated testing - works pretty well (also, when you need to install stuff from cpanm and don't have root).
17:16 genio balazs: Welcome to the world of system perls.  You can generally get things to work, but the OS package maintainers like to split Perl into pieces for some reason.  Then, you're relying on the package maintainers to give you newer versions of modules (which they don't).
17:17 genio Also, when you start installing things via the CPAN, you get different versions of modules installed from yum vs cpan and cause lots of annoying heartache.  Hence PerlBrew
17:18 balazs genio: gotcha
17:19 genio http://perlbrew.pl  and If you're wanting to understand more of what it does for you, check these: http://tinyurl.com/chooseperl http://tinyurl.com/linkperl http://tinyurl.com/compperl
17:21 genio Now that that topic has been beaten to death, ask away if you run into any questions.
17:32 denis_boyun_ joined #mojo
17:34 balazs is 5.16.0 the latest stable, as it says on  perlbrew.pl? I'd think there would be an alias for it, like perl-blead
17:34 bzero joined #mojo
17:36 balazs nm, perl.org says 5.18.2
17:36 lb balazs: perlbrew available
17:36 purl perlbrew available is probably the closest
17:42 balazs hmm, looks like my curl is broken.  curl -L http://install.perlbrew.pl gives "Illegal instruction". Nice...
17:54 genio balazs: You can always install PerlBrew with the cpanm you installed with system perl.   cpanm App::perlbrew
17:56 jberger_ joined #mojo
17:57 jberger_ balazs: red hat perl is the devil
17:57 jberger_ Be sure to yum install perl-core
18:00 jberger_ Much better to use perlbrew imo
18:04 jberger_ See this: http://www.nntp.perl.org/group/perl.perl5.porters/2009/08/msg149747.html
18:04 hummeleBop joined #mojo
18:10 sujithm joined #mojo
18:13 balazs perl is brewing...
18:13 cpan_mojo Mojolicious-Plugin-CacheMoney 0.02 by AMIRITE - http://metacpan.org/release/AMIRITE/Mojolicious-Plugin-CacheMoney-0.02
18:14 russum balazs, btyler: I think "sudo curl <url> | sh" will only run curl under sudo but not sh. not that it's ok to do this but you probably wanted something like "curl <url> | sudo sh"
18:19 russum yep, "sudo echo 'id -u -n' | sh" vs "echo 'id -u -n' | sudo sh" echoes user on first and root on second commands…
18:21 balazs russum: right
18:36 btyler russum: oh, doh, thanks
18:45 cfedde that got cut off at "if"
18:45 cfedde boh.
18:46 * cfedde crawls back under his rock
18:58 gryphon joined #mojo
19:15 bluescreen_ joined #mojo
19:30 jberger__ joined #mojo
19:46 mire joined #mojo
20:00 yko joined #mojo
20:07 dod joined #mojo
20:12 yko joined #mojo
20:19 neyasov_ joined #mojo
20:23 russum joined #mojo
20:27 btyler joined #mojo
20:38 bzero joined #mojo
20:50 bzero joined #mojo
21:20 tianon joined #mojo
21:26 punter joined #mojo
21:35 sujithm joined #mojo
21:44 sujithm joined #mojo
21:56 sujithm joined #mojo
22:15 espent joined #mojo
22:19 buu Hey, is there any simple way to make hypnotoad perform 'access' logging ala apache?
22:20 bluescreen__ joined #mojo
22:23 punter I use plugin, which I believe is called AccessLog
22:23 punter buu ^^
22:23 punter buu: https://metacpan.org/pod/Mojolicious::Plugin::AccessLog
22:25 buu punter: Oh, thanks
22:33 d4rkie joined #mojo
22:36 spuelrich joined #mojo
22:41 bzero joined #mojo
22:51 cpan_mojo Mojolicious-Plugin-UTF8 0.01 by AMIRITE - http://metacpan.org/release/AMIRITE/Mojolicious-Plugin-UTF8-0.01
22:55 sri oh that's nice, in chrome you can now use the mojolicious site search right from the address bar
22:56 * sri just added an opensearch.xml file
22:56 sri http://mojolicio.us/ # visit the site once, and then start typing the address again
22:57 sri (you get reminder to hit tab for site search)
22:58 cpan_mojo Mojolicious-Plugin-CORS 0.01 by AMIRITE - http://metacpan.org/release/AMIRITE/Mojolicious-Plugin-CORS-0.01
22:58 sri ah, metacpan supports it too... how did i not know this!
23:02 lb i had to turn my head to see that reminder
23:02 lb monitors are too large
23:03 sri first world problems
23:03 lb i think i pulled a muscle
23:07 sri :D
23:09 sprocket joined #mojo
23:09 neyasov_ joined #mojo
23:10 sprocket Is there some books about mojolicious?
23:15 ua_1 joined #mojo
23:16 sri not yet i'm afraid
23:22 ua_ joined #mojo
23:28 ua_1 joined #mojo

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