snap-l | http://www.faterpg.com/licensing/ | 03:17 |
---|---|---|
rick_h__ | morning | 12:01 |
* rick_h__ needs more sleep | 12:01 | |
widox_ | whoa trevlar, having some issues? | 13:10 |
=== widox_ is now known as widox | ||
trevlar | do I keep disconnecting? | 13:12 |
trevlar | hmm yeah didn't notice | 13:12 |
trevlar | not sure if it was comcast or what. sorry for the flood :/ | 13:22 |
snap-l | Good mornign | 13:41 |
snap-l | https://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 error | 14:21 |
snap-l | jrwren_: I'm sure there's a way, but I've never explored it | 14:31 |
snap-l | seems like one of those "you're doing it wrong" things. | 14:31 |
snap-l | even though it's likely supported | 14: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-l | This statement is going into every business management book as how not to do PR with your customers | 14:33 |
snap-l | jrwren_: It's no perl / awk drop-in. ;) | 14:33 |
jrwren_ | yup | 14:33 |
snap-l | How's the afternon treating everyone? | 17:14 |
greg-g | not there yet | 17:14 |
snap-l | Well hurry up, dammit | 17:14 |
snap-l | Pretty soon it'll be evening and you'll just be starting the afternoon | 17:15 |
snap-l | amateurs | 17:15 |
greg-g | lazy coast | 17: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_h | 19:45 |
greg-g | rubber ducky you're the one, you make bathtime lots of fun | 19:52 |
snap-l | We've secretly replaced rick_h with a rubber ducky. Let's see if anyone notices. | 19:55 |
rick_h | hah, no one will notice | 20:22 |
rick_h | jrwren_: yes, conditional imports like that tend to be more pita than they're worth for most modules | 20:22 |
rick_h | jrwren_: and make for non-obvious bugs when you don't see the import | 20:22 |
rick_h | though 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_h | well, python will only import once | 20:29 |
rick_h | it's a manual step to re-import something | 20:29 |
jrwren_ | i thought it reruns the module commands? | 20:29 |
* jrwren_ tests | 20:29 | |
rick_h | jrwren_: no, only does on the first time, then it's in the sys.modules or some magic place and doesn't re-import | 20:30 |
rick_h | it's why using things like ipython/etc are a pita sometimes when you're changing the module you're tinkering with | 20:30 |
rick_h | some provide a shortcut to force a re-import | 20:30 |
jrwren_ | indeed. | 20:30 |
jrwren_ | i knew reimport was differnt | 20:31 |
jrwren_ | but I really thought it ran the module statements again. shows wtf I knew. | 20:31 |
rick_h | yes, 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 file | 20:32 |
rick_h | only big things that you might not need (numpy or such?) might be worth cheating and importing at use time | 20:33 |
jrwren_ | cherrypy | 20:33 |
jrwren_ | *sigh* | 20:33 |
jrwren_ | anyone know offhand how cherrypy 2.2.1's dispatcher works? :) | 20:35 |
rick_h | magic :) | 20:36 |
rick_h | I looked at it long ago :/ | 20:36 |
jrwren_ | ugh | 20:36 |
snap-l | I'm not a fan of magic in my code | 20:56 |
greg-g | all you judgemental scientists, could use a bit more magic in your lives | 20:56 |
greg-g | </sfhippy> | 20:57 |
jrwren_ | its not really magic. | 21:01 |
rick_h | heads up, we don't have the room at CHC tonight. Last time this year it looks like | 22:47 |
snap-l | Ah, so we're amongst the commoners then? | 22:54 |
rick_h | yep | 22:55 |
rick_h | kind of empty tonight so hopefully stays that way | 22:55 |
wolfger | you people and your coding | 23:09 |
wolfger | :-p | 23:09 |
wolfger | I don't know if I can even remember how to write a Perl script anymore | 23:09 |
snap-l | #!/usr/bin/perl | 23:10 |
snap-l | print "Aw, fuck it"; | 23:10 |
snap-l | There you go | 23:10 |
wolfger | n | 23:15 |
wolfger | m"m | 23:15 |
wolfger | and if that doesn't look right, you need a monospace font :-p | 23:15 |
greg-g | middle finger? | 23:16 |
wolfger | +1 | 23:16 |
wolfger | I may not code anymore, but I'll still tell the Perl-haters to suck it | 23:17 |
rick_h | wtf, did they make wolfger a manager or something? why for no coding? | 23:18 |
wolfger | I do believe they are trying to turn me into a manager | 23:18 |
wolfger | and in my spare time I've been... distracted? lazy? something else? all of the above? | 23:18 |
wolfger | I 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 |
wolfger | and 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-g | really? | 23:21 |
wolfger | fo' realz | 23:21 |
wolfger | putting together a business plan, trying to figure out exactly how much cash I need to make a viable go of it | 23:22 |
greg-g | nice | 23:22 |
greg-g | where abouts? | 23:22 |
wolfger | how much beer I need to sell to at least stay afloat | 23:22 |
greg-g | all I saw was "beer ... float" | 23:22 |
wolfger | I'm looking for near home. There's a dearth of microbreweries in NE Macom and St. Clair counties | 23:23 |
wolfger | lol | 23:23 |
wolfger | s/Macom/Macomb/ | 23:23 |
wolfger | at least I still remember simple regex.... | 23:23 |
wolfger | Once I have a plan and some cash I'll start hunting for a lease place within bicycle distance. | 23:24 |
greg-g | good plan | 23:24 |
wolfger | It won't be close to my partner's house, but he wants to move anyway :-p | 23:25 |
greg-g | sounds like your going to force the issue ;) | 23:25 |
wolfger | the 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 life | 23:26 |
greg-g | or sleep | 23:26 |
greg-g | s/or/and/ | 23:26 |
greg-g | alright, speaking of, time to head home | 23:26 |
greg-g | later | 23:26 |
greg-g | good luck wolfger, keep your old pals informed! | 23:26 |
wolfger | DragonMead had wonky hours when they started out, and they became very successful, so I know it's *possible* | 23:26 |
wolfger | o/ greg-g | 23:27 |
wolfger | but 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 me | 23:28 |
snap-l | wolfger: I believe they called it "Being the team lead" | 23:55 |
snap-l | Which was essentially being a project manager without the paygrade | 23:55 |
wolfger | bingo | 23:59 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!