[00:58] use a global [00:58] you writing an irc bot? [00:59] you could do nice things with **kwargs [01:00] yes it's an irc bot [01:00] mostly i'm just stuck out of ideas of what to do with it [01:01] most of my ideas involve WAY too much talk in the channel == spam [01:01] so now i'm just trying to find ways to make the code better [01:01] but not nessecarily more functional [01:09] rick_h_ waf cmaloney when is chc tomorrow? i always forget which one is the early one [01:09] next week is early [01:09] ok [01:09] ty [01:09] usually it's the last wed of the month [01:10] rgr, it'll be 8pm [01:10] yea i always forget that [08:28] ya know what is really fast at all those function calls and those 10million dicts in a list to json? [08:28] pypy [10:00] morning [11:27] morning [11:38] Dammit. I was hoping that a particular request at work wasn't going through. [11:38] But apparently it is, so whee! [11:48] lol [11:55] I hate it when I lose those sorts of bets with myself. :) [12:55] jrwren: well yea, switching implementations is cheating though [12:58] its not cheating! [12:58] you really think so? [12:59] lol [12:59] hey whatever works man [13:05] jrwren: how slow is slow? [13:05] for the json? [13:29] yes, the json [13:29] 1,000,000 dicts in a list. [13:30] 78s with CPython [13:30] some tweaks with simplejson and for_json can get it down to 68s [13:30] pypy - 11s [13:30] pypy - with same tweaks - 8s [13:31] that is quite the improvement [13:32] JIT ftw for that kind of repetitive function calling [13:33] i wonder if the new dropbox VM for it will be everything it's supposed to be [13:35] jrwren: what about with marshal or pickle? [14:07] its likely the same [14:53] could you guys look at this and see if you can make heads or tails of this apt-get error? [14:53] http://pastebin.ubuntu.com/7315217/ [14:53] http://is.gd/51akbC - Ubuntu Pastebin [14:55] Havenstance: go look in /var/lib/apt/lists/ [15:01] rick_h_, I found the problem. I had a duplicate entry lines 21 and 25 of the pastebin [15:21] JoDee's teaching a magnetics lab today [15:21] and I have Insane Clown Posse's Miracles stuck in my head. [15:21] specifically: https://www.youtube.com/watch?v=OvmvxAcT_Yc [15:21] http://is.gd/Tv0lbQ - Fuckin' Magnets, how do they work? - YouTube [15:24] lol [15:39] why are magnet's bipolar instead of tri or quadpolar? [15:40] binary rules the world [15:41] greg-g: Problem with this class is there's a bunch of things that students are taking based on faith [15:41] because they don't have the experience with physics to handle anything more complex than "here's some iron filings" [15:51] rick_h_: but nothing in the math/physics says it couldn't have been trinary or quadary, it was, according to my college physics prof, "just one of those things that could have gone differently" [15:59] so the boss waits until the server is in deployment to remove the encryption..... yay me, live removal whilest in production should be fun lol. [15:59] how's everyone today? Haven't been around in a few days [16:27] how hard would it be to write a simply program in python that would chown a file from root to the Users Group in like Python or something? [16:28] its 1 syscall [16:28] import os [16:28] os.chown [16:28] hm. i'll try it [16:29] the only way I can get wireshark on linux to run allowing me to save any files or access any directories is if i run it with root perms [16:29] but then every file i save is openable only by root I cant touch it from winblows... [16:30] ideally i'd save the file on the host machine and be able to go to the win machine and open it in a wireshark client there to read and/or print the contents of the files [16:31] could I change the owner of the directory to something like $USERS so everyone could read and write to it with it being a network share drive without interfering with ACL permissions? [16:32] one way to find out I suppose [16:34] score one for me :) [16:34] no need i just chowned the dir from root to user: [16:38] http://imgur.com/r/funny/EAaIkZr [16:38] http://is.gd/G0baRS - He gave a “Wuddup. Peep this.” nod to the cameraman. - Imgur [16:38] wrong channel. Still hilarious === mrgoodcat is now known as bookie_sentry [18:32] I swear the thing that always bites me in the ass about python is not having __init__.py in a directory that I'm trying to load a module from === bookie_sentry is now known as mrgoodcat === mrgoodcat is now known as bookie_sentry === bookie_sentry is now known as mrgoodcat === mrgoodcat is now known as bookie_sentry === bookie_sentry is now known as mrgoodcat [18:34] Also: Apparently today needed a Hammond Organ. [18:34] .np squeekyhoho [18:34] squeekyhoho's current track - Howlin' At The Sea by The Grave Dolls [18:37] cmaloney: That is fixed in Python 3.3 http://chimera.labs.oreilly.com/books/1230000000393/ch10.html#_problem_173 [18:37] Well, sort of [18:37] i use python 3.3 for everything and i still have to put __init__.py [18:38] hmmm [18:39] sys.path.extend fixes it? [18:40] I guess it's not fixed, but you can exclude __init__.py to make namespace packages [18:40] brousch: That's all fine and good but I'd like my hour back if you don't mind. :) [18:41] i just tested it and apparently im just mentally challenged [18:41] it is fixed [18:41] __init__.py is a good thing [18:41] it's your chance to fix the api for your module [18:41] Maybe you should modify your editor to always add them for you [18:41] embrace it and use it and never forget :) [18:41] rick_h_: I will, just after I find the person who put imports in the middle of code [18:42] ;) [18:42] circular imports fml? [18:42] Maybe. [18:42] or was I just evil and imported in the middle of code? [18:42] For instance in Pydev, you add a new PyDev Package and it makes __init__.py [18:42] I'm not sure if this was you or someone else [18:42] oh, in that case "those bastards!" [18:43] Just having fun "porting" code from one system to another. [18:43] "little copy here and a little paste here and we've cargo culted bad code through all the code bases yay" [18:43] copy of a copy of a copy fo a cpy og a cp of a crapy [18:44] "wow, how do we keep running into this bug?" [18:44] ;) [18:44] Though I fixed a bug that John was having in another piece of his code. [18:45] * cmaloney doesn't believe the unicode hype. UTF-8 is enough for everyone. ;) [18:45] UTF-8 is the one true encoding [18:46] Yep, which is why Windows and Excel use UTF-16 [18:46] because fuck me [18:46] do they really... [18:46] Yep [18:46] did you see the times' python module for working with excel? [18:46] UTF-64 is what we need [18:46] Because we haven't had enough byte-endianness issues this century. [18:47] mrgoodcat: Need a little more to go off [18:48] brousch: Right, because I won't be satisfied until we have the equivalent of a Sinclair ZX81 representing each characacter [18:48] er NPR [18:48] not times [18:49] .bmark dyladan [18:49] http://copytext.readthedocs.org/en/latest/ - copytext 0.1.1 (beta) — copytext 0.1.1 (beta) documentation [18:53] Yeah, I just took a peek at it. [18:53] Interesting. I would have thought openpyxl would have suited their needs. [18:53] idk [18:53] i've never really needed it so i didn't really care [18:54] but you were just complaining about excel so i figured you might [18:54] If it weren't for openpyxl I would have much more slitted wrists. [19:42] Wow, this is awesome http://projectnaptha.com/ [19:42] http://is.gd/Ew4BEH - Project Naptha [20:25] yea that was a hot topic on hacker news recently [20:25] maybe as recently as yesterday? [20:27] :P [21:47] Trusty Tahir in the house! [21:47] woo woo [21:47] yeah. did a fresh install and software audit last night. running like a champ. [21:48] also got my macbook back from microcenter and managed to walk out of there without buying anything (a FIRST!) [21:48] heh [21:48] and woo woo for backups. [21:48] heh [21:48] no setup on xchat. [21:48] just run deja dup and *magically* my files come back from my external drive [21:49] oh and grats to rick_h_ for the bookie GSoC thing [21:52] also back to chromium. i'm trying to limit ppas (again) [21:52] not sure if i will be successful [21:54] kernel updates? [21:57] Yep. :) [21:58] Welcome to Linux. :) [21:59] hah i know [21:59] this was easier to install than mavericks [22:00] oh and i grabbed the mac iso and i'm gonna try it live on my MBA [22:00] that should be fun [22:00] ;) [23:30] gamerchick02: ask rick_h_ but I think the current generation works better with the regular iso [23:54] gamerchick02: don't grab the mac iso, that's for legacy devices