/srv/irclogs.ubuntu.com/2013/02/19/#ubuntu-us-mi.txt

snap-lEvening00:36
rick_h_evening01:34
Blazeixnice: http://arstechnica.com/gadgets/2013/02/dells-linux-ultrabook-gets-more-pixels-european-availability/01:58
rick_h_yea, definitely cool01:59
snap-lwait wait02:40
rick_h_huh?02:40
Blazeixthe suspense is killing me02:46
snap-lwaiting for JoDee to get out of class02:48
rick_h_oh that's less dramatic02:50
Blazeixyeah, it should have been read in a singsong voice, rather than an urgent tone.02:55
snap-lheh04:08
rick_h_http://r.bmark.us/u/a7d2eb71a36a9b ?!12:09
* rick_h_ gets wallet out12:09
snap-lIs it just me, or does anyone else have a hard time getting excited over a tablet?13:01
snap-lI mean, cool if you're into that sort of thing, but felt like some artificial buzz13:02
rick_h_I <3 my N713:04
snap-lYeah, don't get me wrong, I think the N7 is pretty cool13:04
snap-lJust the "Ubuntu Tablet, woo woo" is leaving me a little cold.13:06
snap-lI'll fully admit I'm probably not the target audience. ;)13:07
brouschIs it out?13:07
rick_h_announcement today13:08
rick_h_but it'll probably just be the software, hopefully runs on an N713:08
brouschprobably? hopefully? You're our inside man! Get the real scoop!13:09
rick_h_lol, but I don't know anything. I didn't know anything until the page went up on the site13:09
snap-lConsidering the "on penalty of death" threats I've heard some folks say... ;)13:09
rick_h_and $#@$# sirius for being a pita to deal with online13:09
brouschA little death never hurt anyone13:09
snap-lrick_h_: Use the SB13:09
snap-lthere's a client for it13:10
rick_h_snap-l: it's for the car stuff13:10
snap-lYou'll need the hardware radio, though. It doesn't support software clients.13:10
rick_h_it's got the traffic/etc and supposedly can get weather but maybe13:10
snap-lrick_h_: Yeah, but get the client13:10
rick_h_k13:10
snap-lWas the way I listened to marketplace t 6pm. ;)13:10
snap-lMay as well get the most out of your 3 months13:11
rick_h_yea, but looking into what it'll run after that. Like the traffic bits, not sure on the radio13:11
rick_h_I'll definitely use it down to Atl and back13:11
rick_h_trial it up ftw13:11
snap-lOh definitely13:11
snap-lThat's the only reason I like Sirius is for those long drives13:12
snap-lbut other than that, I have podcasts.13:12
rick_h_though I've got 3 audio books that I could put a dent into13:12
snap-land with bluetooth support in the car, I have one less thing to fiddle with13:12
rick_h_and can do pandora over BT from the phone as well13:12
snap-lrick_h_: You're indirectly paying for Sirius. ;)13:13
snap-lMight as well use it.13:13
rick_h_yea13:13
snap-lI let ours expire.13:13
snap-land now I'm getting the "6 months free with purchase of a year sub"13:13
rick_h_lol13:13
brouschIs the Taureg AWD?13:14
rick_h_brousch: yea13:14
brouschI could've used it today13:14
rick_h_brousch: pretty good offroad/etc based on reviews and the like13:14
rick_h_but honestly I had that with the subaru pretty well so just hoping it keeps up13:15
rick_h_I'm already nervous because it's more a 90% front / 10% rear by default for road driving13:15
rick_h_vs subaru 50/50 all the time13:15
brouschSubaru's annoys me sometimes13:16
brouschTakes too long to transfer power to different wheels13:16
brouschI think a manual subaru would be better13:17
rick_h_meh, never gave me grief. <313:17
brouschI didn't notice it as much with the 2000 Forester, but our 2009 Forester is laggy13:18
rick_h_well forester is the poor mans subie imo. Outback or bust13:19
rick_h_when I got my last outback I drove a forester around and it did not feel nearly as well put together as the outback13:19
rick_h_road noise, ergo, everything seemed not up to snuff13:20
brouschI agree, but it's the wife's car13:20
rick_h_gotcha13:20
snap-lls13:29
snap-lbah13:29
brouschIRCINYCL13:30
snap-lOAYFM13:34
snap-lOnce Again You Fail Me13:34
rick_h_win7 doesn't have telnet? w.t.f.13:35
snap-lrick_h_: Why would it?13:35
rick_h_because it has before through time from the cli13:36
snap-lI'm surprised it doesn't ship with PuTTY13:36
snap-lOther than PuTTY is a miserable interface to a mediocre SSH client13:36
brouschPuTTY is my savior13:36
snap-lIt's a heaping dose of adequate13:37
brouschWell-put13:37
rick_h_and $@#$@# IE10 and it's developer tools of suck13:44
snap-lHeh13:45
brouschOMG you have to use IE?13:45
rick_h_have to have our thing work in IE1013:45
brouschThat's one thing I love about my big internal project. I can give the finger to IE13:48
brouschI've trained everyone to use Chrome and FF, and only use IE when a site doesn't work on the good browsers13:49
brouschThis is awesome http://www.engadget.com/2013/02/19/3doodler/14:10
jrwrenrick_h_: seeking critisism: https://github.com/jrwren/aggregate14:25
rick_h_jrwren: about to jump on a call but will look in a few14:25
brouschjrwren: Looks interesting14:26
jrwrenbrousch: not pointless?14:26
brouschDepends on the data you're dealing with14:27
jrwrenright.14:27
snap-ljrwren: What are you looking to do? Keep a running average on a list or dict of data?14:27
jrwrenthe goal is to aggregate an long stream. e.g. I'll be running it on a generator which generates 4+GB of data14:28
snap-lwith min and max?14:28
jrwrensnap-l: the running aggregates part isn't done yet, but that is the next step.14:28
snap-lI could see this being useful14:28
jrwrensnap-l: ultimately, "maybe"  but the goal is simply to be able to aggregate a large set.14:28
snap-lYeah, at the very least the min / max stuff would be nice.14:29
jrwrene.g. I'm reading binary data from a custom database on disk, turning the records into dict and yielding each one in a generator - so only 1 record is ever in memory at a time, but I can aggregate nicely.14:29
snap-lrunning average would be tricky14:29
jrwrenhrm. I should document what i just said.14:29
snap-ljrwren: Bingo. ;)14:29
jrwrenrunning average is easy. I have running sum and running count :)14:29
snap-lAh, right14:29
snap-lderp14:29
brouschjrwren: Make sure this doesn't suit you http://matplotlib.org/api/mlab_api.html#matplotlib.mlab.rec_groupby14:32
jrwreni'd have to use numpy14:32
jrwrenwhich means loading everything into a numpy array.14:32
jrwreni'm actually dealing with datasets which cannot fit into memory on the machine on which I'll be running them.14:33
brouschAlso maybe http://pandas.pydata.org/pandas-docs/stable/groupby.html14:33
brouschheh14:33
brouschBig Data!14:33
jrwrenits not really.14:33
jrwrenits more like small machine :)14:33
brouschConfucius say, "Big Data in Small Machine make for painful pleasure"14:35
_stink_hahaha14:35
_stink_stolen14:36
snap-ljrwren: Just use RLE. ;)14:43
snap-lI'll show myself the door now.14:43
jrwrensnap-l: RLE?14:51
rick_h_jrwren: my first reaction, with the knowledge that you're talking stream 4GB/etc is that databases already do this and a tmp table would do it in a hurry and you can then do cooler work like multi process loading of data or the like if that's io bound.14:51
snap-lRun Length Encoding. ;)14:51
rick_h_don't have 4gb of memory? ouch14:52
jrwrensnap-l: oh, not on this dataset.14:52
jrwrenits running on a 32bit machine.14:52
snap-ljrwren: I'm kidding.14:52
jrwrenso 2GB process limit :)14:52
rick_h_meh, cut --help :P14:52
jrwrenrick_h_: you might be right.14:53
jrwrenI did do exactly what you just said before doing this - pulled it into postgresql got the numbers I needed.14:53
snap-ljrwren: TOo bad you're not in a physics lab. I'm pretty sure RLE would work there. (All the data is a series of ones or zeroes)14:53
jrwrensnap-l: rofl.14:54
rick_h_jrwren: so I mean this is cool and solves your problem or what not, but just not how I'd think to go about it myself.14:54
jrwrenrick_h_: not loading things into postgresql was an assumed constraint.14:54
jrwrenpurhaps it was a false assumption on my part.14:54
snap-lBeware false assumptions.14:54
rick_h_jrwren: even something like a NOSQL db could work as you could create a view that does the agg and start loading and it'll update per insert14:55
snap-lFirst commandment: Thou shalt have no other assumptions besides me14:55
jrwrenperhaps automating postgresql import is the right way14:55
rick_h_jrwren: if you're sure this is all you need then cool go for it. I just find that these types of things end up getting new twisted requirements over time and the solution doesn't scale up/out like a real db14:55
jrwrenrick_h_: which NOSQL db?  mongo sucks to go to disk. redis is KV. what do you recommend?14:55
rick_h_jrwren: honestly, I was thinking about couch and how you create a view it auto updates the view on insert14:56
jrwreni'll explore that next. thanks.14:56
rick_h_so load time takes the hit but reading is instant since it's pre-calculated14:56
jrwrenright.14:56
rick_h_not sure if you've got a need for multiple reads/etc14:56
snap-lAlso PostgreSQL can emulate KV and store JSON14:56
rick_h_heh, pgsql hstore on group_by value = sum :P14:57
jrwrensnap-l: exactly, which is why I never bother with mongo or redis :)14:57
rick_h_but that will probably be slower because you will run out of ram and the table will hit disk, but it's a TON more flexible.14:57
rick_h_so depends on your goals.14:57
snap-lrick_h_: views. ;)14:57
rick_h_snap-l: not following14:58
snap-luse a view to get the average14:58
snap-lThough you take the compute hit every time you want it. ;)14:58
jrwreni've already done exactly all of this with postgresql.14:58
rick_h_right, view only helps if it's a materialized and such but yea. That's what I mean though. It's a solved problem there14:59
jrwrenuse the exact same py generator reader to create a COPY FROM import, then index on 1 column, then do my aggregation.14:59
jrwrenit works well.14:59
rick_h_this agg module can help a specific use case, but then it seems like there'd be numpy/etc stuff that does this as well.14:59
rick_h_but I've not used it enough to speak about it intelligently14:59
jrwrenthe issue is the requirement is run on ec2 w/out ebs. so I'd have to recreate the postgresql on demand.14:59
snap-lYeah, and I'm not sure how efficient it is either.15:00
jrwrenafaik numpy/etc all needs to fit into ram.15:00
rick_h_jrwren: copy/load from s315:00
jrwrenrick_h_: its in s3 now, as raw data.15:00
rick_h_ah gotcha15:00
snap-lWhat's to stop you from keeping the database files on S3?15:01
snap-l(seriously doesn't understand S3)15:01
jrwrens3 is slow.15:01
rick_h_because pgsql splits things into a ton of diff files based on the block size and it'd be a mess in s315:01
snap-lkk15:02
rick_h_and yea, compared to local it's very slow, but pretty fast as far as internet goes especially on ec2 inside the network15:02
rick_h_heck of a lot faster than uploading from your machine to the instance15:02
rick_h_unless you're in KC I guess :P15:02
jrwrenlol.15:02
jrwrengiven its a TB of data...15:02
rick_h_oooh, thought it was 4GB?15:03
jrwrenlol, no.15:03
jrwrenthe whole point is that i never load more than 1 record into ram at once.15:03
jrwreni just assume a 2GB limit since I'm on a 32bit instance.15:03
jrwren"it doesn't fit into ram" is the #1 requirement.15:04
rick_h_well hell, for TB of data we're talking hadoop/reduce functions15:04
jrwrennope, will not JVM.15:04
jrwrenno hadoop allowed :)15:04
jrwrenunless of course, we rewrite hadoop.15:04
jrwrenpydoop.15:04
jrwrenthankfully my coworkers and mgmt have the same aversion to jvm that I do.15:05
rick_h_https://github.com/michaelfairley/mincemeatpy or http://mikecvet.wordpress.com/2010/07/02/parallel-mapreduce-in-python/ for some fun weekend tinkering :)15:06
rick_h_http://engineeringblog.yelp.com/2010/10/mrjob-distributed-computing-for-everybody.html is cool but uses hadoop under the hood15:07
jrwrenthanks.15:07
rick_h_but yea, TB of data like that is a straight up map/reduce problem and there's stuff to do that.15:08
rick_h_and one of the things couch did kind of cool15:08
jrwrenexcept I can do it in a timely manner using exactly what i jsut wrote.15:08
jrwrenMR is overkill.15:08
rick_h_yea, so what are you doing then? Splitting one s3 file into a dozen, firing up 12 micro workers, and running your script?15:09
jrwreni mean, its only 1TB of data. I can read that off disk in a reasonably short period of time. IO is vastly slower than proc, so some math on whawt I just read is near zero overhead.15:09
jrwrenthousands of s3 files, single small instance, for i in files; do keepsum $i ; done15:10
jrwrensomething like that :)15:10
rick_h_gotcha15:10
rick_h_you're doing MR, just your micro framework for it committed to a specific function run :P15:10
jrwreni will probably never process teh whole TB at once.15:10
jrwrenof course.15:10
jrwrenEVERYTHING is map and reduce.15:10
rick_h_lol15:11
jrwrenno no - its true.15:11
jrwrenits a fundamentalism of functional programming.15:11
jrwrenand map is just a special case of reduce.15:11
jrwrenor is that the other way around, I forget.15:11
jrwreni really appreciate the dialog. I'll try some other things too.15:12
jrwrenTY15:12
brouschhttp://www.omgubuntu.co.uk/2013/02/ubuntu-for-tablet-unveiled-by-canonical-nexus-7-download-coming-thursday16:12
brouschI almost bought a Nexus 1016:12
rick_h_yea, I'm on the edge of doing that right now16:13
rick_h_love the N7 and curious if a 10 would be any good. This way I could test out the ubuntu on it and keep my N7 for the handy stuff I love on it16:13
jcastrowhat sucks about the 7 and 1016:13
jcastrois they're totally different hardware16:13
rick_h_yea :/16:13
rick_h_two diff companies16:13
jcastroat first I was like "oh cool, same hardware, different form factor."16:13
jcastroof course, that would be too easy16:13
rick_h_lol16:13
jrwrenits only 200G of ram :)16:21
rick_h_oooh, snow...go go go. I want to go play16:51
rick_h_Blazeix: have you used google maps api some?16:53
rick_h_...going...to...have...meltdown...17:22
snap-lWhat happened?17:22
rick_h_this stupid project is setup in the most stupid way and I'm getting tired of working around it to submit a stupid 2line patch...17:23
rick_h_every time I fix one thing another is broken...dammit these aren't stupid devs. Why are they trying to make me want to press the nukes button?17:23
snap-lThey don't know any better?17:24
snap-lOr better left the station a while ago, and now we're stuck with a culture of meh?17:25
rick_h_http://www.ubuntu.com/devices/tablet does look kind of cool (the video)18:17
brouschWho dressed Shuttleworth for that video?18:51
brouschHe looks like a homeless guy18:51
brouschCome on. You're a billionaire playboy cosmonaut pimping the future of technology. Trim the chesthair!18:55
_stink_depends on what he's trying to attract18:58
brouschwerewolves?18:59
_stink_mmm19:01
brouschOr are you saying you want to dig your hands deep into his chestfur and give it a playful tug?19:02
_stink_suddenly i see your point19:03
snap-l_stink_: I think you mean you can't unsee his point.19:10
brouschWhy are you guys looking at my point? Don't make me put pants on.19:12
_stink_good thing years of scientific training has ruined my imagination.19:21
rick_h_snow squals wooo20:08
jrwrenhe doea not look homeless.20:57
jcastron0p: hey20:58
jrwren"gracefully on different screen sizes and resolutions"  HOW did THey DO THAT?!?!20:58
snap-ljrwren: The desktop is a responsive web page. ;)20:59
jrwrenoh.20:59
snap-lActually, I'm not sure how they did that, but I have a feeling that might not be that far off21:00
snap-lSVG all the things21:00
jrwreni look forward to hearing about an official dev kit :)21:00
snap-lI'm surprised more devices don't do SVG natively21:00
snap-lthat and how Apple does their graphcis (PDF / Postscript) seem like the best way to tackle different resolutions.21:01
jrwrenits not how apple does different resolutions though.21:02
snap-lRight21:02
snap-lI know that's how they scale their icons, though21:03
snap-lWonder how much work it would be to apply a SVG-like canvas to mobile devices21:05
snap-lso instead of saying "plot this bitmap at 40x50", you could say "object blah blah is this size relative to the canvas, and is relatively in this position"21:05
snap-lmaybe my request answers my question of how much work it would be. ;)21:06
brouschYou can make a GUI using percentages and relative sizes with Kivy21:08
jrwrensnap-l: no, you are wrong.21:08
jrwrenthat is now how apple scales their icons.21:08
jrwrenat least not on iOS.21:08
jrwrenapple does not scale their icons.21:08
jrwrenyou ship every needed icon resolution with your appl.21:08
snap-ljrwren: On OSX I believe that's how it works21:08
jrwrenwith your app.21:08
snap-lYeah, and I think that's dumb. :)21:08
jrwrenyeah, on OSX, it must.21:08
jrwreni mean zooming the dock is the example, right?21:08
snap-lright21:08
snap-lI know that's how it's done on Android, because when I dumped JoDee's SD card for images there were a ton of differnet sized icons21:09
brouschhttp://developer.android.com/guide/practices/ui_guidelines/icon_design.html21:15
brouschYou need like half a dozen different icons, and then you need to make them for multiple different densities21:16
snap-lyeah, that's dumb21:16
snap-lSVG all the things. ;)21:17
brouschThey suggest you use a vector image so that making all the static images will be easier21:18
snap-lI know this is probably to help make slower devices not have to work so hard, but I'd prefer it to render that stuff on the fly21:22
brouscha real developer would create one SVG and automate making the little ones from it21:22
brouschActually a real developer would write a program to generate the SVG and the little ones21:23
snap-lA better way would be to have the environment handle this stuff so the developer didn't have to work so hard. :)21:23
snap-lAnd the resolution problem would disappear overnight21:24
brouschWell really it's the designer working hard, so who cares?21:24
snap-lJust seems like we make things hard on purpose.21:24
jrwrenanyone deal with ubuntu preseed or kickstart and have any recommendations for me?21:28
jrwrengah, wtf, this can't 404, not allowed!  http://people.canonical.com/~kirkland/21:30
snap-lHe's no longer with Canonical, afaik22:19
* greg-g has a new email22:20
greg-ggreg@wikimedia.org ;)22:21
jrwrencongrats greg-g22:29
jrwrenwhen are you moving to AA? ;]22:30
greg-ggive me a little time.... ;)22:35
snap-lIs that a promise? :)22:40
greg-gwell, not totally, only a "not-SF" promise, destination may be non-A2 in the end22:47

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!