[00:02] awesome, congrats snap-l [00:04] Yeah, laptop is running nit now [00:13] yay! [00:13] yay for upgrades [00:14] Heh. :) [10:38] morning [11:38] Good morning [11:40] yessir [11:45] http://ur1.ca/92i9l <- New club metal [12:56] wow http://readable.bmark.us/view/http%3A%2F%2Fwww.forbes.com%2Fsites%2Fstevensalzberg%2F2012%2F04%2F22%2Funiversity-of-florida-eliminates-computer-science-department-increases-athletic-budgets-hmm%2F [12:56] no CS at FL, kind of crazy to think of a big state school with no CS program [13:04] anyone ever use twitter-bootstrap with django? I'm too django nub to figure out an easy way without disecting twitter-bootstrap [13:05] rick_h: that is INSANE! [13:05] jrwren: guess I'd start checkout out: http://goo.gl/Q3X7I [13:06] https://github.com/earle/django-bootstrap seems most watched/etc [13:06] that isn't it. [13:06] bug ugh, this is why I hate django...wtf... [13:06] that is just django-forms integration [13:06] you can't just add your own JS/css tooling without framework hacks? [13:07] actually, i swear there are a couple links in that google result that were not there last night. [13:07] maybe I was just too tired to find the right links last night. [13:08] gotcha [13:08] I'd imagine it's got to be a solved problem by now [13:08] I know I've seen several django apps use it, but not sure how and not rembmering the ones I hit recently [13:08] a lot of it is my css/html is so weak, that i relaly need an idiots guide [13:09] or i'm doing it wrong or somehting. [13:09] well bootstrap makes it fun with needing the sass/less integration to use it [13:10] ah, i didn't even get taht far. maybe that is part of the problem. [13:10] i should just try out static boostrap and amek sure its looking right first and then try django with it. [13:10] thanks rick_h [13:10] wtf, they have a 'download with docs' but no docs online on the site?! [13:11] jrwren: yea, so a lot of the css stuff is generated via sass or less (think it includes both sets of files? maybe not) [13:11] for bootstrap? i just git clone it === jcastro_ is now known as jcastro [13:11] ah, looks like only less [13:11] jrwren: http://lesscss.org/ [13:11] rick_h: Yeah, I saw that lack of a CS program at FL [13:12] jrwren: yea, notice the git clone has no css directory [13:12] I'm glad the athletic department is still going t strong, though. [13:12] it's generated via the less directory [13:12] I wouldn't want them to have to suffer. [13:12] snap-l: well I always hate that argument. I mean big athletic depts like that actually more than pay for themselves and are revenue generators [13:12] you can't compare that vs a CS dept [13:13] imo [13:14] rick_h: Yeah, whatever. :) [13:15] I have a problem with colleges having revenue-generating sports teams too, but that argument won't get solved in 10 minutes. :) [13:15] heh yea, that'll get into a whole field of things [13:16] But that's OK. I'm sure they'll have plenty of jock alumni who will give them gigabucks of cash when they go pro [13:16] as opposed to some lowly startup that manages to get funded. [13:19] But hey, when colleges and universities go completely online, I'm sure the athletic department will have been a great choice to fund. [13:21] jrwren: what are you looking for in django integration that you don't get from just twitter-bootstrap? [13:35] Quantal Quetzal [13:40] brousch: being able to point a view at index in twitter-bootstrap. I think i don't have static things mapped properly [13:41] jrwren: that is likely. static is kind of a pita the first few times you do it in django [13:42] you do static differently in dev than in production [13:42] and it has improved every release, so many google searches turn up old advice [13:43] https://docs.djangoproject.com/en/dev/howto/static-files/ [13:46] that is the official static files howto, but i found it hard to understand [13:49] basically you put your static files in a couple of places in your project during development. the default dev server looks in all these places. when you deploy, you "collect" the static files into one place, and then you can easily send that dir where you need it (separate static server, S3, etc) [13:56] brousch: <3 the new name. Quetzal is in my son's animal flash cards for Q [13:57] i always think of quetzalquotl, the mayan feathered serpent god [13:57] never haerd of it [13:58] read a book once in a while! [13:58] hey, I do...check out my goodreads :P [13:59] http://en.wikipedia.org/wiki/Quetzalcoatl [13:59] oh no, my wikipedia hit for the month has arrived snap-l :) [14:02] rick_h: I hope you get stuck somewhere in the Clone Wars. [14:02] ;) [14:49] Anyone know of a good link I can peruse for handling two databases in sqlalchemy? [14:50] yea, ask John. I've got an app that does that for staples [14:50] snap-l: is this for web or just scripts? [14:50] scripts [14:50] SPecifically one that uses your manager pattern. [14:50] oh, then just dupe the things poiting to a diff engine [14:51] same models across the two databases? [14:51] or different models in eaach db? [14:51] yes and yes [14:51] ok, well same models will be a bit more intersting. Different is easy, you just end up boostrapping the two separately and have a session1 session2 [14:51] it's essentially something that wasn't designed to use two databases. [14:52] But because it's the typical "Oh, is just another load", it makes it tricky. [14:53] if you want to share models...you'll have to wrap the models with a method that generates the correct base and returns it [14:53] http://www.quora.com/How-can-I-connect-to-multiple-databases-in-SQLAlchemy [14:53] is a little bit plain, but get the idea [14:53] I'm looking at it now [14:57] http://stackoverflow.com/questions/8831568/sqlalchemy-declarative-model-with-multiple-database-sharding seems like a close to showing you the multiple base [14:57] now imagine wrapping that in a function where you give it an engine string and get back a hooked up model [14:58] so you could call it twice and have a ver1 and ver2 hooked to each db separately [15:04] Yeah, I think I have a plan of attack [15:04] or at least something to keep me busy. :) [15:04] let me know if you hit issues, I've done it before [15:04] going to make it ugly first, and then clean it up [15:05] (ugly as in copying the models/meta.py file, and changing where it points to) [15:12] hm, i'm suppose to espouse how awesome ubuntu 12.04 is at the release party, but i haven't touched unity in 5 months [15:12] i think i'll talk about all the good stuff going into the server version [15:12] that is all anyone cares about anyway. [15:12] no one in their right mind uses desktop linux. ;) [15:14] i can find maybe 2 people in GR that are running Unity and like it [15:21] so anyways, is there a good source of all the new stuff that's been going on? [15:25] what new stuff? just snag all the things from debian and release. done. nothing "new" [15:25] :) [15:30] juju and charms come to mind [15:30] default versions of software people care about (python, php) [16:03] default version of pgsql [16:06] echo 43617665617420456d70746f720a | xxd -r -p [16:06] yea, fun one [16:14] 737466750a <-- put that in your pipe and smoke it [16:16] jrwren: 6774666f0a [16:17] Hey, we're looking like rick_h's two-factor. :) [16:17] 543107 [16:18] too many #'s :P [16:18] ;) [16:18] snap-l: :) [16:58] waldo323_: ping, you get your python issue solved? [17:01] more or less.....i likely didn't do things the right way but it works [17:02] hey, that's what counts ;) [17:02] right, though i may show you the code at chc and see what should have been done differently [17:03] its possible that parts of it will be worth using again for future years [17:03] cool, look forward to it [17:03] just wanted to make sure you got it going ok [17:03] it saved Matt, who does the program book, a ton of time [17:03] thanks [17:04] awesome [17:05] it also saved sarah a bunch of time [17:18] snap-l: I was listening to podcast and one started with some cool music. I wondered which podcast it was. Of course it was lococast [17:21] the last lococast had some interesting music. It ran a whole range [17:28] Thank you. :) [17:29] And thank Magnatune, as I think most of it came from therem. [18:10] man, anyone else find it just staggering that between FB buying off instagram and not 550M for MS patents...they've basically written 1.5B (as in billion) in checks the last week-ish? [18:11] rick_h: And they haven't hit IPO yet [18:11] snap-l: yea, tack that on too [18:11] if you used it you'd now how awesome FB is [18:11] it's worth all that money [18:11] They're looking to keep Yahoo from spoiling the party [18:12] And any other patent trolls [18:12] Frankly, it's disgusting [18:12] but I can't fault them for it, because they're screwed if they don't. [18:12] yea, but give them credit. "Give me all your lunch money kid!" "umm, no thanks, I've brought myself a nice 45cal and I'll keep my lunch money kthx" [18:13] Like being forced to an orgy because if you don't, someone will take your kids [18:13] that's ...an interesting way of putting it lol [19:27] This photo still cracks me up: [19:27] https://www.dropbox.com/s/zf1pi210r0akx9w/Kenny_G_Miles_Davis.jpg [19:58] heh [20:44] Gah, I wish I had that hour back [20:44] * waldo323_ gives it back [20:44] had a record in a table that was named closely enough to trick my mind into thinking it was right [20:44] mp_id instead of (correctly) mpi_id [20:46] don't you hate that? [20:47] i do. [20:47] jrwren: Yes [20:47] Well, what's worse is I'm working with hacked "new code" [20:47] so I'm thinking it's something more serious [20:52] http://paste.mitechie.com/show/0iQ70qJZjcHGn2jaMJyY/ [20:52] This tickles me [20:52] "ratings information for non-subscribing stations will no longer be part of any [20:52] publicly released ratings reports, making it tough for the general public to [20:52] know exactly where stations rank in markets where there are non-subscribing [20:52] stations." [20:54] I eagerly await the day when Arbitron is a footnote in tastemaking. [21:02] presentation time. this should be good