[04:55] rick_h_: mispell in your post title :) [05:09] in what post title? [05:10] his bookie gsoc post he posted tonight [05:11] or, as he typed in the title "booke" [05:12] lol [05:12] i didn't even notice [05:13] good catch [11:13] greg-g: bah, stayed up too late writing that [11:17] heh [11:17] morning [12:26] rick_h_: Bookie is spelled wrong in the title and URL of your blog post http://blog.mitechie.com/2014/04/21/booke-meets-google-summer-of-code-2014/ [12:26] http://is.gd/MM8cmt - Booke meets Google Summer of Code 2014 | Tech Rantings from a Michigan Techie [12:27] thanks brousch updated [12:29] URL is probably stuck with that, eh? [12:29] ugh [12:29] fail [12:30] Great post though [12:31] thanks [12:31] cmaloney: is that one the merge at least? [12:31] * rick_h_ feels stupid, never post to the internet when tired [12:45] oh and morning [12:50] gooooood morning campers [12:53] rick_h_: you can change the permalink on wordpress if you want. the old one stays working too [12:53] mrgoodcat: that's what I could not tell, if the old one would stay working [12:53] rick_h_: That's the merged one [12:53] yes it does [12:53] we'll try it [13:30] rawr rawr rawr rawr [13:31] .np squeekyhoho [13:31] squeekyhoho's current track - Goat of Departure by The Black Dahlia Murder on Everblack [13:33] Also: disk-bound stuff sucks. :) [13:33] * cmaloney is creating a windows 7 vm while loading a mysql database locally and upgrading his machine [13:34] mrgoodcat, zentyal will be replacing our current network server in about 5 minutes... [13:36] cmaloney: i feel your pain [13:46] the bookie make install is not quick [14:16] rick_h_: i'm a bit confused by a part of the docs, but i'm not sure if it's just me or if the docs need updating [14:17] http://docs.bmark.us/en/latest/tests.html#test-types [14:17] http://is.gd/HzYGuV - Bookie Tests — Bookie 0.5.0 documentation [14:17] doesn't seem to be consistent with what is actually done [14:29] mrgoodcat: yea, 4yr old docs need updating [14:29] i'm crawling through them right now [14:29] cleaning up some things [14:30] k [14:30] like how in http://docs.bmark.us/en/latest/development.html the contents list should be hierarchical. It's not apparent that the 5 items under "about JSON API" belong to "About JSON API" [14:30] http://is.gd/GrPMDd - Development — Bookie 0.5.0 documentation [14:30] that really confused me for a while [14:45] rick_h_: in the docs, what do you think about making the toc tree a maxdepth of 2? so it shows one level of children. I think it would make the docs easier to navigate [15:17] rick_h_: never post on the internet when tired? shit man, I won't be able to do any work anymore. [15:18] greg-g: :P [15:18] mrgoodcat: sounds fine to me I guess [15:18] ok [15:18] i think you're going to like what i've done with the docs [15:18] also one more question [15:18] * greg-g is going on 4.5 hours of sleep last night [15:18] the admin calls, some start with /a/ some with /admin/ [15:19] what is the difference and should they be separate? [15:19] i think i got 11hrs of sleep last night. [15:19] 11hrs of sleep yesterday, and 11hrs of sleep the day before. [15:19] being sick SUCKS [15:22] jrwren: ahh, I was about to say, you decadent bastard! [15:22] jrwren: sorry you're sick, though [15:23] today should be fun, 4.5 hours of sleep on day one of three of this all day leadership training thing [15:24] decadent? yes, excuse me while I poor fresh pidgeon blood on my toe gout [15:24] You have gout? [15:25] yes [15:26] ouch! I had that once for a weekend. Painful! [15:26] but I don't use 16th century "remmedies" [15:26] only a weekend? you are lucky. [15:26] I thought it was an old person thing [15:26] i am old. [15:26] yea, had it flare up in a toe I injured as a kid and basically sat in bed for 3 days [15:27] oh, mine has never been that bad. [15:27] just some discomfort, maybe pain at worst, but I learned to manage it. [15:27] I don't even notice it anymore [15:27] ugh [15:27] it scared the crap out of me. Having that all the time would be awful. Couldn't walk [15:28] yeah, 'cept walking through it is actually good for it. [15:28] painful for sure [15:30] I had it a while ago, it did suck, lasted a little bit but wasn't debilitating [15:32] Damn. I don't like the risk factors for gout. I think I hit them all, or will within 3 years [15:32] lol [15:33] i mostly removed red meat from my diet. that helped. [16:32] rick_h_, wow! [16:32] you got two GSOC students?! [16:33] jcastro: woot! [16:34] I wonder how many you could have handled [16:34] they say 10hrs a week [16:34] so cmaloney and I will be good I think [16:35] not like I'm earning a living on bookie :P [16:35] canonical would give you a paid leave of absence, I'm sure [16:35] hah [16:38] I think what rick_h_ means is "so sandbagger and I will be good I think". ;) [17:55] Baked Lays: Now with 65% less fat * [17:56] * than sticking your gob in a tub of Crisco and inhaling [17:57] I'll kindly ask you to keep yer gob out of my Crisco bucket [18:22] heh [19:13] well, that server is in and running... I left the important half of the network on the old server for a day or two in order to test the uptime abilities. They will change over probably Friday but so far everythings looking good [19:13] mrgoodcat, thank you for the recommendation so far its doing everything he wanted and more. [19:14] glad to hear it [19:58] TIL: getattr(obj, 'function') returns a bound method [19:58] sometimes python is black magic [20:01] jrwren: this is how i'm building the plugin system for the newest version of bookiebot [20:02] each plugin is a plug object and getattr() allows me to put all the callback functions in a dict so i can call plugs['command']() [20:02] mrgoodcat: cool! [20:02] i'm just hacking on simplejson [20:02] because there is no fast json in python. [20:03] json isn't too slow in python... [20:03] at least not in python 3 [20:03] oh yes it is :p [20:03] do a list of 12million dictionaries [20:04] umm, json is not a database? [20:04] lol [20:04] but it might be an ETL tool :p [20:04] sounds like you need redis [20:04] mrgoodcat: hahahaha, good one. [20:05] but srsly why do you have a list of 12 million dicts? [20:05] that is not important. [20:05] rick_h_: what did you think of the documentation changes? didn't really make a lot of substantial changes to the content but I find it easier to navigate this way [20:06] mrgoodcat: not looked yet, been a busy work day [20:06] cool [20:06] no worries [20:06] i have to go to school soon anyways :( [20:13] Who's fault is that? :) [20:18] ummmmm [20:18] i don't have an answer for that? [20:18] heh [20:18] zomg, python never ceases to amaze me. [20:18] function calls are so expensive! [20:19] is that surprising? [20:19] Why is this surprising? [20:19] This isn't C. [20:19] i'm used to C [20:19] try ruby [20:19] or C like langauges. [20:19] are funciton calls slow in Ruby too? [20:19] 1999 times do chain.ten.million.functions [20:19] Part of the fun of Python is everything acts like an object [20:20] including methods. :) [20:20] yea and ruby is even more so that way [20:20] even keywords in ruby are objects [20:20] you can override def if you want [20:20] not sure why you'd want to but..... [20:20] you can [20:20] what about literals? [20:20] can I override [] [20:20] you can override Array [20:20] def def: if def == 'foo': monkeypatch. ;) [20:20] i'd love to override python literals [20:21] jrwren: Check out the Hy project [20:21] yeah... that isn't python [20:21] that is a lisp that runs on pyhton [20:21] If anyone is close to making Python into a DSL it's Hy [20:22] in ruby even == is a method [20:22] yup, they are an interesting group of hackers. [20:23] it has some syntax sugar to make it easy to type [20:23] Python is all about those clean coding techniques I learned in Mrd. Deryckre's Pascal class [20:23] hey, in c++ == is a method too :p [20:23] but 1.==(1) is perfectly good ruby [20:23] Hy is about taking everything I learned in that class and turning it on its head. [20:23] so you can override == in the Numbers class to make 1 == 2 [20:23] er Integer maybe [20:23] mrgoodcat: same with c++ [20:24] although, in ruby it is open classes [20:26] it's part of the reason rails is so damn easy to use [20:26] "tomato".pluralize makes "tomatoes" when that isn't even remotely a part of a regular string literal [20:27] yup [20:27] and the kids LOVE IT [20:27] its just fancy calling syntax on a pluralize(str) global function. [20:28] I like C#'s extension method approach. [20:28] IMO it makes more sense [20:28] but I must admit I love the optional parens [20:28] aren't the commas optional too? [20:28] so i can write stuff like this [20:31] no. commas are req'd [20:31] def add x, y [20:31] x + y [20:31] end [20:32] add 3, 1 # => 4 [20:36] oh, just the parens are optional [20:36] yea [20:36] so if I write functions that only take 1 arg, ever, then I never need a comma? [20:36] right [20:36] sounds great! [20:37] def pluralize word [20:37] "#{word}s [20:37] end [20:37] pluralize "tomato" # => "tomatos" [20:37] it's not correct but it shows the basic idea [20:37] also i missed the closing " [20:38] def pluralize word [20:38] "#{word}s" [20:38] end [20:38] pluralize "tomato" # => "tomatos" [20:38] ccccccdilrkrvljnegtdjgnjvclvkkncjbfglddkkhrh [20:38] bah [20:38] sry bout spam [20:40] jrwren: it is actually a really cool language. just getting your environment set up can be a pain [20:42] ruby? [20:42] I've used it for only slightly more than the trivial. [20:42] i've nothing against ruby. [20:43] i was more of a rubyist than anything for a long time [20:43] maybe still today [20:43] pythons "everything is an object"... "oh except builtins and cpython types and..." [20:43] drives me crazy [20:44] ruby is definitely nicer there. [20:44] although i'm becoming increasingly comfortable with python, i still feel I know ruby's advanced features much better [20:44] tehre are advanced features? [20:45] well it makes metaprogramming pretty easy, and open classes aren't exactly the first thing you learn in any language [20:45] or defining your own domain specific language, which is pretty much encouraged in ruby [20:48] also the differences between require and include are confusing at first, as well as catch/throw vs begin/raise/rescue [20:49] catch/throw is mainly used for excecution flow control where begin/raise/rescue is for exception handling [20:50] sounds complex. [20:50] it's really not. but you did ask what the advanced features are [20:52] if you're interested give this a read http://rubylearning.com/blog/2011/07/12/throw-catch-raise-rescue-im-so-confused/ [20:54] time for class [20:54] good talk [20:58] http://rubylearning.com/blog/2011/07/12/throw-catch-raise-rescue-im-so-confused/ shows as empty response [21:04] hmmmm [21:04] it just broke apparently [21:04] i was just looking at it [21:05] google to the rescue http://webcache.googleusercontent.com/search?q=cache:Hwys7iKcvKcJ:rubylearning.com/blog/2011/07/12/throw-catch-raise-rescue-im-so-confused/+&cd=1&hl=en&ct=clnk&gl=us [21:05] http://is.gd/2bLjR7 - Throw, Catch, Raise, Rescue… I’m so confused! [21:46] when i instantiate a python object, is there a way to make it inherit the scope of the calling class? [21:47] but i don't want it to have the entire scope, prefferably it would be able to pick out certain variables [22:11] inherit implies an OO inheritance model, is that what you want? [22:12] sounds like you are trying ot not write much needed __init__ code :) [23:29] heh [23:32] no i'm just trying to figure out a way to have all of the plugins be able to access the IRC connection [23:33] right now i'm passing the irc object to the call function for the plugin so it can write to the server [23:33] but i wish i didn't have to [23:53] java--