[02:10] <snap-l> Whew, fixed up my bookcase
[02:10] <snap-l> the back cardboard is tearing away, so eventually it would just crumble
[02:11] <snap-l> hammered some more nails in it. Hoping to get a few more years out of it before I have to replace it
[09:47] <wolfger> snap-l: Yeah... because nail hole improve cardboard structural integrity....
[11:08] <rick_h> morning party people
[12:15] <snap-l> wolfger: Well, it'll at least keep it from moving
[12:32] <snap-l> It's a cheap piece of crap bookcase anyway. This was just to make sure it didn't accidentally fall over and kill someone.
[13:49] <snap-l> I wish this code had adopted the manager pattern sooner.
[13:49] <snap-l> Having to deal with SQL statments directly makes me nervous that I'll miss something along the way.
[13:49] <rick_h> lol, I always wish code adopted cleaner stuff sooner :)
[13:51] <snap-l> Well, I'm already trying to shim in one thing, and it would have been nicer to have a single shim point. :)
[13:52] <snap-l> Almost missed the email portion of it which would not have been great).
[14:01] <jrwren_> sql statements?
[14:02] <jrwren_> have you considered repository pattern?
[14:27] <snap-l> jrwren_: Have you considered this code is over 3 years old with multiple authors and I'm on a deadline. ;)
[14:28] <jrwren_> yes
[14:29] <rick_h> lol, always leave the code better than you found it. Works on code and on bathrooms
[14:30] <jrwren_> the reason i ask, is that I don't see manager pattern mentioned in GoF or PoEAA
[14:30] <jrwren_> ha! I should teach my daughter that.
[14:31] <rick_h> jrwren_: so he's talking about something like the django manager orm bits
[14:31] <rick_h> jrwren_: in sqlalchemy I use stuff like https://github.com/mitechie/Bookie/blob/develop/bookie/models/__init__.py#L118 to contain any non-instance related methods/helpers/etc
[14:32] <rick_h> jrwren_: so not really a GoF, but a organization method vs pattern
[14:33] <jrwren_> in the .net world we consider that an antipattern, at least somewhat.
[14:33] <brousch> I usually use the Fuckit Pattern
[14:33] <jrwren_> brousch: fuckit usually leads to pizza or spaghetti
[14:34] <jrwren_> maybe some chinese takeout
[14:34] <brousch> Yum
[14:34] <rick_h> jrwren_: why an anti-pattern?
[14:35] <jrwren_> is it an alchemy-ism because you don't define your data class like you do in django?
[14:36] <jrwren_> I'm not familiar enough to alchemy to say if it is the same antipattern from .net. I think it is not.
[14:36] <rick_h> jrwren_: honestly it's something I do myself just because I hate having Model.method_one doing stuff that's really nothing to do with Model the instance/etc.
[14:37] <jrwren_> rick_h: honestly, after studying that TagMgr class for a few minutes, it is a case of Repository pattern :)
[14:37] <rick_h> jrwren_: and helps clean up what methods a model allows on an instance vs thinsg that you can do but have nothing to do with it.
[14:37] <jrwren_> yes, exactly, understood.
[14:37] <jrwren_> fowler calls that Repository pattern
[14:37] <rick_h> https://github.com/mitechie/Bookie/blob/develop/bookie/models/__init__.py#L353 and https://github.com/mitechie/Bookie/blob/develop/bookie/models/__init__.py#L594 for a better example
[14:37] <snap-l> jrwren_: Chalk it up to me using the word pattern loosely.
[14:38]  * rick_h goes to look it up
[14:38] <jrwren_> use english :)
[14:38] <snap-l> fuck dat sheeet.
[14:38] <jrwren_> http://www.martinfowler.com/eaaCatalog/repository.html
[14:38] <rick_h> jrwren_: yea, this looks right
[14:38] <jrwren_> its veyr close.
[14:39] <rick_h> jrwren_: and since SqlAlchemy uses full data mapper it probably fits nicer than some things
[14:39] <jrwren_> I think maybe its not repostiory because by inheriting from Base the objects can still save/udpate themselves.
[14:39] <jrwren_> the Repository is usually responsible for that.
[14:39] <snap-l> All I know is it's another reason rick_h is right
[14:39] <rick_h> jrwren_: yea, but you still need to use the Session to save/update in sqlalchemy
[14:40] <rick_h> jrwren_: so maybe the session is a bit of repository really
[14:40]  * rick_h hasn't done his required pattern reading in a long while. 
[14:40] <jrwren_> nor have I
[14:40] <jrwren_> I really only recall a few
[14:41] <snap-l> John keeps threatening us with going through the gang of four book
[14:41] <jrwren_> I recall SqlAlchemy being a DataMapper
[14:41] <rick_h> jrwren_: yea, so model.query is an instanced of an associated Session object
[14:41] <jrwren_> tehre is certainly no reason there cannot be many of these patterns.
[14:41] <snap-l> honestly, the patterns stuff just feels like taxonomy, and I couldn't care less what the correct word for something is.
[14:41] <rick_h> jrwren_: so the ModelMgr is doing the querying through that Session (repository) and returning result sets and then the model instances are smaller/simpler/lighter and only deal with instance info
[14:42] <snap-l> or what one programming culture calls something
[14:42] <rick_h> snap-l: but it's handy for talking. It'd have been simpler if you'd said "man I'm glad this code went to the repository pattern" and jrwren_ would have followed from the start and said "hells to the yea"
[14:42] <jrwren_> thanks for clarifying. I get it.
[14:42] <jrwren_> and I take it all back.
[14:42] <jrwren_> I think it is just a behavior type.
[14:42] <snap-l> rick_h: Agreed
[14:43] <jrwren_> you've isolated common behavior for that model type.
[14:43] <rick_h> jrwren_: yea, cool. I kind of tought this layout at my Sqlalchemy tutorial at PyOhio a while back and would hate to be teaching an anti-pattern
[14:43] <jrwren_> definitely not an antipattern.
[14:43] <rick_h> so was curious in being corrected :)
[14:43] <snap-l> rick_h: The code I'm looking at is definitely an anti-pattern. :)
[14:43] <jrwren_> its good stuff, I was just trying to understand.
[14:43] <rick_h> snap-l: lol yea I don't even have to look at it to know that :)
[14:44] <snap-l> I believe it's called the "sql blender" anti-pattern. (and don't correct me if it isn't ccalled that because reasons).
[14:44] <rick_h> snap-l: yea, I fought hard to try to get a rule that no controller should ever ever do Session.query.
[14:45] <rick_h> but I'm going to guess there's still a lot of that around
[14:45] <snap-l> Well, there's lots of old code getting C/P into new code
[14:45] <snap-l> thus creating the maxim: Old code never dies, it just gets copied.
[14:45] <rick_h> hah
[14:46] <rick_h> http://www.ubuntu.com/phone/carrier-advisory-group :( no us unless you count DT I guess
[14:46] <rick_h>  /us/U.S./
[14:47] <snap-l> http://www.autoweek.com/article/20130618/CARNEWS/130619824
[14:47] <rick_h> ok, first camping trip in the new camper set for this weekend. What's the over/under for the number of disasters encountered?
[14:47] <rick_h> snap-l: yea, saw that the other day. Makes a lot of sense. I like how my touareg has a mix of hard button and touch screen
[14:48] <rick_h> especially with the slow touch screen tech used in these things
[14:48] <brousch> rick_h: Where are you going?
[14:48] <snap-l> Yeah, honestly when I was looking at cars I wanted to like the Ford Sync
[14:48] <snap-l> bit it felt a little clunky
[14:48] <snap-l> (nevermind that it rebooted while I was taking the test drive)
[14:48] <rick_h> brousch: http://www.destinationoakland.com/parksandtrails/campgrounds/addisonoaks/Pages/default.aspx 30min away for a nice close safe initial voyage
[14:48] <rick_h> snap-l: lol, that would suck
[14:49] <snap-l> rick_h: First trip isn't the one that all of the problems happen
[14:49] <rick_h> brousch: but will be up by alpena for the 4th, cadillac for aug, and in VA for sept.
[14:49] <snap-l> it's the second trip that the universe conspires against. :)
[14:49] <brousch> 87 and humid. Does the camper have AC?
[14:49] <rick_h> snap-l: then I'm screwed :P but at least we'll be up north with family
[14:49] <rick_h> brousch: why yes...yes it does :)
[14:49] <brousch> nice
[14:50] <snap-l> Knowing rick_h, it'll auto level and set up satellite internet with a make command
[14:50] <brousch> make campsite
[14:50] <rick_h> snap-l: hah, no. I did buy my own electrical setup (high capacity 6v golf cart batteries in a custom box) I delivered to them yesterday to install
[14:50] <rick_h> and they've got a checklist of a bunch of things I want installed/setup before I take delivery on thurs
[14:51] <rick_h> but no auto leveling or satellite
[14:51] <snap-l> did you mention no brown M&Ms?
[14:51]  * rick_h writes that down for the next time
[14:53] <snap-l> So, does Clarkston allow you to park your camper on your property, or are they anal like I've heard Troy is.
[14:53] <rick_h> snap-l: so I'll have it in my driveway for short times pre/post travel. But I'm going to sign up for an indoor storage place tomorrow
[14:54] <snap-l> yeah, that's what I thought
[14:54] <snap-l> jrwren_: liking the mix on digital gunfire at the moment
[14:56] <ColonelPanic001> damn. I haven't listened to DG in ages
[14:56] <ColonelPanic001> I have to do that today
[14:58] <rick_h> snap-l: so according to the twp ordinances here I can park it in my driveway as long as I don't hit the street with it
[14:58] <rick_h> snap-l: and it can't have permanent hookups to sewer/electrical/etc
[14:59] <brousch> Don't be that guy!
[14:59] <rick_h> heh, I don't want it sitting in the sun when I'm not using it so it won't be there much for sure.
[15:00] <rick_h> brousch: http://www.generalrv.com/inventory/286100/New-2014-Jayco-Jay-Feather-Ultra-Lite-X23B.aspx is what we're getting
[15:00] <rick_h> now to setup a camping bookie sprint lol
[15:00] <brousch> looks like my brother's. They really like it
[15:01] <rick_h> yea, I'm excited. I think it'll make for some good times with the boy at the current age and such
[15:16] <trevlar> I loved camping with my family when I was little
[15:16] <trevlar> definitely get one of these. my favorite camping accessory :) http://r1.coleman.com/ProductImages/Full/822-707T_500.jpg
[15:17] <brousch> I don't like camping
[15:24] <snap-l> JoDee doesn't like to camp. I don't mind it, having grown up with it.
[15:24] <rick_h> I've got visions of bookie hacking under an awning in some woods :)
[15:27] <jrwren_> my back yard is close enough to camping for me :p
[15:27] <jrwren_> i'm just getting use to house living instead of apt. living.
[15:28] <snap-l> jrwren_: Getting used to having to mow?
[15:28] <snap-l> Or do they hve an ordinance against grass growing there? :)
[15:35] <jrwren_> hired it out
[15:35] <jrwren_> i choose to skip that part of life
[15:37] <rick_h> lol of the day https://twitter.com/benbangert/status/347014183692410880
[15:50] <snap-l> rick_h: ++
[17:05] <snap-l> BTW: The BrickPip project funded with $127k
[17:05] <snap-l> s/BrickPip/BrickPi/
[17:14] <jrwren_> snap-l: did you see the A23 kickstarter?
[17:21] <snap-l> No, what is it?
[17:21] <snap-l> Assemblage 23?
[17:24] <jrwren_> yes
[17:25] <snap-l> Really wish this was CC licensed. ;)
[17:28] <snap-l> but only because I'd love to play assemblage 23 on the podcast.
[17:29] <snap-l>   I'm just happy I have Stromkern on the Mind / Body Vol. 3. ;)
[17:33] <jrwren_> stromkern put out new stuff?
[17:33] <snap-l> This is an old r.m.Industrial compilation
[17:33] <snap-l> rec.music.industrial
[17:34] <jrwren_> rmi is sitll around?
[17:34] <jrwren_> i read rmi a few times back in the 90s
[17:34] <snap-l> http://www.discogs.com/Various-Mind-Body-Compilation-Volume-3/release/812293
[17:35] <snap-l> I also have Stromkern's Light it Up album in digital form
[17:35] <snap-l> added more to my wishlist.
[17:35] <jrwren_> good album
[17:36] <snap-l> Yeah, it's great mowing music. :)
[17:37] <snap-l> http://www.discogs.com/Stromkern-Light-It-Up/master/41534
[17:44] <greg-g> jrwren_: whoa, your retweet just blew my mind
[17:44] <greg-g> the madonna one
[18:07] <jrwren_> :)
[18:08] <greg-g> and now I'm reading the rape story and disgusted
[18:14] <jrwren_> brave writing.
[18:14] <jrwren_> i need to start saving these and have my daughter read them when she is older
[18:19] <greg-g> ditto re my son
[18:24] <snap-l> I don't understand how someone could do that (was re: the rape story)
[18:24] <jrwren_> sociopaths are around :(
[18:25] <jrwren_> the scary part to me is that the same person was functional enough to have a professional job.
[18:27] <greg-g> right, if you're in an org of any size, really, you're working with someone who would do/has done this (chances are)
[18:29] <jrwren_> scary
[18:29] <snap-l> There's something to be said for consensual. :)
[18:30] <jrwren_> ha!
[18:32] <jrwren_> i REALLY need to get to know make better.
[18:32] <jrwren_> https://github.com/mbostock/world-atlas/blob/master/Makefile
[18:34] <snap-l> And I'm pretty sure "am I going to rot in prison for killing this asshole" is not the kind of sexy-time pillowtalk that most folks crave.
[18:36] <jrwren_> rule54?
[18:36] <jrwren_> but certainly not "most folks"
[18:37] <snap-l> I think you mean Rule 34
[18:37] <snap-l> which probably means there's porn of someone out there using the Make command.
[18:37] <jrwren_> oh, yes, that.
[18:37] <jrwren_> its probably make me a sandwich porn
[18:38]  * brousch looks at rick_h's video collection
[18:39]  * rick_h unplugs the NAS from the internet real quick...
[18:39] <snap-l> "You Autocomplete Me, vol 2"
[18:39] <snap-l> "ZSH hotties from hell"
[18:40] <jrwren_> root cause analysis
[18:40] <snap-l> Here we go: Gals of Sudo: Make me
[19:37] <snap-l> I can't wait to leave this airconditioning so I can be cool outside.
[19:37] <snap-l> Ugh
[19:41] <brousch> You're cool everywhere you go, snap-l
[19:42] <snap-l> I wish. :)
[20:06] <snap-l> greg-g: Re: relicensing MySQL man pages: Fuck that shit.
[20:06] <snap-l> https://blog.mariadb.org/mysql-man-pages-silently-relicensed-away-from-gpl/
[20:08] <snap-l> http://dev.mysql.com/doc/refman/5.1/en/preface.html#legalnotice
[20:09] <jrwren_> oracle!
[20:38] <greg-g> so glad WMF switched to MariaDB recently :)
[20:38] <greg-g> ef oracle
[22:25] <greg-g> snap-l: I just listened to the Allergic Reactionary episode, and uh, what an ending
[23:48] <snap-l> greg-g: You like? :)