[00:32] JoDee's not home yet, so it's pretty doubtful I'll be able to make it to CHC tonight [00:33] snap-l: booo [00:33] ok, thanks for the heads up [00:33] Can't be helped. [00:33] we've got a good 7 here [00:33] Awesome! [00:33] Anyone new? [00:33] oops, make that 8 [00:33] my boss is here, duane [00:33] thul is here as well [00:33] Awesome! [00:34] Damn, I missed a rare Thul sighting [00:34] devin says he'll pick you up next week [00:34] get with him on that [00:35] OK. :) [00:35] Was going to ask you otherwise. ;) [00:36] he says he goes right by your place, but yea I'd do it as well [00:36] Thanks. :) [00:38] * slashies violently headbutts nullspace, "HA! First guess. Knew it had to be you" [00:38] now, of course there will be an intervenening 3 hours before he reads that and but then I'll be AFK [02:39] rick_h_: It appears that the OLF folks want the Ubuntu MI group to share a table with Lococast. [02:39] which I agreed to, since it'll be easier to manage. [03:36] snap-l: yea, said the same thing when I got the email [12:02] morning [12:03] hello [12:03] ugh, morning [12:05] Good morning [12:05] http://www.youtube.com/watch?v=bAgwQQ30Qus [12:06] le sigh [12:06] I remember when I could watch youtube vids at work... [12:08] snap-l: i woke up this morning with Rush "Tom Sawyer" playing in my head. wtf, i don't even listen to Rush [12:08] i know you're behind this somehow [12:08] brousch: you're welcome [12:13] :P [12:51] Yay, I'm installing Windows XP updates [12:51] today should be fun. [12:54] good luck [13:16] cmdr taco resigned [13:16] i might cry [13:19] yeah i saw that [13:19] haven't read the article [13:21] that's worse than Jobs stepping down [13:22] way worse [13:27] It was a long time coming. [13:30] snap-l: oh yeah, it's patch thursday!!! [13:34] Man, 2000+ is really ripping up the industry as we once knew it [13:50] http://arstechnica.com/gadgets/news/2011/08/rim-on-the-outs-who-wants-a-slice-of-blackberry-pie.ars [14:02] 9 days until Ubuntu global bug jam!!! [14:03] question: does anyone who will be attended the bug jam have a working TV Tuner so that we could watch the football game? [14:10] <_stink_> jrwren: looks like the game is being carried by ESPN, so it *might* be shown on espn3.com [14:10] <_stink_> but they don't give listings that far in advance [14:12] I've got a usb one I could loan out at the next CHC to snap-l to bring [14:12] I got one to test the HD antenna that's usb [14:13] rick_h_: You aren't coming to the global jam? [14:13] pshaw [14:13] snap-l: can't wife is working [14:13] I'm on dad duty, said that the day we planned it :P [14:14] Bah [14:15] it's ok, I don't know much about ubuntu bugs :P [14:15] Bring Michael to the jam [14:15] we can have the youngest triager. :) [14:15] heh, he does love to "type" [14:15] Couldn't do much worse than some of the triagers. ;) [14:15] his new thing is to ask to go downstair to "type" and beat on my keyboard [14:16] <_stink_> haha [14:16] <_stink_> awesome [14:16] does he have his own? [14:16] http://twitter.com/#!/mitechie/status/106728842315575296 please if anyone has any idea, I really don't want to write this [14:16] I'll load up the Eee for him [14:16] george uses my old eeepc 901 [14:16] brousch: he has one, but it's not a full clicky keyboard, I gave him my old server usb mini keyboard [14:16] it is his [14:17] no, I don't have anything to give him that's working [14:17] he's only 19mo as well [14:17] and doesn't get tv/etc [14:17] inline images? [14:17] http://en.wikipedia.org/wiki/Data_URI_scheme [14:18] so the image is embedded right in the html? [14:18] right [14:18] whoa, cool [14:18] yea, I've got a tool that can generate a pdf using webkit offline [14:19] but I need to embed all the external links, css, js, images, etc [14:19] and not finding anything to do that for me :( [14:19] but why? [14:19] I really don't want to write some html parsing thing to go through it all [14:19] then given any html page (say a page my application is serving) I can do ?topdf=true and it will generate a full pdf of the html for me [14:20] basically automatic html report->pdf with JS/css/images included [14:20] hm, small starting point http://www.dopiaza.org/tools/datauri/ [14:20] ah, i see [14:22] rick_h_: God, it's 1995 all over again. ;) [14:23] it's staples [14:23] oh crap, did I just break my social medial policy? [14:23] It's like someone saw a C header file with XPM embedded and figured "why not?" [14:23] basically every web page must be printable as it appears on the page without any checkboxes/controls in the browser print ui [14:24] print to pdf isn't good enough? [14:25] no [14:25] send to silenium and scrape a png? [14:26] Dear God, this is insane [14:27] brousch: yea, I can send it a full url now [14:27] but the url has to be available by this server [14:27] which means the page can't require login/cookies/etc [14:28] what I want to do is send it from the web server itself, so that I've got a single blob of html that has all that built in, and then have this tool render the whole page with css/js [14:30] i see a few people that do a little bit and then mention that it would be interesting to do do whole pages, but no one seems to have done it [14:30] rick_h_: you aren't coming to the global bug jam? [14:31] rick_h_: damn, i was hoping to give you a think pad power adapter from greg-g [14:31] jrwren: I'll grab it [14:31] * snap-l is the mule [14:31] rick_h_: how old is the boy? totally bring him to the bug jam! [14:33] rick_h_: if you have any inclination to bring the boy to the jam, I'll bring my girl and she can keep him entertained. [14:33] rick_h_: it looks like ie6 doesn't do data uri [14:33] isn't staples the one still running ie6? [14:33] brousch: I could care less :P [14:33] nothing but the pdf generation tool has to understand data-uri [14:33] ok [14:33] brousch: they've all finally migrated to ie8 [14:33] still 800x600, but on ie8 now [14:33] God [14:34] 800x600. At least it'll look good on the iPhone. ;) [14:35] :) [14:38] 800x600? wtf? [14:38] is this POS machines? [14:39] point of sale. the piece of shit is given. [14:41] no, this is back in the office area of the stores [14:41] on locked to the 9's windows machines now finally (in 2011) on ie8 [14:41] just completed the rollout back in june [14:41] jrwren: I've seen this first-hand at Chrysler [14:41] some folks can't see very well, so they use 800x600 to get big fonts [14:42] Rather than settingtheir machine to a reasonable resolution and jacking up the fonts, they associate 800x600 as some kind of accessibility compromise. [14:43] It's goofy, but it makes sense on some levels. [14:45] Also, JoDee's mouse that she broke? I'm using it right now [14:45] basically, she lost the back cover on the mouse [14:45] still works. Thinking about what to do with it when she fully surrenders it. ;) [14:46] snap-l: worse is when an in-house app requires some high resolution because it works on the dev's monitor, then you go to the plant floor on 800x600 and it's unuasable [14:46] or nearly so [14:46] Wolfger: You forget I worked on FieldConnect. :) [14:47] 1024x768, bay-bee. [14:47] except for the nearsighted customers. [14:47] which comprised of one of the customers who still was talking to us. ;) [14:56] https://github.com/mitechie/python-webpage-inliner brousch [14:58] it works already? [14:59] well, it needs some work [14:59] it's not a valid package, args is all sys.argv[1], and the path building isn't very forgiving [14:59] leave off the / of the url and it fails/etc [14:59] but sure seems close enough for me to start here vs my own [15:00] this could be really useful for offline viewing of stuff [15:00] exactly [15:00] ah, you didn't just write this, you forked it [15:00] right [15:00] sorry, meant to link his repo not mine [15:00] i see it now [15:00] awesome [15:02] i'm going to follow your repo. if nothing else it will be an interesting project to discuss at grpug/grwebdev [15:08] _stink_: https://github.com/craigmaloney/Projectile-Motion-Demo---Game [15:08] That's the projectile motion game I made for JoDee a while back [15:17] what's the brown line? a wall? [15:17] Yes [15:20] i blew myself up [15:20] That's impossible. [15:20] You won't die. ;) [15:25] http://nymag.com/daily/entertainment/2011/08/ouija_board_movie_dead.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed:+nymag/vulture+(Vulture+-+nymag.com's+Entertainment+and+Culture+Blog) [15:28] i don't see any enemies [15:29] brousch: It's supposed to be like battleship [15:29] it's a projectile motion demo [15:30] the students were supposed to compute the projectile motion and then JoDee would put their numbers into the game to see if they hit [15:30] they needed to get it over the "Wall" [15:34] i landed on the wall [15:35] then you likely need more velocity or a different angle [15:35] also a secret of the game: you can have more than one projectile at a time. [15:37] yeah, i just made a swath of red death on the wall [15:44] http://dl.dropbox.com/u/101667/projectile-demo-diewalldie.png [15:51] lol [16:02] hehehehehe. :) [16:03] I'm glad you're entertained. :) [16:04] man Steve Jobs and CmdrTaco in 24 hour period [16:10] Yeah, the tech world is definitely in turmoil [16:11] malda left geek.net? [16:12] He left Slashdot, so I'm thinking that means geek.net as well [16:12] yeah it read that way to me [16:12] about damn time. [16:12] Yeah, this has been a while in coming [16:16] I think when they had the big layoff (of which I was a part) that's really when the fun got sucked out [16:16] lots of good people were either fired or left. [16:17] Once hemos left, I figured it was only a matter of time. [16:17] that was a few years ago right? [16:18] then about a year ago they started hiring again like crazy. [16:46] Well, yeah, because they cut way too far, imho [16:47] http://ebm.e.staples.com/c/tag/hBOVmp6B7SHGCB8c96-CYMmGnS7/doc.html?t_params=I_CITYNEW1%3D2%26I_DELIVERY45%3D2%26I_DELIVERYLINK%3D2%26I_STATENEW1%3D1%26I_STORELINK2%3D1%26CITY_CASING%3DMacomb%26EMAIL%3Dcraig%2540decafbad.net%26PASSWORD%3DB7SHGCCYMmGnBOVmp6Fs7VwlMncCyL%26STATE_PROVINCE_CD%3DMI%26ZIP%3D48044&cm_lm=craig@decafbad.net&cid=EM:CM:_BOVmp6B8c96-84&om_rid=craig@decafbad.net [16:47] I should totally take my machine in for a checkup [16:47] "Yeah, can you speed up my start and shutdown time?" [16:58] brousch: http://www.youtube.com/watch?v=W35wtfcByIY [17:06] Also, this is fucking awesome. http://www.youtube.com/watch?v=eMwn_hnoS5Y [17:08] blah [17:08] damn hippie music [17:08] Dude, we shall get you into early Genesis. :) [17:08] Seriously, though, the second link is awesome [17:08] If for no other reason than the stage play. [17:10] http://www.youtube.com/watch?v=zP1_pZkJTvk [17:10] could you instead ship me a pair of icepicks so i can pop my eardrums? [17:12] bwuhahaha, I love getting paid to push to github [17:13] hehe [17:14] brousch: in lieu of icepicks, may I offer the following: http://www.youtube.com/watch?v=8jhbQX_HSLs [17:15] http://www.youtube.com/watch?v=rYgHNw-8ESk [17:16] http://www.youtube.com/watch?v=G8_Z0OEkgSo [17:21] http://www.youtube.com/watch?v=7xxgRUyzgs0 <- Will Calhoun is one of my inspirations. [17:26] OK, enough dicking around on youtube. :) [17:30] never! [17:31] ut oh, another python podcast http://www.radiofreepython.com/ [17:31] yep [17:31] listened to that yesterday [17:31] got some heavy hitters on there [17:39] rick_h_: Just saw this blog post on intents and intent filters in appcelerator titanium. http://developer.appcelerator.com/blog/2011/08/android-intent-filters.html [17:40] i think titanium can do what you want for the bookie app [17:41] ty, bookmarked. Will check that out [17:41] I keep going back/forth on what I want to do for mobile bookie. [17:41] for now, first priority is bookmarklet [18:18] bookmarklet is all i want for my FF browser :) [18:28] yea, started on it last night jrwren [18:28] hopefully in the next week/two I'll have one put together [19:02] Steve Jobs Announces Retirement, All My Friends Pre-Order Retirement [19:04] Man, this Kobo is a crashy POS now [19:21] heh [20:31] anyone want a free copy of Delerium - Karma? [20:32] Apparently the copy I have is copy protected, so I'm getting rid of it [20:32] that's bullshit, IMHO [20:51] i'll take it. [20:51] always nice to have a spare. [20:52] fear me. i created a webapp using Python3, CherryPy, Mako, and SQLAlchemy [20:54] PHEAR [20:54] took about an hour [20:54] 45 minutes of looking up cherrypy and sqlalchemy crap [20:56] nice, brousch. [21:15] http://cdn.omgubuntu.co.uk/wp-content/uploads/2011/08/Selection_008.jpeg <- WHAT THE FUCK? [21:17] i really didn't look closely at that but it kind of looks... uhm... i dunno. [21:19] not sure if i like it or not [21:46] hahaha. [21:46] canonical marketing FTW [23:00] wow, kids designing ubuntu now? [23:26] rick_h_: using sqlalchemy in my little python3 webapp. should each request get its own session? [23:28] brousch: yes, there are threadlocal stragies all web frameworks use to implement that [23:28] http://awsmedia.s3.amazonaws.com/jobs/all_aws_jobs_list.html [23:28] man I wish I could move to seattle [23:28] brousch: http://www.sqlalchemy.org/docs/orm/session.html#creating-a-thread-local-context [23:28] though I did finally have some real fun at work today [23:29] i have nfc if my stuff is threadsafe [23:29] got that inliner code working and packaged, got a wrapper that would do html -> pdf generation. Now to get it all wrapped up as an easy to use service to render any html page as a pdf document with a couple of lines of python [23:29] brousch: if you're not doing it, it's not [23:30] http://paste.mitechie.com/show/393/ [23:32] I think you're ok since you redo the session for each request [23:32] but make sure you try/catch around the add/commit [23:32] if something were to go wrong it'd blow up badly [23:32] you want to make sure to try:catch:finally [23:32] and session.remove [23:36] what's session.remove? [23:36] destroys the session or anything lingering in it? [23:36] helps clean up a session and return the pool'd connection and such [23:37] it's in that link I sent [23:37] ok, just started it [23:37] looks easy enough to do [23:37] http://www.sqlalchemy.org/docs/orm/session.html#sqlalchemy.orm.scoping.ScopedSession [23:37] just wrap the session in the threadsafe session thing [23:38] right [23:38] just a slight alteration to the normal flow to make sure each request is isolated from each other [23:38] since you get connection pooling ootb, it's not a perf hit [23:38] and keeps people from trouncing on each other a bit [23:39] but just remember, you can still have two users to go add something and one wins and the other conflicts a unique key or something [23:39] so you always need to try/except and make sure you watch for that [23:39] ah [23:39] if we're both behind the same NAT firewall for instance and add the same IP split seconds apart, boom! [23:40] (at least from a general idea of the code here) [23:40] each row has a unique id [23:40] ip was just something convenient to throw in there [23:40] ok, but the ip address column doesn't have a unique constraint? [23:40] ah, ok [23:40] well, you get the idea [23:40] i think so [23:41] how would you test that? hammer a server with instances likely to clobber each other? [23:42] one way, other is to intensionally setup back to back calls that should conflict [23:42] create the same User withthe same username back to back and make sure hte second gets a failed commit and you catch it/error properly [23:42] that kind of idea [23:45] thanks