/srv/irclogs.ubuntu.com/2011/08/29/#ubuntu-us-mi.txt

brouschsnap-l: i found 3 good bands due to club metal #4. i'm especially surprised that i like http://unwoman.bandcamp.com/album/unremembered00:09
snap-lbrousch: Yeah, that's an awesome album.00:39
snap-lBought that on disc because I liked it so much00:40
brouschi like so few female singers00:51
snap-lWhat were the other bands you found?00:59
brouschneurotech, cryogen second01:08
jrwrenold Hanzel Und Gretyl is great.01:10
snap-lUber Alles is awesome01:15
snap-lbrousch: Yeah, I was really happy to have found Neurotech01:16
snap-lthat pretty much sealed me putting out the episode. :)01:16
snap-lI want more of that sort of music01:16
snap-lhttp://www.youtube.com/watch?v=FOtjiMYUJ_s01:20
snap-lunfortunatley they lost their domain01:20
_stink_heh, that python fiddler thing looks really broken.01:40
_stink_importing json and trying to dumps() a list causing a library traceback, and the gmail oauth isn't set up right.01:41
rick_h_heh, sure it's got issues02:10
Wolfgermorning11:58
brousch++11:58
rick_h_morjning12:01
rick_h_brousch: http://pyrseas.wordpress.com/2011/08/29/dueling-frameworks/12:01
rick_h_he's ranting on your flask, attack!12:01
brouschhehe12:03
brouschi think 0.8 due next week has the class-based thing12:04
brouschand i have trouble with the database passing12:05
rick_h_passing?12:05
rick_h_the per request session management?12:05
brouschwell, passing the db variable around12:05
rick_h_import it12:05
rick_h_you're not doing db stuff in your controller actions are you :P12:06
brouschthe db connection needs the app12:06
brouschand then the app needs the db12:06
rick_h_hmm, maybe one day I'll check it out. I keep meaning to find an excuse to do something in flask12:06
rick_h_I've had to figure it out in pylons and pyramid and command line scripts so usually able to get a handle on the stuff these adys12:06
brouschflask-sqlalchemy needs the app to make the base in the models12:07
rick_h_but not looked at how that flask plugin/addon works12:07
brouschbut then to use the db in the app, you have to import models12:07
brouschit doesn't seem right to me12:07
rick_h_oh, circular dep issue?12:07
brouschyeah12:07
brouschif it's all in one file, like a very simple app, then it's fine. but when i break out models it gets ugly12:08
rick_h_well normally what you find is what pylons/pyramid does12:08
rick_h_the models originally are attached to a base with no db on it12:08
rick_h_then there's an "init_models(engine)"12:09
rick_h_that accepts a build db engine and assigns it to the base12:09
rick_h_that way on initial import the models can load, but just don't talk to anything, and then at the end of your app "boot" phase, it grabs the engine data from your config and runs init_models12:09
rick_h_https://github.com/mitechie/Bookie/blob/master/bookie/models/__init__.py#L4412:10
rick_h_for example in bookie12:10
brouschthat is the biggest init.py i've ever seen12:12
rick_h_yea, I'm bad, I should move the bmark stuff all out12:12
rick_h_but it starts as a single models.py file12:12
rick_h_and I moved it into a module and didn't clean it all up12:12
snap-lgood morning12:22
brouschin my little cherrypy python test i was about to run into the circular issue again12:22
brouschthe main app has all of the config, and the model needs to access it to get the db config12:22
brouschbut then app needs the model to do db stuff12:23
brouschso i was going to have the model access the config without going through the app, but then the config is being parsed twice, or there are two config files12:24
rick_h_booo12:25
rick_h_just delay, you don't need the model stuff until the ned of the app code anyway.12:26
rick_h_that's what that initialize_sql thing is doing12:26
rick_h_get an app up somewhere brousch and I'll edit it and show you what I mewan12:26
brouschi think i see it now12:26
brouschhave a function in the models.py that someone else can call to create the engine12:26
rick_h_right12:27
brouschthen the model has no need to know the config, the app can call the create_engine function with the right dburi12:27
rick_h_call that  after imports and all that work is deon from your app12:27
rick_h_right12:27
rick_h_exactly12:27
brouschmuch better12:27
rick_h_and you don't end up with models dependant on a config file12:27
rick_h_you can still load them via ipython, external script and just feed it an engine12:28
brouschi like that12:28
rick_h_http://bazaar.launchpad.net/~barry/flufl.enum/trunk/files/head:/flufl/enum/__init__.py?file_id=flufl-20100424151503-h6gekpiiqsaprkiu-113:13
rick_h_does that load for anyone else?13:13
brouschnope13:14
rick_h_k, glad it's not just me then13:16
rick_h_that was kind of not unpleasant13:54
rick_h_tv is cancelled, officially a cord cutter13:54
rick_h_finding the number took some work, but not real pressure/hard time cancelling13:54
brouschthey know you'll be back13:54
rick_h_lol13:55
rick_h_yea, actually don't think I've not had cable/etc since I can remember13:55
rick_h_so will be a new trial for sure13:55
jcastrorick_h_: I am sans cable down here14:03
rick_h_jcastro: yea, with roku + ota hd I'm hoping it's enough for the wife's needs14:03
rick_h_going to buy a  second roky for upstairs I think14:03
jcastroI have an hdhomerun but I need an antenna, just haven't bothered14:03
rick_h_roku, damn I can't type today14:03
rick_h_yea, finally got an antenna and put it up in the attic this weekend14:03
rick_h_works great, couple of channels look really nice14:03
rick_h_crazy to think for the cost of tv service could buy a roku a month :/14:05
brouschi just use the $15/mo cable service. all local channels nice and clear14:08
rick_h_$99 antenna, no need for $15/mo14:08
rick_h_does that still require a box brousch ?14:09
brouschno14:09
brouschrick_h_: bah, my Flask circular dependency is my own stupidity. i am using an application-specific path inside of my model. i can easily fix that14:15
rick_h_ah, ok14:15
=== jjesse_ is now known as jjesse
brouschi refactored out the circular dependency and eliminated a few lines of code in the process14:42
brouschwhy is it when i do something the right way i end up with less code?14:43
snap-lheh. :)14:46
snap-lIt's the way of it. :)14:46
rick_h_it's a very true sign14:55
rick_h_whenever I'm forcing a bad design I have all kinds of crap code trying to make things happen14:55
rick_h_and later on, it hits me, and code gets cut in 1/314:55
snap-lCan someone riddle me why I keep running ruby on my machine?15:44
rick_h_because there's something cool on there?15:44
rick_h_and you have an on again/off again relationship with tracks?15:44
snap-lyes15:44
gamerchick02what does Ruby give you that Java or C can't?15:44
snap-lAnd for some reason I keep following the development branch that goes from working to not working15:45
snap-lgamerchick02: tracks15:45
rick_h_cool libraries/packages :)15:45
gamerchick02is it love? coffee in the morning?15:45
* gamerchick02 is being silly again15:45
* rick_h_ parses snap-l's line there and wonders if that was rhetorical or not15:45
snap-lrick_h_: Which line?15:45
rick_h_"And for some reason I keep following the development branch that goes from working to not  working15:46
rick_h_"15:47
rick_h_sorry, monday, I'm not coherent today15:47
gamerchick02then why run the dev branch?15:47
rick_h_gamerchick02: sssshhhhh15:47
snap-l    Convert tracks to use Bundler for gem resolution15:47
rick_h_lol15:47
gamerchick02i run the dev-daily of chromium, but if it borks, i go back to firefox. no big hairy deal.15:47
rick_h_woo! ruby, where there's no standard tool to do anything, but 20 ways to do it differently15:47
gamerchick02rick_h_: I like being silly sometimes15:48
gamerchick02and happy Monday to all.15:48
snap-lWhich apparently is like saying "lets use pip, but not the one that works"15:48
rick_h_snap-l: you hit up devin on CHC? I'm going to be late and wonder if we can work out the gift card purchasing situation.15:48
snap-lhttps://github.com/carlhuda/bundler/issues/86515:48
snap-lNeck: fuck me in15:49
snap-lrick_h_: That's the plan, or I'm screwed to make it out again.15:49
rick_h_k15:49
rick_h_I need to go find food...grrrrr15:49
snap-lApparently when you do "gem install bundler" it does not put a command "bundle" ahywhere that is usable15:50
snap-lah, because ruby on Ubuntu installs libraries in /var15:51
snap-lhow fucking brilliant15:51
rick_h_yea, I had to manually patch paths for that in arch as well15:54
rick_h_puts stuff in /opt15:54
snap-lwhy?15:54
snap-lunless you're Sun, nothing goes in /opt15:54
snap-l/var/lib/gems/1.8/gems/bundler-1.0.18/lib/bundler/index.rb:110: [BUG] Segmentation fault15:55
snap-lI think I need to seriously write a python implementation of Tracks15:55
snap-lthis is stupid.15:55
_stink_o/15:56
snap-lInstalling ZenTest (4.6.1) /usr/lib/ruby/1.8/rubygems/installer.rb:170:in `install': ZenTest requires RubyGems version ~> 1.8. Try 'gem update --system' to update RubyGems itself. (Gem::InstallError)15:59
rick_h_uh oh, snap-l having fun?16:41
rick_h_time to figure out rvm or something me thinks16:41
rick_h_forget that system level ruby stuff16:41
snap-lI'm done.16:41
rick_h_lol16:41
snap-lI'm rewriting this thing in Python16:41
rick_h_virtuanenv --no-site-packages tacks_not_ruby16:41
snap-lI'll need some help with the interface to get what I want, but frankly I'm sick of feeling like my system is overrun by idiots.16:42
Blazeixyou could call it 'pins'16:42
rick_h_man, if only you knew anyone that did web development, some uis, and in something not ruby :P16:42
snap-land flavor of the month club shit16:42
Blazeixor 'pyns'16:42
snap-lrick_h_: Yeah, and if only there was a framework that could tie all of the models and views and controllers together16:43
rick_h_ouch, that's a toughy16:43
snap-lBlazeix: Half tempted to call it Amish Rake Fight16:43
snap-l(except there's already a band called that)16:43
Blazeixto google it is16:43
snap-lRegardless, I need to migrate my stuff again to todo.sh so I at least have something to look at16:45
snap-lBut this is it. I'm done with Ruby.16:45
Blazeixhave you ever played around with emacs org mode?16:45
BlazeixI have a friend who organizes his entire life using that16:46
rick_h_there's a vim port, before you get the idea of launching emacs in a virtualmachine16:46
snap-lBlazeix: Have you ever stuck your finger in a light socket?16:46
Blazeixnot a fan?16:46
snap-lNot particularly16:46
BlazeixIt specifically calls out GTD as something it handles :)16:46
snap-lboth of emacs and of org mode16:46
snap-lmaybe I haven't given it enough time, but most of the text based ones I've seen use project identifiers that look more like a Scott Adams text adventure16:47
snap-lGET BANK16:47
snap-lCLEAN GARAGE16:47
snap-lPLAY FIDDLE16:47
snap-lI don't work that way.16:47
gamerchick02you play the fiddle?16:47
snap-lgamerchick02: and I dance with the devil in the pale moonlight16:48
gamerchick02ooooh, cool. :)16:48
gamerchick02all i can think of is hyperbole and a half when you posted that: GET BANK, CLEAN GARAGE, etc16:48
BlazeixWhat are you, a wizard?16:50
snap-l(note: no, I don't play the fiddle, unless you count making cat-in-pain noises).16:51
Wolfgerthe snap-l went down to Georgia? No?16:52
snap-lI can play that song... on the radio.16:53
Wolfger:-)16:53
gamerchick02:-D16:53
Wolfgerspeaking of snap-l and radio... I was listening to Pandora on my commute today, and I "liked" Nickelback and Metallica within minutes of each other. I contemplated the possibility this might make Pandora explode...16:54
snap-lWolfger: No, just shows you have no taste. ;)16:55
WolfgerI should have not liked Metallica?16:55
snap-lDepends... was it pre-load or post-load?16:56
WolfgerI have no idea what that even means16:56
snap-lWhat song was it that you liked?16:57
WolfgerSad But True17:00
rick_h_pre-load17:01
rick_h_though I tend to referrer to metallica as pre-black and post-block17:01
rick_h_the load era is just something that's better forgotten17:01
snap-lYeah17:02
Wolfgercreated this station off a single song suggestion a couple weeks ago for Alcohaulin' Ass by Hellyeah. So far, it's been pretty good for me.17:03
gamerchick02Nice, wolfger. but why Nickelback?17:07
Wolfger*sigh* Not you too...17:08
gamerchick02no, i'm asking why? i like a couple of songs by them17:08
gamerchick02i don't openly admit it, lest my hipster cred be tarnished...17:08
Wolfgerlol17:08
gamerchick02:-D17:08
gamerchick02i've got the black rimmed glasses and the chucks.17:08
WolfgerI like Nickelback. The songs that don't hit the top 40 more than those that do.17:09
gamerchick02i don't fit skinny jeans, but hey, 2 out of 3 ain't bad.17:09
gamerchick02ah. :)17:09
Wolfgerwell, except Rock Star. That one's cool *and* popular17:09
gamerchick02:)17:09
brouschsnap-l: where on your TODO list does the Pyramid-based task organizer go?17:51
snap-lIt goes into todo.sh. ;)17:51
brouschbefore you can add todo.py to your tasks list, you must first create todo.py17:52
brouschyour mission is to write a minimal task list today, and have it always working as you enhance and build it. this way you will only add features you need as they become more important than other tasks on your list17:55
rick_h_remember, api first, then app :)17:55
rick_h_hmm, so is he rewriting tracks or todo.sh?17:56
brouschi have no idea what the difference is17:56
rick_h_tracks is a web based app, todo.sh is a command line plain text deal17:56
brouschi'm just trolling to procrastinate doing real work17:56
rick_h_yea, I'm done with real work for the day17:57
Wolfger\o/17:57
rick_h_http://joeybeninghove.com/2011/08/16/backbone-screencast-introduction-views/ watching this17:57
rick_h_but man is he hard to watch/listen to17:57
rick_h_getting some yummy ideas though17:57
snap-lI'm rewriting tracks17:58
rick_h_cool17:58
snap-lAt least that's the plan. :)17:58
rick_h_from ruby to python you should be able to almost just port it vs rewrite it17:58
brouschi demand a native android client18:02
* Wolfger just heard brousch volunteer18:03
brouschyes, i volunteer to demand a native android client18:03
Blazeixspeaking of which, has anyone played around with phonegap at all?18:05
rick_h_brousch: was playing around with it18:05
brouschi made 2 tiny apps with phonegap18:05
Blazeixthoughts? It seems like a good way to make webapps with app store support.18:05
Blazeixdo they provide JS bridges to native APIs?18:06
brouschyes18:07
brouschsome APIs18:07
rick_h_http://docs.phonegap.com/18:07
rick_h_yea, not all18:07
brouschit is basically a wrapper around webkit with some native API access18:07
brouschso your app is javascript/html/css18:08
rick_h_hah! http://net.tutsplus.com/tutorials/javascript-ajax/getting-started-with-backbone-js/18:14
rick_h_backbone collections are just my xxxMgr objects18:15
rick_h_awesome18:15
_stink_snap-l: i wrote pydidit as a sqlalchemy/curses todo app, but i confess it was my first attempt and is pretty broken.  and it's not necessarily GTD. :)  but let me know if you get something going, i'd love to look at it/help out.18:27
jjessefor those of you with the HP tablet, looks like CyanogenMod now works on it18:28
jjessehttp://techcrunch.com/2011/08/29/cyanogenmod-team-gets-android-working-on-hp-touchpad/18:28
krondorjjesse:  works is relative... no touchscreen support yet I thought18:32
Wolfgertouchpad - touch screen = brick?18:36
rick_h_if bt works you can keyboard18:36
rick_h_think they had a bt keyboard for the pre18:36
rick_h_it's a good step, I had heard the graphics chip was diff than most android devices, so if they got a gui, that's a good step18:36
snap-l_stink_: I'd really love some of your help with this18:36
_stink_snap-l: if you create a project or googlegroup or anything, please include me18:37
snap-lI'm going to set up some models and hopefully push up some code real-soon now.18:37
rick_h__stink_: at CHC?18:37
snap-lIt'll likely be on github.18:37
_stink_awesome.18:37
krondorrick_h_:  yeah it's an adreno 22018:37
rick_h_:P18:37
_stink_rick_h_: someday :P18:37
_stink_this Wednesday is the end of the zoo summer concerts18:38
rick_h_hmm, have to squeeze in some time before hockey starts :P18:38
rick_h_how's the boy doing?18:38
_stink_he's good.  seems to have gotten past a few of the devil child things he picked up a few weeks ago18:38
_stink_but pretty typical goofy toddler atm18:39
_stink_yours?18:39
rick_h_hah! let me know how you get those out. toddler-hood is going to test my new found adult patience18:39
rick_h_oh he's great as long as I'm biking him around or mowing for him to watch, or something else that involves dad working his @#$#@ off18:39
_stink_we just try to be relentless in correcting him18:40
_stink_hah18:40
rick_h__stink_: yea, steady wins the race you hope18:40
_stink_rick_h_: hah, so he's making you work.18:40
_stink_i think there are some potential health benefits to fatherhood18:40
rick_h_I credit him with half my weight loss. He's a slave driver18:40
_stink_i can lift more than i could beforehand18:40
rick_h_heh, that's for sure18:40
brouschThree is the worst age so far18:52
brouschpotty training is going to kill me18:53
brouschso you've got that to look forward to18:53
rick_h_yea, just ordered a potty seat18:54
rick_h_and stool, so getting to start that18:54
_stink_we got a potty, but it's just sitting for now18:54
_stink_not really thinking about that yet18:54
rick_h_the day care room he's in makes him do it before he moves on18:55
_stink_damn18:55
_stink_pressure. :)18:55
rick_h_but yea, it's more of an early stage, trying to get him interested, "do you need a new diaper" etc18:55
rick_h_sweet, my python namespaced packages are working18:56
rick_h_time to start up my own python namespace18:56
rick_h_from mitechie.something import awesomesauce18:57
_stink_hah18:57
rick_h_I wonder if my boss would let me post our tools up18:57
snap-lhttps://github.com/craigmaloney/PyTracks20:59
brouschright at 5pm? seriously?21:01
brousch:P21:01
snap-l;)21:01
snap-lIt's just a pyramid shell right now21:02
_stink_o/21:02
snap-lI FUCKING HATE CAPTCHAS21:06
snap-lhttp://identi.ca/conversation/79356145#notice-82009866 <- seriously?21:22
BlazeixI hesitate to say this, but I'm with psquid21:46
* Blazeix ducks21:46
Blazeixalso, I read that thread as psquid prefacing all his comments with "oh snap!"21:54
snap-lhttp://identi.ca/conversation/7935614521:55
snap-lBlazeix: captchas are not a solution. They're a stop-gap21:55
snap-lhttp://identi.ca/notice/82013382 <- Blazeix21:56
Blazeixsnap-l: are you against captchas in their current form, or captchas in general?22:00
Blazeixby "in general" I mean taking the literal definition of an automated way of telling comps and humans apart.22:01
Blazeixmaybe every 50th captcha I run into I have trouble deciphering, but there's a refresh button to bypass it.22:02
snap-lI'm against them because they're user-hostile22:03
Blazeixyou've yet to answer any of psquids questions with a serious answer.22:03
Blazeixso what's your ideal solution?22:03
snap-lAwesome, he blocked me.22:03
BlazeixI'll agree that captchas aren't the ideal solution, but they are a solution.22:03
snap-lmy point is that they're not effective because humans can route around them to get spam accounts22:04
snap-land the problems with normal users outweigh the benefits.22:04
Blazeixsnap-l: you mean mechanical-turk style?22:06
snap-lYes.22:06
Blazeixyeah, that is an issue, and I don't see a way around it.22:06
Blazeixbut it's a difference of rates22:07
Blazeixa computer can spam 100s (or 1000s) per minute.22:07
Blazeixor at least, way faster than a human can.22:07
snap-lUnderstood, but there are better ways of dealing with that that don't inconvenience users.22:07
Blazeixlike what?22:08
snap-lmoderation, throttling22:08
BlazeixThe one thing that comes to mind is an empty field that's hidden22:08
Blazeixthrottling wouldn't be useful, due to bot net spam.22:08
Blazeixmoderation would be insane without some other way of limiting spam.22:09
snap-lThere's also algorithmic pattern matching (akismet)22:09
snap-lIn each of these, it's transparent to the user.22:09
Blazeixakismet is pretty awesome, but it isn't perfect, and you have false positives.22:11
snap-lI'm very passionate about making the user experience better, and CAPTCHAs inhibit that.22:11
snap-lBlazeix: You get false positives with CAPTCHAS22:11
Blazeixtrue, but I'd wager less than akismet. though i don't have any stats to back that up22:12
snap-lI've had well-known sites eat postings that I just said "fuck it" because the CAPTCHA killed my post22:12
snap-lI don't either22:12
Blazeixyeah, you raised that on the ident thread22:12
Blazeixthat's an issue with crappy sites, rather than CAPTCHAs22:12
snap-land that's what really pissed me off about that conversation was me venting my spleen turned into having to defend why I think they're stupid22:12
Blazeixany site worth its salt will use some ajaxy thing22:12
BlazeixI suppose I'm not helping by raising it in IRC, then22:13
snap-lI have yet to see a captcha that made me thrilled to use it22:13
snap-lBlazeix: I feel more comfortable talking to you about it because I know you22:13
snap-lYou're not going to block me because I'm an ass.22:13
BlazeixI guess very few CAPTCHAs induce happiness (short of the find a puppy captchas), but a site not being overrun by spam does. at least for me.22:15
snap-lTrue, but they're a false sense of security22:16
BlazeixI don't believe there's a solution that can give you true security. I'm not arguing it's anywhere close to perfect, but it does help, and I wouldn't want captchas to disappear tomorrow.22:18
BlazeixI definitely wouldn't call them "ineffective." But we can continue this at CHC :)22:18
Blazeixif you want22:18
snap-lNo, I'm good. :)22:24
snap-lhttp://identi.ca/notice/8201600822:26
snap-lhttp://seldo.tumblr.com/post/9549775746/this-is-genuinely-microsofts-idea-of-a22:31
Blazeixoh jesus that's ugly22:36
Blazeixthe only good part is that the ribbon is hideable, so you can get rid of all that crap and use keyboard shortcuts.22:37
Blazeixthe way god intended.22:37
snap-lI love the design differences between MS and Apple22:38
snap-lMS makes the buttons bigger22:38
snap-lApple does away with the buttons22:38
snap-lam I right in thinking that tmpfs should't fill up?22:45
snap-ltmpfs           /tmp            tmpfs   nodev,nosuid,mode=1777 0 022:45
snap-ltmpfs                  4097040   4097040         0 100% /tmp22:45
snap-lFilesystem           1K-blocks      Used Available Use% Mounted on22:45
snap-lThis is really fucked up.22:48
snap-lGoing to remove tmpfs and reboot.22:48
snap-lbrb.22:48
snap-lOK, let's see how that works. :)22:53
jcastrohttp://online.wsj.com/article/SB10001424053111904787404576535211589514334.html23:49
jcastroman23:49
jcastrothis is awesome23:49
snap-ljcastro: That's awesome.23:52
snap-lI'd forgotten how truly dysfunctional HP became.23:53
Blazeixwow, I didn't realize their CEO was from SAP. That's doom right there.23:55

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