[01:13] man, resizing a 2 tb disk takes a while [01:16] heh, just a few eh [01:18] it's still all blinky lights but it's been going for over an hour :( [01:20] I need a beer, thank god someone brought some Corona to our BBQ. Light, easy drinking, not strong enough to get drunk. [02:09] big drives are slow to format [02:10] not SSD [02:12] ssd can be slow to [02:12] o [02:12] :( [02:12] true. my macbook air is surprisingly slow at du -kxa / | sort -nr | less [11:05] g'morning [11:43] Good morning [11:43] indeed [11:43] how is our king today? [11:46] was sitting on the throne most of the evening last night [11:47] morning [11:48] http://pkaudio.blogspot.com/2011/08/more-bliss-all-keyboard-control-in-os-x.html heh [11:48] can I get a "you're doing it wrong..." :) [11:54] Hey, if C-X C-S is speed for him, I'm not one to argue. [11:56] I mean, when automobiles were first coming on the market, people were worried that if you went over 60MPH, it might take your breath away [11:56] then again, riding in a Model T with no roll-cage overhead might very well qualify. [12:14] Open Metalcast Episode 27: One More Time: http://ur1.ca/4vqnp [12:15] but i just downloaded the new morbid angel [12:21] http://www.youtube.com/watch?v=xo9v_GIuDBk [12:39] "Hi all at decafbad.net. What you thinking about chicken recipes?" <- Spam comment. [12:44] ??? [12:44] that's just bizarre [12:58] So, how is everyone this fine morning? [13:00] ready to be home [13:00] 3 weeks in a row is a bit rough [13:00] Ugh, sorry to hear that [13:00] there isn't much to do in bristol ct [13:04] nonsense. You have an internet connection. Therefore, there's plenty to do there. :-D [13:05] haha [13:08] but sometimes you just need to get out of the hotel [13:08] Yeah. Those times are called "going to work". At least, that's how my business trips go. [13:10] i agree [13:14] always seems like if I go out for dinner on a business trip, my entire life consists of "work, dinner, sleep, repeat" [13:16] yup that's how its been for 3 weeks [13:16] sometimes its work, run, dinner, bookstore [13:16] but those are a 20 mile drive from hotel [13:37] Anyone looking for someone like me for work? Let me know. [13:38] snap-l: !! [13:38] ? [13:38] Customer has made it somewhat clear they're looking to bring what I do in-house, so unless ALU comes up with something else for me, I'll be back on unemployment. [13:38] ugh! [13:38] and frankly, I don't put a whole lot of faith in them. [13:38] oh man, that sucks [13:39] bummer [13:39] No worries [13:39] Been there before, getting used to it [13:39] snap-l: what exactly do you do? [13:39] snap-l: What is ALU? [13:39] http://decafbad.net/files/resume.pdf [13:40] ptenhoopen: Alcatel-Lucent [13:40] What do I do? Not what I'm doing. :) [13:40] What do I want to do? Not what I'm doing. :) [13:41] yeah, want to do is a better question [13:41] I want to write Python, preferably design my own games [13:42] and get paid scads of cash to do it [13:42] Unfortunately, that's delusional at this point. [13:42] jjesse is always looking for people ;) windows and symantec! [13:42] yes i am [13:42] And I'd like to never see Windows ever again [13:42] well games is a long shot [13:42] And Symentec, no offense, can die in a fire. [13:43] understand [13:43] Chrysler's hiring... not sure if it's anything Python/Perl-ish, but you might actually get a direct position at this point in time [13:43] Wolfger: *sigh* [13:43] :-) [13:43] snap-l: update your hobbies section to say "Leader of a 200+ member Ubuntu Community Team" :) [13:43] greg-g++ [13:43] "I am quite popular in the death metal podcasting community" [13:44] be sure to write it with a pompus sounding accent [13:44] ColonelPanic001-- [13:44] >:-| [13:44] Return my karma immediately. [13:45] Anywho, I'm going to heh [13:45] snap-l: I'd rather be making games too! [13:45] really. canonical has open positions [13:45] bah, start and stop thoughts [13:45] <_stink_> jjesse: you visit ESPN? [13:45] We have a few meetings today to discuss, but I'm not waiting. [13:46] Damn Open Source, making me want to not sell all of my crappy code. [13:47] I could write a wrapper to grep and sell it for $29.95 shareware. ;) [13:47] :) [13:49] the plotter tech said i should market my pdf->tif conversion script. it's 100 lines of python using imagemagic [13:49] wtf... askubuntufeed on twitter, lol [13:50] jrwren: Seriously? Talk about a crap feed [13:50] yar [13:50] snap-l, it's a good idea to put in there something about the LoCo [13:50] someday, i'll write my own twitter client that lets me /ignore in my searches :) [13:51] snap-l: you are against selling software? [13:56] No, I'm against charging for stupid software. [13:57] agreed [13:57] ya'll ever heard of code for america? [13:57] "The non-profit, which was inspired by Teach For America, develops open-source software to help solve community problems -- like letting parents and students use GPS data to check school bus schedules. " [13:57] soudns cool [14:03] we have something called givecamp where devs code for local nonprofits [14:08] yes, I did one of those. [14:08] I'm not a fan. [14:09] in fact, i know the guys who run your givecamp ;) [14:12] most of them are .net, so i don't know them well [14:34] that is why I don't like the givecamps. [14:34] too .net centric and develop centric, instead of "best solution for teh charity" [14:37] my biggest problem is that you're dropping 2 days of coding at their feet, then going away [14:38] jrwren: yeah, I know a couple people who work for CfA right now, actually [14:40] oh awesome! [15:23] I always wanted to try to do a givecamp thing, but yea, it seems a bit strange [15:23] wonder if a mentor give camp would work better [15:23] bring your tech lackey in and let's teach/code something to help maybe [15:24] hah [15:24] Or something where you start the project, and then put it up on github and continue hacking on it [15:24] or somewhere public [15:30] supporting the charity is the issue [15:30] they have a problem at 10pm on a weekday, who do they call? [15:43] many people have done that. [15:43] i know a couple guys were hacking on it months after the give camp. [15:44] i read the FAQ for the upcoming ann Arbor give camp, and it really turned me off. [15:44] so I"m not going. [15:44] http://annarborgivecamp.org/Home/FAQs/Developers [15:44] i'd almost rather do it outside of the givecamp [15:44] "Can we form our own teams?" ..."each team must have at least 1 Developer, 1 DBA and 1 Designer" really! A DBA!!! [15:45] "The DBA will be responsible for the tables, stored procedures and the data access layer" [15:45] WTF?!?!? [15:45] Q: "What about Content Management?" [15:45] A: "We will be looking for sponsorship from CMS companies to provide us with licenses to their products" [15:45] yipee! [15:45] WTF?!?! its like they haven't heard of any of the most popular CMS in the world???? [15:46] and teh sad part is, the 1 givecamp that I did go to... MOST of the charities had nothing or static web adn would have benefited from just moving to drupal or joomla [15:46] wordpress [15:46] EXACTLY! [15:46] oh yeah... this is a gem. [15:46] Q: "What technologies can I use?" [15:46] A: "You can only use technology that has been released." [15:46] and dreamhost provides free hosting for charities [15:47] I don't even know waht that means in term of open source. [15:47] if a gem is on github, its "released" [15:47] unreleased technology? [15:47] *sigh* [15:50] yeah, i know one of gr organizers and i feel kind of bad for not signing up, but i'm not comfortable with a couple of apsects [15:52] ugh, that is a horrible FAQ [15:53] Sounds like someone putting their corporate culture on OSS development. [15:54] exactly [15:55] I read released to just me you can't build something on the dev version of rails [15:58] brousch: ditto me and Ann Arbor. [15:58] greg-g: snap-l: it IS MSFT putting their take on "give camp" [15:58] its an MSFT adgenda [16:01] Typical. ;) [16:05] it didn't start taht way. [16:05] but MSFT kind of got involved and took over. [16:06] what surprises me is that I know and like almost all of these people : http://annarborgivecamp.org/Home/About [16:07] I'm actually surprised that they wrote that crap [16:19] well, start up loco-camp :-) [16:23] I meaheh [16:23] oops, I mean heh [16:26] is it quitting time yet? [16:30] sadly, no [17:24] what are teh 3 fundamental function formats? map, reduce, ??? [17:25] reuse [17:25] repeat [17:25] rinse [17:25] simmer [17:26] maybe something .Where or .filter ? [17:26] the new morbid angel sounds more like pantera than morbid angel [17:27] filter! [17:27] ty! [17:27] filter, map reduce. DUH [17:28] i was just hoping it was one that I needed to solve this problem... it wasn't :( [17:28] hah [17:28] it was actually map, I just didn't see it at first :) [17:39] "[this] Monitor will facilitate your computer screen needs with its 16:9 aspect ratio, thus allowing you to surf the Web with ease" ... wtf? [17:39] since when is 16:9 aspect ratio helpful for browsing the web? [17:40] 9:16 would be better [17:40] I block all visitors to my websites that don't have a 16:9 ratio [17:40] on most sites [17:40] makes the fonts look funny, otherwise. [17:41] Blazeix: something is wrong with your fonts^h^h^h^h^h^h^h [17:42] well if they just used a modern, standards-compliant monitor, they wouldn't put me through this. [17:44] Wolfger: obviously they are targeting the ignorant hordes who ask things like "can i surf the web with this monitor?" [17:44] did you just refer to 16:9 as modern? Get with the times... your website needs to look good on people's phones. :-) [17:45] I'm not sure this whole mobile thing is going to take off. [17:46] but getting down to the question I ultimately had before market-speak made me all ranty... [17:46] this is an LED monitor. Anybody used one, and/or have opinions about LED vs LCD? [17:47] LED makes the web look crisper [17:47] more crisp? [17:48] <_stink_> more crisper [17:48] :-p [17:49] more crisper sounds like a vegan model refridgerator [17:50] lol [18:01] led is nice, lighter usually more even backlight [18:01] ips is what you want though. I'm done with non-ips panels [18:02] ips? [18:03] http://www.pchardwarehelp.com/guides/lcd-panel-types.php [18:04] rick_h_: Ah, yes. [18:05] http://www.amazon.com/gp/search/ref=sr_nr_i_0?rh=k%3Aips+monitor%2Ci%3Aelectronics&keywords=ips+monitor&ie=UTF8&qid=1312913122#/ref=sr_st?keywords=ips+monitor&qid=1312913130&rh=k%3Aips+monitor%2Cn%3A172282&sort=pmrank [18:05] is what you want to check [18:12] When I get some mad money again, I think I need to update this monitor. ;) [18:14] yea, I want to replace the two dells. I got the cheap ones so I could get a matched pair and not happy with them :( [18:15] you didn't do 40 hours of research and field tests? [18:15] I've realized I'm a bit out of the norm [18:15] a bit? [18:15] I work in so much text based with small fonts and such that I'm pickier than my windows/gui brethren [18:16] Well, you're also doing graphical design [18:16] heh :) [18:16] yea, when I get going layouts/etc I can get into light design stuff like that [18:16] norm rick_h_ [18:16] and having a monitor that changes color temperature based on whether you slouch or raise your head is not ideal [18:16] geez, that didn't work [18:16] but with the triple monitors I can't get them all that the perfect viewing angle so something with a wider viewing angle is needed [18:16] brousch: lol [18:17] yea, with the 22" I stick in portrait mode you can see it shift as you look up/down it [18:21] ok, in a webapp i need to do a bunch of stuff to an uploaded image. what's the easiest way to do that without making the webapp wait for the process to finish? [18:21] ajax upload with html5 file upload api [18:22] the upload isn't the problem, the processing is [18:22] oh, queue and process background [18:22] cron/queue watching workers, etc [18:22] * brousch faceplants cron, of course [18:22] easiest is to just stick the thing in the db and have cron come behind it and processes the work [18:23] yes, that would be easy [18:23] i already have the db set up to easily mark whether it's processed or not [18:23] and a 1 or 2 minute delay doesn't matter [18:24] i love it [18:24] * brousch grabs rick_h_'s big, bald head and kisses it [18:25] * rick_h_ runs [18:26] Could use rabbitMQ as well if it's a true queue [18:27] or Zero or whatever is the current hotness [18:28] yeah, that's overkill [18:28] i was looking for something simpler [18:29] i can just select from the db and then run the process on each image [18:30] or even select one and wait for the next cron run for the next one [18:32] brousch: I'd recommend a processing state [18:32] i have is_initialized=False when the record is created [18:32] that way if you decide to expand this out further (multiple workers), you'll at least know who is working on what. [18:32] then the process script can set it to True [18:33] hm, good idea [18:33] If you really want to get fancy, put the machine name / process ID in there [18:34] that way, if it craps out, you can at least re-process [18:34] if the process took over a minute it could run into trouble [18:34] have some form of clean-up script look for stragglers. [18:34] like if someone uploaded a gigabit image [18:34] or the power went out [18:35] the cloud never goes down! [18:35] hahhaaha didn't amazon have another problem yesterday [18:35] :-D [18:35] yeah, but it was europe, so it didn't count [18:36] thanks, snap-l [18:36] want me to kiss your head too? [18:36] Blazeix: heh, you mean US-EAST-1? [18:36] oh, that too? [18:37] yea [18:37] well, it's the east coast, so it doesn't count. [18:37] brousch: yea, snap-l is right. Start a status class now that processes from one state to the next [18:37] always end up adding new states to crap [18:38] i'll make it a string for now [18:38] sorry, yea I mean it's always a string in the db [18:38] I just do class stuff so I can say [18:38] if image.status == Status.NEW: ...work goes here [18:39] vs crapping string comapres that you can typo like: [18:39] if image.status == 'New', I mean 'new' I mean 'NEW' [18:39] crap, who put 'newe' in there! [18:40] hm [18:40] so status would be an enum or something? [18:41] yea, basically [18:41] or a table with a list of statuses ? [18:42] so that depends. I've done it both ways [18:43] which way works best with sqlalchemy? [18:43] the db way is a bit easier [18:43] to do it in code you have to do some metaclass stuff to get the code to work right [18:44] ug [18:44] http://techspot.zzzeek.org/2011/01/14/the-enum-recipe/ [18:44] mike did a great post on this though [18:45] oh, wow, that's pretty cool [18:45] I've always preferred the DB way, and that makes it really nice. [18:45] yea, I've not implemented that total method yet [18:46] but on my list at some point to try out. Seems like a good db-way recipe [18:49] Our DBAs also got grumpy when we proposed a character-based primary key. [18:49] Thank God we had one DBA on our team. ;) [18:49] I'm guilty of getting grumpy about that too. [18:50] sometimes it's necessary for performance, but in general I love my foreign keys [18:50] https://gist.github.com/1134869 [18:50] that's what I ended up doing to not have to store it in the db [18:50] made it easy to add new ones/etc without migrations [18:50] but more involved [18:50] turned more into "Dammit, I know I can get this to work!" [18:51] rick_h_: Yeah, I can see why you'd want to do that [18:52] still, I'm in the foreign key camp. Keeping as much info in the database as possible is A+ [18:52] (or am I misreading something) [18:53] started out with dictionary, then a namedtuple, then this [18:53] no, you're right, a seperate table and forign key is one way to go [18:55] All I know is there were some tables that I inherited at Chrysler that I wish had a foreign key constraint that if the data wasn't normalized, it would have shot 220V into their chair. [18:56] Y,N,.,.,.,Yes,No, but they should, , , [18:56] it was much worse than what I can remember [18:57] And of course, going back to the customer was futile. [18:57] "it's in the database". :-p [18:58] yeah, I had an internship at Rockwell Collins, and we had NULL, null, Null, 'N/A' and ''. [18:58] and a couple others. Imported from Excel, of course. [18:58] Blazeix: and in a Varchar field, no douby. [18:59] yup [18:59] Likely along with another varchar field containing money amounts. [18:59] guid primary keys in varchar fields too [19:00] $100.00, $100000.00, 1100.00, 1e+48 [19:00] Blazeix: Oh, that's awesome. [19:00] yeah, didn't return there after that internship... [19:01] "So, when you come back here to work on this system" (sickly look) [19:01] "Yeah, sure... I'll be back to work on this. Also, my family and I are moving. To Siberia. Outside of cell-phone range." [19:03] the company was actually pretty cool, you can move around internally and do a bunch of different things. [19:03] but there were just too many WTFs, like company wide IE6 mandates, etc [19:09] gotta love those [19:14] Oh, you must be talking about the auto industry [19:14] Where we wonder if cars really are built by magic. [19:47] ok, i ended up creating some constants for the statuses and then in my db creation script i import them and insert them into the table [19:50] i like it [19:52] cool [19:54] it feels pythonic because i have to scrape the models.py for the right constants [19:54] very meta [19:56] it's in the models.py right now, but i could move the constants to config [20:05] http://paste.mitechie.com/show/381/ [20:06] brousch: Not sure I'd agree with using 99 for bad [20:06] 69 for naughty? [20:07] it's int, so i guess -1 would make sense [20:07] -1, or something other than 99 [20:08] If you want to get IBM, declare ranges. ;) [20:08] that was damn easy to change [20:08] There's a bunny outside my window while I have Gustav Holst's MARS: THE BRINGER OF WAR playing. [20:09] he's looking quite content [20:29] look at those pretty declarative models [20:30] wait, String?! gah!!!!! [20:31] and pretty_dt? [20:31] isn't that template work? [20:31] i'd rather do it once and store it [20:32] boooooooooooooo :P [20:32] it doesn't change, so why redo it every time? [20:32] it's display logic [20:32] you've never had someone come and go "oh no, we want those dates displayed as YYYY/MM not mm/YYYY [20:33] well the format is defined in the config, so you can set it to whatever you want [20:33] right, but not after the fact [20:33] you'll get incompatible strings in there [20:33] it's a developer cardinal sin [20:34] heh [20:34] you can always go back and reset them based on the timestamp :P [20:34] tis, true, but then I can say you're storing extra data in the database you don't need [20:34] that's resource wastage :P [20:35] all cool, just an FYI [20:35] also would check out unicode columns vs string [20:35] helpful when you get to that stuff [20:36] <_stink_> misread that as 'unicorn'. [20:36] unicorn columns rock. They read the clients mind and translate unicode on the fly [20:36] Honestly, if you have a date type, just use that. :) [20:37] <_stink_> :) [20:37] And if you're using Sybase / MS SQL Server, and are storing dollar amounts, use the money type [20:37] can't stand it when people use float for money. [20:38] only because I have in the past, and now know better. ;) [20:40] db.Unicode instead of db.String ? [20:41] i made the change. nothing asploded [20:45] so you think i should have the template the timestamp and have it make the pretty datetime? [20:46] So, store just a date in the db and format it in the template? [20:46] date/time I mean [20:46] Makes sense [20:46] yes, just about always do formatting and stuff like that in the template [20:47] you can set a config setting or something that's global and use that to change/update [21:04] ok, that was pretty easy to fix [21:04] i think it reduced my loc by 1 [21:06] Man, there's not enough classical on Magnatune [21:06] thanks [22:40] rick_h_: mug.org/events/ has been updated, thanks [22:41] Thanks, Blazeix [22:41] picking up in #mug [22:41] #mugorg, rather [22:42] Blazeix: cool, just more hacking time for me :) [22:42] rick_h_: Sheesh [22:44] sheesh? [23:31] I'm going to toss that camera if it keeps making noises [23:31] crap people, turn your garbage off [23:31] heh [23:31] Yeah, no kidding [23:31] Or at least put it on vibrate [23:32] cameras, garbage, and vibrators? [23:32] what kind of movie are you guys making? [23:32] brousch: Just another evening in West MI, eh? [23:34] I'm kind of interested to see the results of tonights video [23:35] it will be like a roller coaster [23:35] you're just happily watching and then "whoa! camera falls of the table!" [23:35] I'm sure there are sex tapes with better cinematography. [23:40] with batteries that stay in the devices better? [23:40] so many wrong ways to go with that. ;) [23:41] ouch bright light [23:41] instant headache [23:41] Seriously? Seriously? [23:41] :-\ [23:46] greg-g: DIsk-Utility on Mac is very good at making Mac partitions [23:46] and not much else. [23:57] well, the camera has fallen over 4 times so far...