[02:26] <snap-l> http://clientsfromhell.net/post/25594840666/i-was-meeting-with-a-potential-client-who-had-a
[11:31] <shakes808> Good morning
[11:33] <brousch> yessir
[11:54] <nullspace> morning all
[11:54] <rick_h_> TGIF everyone
[11:55] <nullspace> rough week?
[11:56] <rick_h_> yea, busy as all can be.
[11:57] <rick_h_> that and 90s ugh!
[12:26] <snap-l> Good morning
[12:26] <rick_h_> party
[12:26] <rick_h_> friday party
[12:26] <rick_h_> already disagreeing with people woot!
[12:26] <snap-l> Yeah, no kidding
[12:26] <snap-l> rick_h_: I thought that was every day? :)
[12:27] <rick_h_> well, I usually wait until closer to lunch
[12:27] <snap-l> Hah
[13:01] <brousch> I have a feeling I'll  be buying my next computer from whichever vendor offers computers without secureboot
[13:09] <snap-l> brousch: Good luck with that
[13:10] <brousch> Maybe by that point I will just have a VPS and a tablet
[13:10] <rick_h_> hah
[13:10] <rick_h_> secure boot at its best
[13:11] <brousch> We'll all have a virtual desktop on Amazon and an iPad
[13:14] <snap-l> What I love is we've come full circle
[13:14] <snap-l> we grew up in the PC age, when the PC was democratizing the usage of computers
[13:15] <snap-l> and everyone was figuring out how to get off of the expensive mainframes and time-sharing systems
[13:15] <snap-l> and now we're moving things into the cloud, and locking down our PC machines so a single vendor can tell us what to do
[13:16] <snap-l> Hate to say it, but RMS is dead right on this
[13:16] <brousch> indeed
[13:17] <jrwren> rick_h_: i don't quite grok that yui node library. is it just nicer functions for dom manipulation?
[13:17] <rick_h_> jrwren: yea, it's kind of the jquery part of YUI
[13:18] <rick_h_> but the idea is that I was in my code checking if you give my method a string, then I'd Y.one(string)
[13:18] <rick_h_> and get a node instance so I could do stuff to it
[13:18] <rick_h_> but if you gave me an already loaded node, I skipped it
[13:18] <rick_h_> so lots of if checks/etc
[13:18] <rick_h_> but Y.one() already checks if you gave it anode
[13:18] <rick_h_> so I got to delete a bunch of conditional code this morning
[13:22] <jrwren> ah, cool.
[13:22] <jrwren> function  behavior overloaded on input parameter type.
[13:23] <rick_h_> right
[13:23] <jrwren> I am using that a tiny bit in python, and I think I don't like it.
[13:23] <jrwren> I think in python I should prefer named params
[13:23] <rick_h_> yea, it's not generally done in python world
[13:23] <jrwren> named and default I mean
[13:23] <rick_h_> yea, **kwargs and all that
[13:23] <jrwren> its not pythonic IMO
[13:23] <jrwren> i was going to ask you about it yesterday...
[13:23] <jrwren> today is good, I'll fix that ugly
[13:24] <rick_h_> cool sure thing
[13:24] <rick_h_> yea, JS doesn't have some of that ability that python does so it has to do more manual cruft
[13:24] <jrwren> makes sense.
[13:24] <jrwren> in js I"d be doing this code VERY differently :)
[13:24] <rick_h_> I'm sure
[13:25] <rick_h_> I've been having a tough time getting python devs to do good JS lately so I know that battle
[13:25] <brousch> JS is annoying. semicolons, too many braces, no default arguments
[13:25] <jrwren> i love all those things about js
[13:25] <jrwren> functional
[13:26] <jrwren> awesome
[13:26] <jrwren> functional
[13:26] <rick_h_> the lack of default args is messy because you end up just with a single argument cfg
[13:26] <jrwren> prototypical inheritence, yay
[13:26] <rick_h_> and doing a lot of var val = cfg.val || 'default'
[13:26] <jrwren> that isn't so bad.
[13:26] <jrwren> i do the same damn thing in python
[13:26] <rick_h_> prefixed by a var config = cfg || {}
[13:26] <rick_h_> yea, but for each value, ugh
[13:27] <jrwren> def foo(arg=None):if arg is None: arg = blah
[13:27] <brousch> barbaric
[13:27] <rick_h_> yea, but it should be more
[13:27] <snap-l> I'd rather have to type self. for the rest of my life than var = function{
[13:27] <jrwren> not me.
[13:27] <rick_h_> def foo(**kwargs): arg = kwargs.get('arg', 'default')
[13:27] <rick_h_> at least
[13:27] <rick_h_> and that's only if you have a bunch of possible kwargs
[13:28] <jrwren> but then you HAVE to use kwargs
[13:28] <rick_h_> I've come to actually like self
[13:28] <snap-l> It's self mutilation. ;)
[13:28] <snap-l> or self love
[13:28] <rick_h_> jrwren: right, because 95% of the time you don't need kwargs because you're not passing more than 3-4 args to a method
[13:28] <snap-l> take your pick
[13:28] <jrwren> right, but if you hare 3-4 args, each with defaults, that is a lot of checking the defaults
[13:29] <rick_h_> no, you don't have to check defaults, that's the point of defaults
[13:29]  * rick_h_ is confused...pastebin!
[13:29] <jrwren> you do if you are assigning mutable defaults
[13:29] <rick_h_> well stop that :P
[13:29] <jrwren> right.
[13:29] <jrwren> you use None and then assign a new mutable instance
[13:29] <rick_h_> then the default is None and yes, you have to check for None
[13:29] <jrwren> but objects are mutable by default
[13:30] <rick_h_> right, but default objects? that seems strange I guess
[13:30] <jrwren> why?
[13:30] <jrwren> i don't discriminate between primitives and other types
[13:31] <rick_h_> I'm thinking, it just strikes me as odd, but yea I don't have a good reason atm
[13:31] <rick_h_> guess I just haven't run into a ton of that and when I have it's not seemed odd
[13:31] <rick_h_> you're right, lack of discrimination ftw
[13:31] <jrwren> its very common when you inject dependencies but then optionally allow non-injected instantiation
[13:32] <rick_h_> yea, and I guess my stuff I've worked on just tends to enforce you inject the right thing
[13:32] <brousch> I'll have to look up depeendency injection one of these days. I have no idea what it is, but I see people saying it often
[13:32] <jrwren> its DEAD trivial.
[13:32] <jrwren> i recommend asking rick_h_ rather than look it up
[13:33] <jrwren> becuase looking it up tends to confuse people and there is WAY too much poor writing out there on it.
[13:33] <jrwren> or ask me, but you see me rarely :p
[13:33] <rick_h_> ugh, welcome to zope
[13:33] <jrwren> bad docs zope?
[13:33] <rick_h_> bad DI...waaay to much
[13:33] <brousch> jrwren: I see you every day, right here
[13:33] <rick_h_> hah
[13:34] <brousch> Ahahahahahahahah: Dependency injection From Wikipedia, the free encyclopedia Not to be confused with Code injection. This article may be too technical for most readers to understand. Please help improve this article to make it understandable to non-experts, without removing the technical details. The talk page may contain suggestions. (January 2010)
[13:35] <jrwren> i have to wonder if zope wasn't largely written by people who did a lot of java and then started writing java in python
[13:35] <rick_h_> jrwren: yea, I can't help but put that label on our devs
[13:35] <jrwren> brousch: i'll try a description when I get to the office, in a bit :)
[13:35] <brousch> Doesn't Zope pre-date java?
[13:35] <rick_h_> and when they get to writing JS it's so horrid
[13:35] <jrwren> no, zope is old, but not THAT old.
[13:36] <rick_h_> I'd say DI at a simple level is that rather than pass a User object into a method, you have a DI container that holds a "Person"
[13:36] <rick_h_> somewhere in your code you pass in a LoggedInUser into that Person container
[13:36] <jrwren> that is one sweet thing about my new job... they use review board, if someone doesn't do things the right way, people talk about it on the patch and things get done the right way
[13:36] <rick_h_> and when the code wants to access it, it asks the DI container for whatever is currently in the container for "Person"
[13:36] <jrwren> no!
[13:36] <jrwren> containers are not part of DI at all.
[13:36] <jrwren> see... confusing topic!
[13:37] <brousch> Zope Corp formed in 1995, Java released in 1995
[13:37] <rick_h_> yea, it is hard to break down into a "3 line" thing
[13:37] <jrwren> right
[13:38] <jrwren> a container typically does the injection for you, but you can do DI entirely manually and its definition can stand alone without containers.
[13:38] <rick_h_> zope is very like this; http://en.wikipedia.org/wiki/Dependency_injection#Automatically_injected_dependency
[13:38] <rick_h_> yea, true.
[13:38] <rick_h_> where DI is nice is in testing
[13:38] <rick_h_> but outside of that I find it just compliated
[13:39] <rick_h_> and with the flexibility of langs like Python/JS I prefer mock/patch over DI ime
[13:39] <jrwren> brousch: DI is simple: say type A needs a type B. Instead of instantiating B itself by calling constructor, it asks for a B to be sent to it, usually via constructor param.
[13:39] <jrwren> so you've injected the dependency B into type A
[13:39] <jrwren> its also called inversion of control
[13:40] <rick_h_> thus jrwren's issues with needing to allow for a mutable object as a default value in an arg
[13:40] <jrwren> because now instead of A controlling instantiation of that B instance, the control is inverted to the instantiator of A
[13:40] <rick_h_> where it really belongs
[13:40] <jrwren> right.
[13:40] <rick_h_> since A cannot possibly know all cases of how B shold come to be
[13:40] <jrwren> exactly.
[13:40] <brousch> I do that all the time
[13:40] <rick_h_> and if you try to make it do that, A and B are so tighly coupled they might as well be one class
[13:41] <jrwren> its really OO 101, but sadly a lot of OO folks don't learn it and keep on newing up spagetti dependency
[13:41] <jrwren> exactly.
[13:41] <jrwren> reduce tight coupling
[13:41] <brousch> Damn complicated pattern names
[13:41] <rick_h_> and testing is nice because you can create a stub/mock B and pass it to A and check that it does what it should
[13:42] <jrwren> in java and C# it enabled interface development, in python it enabled duck typing, because now B can be anything that quacks the way A needs B to quack
[13:42] <rick_h_> where if A was creating B, you don't have control of B and have a harder time testing A
[13:42] <jrwren> ok, i drive to office now :)
[13:42] <rick_h_> enjoy
[13:43] <brousch> Thanks
[13:43] <brousch> I think I get it, and have been doing it for a while
[13:43] <rick_h_> yea, it can get very complicated though
[13:44] <rick_h_> but yea, the idea is pass in what something needs vs creating it inside
[13:44] <rick_h_> but then you can end up with long lists of args, default values issues, etc
[13:44] <brousch> I see
[13:48] <rick_h_> what's the bash variable to reuse the result of the last command?
[13:48] <rick_h_> locate something
[13:48] <rick_h_> [get result]
[13:48] <rick_h_> vim $? or something to open that result
[13:49] <brousch> $? i think
[13:51] <rick_h_> ended up cheating, vim `!!`
[14:08] <jrwren> but the longs lists can be good things.
[14:08] <jrwren> its a warning sign that maybe there is too much responsibility in that type
[14:08] <jrwren> $? is the error code.
[14:08] <jrwren> not sure what other result there is in a bash command.
[14:12] <krondor> I think it's $(!!)
[14:13] <jrwren> bash captures stdout and lets you reuse it?
[14:13] <rick_h_> no, !! is just rerunning the last command
[14:14] <rick_h_> I think I was just recaling the !! tricks
[14:15] <krondor> ls /etc/hosts && cat $(!!) seems to work for me (simple test)
[14:15] <rick_h_> right, and `!!` does a similar thing
[14:15] <krondor> ah ok, nevermind I see
[14:16] <jrwren> no fooling with ls!
[14:16] <jrwren> if you had picked any command other than ls it owuld have been obious
[14:16] <krondor> yeah
[14:16] <jrwren> echo /etc/hosts && cat $(!!)
[14:16] <jrwren> :)
[14:16] <jrwren> $() is just subshell
[14:17] <rick_h_> right
[14:17] <jrwren> so combining it with !! won't get you much.
[14:17] <jrwren> i fancy myself a bash master, but I've never mastered ! commands
[14:17] <jrwren> seems like every other area of bash I have a handle on
[14:19] <krondor> kind of ugly but what about capturing the output to a variable?
[14:21] <jrwren> only way I know is that.
[14:21] <jrwren> but I think he long since moved on.
[14:22] <krondor> anytime I've needed last output instead of redirection I've been doing something in Perl anway.  Hadn't really thought of that in bash.
[14:22] <jrwren> perl, nom nom
[14:23] <rick_h_> hah
[14:23] <rick_h_> yea, I just felt like there had to be a better way to fire vim off a locate command result
[14:23] <rick_h_> without copy/paste/etc
[14:30] <jrwren> well subshell, jus tlike you said.
[14:30] <jrwren> but once you ran the locate once, it is too late.
[14:30] <jrwren> you'll have to run again
[14:30] <rick_h_> yea, but it's off a cached state so no worries
[14:31] <rick_h_> <3 locate
[14:31] <jrwren> right
[14:31] <jrwren> yeah <3 locate
[14:31] <rick_h_> <3 locate more on ssd
[14:31] <jrwren> its one of the first things I turn on.
[14:31] <jrwren> yup, on ssd it is amazing.
[14:31] <jrwren> which is rather telling
[14:31] <jrwren> AFAIK locate just finds all teh files on your system then greps a text file
[14:32] <jrwren> it could REALLY be made faster if it hashed storage
[14:32] <jrwren> or indexed
[14:32] <jrwren> but I guess that is challenging because how do you index on *blah* ?
[14:32] <rick_h_> right
[14:32] <jrwren> i'd like to read some research on that if anyoen knows
[14:32] <jrwren> i guess ngram indexes *sigh*
[14:32] <rick_h_> all the rage
[14:32] <jrwren> is it?
[14:33] <jrwren> i've never heard of it, hehe
[14:33] <rick_h_> well, there was a couple diff fulltext talks at pycon
[14:33] <rick_h_> and everyone doing fulltext is going to ngrams since you get better non-english and partial match support
[14:33] <rick_h_> Search: foobar
[14:34] <rick_h_> match indexes on foo oob oba bar
[14:34] <rick_h_> I see you wanted 'food' yay
[14:34] <jrwren>  excellent.
[14:34] <rick_h_> :P
[14:34] <jrwren> i never knew that full text search was doing ngrams
[14:34] <rick_h_> not all, but it's a big option these days
[14:35] <rick_h_> helps with non-english since you're more likely to hit matches with a few characters, takes less natural language processing to do
[14:36] <jrwren> thanks rick_h_ you rock as always
[14:36] <rick_h_> I find that stuff interesting. One day I'll get off my butt and tinker with it
[14:36] <jrwren> me too.
[14:36] <rick_h_> got into it a litle bit when trying to setup fulltext search for bookie
[14:36] <jrwren> *nod*
[14:36] <jrwren> and lucene is great, except for the jvm part
[14:37] <jrwren> i'd love something else.
[14:37] <jrwren> a rethinking of hte problem.
[14:37] <jrwren> i think it is about time
[14:37] <rick_h_> http://packages.python.org/Whoosh/api/analysis.html?highlight=ngram#whoosh.analysis.NgramAnalyzer
[14:38] <rick_h_> so you can see there are several different analyzers available to use
[14:38] <jrwren> interesting.
[14:38] <jrwren> i've only done ngram analysis in the context of nucleotides and amino acids
[14:38] <jrwren> but tokenizing is easy
[14:38] <rick_h_> compare the ngram to the stemming and you kind of see a little bit the common bits
[14:39] <jrwren> building results is not
[14:39] <rick_h_> yea, exactly. This is all about tokenizing the content and the query terms
[14:39] <rick_h_> and you get vastly different sized data sets to go through based on these
[15:11] <MaskedDriver> anybody here speak fluent german?
[15:11] <rick_h_> my wife, but she's at work
[15:11] <MaskedDriver> ok
[15:12] <greg-g> rick_h_: whoa, didn't know that[5~
[15:12] <rick_h_> greg-g: she was a german major at UM, spent a year abroad for school. Med students get to have fun undergrad degrees
[15:13] <rick_h_> her family and my grandmother come from germany so thanksgiving is usually a bunch of sentences started in english and ending in german so I just smile and nod my head
[15:13] <greg-g> oh nice :)
[15:16] <MaskedDriver> nvm, my buddy from Deutschland came through
[15:16] <rick_h_> cool
[16:38] <derekv> I always want it to be #ubunutu-mi-us for like ubuntu.mi.us
[16:39] <derekv> I'm sortof sad you never see .mi.us anymore
[16:40] <derekv> i used to have an email in high school that was like derek@mhs.bloomfield.k12.mi.us or somesuch
[16:41] <MaskedDriver> I had freytag@archbold.k12.oh.us
[16:42] <MaskedDriver> ohhh memories
[16:43] <MaskedDriver> they have such a terrible site
[16:55] <snap-l> Most educational sites are only one step removed from a geocities site
[16:56] <greg-g> everything you hated about geocities, without the geocities
[17:48] <jrwren> ohio!
[17:49] <rick_h_> abentley: huh?
[17:58] <MaskedDriver> jrwren: yeah, born and raised. just moved here a year ago
[17:59] <brousch> MaskedDriver: You some kind of Buckeye fan?
[18:02] <MaskedDriver> graduated from OSU and then worked there for 2 years
[18:02] <MaskedDriver> so you could say that
[18:05] <jrwren> *gasp*
[18:05] <jrwren> so you secretly hate us all.
[18:05] <MaskedDriver> depends
[18:06] <MaskedDriver> are you an UM fan or MSU?
[18:06] <jrwren> both
[18:06] <MaskedDriver> then I only hate half of you ;)
[18:06] <jrwren> would you shake my hand?
[18:06] <MaskedDriver> does the left side of your brain like UM or MSU?
[18:06] <jrwren> or would you spit in my face and turn around and walk away like an OSU nut?
[18:06] <MaskedDriver> I'd shake your hand
[18:06] <MaskedDriver> I'm not one of the nut jobs
[18:07] <jrwren> oh, ok.
[18:07] <MaskedDriver> we lose a game, I shrug and go back to my video games
[18:07] <jrwren> welcome to michigan
[18:07] <MaskedDriver> pure michigan
[18:07] <brousch> I am scared in Columbus. I park my van with my U-M license plate against the wall so hooligans don't vandalize me
[18:08] <MaskedDriver> eh, yeah probably wise
[18:08] <Milyardo> Where I come the the closest rivalry we have that anywhere near the fanaticism that UM vs MSU fans have is Navy vs Army.
[18:08] <Milyardo> even then it's no where near as bad, I don't understand it
[18:09] <MaskedDriver> what I love is that UM and MSU hate each other more than UM hates OSU, but we hate UM with every fiber of our being
[18:09] <MaskedDriver> it doesn't make sense
[18:09] <MaskedDriver> we should hate Florida more than UM. They beat us in the national championship TWICE in one year!
[18:10] <MaskedDriver> football and then basketball
[18:10] <brousch> MaskedDriver: Everybody wants us to be their rival: MSU, OSU, Notre Dame, Penn State
[18:10] <brousch> That is because we are the most awesome
[18:10] <MaskedDriver> lol
[18:11] <MaskedDriver> we've got Meyer now... he's going ot make the Tressle era look like the Cooper era
[18:11] <brousch> I have no idea what that means
[18:12] <MaskedDriver> Urban Meyer.. our new coach
[18:12] <brousch> I really don't give a crap about sports. I'm just stirring the pot
[18:12] <Milyardo> ^
[18:13] <MaskedDriver> ah
[18:13] <MaskedDriver> Urban Meyer has a 104-23 overall record and a 7-1 bowl game record
[18:13] <MaskedDriver> he's kinda a big deal
[18:13] <MaskedDriver> I don't really care abotu sports either, but all my friends are, so I know a thing or two
[18:14] <Milyardo> High end World of Warcraft Guild Progression: Now that's a competative sport!
[18:15] <Milyardo> One that matters too
[18:15] <brousch> That matters even less than real sports
[18:15] <MaskedDriver> Milyardo: or SWTOR end-game PVP stats
[18:15] <Milyardo> As if SWTOR has a end game
[18:16] <MaskedDriver> it does
[18:16] <MaskedDriver> just whiney kids complain that it's too repetitive.......
[18:16] <MaskedDriver> gear up and quit your bitchin'
[18:17] <MaskedDriver> you mean I have to PVP over and over again to get PVP gear?! NO WAY!
[18:17] <MaskedDriver> why can't I just buy it for credits?!
[18:17] <MaskedDriver> Bioware: le'sigh.. fine, here's some starter PVP gear you can buy with credits
[18:18] <MaskedDriver> whiners: BUT I'M NOT GOOD! We should be able to buy Battlemaster gear with credits!
[18:18] <MaskedDriver> Bioware: le'sigh.. fine, you can buy schematics to craft PVP gear for credits
[18:18] <MaskedDriver> whiners: But it doesn't come with any enhancements and I have to be Rank level 50!!!
[18:18] <MaskedDriver> Bioware: diaf
[18:19] <Milyardo> I know nothing about SWTOR PVP, but people whine in everygame
[18:19] <MaskedDriver> yeah
[18:19] <MaskedDriver> "casuals" ruining stuff for everybody
[18:35] <jrwren> i'm hating on pthon again.
[18:35] <jrwren> i'm setting ElementTree.Element instance's text attr and then writing and its not working!
[18:35] <jrwren> i want ot punch python in the face.
[18:36] <jrwren> such a waste
[18:36] <brousch> Blame XML
[18:36] <jrwren> how can I when teh same dom manip calls work in every other language/lib I"ve used
[18:37] <jrwren> Starcraft2 > SWTOR for esports.
[18:39] <snap-l> Python and XML are not the best of buddies
[18:40] <jrwren> yay, works in bpython. WTF
[18:40] <snap-l> jrwren: Are you sure you're using the right version of Python?
[18:40] <snap-l> You might have escaped your venv
[18:41] <jrwren> nah, i'm just an idiot.
[18:41] <jrwren> write bad code, get bad results. simple h?
[18:41] <jrwren> i take it all back.
[18:41] <jrwren> of course it si PEBCAK
[18:41] <snap-l> well, that saves me from apologizing for Python. ;)
[18:41] <jrwren> i'm sorry python.
[18:41] <jrwren> i'm sorry for calling you waste and wanting ot punch you in teh face
[18:42] <snap-l> Python forgives you
[18:42] <snap-l> as opposed to PHP, which thinks you're a dirty whore.
[18:42] <jrwren> php knows its own kind
[18:42] <snap-l> hah
[18:43] <snap-l> I don't know what it is about Daft Punk's Tron Legacy Soundtrack, but I feel like a programming badass when it's on.
[18:45] <jrwren> you should try mind in a box's R.E.T.R.O.
[18:50] <snap-l> jrwren: Will do
[18:51] <derekv> XML is not the best of buddies with clear thinking, or getting things done
[18:52] <derekv> XML gets in the way of creating software
[18:54] <greg-g> I get in the way of creating software
[18:56] <jrwren> snap-l: the album (and all their albums) are suposed to tell a story
[18:56] <jrwren> i don't really grod it a lot, but 8 bits and i love 64 are awesome.
[18:56] <jrwren> i love 64 is espeically fun, its about an 8 bit wanting to upgrade to 64 "something I couldn't even comprehend" :)
[19:03] <nullspace> I'm currently liking nervous testpilot
[19:06] <jrwren> what is that?
[19:17] <derekv> if someone has a better name than "android bookie" or "bookie for android" lemme know
[19:19] <rick_h_> AndBookie
[19:19] <rick_h_> BookieDriod
[19:20] <rick_h_> If it works out I'd say you could just go for Bookie
[19:22] <derekv> I needs to get it to log in
[19:22] <derekv> then upload bookmarks
[19:22] <rick_h_> cool
[19:23] <rick_h_> don't actually need login, just a form to store your username/api key
[19:23] <rick_h_> and then you build the urls with those params in mind
[19:23] <derekv> yea
[19:23] <rick_h_> so on first use you'd have to store those to values, bonus points for the api url so that it can be used with your own install
[19:26] <rick_h_> damn, spent a couple of hours tracing a test failure only to find out it's because I wasn't clearing the fulltext index.
[19:26] <brousch> Bmark app is free. Use your own server version is $9.99
[19:26] <rick_h_> whoosh won't return results for words that are too common, so as we built up a bunch of the same bookmark, phrases got too common and just stopped returning
[19:27] <rick_h_> that took a bit to figure out
[19:27] <brousch> rick_h_: Ahahahah, that is funny
[19:27] <derekv> currently it does work, it just pulls the most recent bookmarks from the main feed and displays them in a list
[19:27] <derekv> oh
[19:27] <derekv> yea
[19:27] <derekv> I spent over an hour to find a capatalization error in an xml config file
[19:27] <derekv> absolutely no error or warning about it anywhere just failing to read the configuration
[19:27] <rick_h_> what's funny is that I'd runthe failing test and it'd pass
[19:27] <rick_h_> so I started working backwards enabling tests one at a time
[19:28] <rick_h_> and suddenly it'd fail, just as it crossed that threshhold
[19:28] <rick_h_> and I couldn't find any connection between the most recently added test and the failing one
[19:28] <rick_h_> still, glad the code is fine, just need better test cleanup
[19:28] <brousch> rick_h_: That deserves a blog post
[19:29] <rick_h_> that requires effort :P
[19:29] <rick_h_> but yea
[19:31] <derekv> meanwhile ... one preferences activity coming up
[19:31] <rick_h_> woot!
[19:32] <rick_h_> derekv: you get something working and make sure you update that amazon wishlist :)
[19:33] <derekv> =p
[19:33] <brousch> derekv: You using plain old Android or something like PhoneGap?
[19:33] <rick_h_> Java baby
[19:33] <derekv> brousch, native
[19:33] <derekv> native java
[19:33]  * rick_h_ is excited
[19:34] <derekv> I don't want to bother learning phonegap etc
[19:34] <derekv> for one thing
[19:34] <derekv> Just not the route I want to go.
[19:34] <brousch> Well if you already know Java that makes sense
[19:34] <derekv> I wouldn't tell someone else not to learn phonegap (I don't know I've never used it)
[19:35] <derekv> Or to just put the effort into their mobile site
[19:35] <derekv> But i'm more of a low level guy
[19:35] <brousch> Good people to have around
[19:36] <derekv> I like going into kernel source sometimes
[19:37] <rick_h_> getting close, 86/90 passing tests
[19:37] <devinheitmueller> derekv: join the dark side.  We have cookies.
[19:37] <rick_h_> lol
[19:38] <brousch> devinheitmueller: What's the dark side?
[19:38] <devinheitmueller> brousch: kernel development.
[19:38] <brousch> Ah!
[19:38] <rick_h_> devinheitmueller: used to come to CHC where he'd bring cool usb-tv devices to hack on
[19:39] <rick_h_> then he went back to NY...traitor!
[19:39] <derekv> devinheitmueller, I thought you meant the opposite.  like Join the Web Development side, we have cookies
[19:39] <rick_h_> :)
[19:39] <rick_h_> hah
[19:39] <brousch> The Morlocks of programmers
[19:39] <devinheitmueller> It's true, the web development side does have cookies, in a different pun-like manner.
[19:39] <rick_h_> less yummy
[19:39] <devinheitmueller> rick_h_: Thanks.  In fairness, the New York people thought I was being a traitor by going to Michigan.
[19:40] <rick_h_> oh hell yea! All tests pass with the new alembic based migrations and such
[19:42] <derekv> rick_h_, should I set default server to bmark.us or let people enter it
[19:43] <rick_h_> derekv: so it needs to be the api endpoint which I default to https://bmark.us/api/v1
[19:44] <derekv> I figured on appending /api/v1 to what they entered
[19:44] <rick_h_> well, honestly at this point they can't change anything
[19:44] <rick_h_> but one of the bugs we've got is following proper domain subdirs and such
[19:44] <rick_h_> so I just keep the whole endpoint as people might have their points be strange
[19:45] <rick_h_> derekv: you're probably good either way
[19:45] <derekv> hmm, so it might not be /api/v1 ?
[19:45] <derekv> there will be time to fiddle with that
[19:46] <jrwren> i just figured out why my test was passing when I thought it should fail.
[19:46] <rick_h_> derekv: yea, I guss that would be consistant until we change the version one day
[19:46] <jrwren> confused x with self.x in a test. i'm so sick of my python nubness
[19:46] <rick_h_> if they were at mysite.com/bookie/ you'd still be cool with $url/api/v1
[19:46] <rick_h_> don't use single letter variable names? :)
[19:47] <derekv> what I do is use single variable names but different numbers of underscores based on the scope context
[19:47] <derekv> like ___y is a global
[19:48]  * derekv ducks
[19:48] <derekv> five is for a goto label
[19:48] <derekv> goto _____z
[19:49] <greg-g> haha
[19:50] <derekv> by limiting myself to 26 variables per scope I end up with cleaner code
[19:53] <rick_h_> ah, a damn good branch: Showing 48 changed files with 572 additions and 1,154 deletions.
[19:53] <brousch> wow
[19:54] <greg-g> merge those branches more often!
[19:54] <greg-g> ;)
[19:54] <rick_h_> well, rolling up all the db migrations in bookie into two fresh ones using alembic vs sqlalchemy-migations
[19:54] <rick_h_> so it's cheating, but does mean a lot fewer lines of code/simpler/etc
[19:56] <greg-g> cool
[20:15] <rick_h_> woot! https://crate.io/packages/breadability/ vs https://crate.io/packages/readability-lxml/ I'm coming after you
[20:15] <rick_h_> ok, so 1 day of a package vs my 5 isn't fair :P
[21:02] <derekv> hmm maybe a swipe left/swipe right to go between different feeds
[21:02] <derekv> like how some twitter apps work
[21:02] <derekv> I got a prefs screen up now
[21:02] <derekv> Not wired to anything yet
[21:41] <rick_h_> derekv: cool
[21:41] <rick_h_> derekv: yea, I'd imagine maybe defaulting to mine, swipe to all, swipe to search or something?
[21:46] <rick_h_> and then the ability to select an item and load the readable view
[21:56] <rick_h_> bah, fixed the docs, missed that they weren't building correctly