/srv/irclogs.ubuntu.com/2012/06/24/#ubuntu-us-mi.txt

brouschok, minidlna is way better. smaller and faster00:23
snap-lbrousch: Yeah, I wouldn't use the Squeezebox server for DLNA00:46
snap-linteresting that it worked00:46
snap-lbut definitely check out the audio clients00:46
jrwreni run squeeze all day at work00:47
jrwreni just wish the web interface was a little nicer and a little quicker00:47
snap-lYeah, it is a little long in the tooth00:47
snap-lbut it works, and on my system it is low-footprint00:47
jrwrenyup00:48
jrwrenit works great and is awesome.00:48
snap-lbrousch: Which version of the Squeezebox server were you running?00:48
brouschdunno. whatever was on the web site01:16
snap-lhttp://meridionalerecordings.bandcamp.com/album/antropofagus-blues02:58
snap-l"Vanir is drug abuse, pure decadence. Sounds like putting a cat into a pool of blood. Metal is for children, satan is for dummies."02:59
snap-lAnd this sounds like what happens when you put a bus station in a feedback loop02:59
snap-lhttp://viralconspiracyrecords.bandcamp.com/album/the-desastamasta-th3-s3cond-fiv3 <- Iswear, I need to put in a google exception for this label03:05
snap-lI hav nothing against them putting out their music, but man, it puts me right off03:05
derekvi don't like, i keep programming in a style like the java conventional style03:55
derekvsince thats what most people use03:55
derekvbut the brakets on the end of the line look really stupid03:55
derekveven after seeing it for like a year03:55
snap-lTry the Pascal style, where the bracket is on a separate line. :)03:56
derekvwhat makes me want to pull my hair is that people put the bracket on the end of the line, but then leave a blank line anyways03:56
derekvyea braken goes on new line03:56
derekvfrankly the easiest to look at is gnu style http://en.wikipedia.org/wiki/Indent_style#GNU_style04:07
derekvthe indentation04:07
derekvohhh wait04:08
derekvthat space04:08
derekvgnu style has that space, I never realized that... how come I never noticed that04:11
derekvits horrible04:11
derekvyea frankly if your going to do the braket at the end of the line instead of the newline the go full lisp/python style http://en.wikipedia.org/wiki/Indent_style#Lisp_style04:12
derekvbut without that space04:13
derekvman04:13
derekvif I ever run a company04:13
derekvi'm going to have my own style guidelines04:13
derekvand there is going to be no discussion about it04:14
derekvI'm going to that lambda lounge thing weds04:16
derekvI might start using the underscore for private class variables04:45
derekvI saw it in some java code recently and at first was like, thats unnessisary04:45
derekvbut now I've been thinking about it as I write code and I think it makes sense04:46
derekvI'm so glad I did that app for soundcloud04:55
derekvand I'm doing this bookie app04:56
derekvmy head is getting so much clearer about how to put one together04:56
derekvand I'm catching up also04:56
derekvOne style issue that I am embarrased to report I have no opinion on is spaces vs tabs05:13
derekvI feel like I should have one05:13
derekvbut I just want everyone do do the same thing and then i'll configure my editor05:13
derekvI don't ever want to manually indent code05:14
derekvso I'm never hitting space or tab and I don't really care which is used05:14
brouschderekv: 4 spaces, always10:54
brouschmake your tabs 4 become 4 spaces10:55
brouschderekv: Here is your style guide http://www.python.org/dev/peps/pep-0008/10:56
rick_h_did someone say coding style/guidelines? :P11:40
jrwrenif you are stuck on style you are doing it wrong.13:53
jrwrenlearn to read any style.13:53
jrwrenset your mind free.13:53
brouschdamn dirty hippie13:55
snap-lHonestly, that's the best policy (do as the Romans do)13:58
snap-lif there's an accepted convention for how X code is supposed to look, it's probably best not to buck that convention13:59
snap-lie: writing camelcase in Python for all variable names.13:59
jrwrenyup14:02
jrwrenyet python has unittest14:03
jrwren*RAGE*14:03
snap-lenlighten why that's a rage moment?14:03
jrwrenunittest.TestBaes has a member called setUp14:04
jrwrenand its assertEquals14:04
jrwrenassertGreaterThan14:04
jrwrenits java14:04
jrwrenits not pythonic14:04
snap-lbut it came from Python14:05
snap-ler, Java14:05
snap-lIf it's trying to port functionality from another language's package, I have less problem with keeping the variable names similar to the original language14:06
snap-lYes, it isn't native14:06
snap-lbut if it makes someone's life easier porting between the two, then OK14:07
rick_h_jrwren: but try to keep to a style. I always say that I don't care what style you use, as long as it's documentted/kept to14:08
snap-lThat's the big thing14:10
jrwrenyeah, styles nice.14:10
jrwreni say fuck it and write all my code on one line14:10
jrwrensnap-l: it didn't come from python.14:10
jrwrensnap-l: it didn't come from java.14:10
jrwrenwow, look at that, i did it too.14:11
snap-ljrwren: where did it come from?14:12
jrwrenkent beck14:36
jrwrenfirst impl was smalltalk14:36
derekvbrousch, not for python17:14
brouschIt works in other languages too17:32
snap-lnixternal: That Java video is great, save for it's not real19:22
snap-lnobody loves the JVM. ;)19:22
jrwrenoh no, lots of people LOVE the jvm.19:37
jrwreni think they are nuts19:37
jrwrenbut they do.19:37
jrwrenhell, google loves teh jvm.19:37
snap-lDamn hippies.19:38
brouschyou forgot the dirty19:52
snap-lhttp://supermoney.bandcamp.com/album/snatched-the-throne-ep21:00
snap-lhttp://kobilacroix.bandcamp.com/track/jeremy-the-ninja <- lol21:06
gamerchick02my new desktop is built! finally! :-D21:24
rick_h_snap-l: do you see what I'm doing wrong here? http://paste.mitechie.com/show/707/21:25
rick_h_gamerchick02: congrats!21:25
gamerchick02thank you!21:25
gamerchick02i've got my desktop and the Air.21:25
gamerchick02just gotta install mint or something else my mom can use easily to the laptop and give it to her21:26
gamerchick02she's a total newbie to linux and i don't have an extra windows license for her. does anyone recommend something windows-like to put on the laptop?21:26
gamerchick02i need to be able to admin it easily.21:26
rick_h_snap-l: nevermind I see what's wrong. Maybe I'll just skip the hash_id fk reference.21:27
snap-lrick_h_: What was the trouble?21:42
rick_h_snap-l: hash_id isn't anything special on the bmark table, it's part of a unique index, but only with username21:58
rick_h_so using that as a FK reference doesn't work from the db side21:58
snap-lAh21:59
snap-lWonder if it was bitchy because hash_id wasn't guaranteed unique?21:59
rick_h_yea22:00
rick_h_and lovely psql won't read in an sql file generated by pg_dump because of escaped crap..ugh, this is going to suck updating the live site22:01
snap-lWhat version of pg_dump?22:01
rick_h_should be 9 I think. checking22:02
rick_h_yea, 9.0.522:02
snap-lRush is the subject of a 3-page feature in the latest issue of Terrorizer magazine titled Times of Grace. <- OK, I think Road Runner is promoting the fuck out of Rush way too much22:03
snap-lTerrorizer is mostly black metal / death metal22:03
snap-lThat's strange that it would have escaping problems.22:03
gamerchick02so we've got a music and programming discussion going on at the same time? :-D22:04
gamerchick02and i'm elated that my desktop is built.22:04
gamerchick02it's good news all around.22:04
rick_h_bah, yea choking on "viewtopic.php?f=2&amp;t=4">viewtopic.php?f=2&amp;t=4</a><br/>you'll want to use that instead."22:06
rick_h_trying to load live data22:06
snap-lOh that sucks22:06
rick_h_ah, it is COPY format, that's why I think22:07
rick_h_tried to just do flat sql format so I can tinker with it more because I need to basically recreate/reload the db with the new migrations/etc22:08
rick_h_and there are going to be constraint violations in the current data I just know it22:08
brouschgamerchick02: Kubuntu 12.04 for your Mom22:36
gamerchick02really? ok. it's stable and all that? *goes off to download*22:37
brouschyep22:37
gamerchick02cool. last time i tried Kubuntu i couldn't grok it.22:38
gamerchick02for some strange reason. *shrug*22:38

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