[07:21] <Kilos> morning all
[08:09] <inetpro> Kilos: you need more permissions for what?
[08:09] <inetpro> oh and good mornings to all and sundry
[08:27] <Kilos> um
[08:27] <Kilos> oh
[08:27] <Kilos> to be able to say wb to anyone anytime
[08:45]  * inetpro lost him
[08:45] <inetpro> Kilos: please explain
[08:50] <Kilos> oh
[08:50] <Kilos> lol
[08:50] <Kilos> just playing man
[08:50] <Kilos> i did wb to fly and he asked was he even away
[08:51] <Kilos> instead of ty
[08:52] <inetpro> hmm, ok
[08:53]  * inetpro clearly failed to make the connection there
[08:54] <Kilos> old age catches all of us sooner or later
[08:54] <inetpro> nothing serious, was just packet losses
[08:57] <Kilos> i have many of them so dont worry about your few losses
[08:58] <Kilos> use wget -c to fill up gaps
[09:05] <Kilos> wbb
[10:38] <Kilos> Maaz coffee on
[10:38]  * Maaz puts the kettle on
[10:42] <Maaz> Coffee's ready for Kilos!
[10:42] <Kilos> Maaz ty
[10:42] <Maaz> You are welcome Kilos
[10:49] <inetpro> Maaz: dankie
[10:49] <Maaz> Groot plesier inetpro my vriend
[10:50] <inetpro> at least one persona always there to keep Kilos happy
[10:51] <Kilos> yeah
[10:51] <Kilos> and before too long well have new ibids
[10:51] <inetpro> haha, says who?
[10:52] <Kilos> just this debconf holding things up
[10:52] <Kilos> already we have an ibid that uses ddg
[10:52] <Kilos> says me
[10:53] <Kilos> i have friends in high places you know
[10:54] <inetpro> google is still your friend as well
[10:55] <Kilos> nono your friend
[10:55] <Kilos> google drives me crazy
[10:55] <inetpro> ask him anything, he'll have an answer for you
[10:55] <Kilos> yes it is a good search engine
[10:56] <Kilos> but too tied in to everything
[10:59] <inetpro> Google’s mission is to organize the world’s information and make it universally accessible and useful
[11:01] <inetpro> it's biggest search competitor is actually Amazon
[11:05] <inetpro> I just wish people would stop to flock to Facebook for everything
[11:06] <inetpro> it's such a bad platform for information, makes me want to run away
[11:09] <inetpro> interestingly the most severe forms of competition for Google is people simply asking their friends
[11:31] <Kilos> lol
[11:32] <Kilos> facebook and youtube
[11:32] <Kilos> peeps put everything on youtube as well
[11:32] <Kilos> hi gremble 
[11:33] <Kilos> ok ty and you
[12:00] <gremble> Hey Kilos 
[12:00] <gremble> I am well thank you
[13:26] <Kilos> hmm...
[13:43] <inetpro> Kilos: what's wrong?
[13:54] <Kilos> missed rwbx
[14:05] <inetpro> you know him?
[14:08] <ashabadi_> Greeting from #ubuntu-bd :)
[14:14] <Kilos> hi ashabadi_ 
[14:14] <Kilos> nope inetpro but i dont like missing new guys
[14:15] <inetpro> Kilos: I'm sure I've seen him before
[14:15] <Kilos> oh
[14:15] <Kilos> i dont remember
[14:16] <ashabadi_> whom?
[14:16] <Kilos> rwbx
[15:44] <inetpro> theblazehen: I found some nice reading re Linux VM Performance Tuning 
[15:44] <inetpro> see: https://lonesysadmin.net/tag/linux-vm-performance-tuning/
[15:50] <theblazehen> Ah, ty inetpro
[15:50] <theblazehen> RE the RAM disk, using bcache with ssd there, using paravirtualized devices, don't have a swap file, and using relatime
[15:51] <inetpro> what hypervisor are you using?
[15:51] <theblazehen> kvm
[15:51] <theblazehen> And lxd for containers
[15:51] <inetpro> lxd inside a vm?
[15:53] <theblazehen> Nah, on the host directly
[15:53] <theblazehen> Gonna use docker inside a vm though
[15:53] <theblazehen> That's not touching my main host
[15:55] <inetpro> so when you say bcache, is that like a RAM disk?
[15:56] <inetpro> and I guess you set vm.swappiness to zero?
[15:57] <theblazehen> bcache is a disk cache on ssd
[15:57] <theblazehen> And it won't swap without a swap file :)
[15:58] <inetpro> ah cool... so no need to set swappiness then?
[15:58]  * inetpro likes the idea
[15:59] <theblazehen> Yup. Although swap on ssd isn't bad
[16:00] <inetpro> am still a newb when it comes to running stuff on VM infrastructure but am catching up
[16:00] <theblazehen> Cool
[16:00] <theblazehen> inetpro: Dunno if you can help me
[16:00] <theblazehen> So I have a script that sources a virtualenv, then does a pip instal -r requirements.txt
[16:01] <theblazehen> It works from a normal terminal
[16:01] <theblazehen> Yet it doesn't work from a saltstack cmd.run
[16:01] <theblazehen> I've even done script /dev/null -c "sudo -i -u theblazehen bash -c 'env; cd /srv/www/dev/theblazehen/saleor/; . ./bin/activate; pip install -r requirements.txt'" 
[16:01] <theblazehen> To make sure that it's not a weird tty issue
[16:02] <theblazehen> still works from actual term
[16:02] <theblazehen> but not saltstack
[16:02] <theblazehen> the salt $TERM is shown as dumb, and even if I set local term to that then it still works
[16:02] <inetpro> hmm...
[16:02] <theblazehen> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 2470: ordinal not in range(128)
[16:02] <theblazehen> from google-i18n-address==1.0.7
[16:03] <theblazehen> I checked, it is using correct python version
[16:03] <inetpro> is it not a LOCALE issue?
[16:03] <theblazehen> I've compared output ov `env`
[16:03] <theblazehen> not a locale issue
[16:03] <theblazehen> s/ov/of
[16:03] <theblazehen> If I remove that module from requirements.txt it works. hmm
[16:05] <inetpro> have never used saltstack
[16:05] <theblazehen> Was thinking maybe a weird tty issue
[16:05] <theblazehen> It also runs as the corrcet user
[16:07] <inetpro> theblazehen: http://stackoverflow.com/questions/18649512/unicodedecodeerror-ascii-codec-cant-decode-byte-0xe2-in-position-13-ordinal
[16:08] <theblazehen> inetpro: I saw that
[16:08] <theblazehen> thing is, not my module
[16:08] <theblazehen> And why does it work from an actual shell?
[16:09] <theblazehen> and the script + sudo should result in identical terminals etc
[16:09] <inetpro> maybe any path issues?
[16:09] <theblazehen> nope
[16:10] <theblazehen> Because of the sudo -i it has the same startup environment
[16:10] <theblazehen> and all other modules get installed
[16:16] <inetpro> theblazehen: which version of python?
[16:16] <theblazehen> inetpro: 3.5
[16:16] <inetpro> hmm...
[16:16]  * theblazehen is trying to start an xterm over ssh forwarding..
[16:16] <theblazehen> see if it works
[16:17] <theblazehen> yay. finally loaded
[16:18] <inetpro> have you checked LC_ALL?
[16:19] <superfly> theblazehen: is that line the first one in your requires.txt?
[16:19] <theblazehen> superfly: Nah, near the middle
[16:19] <superfly> K. Looks kinda like a BOM
[16:19] <theblazehen> output of `env` https://bin.snyman.info/mmmnqzmy
[16:22] <inetpro> https://github.com/saltstack/salt/issues/16139#issuecomment-97554285
[16:22] <inetpro> Salt sets the locale to LC_ALL=C but running on the minion directly had LC_ALL="en_US.UTF-8"...
[16:23] <superfly> theblazehen: did you check requirements.txt in an editor that shows you "hidden" characters? 
[16:24] <inetpro> good point... do 'cat -ev requirements.txt'
[16:24] <theblazehen> > sudo salt svn cmd.run "bash -c 'echo $LC_ALL'" /srv/www/dev/theblazehen/saleor/ runas=theblazehen 
[16:24] <theblazehen> svn:
[16:24] <theblazehen> No output
[16:24] <theblazehen> vim shows hidden chars right?
[16:25] <inetpro> cat -ev requirements.txt | less
[16:25] <theblazehen> Also, was generated with pip-compile which should error out before?
[16:25] <theblazehen> Nothing fishy there
[16:26] <theblazehen> https://bin.snyman.info/mmmmgvdu
[16:26] <theblazehen> And I've tried deleting venv etc of course
[16:26] <theblazehen> Nothing
[16:27] <superfly> BTW theblazehen I was looking at asciinema the other day, what an awesome piece of software 
[16:28] <theblazehen> superfly: Yeah, I love it. Perfectly complements our step by step instructions
[16:28] <superfly> I need to use it to do some tutorials on using mock
[16:28] <theblazehen> Easy to self host too
[16:29] <superfly> Hrm, I was wondering about that 
[16:29] <inetpro> looks interesting
[16:30] <theblazehen> X forwarding over ssh with 120 ms latency :(
[16:30] <theblazehen> ah theres an xterm
[16:32] <theblazehen> ffs. Works in an xterm
[16:32] <superfly> I've installed Windows software on my headless Linux VPS like that 
[16:32] <theblazehen> I am NOT gonna run Xvfb and start an xterm for this
[16:34] <magespawn> good evening
[16:34] <theblazehen> hi Maaz
[16:34] <theblazehen> magespawn: 
[16:34] <inetpro> theblazehen: have you tried setting LC_ALL explicitly to something like en_US.UTF-8?
[16:34] <theblazehen> watching the slow output from an xterm over ssh forwarding..
[16:35] <theblazehen> inetpro: Let me give it a go
[16:35] <theblazehen> it worked via an xterm
[16:35] <inetpro> dinnertime for me...
[16:35]  * inetpro wbbl
[16:35] <theblazehen> alright, ty for the help inetpro
[16:38] <magespawn> what are you trying to do, theblazehen ?
[16:42] <theblazehen> magespawn: Installing pip packages via saltstack
[16:42] <theblazehen> magespawn: https://bin.snyman.info/mmmmgvdu
[16:43] <theblazehen> Works via ssh
[16:43] <theblazehen> And xterm launched via ssh.. Which inherits environment..
[16:43] <magespawn> i might not understand all of that
[16:44] <magespawn> give me something to go and read though
[16:45] <magespawn> s/give/gives
[16:45] <theblazehen> magespawn: https://bin.snyman.info/mmmvwhvk
[16:45] <theblazehen> above irc chat
[16:46] <magespawn> thanks
[17:02] <theblazehen> Okay. Using an xterm launched via saltstack also gives the error
[17:07] <theblazehen> Getting somewhere. env -i ./dopip.sh fails
[17:09] <theblazehen> Seriously?! ex clears the display.. Back to ed then
[17:19]  * theblazehen has 86 browser tabs open..
[17:19] <Kilos> night all. sleep tight
[17:19] <theblazehen> night Kilos
[17:37] <inetpro> theblazehen: close them all and start again
[17:37] <inetpro> you'll never read them all anyway
[17:38] <theblazehen> inetpro: Got up to 92. did just that
[17:38] <theblazehen> so satisfying watching them all close
[17:42] <captineza> hi all
[17:42] <theblazehen> hey captineza
[17:46] <captineza> hey theblazehen .  need to figure out what machine i am connected to IRC on as captine...  annoys me using a second nick. lol
[17:49] <theblazehen> captineza: Can't you GHOST it with nickserv?
[17:52] <captineza> no idea about that stuff.  dont know all the IRC things
[17:52] <inetpro> wb captineza
[18:01] <theblazehen> inetpro: I finally got it
[18:02] <theblazehen> in saltstack $LC_CTYPE=C
[18:02] <theblazehen> whereas in normal term it's unset
[18:02] <theblazehen> magespawn: ^
[18:02] <theblazehen> hey paddatrapper
[18:02] <theblazehen> pavlushka: 
[18:02] <theblazehen> Every time..
[18:05] <pavlushka> lol
[18:05] <pavlushka> whassup theblazehen !
[18:05] <pavlushka> Hello magespawn !
[18:05] <pavlushka> And Hi everyone!
[18:06] <inetpro> aha
[18:06] <pavlushka> Hello inetpro !
[18:08]  * pavlushka thanking theblazehen for making me laugh
[18:08] <inetpro> you see theblazehen, it's a locale issue
[18:08] <theblazehen> inetpro: Yeah..
[18:09] <inetpro> so setting LC_ALL did not help?
[18:10] <theblazehen> Well, what I did was take output of `env` from salt stae
[18:10] <theblazehen> then add it to my ./dopip.sh, and tried running it from my shell
[18:10] <theblazehen> And it feiled
[18:10] <theblazehen> So I then removed them as needed
[18:12] <inetpro> ok
[18:13] <inetpro> setting LC_ALL overwrites all selections by the other LC_* variables or LANG
[18:13] <theblazehen> ty
[18:16] <inetpro> Locales and Internationalization https://www.gnu.org/savannah-checkouts/gnu/libc/manual/html_node/Locales.html#Locales
[18:21] <theblazehen> Cool. Only took me like 4-5 hours..
[18:42] <inetpro> theblazehen: I think it was many years ago on Solaris when it was still the norm to compile everything from source where I remember spending hours and hours troubleshooting simple locale issues
[18:43] <theblazehen> inetpro: Ouch :(
[18:43]  * theblazehen no longer wants to try Gentoo or LFS
[18:45] <inetpro> it's only when you find the real solution in the end that you can kick yourself for wasting all the time
[18:46] <theblazehen> inetpro: Too ture.. Too true
[18:50] <inetpro> back then, setting your enviornment to en_ZA was like looking for trouble
[18:51] <theblazehen> I still set it to en_US.UTF-8
[18:58] <inetpro> what do you guys say about this? Do Not Collect System Performance Data From Guest OSes https://lonesysadmin.net/2013/12/12/collect-system-performance-data-guest-oses/
[19:00] <inetpro> like one guy says, "just looking at the hypervisor, you will miss a ton of detail"
[19:27] <theblazehen> inetpro: Well, I think even if data is skewed it's better than no data
[19:28] <inetpro> that's what I was thinking, because it's about seeing the trends
[19:38] <inetpro> anyway, tomorrow is another day, time to go recharge the batteries
[19:38] <inetpro> good night
[19:38] <theblazehen> cheers inetpro
[20:06] <pavlushka> good night inetpro !
[20:07] <pavlushka> and cheers, :)
[20:14] <pavlushka> Maaz: seen Kilos ?
[20:14] <Maaz> pavlushka: Kilos was last seen 2 hours, 55 minutes and 11 seconds ago in #ubuntu-za on freenode [2016-06-11 10:19:24 PDT], and has been offline on freenode since 2016-06-11 10:19:38 PDT
[20:15] <pavlushka> theblazehen: Good night then, and everyone!
[20:16] <theblazehen> night pavlushka
[22:54] <magespawn> good night all