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

IRC log for #mojo, 2014-05-21

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

All times shown according to UTC.

Time Nick Message
00:01 d4rkie joined #mojo
00:06 zivester joined #mojo
00:21 Bravo13 joined #mojo
00:27 shmuel joined #mojo
01:08 klapperl joined #mojo
01:37 fhelmber_ joined #mojo
01:40 D4RK-PH0ENiX joined #mojo
02:06 d4rkie_ joined #mojo
03:11 gatitskiy joined #mojo
03:18 irq joined #mojo
03:32 basic6 joined #mojo
04:04 dvinciguerra joined #mojo
04:12 rem_lex|pivo joined #mojo
04:50 d4rkie joined #mojo
04:57 rem_lex| joined #mojo
05:00 rem_lex joined #mojo
05:25 irq joined #mojo
05:37 fhelmber_ joined #mojo
05:50 sujithm joined #mojo
06:04 dod joined #mojo
06:12 sujithm joined #mojo
06:13 dpetrov_ joined #mojo
06:21 inokenty joined #mojo
06:34 neyasov_________ joined #mojo
06:43 dod joined #mojo
06:44 neyasov_________ joined #mojo
06:53 rawler joined #mojo
06:54 Vandal joined #mojo
07:03 igorsutton joined #mojo
07:03 arthas joined #mojo
07:09 sujithm joined #mojo
07:24 jberger__ joined #mojo
07:27 Caldrin left #mojo
07:33 trone joined #mojo
07:37 jberger_ batman: for some reason I can't start a private chat on your convos
07:38 dexteruk joined #mojo
07:43 irq joined #mojo
08:03 basiliscos joined #mojo
08:11 batman Try "/query nick"
08:12 batman jberger_ ^^
08:31 hrupp joined #mojo
08:33 condor66 joined #mojo
08:38 edestler joined #mojo
08:41 fhelmber_ joined #mojo
08:50 bjoernfan I was gonna get a "Keep calm and carry on testing"-tshirt for the conf yesterday but they were out. :(
09:06 neyasov_________ joined #mojo
09:08 hrupp joined #mojo
09:10 meshl joined #mojo
09:10 shmuel joined #mojo
09:19 mudler joined #mojo
09:22 dotan joined #mojo
09:36 punter joined #mojo
09:38 inokenty joined #mojo
09:54 nic I hope mojoconf is providing an interpreter for the deaf
10:14 jberger_ I'm starting to notice that I get some strange errors on Mojolicious on Perl versions 5.10 and 5.12 when munging DOM nodes
10:14 jberger_ perhaps something to look at when people are hacking
10:17 mire joined #mojo
10:26 nic or bump the reqs to perl 5.14 :)
10:27 nic (that's tongue-in-cheek; I totally rely on the latest version being avail for 5.10.1)
10:32 nic bah, can't resist any longer; time to try out 5.20
10:46 jberger_ nic: you should
10:47 jberger_ anyway, here is a minimal example of what is happening
10:47 jberger_ http://pastie.org/9195583
10:48 jberger_ the first case (post 5.14+) works as expected, the second (5.12.5-) does not
11:02 gatitskiy joined #mojo
11:08 sugar_ joined #mojo
11:12 dpetrov_ joined #mojo
11:13 good_news_everyon joined #mojo
11:13 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/3AixQQ
11:13 good_news_everyon mojo/master db69f6a Sebastian Riedel: fixed Mojo::DOM::HTML to handle slashes in unquoted attribute values correctly
11:13 good_news_everyon left #mojo
11:25 sri jberger: works on 5.12 for me
11:25 jberger_ you get the same result for 5.12 and 5.14+?
11:25 sri yes
11:26 jberger_ strange
11:26 jberger_ on mac
11:26 jberger_ ?
11:26 sri yes
11:26 sri tested with the pre-installed perl even
11:27 sri if that example didn't work, i don't see how tests could actually pass
11:27 jberger_ I'm not sure why there is a platform dependence in these failures, but there clearly seems to be: http://matrix.cpantesters.org/?dist=App-MojoSlides%200.08
11:29 dvinciguerra joined #mojo
11:32 neilhwatson joined #mojo
11:37 Negor joined #mojo
11:45 odc joined #mojo
11:51 Bravo13 joined #mojo
11:57 nicomen jberger_: re munging DOM: http://www.mojoconf.org/mojo2014/wiki?node=hackathon
11:59 d4rkie joined #mojo
12:02 basiliscos joined #mojo
12:14 d4rkie joined #mojo
12:24 marcus apparently tempire is here somewhere
12:24 btyler joined #mojo
12:24 marcus and he's a bit lost
12:28 sri oh noes, don't let him freeze to death in the norwegian wilderness!
12:29 sri or eaten by moose
12:35 jberger_ marcus: should I try to meet him somewhere?
12:35 jberger_ I could go to Oslo S
12:35 nic or shot by an overly-armed squirrel
12:35 marcus jberger: I've offered to meet him, but he hasn't replied to my mail yet.
12:35 marcus jberger_: where are you at btw? :)
12:36 jberger_ I'm at the batcave
12:36 marcus Nice
12:36 jberger_ had breakfast out and now I'm back working on my talk
12:37 jberger_ I was going to go wander in an hour or so, but I could go on a tempire-search-and-rescue mission as needed
12:50 tempire ZOMG
12:50 tempire WHEREISEVERYTHING
12:50 marcus I found a tempire
12:50 * tempire is lost and afraid
12:50 tempire There's norwegians EVERYWHERE
12:51 Jonis yep
12:51 Jonis watch out, some of them might be feral
12:51 mishantil And tomorrow I will be there as well
12:51 nic tempire: DON'T TOUCH THEM
12:55 jberger_ tempire: AAAAAAAAA
12:55 waltman left #mojo
12:55 jberger_ tempire: should I come meet you somewhere?
12:56 nic jberger_: App::MojoSlides@0.08 fails on linux w perl 5.10.1 & cpanm
12:56 nic but it looks like packaging errors
12:56 nic Plugin "InstallablePaths" missing, maybe you need to install it?
12:56 jberger_ oh, well that may be too
12:56 jberger_ but that's not the actual problem
12:57 * jberger_ looks at the Build.PL
12:57 nic I can pass you the full prove log, but you might prefer that after MOJOCONF@2014
12:58 jberger_ nic: you are correct that that plugin is necessary
12:58 jberger_ I have no idea why so many of the tests pass correctly!
12:58 jberger_ but still those are not the failures that worry me
12:58 * jberger_ cuts a new release with a better Build.PL
12:59 nicomen speaking of weather I think tempire will be just fine in 23 degrees (at the moment)
13:00 nic jberger_: If it doesn't even build then folks don't get to see the real error :)
13:01 Jonis oh man, 26 degrees on friday. I've gotta pack some shorts
13:01 jberger_ nic: agreed, thus the forthcoming release, however, the pass rate on cpantesters is impressive given that shortcoming
13:03 nic bribery only goes so far
13:05 zivester joined #mojo
13:09 tempire jberger_: I'm @ nordaaker.
13:09 tempire plugged in and internetting.
13:09 tempire all is fine.
13:10 jberger_ WHY WONT SOMEONE SAVE TEMPIRE!!!
13:11 dvinciguerra joined #mojo
13:13 gatitskiy joined #mojo
13:13 nic it's too late
13:17 tempire Why not zoidberg?
13:17 purl (V) (;,,;) (V)
13:19 jberger_ ^^ that might be my favorite purl trick
13:19 * jberger_ pats purl
13:19 * purl purrs
13:21 jberger_ oh no! cpan_mojo didn't announce my plugin!
13:21 jberger_ I can't get to that server from here!
13:36 nic don't be silly, there are other flights
13:37 * jberger_ doesn't always hack on servers, but when he does, he does it in person
13:37 jberger_ :-P
13:39 jberger_ I was really hoping to see increased release-rate during mojoconf
13:40 jberger_ maybe I should kick this one and start a new one on a publically shellable server
13:40 nic pre-release debian 8.0, pre-release perl 5.20, pre-release mojo 5.0
13:40 nic <- living life on the edge
13:40 * jberger_ pre-releases nic
13:42 sujithm joined #mojo
13:45 gryphon joined #mojo
13:47 azawawi joined #mojo
13:47 nic App::MojoSlides still fails to build, but I got bored looking
13:47 azawawi hi
13:47 nic It's possible you're not correctly compensating for the higher latitude
13:48 nic Bear in mind the earth's surface travels more slowly there
13:48 azawawi is it me or http://search.cpan.org/ is down?
13:48 nic It broke when jberger_ uploaded his wonky release
13:54 Jonis azawawi: yeah, search.cpan is down, but metacpan still works
13:54 azawawi Jonis: thx
13:55 dod joined #mojo
13:55 azawawi dod: hi :)
13:55 asarch joined #mojo
13:56 dod azawawi: hello
13:58 azawawi I just started to work on https://questhub.io/realm/perl/quest/537c8355bbd0be731f0000ce
13:59 azawawi hopefully i will get non-blocking I/O all over farabi within 2-3 days
14:02 jberger_ azawawi: just a suggestion, I wrote a plugin (ported from AnyEvent::Util) which forks, runs some code in a new process, and calls a callback on completion. It can return an arbitrary (serializable) data structure
14:03 azawawi i saw it :)
14:03 azawawi jberger_: and hi
14:03 purl hello, azawawi.
14:03 jberger_ https://metacpan.org/pod/distribution/Mojo-IOLoop-ForkCall/README.pod
14:03 jberger_ hi!
14:03 jberger_ argh, I didn't mean the readme!
14:04 jberger_ https://metacpan.org/pod/Mojo::IOLoop::ForkCall
14:04 azawawi jberger_: please take a look at https://github.com/azawawi/farabi/blob/master/eg/run_system_cmd.pl
14:04 azawawi jberger_: basically i need to run a script in the background and then poll its results to the output tab
14:05 azawawi jberger_: long running scripts can basically stop the UI from responding or worst queue commands...
14:05 jberger_ using ForkCall, you wouldn't need to poll
14:06 azawawi did you test it on windows?
14:06 jberger_ the child process holds open a pipe (or socket on windows), to which it writes and then closes the handle, which triggers the callback
14:07 jberger_ yes, it works fairly well on windows
14:08 jberger_ the current stable release has a bug on cygwin
14:08 azawawi i noticed
14:08 jberger_ but hey! there is finally a dev-release pass report on cygwin! http://www.cpantesters.org/distro/M/Mojo-IOLoop-ForkCall.html?grade=1&amp;perlmat=2&amp;patches=2&amp;oncpan=1&amp;distmat=1&amp;perlver=ALL&amp;osname=cygwin&amp;version=0.060_001
14:09 jberger_ guess I can cut a release for that too now
14:09 jberger_ RELEASE ALL THE THINGS! (except for the kraken)
14:10 azawawi lovely kraken
14:10 jberger_ sorry, this link: http://www.cpantesters.org/distro/M/Mojo-IOLoop-ForkCall.html?grade=1&amp;perlmat=2&amp;patches=2&amp;oncpan=1&amp;distmat=1&amp;perlver=ALL&amp;osname=cygwin&amp;version=0.060_001
14:10 jberger_ oh, its the same one
14:10 azawawi everyone hates the kraken... :)
14:11 jberger_ I'm WAY too close to a fjord to be releasing kraken!
14:11 azawawi i hate 'ack' with all my heart...
14:12 azawawi imagine after working all night, i found out that my code was working correctly
14:12 jberger_ I wish there was some way that cpantesters could send me an email when a pass is reported under certain conditions
14:12 azawawi that ack needed a --nofilter...
14:12 azawawi write a script? :)
14:12 jberger_ prolly should
14:13 jberger_ I do always make a known-pass case test for ack when I'm looking for something specific
14:13 * azawawi runs 'cpanm Mojo::IOLoop::ForkCall'
14:21 mire joined #mojo
14:22 azawawi jberger_: nice
14:22 azawawi jberger_: i just tried it
14:23 jberger_ and i just uploaded 0.07 which has the 0.060_001 changes included
14:23 azawawi jberger_:  it has a flaw though
14:23 azawawi jberger_: i need to get output line by line (i.e. as it changes) from the command
14:23 jberger_ oh, yeah, that won't work
14:24 jberger_ that was out of spec for my module
14:24 azawawi jberger_: my script does that :)
14:24 sh4 joined #mojo
14:24 jberger_ batman had something that went further than mine
14:24 * jberger_ looks
14:24 azawawi jberger_: but overall your module can serve as a background task starter...
14:25 azawawi jberger_: e.g. PPI all the files in the background
14:25 jberger_ https://metacpan.org/release/Mojo-IOLoop-ReadWriteFork
14:26 jberger_ yeah
14:26 azawawi https://github.com/azawawi/farabi/blob/master/eg/test_forkcall.pl
14:27 azawawi jberger_: doesnt install on windows...
14:27 jberger_ ?
14:28 * jberger_ sobs
14:28 jberger_ 0.06, 0.060_001 or 0.07?
14:28 jberger_ native windows or cygwin?
14:29 jberger_ 0.06 will not install on cygwin
14:29 jberger_ 0.07 should
14:33 neyasov_________ joined #mojo
14:36 jberger_ azawawi: ^^
14:37 jberger_ I don't have a windows computer to test on
14:40 jberger_ let me know, I will be afk for a while due to: http://www.meetup.com/Oslo-pm/events/184319252/
14:40 jberger_ oh nm, that's not today :-)
14:45 btyler joined #mojo
14:48 sujithm joined #mojo
15:02 gatitskiy joined #mojo
15:09 mojobot22408 joined #mojo
15:09 irq_ joined #mojo
15:19 igorsutton joined #mojo
15:19 alnewkirk joined #mojo
15:19 btyler joined #mojo
15:22 Adura joined #mojo
15:31 meshl joined #mojo
15:33 neilhwatson Using mojo::command, should I format shell output via formats or use the renderer and templates?
15:33 sri there is no right answer
15:33 neilhwatson Fair enough, but the latter is possible?
15:40 mire joined #mojo
15:48 jberger__ joined #mojo
15:48 jberger__ Nordaaker!
15:48 purl hmmm... nordaaker is marcus' company, commercially supporting mojomojo and generally being unexpectedly nörsk or responsible for iusethis, iwatchthis and phiary. or an old farm
15:53 gatitskiy joined #mojo
16:31 hrupp joined #mojo
17:06 Dandre joined #mojo
17:12 punter joined #mojo
17:30 Zx3 joined #mojo
17:39 dod joined #mojo
17:43 sri hmmmm...my talk needs more memes
17:46 genio has the conference started already?
17:48 sri saturday
17:48 purl hmmm... saturday is talk like a pirate day
17:48 sri if you're not there i hate you!
17:49 genio Sorry, it's too far away for me.  *cries* EVERYONE HATES ME!
17:54 dod joined #mojo
17:56 btyler joined #mojo
18:04 denis_boyun joined #mojo
18:15 irq joined #mojo
18:15 denis_boyun_ joined #mojo
18:16 punter joined #mojo
18:22 basiliscos joined #mojo
18:44 mport joined #mojo
18:47 btyler joined #mojo
19:17 marcus genio: are you milkman Dan?
19:25 cmihai joined #mojo
19:41 * jberger_ still doesn't really believe he is going to meet sri in person
19:42 * jberger_ expects that sri actually is the cartoon caricature on his profile
19:42 fhelmber_ joined #mojo
19:43 sri haha
19:43 sri don't jinx it, i'm not there yet!
19:47 mire joined #mojo
19:49 * jberger_ shuts up
19:55 sri there have been actual photos of me... wonder what happened to those
19:56 jberger_ I don't want to know now!
19:56 sri that one with the assault rifle was really nice
19:57 jberger_ :o
19:59 russum joined #mojo
20:02 dvinciguerra joined #mojo
20:15 hrupp joined #mojo
20:22 hrupp joined #mojo
20:22 sri it's kinda funny... the one word i have problems saying is "method" -.-
20:27 hrupp joined #mojo
20:27 marty If your spoken english is even 10% as good as your written english - you are already ahead of 90% of native english speakers.
20:28 marty that is also true for many of the "english as 2nd language" people in here.
20:29 marty know-im-sayin
20:30 * marty really wishes he could be at mojoconf.  sounds like way to much fun
20:32 hrupp joined #mojo
20:36 * sri will be there in 41 hours o/
20:40 stephan48 assault rifle?
20:40 stephan48 oops
20:41 sri no, without assault rifle ;p
20:42 genio Even though I won't be at MojoConf, rest assured that I will be here writing Perl and drinking beer.  So, I'll kind of be there.
20:42 stephan48 still i will stay in a sensible distance
20:50 Claudio joined #mojo
20:54 azawawi joined #mojo
20:54 azawawi hi
20:54 purl niihau, azawawi.
20:55 azawawi niihau to you 2 :)
20:55 Mikey joined #mojo
20:56 azawawi # First implementation of Farabi::Process nonblocking sri++ :)
20:56 azawawi https://github.com/azawawi/farabi/blob/master/eg/run_1.pl
20:57 azawawi jberger_++
21:25 btyler joined #mojo
21:27 jberger_ azawawi++
21:28 jberger_ does it work on windows too? I don't know how xplatform System::Command is for its IO
22:06 nicomen genio: too far? do you live on Mars?
22:06 nicomen or behind some Event Horizon?
22:07 nicomen I really enjoyed those burgers at Munchies, batman++
22:46 btyler joined #mojo
22:52 rem_lex|pivo joined #mojo
22:52 beyondcreed joined #mojo
23:12 d4rkie joined #mojo
23:24 sri oi
23:24 * sri wants burgers too
23:33 sugar_ joined #mojo
23:42 fhelmber_ joined #mojo

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