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

IRC log for #mojo, 2015-01-05

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

All times shown according to UTC.

Time Nick Message
00:00 sri jberger: you think "Worker was unreachable for $$" is a better error than "Worker went away" for the repair stuff when kill 0 failed?
00:00 riche meredith: I will send her your email.  It will be a couple weeks since she's busy doing stuff in A/NZ
00:01 meredith *nod*
00:05 firnsy a mojoconf downunder would super sweet too :D
00:05 riche and expensive.  the exchange rate really sucks right now.
00:06 firnsy true ... one of the few times it's quite good for us travelling abroad
00:06 riche and unfortunately May/June isn't a great month weather wise.
00:06 sri doesn't have to be may/june
00:07 riche okay will let her know.
00:08 sri in fact, too close to yapc::na might not be good
00:08 sri or might be good... i know nothing about organizing confs :o
00:08 asarch joined #mojo
00:08 riche it could be a good prefix to it.  lot of mojo buzz right before the big one.
00:09 riche well I will let ka yi figure out the marketing, she knows much better than me
00:13 riche hm yah it would be good for ppl in europe, having a stop in NYC before heading to salt lake city Sunday night
00:14 damaya joined #mojo
00:14 riche thanks for the confirmation though, now I have something to *really* look forward to in 5 months or so!
00:18 sri not just you :D
00:22 jberger riche++
00:23 jberger meredith++
00:23 jberger sri: yeah, that message is probably better for debugging at least
00:25 * sri actually went with "Worker could not be found by $host:$$"
00:26 jberger ah, even better
00:27 jberger ETOOMANYDOLLARSIGNS
00:27 jberger :=_
00:27 jberger :-P
00:27 jberger (stupid keyboard!)
00:28 * sri 's macbook just crashed
00:28 * sri is scared
00:28 jberger Too many dollar signs will do that to you :P
00:41 jberger sri: it seems that if you have an <a> tag without href it doesn't make the cursor become a pointer
00:42 jberger but with href, you have to do other schenaigans to avoid being an actual link
00:42 jberger css fixed it
00:42 preaction nope. you have to do some a[attr] { cursor: pointer } to get it
00:42 preaction yeah
00:42 jberger preaction: now where were you when I needed you?! :-P
00:43 jberger preaction: you should get BoA to pay for you dillon and whitney to go to mojoconf!
00:43 preaction they don't even pay for pizza for chicago.pm anymore :p
01:00 Akron joined #mojo
01:02 Akron riche++ meredith++ - and jberger++ for the monitoring stuff! That looks nice!
01:16 hshong joined #mojo
02:14 marmez joined #mojo
02:22 asarch Do you consider "Perl & XML" as good reference for XML?
02:22 asarch Its last edition was in 2002
02:23 sri i don't know the book, but i'm sceptical
02:25 asarch Ok
02:25 sri if you're really serious about xml, and want very advanced features there's usually just XML::LibXML
02:25 asarch Thank you, thank very much
02:25 sri and if you want something simple and fun there's Mojo::DOM
02:26 asarch Ok
02:26 sri there's some stuff in between too, but i don't have much experience with that
02:28 asarch Thank you very much :-)
02:30 asarch I'll start with Mojo::DOM and eventually I'll try XML::LibXML
02:30 asarch Perl & XML uses Simple::XML
02:30 asarch I mean, XML::Simple
02:31 Grinnz if you mean XML::Simple, stay as far away from that as possible
02:31 asarch oh :-
02:31 asarch *:-(
02:31 asarch Ok
02:34 marmez Grinnz: Bad experience?
02:34 preaction it is unpredictable, yes
02:45 klapperl_ joined #mojo
03:09 buu I'm being a little lazy but is there a clever way to say "Is there an <a> element that contains the text 'foo' on the current $page" ?
03:25 Insane joined #mojo
03:37 noganex joined #mojo
03:57 jberger asarch: http://shadow.cat/blog/matt-s-trout/mstpan-3/
03:58 asarch Thank you
04:00 jberger buu: $dom->find('a')->map('text')->first(qr/my pattern/) perhaps?
04:07 * sri assumed he was looking for something like a:contains('foo') in jquery
04:28 buu jberger: I keep forgetting about ->map in mojo but yeah
04:29 buu find('a')->first($_->text =~ /pattern/) is slightly better I guess
04:30 buu It "feels" a little clumsy but its not like there's an optimal way to do this
04:56 irq joined #mojo
05:15 Eke- joined #mojo
05:54 asarch XML::Parser is missing from that list
06:00 rem_lex joined #mojo
06:59 Lee joined #mojo
07:12 rem_lex joined #mojo
07:16 stl joined #mojo
07:29 jp- joined #mojo
07:31 dod joined #mojo
07:47 Eke- joined #mojo
08:00 denis_boyun joined #mojo
08:01 Eke|| joined #mojo
08:12 ashimema joined #mojo
08:13 Vandal joined #mojo
08:17 eseyman joined #mojo
08:18 trone joined #mojo
08:18 denis_boyun joined #mojo
08:19 stl left #mojo
08:21 stl joined #mojo
08:35 fhelmberger joined #mojo
08:55 amon joined #mojo
09:08 Insane joined #mojo
09:11 Insane joined #mojo
09:42 Eddy joined #mojo
10:07 sh4 joined #mojo
10:35 denis_boyun joined #mojo
10:44 sugar joined #mojo
10:51 odc joined #mojo
10:57 marcus sri: Fatpacking made me happy because I could fatpack my tools, and now that works. What did you expect to happen after that?
10:58 damaya joined #mojo
11:12 nemux joined #mojo
11:18 vytas joined #mojo
11:28 basiliscos joined #mojo
11:40 punter joined #mojo
12:13 Insane joined #mojo
12:22 davido__ joined #mojo
12:34 marcus mst: Just got around to looking at http://shadow.cat/blog/matt-s-trout/mstpan-11/ - I would recommend looking at batman's git-ship - it is pretty nice.
12:54 Vandal joined #mojo
13:05 neilhwatson joined #mojo
13:24 batman mst: it's the successor of mypp ;)
13:24 batman marcus: have you used git-ship for anything else than convos?
13:27 batman marcus: i would really like to try to pack your ansible extension with https://metacpan.org/pod/App::Implode one day...
13:29 irq_ joined #mojo
13:51 asarch joined #mojo
14:12 punter joined #mojo
14:29 marty joined #mojo
14:40 bwf joined #mojo
14:45 marcus batman: Nope, but I plan to. I've not done much development lately :(
14:47 batman let me know :)
14:47 batman i'm pretty sure it won't be straight forward :/
15:00 marty_ joined #mojo
15:03 sri hmm, i've never seen this one before, odd... http://www.cpantesters.org/cpan/report/7dbf2112-948d-11e4-b5bb-f37fa5fe2ff4
15:04 Grinnz thats a lot of a's
15:13 zivester joined #mojo
15:18 Ptolemarch joined #mojo
15:41 punter joined #mojo
15:43 good_news_everyon joined #mojo
15:43 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/2vgf2g
15:43 good_news_everyon mojo/master 784a413 Sebastian Riedel: better compression test
15:43 good_news_everyon left #mojo
15:55 davido___ joined #mojo
15:55 genio When working with a RESTful service, is it common to get a generic 400 bad request response, but get something more difinitive in $tx->res->content->asset   ?
15:58 genio nevermind.  I have answered my own stupid question.
17:01 marty joined #mojo
17:05 marty joined #mojo
17:06 nathanael joined #mojo
17:29 Insane joined #mojo
17:50 Ptolemarch joined #mojo
18:16 denis_boyun joined #mojo
18:24 dod joined #mojo
18:24 sri marcus: how do you feel about using new List::Util features in mojolicious?
18:24 sri like the pair* functions?
18:25 sri you seem to have missed http://irclog.perlgeek.de/mojo/2015-01-01#i_9875403
18:41 Ptolemarch joined #mojo
18:55 Insane probably it could make sense to add Data::Printer (https://metacpan.org/pod/Data::Printer) to Mojo::Util? Sometimes it's output more useful than Data::Printers' and it does not have utf-8 problems
18:55 sri utf-8 problems?
18:55 purl utf-8 problems are notoriously whack-a-mole.
18:58 Insane sometimes you could not print e.g. russian characters into console with Data::Dumper and there is no solution
18:58 sri there is always a solution
18:59 Insane yep, to fix Data::Dumper sources or to use Data::Printer
19:00 sri so you've opened a bug report for Data::Dumper?
19:04 Insane not yet, probably today
19:07 Insane anyway, Data::Printer output is more useful: see perl -Mojo -MData::Printer -E 'say p(g("https://google.com"));' vs perl -Mojo -E 'say r(g("https://google.com"));'
19:08 marcus sri: I'm happy with it as long as we don't require a compiler for current perls.
19:08 sri marcus: define "current perls"
19:09 marcus sri: 5.20.1+ :)
19:09 sri ah
19:09 batman hehe
19:09 sri yes, everything after 5.20.0 would still not need a compiler
19:09 sri 5.18.x would though
19:10 batman marcus: is sooo http://www.giantfreakinrobot.com/scifi/future-documentary-close-2015-tech.html/attachment/hoverboard-6
19:10 batman crap. wrong url :P
19:10 batman should only be the hover board image...
19:10 Eke- joined #mojo
19:11 marcus I'm drinking homebrews and hacking convos with batman
19:11 batman and it's good :)
19:11 sri this one seems more appropriate http://www.danshapiro.com/blog/wp-content/uploads/2011/07/Hoverboard.png
19:11 batman sri: spot on
19:12 * sri is also the master of memes
19:14 marcus master of puppets
19:14 purl it has been said that master of puppets is ayrnieu's favorite album of theirs.
19:15 * genio glares at Publix.
19:15 genio This sub is so soggy from all of the sauce that it has fallen apart
19:16 zackiv31 joined #mojo
19:17 * sri eats mini donuts
19:17 sri *munch*
19:19 marcus master of pastry
19:19 zackiv31 joined #mojo
19:48 Grinnz_ genio: meatball sub?!
19:49 dotandimet joined #mojo
19:49 genio close, chicken tender sub (was supposed to have a little buffalo sauce on it)
19:57 denis_boyun_ joined #mojo
20:00 Grinnz_ hmm mailing list thread reminds me i was going to play with hypnotoad and see what it needs to satisfy SSL labs :)
20:02 good_news_everyon joined #mojo
20:02 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/PnMCMg
20:02 good_news_everyon mojo/master d25a18d Sebastian Riedel: better description for restarting behavior
20:02 good_news_everyon left #mojo
20:08 jberger mmmmm, fancy artisan pizza :D
20:11 Eke- joined #mojo
20:16 good_news_everyon joined #mojo
20:16 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/ZA-8RA
20:16 good_news_everyon mojo/master a4c2c80 Sebastian Riedel: workers do not stop sending heartbeat messages
20:16 good_news_everyon left #mojo
20:24 Grinnz_ so joker won't get electrocuted!
20:27 tchaves joined #mojo
20:52 Eke- joined #mojo
20:56 Insane joined #mojo
20:56 jb360 joined #mojo
21:05 Insane joined #mojo
21:31 upasana joined #mojo
21:33 upasana_ joined #mojo
21:38 Ptolemarch joined #mojo
21:41 Eke- joined #mojo
22:31 Eke- joined #mojo
22:38 garu Insane, sri: Data::Printer is not core so I don't think it is a candidate dep for Mojolicious. However, I'd love patches adding a filter for Mojo classes
22:38 garu so DDP yields even better results for mojolicious app developers
22:43 Ptolemarch joined #mojo
22:43 jberger garu/sri: my only "problem" on a day-to-day basis of using DDP with Mojo is that "p" conflicts with ojo, and so command line usage is annoying
22:43 jberger I did have that one real problem of p giving me false results (presumably interrogated too early/CoW problems)
22:48 garu sorry, I'm not sure how to fix the conflict other than using the 'alias' option on your .dataprinter file
22:49 garu jberger: I would appreciate any comments on https://github.com/garu/Data-Printer/issues/16 though :)
22:52 jberger let me see if I can find the bug I had before
22:52 jberger it should be in the irc log somewhere
22:52 sri wantarray is the worst
22:52 * sri makes angry guestures
22:53 jberger garu: http://irclog.perlgeek.de/mojo/2014-11-20#i_9691029
22:55 jberger I think it was something to do with p @_
23:06 batman something for tempire? http://codepen.io/simeydotme/pen/jgcvi :)
23:25 garu sri: indeed it is. which is why I'm moving away from it and defaulting to pass-through behaviour for Data::Printer :)
23:31 disputin joined #mojo
23:53 ajr_ joined #mojo
23:56 damaya joined #mojo
23:56 ajr_ I just tried to install Test::Mojo on a Mandriva Linux box (yes, somewhat out of date). The install failed to compile Socket.c with the following messages:
23:56 ajr_ const-xs.inc: In function ‘XS_Socket_AUTOLOAD’: const-xs.inc:890: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘line_t ’ const-xs.inc:895: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘line_t ’ const-xs.inc:897: error: format not a string literal and no format arguments make: *** [Socket.o] Error 1 -> FAIL Installing So
23:56 sugar joined #mojo
23:57 ajr_ Should I be looking for a solution here, or  chasing the author of IO::Socket?
23:58 ajr_ For clarity, this is the fatal error, I believe: const-xs.inc:897: error: format not a string literal and no format arguments

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