/srv/irclogs.ubuntu.com/2012/06/20/#ubuntu-us-mi.txt

jrwrenderekv: what exactly is the java software? from where did it come?00:29
derekvok well since my employer has a working relationship with this company probably been a little unprofessional complaining that way00:54
rick_h_ooh, https://twitter.com/#!/pyohio01:40
rick_h_added a 4th track and still had to turn away talks. 2yrs ago they only turned down one talk01:40
rick_h_<3 growing communities01:40
n0psnap-l: greg-g: rick_h_: thanks for the words of encouragement wrt the half marathon, was an awesome feeling to complete it02:15
rick_h_n0p: dude! awesome stuff02:21
jrwrenwhen did you start running?02:52
jrwrenand congrats. it is a great achievement02:52
snap-lhttps://github.com/ofmlabs/flac.js03:09
snap-lGod, Cracked.com videos and Chrome induce seizures03:30
snap-lStupid video wanted to resize the window, but Chrome resized it right back03:30
snap-land the video resized, and Chrome resized03:30
rick_h_http://abstrusegoose.com/strips/sometimes_im_just_curious_what_its_like_on_the_other_side.png11:01
rick_h_I think my wife is hiding her laptop from me, last time I got ahold of it she got 12.04 and unity11:27
brouschrick_h_: Hey Mr. Tea Man, do you have any experieence with Teavana? http://www.mlive.com/business/west-michigan/index.ssf/2012/06/teavana_will_open_second_store.html11:37
rick_h_brousch: no, I've been happy with adagio teas and haven't bought anything from them yet11:37
rick_h_but heard some ok things from people that have bought there11:38
brouschI might wander over there at lunch11:38
rick_h_cool11:38
brouschI just started drinking fancy teas when the coffee shop I was getting them at went out of business11:38
rick_h_doh11:40
snap-lJoDee and I have been to Teavana11:45
snap-lnice thing is they have lots of samples11:45
snap-lbad thing is most of them aren't really teas11:45
snap-ljust a bunch of flowers and other shit getting steeped. :)11:45
snap-lGo with a skeptical mind11:46
brouschI don't have a strict defnition of tea11:46
brouschAny sort of plant steeped in water11:46
snap-lneither do they11:46
brouschSo we may get along well11:46
rick_h_hah11:48
brouschHm, I didn't hear from PyOhio. Maybe I got rejected12:03
rick_h_so I didn't hear either, but when I logged in it said accepted12:03
brouschAh, so maybe the automated announcements broke12:03
brouschYou cannot get rejected. You gave the best talk last year12:04
rick_h_well, they say they've got a thing for doing new speaker/etc12:04
rick_h_so I've talked a few years in a row12:04
rick_h_plus you guys are biased and trying to give me a big head :P12:04
rick_h_ok, so I just accidentally did a dd if= of=/dev/sdb where sdb is my second hard drive I'm not used to having12:05
* rick_h_ hopes I didn't just lose all my data12:05
snap-lrick_h_: ruh roh12:05
rick_h_so far so good...I think i killed it while it was reading up the .iso maybe12:06
brouschyikes!12:06
brouschrick_h_: Are you looking at http://pyohio.org/speaker/ while logged in?12:06
brouschMine says "submitted"12:07
rick_h_yea, my status says Accepted12:07
rick_h_yours is at submitted?12:07
brouschright12:07
rick_h_which talk did you end up submitting?12:07
brouschPython on Android12:07
rick_h_well, like I said no email. Maybe they didn't finish last night12:08
rick_h_and only got some out/etc12:08
rick_h_nullspace: hey, you hitting up CHC tonight?12:08
nullspaceyep12:08
brouschYeah, I wouldn't be crushed if I was rejected. Makes for a lot less pressure at the conference12:08
rick_h_nullspace: ok, awesome. I'll be a little late (dinner with inlaws) but will be there12:08
rick_h_so packing up the gear12:09
nullspacecool12:15
rick_h_die IE die...12:56
brouschI find it amusing that even though you work for a Linux vendor, you still have to deal with IE12:57
brouschIt's like there's no escape, no matter how far away from Windows you go12:57
rick_h_hah, well ideally these windows users come over right? :)12:58
brouschAny windows user savvy enough to look at Linux will alreayd be using Chrome or FF12:59
jrwrenteavana is stupid mall store crap.13:21
jrwrenIMO :)13:21
rick_h_solves that13:22
brousch:P13:26
nullspacejrwren: their teas are good but very expensive13:44
nullspacerick_h_: they recently sent out a secrity patch for IE613:47
nullspacemixed messages, I thought that it was no longer supported ...13:48
rick_h_nullspace: heh, thankfully we've put that behind us now. Using IE9 and switching modes to IE8/IE7 in there.13:53
rick_h_still sucks, dev tools still suck, but better than IE6 thank goodness13:53
rick_h_lol, hard drive wipe, 5 passes "ETA 1h 1h"13:57
rick_h_oh...13:57
nullspaceI thought 1 pass was considered enough14:23
brouschDisassemble, keep magnets, beat up platters with sledge hammer14:24
nullspaceI suspect he is talking about his SSD drive14:24
jrwrenafter the passses, becuase NSA could bend them back and get data off14:24
rick_h_meh, it gave me the option of 1-9 passes, so I hit up 5 as a reasonable middle ground14:24
jrwrenand my pictures of my kids are MINE!14:24
rick_h_saved me from needing to google the issue :P14:25
brouschKILL IT WITH FIRE14:25
nullspacejrwren: I thought they disproved the theroy that with an electron microscope you could pull data off14:29
jrwrenwho is "they"14:30
brouschIf you have to ask, I'm not going to tell you14:31
rick_h_<3 vim history articles: http://goo.gl/aaI8w14:53
snap-lrick_h_: Ah, so in order to get you to use VIM effectively, I need to get you an ADM3A terminal. Got it.14:55
* snap-l has an ADM terminal in the basement14:56
rick_h_lol, but of course you do :)14:57
snap-lSadly it's not the ADM3A14:59
rick_h_oh wtf...disk check in my windows VM one day in15:00
brouschDid you shut it down improperly?15:01
rick_h_I hit start->shut down15:02
MaskedDriverthat's not how you shut down windows! ;)15:02
jrwrenrick_h_: awesome link15:02
rick_h_jrwren: love stuff like that, show just how much stuff has changed over the years you don't even think about15:03
jrwrenyup15:03
rick_h_hmmm, "deleting orphan file record segment XXXXX" at a rate of about 10/s15:04
* rick_h_ wonders if I'll be reinstalling my vm shortly15:04
brouschut oh15:04
rick_h_oh, you know what...I bet I found out what my bad dd this morning did to me15:05
brouschheh, there ya go15:05
snap-lOh lovely15:06
rick_h_ok, so going to just give up and reinstall15:07
jrwrenoops.15:08
jrwrenrestore from backup?15:08
rick_h_naw, it's just a VM and only set it up yesterday15:08
rick_h_and I'm not backing up that drive15:08
rick_h_it consists of my Downloads folder, pypi mirror, and local copy of backups I ahve on the backup server, but local in case I need something while away15:09
greg-gg'morning15:17
greg-gmy mouse is acting weird. I plug it in, it works for a while, until I stop moving it, then the red lazer goes out and it won't come back alive until I replug it back in15:17
MaskedDrivergreg-g: what kind of mouse?15:18
greg-gusb, optical, Kensington15:18
brouschtry a different usb port15:19
greg-gdone that15:19
MaskedDrivergreg-g: get a new mouse15:20
greg-gwell, sure, if I had one15:22
MaskedDriveryou don't have 40 mice lying around? for shame :(15:22
greg-gI have a couple laptops and keyboards, but not multiple mice :/15:22
brouschMice are deprecated. Use a nipple or touchpad15:23
MaskedDriverI have more mice than keyboards15:23
MaskedDriverlol... yeah, I think you'll find millions who disagree with you on that brousch. I'd rather get stabbed than use a nipple or touchpad15:23
brouschThey are all old people who will retire soon15:25
MaskedDriverI'm 2615:26
MaskedDriver...15:26
MaskedDriverif that were the case, Razer wouldn't keep making a new Naga every year15:26
brouschApple says touch is the future. Jobs has spoken.15:28
MaskedDriverJobs died. That proves that he is neither omnipotent nor immortal. There is fallacy in everything he prophesied.15:30
MaskedDriverhe was meerly man who claimed that Android wouldn't hurt Apple in any way15:31
MaskedDrivermerely*15:31
MaskedDriverwb snap-l15:32
snap-lthanks.15:33
rick_h_heh, more keyboards than mice here for the record15:33
greg-grick_h_: yeah, I mean, really, I can get by without the use of a mouse for mosto f my work :)15:33
MaskedDriverI upgrade my mice like a stupid person cause I can never find one I love, so I have a bunch of oldies lying around. My keyboards usually last me 4-5 years and by the time I'm done with them and upgrade, they're completely broken15:34
MaskedDriverI'm using my DasKeyboard until the end of time, I think. I'm in love with that thing in an unnatural way15:35
jrwrenyet apple sells magic mouse.15:35
jrwrenmouse is nice15:35
MaskedDriverjrwren: I used one of those at my old job. It was pretty slick15:36
snap-lI don't like the magic mouse.15:36
MaskedDriverI bought an app that improved it's multi-touch functionality15:36
jrwreni didn't think i would like the magic mouse. i thought it would hate it... turns out I love it.15:36
jrwreni just use magicprefs, its free.15:36
MaskedDriveryeah, that wasn't available when I got mine15:37
snap-ljrwren: Have you tried it on a Linux machine? :)15:37
MaskedDriverI got mine within the first week of it launching15:37
rick_h_greg-g: yea, sorry man. Sounds like someone is dropping power, either the mouse or the usb port15:37
MaskedDriversnap-l: or windows for that matter ;)15:37
rick_h_greg-g: new mouse == answer. I tend to keep a travel mouse around as a spare thing to hop around machines for these days15:37
snap-li use and love the logitech mice.15:37
snap-lThey do the trick, and get out of my way15:38
rick_h_trackball!15:38
snap-lrick_h_: freak15:38
rick_h_http://www.logitech.com/en-us/mice-pointers/trackballs/wireless-trackball-m570 ftw15:38
MaskedDriversnap-l: I used logitech for a long time, then I switched to the Cyborg RAT7 and it ended up doing what greg-g's is (which is why I asked what kind it is), and now I'm using a Razer Naga15:38
brouschI want a USB nipple15:38
MaskedDriverbrousch: I think adam and eve have something like that ;)15:39
snap-lRazer is fine if you like cords15:39
MaskedDriversnap-l: I'm a gamer, using wireless technology is bad news bears15:39
MaskedDriverthese "wireless gaming mice" make me chuckle15:40
snap-lI want my mouse to be wireless at least.15:40
jrwrenwhy would i use a mouse on a linux machine?15:40
brouschMaskedDriver: " Adam & Eve Home Text Search: usb nipple (0 Items)15:40
brouschWe're sorry. The term "usb nipple" has returned 0 results."15:40
jrwrenlinux machines don't have a gui, unless it is android or chromeos :)15:40
snap-lI'll settle. I've nver been terribly good at fragging people online anyway.15:40
rick_h_jrwren: because you can't highlight and copy text in all apps?15:40
MaskedDriverhttp://www.logitech.com/en-us/gaming/mice-keyboard-combos/g13-advanced-gameboard15:40
snap-ljrwren: NIce troll15:40
MaskedDriverthis is better than a mouse and keyboard15:41
MaskedDriverI use that and a DasKeyboard and a Naga15:41
rick_h_you're kidding me...15:41
MaskedDriverkeyboard is just for typing in chat, the naga and G13 take care of everything else15:41
jrwrengamers!15:41
rick_h_I thought they all died off, still around?15:42
snap-lMaskedDriver: And you have hit a limit I will never achieve with gaming peripherals for the PC15:42
MaskedDriversnap-l: :) I'll take that as a compliment15:42
snap-lTake it for what it is. ;)15:42
MaskedDriverlol15:43
MaskedDriverrick_h_: until MMOs die off completely, there will always be millions of PC gamers around15:43
MaskedDriverand playing a FPS on a console is a joke15:43
snap-lMaskedDriver: Depends on the FPS, but I agree for the most part15:44
rick_h_I thought all the gamers grew up and the new kids only play games on their iphones :P15:44
MaskedDriversnap-l: only reason I got that is because my hands are tiny and I have a hard time reaching all of the numbers, so I ended up with the bad habit of clicking on skills15:44
snap-lAlthough they have keyboards for consoles.15:44
MaskedDriverthis broke me of that habit and I'm far more efficient15:44
snap-lThe only thing the consoles don't let you do is cheat like a mofo.15:45
snap-l;)15:45
MaskedDriverlol15:45
snap-land make 15 key macros15:45
MaskedDriveryeah, bots ruin games pretty quickly15:45
MaskedDrivermacros are not cheating15:45
snap-lyes they are15:45
MaskedDrivermacros are smart gaming15:45
snap-lNot in a FPS15:45
MaskedDrivereh yeah15:45
* MaskedDriver is an MMO guy, mostly15:46
snap-lif you're dancing around me like you don't have gravity, you're cheating15:46
rick_h_this is the guy with the giant arm stabalizer saying "it's smart bowling" :P15:46
snap-lI haven't played a MMO for more than a day.15:46
MaskedDrivera day, eh?15:46
MaskedDriverI've played an MMO 2 days straight before15:46
snap-lMaskedDriver: Yeah, I'm not into Warcraft15:46
MaskedDriverme neither15:46
MaskedDrivernever played it15:46
snap-lI have better things to do with my time than kill bunnies for XP15:47
greg-gMaskedDriver: rick_h_ etc, yeah, I think I'm going to order another full sized mouse and a travel one15:47
MaskedDrivergreg-g: might I suggest the Razer Naga? ;)15:47
rick_h_greg-g: for what it's work, I picked up on eof those MS arc mice and actually don't mind it15:47
rick_h_folds up small enough to be travel, but folds out big eoungh to not feel like you're mousing with a marshmallow15:47
greg-gcool, thanks for the tips15:48
* greg-g goes to amazon in a second15:48
greg-gdangit, amazon is definitely a site that requires a mouse to use!15:49
rick_h_lol, very true!15:49
MaskedDriverI'm a NewEgg guy15:49
rick_h_undock the laptop man, use the point!15:49
greg-gbut but but, my kinesis!15:49
rick_h_I know...I know...but if it's blocking amazon ordering you must do whatever it takes!15:50
snap-lgreg-g: fwiw, the smaller logitech mice work15:50
MaskedDriverok, time for lunch15:50
snap-lI have big hands, but they work OK for me15:50
MaskedDriversnap-l: +1 I have a few of those as well, they get the job done and are easy to transport15:50
rick_h_my boy is learning, yesterday the UPS guy showed up and the boy goes "It's the ohps man! He's got a big truck! Did yuo get a new lawn mower daddy?"15:51
rick_h_I'm going to be in trouble soon as he gets to the point of ratting me out15:51
snap-lgreg-g: http://ur1.ca/9jcg215:51
brouschrick_h_: Hah, good luck with that15:51
rick_h_see marshmallow comment ^ snap-l15:52
snap-lrick_h_: It's only a question of when ;)15:52
rick_h_gave that one to the wife, she love it though15:52
rick_h_snap-l brousch yea, damn kids make you change your life around in more ways than expected15:52
snap-lrick_h_: The M305 isn't a marshmallow. :)15:53
snap-lBut I do like the larger mice.15:53
rick_h_http://goo.gl/Ij0hG15:53
rick_h_crap, it doesn't come in blue swirl!15:54
jrwrenRTS is same... PC is the best RTS platform.15:54
jrwreni made fun of gamers, but I love me some Starcraft215:54
rick_h_or 'pink balance'15:54
snap-ljrwren: Depends on the RTS, but there's definitely more breadth on the PC15:54
jrwrenthere is non PC rts?15:54
snap-lCiv on the Nintendo DS is more of a toy than on the PC15:54
rick_h_ok, is it just me or is the pinboard guy starting to sound snooty/snotty on twitter?15:55
snap-ljrwren: Usually more turn-based. Can't think of anything offhand.15:55
snap-lrick_h_: Yeah, he's a bit of a prick on twitter.15:56
rick_h_yea, kind of going from a little bit of a personal hero to the trash dump15:57
snap-lunsubbed15:58
jrwrenwho this?15:59
rick_h_the pinboard guy15:59
rick_h_https://twitter.com/#!/Pinboard16:00
widoxhm, there must be a new version of that arc mouse, rick_h_, greg-g http://is.gd/FMPCCN16:00
snap-lJust sent him a "please close my account" note16:00
rick_h_widox: yea, but it's all touchy feely, I've not tried it...but not sure I want to16:00
brouschI don't see the prickishness16:01
snap-lkeep reading16:04
brouschi'm tired of reading. i went like 20h16:05
rick_h_widox: ok, watched the video and now I'm curious. It does a haptic feedback on the scrolling, so maybe it would be intersting to try16:05
snap-lon the plus side, the account closing was pleasent enough16:06
widoxrick_h_: I'd try it out16:06
rick_h_widox: yea, just ordered16:07
rick_h_curse you widox !!! :P16:07
widoxrick_h_: hahaha16:08
widoxI'll be looking forward to CHC next week then :D16:08
jrwrenyou got a touchmouse?16:10
rick_h_that arch touch16:11
rick_h_arc that is16:11
jrwreni'm surprised you didn't go "pro"16:12
jrwrenhttp://www.amazon.com/dp/dp/B004HYGU1816:12
jrwrenyou like that one because it goes flat?16:12
rick_h_yea, it's nice/portable/space effecient16:12
rick_h_ouch, 3 stars16:12
rick_h_not a bit hit there16:12
greg-gok, the mouse I stole from a roommate is having the same issue16:13
greg-g:/16:13
rick_h_ruh roh...16:13
greg-gtime for a windows fix it attempt?16:13
rick_h_so the laser goes out?16:13
greg-gyeah16:13
rick_h_I mean, that's power and pure hardware I'd think16:13
rick_h_on any usb port?16:13
rick_h_have another usb device to try? camera, etc?16:14
greg-gon port 1 (via a 4 port hub) on port 2, now trying port 316:14
rick_h_oh, skip the hub and see16:14
greg-gyep16:14
greg-gyeah, port 2 and 3 were direct to laptop tries16:14
rick_h_ok, was thinking the laptop was going bad, a hub is whatever16:14
greg-gbut, my keyboard is working fine via that hub16:15
rick_h_on that same port the keyboard is using?16:15
* greg-g is confused16:15
rick_h_swap keyboard/mouse and see which fails16:15
* greg-g is typuing typing typing16:16
greg-gand no mouse16:16
rick_h_oh, and happens with two diff mice?16:16
rick_h_that's a wtf16:16
greg-gI might have to do a windows tech support attempt16:16
greg-gyep, two diff mice16:16
rick_h_ok, I'm confused...carry on16:16
greg-g:)16:16
jrwrenpower draw?16:19
jrwrenhard to believe the mouse would draw too much for a USB hub.16:19
greg-goh no way16:19
greg-gthe problem is gone after i plug in my laptop's power cord16:20
rick_h_greg-g: oooooh16:20
jrwrenpower!16:20
greg-gwtf!16:20
rick_h_that explains a lot then, yea many laptops don't output power on all ports when on battery16:20
rick_h_keyboard < mouse16:20
greg-gyeah16:20
greg-gand the powered port was probably the one that was going to the hub, so it wasn't able to get enough16:21
greg-gwell then, at least I can get work done today at a reasonable speed :)16:21
jrwrenmacbooks don't do this :)16:21
greg-g(and without having to restart my laptop ;) )16:21
greg-gjrwren: :P16:21
rick_h_anyone remember how to get the titlebar/edit controls back in virtualbox instance?16:26
rick_h_I seemed to have clicked stretch vs adjust and now I can't get the control back to change it16:26
greg-gright control?16:29
rick_h_yea, that escapes the mouse pointer, but I need to reset teh UI itself16:30
rick_h_ah, host-c fixes the scale mode16:34
rick_h_strech that is, yay askubuntu16:34
greg-gmy Google activity report for my work account for the previous week: 358 mails sent (-2%) To 113 contacts16:44
rick_h_yay for negative?17:03
greg-gyeah17:04
greg-gstill too much17:04
rick_h_"it's a process" :P17:04
greg-gbut probably won't go down over the next few months, I'm taking up some tech team leadership responsibilities, so interfacing with the other managers of CC17:05
* krondor reads scrollback17:05
krondorlogitech can die, nothing for left handers :(  razer ftw and mice rule (lachesis for me, but taipan looks nice)17:05
krondormy copperhead died this year17:05
rick_h_hah, was watching dilbert on netflix and the whole lefty-righty thing made me laugh17:06
krondorit's hard to go back to a non-gaming mouse after using one.  They're so fluid truly.17:07
jrwrenagreed.17:08
jrwreni like G50017:08
snap-lkrondor: Um, some of their mice can work well left-handed17:10
snap-lusually it's the cheaper mice, though17:10
krondorsnap-l: yeah none of the G series for sure, and if you're going to make me pick a cheaper kind of friendly one versus a competitor...17:12
krondorI tried the magic mouse briefly once, but I couldn't break the habit of lifting my right finger for left clicks.. I think that was a changeable setting maybe.  Meh17:13
snap-lhttp://www.logitech.com/en-us/mice-pointers/mice/cube <- Finally, the mouse that doesn't care what hand you use.17:14
snap-lI want to find the person who mapped CTRL-W to both Vim window commands and "delete previous word" and beat them17:16
rick_h_yea, alias those away17:20
rick_h_never hit ctrl-w in vim17:20
rick_h_lol, that cube is funny17:20
greg-gthought you all might like this, especially jrwren http://evanfarrer.blogspot.ca/2012/06/unit-testing-isnt-enough-you-need.html17:32
MilyardoI don't get it, what does typing have to do with Unit Tests17:36
greg-gdid you read it?17:37
greg-g:)17:37
greg-g"For me research I wanted to test the frequently cited claim by proponents of dynamically typed programming languages that static typing was not needed for detecting bugs in programs. The core of this claim is as follows:"17:38
MilyardoYeah I've read it, ignoring the fact thats a claim I've never heard before, the two subjects just are related17:39
Milyardo*aren't17:39
greg-gwell, I thought it was simple: see if unit tests were able to catch all the bugs that static typing did. The answer is no.17:40
MilyardoAn analogous claim would be like saying in Physics, you don't have to check your answers because you performed dimensional analysis on the problem17:40
greg-gits a master's thesis, doesn't need real world applicability right away ;)17:40
MilyardoThats because thats not what typing is for17:40
greg-gfair17:41
greg-gmaybe he just wanted to produce another data point why Haskell > * :)17:41
rick_h_yea, see the thing here is that it only takes into account a very select use/issue with programming and languages17:43
rick_h_everything's a trade off and this doesn't take into account level of experience of dev, dev time, accessability for other devs to contribute to OSS, code readability, etc17:43
rick_h_but yea, nothing surprising in here17:43
rick_h_meh, write code, be happy, that's what I say17:44
* greg-g nods17:44
* brousch peers at rick_h_17:47
rick_h_sorry, just don't need my code to pass a formal proof for correctness, but if you do, go for it17:50
rick_h_I wish I knew/wrote haskell well, but I don't. Tried to get started twice and failed so must be I am missing brain cells for it17:50
snap-lrick_h_: How are you with writing proofs?17:52
* rick_h_ looks over at his shelf to see if any of his old books are still around17:52
rick_h_always hated proofs :P17:52
rick_h_but did pass the classes17:52
snap-lrick_h_: bingo17:52
rick_h_no, I think it's that I can't incrementally get my head around it17:53
snap-lHaskell always felt to me like you were writing proofs, not programming.17:53
rick_h_anything I can think to code up is IO and as soon as you say "IO" in haskell you have to jump to the back of the book and dive in deep17:53
greg-ginteresting, I haven't really taken a gander at it17:53
rick_h_and honestly, I gave it one honest shot and bought a second book I'm supposed to give it another shot one day17:54
rick_h_but Go seems more useful to me so that's where I need to head17:54
greg-galso interesting, given that is what Joey Hess chose to develop git-annex with17:54
rick_h_yea, dave (Gnome Do fame) is a HUGE haskell junkie and did it a ton in school17:54
greg-g(git-annex being IO intensive)17:54
greg-gyeah, sounds like him too17:54
rick_h_yea, I don't want to say you can't do IO, it's there17:54
* greg-g nods17:54
rick_h_but it's not like getting to the chapter in Python on reading/writing files17:55
rick_h_with open('myfile.txt') as fh: for l in fh: print l17:55
snap-lPython follows a very Unix-style of i/o17:55
rick_h_I tried to do some log file parsing/processing scripts and just couldn't get past step 2 in my first haskell attempt17:55
snap-lso it's very straightforward for that mindset17:55
rick_h_python is for idiots, I'm an idiot, carry on :)17:56
snap-lPython makes me feel like an idiot savant17:56
rick_h_meh, it's a mess. It's kind of slapped together to get crap done...but people smarter than the php folks that slapped stuff together to get $#@$@# done17:57
snap-lrick_h_: programming perfectionis overrated17:58
snap-lif we wanted OO perfection, we'd be talking about lisp and smalltalk17:58
snap-lcue jrwren in 3...2..1..17:58
rick_h_and with this I think I'm done for the day https://twitter.com/lrz/status/21223642049925529618:05
rick_h_just threw up in my mouth a little18:05
greg-grick_h_: does vim really have much to do with that issue, though? isn't that handled by whatever terminal emulator you're using?18:09
greg-g(font resolution/etc)18:09
rick_h_greg-g: assuming they want gvim18:10
greg-goh, well then why didn't they say so?!18:10
brouschmacvim18:10
rick_h_the retina stuff is funny, you need native app support/etc for it to use full resolution18:10
rick_h_you can't just say "make my screen full 2880 res"18:10
greg-gjerks who assume that their special little version of something is the canonical version annoy me18:10
greg-glike, people who say "Adium me"18:11
greg-g"FUCK YOU! I will not! I will IM you."18:11
rick_h_want some scotch tape?18:12
rick_h_:P18:12
brouschUbuntu is Linux!18:12
jrwren<3 lisp and smalltalk18:16
jrwreni am a proud owner of CMCSA stock.18:21
jrwrenfrom this point forward you can call me out anytime I praise comcast.18:21
greg-gSHILL!18:22
snap-lprobably want macvim18:27
snap-lMac terminal vim is kind of ugly in all respects.18:28
jrwrenwhy do you say that? its vim like another another.18:30
jrwrenbut no py support. brew install vim if you aren't going to do macvim.18:30
snap-ljrwren: It just didn't feel right to me.18:32
snap-lFelt clunky, and just off from Linux vim18:32
snap-lbut indeed, I was using the built-in version18:32
snap-lhttp://thedailywtf.com/Articles/Date-Selector-of-the-Damned.aspx18:41
jrwrensnap-l: i kinda know waht you mean, and I'm not sure.18:46
jrwrenbut I prefer gvim to vim when possible18:46
snap-lYeah, it's a taste thing.18:47
snap-lI find myself in plain terminal vim more than anything18:47
snap-leven though I know gvim is slightly faster in rendering18:47
nullspacerick_h_: you seriously dd-ed your /dev/sdb ?19:10
jrwrenwhere did I get the idea that None evals to false19:14
jrwrenhe really did19:14
greg-gthis is a great use of browser location data: http://www.parks.ca.gov/ParkIndex/19:30
rick_h_nullspace: yes, yes I did20:34
rick_h_it does, if var where var == None will follow false case20:35
jrwrenif None: print "hi"20:37
jrwrendoes not print :)20:37
jrwrenx=None;if x: print "hi" #also does not print20:38
rick_h_None is false20:38
rick_h_right, if (None) == False20:38
rick_h_if not None: print "hi"20:38
rick_h_will print20:39
jrwrenoh right.20:39
jrwreni think I meant opposite.20:39
jrwrenwhat I actually had20:39
jrwrenx = someThingMightReturnNone()20:39
jrwrenif x:20:39
jrwrenand when x was not none, it didn't follow true path20:40
rick_h_should, unless it came back something else false-ish20:40
jrwrenmaybe the type that it did return overrides __whatever_it_is_for_truth__20:40
rick_h_""20:40
rick_h_[]20:40
brouschMany things evaluate to False20:40
rick_h_020:40
jrwrenright20:40
jrwreni changed to if not x is none:20:40
jrwrenand i get the behavior I want20:40
rick_h_ah, gotcha20:40
rick_h_yea, 'is' is good for None type thing20:41
jrwrenright.20:41
brouschif x is not None20:41
rick_h_he wants to do the opposite though20:41
rick_h_oh right, brousch ftw20:41
rick_h_you want to execute as long as the return value is not none20:41
jrwrenpylint doesn't warn me about it, so it isn't important :)20:41
rick_h_so is not None ftw20:42
rick_h_yes, readability ftw!20:42
rick_h_change it!!!!!! we peer pressure you20:42
jrwrenwrite a pylint rule for it and I'll change it :)20:42
brouschheh20:43
jrwrenanyone know offhand if elementree Element does override that __truthy_thing__ ?20:43
brouschPEP8 page under Programming Recommendations uses "is not None"20:44
brousch"Comparisons to singletons like None should always be done with is or is not, never the equality operators. Also, beware of writing if x when you really mean if x is not None -- e.g. when testing whether a variable or argument that defaults to None was set to some other value. The other value might have a type (such as a container) that could be false in a boolean context!"20:45
jrwrendamn.20:46
rick_h_jrwren: check for __bool__ and you can dir(el) to kind of see20:47
jrwrenhehe, I dont' know elementree well enough to do that quickly but its a good exersize for me.20:47
rick_h_bpython20:48
rick_h_from elementtree import fragment_fromstring20:48
jrwrenlol, yes yes.20:48
rick_h_tree = fragment_fromstring('<div/')20:48
rick_h_dir(tree)20:48
jrwrenoh, fragment_fromstring I don't know.20:48
jrwrenthanks.20:48
rick_h_I use etree a lot in breadability for the html parsing/cleaning https://github.com/mitechie/breadability/blob/master/src/breadability/readable.py20:49
jrwrenthat is different from ElementTree isn't it?20:50
jrwrenI don't see __bool__20:53
jrwrenyet it is not true20:53
jrwrenhrm... it does imple __dict__ and in both cases that __dict__ is empty. I'll bet that is it.20:55
jrwrensuch b.s.20:55
jrwrenCaution: Elements with no subelements will test as False. This behavior will change in future versions. Use specific len(elem) or elem is None test instead.20:56
jrwrenits in teh docs.20:56
jrwrenI CAN READ!20:56
jrwreni'm just glad that mystery is solved.20:57
jrwreni would have gotten away with it if it weren't for you... element object coders.20:57
rick_h_lol21:09
rick_h_https://teespring.com/git-blame :)21:14
rick_h_though can't muster the courage to buy a black t-shirt when it's 93 outside and I'm roasting from mowing the lawn21:15
nullspacerick_h_: can't make it wife is telling me I can't go, can we do this next week22:52

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