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

IRC log for #mojo, 2015-02-19

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

All times shown according to UTC.

Time Nick Message
00:09 good_news_everyon joined #mojo
00:09 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/AIaP
00:09 good_news_everyon mojo/master 45f1584 Sebastian Riedel: make sure values are passed along to the event loop
00:09 good_news_everyon left #mojo
00:13 legz joined #mojo
00:18 Anon021 joined #mojo
00:22 jberger bpmedley: foo you have thoughts?
00:22 jberger *do
00:24 bpmedley jberger: https://gist.github.com/brianmed/426cde5879b9502f2a05 <— if you use upstart
00:26 jberger bpmedley: ok that's one worker, which is probably fine for now
00:26 riche joined #mojo
00:26 jberger I'm more interested in how one might start several
00:26 bpmedley Yes, one conf file per worker.  Doesn’t scale for oodles of workers.
00:27 jberger I suppose having one start at boot at least means that there will be something
00:28 bpmedley http://supervisord.org/
00:28 bpmedley I’ve heard good things about this.
00:30 csson joined #mojo
00:30 kayi joined #mojo
00:33 riche jberger: I got kayi in irc, she isn't v familiar w it, pls be gentle.  She needs to start getting the website updated, but she doesn't know how to go about it; she's used to wordpress, etc
00:34 kayi @jberger
00:34 riche if it's not capable for web content mgmt then probably I need to help her
00:35 jberger riche kayi o/
00:35 jberger (that's a wave)
00:37 jberger riche: we've been debating whether to use ACT or just a static site
00:39 riche I don't mind either way - but to let u know if it remotely requires coding, kayi won't be able to do.
00:39 jberger riche: we understand that
00:40 jberger last year batman used ACT  and he says it was not a pleasant experience
00:41 lb joined #mojo
00:41 riche ok.  to me, wordpress is a clusterbleep but kayi likes it ;) not sure where the exact shortcomings are, but we need to promo... so if we can decide in the next 24-36h, it will be progress
00:43 riche it _would_ be cool for it to be a slick Mojo site, and perhaps the start of a Mojo based content management system
00:43 riche in any case, we need a 2015 landing page
00:51 jberger well either way, we can mock up a static landing page, no matter what the end product will be
00:51 riche anyways I need to run ... kayi was asking me how the site can be modified, and didn't know about irc, so I got her this far.  I think she can take it from here.
00:52 riche cool
00:52 jberger sure
00:52 jberger kayi: nothing to be scared of :-)
00:52 riche kayi let's get a mockup on what we want the landing page to look like, and for right now we will let the coding wizards get it up for you ok?
00:53 jberger so that you know some of the faces, sri is Sebastian Riedel
00:53 riche waves
00:53 jberger batman is Jan Henning Thorsen
00:54 jberger marcusr: is Marcus Ramberg
00:54 jberger tempire is Glen Hinkle
00:54 kayi I don't know their faces
00:54 jberger hahaha, true
00:54 kayi i know their nicknames
00:54 kayi you can find me on linkedin
00:54 jberger crab is Abhijit Menon-Sen
00:55 kayi yeah
00:55 jberger oh ok
00:55 jberger my linkedin is probably WAYYY out of date :)
00:55 kayi that's alright
00:56 cfedde file locking for serialization
00:56 cfedde oops
00:56 cfedde oh well.
00:57 kayi i have drafted sponsor message and offering for craigslist
00:58 kayi also re-using last year call-for-paper message with minor changes
00:59 jberger sounds great
01:00 jberger batman, what is the 2014 site hosted on? is it your digitalocean?
01:00 * jberger ponders a Mojo+Mojo::Pg conference system
01:00 jontaylor joined #mojo
01:00 * jberger wonders if he has enough time
01:02 lb_ joined #mojo
01:07 jberger batman you mentioned a github project
01:07 kayi i am going to try setting up an account for mojoconf 2015 on eventbrite
01:08 jberger kayi: go ahead, its probably best, at least in the short term
01:09 jberger if I get a site up and running it would probably be more devoted to talks etc
01:09 jberger I don't know what eventbrite has in that way, maybe they have something
01:10 jberger unfortunately, I'm going to be stepping away here in a few minutes, meeting some friends, but I will check in every so often
01:11 kayi ok, have fun
01:11 purl Don't do anything I wouldn't do!!!
01:13 lb joined #mojo
01:14 jberger kayi: fyi, purl is a bot
01:15 * jberger pats purl
01:15 * purl bites!
01:17 sri kayi: here's a gif of the whole core team (except for crab) http://i.imgur.com/DiEfO3h.gif
01:22 sri oh, with riche sitting at the desk :)
01:22 jberger batman wasn't core team yet
01:23 sri oh right
01:23 sri the batman is hiding in the shadows
01:23 jberger I wish I could say I had lost some weight, hmmm
01:23 jberger oh well time to go drink beer
01:24 sri that's the spirit
01:24 * sri should go running more often too though :S
01:25 romel left #mojo
01:25 romel joined #mojo
01:28 Kundun joined #mojo
01:37 Adurah joined #mojo
01:37 memowe joined #mojo
01:37 sujithm_ joined #mojo
01:37 kwa1 joined #mojo
01:37 disputin1 joined #mojo
01:37 bc547 joined #mojo
01:37 Ptolemarch joined #mojo
01:43 jberger I did start MCT before I left ;)
02:18 kayi sri: thanks for gif
02:18 kayi labeling who is who in the gif would help me to identify your faces
02:29 good_news_everyon joined #mojo
02:29 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/ALLA
02:29 good_news_everyon mojo/master b589b5b Sebastian Riedel: test max_clients too
02:29 good_news_everyon left #mojo
02:47 klapperl joined #mojo
02:51 hesperaux joined #mojo
02:52 cpan_mojo Yars 1.07 by PLICEASE - http://metacpan.org/release/PLICEASE/Yars-1.07 (depends on Mojolicious)
03:02 noganex_ joined #mojo
03:26 Ptolemarch joined #mojo
03:27 sri btw. found out earlier that threads in perl6 are pretty big, with 8mb
03:28 sri that rules out some of the more fancy ideas for a port
03:54 Oleg joined #mojo
03:57 zivester joined #mojo
04:00 noganex joined #mojo
04:03 Grinnz what's 8mb?
04:03 purl i heard 8mb was a good 3 hours
04:03 Grinnz lol
04:17 cpan_mojo Mojolicious-Plugin-MimeTypes 0.02 by Stefan Adams - http://metacpan.org/release/SADAMS/Mojolicious-Plugin-MimeTypes-0.02
04:21 sri every thread in perl6 has 8mb overhead
04:24 Snelius nice
04:35 sri still better than no threads, but i wouldn't design a new web server on top of it ;p
04:37 sri a rather direct port of mojolicious, with maybe callbacks replaced with promises and supplies seems more reasonable
04:38 sri i've mentioned earlier on #perl6 that i like the idea of turning the events of our observables into supplies
04:38 sri $c->res->on(finish => ...) to $c.res.finish.tap(...)
04:44 sri jberger, tempire, marcusr, batman: maybe time to collect things we want to change in 6.0
04:45 sri i don't think we have enough versions number to wait until june with the release, so might as well do it soon :)
04:53 Grinnz you just have to start doing 5.801 etc :P
04:56 genio 8mb sounds like a lot per thread, but I have no idea how that compares to other languages
04:59 sri i think jvm threads are 512kb
04:59 genio damn.  that's a LOT of overhead then
05:05 sri i thought earlier i remembered something requiring 4kb only
05:05 sri but that might have been Coro
05:15 Ptolemarch joined #mojo
05:17 polettix joined #mojo
05:20 inokenty-w joined #mojo
05:20 good_news_everyon joined #mojo
05:20 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/ALiu
05:20 good_news_everyon mojo/master a7fb3a4 Sebastian Riedel: avoid dynamic regex
05:20 good_news_everyon left #mojo
05:21 sri optimization potential, there's a few more uses of \Q\E that might not be necessary
05:41 tempire 8m for a thread is crazy
05:41 * tempire runs every morning
05:45 sri holy shit lenovo
05:45 sri there goes the last bit of credibility they had left
05:46 sri https://news.ycombinator.com/item?id=9072481
05:46 avenj heh
05:46 sri preaction: hey, this one is for you! :) https://twitter.com/kennwhite/status/568270748638318593/photo/1
05:49 sri if they do that for money, you gotta wonder what kind of garbage they are willing to hide in firmware
05:52 polettix joined #mojo
05:54 sri muhahahahaha https://forums.lenovo.com/t5/Lenovo-P-Y-and-Z-series/Lenovo-Pre-instaling-adware-spam-Superfish-powerd-by/m-p/1863174#M79882
06:21 sri they are not coming back from that
06:28 Ralesk joined #mojo
06:35 dotandimet joined #mojo
06:42 Grinnz joined #mojo
06:52 marcusr Hope the uni returns our lenovos
06:53 tempire As I've seen, lenovo has the only decent non-apple hardware
06:54 marcusr tempire: I thought so too, until I got a lenovo t440. it's not great
06:55 bpmedley What do ya’ll think of System76?
06:55 marcusr I actually think the new dell xps 13 look pretty decent
06:56 marcusr http://www.dell.com/us/p/xps-13-9343-laptop/pd
06:57 marcusr I have no actual experience, but system76 looks a bit clunky from pics
06:57 Snelius marcusr: very nice dell, thx
06:57 crab what's wrong with the t440?
06:57 marcusr crab: the keyboard and the touchpad, mainly
06:58 crab the fancy not-real-buttons thing?
06:58 marcusr yeah. I heard they are going back to buttons in the next revision, tho
06:58 Snelius my t420 is good enough
06:58 marcusr Also, my employer bought the version with the cheap display, which was a big mistake.
06:59 marcusr it has very poor vertical viewing angle. You have to tilt it just right, or the colors get all washed out.
06:59 bpmedley http://store.hp.com/webapp/wcs/stores/servlet/us/en/mdp/Laptops/elitebook-folio-122505--1#!&amp;TabName=vao
06:59 Snelius oh no, not hp pls
06:59 marcusr the penny pinching on end user hardware is the only thing I quite dislike about my new job.
07:00 marcusr (they spend millions on computing clusters)
07:02 marcusr on the positive side, the Lenovos are quite well supported by Linux, so most stuff just works.
07:03 marcusr and battery life isn't bad
07:03 marcusr I really enjoy i3 btw, osx window manager feels so clunky to me now.
07:04 Ptolemarch joined #mojo
07:06 crab i bought a t430s just after the t440 was released
07:06 dotandimet joined #mojo
07:07 marcusr crab: I think that was probably the last good laptop in the t series. Congrats :)
07:38 Vandal joined #mojo
07:39 dotandimet joined #mojo
07:41 dod joined #mojo
07:44 basiliscos joined #mojo
07:46 dod joined #mojo
07:50 fhelmber_ joined #mojo
08:03 reneeb joined #mojo
08:07 eseyman joined #mojo
08:15 Dandre joined #mojo
08:20 trone joined #mojo
08:31 mtths joined #mojo
08:53 Ptolemarch joined #mojo
08:56 teejay joined #mojo
09:05 jontaylor joined #mojo
09:38 bzero joined #mojo
09:52 marmez left #mojo
09:53 bd marcusr: is the t440 the one where the whole touchpad moves down on press? as in one giant mouse button?
09:53 marcusr bd: yes
09:53 Grinnz joined #mojo
09:53 bd oh yeah that got anoying quick ;)
10:21 Quai joined #mojo
10:24 melo joined #mojo
10:30 tempire That's the way the macbooks work
10:30 * tempire loves it
10:34 tempire Making a conf mgmt system is probably too much to do before June.
10:35 tempire There's probably a reason ACT is so bobo - it's probably harder than it seems.
10:36 tempire Github pages, given the markdown syntax is probably ideal.
10:37 tempire Especially since you can edit files directly on github
10:37 tempire I'll find the splash page for mojoconf I made a couple of months ago and put one up tomorrow
10:37 * tempire commits
10:41 tempire cocoaconf uses embedded eventbrite, seems to work well.
10:42 Ptolemarch joined #mojo
10:43 marcusr tempire: I think eventbrite + a splash page sounds perfect
10:44 tempire http://cocoaconf.com/dc-2015/register
10:45 tempire Yeah, I think I can put something together.
10:49 tempire I can't believe no one has made a combination statue of liberty raptor.
10:51 marcusr :D
10:51 kaare joined #mojo
10:52 tempire oh
10:52 * tempire found some excellent vectors
10:53 tempire lulz
10:53 tempire "Delicious Asian lunch"
10:54 waghso joined #mojo
11:19 waghso go|dfish: It creates arror
11:19 waghso *error
11:22 waghso left #mojo
11:40 fhelmber_ joined #mojo
12:05 dparry joined #mojo
12:16 dparry I'm trying to use mojo::io::stream and with a long response I seem to bounce around between the drain and read actions, which kind of makes it hard to identify when the full response has finished. I've tried setting the stream handle hot but that hasn't helped. Any ideas please?
12:17 polettix joined #mojo
12:29 punter joined #mojo
12:30 dparry ah, never mind, looks like on close does well enough here :)
12:31 Ptolemarch joined #mojo
12:34 kaare_ joined #mojo
12:48 tencendur joined #mojo
13:06 neilhwatson joined #mojo
13:26 marmez joined #mojo
13:34 Samysam joined #mojo
13:46 cpan_mojo Mojolicious-Plugin-MimeTypes 0.03 by Stefan Adams - http://metacpan.org/release/SADAMS/Mojolicious-Plugin-MimeTypes-0.03
14:10 amon joined #mojo
14:18 gryphon joined #mojo
14:20 Ptolemarch joined #mojo
14:21 marmez left #mojo
14:25 Ptolemarch joined #mojo
14:25 zivester joined #mojo
14:30 Grinnz https://github.com/kraih/mojo/issues/742#issuecomment-75023215 how is the controller's every_param method supposed to behave w.r.t stash values and file uploads? this has always been unclear to me as well
14:31 Grinnz to me it doesn't make sense for it to do anything except continue to return the GET/POST params, but i guess it's being consistent with param()?
14:52 irq joined #mojo
14:54 Samysam Hi guys, I'm trying to get the exception object inside a before_render hook. (documentation seems outdated - goo.gl/ktZBZF, since there is no 'exception' in stack)
14:57 edenc joined #mojo
15:04 polettix joined #mojo
15:07 panzana` joined #mojo
15:08 stryx` joined #mojo
15:09 Grinnz Samysam, it's the stash and it works for me as described
15:09 jberger Grinnz: I'm assuming he means stack trace
15:09 jberger I'm not sure how nested helps show up in the stack trace
15:10 jberger I'm assuming they show up as AUTOLOAD
15:11 Samysam it's just now the exception is in $args->{exception}, not in $c->stash('exception')
15:12 punter joined #mojo
15:13 jberger oh, interesting
15:13 jberger I've never used that functionality, so I can't answer, but if the example doesn't run as shown that's probably bad
15:14 punter joined #mojo
15:15 cpan_mojo WWW-Crawler-Mojo 0.11 by Sugama Keita - http://metacpan.org/release/JAMADAM/WWW-Crawler-Mojo-0.11
15:22 odin22 joined #mojo
15:24 teejay hey - my google-fu is failing me - is there a good example of populating a mojo template form fields from either dbic row (on first view) or form params?
15:25 teejay ..or do I just check for param manually and lose the free sticky"
15:25 teejay ..or do I just check for param manually and lose the free "sticky" fields the tag helpers provide?
15:28 Grinnz_ my $exception = $c->stash('exception');
15:28 Grinnz_ if ($exception) {
15:28 Grinnz_ this is straight from my before_render hook, works fine
15:32 teejay hmm
15:32 Grinnz_ (that was to Samysam not you btw)
15:33 teejay ah
15:35 teejay quick Q - not clear from docs : %= text_field first_name => 'Default name' - does that use request param if submitted otherwise default to 'default name'?
15:35 Samysam Grinnz_: arff.. perhaps that's because I'm using Mojo::Base 'Mojolicious' instead of ;Mojolicious::Lite;
15:35 Grinnz_ Samysam: this is in a full mojolicious app...
15:36 Grinnz_ Mojolicious::Lite hook() is exactly the same as Mojolicious::hook() anyway
15:38 Samysam Grinnz_ : really strange, I'm not making anything tricky, and I'm using the last cpan version of mojolicious
15:39 Grinnz_ Samysam: do you have an example of code that doesnt work?
15:39 arthas joined #mojo
15:39 Samysam I'll make a little one, I need 10mins
15:42 good_news_everyon joined #mojo
15:42 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/Am2s
15:42 good_news_everyon mojo/master 111c38b Sebastian Riedel: better use arguments in before_render hook
15:42 good_news_everyon left #mojo
15:46 Grinnz_ well there you go.. if $args works use that :P
15:47 sri it's an interesting problem, render_maybe is actually called twice there, with different template names, the first time the exception is only in $args, the second time in $args and the stash
15:48 sri it's in the nature of the hook, so $args is the better choice here
15:48 Grinnz_ hmm
15:48 Grinnz_ i havent seemed to have a problem with that, i just check for the template name 'exception'
15:49 sri first is called 'exception.development'
15:49 Grinnz_ ah
15:53 polettix joined #mojo
15:59 Samysam Grinnz_ : Ok, my minimal example: http://pastebin.com/UBgeQAce
16:01 Grinnz_ Samysam: yeah, you're checking for exception.$mode which is why you hit that issue; just use $args
16:02 Samysam use args now, but perhaps we should change the documentation
16:03 sri Samysam: you're 15 minutes late
16:03 Samysam ^^
16:04 sri http://irclog.perlgeek.de/mojo/2015-02-19#i_10142470
16:05 Samysam Cool, thank you guys !
16:05 Grinnz_ hehe
16:35 polettix joined #mojo
16:38 sri would have been better if the mojoconf tweet was actually tagged with mojolicious ;p https://twitter.com/richardelberger/status/568272074839437312
16:41 cfedde Too bad it's NYC.  It'd be nice if it was at the same venue as YAPC::NA. Not that I have any great love for SLC.
16:42 irq joined #mojo
16:49 tencendur joined #mojo
16:55 sh4 joined #mojo
17:01 polettix joined #mojo
17:13 Ptolemarch joined #mojo
17:21 punter joined #mojo
17:30 odc well at least now we can start planning our holiday in june 8)
17:31 sri NYC seems like a fun place
17:35 odc they say they have the best pizza in the world :3
17:36 sri italy would like to have a word with you
17:49 jberger odc: as a proud chicagoan, I vehemently disagree
17:49 Grinnz lol
17:49 Grinnz i've only had "new york" pizza from places that weren't actually in NYC
17:49 Grinnz but their version was pretty good
17:52 jberger http://goo.gl/tvQzds
17:53 alnewkirk joined #mojo
18:00 genio don't half of those just count as lasagna without noodles (and on top of garlic bread instead of the bread on the side)
18:02 Grinnz lol
18:02 Grinnz i like deep dish
18:05 meredith i like ny style and chicago style -- around DC almost every pizza is ny style slice shops, plus 2/3 of them make NY their theme, and there's almost no chicago-style around
18:06 meredith there's a void left in my stomach
18:06 meredith actually i'm just hungry and it's lunch time
18:08 * sri really wants to try chicago style pizza
18:09 jberger sooo goood
18:10 sri oh, katz's delicatessen is just around the corner from mojoconf :o
18:10 jberger chicago style is rare to find it out of chicago
18:10 jberger NY style is just "a big greasy slice of pizza"
18:10 jberger so you can get that anywhere
18:11 meredith fold it in half, drip the grease out the tip
18:11 meredith yup
18:13 * sri likes traditional italian pizza https://www.walksofitaly.com/blog/wp-content/uploads/2011/10/DSC_1562.jpg
18:14 meredith so is there a planned venue for mojoconf now?
18:16 meredith i told .... someone? ... i could help and get to nyc fairly easily, but didn't hear any more
18:19 Oleg joined #mojo
18:20 Grinnz jberger, i dont know if it was technically "NY style" but this place "I Love NY Pizza" near RPI was great
18:20 tempire nyc pizza is better
18:20 tempire chicago style pizza isn't pizza
18:20 Grinnz but not the one on 4th street because that was a totally different restaurant
18:20 tempire it's casserole
18:21 * tempire throws down the gauntlet
18:21 Grinnz no wait, 4th street was the good one, hoosick was the fake one
18:21 Grinnz :P
18:21 tempire There's an excellent desert place I'll you guys to
18:21 irq joined #mojo
18:21 tempire *take you guys to
18:21 Grinnz tempire, with real sand?
18:22 sri meredith: i think there is a venue
18:22 tempire Yes. With Bedouins and everything.
18:22 sri meredith: http://hsc.universitysettlement.org/hsc/space/classrooms/
18:23 sri here's the details we have so far https://www.eventbrite.com/e/mojoconf-2015-nyc-tickets-15825231694
18:23 marcusr meredith: ka yi would def. appreciate help, I think - @_kayih on twitter
18:23 tempire You can't get ny style pizza anywhere but ny
18:23 tempire Same with the bagels
18:23 dotandimet joined #mojo
18:23 marcusr but why would you want nyc bagels when you can go to paris?
18:23 tempire There's a particular aspect of the water that makes it different
18:24 marcusr :)
18:24 * jberger slaps tempire with (slightly tomato stained) white glove
18:24 jberger I DEMAND SATISFACTION!
18:24 tempire I don't know. I don't care about bagels. But that's what all the bagel aficionados say.
18:24 marcusr https://www.youtube.com/watch?feature=player_detailpage&amp;v=GZeUntdObCA#t=1045 this talk about ipmi is awesome and terrifying.
18:24 meredith cool thanks, i'll ping them
18:24 tempire I want to announce
18:25 marcusr tempire: it's announced on twitter.
18:25 tempire No, not that.
18:25 marcusr oh, good
18:25 sri marcusr: semi-announced
18:25 tempire I want to announce something important.
18:25 tempire That I now have an iPhone 6 and an iPhone 6 Plus.
18:25 Grinnz lol
18:25 Grinnz you have both?
18:25 tempire Yes
18:25 marcusr why?
18:25 tempire development.
18:25 purl i think development is the exception
18:25 tempire test on all the things
18:25 Grinnz I THINK YOU'RE THE EXCEPTION
18:26 marcusr cray cray cray
18:26 sri think i'll get that new lenovo android phone
18:26 tempire with extra tls protection
18:26 tempire We should keep it semi-announced until I get the landing page up.
18:26 Grinnz hahaha
18:26 tempire Mojoconf, not my iphones.
18:26 Grinnz oh
18:28 sri "lenovo: more root certs than everyone else"
18:28 tempire OMGINEEDTHAT
18:30 bwf http://cdn.cultofmac.com/wp-content/uploads/2015/02/Ranking-manipulation.jpg - test all the things
18:30 tempire Old school CI
18:31 Grinnz old school? people still do that
18:31 tempire People still break dance too
18:32 jberger :o
18:48 Ptolemarch joined #mojo
18:49 Oleg Even here in Siberia we have pizzas network called "New York Pizza" :D
18:52 ua_ joined #mojo
18:53 basiliscos joined #mojo
18:53 Oleg joined #mojo
19:01 jberger Oleg: and it's probably not very good :p
19:03 Oleg probably :p
19:11 davido__ joined #mojo
19:17 sri interesting, the node http/2 modules was written by a gsoc student :o
19:17 sri s/s//
19:24 disputin joined #mojo
19:32 tgt joined #mojo
19:39 dotandimet joined #mojo
19:53 jonasbn joined #mojo
20:07 good_news_everyon joined #mojo
20:07 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/AO1O
20:07 good_news_everyon mojo/master 029a7b6 Sebastian Riedel: add list method to Mojolicious::Commands
20:07 good_news_everyon left #mojo
20:07 sri more test coverage
20:10 sri oh wait, it doesn't change a thing :(
20:15 good_news_everyon joined #mojo
20:15 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/AOy1
20:15 good_news_everyon mojo/master c42a9c9 Sebastian Riedel: remove list method again
20:15 good_news_everyon left #mojo
20:15 sri well, that was a waste of time
20:15 * sri needs a break
20:27 basiliscos joined #mojo
20:36 melo joined #mojo
20:57 marcusr sri: snack break?
20:57 * marcusr puts on an episode of Bosch
21:04 tempire How do we make a peace sign look modern?
21:05 genio the two finger or the lines with circle?
21:07 tempire circle
21:07 tempire I guess that's a peace symbol
21:08 genio meh.  I don't know that there's anything to be done for that.  It's always going to be just meh
21:12 jberger tempire: escher style?
21:13 jberger metal
21:13 jberger http://us.123rf.com/450wm/lhfgraphics/lhfgraphics1208/lhfgraphics120800018/14707640-peace-sign-icon-on-round-stainless-steel-modern-industrial-button.jpg
21:13 jberger wood-on-metal would be very "smart phone"
21:14 hernan604 whats the correct way of using redis blpop inside a ws
21:16 jberger isn't bl the blocking form?
21:17 sri why do you need to make a peace symbol look cool?
21:17 hernan604 jberger: yea, it sort of works but then stops
21:18 hernan604 so im obviously doing it wrong :p
21:18 marcus sri: for craigslist ad on the t-shirt I imagine
21:18 sri and you need to do something else than just put their logo on it?
21:18 marcus I think the original plain sans-serif peace symbol is plenty modern tho =)
21:18 hernan604 redis blpop: http://paste.scsys.co.uk/464564
21:19 hernan604 any help is welcome =)
21:19 odin22 joined #mojo
21:20 jberger hernan604: looks like you are making a chat?
21:20 marcus sri: I guess tempire is uneasy with being a hippie. I think he should just embrace it, man... :)
21:20 hernan604 jberger: yes
21:20 sri tempire: don't be a brogrammer!
21:20 hernan604 jberger: but i must use redis
21:20 jberger hernan604: you should be using pub/sub
21:21 hernan604 aaha.. thought so... but never used before
21:21 hernan604 thanks, i will try that!!
21:21 jberger https://gist.github.com/jberger/78d7c1649d7acbab6a94
21:21 marcus tempire: if it was up to me, we'd make the peace symbol and logo rainbow colored
21:21 hernan604 ahaaa ! 8-)
21:22 tempire Was my t-shirt comment too much? Should I just let it be?
21:22 marcus tempire: no, I agree about the front design
21:23 marcus https://www.youtube.com/watch?v=K5blyyzlNjc
21:24 jberger sri / bpmedly (in absentia): http://pastie.org/9963811
21:25 jberger oh bpmedley is on, my irc client had lagged I think
21:25 marcus the good thing about init scripts is there are so many different standards to choose from.
21:25 jberger I don't much care about the actual standard, the logic is what I'm curious about
21:25 punter joined #mojo
21:26 jberger use daemon(8) (like daemonize) to start and monitor each minion
21:27 jberger and track the pids of the daemon to shut them down
21:27 jberger daemon will watch the minion and restart it if is dies
21:27 bpmedley What if 100 minions get a DB error and then all restart at once?
21:28 jberger then I suppose that happens :s
21:28 bpmedley Casual visual inspection looks like it will work.
21:29 jberger it seems to work in local testing
21:29 jberger it was one of those scary "worked the first time" (syntax errors aside) and it made me nervous
21:29 bpmedley lol
21:38 jonafk joined #mojo
21:39 s1037989 From the Rendering Guide: $c->render('foo/bar/baz', variant => 'phone');  What's a good way to recognize that the variant => 'phone' variable should be set?
22:12 good_news_everyon joined #mojo
22:12 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/A3PB
22:12 good_news_everyon mojo/master b01f0a4 Sebastian Riedel: add a different variant of the list method to Mojolicious::Commands
22:12 good_news_everyon left #mojo
22:13 sri that's more useful
22:13 sri can be used for generic testing
22:23 sri and i'm a moron
22:24 sri but at least i'm not the only one ;p
22:24 sri i bet nobody here can tell me why that method will never work properly
22:27 good_news_everyon joined #mojo
22:27 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/A39Q
22:27 good_news_everyon mojo/master 57180fe Sebastian Riedel: the list method does not work well with 3rd party commands
22:27 good_news_everyon left #mojo
22:27 sri because that
22:28 purl because that is explicitly coded for and I don't know it isn't intentionally that way.
22:28 * sri pats purl
22:28 purl don't mess with me
22:28 sri it picks up 3rd party commands, making the generated list completely unpredictable
22:36 punter joined #mojo
22:39 marmez joined #mojo
22:42 jberger wait, you didn't want it picking up 3rd party commands?
22:42 jberger I guess not if you were using it for testing
22:46 n2plato joined #mojo
22:48 kwa joined #mojo
22:51 ua_ left #mojo
23:09 jberger if anyone is curious, this is the "finished" version of the minion rc script
23:09 jberger http://pastie.org/9963993
23:18 sri jberger: i didn't think it through
23:19 sri you can kinda make it work if you filter for commands you're interested in, but it looks terrible
23:24 jberger trying to figure out how to test commands? yeah, that's gonna be tough
23:29 * sri nods
23:30 sri oh well, at least i got to do some golfing :)
23:30 good_news_everyon joined #mojo
23:30 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/Asqb
23:30 good_news_everyon mojo/master d8e255d Sebastian Riedel: use a little less code to generate the command list
23:30 good_news_everyon left #mojo
23:46 Averna joined #mojo
23:50 berov joined #mojo
23:53 Grinnz_ jberger: if i'm getting a "Broken pipe" warning here it means the child couldn't send back to the main process? https://metacpan.org/source/JBERGER/Mojo-IOLoop-ForkCall-0.16/lib/Mojo/IOLoop/ForkCall.pm#L136
23:55 Grinnz_ it only happened in one chunk, and i'm not sure what triggered it
23:55 jberger I would assume so
23:55 jberger windows had trouble sending chunks that were too large
23:56 jberger if you happen to find that in non-windows I might have to make the chunked send the default
23:56 Grinnz_ by chunk i mean, it happened a bunch of times in a row
23:56 Grinnz_ simultaneously, really, from different workers i guess
23:56 jberger once the pipe is broken, you are probably screwed
23:56 tempire oooh
23:56 tempire stripe takes bitcoin
23:57 * tempire doesn't have any bitcoins anymore since the mtgox debacle
23:57 tempire :(
23:57 Grinnz_ maybe those workers got killed off before the fork call returned?
23:57 Grinnz_ except the chunk of workers getting killed off was a half hour earlier
23:57 Grinnz_ i dont have anything that long running lol
23:58 Grinnz_ oh wel.. will see if it happens again
23:58 Grinnz_ tempire: i sold off a while back, since i can't pay my heating bill in bitcoin :P
23:59 jberger Grinnz_: the _send call happens in the child (worker)
23:59 Grinnz_ isnt the child what the worker spawns?
23:59 Grinnz_ i'm talking about hypnotoad workers

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