/srv/irclogs.ubuntu.com/2012/08/22/#ubuntu-us-mi.txt

=== jonathan__ is now known as jjesse-phone
jjesse-phoneOk this is cool on IRC through quassel with the core running on my netbook02:27
jjesse-phoneNow need to configure router to allow it through02:31
=== jjesse-phone is now known as jjesse-android
jjesse-androidThis works very well in both my phone on wifi and my nexus 702:40
snap-lNew version of Version Control with Git is out.02:43
rick_h_broumorning11:20
rick_h_oops morning11:20
snap-lIt's a brouumorning everywhere11:46
rick_h_heh11:46
rick_h_started to reply to brousch using make last night but he was offline so tab complete failed11:47
rick_h_and had that in the input for this morning11:47
snap-lYeah, I hate that11:47
snap-lWhy can't he idle on channel like everyone else?11:47
rick_h_there he is11:56
brouschWho?12:01
rick_h_you12:02
rick_h_I was talking to myself after you left last night when I saw your makefile comment12:02
brouschHah, sorry12:02
brouschI'm just using your epic Bookie Makefile to scrape out things I need12:03
rick_h_hah, sorry12:03
rick_h_start with the smaller ones12:03
brouschNo, that one is good12:03
rick_h_https://github.com/mitechie/breadability/blob/master/Makefile12:03
rick_h_is lighter and easier12:03
brouschDo you have anything where you read a config to set things up?12:04
brouschSuch as the location of the venv on my system would depend on a line in a config file12:04
brouschOr would the Makefile call a Python script that does all the config stuff?12:05
rick_h_well everything is based off the bookie.ini, which is a copy of sample.ini12:05
rick_h_and that's passed to all the commands that need it12:05
rick_h_why the bookie makefile has a BOOKIE_INI or whatever it is12:05
brouschAh, so when you call a command that needs some config, you pass it the location of the ini12:06
brouschNice12:06
rick_h_right12:07
rick_h_and you can override the ini by changing your make command12:07
rick_h_make BOOKIE_INI=test.ini run_something12:07
rick_h_and then the command runs with a different ini file to run that command12:07
brouschThat is slick12:08
rick_h_yea so see:12:09
rick_h_BOOKIE_INI = bookie.ini12:09
rick_h_SAURL = $(shell grep sqlalchemy.url $(BOOKIE_INI) | cut -d "=" -f 2 | tr -d " ")12:09
rick_h_I actually pull out the sqlalchemy url from the ini that's being used for some stuff12:10
rick_h_and then launch celery background process (for example)12:10
rick_h_run_celery: BOOKIE_INI=$(BOOKIE_INI) $(CELERY) --pidfile celeryd.pid &12:10
brouschcool12:11
brouschSee, I need the epic Bookie Makefile ;)12:14
rick_h_lol12:15
rick_h_well if you get stuck let me know. I do some nutsy stuff in there that can throw off new users12:15
brouschI'm not sure how far I'll get on it. Basically as I find a command I have typed a few times I'm adding it in there12:16
rick_h_good go12:17
rick_h_try to keep it organized though12:17
rick_h_keep like things together12:17
rick_h_makes it easier to manage12:17
rick_h_testing things, setup/install things, untilities, etc12:17
brouschWhat is this testing you speak of?12:17
rick_h_yea right, never mind. Just stick them in the same file one after another without any comments12:18
rick_h_and call them all things like: do_more12:18
brouschHey! Like the rest of my code!12:18
rick_h_:P12:18
brouschDoes order matter?12:18
rick_h_so yes and no12:19
rick_h_make12:19
rick_h_without any arguments will run the first target12:19
rick_h_aside from that, no not really. Order whatever makes sense12:19
brouschSo the first target should be help12:19
rick_h_generally it's a clean and build12:20
snap-lConvention is generallt that make by itself will build12:20
rick_h_yea12:20
rick_h_notice my first command is all12:20
brouschI don't like that convention12:20
rick_h_which will setup things12:20
snap-lIt's a grand convention12:20
rick_h_right, that's what you're saying. Definitely don't do it this way :P12:21
snap-lhanded down for generations12:21
rick_h_otherwise people will start to wonder about you12:21
snap-land they will start the proceedings for your excommunication12:21
rick_h_ssssh, he's not supposed to know those meetings are going on12:21
snap-lI would have thought the catering bill we're sticking him with would have given it away?12:22
rick_h_it's in the mail still12:22
brouschMust be a lot more people involved than I thought12:22
snap-ldamn front office12:22
rick_h_I sent it via the bounched returned address method12:22
snap-lAh, good call12:22
snap-lI would have just done a direct invoice12:23
rick_h_I assumed he auto shredded those12:23
rick_h_this way it looks like he wrote it12:23
snap-lAnd that's why you're the Senior Excommunicator12:23
snap-lVP12:23
snap-land I'm just the Operator12:26
snap-lwith the Pocket Calculator12:26
Blazeixrick_h_: saw your tweet about CHC. we were planning to meet at the older caribou, weren't we?12:32
rick_h_Blazeix: I talked with my neighbords who are cruise regulars and they say we'll be fine12:34
rick_h_bah, neighbors12:34
rick_h_Blazeix: so since we already didn't pay/show up on one week I'd rather go there if we can12:34
snap-lOK, so Woodward?12:38
rick_h_snap-l: rgr12:39
snap-lBecause I think Julie at MH is going to save us a table otherwise.12:39
rick_h_yea, after talking with my neighbors I got wondering if we'd lose any reservations/issues with the woodward place not paying back to back weeks12:39
rick_h_since they assured me it clears out rather keep the normal schedule12:40
rick_h_if if they're wrong...then everyone can hang me from the flag pole for screwing up again12:40
snap-lheh12:40
snap-lWe won't hang you from the flagpole12:40
snap-lTHat would be too easy. ;)12:41
brouschHang him by his leopard-print thong12:44
* rick_h_ schedules a stop at the summer set mall on my way to CHC tonight12:45
Blazeixrick_h_: ok, cool. i won't be able to make it anyway, just wanted to double-check :)12:59
Blazeixthe manager at the old CHC was going to reserve some tables for us, we should probably cancel that.12:59
Blazeixi can call and do that if nobody else has done that yet13:01
rick_h_Blazeix: that'd be great. I was going ot bug snap-l since he was close and has chatted with her13:03
rick_h_but if you can that would be awesome, appreciate it13:03
Blazeixok, cancelled, i think. the person i spoke to had no idea that the tables were being held13:09
Blazeixsince i imagine that it was just an informal thing13:09
rick_h_yea, I think that was just the person we tend to see there13:09
rick_h_right13:09
Blazeixso the person left a note that we don't need them held.13:09
rick_h_cool thanks Blazeix13:09
jrwrenif anyone is in AA, I'll be going to fanzoo tech tonight for their thing.13:10
jrwrenlast month i worked on ubuntu-docs, and that pull request just sat idle, so I won't contribute to that again.13:11
rick_h_ugh13:11
jrwrenidle pull requests are disheartening, but I'm positive. I learned a lot generating it. I just need to find something else.13:12
rick_h_yea, greg-g was just talking about that last night13:12
jrwrenoh?13:13
jrwrenwhere at? g+?13:13
rick_h_irc13:13
jrwrenwhat channel?13:13
rick_h_he was hitting refresh on some pull request over and over13:13
rick_h_in here I thought13:13
jrwrenoh. yeah, afternoon.13:13
jrwrenlast night to me is post-6pm :)13:13
rick_h_ah, well I didn't recall to be exact :P13:14
jrwrenits all good. i was being a time pedant.13:15
snap-lBlazeix: Thanks, good sir13:16
snap-lrick_h_: You have my mobile number, right? :)13:25
snap-lor at least the GV number? ;)13:26
rick_h_snap-l: yea13:26
rick_h_I had it last time just misread my phone or something13:26
snap-ltest, please. ;)13:26
* snap-l changed the location again13:28
snap-lrecv13:28
snap-ltx13:32
snap-lApparently my Squeezebox is in a trippy mood14:02
snap-lRildrim followed by Ozric Tentacles14:02
snap-lI'm not complaining14:02
greg-grick_h_: jrwren good news, the pull request was accepted while I slept :)14:10
snap-lgreg-g: Awesome news.14:11
greg-gg'morning, btw14:11
greg-gsnap-l: so its been two years of OMC?14:11
snap-lYep. Started on 201014:11
snap-lhttp://openmetalcast.com/2010/08/17/open-metalcast-episode-1-open-the-gates/14:11
greg-gcrazy!!14:12
snap-lYeah, no kidding14:12
greg-gand awesome. I love it.14:12
greg-g:)14:12
snap-lThank you. :)14:12
brouschA watched pull request is never merged14:13
snap-lWould love to talk to someone at CC about what I've discovered. :)14:13
snap-lie: places like bandcamp get musicians thinking about CC14:14
snap-land places like FMA are essentially where the computer folks play musicians. ;)14:14
snap-l(FMA = Free Music Archive)14:15
ColonelPanic001I did not realize OMC was that old14:16
snap-lYep, now it's in the terrible twos. ;)14:16
greg-gquit your whinning14:16
ColonelPanic001congrats14:16
snap-lThank you.14:16
snap-lgreg-g: :-P14:16
greg-gbbian14:17
greg-gs/n/b/14:17
brouschNextDayvideo is publishing a bunch of PyConAU videos now14:29
rick_h_*sigh*14:29
=== brousch_ is now known as brousch
jrwrenError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined.14:50
jrwren^^^ why doesn't it just deafult to settings and then if that doesn't exist error?14:50
rick_h_because django and their 'magic settings' crap is irritating14:51
jrwrenindeed.14:51
rick_h_"oh that's a default setting, it's not listed"14:51
jrwrenthere are some nice things about their settings system, but nothing python doesn't give for free anyway14:51
rick_h_"oh, well the order the setting files are collapsed isn't what you think"14:51
jrwrenoh, i'm fine with default settings and implicity14:51
rick_h_"oh, just set this setting, which isn't in the docs, but if you check the source..oh that's these two settings then you're set"14:52
rick_h_I seemed to keep running up against crazy settings fun14:52
jrwreni've heard their docs got a lot better in 1.3 release.14:52
jrwrenor was it 1.4?14:52
rick_h_this was in June14:52
jrwrenoh.14:53
rick_h_after 1.414:53
jrwrenhell if I know then.14:53
rick_h_:)14:53
jrwreni'm working on projects on 1.214:53
rick_h_yea, I railed out against how everyone says the docs are so great but I kept finding the docs/source not sync'ing14:53
brouschYou can specify a settings file with --settings=/path/to/your/settings14:53
rick_h_but I'm a hater, so I was using it wrong :P14:53
brouschThat works on syncdb, runserver, etc14:53
jrwrentest?14:54
rick_h_the test runner auto ignores some settings stuff by the way14:54
rick_h_...grumble...14:54
jrwrenyup14:55
rick_h_one day I'm going to write a book about my inlaws15:07
rick_h_that's my retirement plan I think15:07
greg-gif only Yehuda Moon was still not subscription only, wolger, snap-l and jrwren would love this one www.yehudamoon.com/index.php?date=2012-08-2215:09
greg-g(its a $1/mo subscription for 3 comics/wk)15:09
snap-lI could still see it16:04
greg-goh, really? they may have made the switch to open again16:07
greg-goh, no, that didn't work16:08
greg-gweird, that link isn't being dealt with intelligently16:08
greg-gapparenlty, if you aren't logged in, you get to see each monday's comic (press previous, it goes back a week).16:09
snap-lAh, well cool that I could see it16:09
snap-lnot sure I'd pay $1 a week for it. :)16:09
greg-gAlso, apparenlty, if you load a url for a non-Monday comic and you aren't logged in, you just see the previous monmday's16:09
snap-lmonth, rather.16:09
jrwreni heard aws's new thingy described as being super expensive for recovery. so maybe I'll stick with s317:00
rick_h_yea, guess the recovery pricing is on some strange per day quota setup17:09
snap-lLeave it to Amazon to cone up with strange pricing17:12
greg-ghow expensive?17:14
rick_h_the one example on TC I think was $2k expensive17:16
* greg-g should look at that17:20
rick_h_http://www.wired.com/wiredenterprise/2012/08/glacier/17:22
rick_h_is the article that sets up the nightmare scenario17:22
=== JonathanS is now known as JonathanD
=== _stink__ is now known as _stink_
=== Blazeix_ is now known as Blazeix
snap-lQuick sqlalchemy question: how do I return two values from a query?20:07
snap-lI'm looking to do something like "select id, max(somedate) from foo where ..."20:07
jcastrorick_h_: ok I've spent a few nights investigating home automation20:11
jcastroI am ready for next nerd brain-dump20:11
jrwrensnap-l: what would that query even do?20:24
jrwrenabout 1/2 way down the page on literal sql: http://docs.sqlalchemy.org/en/rel_0_7/orm/tutorial.html20:27
jrwrenmost ORMs don't support projections since it doesn't work with identity map, which is part of the point of using an ORM20:27
jrwrenas soon as you are projecting you are in a special world where the orm is used only as a sql generation tool.20:28
Blazeixsnap-l: also see http://docs.sqlalchemy.org/en/rel_0_7/orm/tutorial.html#counting20:35
Blazeixthe second codeblock20:35
Blazeixoh, i was assuming you're doing a max(somedate) over a grouping20:37
snap-ln/m. I think I'm on to somethihng20:38
snap-lor I'm on something.20:38
waldo323_jcastro, what have you found out so far?20:40
rick_h_jcastro: heading out to CHC, drop what you think and I'll reply when I get there22:07
rick_h_snap-l: bring it to CHC and I can see if I can help22:07
snap-lrick_h_: n/m, fugured itout23:15
rick_h_snap-l: cool23:15
jrwrenrick_h_: any reason pyinotify instead of watchdog ?23:40
rick_h_jrwren: no, just that watchdog had some limitation I think23:40
rick_h_watchdog can run a command, but doesn't have access at the raw files I think? I'd have to look again23:40

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