/srv/irclogs.ubuntu.com/2017/04/14/#ubuntu-us-mi.txt

_stink_JustOkSoup00:00
cmaloneyMediocreSoup++00:06
shakes808alright, so here is what i have, but the image part isn't working correctly.  I see the files but can't open them :|00:49
shakes808https://pastebin.com/r5Ht0J8q00:49
shakes808the split stopped working, went back to the " ... + 4"00:52
shakes808don't know why it worked one time and then stopped later00:52
shakes808what am i doing wrong with saving the images?00:56
cmaloneyWhich site are you crawling?00:58
shakes808spider("http://www.smashbros.com/us/", "characters/", 1)00:59
shakes808there is the command line call00:59
cmaloneySo you're trying to get all of the character images?01:00
shakes808correct01:00
cmaloneyWhat I'd try01:01
cmaloney#1: split on /01:01
cmaloneyand get the pages that way01:01
cmaloneyso you'd have site, country, characters, character_name01:02
shakes808so do a split on item like this -> (h, b, baseURL, country, characters, character_name  = item.split("/")01:09
cmaloneyYeah01:13
jrwrenis there a reason you cannot simply use wget?01:19
shakes808??? Just found the script and started modifying it.01:20
shakes808jrwren: I just tried using wget and the same outcome, creates the files on my local but can't open them ->   os.system("wget -c " + fullURL + " -O " + savedPicture)01:32
shakes808be back online in 20ish01:33
shakes808bak02:13
shakes808back*02:13
shakes808i think i found one of my issues.  i had the final url incorrect.  but i have some things to hammer out.  might have to find another way to get the url so i can get the correct png.  I found that bowser's image is called koopa02:26
cmaloneynice02:40
cmaloneywelcome to Nintendo. ;)02:40
shakes808mega-man is named rockman :|  wth haha02:41
cmaloneyThat's what he's called in Japan02:41
shakes808oh really?02:41
shakes808didn't know that02:42
shakes808so now i figure out how to get the images from the site02:43
cmaloneyschweet.02:46
cmaloneyGood morning12:46
rick_hmorning12:53
ZimdaleMorning12:53
_stink_yes12:58
jrwrengood morning12:59
cmaloneyHow goes?13:08
brousch__Too busy13:09
brousch__I'm giving a talk Monday and have no time this weekend to prepare13:09
_stink_wing it?13:10
rick_hsteal cmaloney's talk13:10
jrwrenyou'll find time.13:11
cmaloneyYeah, it only has a few flaws in it. :)13:18
brousch__Well mine is supposed to be about SaltStack13:19
shakes808morning13:24
cmaloneybrousch__: I have one about Ansible that you can steal. :)13:28
brousch__Yeah, one problem I have is there's not a lot of interest in Salt. People on complex systems are using Chef/Puppet, and smaller systems are using Ansible13:33
brousch__When I asked for requests about specific Salt use cases, it was stuff more suited to Ansible13:34
* shakes808 naive to such things13:39
shakes808what is Salt / Ansible / Chef / Puppet?   Automation for DevOPs?13:39
cmaloneyshakes808: It's system configuration / management13:39
cmaloneyeg: instead of logging into a machine, ensuring there's a directory present, and doing git clone repo:foo tag/bar you can instead run a playbook that will do that13:40
cmaloney(and any other steps needed to make that work)13:40
cmaloney(eg: ensure that build-essential is installed, that you have Python3, etc.)13:41
jrwrenhttps://saltstack.com "Intelligent orchestration for the software-defined data center"13:41
cmaloneyPuppet does the same thing (in a sense) but it has clients that ping a server to see what all needs doing13:41
jrwrenwhy would you ever want build-essential installed on a production server?  duh, i guess if it is your build server :)13:41
cmaloney(unsure about Chef, and Salt Stack)13:41
cmaloneyjrwren: Don't ask.13:42
cmaloneywe built our own Python on our prod servers13:42
brousch__Salt has a "master" that can control the "minions"13:42
cmaloneySalt has possibly the worst terminology out of them13:42
cmaloney"pillars"13:42
brousch__Or multiple masters and mid-level managers (syndics) in cases like ours13:43
jrwrencmaloney: you are doing it wrong.13:43
brousch__Pillar is used for system-specific variables, but we only use it for encrypted data here13:43
jrwren:p13:43
cmaloneyjrwren: I no longer work there, so don't care. :)13:43
rick_hget ahead of the curve: https://github.com/purpleidea/mgmt13:44
rick_hthat had a lot of attention at cgfmgmtcamp in ghent this year13:44
brousch__rick_h: We already have cfengine, chef, and Salt in production13:44
rick_hjrwren: :) always comes down to the build artifact on all of these doesn't it.13:44
jrwrencmaloney: its ok. I do it wrong every day. "we have to"13:45
rick_hbrousch__: right, time for another one!13:45
jrwrenrick_h: yup.13:45
brousch__And sendconf13:45
cmaloneyjrwren: Had I had my druthers I would have made RPM packages that we would install13:45
cmaloneyor containers that we would deploy to.13:45
jrwrencmaloney: exactly!13:45
cmaloneybut they were also CentOS6 machines so lord knows what we would have blown up13:45
cmaloney(again, not my decision to deploy to CentOS)13:45
cmaloneyso a /usr/local/bin/python pre-built on the target machine was the least of my problems.13:46
brousch__rick_h: Not "had" in production, "have" in production. It's kind of a mess13:46
jrwrencmaloney: IME (10+yrs ago) building rpms is a bit easier than building debs and it all just works once you get it. I'm sure you'd have been fine.13:47
shakes808cmaloney - what is wrong with CentOS?  The company that I am working for is looking to switch over to that from Debian because of compatibility issues with another service.13:47
rick_hshakes808: :/13:47
rick_hshakes808: what service?13:47
cmaloneyOracle13:47
rick_hlol13:48
cmaloneyshakes808: CentOS is not bad, but it tends to be crufty13:48
cmaloneyThe version we had didn't get Python 2.7 until it was pailfully out of date to ship 2.613:49
shakes808we are switching our virtual hosts or something.  From Xen to something else.  And their conversions from Xen include - Red Hat, Cent, Ubuntu, and some other one but not Debian.   We don't understand how they support Ubuntu but not Debian ( to my knowledge Ubuntu is based off of Debian, correct? )13:53
jrwrenoh yes, that is why py26 had support for so long.13:54
jrwrenubuntu has their own kernel, different from debian kernel13:54
cmaloneyxen to kvm lijely13:54
cmaloneyxen has a lot of security issues13:55
jrwrenhow did you manage the li in likely, but not the j?13:55
cmaloneylinode is migrating customers off of xen13:55
jrwrenand yet... EC2.13:55
cmaloneyphone keyboadd13:55
jrwrenXen is GPL, right? oh, but is it not AGPL so AWS can keep theri mods for EC2 only?13:55
cmaloneypossibly? nfc13:56
cmaloneycould also be that kvm is best suited for linux only vs multiple os13:58
cmaloneyhaven't peeked thst hsrd ibto ut13:58
cmaloney(i'm creating my own language)13:58
jrwrendefinitely not.14:00
cmaloneywhich?14:01
jrwrenXen has 2 modes. HVM and whatever the default is.14:01
jrwrenkvm/qemu is good at any OS, windows, et.14:01
jrwrenbut Xen has been around a little longer, it is possible that for windows the drivers function better.14:01
jrwrenthe virtio drivers for kvm/qemu can be a pain in windows.14:01
cmaloneyah14:02
jrwrenremember last night... er afternoon with greg-g, we were talking about packaging extremists. The most recent debian-devel msg is on that subject and it points out that section 4.13 of debian policy says "SHOULD" not "MUST" :)14:04
rick_hyou can't get 3 techies in a room to agree on "must" :P14:09
jrwrenso true! that is why design by commitee fails. BDFL wins14:10
brousch__rick_h: Ah, crap mgmt is written in Go. Now our people will get excited about it14:28
rick_hbrousch__: yea, it's fast, builds across platforms pretty well, etc14:29
rick_hbrousch__: :P14:29
jrwrenlol.14:29
jrwrentoo bad it can't benenfit from shared memory of shared libraries.14:30
shakes808we are moving from Xen to VMWare14:34
shakes808and they contacted their support and they flat out said they don't support that conversion14:35
jrwrenlol, WHAT??14:36
shakes808yeah, that is what we don't understand either.14:38
shakes808how much different is Debian to Ubuntu that they would support the latter but not former?14:39
shakes808it is all rick_h fault ! HAHA14:39
jrwrenoh, VERY .14:42
jrwrenbecause the kernel is what matters when it comes to VM support.14:42
cmaloneyTotally14:42
jrwrenalso, "support" is all about contracts.14:42
jrwrenthey don't support debian because there is no company behind it.14:42
cmaloneyIdeally it shouldn't give two figs about what the kernel is that's running it14:42
jrwrenthey support ubuntu because canonical partners with them to support it.14:42
jrwrenthere is always 2 things.  1. what is supported.   2. what works.14:43
jrwrenI'm always a little surprised when any company says they support centos, but centos is EXACTLY rhel with the name changed, so its a way of saying you support RHEL without partnering with RH, I guess?14:43
cmaloneyYeah, it's a lateral movel14:44
jrwrenwhat kernel does debian even ship these days. isn't jessie 3.13 or some such?14:46
jrwren3.1614:47
rick_hyea support means testing which means $$ which means trying to get partners to help subsidize it and it's hard to "partner with debian"14:49
jrwrenso latest debian ships 3.16 kernel. that is VERY different than what Ubuntu does with HWE kernels: https://wiki.ubuntu.com/Kernel/LTSEnablementStack#Kernel.2FSupport.A14.04.x_Ubuntu_Kernel_Support14:49
shakes808with that logic, Ubuntu 14.x has the same kernel as Debian then.  So in theory, it should be supported since they had the same kernel.  .... correct?!15:09
jrwren14.04 did, but 14.04.[15] upgraded.15:10
jrwrenand even then the kernel build options are different.15:10
jrwrenand "supported" no.15:10
jrwrenwill it work, yes.15:10
rick_h"supported" as in it might work? Or "supported" as in "VMware will answer the phone"?15:10
rick_htwo different things :)15:11
shakes808HAHA, awesome15:11
cmaloneyYeah, 14.04 has the Hardware Enablement Stack15:12
cmaloneyso you can use the later video card drivers15:12
* cmaloney has it on all of his machiens15:12
cmaloneymachines15:12
shakes808i guess that kind of makes sense from their side though.  Canonical has people that can support it for sure as where Debian doesn't have that?   As for Debian, doesn't have anyone but the community behind it?15:13
cmaloneyI <3 how my shit-ass AMD process from 2012 is dusting JoDee's recent laptop w/ an i5 chip15:13
cmaloneys/process/processor/15:13
jrwrendebian is community effort. you could probably install the ubuntu kernel debs on debian and it would all be nice.15:13
jrwrenbut jessie isn't packaged that way out of the box.15:13
cmaloney"AMD FX(tm)-8350 Eight-Core Processor"15:14
jrwrencmaloney: REALLY!?!?!15:14
jrwrenthat is surprising.15:14
cmaloney"Intel(R) Core(TM) i5-6300HQ CPU @ 2.30GHz"15:14
cmaloneyIt's a laptop though, so there might be some power-management shenannigans going on that I'm not aware of15:14
jrwrenon what is it "dusting" it?15:15
jrwrensupport means you can call them adn they'll try to help you. That also means if they fix your problem  you may need to add their private support repo or maybe even a repo just for you with fixes just for you, because they haven't tested your fixes enough for a general release15:17
cmaloneyjrwren: I'm running Python2 tests for Astropy15:18
cmaloneyer, Python315:18
cmaloneyand my desktop machine completed them faster than JoDee's machine15:18
jrwrencool.15:19
cmaloneywhich is still processing those tests15:20
jrwrenits that high clock rate.15:20
jrwrenhttp://www.cpu-world.com/Compare/148/AMD_FX-Series_FX-8350_vs_Intel_Core_i5_Mobile_i5-6300HQ.html15:20
cmaloneyAh, it looks like it's underclocked15:21
cmaloneyit also consumes an order of magintude more power15:22
cmaloneyalso likely doesn't help that she's now watching Big Bang Theory on the machine15:22
cmaloney(*sigh*)15:23
jrwrenlol15:24
jrwrenno, that won't help.15:25
jrwrenstill, I had no idea AMD processors could even keep up with intel, especially skylake15:28
cmaloneyTrying to explain why anyone would want to use a virtualenv is fun15:44
cmaloney(for someone who isn't a developer)15:45
gamerchick02i'm doing my upgrade now. for some reason it didn't pop last night. oh well16:13
jrwrenyacketty and z are the first time in yrs that I didn't upgrade. I'm still on xenial like a sucka.16:17
brousch__jrwren: That's one sign of old age - sitting on LTS16:23
jrwrenlol.16:23
jrwreni really should upgrade eh?16:23
cmaloneySo is it a sign of being elderly when you're still on 12.04 and 14.04?16:25
cmaloneyGet me my walker and my whipping cane.16:25
brousch__Senility16:25
* rick_h watches jedi teaser 5x and then tries to go back to work17:48
* shakes808 agrees with rick_h18:12
jrwreni'm doing xenail->yackety20:02
jrwrenit asks:20:02
jrwren126 packages are going to be removed.20:02
jrwrenRemoving the packages can take several hours.20:02
jrwrenhow long do you think it will really take?20:02
jrwrenI'm thinking 3 minutes.20:02
cmaloneyI think it depends20:02
jrwrenoh wow... it just plain failed the remove.20:03
cmaloneybut yeah, several hours seems a bit much20:03
jrwreninstantly moving to next step20:03
cmaloneyx -> z?20:04
jrwrenerr, well, yes, once I clean up a bit.20:24
jrwrenI like to audit installed pacakges and apt purge anything I no longer need eveyr time I upgrade.20:24
jrwrenkeeps pkg count down and makes for speedier upgrades20:24
jrwrenapt autoremove was the same pkglist and it took less than 1m.20:27
jrwrenthat hours message must be hard coded from a long time ago with no attempt to estimate20:27
cmaloneyLikel one of those "on a really slow computer this could take a long time" messages.20:38
jrwrenno matter what, its a bug. its the wrong message.20:39
jrwrenwe can do better :)20:39
cmaloneyPlaying around with JavaScript, so decided to do my traditional "Hello World"21:02
cmaloneyhttps://github.com/craigmaloney/js_shutbox21:02
jrwrenthat was a fun cleanup session... now y->z :)22:07
jrwrenanyone know why my upgrade from yakkety to zesty says its removing strongswan? did ipsec move to different package or is it gone from ubuntu?22:15
jrwrenhttp://packages.ubuntu.com/zesty/strongswan-charon is there. I guess it is OK22:17
jrwrenFetched 1,352 MB in 6s (2,309 kB/s)22:29
jrwrenit was a lot longer than 6s.... more ubuntu bugs :)22:29

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