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

IRC log for #mojo, 2016-01-06

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

All times shown according to UTC.

Time Nick Message
00:52 jberger joined #mojo
01:42 binlei joined #mojo
02:13 kaare joined #mojo
02:23 PryMar56 joined #mojo
02:35 binlei joined #mojo
02:45 bpmedley joined #mojo
03:05 noganex_ joined #mojo
03:31 punter joined #mojo
03:43 mermi joined #mojo
04:06 punter joined #mojo
04:14 absolut_todd joined #mojo
05:31 zivester joined #mojo
05:55 binlei joined #mojo
06:03 cpan_mojo Statocles-0.065 by PREACTION https://metacpan.org/release/PREACTION/Statocles-0.065
06:23 HuRRiCuP joined #mojo
06:23 HuRRiCuP left #mojo
07:09 dod joined #mojo
07:13 eseyman_ joined #mojo
07:14 dod joined #mojo
07:47 damaya joined #mojo
07:49 osfabibisi joined #mojo
07:55 sue joined #mojo
08:24 Vandal joined #mojo
08:36 damaya joined #mojo
08:39 AndrewIsh joined #mojo
09:13 yask joined #mojo
09:26 vanHoesel joined #mojo
09:27 absolut_todd joined #mojo
09:27 vanHoesel joined #mojo
09:46 vanHoesel1 joined #mojo
09:54 vanHoesel joined #mojo
10:00 vanHoesel1 joined #mojo
10:27 vanHoesel joined #mojo
10:42 punter joined #mojo
10:47 damaya joined #mojo
11:03 damaya joined #mojo
11:09 ZoffixWin joined #mojo
11:18 kes joined #mojo
11:30 KindOne joined #mojo
11:41 kaare joined #mojo
11:47 neilhwatson joined #mojo
11:51 henq_ joined #mojo
11:51 jkramer left #mojo
11:53 bpmedley joined #mojo
12:15 binlei joined #mojo
12:18 KindOne joined #mojo
12:21 marcusr joined #mojo
12:25 asarch joined #mojo
12:40 ZoffixMobile joined #mojo
12:42 bpmedley joined #mojo
13:10 CandyAngel Here you go, my little test to see if I can reimplement ygrep using Mojolicious. I think it's pretty neat: https://gist.github.com/anonymous/843af34cad38bd7e2007
13:11 zen joined #mojo
13:12 bpmedley CandyAngel : Cool, I had never thought to use Mojo::DOM with xml until you mentioned it..
13:13 CandyAngel xml?
13:13 CandyAngel Do you mean YAML? :P
13:14 bpmedley Perhaps I'm confused.  It looks like your converting YAML to XAML and searching..
13:14 damaya joined #mojo
13:15 CandyAngel Yeah. It converts YAML to XML, then I tag matches (and their parents/children) using Mojo::DOM, prune the non-matched nodes, output the pruned tree as YAML
13:16 CandyAngel Using the CSS selection is nice.. ./inventory_grep.pl grep 'item[capacity*="TB"]' == all TB-esque drives
13:26 sue joined #mojo
13:30 damaya joined #mojo
13:30 bpmedley CandyAngel : https://metacpan.org/pod/Minion::Notifier <-- Have you seen this?
13:37 jontaylor joined #mojo
14:01 CandyAngel bpmedley: I have, but I've not tried it
14:22 mr_trousers joined #mojo
14:26 zivester joined #mojo
14:32 ZoffixW joined #mojo
14:34 ZoffixW How can I find out where the pid file is? I have an app started on boot with Toadfarm init.d script (this one http://fpaste.scsys.co.uk/503934) and I now logged in and tried to hot restart the app with hypnotoad bin/GoGreen.pl; but my changes would not show up. Then I noticed there's no pid file in bin/ directory and when I ran `ps ax` I only saw the init.d script running and not perl /foo/bar/bin/GoGreen.pl app.
14:35 ZoffixW And I couldn't restart the init.d script as a non-root user. I guess my question is: how can I start the app on boot while retaining the option of restarting it manually as a regular user
14:36 bpmedley ZoffixW : You may need to use sudo so you have accurate permissions..
14:37 ZoffixW :(
14:38 ZoffixW OK :)
14:38 bpmedley Unless you use a non-priviledged port..
14:39 Grinnz init scripts require root permission. i have the init script start the daemon as a particular user in most cases.
14:41 ZoffixW k, then this app is sorted, but I have another one that is started the same way, but then there's a user process that restarts it every hour. I now realize that thing is broken. How can I restart it without a root?
14:42 bpmedley ZoffixW : Would you consider sudo?  That might make things easier.
14:42 ZoffixW Don't got sudo
14:42 bpmedley What OS are you on?
14:42 ZoffixW Well, the user does not have sudo perms. It's a Debian Wheezy
14:42 bpmedley Do you have root on the box?
14:42 ZoffixW Yes
14:42 ZoffixW Would simply a @reboot cronjob to load .bashrc and do hypnotoad bin/App.pl work?
14:43 ZoffixW IIRC that's how we did it originally, but it failed to start on boot. And I think it's because we forgot to load the .bashrc to get all the perlbrew stuff
14:43 bpmedley Are you wanting to give the user control over the app as needed?
14:43 bpmedley Or, just start once at boot?
14:44 jb360 joined #mojo
14:45 ZoffixW The user can have all the control over the app. That user has a script that restarts the app every hour. I want that process to automatically resume if the server is rebooted.
14:45 ZoffixW The code is public, actually. I want this line to work even after reboot: https://github.com/perl6/modules.perl6.org/blob/master/lib/ModulesPerl6/DbBuilder.pm#L92
14:45 ZoffixW But if I use an init script, then that hypnotoad foo/App.pl will fail, since the user doesn't have root perms
14:46 bpmedley ZoffixW : Would you consider what Grinnz does and have the init script start the app as a particular user?
14:47 ZoffixW Hm. Isn't that what "run_as "zoffix";" in my Toadfarm init script is meant to do? http://fpaste.scsys.co.uk/503934
14:47 bpmedley I'm not sure.
14:48 ZoffixW Hm. "Use "sudo" (might change) to force the script to be run as a given user."
14:48 * ZoffixW tries to restart the app as the user one more time
14:49 ZoffixW "Can't create listen socket: Address already in use"
14:49 mspo ZoffixW: the init script can su - user -c "myapp.pl"
14:50 mspo ZoffixW: and then you can have it start at startup with the normal means and use any number of process watchers to restart it if it died + cron to bounce it every hour
14:50 ZoffixW ^ that error doesn't show up with -f flag on hypnotoad BTW. It just silently exits
14:51 mspo your cron loading .bashrc probably didn't work because cron uses a restricted environment and debian (I think) uses /bin/sh as dash, not bash
14:51 ZoffixW mspo, well, it seems I'm already doing su - user -c... that's what Toadfarm advertizes it does
14:52 ZoffixW I've no idea where the pid file is though
14:52 ZoffixW And that's why hotstarting hypnotoad isn't working. It's not finding the pid file, so it thinks the app's not running
14:52 mspo look in the init script (Toadfarm?) it should point you in the right place
14:53 ZoffixW I don't see that direction. The script is this: http://fpaste.scsys.co.uk/503934
14:54 ZoffixW Computers are hard >_< I wanna become a tomato farmer.
14:54 mspo yes I see they are hiding it insid eof a perl script
14:55 ZoffixW k, I think I may have figured it out. https://metacpan.org/pod/Mojo::Server::Hypnotoad#pid_file
14:55 bpmedley https://metacpan.org/pod/distribution/Toadfarm/lib/Toadfarm/Manual/DSL.pod#run_as <-- Does this use suo?
14:55 bpmedley *sudo
14:56 ZoffixW If I explicitly tell it to store the pid in my bin/, then it should Just Work
14:56 mspo https://github.com/jhthorsen/toadfarm/blob/master/lib/Toadfarm.pm#L344
14:56 bpmedley ZoffixW : It seems that you need sudo setup for Toadfarm "run_as" to work..
14:57 mspo indeed
14:57 mspo this is a lot of abstraction for an init script
14:58 mspo it might be faster to just write one yourself
14:58 ZoffixW mspo, I think the idea is one init script starts N number of apps
14:58 ZoffixW With Toadfarm
14:59 ZoffixW ...and just got one, because I'm too lazy to learn things, so I've used the first thing that gave me the results I wanted ^_^
14:59 mspo for apps in x y z do; hypnotoad ${apps}.pl; done
15:00 bpmedley ZoffixW : Perhaps just setup sudo and Toadfarm will probably start working?
15:00 ZoffixW bpmedley, what do you mean? Give that user perms to run sudo?
15:00 bpmedley Let me look
15:01 ZoffixW hm
15:01 ZoffixW "Could not run '/usr/bin/sudo -i -n -u #1000 /home/zoffix/perl5/perlbrew/perls/perl-5.22.0/bin/perl /etc/init.d/web-go-green-foo.ca start' exit=3"
15:02 ZoffixW Weird. This worked 5 minutes ago :)
15:02 ZoffixW Ah, right, I changed the pid file location./
15:02 ZoffixW Found the old one, BTW, it's all in /tmp
15:03 gryphon joined #mojo
15:05 bpmedley ZoffixW : So, you've been tweaking things and your config is a little off now?
15:06 ZoffixW I solved the problem!
15:06 bpmedley What was it?
15:08 ZoffixW This is the new init script. The only difference is the last line specifying pid_file location: http://fpaste.scsys.co.uk/503938 . The problem was that Toadfarm was creating the file in /tmp instead of in my app's bin/. So when I went and tried to restart the app manually with hypnotoad bin/app.pl, it wasn't finding the PID file, and thinking it had to do a cold start, it failed because the port was already taken by the running app. So
15:08 ZoffixW by telling Toadfarm to store the pid file in bin/, manually running hypnotoad now finds that pid file and uses it to do the hostart
15:08 ZoffixW *hotstart
15:09 bpmedley ZoffixW++
15:09 Grinnz i like to put the pidfiles somewhere in /var/run for system-managed (init script) services
15:09 bpmedley I use random directories for sysadmin easter egg hunts.
15:10 ZoffixW heh
15:28 sh4 joined #mojo
15:41 damaya joined #mojo
15:45 jwang joined #mojo
16:20 zivester joined #mojo
16:43 Kogurr joined #mojo
16:45 damaya joined #mojo
16:46 sue joined #mojo
17:33 vanHoesel joined #mojo
17:37 Kundun joined #mojo
17:53 kaare joined #mojo
18:00 dod joined #mojo
18:04 punter joined #mojo
18:06 osfabibisi joined #mojo
18:43 good_news_everyon joined #mojo
18:43 good_news_everyon [mojo] kraih tagged v6.39 at a0e7651: http://git.io/vuar6
18:43 good_news_everyon left #mojo
18:45 good_news_everyon joined #mojo
18:45 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vuaom
18:45 good_news_everyon mojo/master f1abd6f Sebastian Riedel: bump version
18:45 good_news_everyon left #mojo
18:48 cpan_mojo Mojo-Pg-2.17 by SRI https://metacpan.org/release/SRI/Mojo-Pg-2.17
18:49 cpan_mojo Minion-4.02 by SRI https://metacpan.org/release/SRI/Minion-4.02
18:50 sri o/
19:13 jberger sri: \o
19:31 bpmedley joined #mojo
19:40 sri so, when is postgres 9.5 coming out?
19:40 PryMar56 joined #mojo
19:40 sri i've been seeing this all over twitter http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=cdd4ed5449bf317cc71b45a8deee0173822e7592
20:40 lluad Today, I think. I've not checked the master site.
20:41 pink_mist so within 2 hours 20 minutes. gotcha :P
20:41 Grinnz_ a lot more than that in alaska
20:41 lluad Nope, not there yet.
20:41 Grinnz_ or a lot less, depending
20:41 lluad Real Soon Now(tm).
20:44 berov1 joined #mojo
20:50 moritz joined #mojo
20:50 moritz hi all; I'm trying to understand the configuration concept for hypnotoad
20:51 moritz in particular, I'm used to other servers being able to specify arguments such as "listen" and "pid_file" on the command line, so that startup scripts (or systemd service files) can specify them
20:51 moritz why doesn't hypnotoad allow that? Would patches be welcome that enable that? If not, what's the idea behind it?
20:53 Grinnz_ you can just use a different configuration file
20:54 moritz can I specify the configuration file on the command line?
20:54 Grinnz_ hmm i suppose not
20:54 moritz that's unfortunate
20:55 mspo perl -e and you can probably do it :)
20:55 moritz the background is typicallly the ops people care about things like the pid file, the local port etc.; as a developer I typically don't so much
20:56 Grinnz_ listen can be specified as the env var MOJO_LISTEN, but there isn't one like that for the pid file as far as i know
20:56 moritz so I'd love to be able to say to the ops people "just specify the pid file $here", and I as a developer don't have to do anything to enable that $here
20:56 moritz or on a different level, I want to separate concern: business behavior vs. deployment environment
20:57 moritz Grinnz_: is there an env variable for the config file?
20:57 Grinnz_ aha, you can use MOJO_CONFIG for Mojolicious::Plugin::Config
20:57 Grinnz_ not sure about the json one
20:58 Grinnz_ ::JSONConfig is a subclass of ::Config so it should work for that one too
20:58 moritz Grinnz_: so I have to enable "plugin 'Config';" in the code, and then point MOJO_CONFIG to a file with { hypnotoad => { pid_file => '...'}} ?
20:59 Grinnz_ right
20:59 moritz hm, not ideal, but workabe
20:59 moritz *workable
21:00 mspo http://mojolicious.org/perldoc/Mojolicious/Guides/Cookbook#Hypnotoad  shows a -P
21:01 moritz mspo: but that's the prefork daemon thingy, not hypnotoad, right?
21:01 Grinnz_ on the prefork command, not on the hypnotoad
21:01 mspo hm
21:01 moritz IWBN if hypnotoad had -O key=value style thing like ssh has, for passing arbitrary configuration
21:02 mspo It is based on the Mojo::Server::Prefork
21:02 moritz if people agree this is the way forward, I might cook up a patch
21:03 Grinnz_ i don't know the intent, i guess hypnotoad was intended to be more of an "application with configuration" than a "command"
21:04 mspo hypnotoad the command is really just Mojo::Server::Hypnotoad->new->run($app);
21:06 moritz but nobody is served well if everybody is supposed to write their own wrapper that does the same thing, no?
21:06 mspo I think more command line options is a good idea :)
21:07 Grinnz_ moritz: given how tiny the wrapper is, i dont think that's really a problem
21:07 Grinnz_ i have my own morbo and hypnotoad wrappers for various reasons anyway
21:07 moritz Grinnz_: I don't understand that line of argument. Since the existing wrapper is small, it's OK to require people to write their own boilerplate code?
21:08 Grinnz_ there's no boilerplate to it; it's just a script that does one thing, and processes some commandline args that you may or may not need
21:08 moritz well, to me it feels like boilerplate if I have to write code just to invoke my application server with the right options
21:08 moritz there's no business logic in there, so it's pretty much boilerplate by definition
21:09 Grinnz_ i see it more as, the hypnotoad "script" is just provided for convenience
21:09 moritz Grinnz_: right; and I propose to make it more convenient
21:09 moritz Grinnz_: would that be bad?
21:09 Grinnz_ i'm not the one to answer that ;)
21:10 * moritz hopes that somebody who feels entitled to answer that steps up
21:11 mspo okay I think(?) you can just setup the env?
21:11 moritz mspo: which env?
21:12 mspo like this: HYPNOTOAD_PID=/tmp/foofoo.pid HYPNOTOAD_FOREGROUND=1 hypnotoad cms.pl
21:13 mspo oh oops, that didn't work
21:13 mspo sec
21:13 Grinnz_ HYPNOTOAD_PID is for internal management of the pid, not the pidfile :P
21:14 moritz I'll go with MOJO_CONFIG route.
21:14 mspo yeah ;)
21:14 mspo working on it
21:14 moritz fyi, background is that I'm writing a book about automating deployment, and I need an example application
21:15 moritz so the idea was to write a tiny Mojolicious::Lite application
21:15 moritz and show how to debian-package that
21:15 jberger moritz: hypnotoad's complexity comes from its ability to hot-restart
21:16 jberger because of that there's really nothing that can be passed in
21:16 jberger (like command arguments)
21:16 jberger all of the other servers can and do
21:17 jberger one thing to consider is that with the Config plugin it will merge your myapp.conf and then myapp.$mode.conf on top of it
21:18 jberger so if you want a QA environment with different hypntoad settings you can make a my.qa.conf which has a different hypntoad key
21:18 jberger hypnotoad*
21:18 Grinnz_ right, you can leverage the mode to use different configs
21:18 jberger then you start it with MOJO_MODE=qa
21:18 mspo indeed it just attempts to read that automatically
21:18 moritz jberger: so the settings mentioned at http://search.cpan.org/~sri/Mojolicious-6.39/lib/Mojo/Server/Hypnotoad.pm#SETTINGS can't simply be passed to the constructor?
21:19 miller joined #mojo
21:19 jberger moritz: the odd thing is that Hypnotoad doesn't inherit from prefork
21:20 jberger hypntoad contains an instance of prefork
21:20 jberger argh, I keep misspelling the nam ... ALL GLORY TO THE HYPNOTOAD!!!!!
21:20 moritz jberger: that sounds like a non-sequitor for me
21:21 jberger moritz: those setting are passed through to the prefork instance
21:21 jberger https://metacpan.org/source/SRI/Mojolicious-6.39/lib/Mojo/Server/Hypnotoad.pm
21:22 mspo it looks like a config *file* is the only way
21:22 mspo which ops teams can manage, fwiw :)
21:22 jberger mspo: well remember, its really just the app's config method: https://metacpan.org/source/SRI/Mojolicious-6.39/lib/Mojo/Server/Hypnotoad.pm#L21
21:23 mspo but you could have your file just have a hypnotoad section and it would get merged in, right?
21:23 jberger IF you use the Config plugin
21:23 mspo so the inline configs can stay the same as defaults
21:24 mspo hypnotoad does, from what I can tell
21:24 jberger there is a difference between the config method and the Config plugin
21:24 jberger the Config plugin loads configuration from a file
21:24 jberger the config method returns whatever configuration you put there
21:24 mspo oic
21:25 jberger you could have configuration in a database or pull it all from the environment or whatever you want to do to load it
21:25 jberger the Config plugin is a handy way to load it from a file
21:25 jberger but you can implement it however you'd like
21:25 jberger if that plugin doesn't do what you need
21:44 sri moritz: if you find a way to make such command line options work with hot deployment, knock yourself out, send patches!
21:47 moritz sri: so those settings really cannot be passed to the Mojo::Server::Hypnotoad constructor?
21:47 sri i guess this would be a candidate for an FAQ entry now
21:47 moritz and yes, FAQ would help :-)
21:47 sri moritz: not the problem, they need to be passed when hot deployment is initiated
21:47 sri or you need to find a way to explain why your command line options only work sometimes
21:48 sri the hypnotoad script is not a convenience like Grinnz said, it's a technical requirement
21:48 moritz sri: but isn't that the same case as the config file changing between hot deplyoments?
21:48 elrod joined #mojo
21:48 sri not at all
21:48 jb360 joined #mojo
21:49 vanHoesel joined #mojo
21:49 moritz sri: does the hot deployment still work when I change the pid_file setting in the config file?
21:49 sri when you run "hypnotoad myapp.pl" the second time it loads the app, configures everything, figures out where the pid file is, sends a signal to the real process, and exits
21:50 sri the real manager process receives the signal, and fork/exec's itself for reloading after a lot of housekeeping
21:51 sri socket descriptors are inherited, and information passed with env vars... yada yada yada
21:51 elrod anyone online familiar with the use of "over" and https://metacpan.org/pod/Mojolicious::Plugin::Authorization? I am unable to access the session data within the has_priv method.
21:52 sri hot deployment is more complicated than most people realize
21:52 moritz sri: so let me get this straight: passing hypnotoad settings on the command line would work, but it'd have to be done exactly the same way for each hot deployment, and we have no way to check if that's the case. Right?
21:53 sri no
21:53 sri right now, you simply can't pass information from the command line to the hot restarted server process
21:53 Grinnz_ options and env vars passed when hot restarting will not affect the existing process
21:53 sri only a signal is sent
21:54 moritz ok; so it'd always keep the same pid_file setting
21:54 Grinnz_ the existing process can reread its config file
21:54 mspo does the env get cleared on the USR2?
21:54 Grinnz_ it just won't get anything you passed to the hot restart call
21:55 moritz next attempt to clarify: passing those options on the command line would work for the *first* start, but not for a hot deployment
21:55 sri thinking some more about it, maybe the hot deployment process could be redesigned to make it work, it's a big change though, and would require hot restart on SIGUSR2 to be removed
21:56 moritz and only pid_file would need to be passed on a hot deploy, to find the PID of the process to send the signal to
21:56 sri oh no
21:56 sri i'm stupid, that could never work ;p
21:57 sri you'd need IO::FDPass to get the sockets from the old manager to the new one... which is totally crazy :)
22:07 sri i do wonder how the -g option in nginx works
22:08 sri anyway, contributions here are very welcome
22:09 sri be it actual support for command line options, or a faq answer
22:09 mspo why wouldn't ENV{PID_FILE} just work?
22:09 sri it would only work the first time
22:09 sugar joined #mojo
22:09 sri but you can't ever change it
22:10 sri well, actually, changing the pid file is hard either way
22:10 sri point is, if we had more options for it, there's more for people to get wrong
22:11 sri $ENV{PID_FILE} would actually go totally wrong the second time you run "PID_FILE=something_else.pid hypnotoad myapp.pl"
22:12 sri since the process would be unable to locate the old manager process
22:12 mspo yeah but that's true even if you change the pid_file in myapp.production.conf, right?
22:13 sri yes, but you could still manually send a SIGUSR2 and it would work
22:14 sri with an env var or command line option you're just screwed
22:14 mspo so the env is lost on SIGUSR2?
22:15 mspo or is the real question "lost on fork?"
22:15 sri no, the env persists forever if you only hot deploy
22:16 mspo what if you want to run the same app on different ports, etc?
22:16 sri that's not relevant
22:17 sri you need to make a copy or whatever
22:17 moritz mspo: then you start a second instance, no hot deploy necessary
22:18 sri you'll have all kinds of stuff overlapping... like log files
22:18 sri just don't do that
22:18 mspo sometimes you gotta do what you gotta do ;)
22:20 sri it's very unrealistic, hypnotoad can already listen on multiple ports
22:21 jegade Whats the maxium json file size for mojo::json? A 66MB needs so much memory, thats the oom kills the process > 10GB …
22:21 Grinnz_ theres no hardcoded max
22:25 sugar_ joined #mojo
22:26 Grinnz_ you might consider Mojo::JSON::MaybeXS
22:27 jegade ok
22:29 jegade ok, MaybeXS works
22:34 bpmedley https://github.com/brianmed/notify/blob/master/templates/index/slash.html.ep#L19-L77 <-- sri , have any time to look over this with respect to issue 891
22:35 sri bpmedley: sorry, not right now
22:35 bpmedley It's cool, thx
22:35 sri i'm still not really back
22:36 sri for the next few weeks i'll prolly just chime in every now and then
22:36 bpmedley Gotcha.  Thanks for everything for the past few years.. :-0
22:36 sri and leave the bug stuff to jberger
22:36 jberger :o
22:36 sri haha, big stuff!
22:36 sri but also the bug stuff
22:36 jberger I don't know if I want either of them :D
22:36 jberger but ok
22:37 sri well, it looks like your first two weeks as pumpkin holder went pretty well :)
22:37 sri at least i see nothing burning
22:37 jberger yep, nothing happened at all
22:37 jberger I think I'm finally starting to calm down after the holidays
22:37 jberger I have one more thing tonight and then I think my evenings get easier
22:38 sri MOAR REFACTORINGS!
22:39 jberger DUDE I'M BUSY HERE :D
22:39 sri we need a bigger team
22:40 jberger yeah
22:40 jberger like I said, I think I'll have more free time coming up
22:40 jberger I've been overflowing with evening committments
22:52 good_news_everyon joined #mojo
22:52 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vuwf7
22:52 good_news_everyon mojo/master e05d05e Sebastian Riedel: explain why Hypnotoad cannot be configured from the command line
22:52 good_news_everyon left #mojo
22:53 sri since nobody else was going to do that -.-
23:02 inokenty joined #mojo
23:03 jberger yeah
23:04 jberger at $work, we are considering moving from hypnotoad to prefork, because we aren't going to hot restart anyway
23:04 jberger as you mention there
23:04 good_news_everyon joined #mojo
23:04 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vuwkO
23:04 good_news_everyon mojo/master ed8108e Sebastian Riedel: slightly better explanation
23:04 good_news_everyon left #mojo
23:04 jberger we have load balancers that the ops guys like to use for this
23:05 sri totally reasonable
23:05 sri there's also http://mojolicious.org/perldoc/Mojolicious/Guides/Cookbook#Zero-downtime-software-upgrades
23:06 jberger what we are debating now is which startup mechanism is easier, in app config (hypnotoad) or command line (prefork)
23:07 Grinnz_ s/i/I/ s/comand/command/ :P
23:09 good_news_everyon joined #mojo
23:09 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vuwIV
23:09 good_news_everyon mojo/master a46040e Sebastian Riedel: fix a few typos
23:09 good_news_everyon left #mojo
23:09 elrod left #mojo
23:09 sri http://mojolicious.org/perldoc/Mojolicious/Guides/FAQ#Can-I-configure-Hypnotoad-from-the-command-line
23:13 batman jberger: toadfarm <3
23:14 good_news_everyon joined #mojo
23:14 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vuwtg
23:14 good_news_everyon mojo/master 2706d10 Sebastian Riedel: fix a few more typos
23:14 good_news_everyon left #mojo
23:42 sugar__ joined #mojo
23:47 inokenty joined #mojo

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