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

IRC log for #mojo, 2015-11-28

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

All times shown according to UTC.

Time Nick Message
00:16 kyshtynbai joined #mojo
00:45 punter How do you automate the launching of 10 minions when the server boots?
00:45 punter with what software/setup?
00:59 jontaylor joined #mojo
01:21 jberger punter: using your os's init system
01:22 punter jberger: won't that only launch a single minion worker?
01:30 jberger punter: the original system only did one worker
01:30 jberger More recent minions can specify a number of workers
01:30 punter jberger: which original system?
01:30 punter aha
01:30 jberger Original minion
01:30 punter I'll use ubic then
01:30 punter thanks
01:31 jberger (The change was motivated by the freebsd init script I had to write before that feature was added)
01:31 jberger (It was icky)
01:32 punter jberger: on page https://metacpan.org/pod/Minion::Command::minion::worker , is -j the option that sets the number of workers?
01:33 jberger punter: yes
01:33 punter danke
01:36 jberger Np
02:14 punter jberger: at first I thought -j just says how many jobs each worker does concurrently
02:14 punter jberger: maybe needs clarification
02:16 punter Shouldn't there be a "pretty" method in Mojo::DOM ?
02:16 punter maybe as an option of to_string
02:16 punter no
02:16 punter a separate method
02:17 punter since it inserts whitespace text between the elements
02:18 punter prettify, then
02:29 Grinnz that doesn't really make sense; whitespace is significant in DOM
02:37 Zoffix joined #mojo
02:42 punter Grinnz:  I'm constructing an RSS file, it would be nice, for debugging purposes, to be able to see it in pretty form
02:45 punter that's why I said prettify should be a separate method, that modifies the DOM
02:45 punter but there's unix tools to prettify XML, so I'm ok
02:45 punter In this line, what does 0.5 stand for? my $job = $worker->dequeue(0.5);
02:45 punter i saw it here: https://metacpan.org/pod/Minion::Worker
02:46 Grinnz it's the timeout; the maximum time it will wait for jobs to dequeue
02:47 preaction i wouldn't construct RSS via Mojo::DOM. construct it via a template. much easier
02:48 punter ok
03:00 meshl joined #mojo
03:07 meshl joined #mojo
03:14 noganex_ joined #mojo
04:10 asarch joined #mojo
05:01 woz joined #mojo
06:06 sri punter: clarify what? -j means exactly what you think it does, how many jobs a worker handles concurrently
06:07 sri and no, i don't think there will ever be a prettify method, the feature is not worth the amount of code it requires
06:38 woz joined #mojo
07:19 cpan_mojo JSON-Validator-0.63 by JHTHORSEN https://metacpan.org/release/JHTHORSEN/JSON-Validator-0.63
07:20 cpan_mojo Swagger2-0.64 by JHTHORSEN https://metacpan.org/release/JHTHORSEN/Swagger2-0.64
07:28 good_news_everyon joined #mojo
07:28 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vB6AW
07:28 good_news_everyon mojo/master 39af4c1 Sebastian Riedel: more punctuation
07:28 good_news_everyon left #mojo
07:28 * sri wonders if crab has made any progress on this https://github.com/kraih/mojo/issues/876#issuecomment-158883213
07:49 asm35 joined #mojo
07:50 asm35 left #mojo
08:17 Vandal joined #mojo
08:19 kaare joined #mojo
08:23 melo joined #mojo
08:37 trone joined #mojo
09:00 meshl joined #mojo
09:14 n16gel joined #mojo
10:17 Adura joined #mojo
10:17 Adura_ joined #mojo
10:22 kes joined #mojo
11:31 woz joined #mojo
11:40 woz joined #mojo
11:43 mudler joined #mojo
11:56 woz joined #mojo
12:01 woz joined #mojo
12:06 woz joined #mojo
12:42 sh4 joined #mojo
12:49 * sri sets Zoffix on fire
12:50 dod joined #mojo
12:50 Zoffix sri, what did I do?
12:50 Zoffix :/
12:50 sri "Zoffix has no idea who that old dude is, so they don't care :P"
12:50 sri about brian kernighan!
12:51 Zoffix ¯\_(ツ)_/¯
12:51 Zoffix I'm just being honest.
12:51 Zoffix His name reminds me of Starcraft II
12:51 * sri tries to set Zoffix on fire again
12:51 sri https://en.wikipedia.org/wiki/Brian_Kernighan
12:53 Zoffix I don't really care. The thing with popular people is not everything they say is amazing and true, or even well-thought-out. Hence why I quoted Kelvin's thoughts on radioactivity in that conversation.
12:54 Zoffix Nice to know he lives 40 minutes away from me tho :P
12:54 jberger There are some really good computerphile videos with kernighan
12:54 dod joined #mojo
12:55 jberger Also, where did Zoffix say that?
12:55 sri #perl6
12:55 Zoffix jberger, http://irclog.perlgeek.de/perl6/2015-11-28#i_11617406
12:56 sri i linked this video https://www.youtube.com/watch?v=Sg4U4r_AgJU&t=57m06s
12:56 sri where kenighan says that he thinks perl6 will fail, so now #perl6 doesn't like kernighan anymore ;
12:56 sri ;p
12:56 Zoffix Now I want to play some Starcraft II... thanks sri :P
12:57 stephen joined #mojo
13:03 sri javascripts on a plane :O http://reaktor.com/blog/aircraft-customer-experience-on-a-new-level/
13:03 jberger Get. Off. My. Plane.
13:04 sri who would have thought that we'd be using node.js to control airplanes in 2015
13:04 jberger Kernighan I think is just using an easy example, one that he didn't have to explain
13:05 jberger That just goes to show the perception p6 has built outside their bubble
13:05 jberger And what it has done to the perception of p5 (not evolving?!)
13:06 jberger Note that he then says that c++ is too big and [haskel] is too hard
13:07 jberger He is talking in broad strokes to close his talk
13:08 McA joined #mojo
13:24 ashimema anyone know of any good blog posts/guides about minion out there..  broad strokes kinda stuff regarding how jobs are taken off the queue, numbers of workers, hows job dependencies may (or may not) work..?
13:25 ashimema I've got my first jobs working and stuff.. just realised there some broad area's of knolledge 'm missing and would love to read such an article/post ;)
13:30 jberger There's FUD about p5 in #perl6 just lines below Zoffix's comment
13:30 Zoffix "FUD"?
13:30 jberger From Woodi
13:31 Zoffix What's fud?
13:31 jberger How does p6 expect the world to understand p6 when it can't even come to grips with p5
13:31 jberger F-ed up discourse
13:32 ashimema fud = fear, uncertaintly and doubt where I am
13:32 ashimema ahh..
13:32 ashimema that makes more sense jberger :)
13:32 Zoffix jberger, I think Woodi's comment was made from outside of Perl 5 world.
13:33 jberger Well the jargon file agrees with you ashimema
13:33 jberger But the practical usage is the same
13:33 Zoffix jberger, in an another discussion, someone thought that Perl 5 community was simply maintaining Perl 5 as it were when P6 started development and not adding anything new.
13:33 jberger s/fud/derp/
13:35 jberger Zoffix: right, if people that close to p5 (only a half language away) can't understand what's going on in that language, how can they expect outsiders like Kernighan to understand
13:36 Zoffix jberger, but that's exactly my point. There are P6 coders who know as much about P5 as PHP or Ruby coders.
13:36 Zoffix So telling P6 folks to "come to grips with p5" is a bit nonsensical
13:37 jberger Then why give Kerighan crap for not understanding p6's insular world?
13:37 Zoffix At least to those who never coded P5 in their lives.
13:37 jberger Almost nobody has coded p6 in their life
13:38 jberger P6 would do well to remember that
13:38 Zoffix jberger, give crap? I wasn't paying too much attention to that conversation but I don't think sri's statement "so now #perl6 doesn't like kernighan anymore" is true.
13:38 jberger They don't get to start on a pedestal
13:39 jberger In fact they don't even get to start on the pedestal that p5 had when p6 was announced (though they seem to think they do)
13:40 Zoffix I know someone who'd disagree with you telling P6 folks what to do :P
13:40 Zoffix (Larry)
13:42 jberger That's party if the problem
13:42 jberger *part of
13:42 Zoffix I don't see much of the problem TBH :)
13:42 Zoffix Other than a few grumpy Perl 5 coders trolling me on Twitter.
13:43 jberger I'm not worried about us grumpy p5 coders, I'm worried that p6 is going to be released to a fizzle because they think they get the pedestal that p5 had
13:44 Zoffix .oO( what pedestal? )
13:44 jberger When in fact we lost that pedestal (around the same time that p6 stopped paying attention to p5)
13:44 Zoffix Here we go again.
13:45 jberger The good view of perl in the wider perl community
13:45 jberger argh wider *programming community
13:45 jberger nm
13:45 jberger I don't want to argue it again either
13:47 n16gel joined #mojo
14:04 cpan_mojo Mojolicious-Plugin-NYTProf-0.18 by LEEJO https://metacpan.org/release/LEEJO/Mojolicious-Plugin-NYTProf-0.18
14:05 Zoffix ooh, shiny.
14:05 Zoffix I even have it ++ed already :S must've forgotten about it
14:09 gryphon joined #mojo
14:24 jberger http://perl6intro.com/
14:25 * sri is almost certain that perl6 doesn't have a chance
14:25 jberger "Statements are typically a logical line of code, they need to end with a semicolon: if True { say "Hello" };"
14:25 jberger do I really need a semicolon there?
14:25 jberger if yes then :o if no then that's a bad example
14:26 Zoffix jberger, bad example.
14:26 Zoffix IIRC the person who made that site showed us the first draft just a day or two ago. So, I'd expect there to be many errors.
14:27 jberger k
14:27 jberger its like the second code example
14:28 Zoffix I see them here as well: http://perl6intro.com/#_if
14:52 woz joined #mojo
15:06 woz joined #mojo
15:14 woz joined #mojo
15:16 woz joined #mojo
15:36 woz joined #mojo
15:41 woz joined #mojo
15:55 asarch joined #mojo
16:04 jzawodn joined #mojo
16:06 woz joined #mojo
16:11 lluad joined #mojo
16:14 woz joined #mojo
16:16 asm35 joined #mojo
16:16 asm35 left #mojo
16:25 woz joined #mojo
16:27 woz joined #mojo
16:29 ajr_ joined #mojo
16:41 voldemortensen joined #mojo
16:46 woz joined #mojo
16:53 woz joined #mojo
17:05 woz joined #mojo
17:10 PryMar56 joined #mojo
17:15 asm35_ joined #mojo
17:18 woz joined #mojo
17:35 woz joined #mojo
17:39 woz joined #mojo
17:44 woz joined #mojo
17:52 kyshtynbai joined #mojo
18:00 punter joined #mojo
18:01 asm35_ left #mojo
18:18 woz joined #mojo
18:21 woz joined #mojo
18:32 woz joined #mojo
18:34 phillipadsmith joined #mojo
18:39 woz joined #mojo
18:42 woz joined #mojo
19:16 phillipadsmith joined #mojo
19:19 bjakubski joined #mojo
19:19 chansen joined #mojo
19:38 edward_ joined #mojo
19:40 cpan_mojo MojoX-Plugin-PHP-0.05 by MOB https://metacpan.org/release/MOB/MojoX-Plugin-PHP-0.05
19:55 woz joined #mojo
19:55 voldemortensen joined #mojo
20:22 woz joined #mojo
20:31 Repaster joined #mojo
20:36 cpan_mojo Future-Mojo-0.003 by DBOOK https://metacpan.org/release/DBOOK/Future-Mojo-0.003
20:43 Zoffix joined #mojo
20:44 Zoffix left #mojo
21:37 * sri vaguely remembers someone asking for more plain mojolicious shirts
21:38 sri i've added this one for now https://shop.spreadshirt.com/kraih/-A103743018
21:57 btyler left #mojo
22:03 meshl joined #mojo
22:06 tim joined #mojo
22:08 tim Hi, I have a small suggestion to fix some warnings with malformed response cookies: http://fpaste.org/295484/14487482/
22:17 meshl joined #mojo
22:25 sue joined #mojo
23:16 woz joined #mojo
23:56 Grinnz i might stop hating this API after the 14th time i refactor Mojo::WebService::Twitter... i'm on #8 or so

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