/srv/irclogs.ubuntu.com/2013/06/12/#ubuntu-us-mi.txt

snap-lhttp://www.faterpg.com/licensing/03:17
rick_h__morning12:01
* rick_h__ needs more sleep12:01
widox_whoa trevlar, having some issues?13:10
=== widox_ is now known as widox
trevlardo I keep disconnecting?13:12
trevlarhmm yeah didn't notice13:12
trevlarnot sure if it was comcast or what. sorry for the flood :/13:22
snap-lGood mornign13:41
snap-lhttps://bmark.us/craig/recent/deal?count=50&page=0#13:41
* snap-l is finding a use for Bookie as a URL shortener. ;)13:42
jrwren_how can I make python be like perl -p ?14:21
jrwren_python -c 'import sys;for line in sys.stdin.readlines(): print line' says error14:21
snap-ljrwren_: I'm sure there's a way, but I've never explored it14:31
snap-lseems like one of those "you're doing it wrong" things.14:31
snap-leven though it's likely supported14:32
snap-l"This is a big change, consumers don't always love change, and there's a lot of education we have to provide to make sure that people understand."14:32
jrwren_i gave up.14:32
jrwren_then i ran into other pythonisms.14:32
jrwren_python is a nice language.14:32
snap-lThis statement is going into every business management book as how not to do PR with your customers14:33
snap-ljrwren_: It's no perl / awk drop-in. ;)14:33
jrwren_yup14:33
snap-lHow's the afternon treating everyone?17:14
greg-gnot there yet17:14
snap-lWell hurry up, dammit17:14
snap-lPretty soon it'll be evening and you'll just be starting the afternoon17:15
snap-lamateurs17:15
greg-glazy coast17:16
=== rick_h__ is now known as rick_h
jrwren_rick_h: help me with my python, you are my only hope.19:43
jrwren_i've go a module level function which then imports another module which I need to patch. is there any hope for me?19:43
jrwren_I htink I should just move the import statement to the top of file. who knows, maybe I'll get better perf by only importing once?19:43
jrwren_yes, that is what I shall do.19:45
jrwren_thank you rubberduck rick_h19:45
greg-grubber ducky you're the one, you make bathtime lots of fun19:52
snap-lWe've secretly replaced rick_h with a rubber ducky. Let's see if anyone notices.19:55
rick_hhah, no one will notice20:22
rick_hjrwren_: yes, conditional imports like that tend to be more pita than they're worth for most modules20:22
rick_hjrwren_: and make for non-obvious bugs when you don't see the import20:22
rick_hthough sometimes circular imports drive you batty and end up forcing it :(20:23
jrwren_plus... why not import a module which imports lots of other modules every time a function is called :)20:24
rick_hwell, python will only import once20:29
rick_hit's a manual step to re-import something20:29
jrwren_i thought it reruns the module commands?20:29
* jrwren_ tests20:29
rick_hjrwren_: no, only does on the first time, then it's in the sys.modules or some magic place and doesn't re-import20:30
rick_hit's why using things like ipython/etc are a pita sometimes when you're changing the module you're tinkering with20:30
rick_hsome provide a shortcut to force a re-import20:30
jrwren_indeed.20:30
jrwren_i knew reimport was differnt20:31
jrwren_but I really thought it ran the module statements again. shows wtf I knew.20:31
rick_hyes, it's a bit more performant than that. Why it's not much better than just importing it on startup at the top of the file20:32
rick_honly big things that you might not need (numpy or such?) might be worth cheating and importing at use time20:33
jrwren_cherrypy20:33
jrwren_*sigh*20:33
jrwren_anyone know offhand how cherrypy 2.2.1's dispatcher works? :)20:35
rick_hmagic :)20:36
rick_hI looked at it long ago :/20:36
jrwren_ugh20:36
snap-lI'm not a fan of magic in my code20:56
greg-gall you judgemental scientists, could use a bit more magic in your lives20:56
greg-g</sfhippy>20:57
jrwren_its not really magic.21:01
rick_hheads up, we don't have the room at CHC tonight. Last time this year it looks like22:47
snap-l Ah, so we're amongst the commoners then?22:54
rick_hyep22:55
rick_hkind of empty tonight so hopefully stays that way22:55
wolfgeryou people and your coding23:09
wolfger:-p23:09
wolfgerI don't know if I can even remember how to write a Perl script anymore23:09
snap-l#!/usr/bin/perl23:10
snap-lprint "Aw, fuck it";23:10
snap-lThere you go23:10
wolfger n23:15
wolfgerm"m23:15
wolfgerand if that doesn't look right, you need a monospace font :-p23:15
greg-gmiddle finger?23:16
wolfger+123:16
wolfgerI may not code anymore, but I'll still tell the Perl-haters to suck it23:17
rick_hwtf, did they make wolfger a manager or something? why for no coding?23:18
wolfgerI do believe they are trying to turn me into a manager23:18
wolfgerand in my spare time I've been... distracted? lazy? something else? all of the above?23:18
wolfgerI had to actually think about PLC coding today for the first time in I don't know how long, and the rust really showed.23:19
wolfgerand that's what I used to do for a living. That was what I was a star at.23:20
wolfger<shrug> I'm working on starting up a microbrewery. To hell with the tech industry. :-)23:21
greg-greally?23:21
wolfgerfo' realz23:21
wolfgerputting together a business plan, trying to figure out exactly how much cash I need to make a viable go of it23:22
greg-gnice23:22
greg-gwhere abouts?23:22
wolfgerhow much beer I need to sell to at least stay afloat23:22
greg-gall I saw was "beer ... float"23:22
wolfgerI'm looking for near home. There's a dearth of microbreweries in NE Macom and St. Clair counties23:23
wolfgerlol23:23
wolfgers/Macom/Macomb/23:23
wolfgerat least I still remember simple regex....23:23
wolfgerOnce I have a plan and some cash I'll start hunting for a lease place within bicycle distance.23:24
greg-ggood plan23:24
wolfgerIt won't be close to my partner's house, but he wants to move anyway :-p23:25
greg-gsounds like your going to force the issue ;)23:25
wolfgerthe tough part will be getting it up and running while keeping the day job, but if I keep my current position I'm pretty solid on 40 hours no weekends, so... I'll just have no life23:26
greg-gor sleep23:26
greg-gs/or/and/23:26
greg-galright, speaking of, time to head home23:26
greg-glater23:26
greg-ggood luck wolfger, keep your old pals informed!23:26
wolfgerDragonMead had wonky hours when they started out, and they became very successful, so I know it's *possible*23:26
wolfgero/ greg-g23:27
wolfgerbut yeah, I seem to be on my last project as a guy who actually does stuff (very losely defined). My next project I will be babysitting other people who are (very loosely) doing stuff. It's like they're trying to force managerdom on me23:28
snap-lwolfger: I believe they called it "Being the team lead"23:55
snap-lWhich was essentially being a project manager without the paygrade23:55
wolfgerbingo23:59

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