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