[01:02] <rick_h_> hey
[01:02] <rick_h_> there we go
[01:21] <cmaloney> hello
[01:52] <rick_h_> mrgoodcat: https://github.com/mitechie/pyvim/blob/master/.vimrc
[12:24] <cmaloney> Good morning
[12:25] <rick_h_> morning
[13:41] <cmaloney> rick_h_: Beware of UPS bearing gifts.
[13:42] <rick_h_> cmaloney: UPS is delivering you guys Sat?
[13:42] <rick_h_> I know you weren't sure about driving, but seems a bit nuts :)
[13:43] <cmaloney> rick_h_: har har
[13:44] <cmaloney> I'm hoping it holds off or gets it out of its system
[13:45] <rick_h_> hah
[13:55] <mrgoodcat> morning fellows
[13:56] <rick_h_> party
[13:56] <mrgoodcat> so i know rick, and I assume cmaloney was the one sitting next to you?
[13:57] <rick_h_> mrgoodcat: rgr
[13:57] <rick_h_> and waf was the guy on the end, and widox was next to you
[13:57] <rick_h_> (just to wrap up the intros)
[13:57] <mrgoodcat> got it
[13:57] <mrgoodcat> that was my next question anyways
[13:58] <mrgoodcat> i haven't seen waf on channel at all yet. is he not on much or have i just not caught him?
[13:58] <rick_h_> well he works in an office and is around but is in/out
[13:58] <rick_h_> I don't think he's much of a morning person either :)
[13:59] <mrgoodcat> haha ok
[14:15] <cmaloney> mrgoodcat: Good to meet you last night
[15:09] <jrwren> gah. i gotta admit. I'm very bummed about Jim Weirich
[15:39] <cmaloney> Always sad to see a hacker pass away
[15:44] <mrgoodcat> cmaloney: it was nice to meet you all as wel
[15:44] <mrgoodcat> l
[15:45] <cmaloney> Even if they're not part of your tribe
[15:45] <mrgoodcat> tribe?
[15:45] <cmaloney> Jim W. was a Ruby hacker
[15:45] <mrgoodcat> right i know
[15:45] <cmaloney> I'm not part of the Ruby community
[15:45] <mrgoodcat> he wrote rake right?
[15:45] <mrgoodcat> oh i get it
[15:46] <cmaloney> Damn. He was tweeting 17h ago
[15:47] <jrwren> yes, he wrote rake.
[15:56] <cmaloney> rick_h_: BTW: You do realize this weekend is Ragnarok, right?
[15:57] <rick_h_> cmaloney: huh? nope
[15:57] <rick_h_> Sat: CHANCE OF PRECIP:
[15:57] <rick_h_> 10%
[15:57] <rick_h_> Sun: CHANCE OF PRECIP:
[15:57] <rick_h_> 10%
[15:57] <brousch> I thought Feb 22 was Ragnarok
[15:57] <rick_h_> meh?
[15:58] <cmaloney> http://www.huffingtonpost.co.uk/2014/02/19/ragnarok-viking-apocalyps_n_4814971.html?utm_hp_ref=uk
[15:58] <brousch> Oh, that's this weekend
[15:58] <rick_h_> oh, sweet! my birthday is the end of all things?
[15:58] <cmaloney> yeah, my sis-in-law's was on the Mayan Apocalypse
[15:58] <rick_h_> cool, well the wine will be all the sweeter then
[16:01] <cmaloney> just remember: if the Ragna's rockin' don't come knockin'
[16:01] <brousch> rick_h_: Now it makes sense
[16:38] <cmaloney> OK, Python is awesome.
[16:38] <cmaloney> from collections import Counter
[16:38] <rick_h_> cmaloney: :)
[16:38] <rick_h_> collections is an awesome module
[16:41] <jrwren> somone kill me. I just confused port 3389 and 5432
[16:42] <cmaloney> jrwren: That's pretty easy to do if you're moving between MySQL and PostreSQL
[16:42] <brousch> jrwren: I tried to kill you, but I confused PID 3389 and 5432 and accidentally killed some random person!
[16:45] <jrwren> thanks brousch
[16:46] <mrgoodcat> ps aux | awk '{print $2}' | shuf -n 1
[16:47] <mrgoodcat> pkill that if you're brave
[16:47] <mrgoodcat> speaking of killing random people
[16:50] <mrgoodcat> but really don't
[16:55] <brousch> mrgoodcat: I just ran it on my company's server as root. I hope it's not malware!
[16:55] <mrgoodcat> i wouldn't worry about it
[16:58] <mrgoodcat> ps ux | tail --lines=+2 | awk '{print $2}' | shuf -n 1
[16:58] <mrgoodcat> better version. only current user processes so you have permission to kill them and skips the header
[17:05] <cmaloney> sudo !!
[17:05] <cmaloney> ;)
[17:07] <mrgoodcat> sudo kill -9 `ps aux | tail --lines=+2 | awk '{print $2}' | shuf -n 1`
[17:08] <mrgoodcat> ^^ thus is the problem with piping curl output to sh
[17:08] <mrgoodcat> rvm-- for such shenanigans
[17:11] <jrwren> it gets all the kernel threads. not sure what killing [khelper] is going to do.
[17:11] <jrwren> nothing I'd guess.
[17:12] <jrwren> and could potentially match on PID
[17:13] <mrgoodcat> maybe i'm wrong but wouldn't it kill a random process?
[17:13] <mrgoodcat> i'm not going to run it to find out
[17:20] <cmaloney> That's what LXC is good for. :)
[17:20] <mrgoodcat> or vm
[18:20] <waf> mrgoodcat: hi. i am in fact here sometimes :)
[18:21] <waf> usually check in once or twice a day
[18:28] <cmaloney>  Yay, got my new mousepads
[18:28] <cmaloney> one for work and one for home
[18:29] <cmaloney> http://www.amazon.com/gp/product/B002E53F8S and http://www.amazon.com/gp/product/B002E53F6U
[18:30] <brousch> Mice are passe. Everything is touch screen and leap motion now
[18:30] <cmaloney> brousch: My mouse pad doesn't judge me like your kinect does.
[20:01] <jrwren> https://github.com/jimweirich/wyriki/commit/d28fac7f18aeacb00d8ad3460a0a5a901617c2d4
[20:21] <rick_h_> heh http://blog.3v1n0.net/informatica/linux/ubuntu-introducing-locally-integrated-menus-to-unity-7/
[20:21]  * rick_h_ hears the sounds of thousands of computers upgrading to trusty
[20:23]  * brousch starts flopping on the ground from a seizure
[20:24] <brousch> That bug always enrages me when I use Unity
[20:37] <cmaloney> OK, could they come up with a more ugly way to implement that?
[21:22] <greg-g> python, you make no sense to me: http://paste.debian.net/83212/
[21:23] <brousch> greg-g: Can you import it in the Python REPL?
[21:24] <rick_h_> yea, works here
[21:24] <rick_h_> greg-g: which pip
[21:24] <rick_h_> you didn't sudo that
[21:24] <rick_h_> so it's not global
[21:24] <rick_h_> and the glacier command is global
[21:24] <brousch> ah, good catch
[21:24] <rick_h_> so I'm going to guess you need to 'sudo pip install iso8601'
[21:24] <rick_h_> in order to have this work
[21:26] <brousch> Can you install glacier to a virtualenv?
[21:29] <greg-g> rick_h_: I did a sudo pip install before, same message
[21:29] <greg-g> glacier needs to be callable by git-annex, which is run in various repos
[21:29] <rick_h_> greg-g: ic, yea it's a matter of the `which pip` being in the right path for the `which python` that glacier is running in
[21:29] <greg-g> for shits and giggles, re sudo pip install'd and same thing
[21:29] <greg-g> is there a $PYTHONPATH or some such?
[21:31] <rick_h_> greg-g: go into python
[21:31] <rick_h_> import sys; print(sys.path)
[21:31] <brousch> Yes, but you need to determine what glacier's pythonpath is
[21:31] <brousch> glacier could be running its own virtualenv, for instance
[21:31] <brousch> Or have its own Python included with it
[21:32] <rick_h_> python -c 'import sys; print(sys.path)'
[21:32] <greg-g> greg@x200s:~/Photos$ which pip
[21:32] <greg-g> /usr/bin/pip
[21:32] <greg-g> greg@x200s:~/Photos$ which python
[21:32] <greg-g> /usr/bin/python
[21:32] <greg-g> greg@x200s:~/Photos$ echo $PYTHONPATH
[21:32] <greg-g> /usr/local/lib/
[21:32] <greg-g> no venvs on my system :)
[21:32] <rick_h_> l
[21:32] <rick_h_> k
[21:33] <rick_h_> sudo updatedb
[21:33] <rick_h_> locate iso8601 G lib
[21:33] <rick_h_> locate iso8601 | grep lib
[21:33] <rick_h_> for the non zsh users
[21:34] <greg-g> ['', '/usr/local/lib', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7']
[21:35] <greg-g> greg@x200s:~/Photos$ locate iso8601 | grep lib
[21:35] <greg-g> /usr/local/lib/python2.7/dist-packages/iso8601
[21:35] <greg-g> /usr/local/lib/python2.7/dist-packages/iso8601-0.1.8.egg-info
[21:36] <greg-g> so, sys.path doesn't have /u/l/l/python2.7/dist-packages in it
[21:36] <greg-g> oh, wait, no it does
[21:36] <rick_h_> yea, so this should work
[21:36] <greg-g> you know, php is way easier to intall/use :P
[21:37] <rick_h_> python -c "import iso8601"
[21:37] <greg-g> brousch: how do I determine your idea?
[21:37] <greg-g> rick_h_: same
[21:37] <rick_h_> which means that glacier is not on your normal python path
[21:37] <rick_h_> greg-g: you get the error you can't import it?
[21:37] <greg-g> yeah
[21:37] <greg-g> ImportError: No module named iso8601
[21:37] <rick_h_> :/
[21:37] <brousch> greg-g: What program is that? I can't find it in the repos
[21:38] <greg-g> https://github.com/basak/glacier-cli
[21:38] <greg-g> funny thing is I set this up successfully on my (crippled) Synology NAS
[21:38] <jrwren> greg-g: head -1 /usr/local/bin/glacier and paste here?
[21:38] <greg-g> #!/usr/bin/env python
[21:38] <jrwren> which python and paste here?
[21:38] <greg-g> 16:30 <    greg-g> greg@x200s:~/Photos$ which python
[21:38] <greg-g> 16:30 <    greg-g> /usr/bin/python
[21:39] <rick_h_> python --version
[21:39] <rick_h_> ?
[21:39] <jrwren> /usr/bin/python -m iso9601 and paste here?
[21:39] <greg-g> greg@x200s:~/Photos$ python --version
[21:39] <greg-g> Python 2.7.6
[21:39] <greg-g> greg@x200s:~/Photos$ /usr/bin/python -m iso8601
[21:39] <greg-g> /usr/bin/python: No module named iso8601
[21:39] <greg-g> (typo corrected)
[21:39] <brousch> It has kind of a strange install
[21:39] <greg-g> brousch: the symlink to boto? yeah :/
[21:40] <jrwren> greg-g: /usr/local/lib/python2.7/dist-packages/iso8601 is a directory? what is in it? an __init__.py ?
[21:40] <rick_h_> greg-g: did the pip install complete successfully? check ~/.pip something or other that looks like pip.log
[21:41] <greg-g> rick_h_: says it did, will check log
[21:41] <brousch> This is potential funk https://github.com/basak/glacier-cli/issues/30
[21:41] <greg-g> greg@x200s:~/Photos$ ls /usr/local/lib/python2.7/dist-packages/iso8601
[21:41] <greg-g> ls: cannot open directory /usr/local/lib/python2.7/dist-packages/iso8601: Permission denied
[21:41] <greg-g> bading!
[21:41] <jrwren> tada!
[21:44] <greg-g> http://paste.debian.net/83221/
[21:44] <greg-g> perm issues, +x should be it, right?
[21:44]  * greg-g always forgets these details
[21:45] <jrwren> yes, +x for folders
[21:45] <jrwren> 0755
[21:45] <rick_h_> :/ that you've got many sans X
[21:45] <jrwren> i find the octal eaiser
[21:46] <greg-g> rick_h_: yeah, pip issue I guess? when running with sudo?
[21:46] <greg-g> no idea
[21:46] <jrwren> not sure what all those sticky bits are for eitehr.
[21:46] <jrwren> i'd not think pip would do anything to perms.
[21:46] <jrwren> are you running with a strange umask?
[21:46] <rick_h_> I use pip with sudo all the time ok for system wide things. something is mucking with it
[21:46] <greg-g> greg@x200s:/usr/local/lib/python2.7/dist-packages$ umask
[21:46] <greg-g> 0027
[21:46] <jrwren> that is a FUCKED umask
[21:46] <jrwren> wtf
[21:47] <jrwren> don't do that greg-g
[21:47] <greg-g> well then
[21:47] <jrwren> that explains it.
[21:47] <greg-g> suggestion?
[21:47] <greg-g> of umask?
[21:47] <jrwren> but why is that getting set?  is it your .bashrc or is it something system wide?
[21:47] <greg-g> yeah, in my bashrc, no idea why, no comment explaining (I usually link to blog post/similar for those kinds of things)
[21:48] <jrwren> chmod 0755 atom goobook gdata hcs_utils iso8601 sqlalchemy Taskhelm
[21:48] <greg-g> jrwren: yeah, did that
[21:48] <jrwren> the default umask is set in /etc/login.defs
[21:48] <jrwren> i'd remove any .bashrc umask unless you can justify it
[21:49]  * greg-g nods
[21:49] <greg-g> # UMASK is the default umask value for pam_umask and is used by
[21:49] <greg-g> # useradd and newusers to set the mode of the new home directories.
[21:49] <greg-g> # 022 is the "historical" value in Debian for UMASK
[21:49] <greg-g> # 027, or even 077, could be considered better for privacy
[21:49] <greg-g> :)
[21:49] <greg-g> that's probably why
[21:55] <jrwren> greg-g: it doesn't really matter IMO
[21:56] <greg-g> ok
[21:56] <jrwren> the idea would be to add a user to that group so that they could pip install, but not have sudo/root access
[21:56] <jrwren> greg-g: you up and rolling now?
[21:58] <greg-g> I think so...
[21:58] <greg-g> greg@x200s:~$ glacier
[21:58] <greg-g> usage: glacier [-h] [--region REGION] {vault,archive,job} ...
[21:58] <greg-g> glacier: error: too few arguments
[21:59] <jrwren> yay!
[21:59] <greg-g> thanks jrwren and rick_h_ and brousch :) :)
[21:59] <jrwren> any reason you couldn't have apt-get install python-iso8601 ?
[21:59] <greg-g> no
[21:59] <jrwren> sucker!
[21:59] <jrwren> always prefer apt :p
[21:59] <greg-g> I thought all the cool kids avoided deb packages now adays :)
[22:00] <greg-g> yeah, learned my lesson
[22:00] <jrwren> not me.
[22:00] <jrwren> if a python package isn't packaged for deb, I package it.
[22:00] <jrwren> python-timelib <3
[22:00] <brousch> I would use system package for system command, in general
[22:00]  * greg-g hugs jrwren 
[22:00] <jrwren> greg-g: well, I don't submit it anywhere, i just use it myself
[22:00] <jrwren> MOTU is WAY too much friction
[22:01] <greg-g> jrwren: oh, then :(
[22:01] <greg-g> :)