/srv/irclogs.ubuntu.com/2014/05/07/#ubuntu-us-mi.txt

cmaloneyAre we having fun yet?01:18
rick_h_working on the camper wooo01:31
greg-gwatching On Site With Thomas with Rowan and eating popcorn for dinner since Carrie is at a baby sitting coop meeting thingy03:46
greg-galso, mentally prepping for tomorrow's flight to Zurich03:46
brouschgreg-g: Wait, there's no baby sitting available during the baby sitting co-op meeting?11:54
rick_h_morning12:02
cmaloneyGood morning12:11
mrgoodcatgooood morning campers12:52
brouschrick_h_: Remote work is part of your Javascript junkie job request, right?12:53
rick_h_brousch: yea12:53
cmaloneyrick_h_: Was that personality test work-related?12:57
rick_h_cmaloney: yea, manager training12:58
rick_h_cmaloney: I took one at my first job out of college as well12:58
cmaloneyI 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 interesting12:58
cmaloneyYeah, you've become more tolerant of wrong people. :)12:59
rick_h_:P12:59
cmaloneyInstead of complete annihilation, you've chosen nihilism.12:59
brouschHm, ENTJ seems to fit you well, rick_h_13:01
cmaloneyIt's a horoscope13:01
rick_h_brousch: yea, I was surprised the N turned to S, but then again maybe I've gotten more list-like over time13:01
rick_h_to be fair, it was only slightly S vs N so I guess I play the middle well enough13:02
cmaloneyI think you've also become more tolerant.13:02
cmaloneyand by tolerant I mean you're not force-choking those who oppose you. ;)13:02
rick_h_hah13:03
rick_h_I'll take it13:03
* cmaloney just got an idea for Darth Vader in management training13:05
cmaloneyOK, this is strange13:21
cmaloneyOn Reddit: someone posted http://www.reddit.com/r/progmetal/comments/24xnva/fountain_of_lamneth_rush/13:23
bookiebothttp://is.gd/oJWlln - Too Many Requests13:23
cmaloneyhah.13:23
cmaloney.np squeekyhoho13:24
bookiebotsqueekyhoho's current track - I Think I'm Going Bald by Rush on Caress Of Steel13:24
cmaloneyI _rarely_ play Caress of Steel13:24
cmaloneybut the Squeezebox picked it at random.13:24
brouschSo Jython is not quite dead yet http://fwierzbicki.blogspot.com/2014/05/jython-27-beta2-released.html13:54
bookiebothttp://is.gd/SiYd95 - Frank Wierzbicki's Weblog: Jython 2.7 beta2 released!13:54
jrwrenwho cares about jython when pypy is so awesome?13:54
brouschPeople who love Swing?13:55
cmaloneyjrwren: Now now now, I'm sure the folks who are interested in Java libraries would take umbrage with your statement.13:55
cmaloneyboth of them.13:55
jrwrenbrousch: THERE ARE NONE!13:55
brouschGood luck running your applet on pypy13:56
cmaloneyjrwren: wherever there are two people gathered there will be a magazine.13:56
brouschEverybody loves applets13:56
cmaloneybrousch: ANd parachute pants.13:56
brouschIt's Java right in your browser!13:56
jrwrenapplet?13:57
jrwrenthose don't exist.13:57
brouschI made a Java applet in 1997. that is well after parachute pants were popular13:57
jrwreni did too, in '96 or 97, was only wya to get audio on a webpage, and I wanted my webpage to play music!13:57
brouschWell I learned one thing from that blog post. It looks like Maven Central is pypi for Java http://search.maven.org/13:58
bookiebothttp://is.gd/UoZuo1 - The Central Repository Search Engine13:58
jrwrenyou didn't know about maven?13:59
jrwrenjava folks LOVE maven13:59
brouschI just encountered it for the first time when trying to build bookie for Android, but I'm not a Java guy14:01
jrwreni only know of it cuz I know java folks and we talk nerdy14:09
mrgoodcatwhat is maven?14:14
mrgoodcata build system?14:14
jrwrenlike brousch said, its like pypi14:25
jrwrenso... its like rubygems.org14:25
brouschI think maven is a build system, and Maven Central is pypi14:25
jrwrenit can be.14:25
jrwrenyou can also use it with ant, but still trigger maven dependency mgmt14:26
jrwrenalthough I have no idea how folks do things these days14:26
* cmaloney is checking out Vundle14:41
mrgoodcati use vundle14:53
* jrwren ddgs14:55
jrwrenoh! that is the new thingy.14:56
jrwrenI still use pathogen14:58
rick_h_what does vundle do that pathogen doesn't?14:59
rick_h_I didn't follow14:59
cmaloneyVundle allows you to add the plugin in your .vimrc15:02
cmaloneyIt's one more layer above pathogen.15:03
cmaloneyrick_h_: I think you're the one person it's not intended for. :)15:03
cmaloneylepture.com/en/2012/vundle-vs-pathogen15:03
jrwreni'd do vundle if I were starting over.15:10
jrwreni'm just too lazy to start over.15:10
brouschEclipse4Life!15:10
greg-gbrousch: that'd be a catch-22, it's just getting started.15:13
jrwrenwtf is Eclipse4Life?15:14
brouschThat's what I say to irritate the vimmers15:18
rick_h_oh, so vundle just does git pulls for you15:41
rick_h_so you need a new tool to automate that?! cursed open source15:41
brouschSmall, focused tools. If you don't like that, join me in Eclipse4Life15:43
rick_h_yea, let me get right on that whole 'stab my eyes out' thing15:44
brouschmaybe emacs is more your style15:45
rick_h_already using a kenisis to avoid wrist pain thanks15:45
jcastrohey so I tried atom15:45
jcastroand it's <315:45
rick_h_jcastro: :P15:46
brouschOSX-only. It can DIAF until it runs on Linux15:46
jcastroit's more of a sublime replacement than a vim replacement15:46
jcastroruns linux yo15:46
brouschFront page has only OSX download link, FAQ says only OSX15:47
jcastrohttps://github.com/atom/atom#linux-requirements15:48
bookiebothttp://is.gd/wQFR1Q - atom/atom · GitHub15:48
jcastroit took a while to build though, like 20 minutes on my i715:48
brouschGeez, well at least now it doesn't have to DIAF15:48
brouschThanks15:48
jrwrenI still don't know what Eclipse4Life means15:49
brouschIt means use Eclipse for the rest of your life15:50
jrwrenIs Eclipse like some tool for watching the moon and sun and earth interact?15:51
brouschY U troll me bro?15:51
brouschWindows requirements for Atom are interesting: Visual Studio 2010 C++ Express, Github for Windows, and Python2.7?15:53
cmaloneyFunnily enough it was the Atom announcement that indirectly got me to try Vundle.15:57
jrwrenyes, I am trolling you brousch :)16:08
ColonelPanic001Eclipse is a tool for stress testing your CPU and RAM16:34
ColonelPanic001and your patience16:35
jrwrenI probably would love eclipse if someone ever taught me how to use it.16:43
jrwrenevery time I try to learn it, I get angry and stop using it. Its unusable IMO16:43
rick_h_no...no you wouldn't16:44
jrwrenyou are right, I wouldn't love it.16:45
jrwrenI might tollerate it.16:45
jrwrenkinda like redhat based distros... tollerable.16:45
cmaloneyI have the same problem. Every time I play with Eclipse it pisses me off.16:45
jrwrencmaloney: ^516:45
rick_h_i used it professionally and don't miss a thing16:46
cmaloneyIt's like having an entire ecosystem based on cargo-cult installation16:46
cmaloney(coincidentally that's also part of the reason I don't care for Ruby)16:46
cmaloney(though when compared with Eclipse Ruby's ecosystem seems downright professional)16:47
greg-gspeaking of ruby: https://twitter.com/arirubinstein/status/46384838238604083216:50
bookiebothttp://is.gd/gq8VRY - Twitter / arirubinstein: curl localhost:3000/staraction ...16:50
cmaloneyheh16:50
cmaloneyWasn't that fixed a while back?16:50
greg-ghttp://seclists.org/oss-sec/2014/q2/260 this suggests not?16:51
bookiebothttp://is.gd/qW0gdy - oss-sec: [CVE-2014-0130] Directory Traversal Vulnerability With Certain Route Configurations16:51
cmaloneyOh ffs16:51
mrgoodcatcmaloney: what do you mean by cargo-cult?17:38
brouschHm, 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
bookiebothttp://is.gd/HE2DwB - TrueVault - HIPAA compliant data store17:41
greg-gmrgoodcat: https://lmddgtfy.net/?q=cargo+cult17:51
bookiebothttp://is.gd/daQwAL - Let Me DuckDuckGo That For You17:51
rick_h_lol17:51
greg-gdamnit bookiebot, ruining things17:51
mrgoodcatlol17:52
mrgoodcatgreg-g: i would have probbably figured it out from the url anyways17:52
mrgoodcatduck duck go > google17:52
greg-gthose "let me X for you" urls should be short urls/obfuscated17:52
mrgoodcatyou could have shortened it. bookiebot would still have ruined your fun though17:53
greg-gmrgoodcat: I want *them* to do it for me! I'm lazy!17:55
greg-ghttp://ur1.ca/h9vp017:55
bookiebotLet Me DuckDuckGo That For You17:55
mrgoodcathaha. i think lmgtfy has a shorten option17:55
mrgoodcatit is nice to know what shortlinks are before clicking on them though17:56
greg-gdoesn't look like it, but I've moved on ;)17:56
mrgoodcatjcastro: i'm building atom on my chromebook right now and it's SOOOO SLOOOWWW17:57
jcastroheh17:57
jcastrotook about 25minutes on my i7 btw17:57
mrgoodcatdual core 1.417:57
mrgoodcatceleron ftw17:58
cmaloneyceleron: impersonating a real processor since 1995.17:58
mrgoodcat2793.7117:58
mrgoodcatmost important number17:58
mrgoodcatBOGOMIPS :)17:58
mrgoodcatthis celeron is haswell based17:59
jcastroI am pleasantly surprised at how well the C720 runs17:59
mrgoodcatsame17:59
mrgoodcatlove it17:59
jcastroI mean, other than compiling software, it's <317:59
mrgoodcatalthough it could use a bit more ram17:59
brouschGet the 4GB model foolio17:59
jcastroyeah I put like 16GB of RAM in my machine for chrome, and they're slumming it at 4GB17:59
mrgoodcati've got 218:00
mrgoodcatcouldn't get my hands on the 4 model18:00
rick_h_jcastro: you went chromebook?18:00
brouschThey come and go18:00
jcastrorick_h_, I added one18:00
rick_h_cool18:00
mrgoodcati'll get a pixel if i can find a good deal on it18:00
jcastroit's our couch PC, mostly Jills18:00
mrgoodcatbut pixel doesn't have haswell18:00
mrgoodcatwhich is pretty bummer18:00
brouschmrgoodcat: 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
bookiebothttp://is.gd/3XQqKR - Acer Aspire C720 29554G01aii 116 LED ComfyView Notebook Intel Celeron 2955U 140 GHz by Office Depot18:02
bookiebothttp://is.gd/cRY9pd - Newegg.com - Computer Parts, PC Components, Laptop Computers, LED LCD TV, Digital Cameras and more!18:02
brouschI might get one of these http://www.pcworld.com/article/2151161/lenovo-announces-n20p-chromebook-with-touchscreen-and-300-degree-hinge.html18:05
bookiebothttp://is.gd/CNcMc5 - Lenovo announces consumer N20 Chromebooks18:05
mrgoodcatdepends on specs18:10
mrgoodcati saw that yesterday18:11
mrgoodcati'd like to have haswell, >=4gb ram, and a pixel-quality 11-13 inch screen18:13
mrgoodcatremoveable ram and ssd would be nice too18:13
brouschIt has 4GB of RAM, but the usual crappy Chromebook screen18:15
brouschThe Samsung Chromebook 2 13" is the only other one with a nice screen18:16
jcastrorick_h_,  the way thinkpads are going I am afraid we're all going to end up with chromebooks18:16
mrgoodcati <3 cromebooks18:17
cmaloneyPretty much18:17
brouschYou'll buy your thinkpad with ChromeOS or Windows. Which evil do you hate less?18:17
mrgoodcatjust wish my kb was a bit nicer18:17
mrgoodcatyou think chromeos is evil?18:18
cmaloneyI wish the KB was a little more "standard"18:18
mrgoodcatcertainly less evil than windows18:18
mrgoodcatgdi18:18
mrgoodcati have to rebuild node18:18
mrgoodcati'm running master which is v0.11.*18:19
mrgoodcatatom only supports v0.10.*18:19
brouschmrgoodcat: You run Ubuntu 14.04 on it, right?18:24
mrgoodcatyup18:25
mrgoodcatbut i had to wrestle with it a bit18:25
mrgoodcatturned out, the kernel that ships with 14.04 doesn't work with the patches everyone's been using18:25
mrgoodcatbut i got it all working18:25
mrgoodcati also have chromeos though. dual boot ftw18:26
jrwreni should get one of those cheapo chrome books and run ubuntu on it18:27
rick_h_it can be the netbook revolution all over again wheeee18:27
mrgoodcatexcept these are actually nice18:27
mrgoodcati hated netbooks when they first came out because they were all crap18:28
rick_h_except for their screens, keyboards, and disk space18:28
brouschrick_h_: No, no. Netbooks were 7-10" at 1024x600. Chromebooks are 11-13" at 1366x768 resolution. It's entirely different18:28
rick_h_brousch: oh oh oh my bad18:28
rick_h_brousch: I thought you were talking about cheap laptops still.18:29
mrgoodcathaters gonna hate18:30
mrgoodcati love my c72018:30
jrwren1366x768??? fuck that.18:31
mrgoodcati don't love the screen18:31
mrgoodcatbut we love our kids even when they eat glue right?18:31
jrwreni'll never go less than 1440x90018:31
jrwrenmrgoodcat: you got kids?18:31
mrgoodcatlol no18:31
mrgoodcatfuckallofthat18:31
brouschjrwren: Then you need the Samsung Chromebook 2 13" (1080p) or Pixel18:31
mrgoodcatneither of those have the CPU i want18:32
jrwrenaren't those $$$$18:32
brouschSamsung is an ARM CPU though, so you can all of the good stuff from Linux18:32
mrgoodcathaswell is way better for battery life18:32
brouschcan't get18:32
brouschPixel can be found for $850 used18:32
jrwrenSamsung Chromebook 2 looks pretty sweet, but I'm not sure I want to run ubuntu ARM18:32
mrgoodcati can get 4 of these for that18:32
jrwrenindeed!18:33
jrwrenget 4, and matrix the displays18:33
mrgoodcatatom 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 deps18:33
mrgoodcatbah. needed to set node to use python218:35
jrwrenyears ago there was an X windows virtual server which would display to multiple X windows servers.18:35
jrwreni wonder if that is still around18:35
mrgoodcatoh finally it builds18:36
mrgoodcatslowly18:36
brouschNode needs Python?18:39
mrgoodcatjcastro: have you used sublime?18:39
mrgoodcatbrousch: no, but the build script does18:39
mrgoodcatfor atom18:40
jcastromrgoodcat, yeah it's my current editor18:40
mrgoodcatbetter or worse than atom?18:40
mrgoodcati'm building atom right now but ST3 is my current18:40
jcastroi'ts more finished18:44
jcastrobut I will be transitioning to atom18:44
mrgoodcati like that atom is OSS18:47
mrgoodcatbut ST3 is hard to beat18:47
mrgoodcatjcastro: does atom install fuck with your .profile or anything like that?18:53
jcastronot afaict18:53
jrwrengit grep .profile18:53
jrwrenwill answer that quickly18:53
jcastrothe only issue I have right now is that it takes a long time to build18:54
jcastrobut someone can set up launchpad to build packages eventually18:54
jcastrooh, and the 5 second start up time isn't so hot either18:54
mrgoodcati got it fixed18:54
mrgoodcatapm is a bad program name18:55
mrgoodcatsince it already exists18:55
jrwrennode-apm isn't it?18:55
jrwreni mean when debian packaged?18:55
mrgoodcatwhat do you mean?18:55
rick_h_in the debian world things get prefixed18:56
mrgoodcatapm is the atom package manager18:56
mrgoodcatah got it18:56
mrgoodcat/usr/local/share/atom/atom: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory18:56
mrgoodcati have libudev1 and libudev-dev installed18:57
mrgoodcati just linked libudev.so.1 to libudev.so.018:59
mrgoodcatand atom started....18:59
mrgoodcatso i hope that wasn't a bad idea18:59
jrwrenlooks like you should have libudev0 maybe?19:08
jrwrenits maybe becuase you are on 14.04 instead of 12.04?19:08
mrgoodcatyea 14.04 doesn't have libudev0 in the repos19:11
mrgoodcatso here's to hoping they're similar enough not to screw me up :)19:12
jrwrenit likely is19:13
mrgoodcatstarted reading the changelog but gave up19:15
mrgoodcattoo long19:15
mrgoodcatlooks like mostly security updates though19:15
mrgoodcatand bugfixes19:15
jrwrenit comes from system319:15
jrwrensystemd19:16
jrwrenwhich likely HAS had a lot of changes since 12.04, but maybe not in libudev :p19:16
jrwrenits TINY: http://cgit.freedesktop.org/systemd/systemd/tree/src/libudev19:16
bookiebothttp://is.gd/5xWseP - systemd/systemd - System and Session Manager19:17
mrgoodcatwhy does atom need libudev?19:18
jrwrengreat question19:18
jrwrengit grep udev, find out ;)19:19
mrgoodcatit19:20
mrgoodcatit's not in there....19:21
mrgoodcatmaybe node needs it?19:21
mrgoodcatnope...19:21
mrgoodcatnow i'm confused19:21
jrwrenWTF is CSON?19:21
jrwrencoffee script object notation *eyeroll*19:22
mrgoodcatcoffee json19:22
mrgoodcatyou must have seen the mega CSON?19:22
jrwreni can't pretend to understand how /usr/local/share/atom/atom even ends up being an ELF executable19:23
jrwrenhttps://github.com/atom/atom is all coffee19:23
bookiebothttp://is.gd/wQFR1Q - atom/atom · GitHub19:23
mrgoodcathaha19:23
mrgoodcatread the build script19:23
jrwrenwhich one?19:23
mrgoodcatactually not sure19:24
mrgoodcatidk how it works19:25
mrgoodcatDid rick_h_ make this? http://vim.sexy19:44
bookiebothttp://is.gd/2ODQaZ - vim is sexy19:44
rick_h_hah, no19:45
mrgoodcatseems like something you'd make19:47
jsivakgood to see those new TLD's put to good use.19:47
brouschOMG WTF. In VB.NET you declare the length of an array by specifying it's last index, but arrays are zero indexed19:53
brouschSo if you want to declare an 8 element array it's dim bleh(7) as whatever19:55
mrgoodcatso Dim students(6) As Integer actually makes an array of 719:55
mrgoodcatlol19:55
brouschYes!19:56
brouschIn my case, I was declaring an array based on the length of another array, but it kept coming out with 1 empty element19:56
jsivakheh, *more* reasons to dislike VB19:56
mrgoodcathaha19:56
mrgoodcatlength() isn't 0 indexed?19:57
mrgoodcatbut declaring is?19:57
brouschCorrect!19:57
mrgoodcatBWAHAHA19:57
brouschWTFBBQ19: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:57
jsivak(since the underlying byte-code is probably more like C than VB.. )19:58
brouschApparently 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 versions19:59
brouschI'll put a comment beginning with WTF to mark this stuff20:00
cmaloneyhttp://shop.lenovo.com/SEUILibrary/controller/e/web/LenovoPortal/en_US/catalog.workflow:item.detail?hide_menu_area=true&GroupID=460&Code=0B4718920:00
bookiebothttp://is.gd/gMu7N1 - ThinkPad Compact Bluetooth Keyboard with TrackPoint US English | Lenovo | (US)20:00
jsivakheh.. "ultimate correctness" (e.g. fix in future) or "at least its consistent" (e.g. broken forever).. not sure which is better.20:00
brouschooooh, that keyboard is hawt20:01
rick_h_cmaloney: it's cool but laptop scissor switches :(20:02
cmaloneySaw popey with two of them (different models I think) and thought of rick_h_20:02
cmaloneyyeah, that's the only downside20:02
rick_h_oh yea, I've been so tempted many times20:02
rick_h_see, I do have the ability to resist...once in a while20:03
cmaloneybut hey, that's one way to work around the broken Thinkpad keyboard on their stupid laptops20:03
* rick_h_ says that while opening his new UPS box with three NUCs inside for his upcoming MAAS garage20:03
cmaloneydafuq?20:04
cmaloneyWhich ones did you buy?20:04
rick_h_jcastro: knows what I'm talking :)20:04
cmaloneyOh no20:04
cmaloneyI see where this is going already.20:04
rick_h_business class multi IP service installed next tues20:05
rick_h_going to have two diff networks at home20:05
cmaloneyjuju deploy nuc dafuq20:05
mrgoodcatwow20:05
rick_h_http://www.newegg.com/Product/Product.aspx?Item=N82E1685610205220:05
bookiebothttp://is.gd/BLLO9Z - Newegg.com - Intel NUC D54250WYK1 Intel QS77 2 x 204Pin Intel HD Graphics 5000 NUC Kit20:05
mrgoodcati should host my shit at rick_h_'s house20:05
cmaloneymrgoodcat: Pretty soon you will20:05
mrgoodcatrick_h_: you going to host bmark.us or something?20:06
rick_h_mrgoodcat: no, it's for work20:06
rick_h_well, mostly work and playing with juju/charms/etc20:06
rick_h_but the goal is to have a maas setup teammates can use20:06
cmaloneyBasically rick_h_ is going to have CI for Juju in his basement.20:07
rick_h_woot!20:07
brouschGeez. Took me 12 lines of VB to do this code that would take 2 lines of Python20:08
mrgoodcatpastie for lulz? or proprietary code?20:09
brouschI really miss list comprehensions http://pastebin.com/NVwmcirs20:12
bookiebothttp://is.gd/7GSd7L - Imports System Imports System.IO Public Class MainForm Dim PATH_TO_BOMS - Pastebin.com20:12
brouschI'm sure some of it due to not knowing VB.NET well20:13
cmaloneyPython does the same thing re: length of arrays20:17
cmaloneyThat's the fun of arrays that start from 020:17
jrwrenbrousch: in VB.NET you can set the base of arrays per file.20:17
jrwrenhttp://msdn.microsoft.com/en-us/library/aa266179%28v=vs.60%29.aspx20:18
bookiebothttp://is.gd/tFkbw5 - Option Base Statement20:18
cmaloneyjrwren: That sounds like an excellent shotgun for an unsuspecting foot20:18
jrwrenOPTION BASE 0 if you want zero based arrays like a REAL lang :)20:18
brouschThat sounds like a recipe for fun20:18
brouschIt is base 020:18
brouschbut you define it by the last element, not the length20:18
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
cmaloneyjrwren: But of course.20:19
cmaloneyI heat my home with Octocore CPUs.20:20
jrwrenoctocore? i just run it on an old laptop :p20:21
mrgoodcatgrep -r WTF . | wc -l20:29
mrgoodcat3220:30
mrgoodcaton most recent kernel20:30
mrgoodcat15 wtf20:30
mrgoodcat30 fuck20:31
jrwrengit grep is your friend :p20:31
mrgoodcatapt-get source doesn't get it as a git repo20:32
mrgoodcatgit grep WTF20:32
mrgoodcatnot a git repository20:32
jrwrenfile a bug on that :)20:32
jrwrenbrousch: 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:51
jrwrenbrousch: point being, LINQ is far more powerful than python list comprehensions20:58
brouschLooks like I should read my book first20:59
jrwrensome of the time when I write python, I miss linq :)20:59
brouschIt doesn't work, but I can see where you're going with it21:00
jrwrenyeah, I don't have a VB compiler at my disposal :(21:00
brouschEven just AddRange eliminates a bunch of code21:01
brouschI'll read my VB.NET book21:01
jrwrenyup, addrange is your friend. most lists support it21:03
jrwrenbrousch: add Imports System.Linq at top21:07
jrwrenchange orderby to just 'Order By Name'21:07
jrwreni found this - http://dotnetfiddle.net/ which lets me try it :)21:09
bookiebothttp://is.gd/wUSSbZ - .NET Fiddle21:09
brouschUnable to cast object of type 'System.Linq.OrderedEnumerable`2[System.String,System.String]' to type 'System.Object[]'.21:11
jrwrenah, stupid combobox21:13
brouschheh21:13
jrwrenwrap whole thing in parens adn then call ToArray()21:13
jrwrencmbJobNumber.Items.AddRange((From dirInfo in bomDirInfo.GetDirectories() Select dirInfo.Name Order By Name).ToArray())21:15
brouschHoly smokes. I just added Descending to the Order By and it works21:16
brouschOrder By Name Descending21:17
jrwrenoh yup.21:17
jrwrensorry, i forgot about taht21:17
jrwrenbut ye, descending works.21:17
jrwrensee...21:17
jrwrenLINQ21:17
jrwrenlinq really makes other lang comprehensions look BAD21:18
brouschI think you condenced 12 lines of my code to 121:18
jrwrenI figured I would21:18
jrwrencuz you can inline that bomDirInfo21:18
jrwrennot bad for a guy who has never written VB.NET :p21:18
brouschYou are today's champion21:19
brouschSo that's LINQ?21:19
brouschI can actually in-line the first line too21:21
brouschcmbJobNumber.Items.AddRange((From dirInfo In New DirectoryInfo(PATH_TO_BOMS).GetDirectories() Select dirInfo.Name Order By Name Descending).ToArray())21:21
jrwrenyes, that **From XX In YY Select SSS Order By OO ** is linq21:29
brouschI was able to adjust it for another similar method too21:31
jrwrenyay!21:34
jrwrensaving U code.21:34
jrwrenI R UR code savior21:34
brouschYou win an Internet Cookie!21:35
jrwrenhttps://brousch.com/+authorize-token/+login?oauth_token=:p  INET blahblah 1391121668 brousch.com / 15 021:36
brouschWow, this works really nicely now21:39
brouschjrwren: Thanks for the help.21:48
jrwrenbrousch: you are welcome :)22:35

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