[00:01] _stink_: http://www.amazon.com/YUI-3-Cookbook-ebook/dp/B0086I5M4W/ref=kinw_dp_ke?ie=UTF8&m=AG56TWVU5XWC2 [00:02] buying now to the kindle, woot [01:41] http://www.amazon.com/Bluecell-Repair-Replacement-Unibody-Macbook/dp/B007ZW548E/ref=sr_1_cc_2?s=aps&ie=UTF8&qid=1339724446&sr=1-2-catcorr&keywords=mac+pro+screws and the rape-age begins [01:42] but it comes with a free cable tie [11:33] good morning [11:52] What's the favorite do what you want license? BSD? [12:50] Man, I forgot how much work prepping a module for release to PyPi is [12:50] Write up docs, get all the files in the right place [12:51] anybody know of any good django books they can recommend? I learn best from physical books [12:53] rick_h gave me all of his 2 years ago [12:53] I could ship them to you [12:53] mostly outdated [12:55] MaskedDriver: There aren't any new book for Django [12:55] brousch: where are you located? no need to ship if you're close enough [12:55] I'm in Grand Rapids [12:55] oh [12:55] so not that close lol [12:56] 2 years ago, probably not very relevant anymore [12:57] I don't see a single book after 2009 [12:59] ok [12:59] Ah, Django 1.1 testing and debugging, but it still only covers 1.1. Current version is 1.4 [13:02] There are 2 incomplete books you can download [13:03] http://dl.dropbox.com/u/101667/Djangodesignpatterns.pdf [13:03] http://dl.dropbox.com/u/101667/Djangodesignpatterns.pdf [13:03] CC, so you are free to download [13:04] Sorry, this is the second onehttp://dl.dropbox.com/u/101667/djenofdjango.pdf [13:05] lol very incomplete [13:05] thanks [13:06] MaskedDriver: If you can stomach eBooks, apress has the most up-to-date Django books [13:06] snap-l: ok thanks [13:06] ebooks are what I have my xyboard for [13:07] snap-l: But they still only cover Django 1.1 [13:07] Again, the most up-to-date books. ;) [13:07] 2010 is the newest [13:07] It's really kind of strange [13:08] MaskedDriver: Did you try Flask yet? [13:08] brousch: That PDF of Django Design Patterns is incomplete. [13:08] That's what I said :P [13:08] brousch: Incomplete is 5 chapters of an 11 chapter book [13:09] not 5 pages, all front-matter. [13:09] lol [13:09] yeah that first one is 99% useless [13:09] heh [13:10] MaskedDriver: You're way too kind [13:10] hey, it gives me an idea of what could possibly maybe be in the book [13:10] They didn't take my pull request for instructions to compile on Ubuntu on the design patterns book. They have probably abandoned it [13:10] A license, and a table of contents [13:10] and possibly a title page [13:11] They did take my pull request on the Djen of Django, so maybe they are still working on that one [13:11] The other two nuggets of info are the Dive Into Python Book, and the Django Docs. [13:11] (links to) [13:11] After the Django Docs, the Django TDD tutorial is really nice [13:12] ok thanks guys [13:12] Goes back through the official tutorial in a TDD manner [13:31] OK, so I am trying to make my setup.py, but I need a version of a package that's only on github. How do I add that to my install_requires[]? [13:48] brousch: BSD or MIT are great do what you wants. CC0 is also possible if you don't even care about attribution [14:15] hah! got it [14:18] The geeker fixed a bug a year ago, and changed the verson on github, but never uploaded the fixed version to pypi [14:22] heya, for those that followed that 38 Studios big layoff a couple weeks ago.... here is a podcast with a lot of info about it... about the 20-25 minute mark... [14:22] http://feedproxy.google.com/~r/BobbyBlackwolfShow/~3/dSXKqWEycHk/BWShow052012.mp3 [14:22] didn't know Curt Shilling owned that company... [14:34] So apparently AWS went down around midnight and Heroku too [14:39] ? [14:39] wow [14:40] yeah, i noticed netflix went kaput. that uses aws, right? [14:40] heh, yeah basically the internet stopped [14:41] doe heroku run on amazon? [14:42] derekv2: looks like it [14:42] yes, they do. [14:42] i'm surprised heroku isn't big enough to run on thier own systems. they could increase margins by doing so [14:43] i'm sure they get different pricing [14:48] also think about opening multiple datacenters in geographically diverse locations [14:50] I actually doubt that they get different pricing. [14:50] netflix has already startd moving away from amzn for content. see recent articles on their new CDN [14:53] it doesn't take too many events like that to justify a move from aws. Didn't reddit do that a bit back too [14:54] well, you are SUPPOSED to design your app to run in multiple aws datacenters, but many don't. [14:54] AWS gave you fair warning. [14:55] netflix likely was not entirely down, just limping, becuase I know netflix is across data centers and they have thier well known chaos monkey [15:01] I've heard and read horrible preformance issues with heroku [15:02] oh? [15:02] link please? [15:02] you SHOULD be able to just throw more dynos at it, but that is only if your app was written to scale that way. [15:03] http://justcramer.com/2012/06/02/the-cloud-is-not-for-you/ [15:07] well and that rebutal to that; http://rdegges.com/heroku-isnt-for-idiots [15:09] nullspace: ty, excellent read. [15:15] I'm confused by the App cloud business model, they all seem way more expensive (except aws) then just a VPS [15:16] yes, they are. [15:16] but they are way more convenient. [15:16] a whole lot of web devs don't know how to admin any server, let alone a linux server [15:16] if you have a userbase already to go then I can see that [15:16] the apeal of git push heroku to them is huge [15:18] I can see that [15:18] +1 to anything that encourages those kinds of people to use revision control in my book [15:18] though it only makes sense if they already have a product and are making profit of it [15:19] you get 1 free dyno at heroku, so it makes sense if you have no profit [15:20] I guess reddit dropped EBS, not sure on AWS in general. http://blog.reddit.com/2012/01/january-2012-state-of-servers.html [15:21] EBS should be used sparingly and cautiously when designing to run on AWS [15:22] reddit, 240 servers. that is NUTS [15:22] compare with stackoverflow. [15:22] oh, well... i guess SO is a bit smaller, but not THAT much smaller. [15:23] in fact, 240 AWS instances is definitely around the point I'd start looking to selfhost [15:23] actually, far far before that. [15:25] time to buy a datacenter in a shipping crate [15:31] google adplanner shows reddit as much larger than stackexchange, but I think that might not be fair comparison [15:31] have to aggregate the stack sites [15:33] reddit 2.7b page views/month, se+askubuntu+stackoverflow 260.7m page views/month [15:35] still stackexchange was what 21-24 servers in 2011 and they're not 10 times smaller than reddit... [15:41] yes, that was my point. [15:41] and they were 4 servers to start, which is a great place to start. they scaled to damned huge on those 4 servers. [15:42] yep, with thought and planning its impressive what you can do. I wouldn't say reddit was a good example of an optimized site initially (they're getting much better recently though) [15:45] yea, reddit's been understaffed for years [15:45] it's going to be behind the eight ball [15:46] SE isn't that much smaller than reddit because of all those windows machines :P [15:46] ya know that point where you know the next test you need to write, but you really don't want to write it... been there all morning. [15:46] rick_h: if only that were true. its actually teh opposite. [15:47] nullspace: the advantage with the app hosts is that they admin and provide tools/apis for you to do sysadmin at the click of a button [15:47] I can scale my heroku app up to 5 instances in 2min [15:47] while scaling up 5 new vps's isn't happening for a bit [15:48] and the heroku model of supplying add-ins means I don't have to setup a vps for my app, one for postgres, setup memcache, scale up my memcache server, move it to it's own vps, etc [15:49] jrwren: yuck on the test, and :P on the windows jab [15:49] after all, you're not running ec2 small instances for that stuff [15:49] its not windows v. linux though. its app designed one way v. app designed another. [15:49] yea, but it is rare for big web things like that to be the windows stack. <3 SE and all that [15:50] indeed. [15:50] but I've got no pity for any large site that's not across multiple AV zones today [15:50] it's not like this lesson didn't come up for everyone last year [15:50] i'd love to see them move to linux and Mono :) [15:50] suck it up, do it right [15:50] AV? [15:51] sorry, availability zone, AZ my bad [15:51] ah, yes, agreed [15:52] sorry, catching up on backscroll [15:52] I need my module to work as 'import android' but I don't really want it to be installed with 'pip install android'. Any idea how I configure that? [15:52] been putting the pooch in the hospital and all that, freaking mess of a night/day [15:52] brousch: change the name in setup.py to be android [15:53] but then don't make that the module [15:53] and also...don't do that. I HATE that [15:53] Well it has to be import android to do what it needs to do [15:53] ugh, that sucks [15:54] in SL4A you 'import android' to get access to all the Android API stuff [15:54] I'm simulating that on the desktop, so I need the same module name [15:54] gotcha [15:54] But it's too generic of a name for pypi [15:54] right, you can just change the package name in your setup.py to mock-android or something [15:55] the first 'name'? [15:55] rgr [15:55] eh? [15:55] roger [15:57] 10-4 over and out [15:58] rick_h: You are my hero [16:01] brousch: :) I trey [16:01] try, damn I can't type on no sleep [16:01] Something wrong with your dog? [16:02] yea, she's had some kind of bad reaction to meds or something [16:02] was up the last two nights with puppy messes and today she's being hospitalized [16:03] now instead of sleep, I need to take this rented steam cleaner and pray some of it comes out of the carpets else break out the credit card for new floors [16:03] Oh man, I hope she's OK [16:04] yea, they're thinking just bad reactions to the pain meds they sent her in on, but now she's all dehyrated and a mess, so they're keeping her for the day [16:08] All right, My second thing on PyPi http://pypi.python.org/pypi/sl4a_pydroid_mock_api/ [16:08] gratz brousch [16:09] awesome man [16:15] my names not shirley and dont' call me roger. [16:42] And this afternoon, it's a cement cutter in front of the house. ;) [16:43] having an office is nice. [16:43] i was on the couch all morning. [16:43] Well, it's for our driveway, so it's expected [16:43] went to desk to eat, charge bat and work, then back to couch [16:57] http://inversephase.bandcamp.com/album/pretty-eight-machine [17:26] oh shit, I'm lame. I just wrote method missing in python *sigh* [17:36] implemented __call__ ? [17:36] method missing? [17:37] ruby-ism [17:37] http://rubylearning.com/satishtalim/ruby_method_missing.html [17:37] string him up! [17:39] what's his char_set encoding? [17:39] up = him.ToString() [17:58] actually, __getattr__ [17:59] __call__ just makes an instance callable [18:29] whoa, cool think I learned about vim: / then ctrl-p&n to toggle through previous searches, and it navigates me through them. [18:36] jrwren: ah, thought you were more going after methods vs attrib access [18:38] turns out method call IS attr access that just happens to be callable and then it is called ;) [18:39] lol, wheeee [18:41] yeah. [18:41] at first i thought i was being hacktastic, but i googled and found writing saying, YUP that is how it works. [18:41] that is python [18:41] YAY [18:46] yea, there are cool hooks for doing nice things. Seems hacky, but lets you implement the API you want to write [18:47] just wait until you start wanting to do some __new__ and metaclass stuff to make the code you write look like you want [18:47] yup. [18:47] i've read up, i think i'm capable of doing it if I need to. [18:48] brousch: yeah.. using old docs is kind of annoying. Simple things like "maxlength" getting renamed to "max_length" can be a pain. [18:56] man, typing on any other keyboard now is annoying. love the kinesis [18:59] greg-g: :) [19:00] greg-g: yea, the whole middle section for thumb operation is really sweet [19:01] what kb is this? [19:03] kenisis http://www.kinesis-ergo.com/contoured.htm [19:04] woot! two spdy articles on the front page of HN today [19:29] kinesis needs to come up with something new [19:29] I want them to make a countoured / split / bluetooth [19:30] they could have added a few extra buttons for programming [19:30] it has macros [19:30] and bluetooth? bah [19:30] ;) [19:32] i want someone to make a keyboard that works off my fingers directly, like initial or something. or video [19:32] but just so that i twitch my fingers and letters happen [19:34] so that I'm not needing to carry around a kb thats a lot bulkier than my computer [19:34] or soon i'll just be stuffing the computer inside the kb and whoof! back we go 25 years [19:36] and yea it'd need a usb option [19:46] "Skype is written in the Qt framework which is multiplatform so this isn't very surprising. Microsoft litterally just has to write the code once and compile it on each OS and it works. [19:47] -- idiot on the internet award, 2012-06-15 [19:49] always question a sentence that has the word "literally" in it [19:49] litterally [19:49] derekv2: actually, I was just thinking that I should shove a rasperry pi in this kinesi :) [19:50] as in "my cats litterally used their box" [19:50] snap-l: heh, more so then [20:51] http://io9.com/5918453/cooked-squid-inseminates-womans-tongue-cheek-and-gums [20:51] wtf? [20:52] Also a reminder that it's Free RPG day tomorrow [20:53] go get some loot, and make friends with your local gaming store. [21:03] does playing d3 all morning count? [21:06] jrwren: not really [21:06] but that just means more stuff for everyone else. [21:22] omfg, I think I'm python idiot nub [21:23] GAH!!! I FAIL AT LIFE! [21:24] jrwren: what did you do now? [21:25] i thought class A(object):\n m=[] [21:25] m was an instance member, instead of a class member [21:25] ah [21:26] nope, because you can do A.m without ever creating an instance [21:26] yup. [21:26] i was just hoping for the shorthand syntax outside of init [21:26] guess there isn't one [21:26] yea, also watch out for the def method(self, books=[]) [21:26] yeah, already doing that reasonably well. [21:26] that catches new devs as well [21:26] plus, pylint! [21:27] oh, does pylint warn on using mutable defaults? [21:27] I believe so. [21:27] ah, good stuff then [21:27] let me see :) [21:27] yea, the 'shortcut' for the init is to just do kwargs [21:27] W0102:432,0:main: Dangerous default value [] as argument [21:27] but figure if you were goint to do a bunch of m=[], doing __init__(self): m=[] is only one line more [21:28] ah, nice. This is why I love lint tools [21:28] ditto [21:30] but cool, check out @classmethod and your original idea with m = [] and you can do some cool stuff with constant-like and static like behaviors