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