rick_h_ | hey | 01:02 |
---|---|---|
rick_h_ | there we go | 01:02 |
cmaloney | hello | 01:21 |
rick_h_ | mrgoodcat: https://github.com/mitechie/pyvim/blob/master/.vimrc | 01:52 |
cmaloney | Good morning | 12:24 |
rick_h_ | morning | 12:25 |
=== UnFixed is now known as UnFixed_ | ||
=== UnFixed_ is now known as UnFixed | ||
cmaloney | rick_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 |
cmaloney | rick_h_: har har | 13:43 |
cmaloney | I'm hoping it holds off or gets it out of its system | 13:44 |
rick_h_ | hah | 13:45 |
mrgoodcat | morning fellows | 13:55 |
rick_h_ | party | 13:56 |
mrgoodcat | so i know rick, and I assume cmaloney was the one sitting next to you? | 13:56 |
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:57 |
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:58 |
mrgoodcat | haha ok | 13:59 |
cmaloney | mrgoodcat: Good to meet you last night | 14:15 |
jrwren | gah. i gotta admit. I'm very bummed about Jim Weirich | 15:09 |
cmaloney | Always sad to see a hacker pass away | 15:39 |
mrgoodcat | cmaloney: it was nice to meet you all as wel | 15:44 |
mrgoodcat | l | 15:44 |
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:45 |
cmaloney | Damn. He was tweeting 17h ago | 15:46 |
jrwren | yes, he wrote rake. | 15:47 |
cmaloney | rick_h_: BTW: You do realize this weekend is Ragnarok, right? | 15:56 |
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:57 |
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 | 15:58 |
cmaloney | just remember: if the Ragna's rockin' don't come knockin' | 16:01 |
brousch | rick_h_: Now it makes sense | 16:01 |
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:38 |
jrwren | somone kill me. I just confused port 3389 and 5432 | 16:41 |
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:42 |
jrwren | thanks brousch | 16:45 |
mrgoodcat | ps aux | awk '{print $2}' | shuf -n 1 | 16:46 |
mrgoodcat | pkill that if you're brave | 16:47 |
mrgoodcat | speaking of killing random people | 16:47 |
mrgoodcat | but really don't | 16:50 |
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:55 |
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 | 16:58 |
cmaloney | sudo !! | 17:05 |
cmaloney | ;) | 17:05 |
mrgoodcat | sudo 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 sh | 17:08 |
mrgoodcat | rvm-- for such shenanigans | 17:08 |
jrwren | it gets all the kernel threads. not sure what killing [khelper] is going to do. | 17:11 |
jrwren | nothing I'd guess. | 17:11 |
jrwren | and could potentially match on PID | 17:12 |
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:13 |
cmaloney | That's what LXC is good for. :) | 17:20 |
mrgoodcat | or vm | 17:20 |
waf | mrgoodcat: hi. i am in fact here sometimes :) | 18:20 |
waf | usually check in once or twice a day | 18:21 |
cmaloney | Yay, got my new mousepads | 18:28 |
cmaloney | one for work and one for home | 18:28 |
cmaloney | http://www.amazon.com/gp/product/B002E53F8S and http://www.amazon.com/gp/product/B002E53F6U | 18:29 |
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. | 18:30 |
jrwren | https://github.com/jimweirich/wyriki/commit/d28fac7f18aeacb00d8ad3460a0a5a901617c2d4 | 20: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 trusty | 20:21 | |
* brousch starts flopping on the ground from a seizure | 20:23 | |
brousch | That bug always enrages me when I use Unity | 20:24 |
cmaloney | OK, could they come up with a more ugly way to implement that? | 20:37 |
greg-g | python, you make no sense to me: http://paste.debian.net/83212/ | 21:22 |
brousch | greg-g: Can you import it in the Python REPL? | 21:23 |
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:24 |
brousch | Can you install glacier to a virtualenv? | 21:26 |
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:29 |
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:31 |
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:32 |
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: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-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:35 |
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:36 |
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:37 |
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:38 |
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:39 |
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:40 |
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:41 |
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:44 | |
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:45 |
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:46 |
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:47 |
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:48 |
* 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:49 |
jrwren | greg-g: it doesn't really matter IMO | 21:55 |
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:56 |
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:58 |
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 :) | 21:59 |
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:00 |
greg-g | jrwren: 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!