[01:18] <cmaloney> Are we having fun yet?
[01:31] <rick_h_> working on the camper wooo
[03:46] <greg-g> watching On Site With Thomas with Rowan and eating popcorn for dinner since Carrie is at a baby sitting coop meeting thingy
[03:46] <greg-g> also, mentally prepping for tomorrow's flight to Zurich
[11:54] <brousch> greg-g: Wait, there's no baby sitting available during the baby sitting co-op meeting?
[12:02] <rick_h_> morning
[12:11] <cmaloney> Good morning
[12:52] <mrgoodcat> gooood morning campers
[12:53] <brousch> rick_h_: Remote work is part of your Javascript junkie job request, right?
[12:53] <rick_h_> brousch: yea
[12:57] <cmaloney> rick_h_: Was that personality test work-related?
[12:58] <rick_h_> cmaloney: yea, manager training
[12:58] <rick_h_> cmaloney: I took one at my first job out of college as well
[12:58] <cmaloney> I really, really hate personality tests. :)
[12:58] <rick_h_> so comparing the diff (though I don't have the details of my first one)
[12:58] <rick_h_> I wouldn't care but I did it straight out of college and I find the idea of reflecting on changes over 10yr ish to be interesting
[12:59] <cmaloney> Yeah, you've become more tolerant of wrong people. :)
[12:59] <rick_h_> :P
[12:59] <cmaloney> Instead of complete annihilation, you've chosen nihilism.
[13:01] <brousch> Hm, ENTJ seems to fit you well, rick_h_
[13:01] <cmaloney> It's a horoscope
[13:01] <rick_h_> brousch: yea, I was surprised the N turned to S, but then again maybe I've gotten more list-like over time
[13:02] <rick_h_> to be fair, it was only slightly S vs N so I guess I play the middle well enough
[13:02] <cmaloney> I think you've also become more tolerant.
[13:02] <cmaloney> and by tolerant I mean you're not force-choking those who oppose you. ;)
[13:03] <rick_h_> hah
[13:03] <rick_h_> I'll take it
[13:05]  * cmaloney just got an idea for Darth Vader in management training
[13:21] <cmaloney> OK, this is strange
[13:23] <cmaloney> On Reddit: someone posted http://www.reddit.com/r/progmetal/comments/24xnva/fountain_of_lamneth_rush/
[13:23] <bookiebot> http://is.gd/oJWlln - Too Many Requests
[13:23] <cmaloney> hah.
[13:24] <cmaloney> .np squeekyhoho
[13:24] <bookiebot> squeekyhoho's current track - I Think I'm Going Bald by Rush on Caress Of Steel
[13:24] <cmaloney> I _rarely_ play Caress of Steel
[13:24] <cmaloney> but the Squeezebox picked it at random.
[13:54] <brousch> So Jython is not quite dead yet http://fwierzbicki.blogspot.com/2014/05/jython-27-beta2-released.html
[13:54] <bookiebot> http://is.gd/SiYd95 - Frank Wierzbicki's Weblog: Jython 2.7 beta2 released!
[13:54] <jrwren> who cares about jython when pypy is so awesome?
[13:55] <brousch> People who love Swing?
[13:55] <cmaloney> jrwren: Now now now, I'm sure the folks who are interested in Java libraries would take umbrage with your statement.
[13:55] <cmaloney> both of them.
[13:55] <jrwren> brousch: THERE ARE NONE!
[13:56] <brousch> Good luck running your applet on pypy
[13:56] <cmaloney> jrwren: wherever there are two people gathered there will be a magazine.
[13:56] <brousch> Everybody loves applets
[13:56] <cmaloney> brousch: ANd parachute pants.
[13:56] <brousch> It's Java right in your browser!
[13:57] <jrwren> applet?
[13:57] <jrwren> those don't exist.
[13:57] <brousch> I made a Java applet in 1997. that is well after parachute pants were popular
[13:57] <jrwren> i did too, in '96 or 97, was only wya to get audio on a webpage, and I wanted my webpage to play music!
[13:58] <brousch> Well I learned one thing from that blog post. It looks like Maven Central is pypi for Java http://search.maven.org/
[13:58] <bookiebot> http://is.gd/UoZuo1 - The Central Repository Search Engine
[13:59] <jrwren> you didn't know about maven?
[13:59] <jrwren> java folks LOVE maven
[14:01] <brousch> I just encountered it for the first time when trying to build bookie for Android, but I'm not a Java guy
[14:09] <jrwren> i only know of it cuz I know java folks and we talk nerdy
[14:14] <mrgoodcat> what is maven?
[14:14] <mrgoodcat> a build system?
[14:25] <jrwren> like brousch said, its like pypi
[14:25] <jrwren> so... its like rubygems.org
[14:25] <brousch> I think maven is a build system, and Maven Central is pypi
[14:25] <jrwren> it can be.
[14:26] <jrwren> you can also use it with ant, but still trigger maven dependency mgmt
[14:26] <jrwren> although I have no idea how folks do things these days
[14:41]  * cmaloney is checking out Vundle
[14:53] <mrgoodcat> i use vundle
[14:55]  * jrwren ddgs
[14:56] <jrwren> oh! that is the new thingy.
[14:58] <jrwren> I still use pathogen
[14:59] <rick_h_> what does vundle do that pathogen doesn't?
[14:59] <rick_h_> I didn't follow
[15:02] <cmaloney> Vundle allows you to add the plugin in your .vimrc
[15:03] <cmaloney> It's one more layer above pathogen.
[15:03] <cmaloney> rick_h_: I think you're the one person it's not intended for. :)
[15:03] <cmaloney> lepture.com/en/2012/vundle-vs-pathogen
[15:10] <jrwren> i'd do vundle if I were starting over.
[15:10] <jrwren> i'm just too lazy to start over.
[15:10] <brousch> Eclipse4Life!
[15:13] <greg-g> brousch: that'd be a catch-22, it's just getting started.
[15:14] <jrwren> wtf is Eclipse4Life?
[15:18] <brousch> That's what I say to irritate the vimmers
[15:41] <rick_h_> oh, so vundle just does git pulls for you
[15:41] <rick_h_> so you need a new tool to automate that?! cursed open source
[15:43] <brousch> Small, focused tools. If you don't like that, join me in Eclipse4Life
[15:44] <rick_h_> yea, let me get right on that whole 'stab my eyes out' thing
[15:45] <brousch> maybe emacs is more your style
[15:45] <rick_h_> already using a kenisis to avoid wrist pain thanks
[15:45] <jcastro> hey so I tried atom
[15:45] <jcastro> and it's <3
[15:46] <rick_h_> jcastro: :P
[15:46] <brousch> OSX-only. It can DIAF until it runs on Linux
[15:46] <jcastro> it's more of a sublime replacement than a vim replacement
[15:46] <jcastro> runs linux yo
[15:47] <brousch> Front page has only OSX download link, FAQ says only OSX
[15:48] <jcastro> https://github.com/atom/atom#linux-requirements
[15:48] <bookiebot> http://is.gd/wQFR1Q - atom/atom · GitHub
[15:48] <jcastro> it took a while to build though, like 20 minutes on my i7
[15:48] <brousch> Geez, well at least now it doesn't have to DIAF
[15:48] <brousch> Thanks
[15:49] <jrwren> I still don't know what Eclipse4Life means
[15:50] <brousch> It means use Eclipse for the rest of your life
[15:51] <jrwren> Is Eclipse like some tool for watching the moon and sun and earth interact?
[15:51] <brousch> Y U troll me bro?
[15:53] <brousch> Windows requirements for Atom are interesting: Visual Studio 2010 C++ Express, Github for Windows, and Python2.7?
[15:57] <cmaloney> Funnily enough it was the Atom announcement that indirectly got me to try Vundle.
[16:08] <jrwren> yes, I am trolling you brousch :)
[16:34] <ColonelPanic001> Eclipse is a tool for stress testing your CPU and RAM
[16:35] <ColonelPanic001> and your patience
[16:43] <jrwren> I probably would love eclipse if someone ever taught me how to use it.
[16:43] <jrwren> every time I try to learn it, I get angry and stop using it. Its unusable IMO
[16:44] <rick_h_> no...no you wouldn't
[16:45] <jrwren> you are right, I wouldn't love it.
[16:45] <jrwren> I might tollerate it.
[16:45] <jrwren> kinda like redhat based distros... tollerable.
[16:45] <cmaloney> I have the same problem. Every time I play with Eclipse it pisses me off.
[16:45] <jrwren> cmaloney: ^5
[16:46] <rick_h_> i used it professionally and don't miss a thing
[16:46] <cmaloney> It's like having an entire ecosystem based on cargo-cult installation
[16:46] <cmaloney> (coincidentally that's also part of the reason I don't care for Ruby)
[16:47] <cmaloney> (though when compared with Eclipse Ruby's ecosystem seems downright professional)
[16:50] <greg-g> speaking of ruby: https://twitter.com/arirubinstein/status/463848382386040832
[16:50] <bookiebot> http://is.gd/gq8VRY - Twitter / arirubinstein: curl localhost:3000/staraction ...
[16:50] <cmaloney> heh
[16:50] <cmaloney> Wasn't that fixed a while back?
[16:51] <greg-g> http://seclists.org/oss-sec/2014/q2/260 this suggests not?
[16:51] <bookiebot> http://is.gd/qW0gdy - oss-sec: [CVE-2014-0130] Directory Traversal Vulnerability With Certain Route Configurations
[16:51] <cmaloney> Oh ffs
[17:38] <mrgoodcat> cmaloney: what do you mean by cargo-cult?
[17:41] <brousch> Hm, got an email from these guys asking to talk to me. They got my info from GitHub and called me "a Macgyver". Looks kind of interesting actually https://www.truevault.com/
[17:41] <bookiebot> http://is.gd/HE2DwB - TrueVault - HIPAA compliant data store
[17:51] <greg-g> mrgoodcat: https://lmddgtfy.net/?q=cargo+cult
[17:51] <bookiebot> http://is.gd/daQwAL - Let Me DuckDuckGo That For You
[17:51] <rick_h_> lol
[17:51] <greg-g> damnit bookiebot, ruining things
[17:52] <mrgoodcat> lol
[17:52] <mrgoodcat> greg-g: i would have probbably figured it out from the url anyways
[17:52] <mrgoodcat> duck duck go > google
[17:52] <greg-g> those "let me X for you" urls should be short urls/obfuscated
[17:53] <mrgoodcat> you could have shortened it. bookiebot would still have ruined your fun though
[17:55] <greg-g> mrgoodcat: I want *them* to do it for me! I'm lazy!
[17:55] <greg-g> http://ur1.ca/h9vp0
[17:55] <bookiebot> Let Me DuckDuckGo That For You
[17:55] <mrgoodcat> haha. i think lmgtfy has a shorten option
[17:56] <mrgoodcat> it is nice to know what shortlinks are before clicking on them though
[17:56] <greg-g> doesn't look like it, but I've moved on ;)
[17:57] <mrgoodcat> jcastro: i'm building atom on my chromebook right now and it's SOOOO SLOOOWWW
[17:57] <jcastro> heh
[17:57] <jcastro> took about 25minutes on my i7 btw
[17:57] <mrgoodcat> dual core 1.4
[17:58] <mrgoodcat> celeron ftw
[17:58] <cmaloney> celeron: impersonating a real processor since 1995.
[17:58] <mrgoodcat> 2793.71
[17:58] <mrgoodcat> most important number
[17:58] <mrgoodcat> BOGOMIPS :)
[17:59] <mrgoodcat> this celeron is haswell based
[17:59] <jcastro> I am pleasantly surprised at how well the C720 runs
[17:59] <mrgoodcat> same
[17:59] <mrgoodcat> love it
[17:59] <jcastro> I mean, other than compiling software, it's <3
[17:59] <mrgoodcat> although it could use a bit more ram
[17:59] <brousch> Get the 4GB model foolio
[17:59] <jcastro> yeah I put like 16GB of RAM in my machine for chrome, and they're slumming it at 4GB
[18:00] <mrgoodcat> i've got 2
[18:00] <mrgoodcat> couldn't get my hands on the 4 model
[18:00] <rick_h_> jcastro: you went chromebook?
[18:00] <brousch> They come and go
[18:00] <jcastro> rick_h_, I added one
[18:00] <rick_h_> cool
[18:00] <mrgoodcat> i'll get a pixel if i can find a good deal on it
[18:00] <jcastro> it's our couch PC, mostly Jills
[18:00] <mrgoodcat> but pixel doesn't have haswell
[18:00] <mrgoodcat> which is pretty bummer
[18:02] <brousch> mrgoodcat: Currently at Office Depot for $270 (http://www.officedepot.com/a/products/504674/Acer-Aspire-C720-29554G01aii-116-LED/) and Newegg for $265 (http://www.newegg.com/Product/Product.aspx?Item=N82E16834314406)
[18:02] <bookiebot> http://is.gd/3XQqKR - Acer Aspire C720 29554G01aii 116 LED ComfyView Notebook Intel Celeron 2955U 140 GHz by Office Depot
[18:02] <bookiebot> http://is.gd/cRY9pd - Newegg.com - Computer Parts, PC Components, Laptop Computers, LED LCD TV, Digital Cameras and more!
[18:05] <brousch> I might get one of these http://www.pcworld.com/article/2151161/lenovo-announces-n20p-chromebook-with-touchscreen-and-300-degree-hinge.html
[18:05] <bookiebot> http://is.gd/CNcMc5 - Lenovo announces consumer N20 Chromebooks
[18:10] <mrgoodcat> depends on specs
[18:11] <mrgoodcat> i saw that yesterday
[18:13] <mrgoodcat> i'd like to have haswell, >=4gb ram, and a pixel-quality 11-13 inch screen
[18:13] <mrgoodcat> removeable ram and ssd would be nice too
[18:15] <brousch> It has 4GB of RAM, but the usual crappy Chromebook screen
[18:16] <brousch> The Samsung Chromebook 2 13" is the only other one with a nice screen
[18:16] <jcastro> rick_h_,  the way thinkpads are going I am afraid we're all going to end up with chromebooks
[18:17] <mrgoodcat> i <3 cromebooks
[18:17] <cmaloney> Pretty much
[18:17] <brousch> You'll buy your thinkpad with ChromeOS or Windows. Which evil do you hate less?
[18:17] <mrgoodcat> just wish my kb was a bit nicer
[18:18] <mrgoodcat> you think chromeos is evil?
[18:18] <cmaloney> I wish the KB was a little more "standard"
[18:18] <mrgoodcat> certainly less evil than windows
[18:18] <mrgoodcat> gdi
[18:18] <mrgoodcat> i have to rebuild node
[18:19] <mrgoodcat> i'm running master which is v0.11.*
[18:19] <mrgoodcat> atom only supports v0.10.*
[18:24] <brousch> mrgoodcat: You run Ubuntu 14.04 on it, right?
[18:25] <mrgoodcat> yup
[18:25] <mrgoodcat> but i had to wrestle with it a bit
[18:25] <mrgoodcat> turned out, the kernel that ships with 14.04 doesn't work with the patches everyone's been using
[18:25] <mrgoodcat> but i got it all working
[18:26] <mrgoodcat> i also have chromeos though. dual boot ftw
[18:27] <jrwren> i should get one of those cheapo chrome books and run ubuntu on it
[18:27] <rick_h_> it can be the netbook revolution all over again wheeee
[18:27] <mrgoodcat> except these are actually nice
[18:28] <mrgoodcat> i hated netbooks when they first came out because they were all crap
[18:28] <rick_h_> except for their screens, keyboards, and disk space
[18:28] <brousch> rick_h_: No, no. Netbooks were 7-10" at 1024x600. Chromebooks are 11-13" at 1366x768 resolution. It's entirely different
[18:28] <rick_h_> brousch: oh oh oh my bad
[18:29] <rick_h_> brousch: I thought you were talking about cheap laptops still.
[18:30] <mrgoodcat> haters gonna hate
[18:30] <mrgoodcat> i love my c720
[18:31] <jrwren> 1366x768??? fuck that.
[18:31] <mrgoodcat> i don't love the screen
[18:31] <mrgoodcat> but we love our kids even when they eat glue right?
[18:31] <jrwren> i'll never go less than 1440x900
[18:31] <jrwren> mrgoodcat: you got kids?
[18:31] <mrgoodcat> lol no
[18:31] <mrgoodcat> fuckallofthat
[18:31] <brousch> jrwren: Then you need the Samsung Chromebook 2 13" (1080p) or Pixel
[18:32] <mrgoodcat> neither of those have the CPU i want
[18:32] <jrwren> aren't those $$$$
[18:32] <brousch> Samsung is an ARM CPU though, so you can all of the good stuff from Linux
[18:32] <mrgoodcat> haswell is way better for battery life
[18:32] <brousch> can't get
[18:32] <brousch> Pixel can be found for $850 used
[18:32] <jrwren> Samsung Chromebook 2 looks pretty sweet, but I'm not sure I want to run ubuntu ARM
[18:32] <mrgoodcat> i can get 4 of these for that
[18:33] <jrwren> indeed!
[18:33] <jrwren> get 4, and matrix the displays
[18:33] <mrgoodcat> atom has failed to build like 10 times now. i've tried multiple versions of node/npm and running as sudo. i even uninstalled and reinstalled deps
[18:35] <mrgoodcat> bah. needed to set node to use python2
[18:35] <jrwren> years ago there was an X windows virtual server which would display to multiple X windows servers.
[18:35] <jrwren> i wonder if that is still around
[18:36] <mrgoodcat> oh finally it builds
[18:36] <mrgoodcat> slowly
[18:39] <brousch> Node needs Python?
[18:39] <mrgoodcat> jcastro: have you used sublime?
[18:39] <mrgoodcat> brousch: no, but the build script does
[18:40] <mrgoodcat> for atom
[18:40] <jcastro> mrgoodcat, yeah it's my current editor
[18:40] <mrgoodcat> better or worse than atom?
[18:40] <mrgoodcat> i'm building atom right now but ST3 is my current
[18:44] <jcastro> i'ts more finished
[18:44] <jcastro> but I will be transitioning to atom
[18:47] <mrgoodcat> i like that atom is OSS
[18:47] <mrgoodcat> but ST3 is hard to beat
[18:53] <mrgoodcat> jcastro: does atom install fuck with your .profile or anything like that?
[18:53] <jcastro> not afaict
[18:53] <jrwren> git grep .profile
[18:53] <jrwren> will answer that quickly
[18:54] <jcastro> the only issue I have right now is that it takes a long time to build
[18:54] <jcastro> but someone can set up launchpad to build packages eventually
[18:54] <jcastro> oh, and the 5 second start up time isn't so hot either
[18:54] <mrgoodcat> i got it fixed
[18:55] <mrgoodcat> apm is a bad program name
[18:55] <mrgoodcat> since it already exists
[18:55] <jrwren> node-apm isn't it?
[18:55] <jrwren> i mean when debian packaged?
[18:55] <mrgoodcat> what do you mean?
[18:56] <rick_h_> in the debian world things get prefixed
[18:56] <mrgoodcat> apm is the atom package manager
[18:56] <mrgoodcat> ah got it
[18:56] <mrgoodcat> /usr/local/share/atom/atom: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory
[18:57] <mrgoodcat> i have libudev1 and libudev-dev installed
[18:59] <mrgoodcat> i just linked libudev.so.1 to libudev.so.0
[18:59] <mrgoodcat> and atom started....
[18:59] <mrgoodcat> so i hope that wasn't a bad idea
[19:08] <jrwren> looks like you should have libudev0 maybe?
[19:08] <jrwren> its maybe becuase you are on 14.04 instead of 12.04?
[19:11] <mrgoodcat> yea 14.04 doesn't have libudev0 in the repos
[19:12] <mrgoodcat> so here's to hoping they're similar enough not to screw me up :)
[19:13] <jrwren> it likely is
[19:15] <mrgoodcat> started reading the changelog but gave up
[19:15] <mrgoodcat> too long
[19:15] <mrgoodcat> looks like mostly security updates though
[19:15] <mrgoodcat> and bugfixes
[19:15] <jrwren> it comes from system3
[19:16] <jrwren> systemd
[19:16] <jrwren> which likely HAS had a lot of changes since 12.04, but maybe not in libudev :p
[19:16] <jrwren> its TINY: http://cgit.freedesktop.org/systemd/systemd/tree/src/libudev
[19:17] <bookiebot> http://is.gd/5xWseP - systemd/systemd - System and Session Manager
[19:18] <mrgoodcat> why does atom need libudev?
[19:18] <jrwren> great question
[19:19] <jrwren> git grep udev, find out ;)
[19:20] <mrgoodcat> it
[19:21] <mrgoodcat> it's not in there....
[19:21] <mrgoodcat> maybe node needs it?
[19:21] <mrgoodcat> nope...
[19:21] <mrgoodcat> now i'm confused
[19:21] <jrwren> WTF is CSON?
[19:22] <jrwren> coffee script object notation *eyeroll*
[19:22] <mrgoodcat> coffee json
[19:22] <mrgoodcat> you must have seen the mega CSON?
[19:23] <jrwren> i can't pretend to understand how /usr/local/share/atom/atom even ends up being an ELF executable
[19:23] <jrwren> https://github.com/atom/atom is all coffee
[19:23] <bookiebot> http://is.gd/wQFR1Q - atom/atom · GitHub
[19:23] <mrgoodcat> haha
[19:23] <mrgoodcat> read the build script
[19:23] <jrwren> which one?
[19:24] <mrgoodcat> actually not sure
[19:25] <mrgoodcat> idk how it works
[19:44] <mrgoodcat> Did rick_h_ make this? http://vim.sexy
[19:44] <bookiebot> http://is.gd/2ODQaZ - vim is sexy
[19:45] <rick_h_> hah, no
[19:47] <mrgoodcat> seems like something you'd make
[19:47] <jsivak> good to see those new TLD's put to good use.
[19:53] <brousch> OMG WTF. In VB.NET you declare the length of an array by specifying it's last index, but arrays are zero indexed
[19:55] <brousch> So if you want to declare an 8 element array it's dim bleh(7) as whatever
[19:55] <mrgoodcat> so Dim students(6) As Integer actually makes an array of 7
[19:55] <mrgoodcat> lol
[19:56] <brousch> Yes!
[19:56] <brousch> In my case, I was declaring an array based on the length of another array, but it kept coming out with 1 empty element
[19:56] <jsivak> heh, *more* reasons to dislike VB
[19:56] <mrgoodcat> haha
[19:57] <mrgoodcat> length() isn't 0 indexed?
[19:57] <mrgoodcat> but declaring is?
[19:57] <brousch> Correct!
[19:57] <mrgoodcat> BWAHAHA
[19:57] <brousch> WTFBBQ
[19:57] <jsivak> .. actually, I have dim memories about that being one of the "issues" of porting VB to VB.NET.. they had to "inherit" some things..
[19:58] <jsivak> (since the underlying byte-code is probably more like C than VB.. )
[19:59] <brousch> Apparently they break language features in between releases. I have to work in VB.NET for VS 2008 right now. I wonder if they will fix this in newer versions
[20:00] <brousch> I'll put a comment beginning with WTF to mark this stuff
[20:00] <cmaloney> http://shop.lenovo.com/SEUILibrary/controller/e/web/LenovoPortal/en_US/catalog.workflow:item.detail?hide_menu_area=true&GroupID=460&Code=0B47189
[20:00] <bookiebot> http://is.gd/gMu7N1 - ThinkPad Compact Bluetooth Keyboard with TrackPoint US English | Lenovo | (US)
[20:00] <jsivak> heh.. "ultimate correctness" (e.g. fix in future) or "at least its consistent" (e.g. broken forever).. not sure which is better.
[20:01] <brousch> ooooh, that keyboard is hawt
[20:02] <rick_h_> cmaloney: it's cool but laptop scissor switches :(
[20:02] <cmaloney> Saw popey with two of them (different models I think) and thought of rick_h_
[20:02] <cmaloney> yeah, that's the only downside
[20:02] <rick_h_> oh yea, I've been so tempted many times
[20:03] <rick_h_> see, I do have the ability to resist...once in a while
[20:03] <cmaloney> but hey, that's one way to work around the broken Thinkpad keyboard on their stupid laptops
[20:03]  * rick_h_ says that while opening his new UPS box with three NUCs inside for his upcoming MAAS garage
[20:04] <cmaloney> dafuq?
[20:04] <cmaloney> Which ones did you buy?
[20:04] <rick_h_> jcastro: knows what I'm talking :)
[20:04] <cmaloney> Oh no
[20:04] <cmaloney> I see where this is going already.
[20:05] <rick_h_> business class multi IP service installed next tues
[20:05] <rick_h_> going to have two diff networks at home
[20:05] <cmaloney> juju deploy nuc dafuq
[20:05] <mrgoodcat> wow
[20:05] <rick_h_> http://www.newegg.com/Product/Product.aspx?Item=N82E16856102052
[20:05] <bookiebot> http://is.gd/BLLO9Z - Newegg.com - Intel NUC D54250WYK1 Intel QS77 2 x 204Pin Intel HD Graphics 5000 NUC Kit
[20:05] <mrgoodcat> i should host my shit at rick_h_'s house
[20:05] <cmaloney> mrgoodcat: Pretty soon you will
[20:06] <mrgoodcat> rick_h_: you going to host bmark.us or something?
[20:06] <rick_h_> mrgoodcat: no, it's for work
[20:06] <rick_h_> well, mostly work and playing with juju/charms/etc
[20:06] <rick_h_> but the goal is to have a maas setup teammates can use
[20:07] <cmaloney> Basically rick_h_ is going to have CI for Juju in his basement.
[20:07] <rick_h_> woot!
[20:08] <brousch> Geez. Took me 12 lines of VB to do this code that would take 2 lines of Python
[20:09] <mrgoodcat> pastie for lulz? or proprietary code?
[20:12] <brousch> I really miss list comprehensions http://pastebin.com/NVwmcirs
[20:12] <bookiebot> http://is.gd/7GSd7L - Imports System Imports System.IO Public Class MainForm Dim PATH_TO_BOMS - Pastebin.com
[20:13] <brousch> I'm sure some of it due to not knowing VB.NET well
[20:17] <cmaloney> Python does the same thing re: length of arrays
[20:17] <cmaloney> That's the fun of arrays that start from 0
[20:17] <jrwren> brousch: in VB.NET you can set the base of arrays per file.
[20:18] <jrwren> http://msdn.microsoft.com/en-us/library/aa266179%28v=vs.60%29.aspx
[20:18] <bookiebot> http://is.gd/tFkbw5 - Option Base Statement
[20:18] <cmaloney> jrwren: That sounds like an excellent shotgun for an unsuspecting foot
[20:18] <jrwren> OPTION BASE 0 if you want zero based arrays like a REAL lang :)
[20:18] <brousch> That sounds like a recipe for fun
[20:18] <brousch> It is base 0
[20:18] <brousch> but you define it by the last element, not the length
[20:19] <jrwren> "Basically rick_h_ is going to have CI for Juju in his basement." -- don't we all run that on our basement openstacks?
[20:19] <cmaloney> jrwren: But of course.
[20:20] <cmaloney> I heat my home with Octocore CPUs.
[20:21] <jrwren> octocore? i just run it on an old laptop :p
[20:29] <mrgoodcat> grep -r WTF . | wc -l
[20:30] <mrgoodcat> 32
[20:30] <mrgoodcat> on most recent kernel
[20:30] <mrgoodcat> 15 wtf
[20:31] <mrgoodcat> 30 fuck
[20:31] <jrwren> git grep is your friend :p
[20:32] <mrgoodcat> apt-get source doesn't get it as a git repo
[20:32] <mrgoodcat> git grep WTF
[20:32] <mrgoodcat> not a git repository
[20:32] <jrwren> file a bug on that :)
[20:51] <jrwren> brousch: I think you can impl that whole event handler in 2 lines of code.
[20:51] <jrwren>        Dim bomDirInfo As New DirectoryInfo(PATH_TO_BOMS)
[20:51] <jrwren>         cmbJobNumber.Items.AddRange(From dirInfo in bomDirInfo.GetDirectories Select dirInfo.Name Order By dirInfo.Name)
[20:58] <jrwren> brousch: point being, LINQ is far more powerful than python list comprehensions
[20:59] <brousch> Looks like I should read my book first
[20:59] <jrwren> some of the time when I write python, I miss linq :)
[21:00] <brousch> It doesn't work, but I can see where you're going with it
[21:00] <jrwren> yeah, I don't have a VB compiler at my disposal :(
[21:01] <brousch> Even just AddRange eliminates a bunch of code
[21:01] <brousch> I'll read my VB.NET book
[21:03] <jrwren> yup, addrange is your friend. most lists support it
[21:07] <jrwren> brousch: add Imports System.Linq at top
[21:07] <jrwren> change orderby to just 'Order By Name'
[21:09] <jrwren> i found this - http://dotnetfiddle.net/ which lets me try it :)
[21:09] <bookiebot> http://is.gd/wUSSbZ - .NET Fiddle
[21:11] <brousch> Unable to cast object of type 'System.Linq.OrderedEnumerable`2[System.String,System.String]' to type 'System.Object[]'.
[21:13] <jrwren> ah, stupid combobox
[21:13] <brousch> heh
[21:13] <jrwren> wrap whole thing in parens adn then call ToArray()
[21:15] <jrwren> cmbJobNumber.Items.AddRange((From dirInfo in bomDirInfo.GetDirectories() Select dirInfo.Name Order By Name).ToArray())
[21:16] <brousch> Holy smokes. I just added Descending to the Order By and it works
[21:17] <brousch> Order By Name Descending
[21:17] <jrwren> oh yup.
[21:17] <jrwren> sorry, i forgot about taht
[21:17] <jrwren> but ye, descending works.
[21:17] <jrwren> see...
[21:17] <jrwren> LINQ
[21:18] <jrwren> linq really makes other lang comprehensions look BAD
[21:18] <brousch> I think you condenced 12 lines of my code to 1
[21:18] <jrwren> I figured I would
[21:18] <jrwren> cuz you can inline that bomDirInfo
[21:18] <jrwren> not bad for a guy who has never written VB.NET :p
[21:19] <brousch> You are today's champion
[21:19] <brousch> So that's LINQ?
[21:21] <brousch> I can actually in-line the first line too
[21:21] <brousch> cmbJobNumber.Items.AddRange((From dirInfo In New DirectoryInfo(PATH_TO_BOMS).GetDirectories() Select dirInfo.Name Order By Name Descending).ToArray())
[21:29] <jrwren> yes, that **From XX In YY Select SSS Order By OO ** is linq
[21:31] <brousch> I was able to adjust it for another similar method too
[21:34] <jrwren> yay!
[21:34] <jrwren> saving U code.
[21:34] <jrwren> I R UR code savior
[21:35] <brousch> You win an Internet Cookie!
[21:36] <jrwren> https://brousch.com/+authorize-token/+login?oauth_token=:p  INET blahblah 1391121668 brousch.com / 15 0
[21:39] <brousch> Wow, this works really nicely now
[21:48] <brousch> jrwren: Thanks for the help.
[22:35] <jrwren> brousch: you are welcome :)