[00:33] <jrwren> anyone know how to use libapache2-mod_uwsgi ?
[13:28] <cmaloney> Good morning
[13:29] <brousch> yes
[13:44] <jrwren> what is good about it?
[13:45] <brousch> Nice weather. Friday.
[13:46] <jrwren> oh yeah!
[13:46] <jrwren> good morning
[14:08] <ColonelPanic001> 'morning
[14:08] <rick_h_> morning
[14:09] <jrwren> did anyone see my 20:33edt question last night?
[14:09] <rick_h_> jrwren: maybe, maybe not.
[14:09] <jrwren> libapache2-mod_uwsgi how in the world to use it?
[14:10] <jrwren> i eventually gave up, used proxypass to nginx to uwsgi
[14:10] <rick_h_> ah, yea saw that and never used it
[14:10] <rick_h_> gave up on wsgi + apache long ago
[14:10] <jrwren> i dno't think it actually works. there is zero docs, what docs do exist are incorrect.
[14:10] <jrwren> mod_wsgi+apache works ok, we use it in prod
[14:11] <ColonelPanic001> oh hey, I use Magento, I'm used to that kind of documentation
[14:11] <jrwren> but mod_uwsgi not so much
[14:11] <jrwren> wtf is magento?
[14:12] <ColonelPanic001> PHP e-commerce thing, horribly documented
[14:12] <jrwren> ah, yuk.
[14:12] <jrwren> for what are you using it?
[14:12] <ColonelPanic001> you just reminded me because just a day or two ago I looked at docs for a method, none was listed. Then found out it was there.
[14:12] <ColonelPanic001> sellin' stuff.
[14:12] <ColonelPanic001> https://commerce.wayne.edu/wsupjournals
[14:12] <ColonelPanic001> e.g.
[14:15] <rick_h_> I got 'endorsed' for php last night...
[14:17] <jrwren> linked-in sucks.
[14:17] <jrwren> i'm going to endorse you for wood working now
[14:18] <jrwren> ColonelPanic001: no engineering pubs?
[14:18] <ColonelPanic001> not that I know of. I wouldn't know know, though. I just keep the site from asploding.
[14:19] <ColonelPanic001> and answer dumb questions like "omg how do i set a price"
[14:31] <brousch> rick_h_: I get a lot of Ruby and Rails endorsements
[14:32] <ColonelPanic001> I got a java endorsement from my boss. I laughed
[14:32] <ColonelPanic001> I just fumble through doing android stuff a bit. I hate Java
[14:33] <cmaloney> Greetings from the Eye Docs.
[14:33] <_stink_> i cannot express my sadness that you can't endorse someone for an arbitrary string you type in
[14:33] <cmaloney> (JoDee's dad)
[14:33] <ColonelPanic001> rick_h_: you have a second? I have a small vim question, so naturally I thought of you.
[14:33] <brousch> ColonelPanic001: Kivy!
[14:33] <rick_h_> ColonelPanic001: maybe
[14:33] <rick_h_> :P
[14:33] <ColonelPanic001> _stink_: I endorsed Arslan for "working at heights"
[14:33] <ColonelPanic001> you just have to be creative
[14:33] <_stink_> hahaha
[14:34] <ColonelPanic001> rick_h_: doing `date +'%H:%M:%S'` in shell works as expected, but `:r !date +'%H:%M:%S'` in vim does not, it inserts "10H:10M:10S
[14:35] <cmaloney> I'm going to endorse you all for having LinkedIN Accounts
[14:35] <ColonelPanic001> other commands, like doing `:r !w`, work as expected. what have I done stupidly?
[14:35] <rick_h_> ColonelPanic001: in shell you grouped your command with `, I'd guess it's splitting things apart
[14:35] <ColonelPanic001> sorry, should have specified - I'm not using ` in the commands, that was just for in here
[14:36] <cmaloney> nmap <F3> a<C-R>=strftime("%T: ")<CR><Esc>
[14:36] <cmaloney> Use strftime instead of you can get away with it
[14:36] <rick_h_> +'%H:%M:%S'
[14:36] <rick_h_> errr let me try that again
[14:36] <ColonelPanic001> cmaloney: cool, that probably does do exactly what I want (just to hit a key and have the time appear). Now I'm curious why this doesn't work though. I assume it's an escaping thing, I'll just mess with it
[14:36] <rick_h_> ColonelPanic001:  need to escape the %
[14:37] <ColonelPanic001> didn't mean to use anyone as a human google, though
[14:37] <cmaloney> THat's fine
[14:37] <ColonelPanic001> hm
[14:37] <cmaloney> I don't mind
[14:37] <cmaloney> I like seeing activity in the channel. :)
[14:38] <rick_h_> ColonelPanic001: so if I do :!date +'\%H:\%M:\%S'
[14:38] <rick_h_> I get the right output
[14:38] <ColonelPanic001> dumb. Of me, I mean. I didn't think vim would be interpolating, thought ! made it just pass directly. I rarely use ! though, so there's why it didn't occur to me
[14:38] <ColonelPanic001> thanks
[14:38] <rick_h_> ColonelPanic001: I didnt' use with !r, but just ! so maybe there's another diff, but give it a go
[14:39] <cmaloney> It's not like we've ever run into that. :)
[14:39] <ColonelPanic001> cmaloney: just curious, why strftime instead of date? any particular reason?
[14:41] <cmaloney> doesn't require a shell-out
[14:41] <ColonelPanic001> ah, makes sense
[14:41] <cmaloney> Anytime I can avoid making a shell I try to take it
[14:42] <cmaloney> unless the alternative doesn't make sense
[14:42] <cmaloney> or it's Java. ;)
[15:48] <jsivak> ColonelPanic001: I have a snippet that does `system("date +%Y.%m.%d-%H:%M")`.. not sure if that's where you ended up
[16:39] <ColonelPanic001> ah, thanks
[16:39] <ColonelPanic001> I just did what cmaloney said.
[16:39] <ColonelPanic001> That's usually what I do
[17:53] <cmaloney> path of least resistance
[17:53] <cmaloney> ;)
[18:07] <rick_h_> ok, otterbox arrived well before Nov. Like it except for the port covers to razor bladed those off and yay
[18:24] <_stink_> man i cannot get celery task logging to work.  rick_h_, have you ever had trouble with this?
[18:25] <rick_h_> _stink_: yea, it's a pita
[18:25] <rick_h_> _stink_: so I do it on the server doing something, sec
[18:26] <rick_h_> _stink_: so I do http://paste.mitechie.com/show/1029/ to log to a file at INFO level for the production daemon
[18:26] <rick_h_> _stink_: I could never seem to get it right in programming through reading my app's ini file or whatever so doing it at the cli worked for me
[18:27] <rick_h_> _stink_: and then when I dev, well it just logs to console and I run with it
[18:27] <_stink_> ok, cool.  makes sense.  the docs seem to claim that it'll "set up everything for you" which seems, uh, wrong
[18:27] <_stink_> and that it'll redirect stdout/stderr to the right place
[18:28] <_stink_> but uh nope, not seeing it.
[18:28] <rick_h_> well you get the logger from the task
[18:28] <rick_h_> but it's got to be setup initially somehow someway
[18:28] <_stink_> yeah, i grab it with get_task_logger() at module top level
[18:28] <rick_h_> no, you have to grab it in each task
[18:28] <_stink_> ah man
[18:28] <_stink_> that was unclear
[18:28] <rick_h_> https://github.com/mitechie/Bookie/blob/develop/bookie/bcelery/tasks.py#L65
[18:29] <rick_h_> you have to get the logger from the task because the logger is running per worker and aggregated and such
[18:29] <rick_h_> everything is async, so if they all shared the one logger they'd block each other/etc
[18:58] <jrwren> anyone know the kernel really well?
[18:59] <jrwren> the chroot syscall fails if I chroot to a tree where bin/bash is a symlink, but works if it is not the symlink is to a place still in the tree. the exact same code works on other kernels
[19:00] <rick_h_> out of my leauge :/
[19:00] <rick_h_> err league
[19:04] <jrwren> correction: chroot syscall succeeds, execve fails with ENOENT
[19:58] <_stink_> rick_h_: thanks for the help, got it working.
[20:00] <rick_h_> _stink_: awesome
[22:50] <rick_h_> anyone using vagrant for anything?
[23:00] <brousch> i used it for viget.org
[23:01] <brousch> hold on, need to reboot
[23:10] <brousch> rick_h_: Did you have a vagrant question?
[23:10] <rick_h_> brousch: well trevlar created a vagrant setup for bookie so was curious for someone to try it and curious about the whole reason to git clone before vagrant up
[23:10] <rick_h_> brousch: https://github.com/fitztrev/bookie-vagrant
[23:11] <brousch> cone would be to get the VagrantFile
[23:11] <brousch> clone
[23:11] <rick_h_> no I mean step #2
[23:12] <brousch> looks like the vagrantfile will clone if you don't, so I guess it's a chance to use your own fork
[23:12] <rick_h_> ok, so it's not a required step then. That's how I read it as well
[23:13] <rick_h_> anyway, I ended up installing vagrant and trying it out now. I got impatient for someone else to
[23:17] <rick_h_> hmmm, seems to work but I can't access it from outside of the vm
[23:17] <rick_h_> I can links2 it inside the vm though
[23:18] <brousch> hm, it's not happy
[23:18] <brousch> vagrant errors
[23:18] <rick_h_> oh, worked here
[23:19] <brousch> that's usually due to a port forward problem. you have to make sure the vm and your computer have the same version of virtualbox
[23:19] <brousch> tools installed in the vm are same version as your virtualbox
[23:21] <rick_h_> heh, well that made it unhappy. I changed the vm network to bridged in virtualebox and my whole desktop is frozen and network died
[23:22] <rick_h_> but strange, in vbox my windows vm I can access automatically through NAT just fine. It actually accesses lxc networks in the desktop from the vbox windows side ok
[23:23] <brousch> probably a tools mismatch
[23:23] <rick_h_> yea, now that I've rebooted errors
[23:23] <brousch> your win VM has tools matching your installed virtualbox
[23:23] <rick_h_> I downloaded the latest vagrant from the website which probably wasn't a good idea
[23:24] <rick_h_> anyway, cool stuff from trev and would be cool to get it solid up some to open up some hacking for people
[23:24] <brousch> my notes from viget http://pastebin.com/R7JQKMJY
[23:25] <rick_h_> interesting, needed for basic linux box? strange
[23:25] <brousch> I think my vagrant is old and maybe doesn't support the :s
[23:25] <rick_h_> I only thought I used guest additions because of video driver support
[23:25] <brousch> well it gets the port forward working
[23:25] <rick_h_> interesting, good to know I guess.
[23:25] <brousch> and the shared folders too
[23:25] <rick_h_> if trevlar comes back online we should work on the docs for it a bit
[23:26] <brousch> So you can link to a bookie repo on your host and edit with your preferred tools instead of sshing into the guest and editing
[23:27] <rick_h_> right, work on it with osx and such I guess
[23:27] <brousch> More of a problem for people who like big editors, I guess