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