[00:25] It would help me & 4th&5th grade First Lego League a lot if you follow this link, scroll down and vote: http://bit.ly/2onMSbN [00:33] sorry jrwren, i don't remember what my facebook credentials are :| [00:34] I have no FB presence [00:36] its ok. thanks for clicking [00:39] I can open a bunch of incognito browsers and click away, if just visiting will help [00:39] haha [00:41] no, i think it needs FB login [00:44] that's harsh [00:45] "But all of my friends are privacy-wonks and OSS bigots" [00:45] "Sucks to be you kiddo" [00:46] oh, its ok. [00:46] now if they recognized toots from GNUSocial... ;) === rick_h_ is now known as rick_h [16:32] morning / afternoon [16:42] <_stink_> yo [16:42] How goes? [16:43] <_stink_> eh [16:43] <_stink_> juggling darts :P [16:43] <_stink_> you? [16:46] chainsaws [16:51] Trying once again to relearn the front-end stack for a job challenge [16:53] Thinking about juggling torches whole doused in gasoline. ;) [16:53] That the react thing>? [16:53] Yeah [16:53] Yeah react seems to be a pretty hot buzz word right now :( [16:54] yes, be sure to say "reducer" a lot when talking about your redux react bullshit [16:54] make a bingo card, but don't actually yell bingo when you win, just sit silently with the satisfaction that its all bullshit [16:55] Actually this one is a 4 hour "work day" where I get to prioritize work and fix something [16:55] that's not actually on the product [17:10] wtf [17:10] This is my life now [17:10] That sounds like something you'd have an intern do, not an experienced person [17:11] Unfortunately it's costly enough to hire / train people that they'd rather subject everyone to some form of test to see if they can code [17:12] cmaloney: 8 queens problem :) [17:12] Like hiring someone at the Meijer bakery but subjecting them to The British Baking Show challenges prior. [17:12] jrwren: I read that. :) [17:13] cmaloney: omg, so good! [17:14] Yeah we've done interviews like that at myl ast place [17:14] it's brutal and was mostly a culture fit thing moreso than a real "test" [17:34] that's rough [17:37] Unfortunately it's also common [17:38] So unless you've kept up with the industry in the past 4 years, and can emerge fully-formed like Goddess Athena, ready to churn out code, kick ass, and be a perfect culture fit then you're garbage. [17:38] pretty muich [17:39] :( [17:39] we'd never do that here, fwiw [17:39] Would that I could get a response. ;) [17:40] greg-g: Do you guys still use SaltStack? [17:42] Where is here greg-g? [17:43] cmaloney: :/ [17:44] brousch__: trying to get rid of it :) [17:44] Zimdale: Wikimedia Foundation [17:44] I know someone that was interviewing for wikimedia [17:44] for like the last 4 months [17:45] Seems like a cool place [17:45] heh, we're sometimes slow :) (which sucks, because we lose good people that way) [17:45] I think he's still interviewing [17:46] he kind of dropped out of contact after the last company basically folded :( [17:48] greg-g: We are moving to SaltStack at Limelight Networks. Mind if I ask why you're getting rid of it? [17:49] well, I can tell you why we aren't using it for deploy-related things: it's a root-focused tool. To do any debugging you need to have root, and most deployers don't [17:50] and Ops is writing their own automation framework that mostly supersedes it [17:50] Ambitious [17:51] It is not well-loved here, but the decision came from higher up [17:52] https://wikitech.wikimedia.org/wiki/Cumin [17:54] wtf? [17:54] why are you worried about root? [17:56] jrwren: what do you mean? [17:56] I mean, if someone is deploying something, why are you concerned about root access? [17:56] because you don't need root to deploy :) [17:57] you don't need power tools to build a house, but it sure helps. :) [17:57] also, we give our deploy privs to volunteers (in trusted cases, after they sign an NDA because deployers do have access to the DBs which obviously have private user info) [17:57] no, it makes it worse in this case [17:57] root is a crutch [17:57] if you do things as root you're doing it wrong (99% of the time) [17:57] that is a very old way of thinking. [17:57] its certainly not true 99% of the time anymore. [17:58] switching a symlink and doing a git-pull (opposite order) doesn't need root :) [17:58] true enough. [17:58] separation of concerns [17:58] you are using unix user security model to allow untrusted people to deploy. THAT is a good reason. [17:58] well, trusted but volunteer [17:59] oh yes, privilege separation is a must for processes. I don't want to suggest it isn't. [17:59] you might not know how Wikipedia works, but ;) [17:59] oh definitely, I do not. [17:59] we're weird [17:59] I only want to argue your generalizeation :p [17:59] a combo of "old school opsen" plus "volunteers having access to info/tooling no one would ever dream of giving" [17:59] its ok, i'll move along :) [18:00] now, I am annoyed by how little Ops gives out root, even in limited cases/services [18:00] it's a long standing issue :) [18:01] its pretty common, especially for an old guard type org with an old mindset. [18:01] * greg-g nods [18:01] Canonical is no better and probably a lot worse. [18:01] But Arbor... oh man... that was devops... best... devops...env... ever. [18:01] yeah, our Ops team also has a high percentage of DDs and DMs [18:01] DD and DM? [18:02] Debian Developers/Maintainers [18:02] oh! nice! [18:02] well next time I need a DD sponsor I'll ask you to get me in touch. [18:02] yeah, it is for a lot of things, but also, it imparts a certain world view many times :) [18:02] oh definitely. [18:02] which isn't inherently "wrong" or "right" just, yeah, you know [18:03] at this point, I think the ubuntu/debian packager mindset is flawed and too limiting. I thank them for what we have got to this point, but we need more flexibility in some things that they consider hard rules. [18:03] * greg-g nods [18:04] but then the npm way... not great either ;) [18:04] well... no... [18:04] but not terrible either [18:04] JavaScript is a cancer. [18:04] and for shipping production software there are ways to meet in the middle. [18:05] linux is a cancer. I like cancer. [18:05] and the "just make a container with all your dependencies" is a nice idea, but a pain to maintain/do fixes/security updates when needed [18:05] ugh... "make a container" is terrible. [18:05] greg-g: I remember at SF.net that we had issues with how little access we gave our engineers [18:05] it means you can't actually package your software in a repeatable way. [18:05] eventually we became more liberal [18:05] jrwren: exactly, so annoying :) [18:06] https://www.youtube.com/watch?v=1oDAkmfoAgA [18:11] why do I get a distinct Mike Patton feel from this? [18:12] Not sure if Mike Patton was influenced by Joe Jackson, but I know Anthrax was. [18:13] That and Latin music tends to get parodied when people are sarcastic [18:13] not sure who started that trend [18:13] "Wanna tell someone to go fuck themselves? Do it in a Bossa Nova." [18:14] Joe Jackson also did "Cha Cha Loco" [18:14] https://www.youtube.com/watch?v=XwR3wFox6r8 [18:16] i only know the Joe Jackson song that he did with William Shatner [18:16] Sure it wasn't Ben Folds? [18:17] Apparently it was all three. [18:18] was it? [18:18] http://www.dailymotion.com/video/x4myrb0 [18:18] Common People? [18:18] Apparently. [18:19] album version is WAY better tahn this live version [18:19] <3 Joe Jackson though. If you dive into his discography you're in for some treats [18:20] I can't even recommend a starter album because they're vastly different from each other [18:20] huh, Ben has Bass and Synth credits on the album version. how did I miss that? [18:21] eg: Stepping Out is different from Night Music, Willpower, Big World, Beat Crazy, Jumpin' Jive, Body & Soul, Laughter and Lust [18:21] oh sheesh, Ben is on most of the tracks on this album. I guess I knew he was on some, but I didn't know it was most. [18:21] Ben Folds is talented [18:22] no doubt. for sure. [18:22] https://www.youtube.com/watch?v=PJwt2dxx9yg [18:22] You've probably heard this song without realizing it was Joe Jackson [18:22] and "Is she really going out with him" [18:24] And this is the cover that I wish the band I was in would have taken more seriously: https://www.youtube.com/watch?v=be7iNHw8QoQ [19:28] cmaloney: aren't they coming in concert soon? [19:28] I don't know. [19:54] they are on tour with killswitch [19:54] but not coming here, unless they already came [19:54] Joe Jackson? :) [19:54] Anthrax [19:55] HAHA, can you imagine Joe Jackson and Killswitch Engaged touring together haha [19:55] there would be some very confused people there [19:57] I would have loved to see Weather Report: https://www.youtube.com/watch?v=pqashW66D7o [20:12] weather report is amazing [20:26] they are. [20:26] thanks for the link [20:27] has everyone updated their ubuntu machines? [20:27] i think i'm going to tonight [20:28] i need to get my linode off of 12.04 [20:30] :) [21:47] <_stink_> same [21:58] * greg-g 's jessie digitalocean is doing fine ;) [22:42] woohoo [23:02] jessie is current. [23:39] cmaloney: python 3 question -> I have a list of strings that I create from doing a web crawl. I am now trying to get the substring so I can manipulate it to navigate to a webpage to download a picture. How do I do something like substring(0: {index where "characters-i-am-looking-for}) [23:43] Are you looking for something like "img=" ? [23:44] I think i found what i am looking for: print(item[:item.index("ers/")+4]) [23:44] That looks awful. :) [23:44] I am going to be manipulating the url that I scrapped and have to append to it to grab the url for the img [23:44] HAHA [23:45] <--- Less than mediocre programmer [23:45] is there a more elegant way to do that? [23:45] what about item.find('ers/') ? [23:46] or, if you know you're splitting off everything after 'ers/', do a split on that [23:46] it still stops and have to append: +4 to that [23:46] print(item[:item.find("ers/") + 4]) [23:46] (head, tail) = item.split('ers/') [23:47] print(item[:item.split("ers/")]) [23:47] that didn't work [23:47] no [23:47] shakes808: have you considered using scrapy? [23:47] shakes808: are you using beautiful soup? [23:48] print (item.split('ers/)[1)) [23:48] and yes, use Beautiful Soup if you're looking for something in a tag [23:48] because jesus-tap-dancing-Christ parsing HTML is a PITA [23:48] I just found this: http://www.netinstructions.com/how-to-make-a-web-crawler-in-under-50-lines-of-python-code/ [23:49] and been manipulating this [23:49] I have the urls that I am looking for, just need to manipulate them to get the images [23:50] http://stackoverflow.com/questions/10600079/python-beautifulsoup-img-tag-parsing [23:50] Seriously, if you're parsing html you are reinventing BS4 [23:51] Which might be OK, but yipes. [23:51] haha, i didn't reinvent it, that post did ;) [23:51] but that looks very similar to what I have [23:51] Yeah, and it's under 50 lines of code. ;) [23:51] HAHA [23:51] fair enough [23:51] I will take a look at BS [23:52] after I try this out. though [23:52] And if you want the images minus the http://foo.bar/baz/img.jpg then I'd do a split on that (uri.split.'/'[-1] and Bob's your uncle. [23:52] Sure, I understand. :) [23:53] bbl. [23:53] haha, actually what you gave me is going to work out i think [23:53] I will post my final code when I get it working [23:59] <_stink_> publish it on pypi [23:59] <_stink_> call it