/srv/irclogs.ubuntu.com/2014/02/20/#ubuntu-us-mi.txt

rick_h_hey01:02
rick_h_there we go01:02
cmaloneyhello01:21
rick_h_mrgoodcat: https://github.com/mitechie/pyvim/blob/master/.vimrc01:52
cmaloneyGood morning12:24
rick_h_morning12:25
=== UnFixed is now known as UnFixed_
=== UnFixed_ is now known as UnFixed
cmaloneyrick_h_: Beware of UPS bearing gifts.13:41
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:42
cmaloneyrick_h_: har har13:43
cmaloneyI'm hoping it holds off or gets it out of its system13:44
rick_h_hah13:45
mrgoodcatmorning fellows13:55
rick_h_party13:56
mrgoodcatso i know rick, and I assume cmaloney was the one sitting next to you?13:56
rick_h_mrgoodcat: rgr13:57
rick_h_and waf was the guy on the end, and widox was next to you13:57
rick_h_(just to wrap up the intros)13:57
mrgoodcatgot it13:57
mrgoodcatthat was my next question anyways13:57
mrgoodcati 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/out13:58
rick_h_I don't think he's much of a morning person either :)13:58
mrgoodcathaha ok13:59
cmaloneymrgoodcat: Good to meet you last night14:15
jrwrengah. i gotta admit. I'm very bummed about Jim Weirich15:09
cmaloneyAlways sad to see a hacker pass away15:39
mrgoodcatcmaloney: it was nice to meet you all as wel15:44
mrgoodcatl15:44
cmaloneyEven if they're not part of your tribe15:45
mrgoodcattribe?15:45
cmaloneyJim W. was a Ruby hacker15:45
mrgoodcatright i know15:45
cmaloneyI'm not part of the Ruby community15:45
mrgoodcathe wrote rake right?15:45
mrgoodcatoh i get it15:45
cmaloneyDamn. He was tweeting 17h ago15:46
jrwrenyes, he wrote rake.15:47
cmaloneyrick_h_: BTW: You do realize this weekend is Ragnarok, right?15:56
rick_h_cmaloney: huh? nope15: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
brouschI thought Feb 22 was Ragnarok15:57
rick_h_meh?15:57
cmaloneyhttp://www.huffingtonpost.co.uk/2014/02/19/ragnarok-viking-apocalyps_n_4814971.html?utm_hp_ref=uk15:58
brouschOh, that's this weekend15:58
rick_h_oh, sweet! my birthday is the end of all things?15:58
cmaloneyyeah, my sis-in-law's was on the Mayan Apocalypse15:58
rick_h_cool, well the wine will be all the sweeter then15:58
cmaloneyjust remember: if the Ragna's rockin' don't come knockin'16:01
brouschrick_h_: Now it makes sense16:01
cmaloneyOK, Python is awesome.16:38
cmaloneyfrom collections import Counter16:38
rick_h_cmaloney: :)16:38
rick_h_collections is an awesome module16:38
jrwrensomone kill me. I just confused port 3389 and 543216:41
cmaloneyjrwren: That's pretty easy to do if you're moving between MySQL and PostreSQL16:42
brouschjrwren: I tried to kill you, but I confused PID 3389 and 5432 and accidentally killed some random person!16:42
jrwrenthanks brousch16:45
mrgoodcatps aux | awk '{print $2}' | shuf -n 116:46
mrgoodcatpkill that if you're brave16:47
mrgoodcatspeaking of killing random people16:47
mrgoodcatbut really don't16:50
brouschmrgoodcat: I just ran it on my company's server as root. I hope it's not malware!16:55
mrgoodcati wouldn't worry about it16:55
mrgoodcatps ux | tail --lines=+2 | awk '{print $2}' | shuf -n 116:58
mrgoodcatbetter version. only current user processes so you have permission to kill them and skips the header16:58
cmaloneysudo !!17:05
cmaloney;)17:05
mrgoodcatsudo kill -9 `ps aux | tail --lines=+2 | awk '{print $2}' | shuf -n 1`17:07
mrgoodcat^^ thus is the problem with piping curl output to sh17:08
mrgoodcatrvm-- for such shenanigans17:08
jrwrenit gets all the kernel threads. not sure what killing [khelper] is going to do.17:11
jrwrennothing I'd guess.17:11
jrwrenand could potentially match on PID17:12
mrgoodcatmaybe i'm wrong but wouldn't it kill a random process?17:13
mrgoodcati'm not going to run it to find out17:13
cmaloneyThat's what LXC is good for. :)17:20
mrgoodcator vm17:20
wafmrgoodcat: hi. i am in fact here sometimes :)18:20
wafusually check in once or twice a day18:21
cmaloney Yay, got my new mousepads18:28
cmaloneyone for work and one for home18:28
cmaloneyhttp://www.amazon.com/gp/product/B002E53F8S and http://www.amazon.com/gp/product/B002E53F6U18:29
brouschMice are passe. Everything is touch screen and leap motion now18:30
cmaloneybrousch: My mouse pad doesn't judge me like your kinect does.18:30
jrwrenhttps://github.com/jimweirich/wyriki/commit/d28fac7f18aeacb00d8ad3460a0a5a901617c2d420:01
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 trusty20:21
* brousch starts flopping on the ground from a seizure20:23
brouschThat bug always enrages me when I use Unity20:24
cmaloneyOK, could they come up with a more ugly way to implement that?20:37
greg-gpython, you make no sense to me: http://paste.debian.net/83212/21:22
brouschgreg-g: Can you import it in the Python REPL?21:23
rick_h_yea, works here21:24
rick_h_greg-g: which pip21:24
rick_h_you didn't sudo that21:24
rick_h_so it's not global21:24
rick_h_and the glacier command is global21:24
brouschah, good catch21: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 work21:24
brouschCan you install glacier to a virtualenv?21:26
greg-grick_h_: I did a sudo pip install before, same message21:29
greg-gglacier needs to be callable by git-annex, which is run in various repos21: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 in21:29
greg-gfor shits and giggles, re sudo pip install'd and same thing21:29
greg-gis there a $PYTHONPATH or some such?21:29
rick_h_greg-g: go into python21:31
rick_h_import sys; print(sys.path)21:31
brouschYes, but you need to determine what glacier's pythonpath is21:31
brouschglacier could be running its own virtualenv, for instance21:31
brouschOr have its own Python included with it21:31
rick_h_python -c 'import sys; print(sys.path)'21:32
greg-ggreg@x200s:~/Photos$ which pip21:32
greg-g/usr/bin/pip21:32
greg-ggreg@x200s:~/Photos$ which python21:32
greg-g/usr/bin/python21:32
greg-ggreg@x200s:~/Photos$ echo $PYTHONPATH21:32
greg-g/usr/local/lib/21:32
greg-gno venvs on my system :)21:32
rick_h_l21:32
rick_h_k21:32
rick_h_sudo updatedb21:33
rick_h_locate iso8601 G lib21:33
rick_h_locate iso8601 | grep lib21:33
rick_h_for the non zsh users21:33
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:34
greg-ggreg@x200s:~/Photos$ locate iso8601 | grep lib21:35
greg-g/usr/local/lib/python2.7/dist-packages/iso860121:35
greg-g/usr/local/lib/python2.7/dist-packages/iso8601-0.1.8.egg-info21:35
greg-gso, sys.path doesn't have /u/l/l/python2.7/dist-packages in it21:36
greg-goh, wait, no it does21:36
rick_h_yea, so this should work21:36
greg-gyou know, php is way easier to intall/use :P21:36
rick_h_python -c "import iso8601"21:37
greg-gbrousch: how do I determine your idea?21:37
greg-grick_h_: same21:37
rick_h_which means that glacier is not on your normal python path21:37
rick_h_greg-g: you get the error you can't import it?21:37
greg-gyeah21:37
greg-gImportError: No module named iso860121:37
rick_h_:/21:37
brouschgreg-g: What program is that? I can't find it in the repos21:37
greg-ghttps://github.com/basak/glacier-cli21:38
greg-gfunny thing is I set this up successfully on my (crippled) Synology NAS21:38
jrwrengreg-g: head -1 /usr/local/bin/glacier and paste here?21:38
greg-g#!/usr/bin/env python21:38
jrwrenwhich python and paste here?21:38
greg-g16:30 <    greg-g> greg@x200s:~/Photos$ which python21:38
greg-g16:30 <    greg-g> /usr/bin/python21:38
rick_h_python --version21:39
rick_h_?21:39
jrwren/usr/bin/python -m iso9601 and paste here?21:39
greg-ggreg@x200s:~/Photos$ python --version21:39
greg-gPython 2.7.621:39
greg-ggreg@x200s:~/Photos$ /usr/bin/python -m iso860121:39
greg-g/usr/bin/python: No module named iso860121:39
greg-g(typo corrected)21:39
brouschIt has kind of a strange install21:39
greg-gbrousch: the symlink to boto? yeah :/21:39
jrwrengreg-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.log21:40
greg-grick_h_: says it did, will check log21:41
brouschThis is potential funk https://github.com/basak/glacier-cli/issues/3021:41
greg-ggreg@x200s:~/Photos$ ls /usr/local/lib/python2.7/dist-packages/iso860121:41
greg-gls: cannot open directory /usr/local/lib/python2.7/dist-packages/iso8601: Permission denied21:41
greg-gbading!21:41
jrwrentada!21:41
greg-ghttp://paste.debian.net/83221/21:44
greg-gperm issues, +x should be it, right?21:44
* greg-g always forgets these details21:44
jrwrenyes, +x for folders21:45
jrwren075521:45
rick_h_:/ that you've got many sans X21:45
jrwreni find the octal eaiser21:45
greg-grick_h_: yeah, pip issue I guess? when running with sudo?21:46
greg-gno idea21:46
jrwrennot sure what all those sticky bits are for eitehr.21:46
jrwreni'd not think pip would do anything to perms.21:46
jrwrenare 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 it21:46
greg-ggreg@x200s:/usr/local/lib/python2.7/dist-packages$ umask21:46
greg-g002721:46
jrwrenthat is a FUCKED umask21:46
jrwrenwtf21:46
jrwrendon't do that greg-g21:47
greg-gwell then21:47
jrwrenthat explains it.21:47
greg-gsuggestion?21:47
greg-gof umask?21:47
jrwrenbut why is that getting set?  is it your .bashrc or is it something system wide?21:47
greg-gyeah, in my bashrc, no idea why, no comment explaining (I usually link to blog post/similar for those kinds of things)21:47
jrwrenchmod 0755 atom goobook gdata hcs_utils iso8601 sqlalchemy Taskhelm21:48
greg-gjrwren: yeah, did that21:48
jrwrenthe default umask is set in /etc/login.defs21:48
jrwreni'd remove any .bashrc umask unless you can justify it21:48
* greg-g nods21:49
greg-g# UMASK is the default umask value for pam_umask and is used by21: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 UMASK21:49
greg-g# 027, or even 077, could be considered better for privacy21:49
greg-g:)21:49
greg-gthat's probably why21:49
jrwrengreg-g: it doesn't really matter IMO21:55
greg-gok21:56
jrwrenthe idea would be to add a user to that group so that they could pip install, but not have sudo/root access21:56
jrwrengreg-g: you up and rolling now?21:56
greg-gI think so...21:58
greg-ggreg@x200s:~$ glacier21:58
greg-gusage: glacier [-h] [--region REGION] {vault,archive,job} ...21:58
greg-gglacier: error: too few arguments21:58
jrwrenyay!21:59
greg-gthanks jrwren and rick_h_ and brousch :) :)21:59
jrwrenany reason you couldn't have apt-get install python-iso8601 ?21:59
greg-gno21:59
jrwrensucker!21:59
jrwrenalways prefer apt :p21:59
greg-gI thought all the cool kids avoided deb packages now adays :)21:59
greg-gyeah, learned my lesson22:00
jrwrennot me.22:00
jrwrenif a python package isn't packaged for deb, I package it.22:00
jrwrenpython-timelib <322:00
brouschI would use system package for system command, in general22:00
* greg-g hugs jrwren 22:00
jrwrengreg-g: well, I don't submit it anywhere, i just use it myself22:00
jrwrenMOTU is WAY too much friction22:00
greg-gjrwren: oh, then :(22:01
greg-g:)22:01
=== dzho_ is now known as dzho

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!