[05:51] <omer> hi
[06:27] <knightwise> morning
[06:42] <Myrtti> something to that effect
[07:11] <MooDoo> morning all
[07:19] <MartijnVdS>   \o
[08:02]  * popey chuckles at http://www.gigabyte.com/products/product-page.aspx?pid=4456#kf (specifically http://www.gigabyte.com/fileupload/keyfeature/294/images/S1185-keyfeatures-11.jpg) vs http://www.canstockphoto.com/images-photos/young-woman-headphones-laptop.html#file_view.php?id=11971356
[08:03] <Gary> thats quite funny
[08:04] <Gary> companies should make sure to take their own marketing photos
[08:06] <popey> http://www.dreamstime.com/royalty-free-stock-image-relaxed-young-man-cup-tea-using-laptop-image16717196
[08:07] <popey> also
[08:20] <brobostigon> good morning everyone,
[08:20] <MooDoo> morning brobostigon
[08:21] <brobostigon> morning MooDoo
[08:45] <JamesTait> Good morning all, happy Corn Fritter Day! :-D
[08:45] <MartijnVdS> JamesTait: that sounds American
[08:45] <JamesTait> I really need to find more sources for these things if that's the best we can do. :-/
[08:46] <JamesTait> It's one year since Jon Lord died.
[08:47]  * brobostigon curses at the hay fever.
[08:48] <JamesTait> brobostigon, I don't think he died from hay fever.
[08:48] <brobostigon> JamesTait: dont think who died ?
[08:49] <JamesTait> brobostigon, 09:46 < JamesTait> It's one year since Jon Lord died.
[08:49] <JamesTait> brobostigon, immediately followed by 09:47  * brobostigon curses at the hay fever.
[08:49] <brobostigon> ah, ok, i dont know the name, i dont think.
[08:51] <JamesTait> brobostigon, http://en.wikipedia.org/wiki/Jon_Lord
[08:53] <brobostigon> JamesTait: ah,
[08:54] <etyuio> hello
[08:54] <etyuio> a question ?
[08:55] <etyuio> i got list of server name on file sometime the same server name appear 2 times sometime appear only one time : i m looking for a command that can filter and count the number of the server in one time
[08:55] <MartijnVdS> etyuio: sort -c and sort -u
[08:56] <MartijnVdS> wait.. not -c\
[08:56] <MartijnVdS> ah
[08:56] <BigRedS> sort | uniq -c
[08:56] <MartijnVdS> uniq -c
[08:57] <brobostigon> anything i can use, which will be around the house, for my hayfever untill i get into toen this afternoon ?
[08:59] <MartijnVdS> brobostigon: gas mask?
[08:59]  * BigRedS wonders what MartijnVdS has around his house
[08:59] <MartijnVdS> brobostigon: surgical mask?
[08:59] <brobostigon> quite, yes.
[08:59] <MartijnVdS> BigRedS: don't you have "Prepare for the worst!" government ads?
[09:00] <MartijnVdS> BigRedS: "Get 100 liters of water, a gas mask, duct tape, a flash light and a radio"
[09:00] <MartijnVdS> or something similar
[09:00] <BigRedS> prepare for the worst government?
[09:00] <MartijnVdS> BigRedS: maybe
[09:01] <etyuio> what is the difference between sort -c and u  ?
[09:01] <BigRedS> we definitely get those ones
[09:01] <MartijnVdS> etyuio: man sort :)
[09:01] <brobostigon> closest i have, are probably some oil and hydraulic fluid filters.
[09:07] <BigRedS> etyuio: they're quite different. Do you mean between sort -u and uniq?
[09:07] <BigRedS> the former doesn't keep count
[09:08] <etyuio> i got 3 different result
[09:10] <etyuio> uniq file | nl & sort file |uniq|nl & sort file |uniq|wc -l
[09:10] <etyuio> which one is correct ?
[09:10] <SuperMatt> you want to sort first
[09:10] <SuperMatt> ideally, you'd also want to convert them all to the same case
[09:10] <mungbean> what's the best performing X server for windows?
[09:10] <mungbean> trying xming and it's minging
[09:10] <MartijnVdS> etyuio: it helps if you understand what the commands actually  DO
[09:11] <MartijnVdS> etyuio: which you can learn by reading their manual pages (man commandname)
[09:11] <SuperMatt> sort -hf <file> | uniq
[09:13] <etyuio> i can't understand anything
[09:13] <etyuio> i got 3 different result for this : uniq file | nl & sort file |uniq|nl & sort file |uniq|wc -l
[09:13] <etyuio> which one is correct ?
[09:13] <MartijnVdS> etyuio: depends on what you wnat to do :)
[09:14] <MartijnVdS> etyuio: uniq = list only unique lines in a file (if a line is in the file more than one time, list it only once)
[09:14] <MartijnVdS> nl = add line numbers
[09:14] <MartijnVdS> sort = sort lines in a file
[09:14] <MartijnVdS> wc -l = count lines in a file
[09:14] <MartijnVdS> as the manual would have told you
[09:14] <SuperMatt> etyuio: I really suggest you learn what each command is actually doing so you can determin for yourself which is giving you the correct answer
[09:17] <etyuio> well i can understand all those thing
[09:17] <MooDoo> popey: you loosing your man cave?
[09:17] <MooDoo> losing even
[09:18] <etyuio> my question is as i grep uniq is there all 3 commands are equivalent or not ?
[09:18] <etyuio> uniq file | nl & sort file |uniq|nl & sort file |uniq|wc -l
[09:19] <SuperMatt> the first one will give you a different result to the other two
[09:19] <SuperMatt> because uniq only removes indentical stuff if they're next to each other
[09:19] <etyuio> i got an 4rth result with this command : uniq file | wc -l
[09:19] <SuperMatt> you *must* sort first
[09:20] <etyuio> hold down i give the result
[09:20] <popey> MooDoo: indeed
[09:20] <etyuio> uniq file | nl => 122 result
[09:20] <etyuio> sort file |uniq|nl => 120 result
[09:21] <SuperMatt> yup
[09:21] <etyuio> sort file |uniq|wc -l => 121 result
[09:21] <SuperMatt> that's because some of those additional servers weren't directly next to their duplicate
[09:21] <BigRedS> uniq goes through the file and if one line is the same as the preceeding one it removes one of them; all it does is compare adjacent lines
[09:22] <SuperMatt> so ignore the first one
[09:22] <MooDoo> popey: denied :( as Myrtti mentioned on g+ let's hope you get a good shed ;
[09:22] <SuperMatt> etyuio: when writing bashy type stuff, do everything one bit at a time
[09:23] <SuperMatt> so start off with sort, and see if you get what you expect
[09:23] <SuperMatt> then run uniq
[09:23] <SuperMatt> then run nl and wc -l
[09:23] <Myrtti> I sense a disturbance in the force
[09:23] <etyuio> well let me the ask different the question differently
[09:24] <etyuio> how to identify the one increasing each time ?
[09:24] <SuperMatt> aha, wc -l will include blank lines, nl will not
[09:24] <etyuio> uniq file | nl & sort file |uniq|nl & sort file |uniq|wc -l
[09:24] <MartijnVdS> etyuio: are you sure you don't want "sort file | uniq -c"
[09:26] <etyuio> done what you want to know ?
[09:29] <MartijnVdS> ?
[09:29] <SuperMatt> etyuio: have you actually read the man pages of any of these commands? I really suggest you do because it's important to learn what the commands do. That way you can then decide for youself which commands you should be running and in what order, for the task that only you know the end goal
[09:30] <etyuio> now i got an other result => 121
[09:30] <etyuio> which one is correct ?
[09:30] <SuperMatt> we don't know because we don't have the same input as you!
[09:30] <MartijnVdS> etyuio: you have to decide that yourself, by reading up on what the commands *do*
[09:30] <SuperMatt> what MartijnVdS said
[09:30] <MartijnVdS> and if that's what you want them to do
[09:31] <SuperMatt> it's like me coming in here and saying "I have two answers, 'b' and '89475.' Which one is right?"
[09:31] <SuperMatt> no one in here will know because they don't have the input
[09:31] <MartijnVdS> SuperMatt: "b" obviously
[09:31] <mungbean> discovers that mobaxterm is much better than xming
[09:31] <MartijnVdS> mungbean: xming has a .. dubious .. name
[09:31] <SuperMatt> still not as dubious as gimp
[09:31] <mgdm> you'd be better with xmung
[09:32] <MartijnVdS> SuperMatt: "I started GIMP in Xming"
[09:32] <SuperMatt> still, I find it funny installing mongo
[09:32] <SuperMatt> let me just man gimp
[09:32] <mungbean> in the 90s i naively typed manpages.com
[09:33] <mungbean> thinking it was a solaris site
[09:33] <SuperMatt> lol
[09:33] <SuperMatt> I don't think I'll be doing that right now
[09:33] <mungbean> big willy wangers on the first page
[09:33] <SuperMatt> hilarious
[09:33] <mungbean> got whiplash from trying to shut the browser
[09:33] <SuperMatt> we've all been there
[09:33] <mungbean> i was at work in full view of the office
[09:34] <BigRedS> My brother used to keep checking his mail at hotmale.com
[09:34] <SuperMatt> mmm there's something quite satisfying naming our nagios server "hubble"
[09:34] <mungbean> oog
[09:34] <MartijnVdS> mungbean: Dutch for "eye" :)
[09:34] <MartijnVdS> also a good name for a Nagios server
[09:34] <JohnRobert> nagios nags you
[09:34] <mungbean> i meant to say oof
[09:35] <SuperMatt> nagios only nags you if you're a bad sysadmin ;)
[09:35] <Gary> MRTG ftw
[09:36] <directhex> naggy os?
[09:36] <MartijnVdS> Gary: ...
[09:36] <directhex> zabbix!
[09:37] <mungbean> cacti>mrtg
[09:38] <MartijnVdS> What's wrong with what we call the "whine system"?
[09:38] <MartijnVdS> "<service> seems to be down" "Let's look at that.."
[09:39] <Gary> MartijnVdS: multi router traffic grapher
[09:39] <MooDoo> I love wine ;)
[09:39] <MartijnVdS> Gary: I know.. but that doesn't warn if it detects bad stuff, does it?
[09:39] <Gary> produces pretty graphs for bandwidth, and shows if stuff goes eeeeeek
[09:39] <MartijnVdS> MooDoo: "whinge" then
[09:39] <Gary> and we have it tied in somehow to nagios
[09:39] <MartijnVdS> Gary: sure, but it doesn't actually go EEEEK itself
[09:39] <MartijnVdS> Gary: by texting you
[09:39] <Gary> (I don't set up these systems, just break them)
[09:40] <MooDoo> MartijnVdS:  ;
[09:40] <MooDoo> :)
[09:40] <Gary> nagios emails, I think it can do more
[09:41] <MartijnVdS> Gary: yeah, it can start scripts
[09:41] <MartijnVdS> Gary: you could even make nagios restart the service all by itself if you wanted to
[09:43] <Gary> ooo, I just want to con my boss into making it restart EVERYTHING upon recieving an email from my unknown external freemail address :p
[09:44] <MartijnVdS> Gary: or a text from that new pay-as-you-go number from free SIM from the supermarket ;)
[09:45] <Gary> paid for in cash, whilst wearing a hoodie
[09:45] <MartijnVdS> yeah, and then not used for a month so the security tapes expire
[09:45] <Gary> actually, sod restart, can it just shutdown all?
[09:45] <MartijnVdS> why not?
[09:46] <Gary> wipe config, shutdown :p
[09:46] <MartijnVdS> a script is a script
[09:46] <MartijnVdS> Gary: easier to do that with puppet
[09:46] <Gary> my cow-workers are puppets
[09:47] <Gary> do I come across as a little erm, whats the word...
[09:48] <etyuio> peffect this one is correct command sort file |uniq -c|nl
[09:48] <etyuio> now i would like to change the  name of the server which is on the file from BIG letter to small letter ?
[09:48] <MartijnVdS> etyuio: man tr :)
[09:49] <MartijnVdS> etyuio: or, easier to understand but not as comprehensive: http://www.cyberciti.biz/faq/how-to-use-linux-unix-tr-command/
[09:51] <SuperMatt> etyuio: you could do sort -f, which does case insensitive sorting
[09:51] <etyuio> i don't want to sort anything
[09:52] <SuperMatt> right, are you sure? What if you have something like: Server1 and server1. They will appear differently in sort file | uniq | nl
[09:52] <SuperMatt> oh wait, uniq needs to be insensitive too
[09:52] <etyuio> from this command sort file |uniq -c|nl i would like to add something like  sort file |uniq -c|nl | convert MAJ to MIN
[09:52] <MartijnVdS> tr A-Z a-z file | sort | uniq -c | nl
[09:53] <SuperMatt> ^
[09:53] <SuperMatt> you wanna do your conversion first
[09:53] <MartijnVdS> transpose all capital letters to lowercase letters
[09:53] <MartijnVdS> then sort (so the same names are next to each other)
[09:54] <MartijnVdS> then count how often each line is in the file
[09:54] <etyuio> how ?
[09:54] <MartijnVdS> then number the lines
[09:54] <davmor2> Morning all
[09:54] <MartijnVdS> etyuio: I'm just describing what that command line does
[09:54] <SuperMatt> oooh, there's an awk way too
[09:54] <SuperMatt> I like awk
[09:54] <MartijnVdS> etyuio: Really, read some man pages :)
[09:54] <etyuio> how awk ?
[09:54] <etyuio> with awk ?
[09:54] <SuperMatt> MartijnVdS already gave you the answer at 10:52
[09:55] <SuperMatt> using tr
[09:56] <BigRedS> SuperMatt: there's an awk way to do almost everything. It's like Perl but worse
[09:56] <etyuio> but not work
[09:56] <etyuio> tr A-Z a-z file | sort | uniq -c | nl
[09:56] <etyuio> not workign tr A-Z a-z file | sort | uniq -c | nl
[09:56] <MartijnVdS> etyuio: what isn't working about it?
[09:57] <etyuio>  Usage: tr [ -cds ] [ String1 [ String2 ] ]
[09:57] <SuperMatt> try tr '[A-Z]' '[a-z]' file | sort | uniq -c | nl
[09:57] <etyuio> not at all
[09:57] <etyuio> same result
[09:57] <SuperMatt> wait, we can just dict the -c | nl
[09:58] <SuperMatt> because you want a list
[09:58] <SuperMatt> so  tr '[A-Z]' '[a-z]' file | sort | uniq
[09:58] <SuperMatt> this is why *you* need to learn the commands
[09:58] <etyuio> i would like to understand how with awk ?
[09:58] <SuperMatt> http://stackoverflow.com/questions/2264428/converting-string-to-lower-case-in-bash-shell-scripting
[09:59] <SuperMatt> or importantly http://lmgtfy.com/?q=bash+convert+to+lowercase
[09:59] <SuperMatt> that's how I managed it
[09:59] <SuperMatt> I'm going to be honest *again*
[09:59] <SuperMatt> *learn* the commands
[10:00] <SuperMatt> we are tying to help, but we don't see what you see, we don't know what you know. we are pointing you at commands, but we can't tell you what's wrong with them because we don't know what result you're expecting to see. If you want generic help, like 'what command does x?' we can help, but we can't get the right answer for you
[10:02] <etyuio> ok i can understand
[10:05] <etyuio> this command is wroking  echo "Hi All" | tr "[:upper:]" "[:lower:]"
[10:05] <etyuio> in output i got hi all
[10:05] <SuperMatt> excellent
[10:05] <SuperMatt> so now you can do tr "[:upper:]"  "[:lower:]"
[10:05] <SuperMatt> so now you can do tr "[:upper:]"  "[:lower:]" filename
[10:05] <SuperMatt> sorry
[10:06] <etyuio> but this one not working but instead of
[10:06] <etyuio> tr "[:upper:]" "[:lower:]" file  | sort | uniq -c | nl
[10:07] <etyuio> what i would like to do  is :
[10:07] <etyuio> with this command
[10:07] <etyuio> echo "Hi All" | tr "[:upper:]" "[:lower:]"
[10:07] <SuperMatt> you can do cat file | tr...
[10:08] <etyuio> instead of Hi All in echo "Hi All" | tr "[:upper:]" "[:lower:]" i would like to input my file name to have something like this
[10:09] <etyuio> echo "$filename" | tr "[:upper:]" "[:lower:]" | sort | uniq -c | nl
[10:09] <etyuio> how to do ?
[10:09] <SuperMatt> cat filename instead of echo filename
[10:09] <SuperMatt> or jusy use tr "[:toupper:]" "[:tolower:]" filename
[10:09] <SuperMatt> it does work because I've tried it
[10:09] <etyuio> perfect
[10:10] <etyuio> it's working thanks a lot
[10:10] <SuperMatt> hooray!
[10:11] <SuperMatt> now, I want you to run these commands
[10:11] <SuperMatt> man sort
[10:11] <SuperMatt> man uniq
[10:11] <SuperMatt> man wc
[10:11] <SuperMatt> man nl
[10:11] <SuperMatt> man tr
[10:11] <SuperMatt> and learn exactly what they do
[10:12] <SuperMatt> that way, when you have a question like this, you will know exactly how to answer it yourself
[10:12] <etyuio> ok perfect
[10:12] <etyuio> but i got some difficulty to understand that
[10:12] <SuperMatt> you may not *remember* each switch, but you will remember "oh hey, I know sort is what I need, I'll look to see what functionality it has"
[10:13] <SuperMatt> is english not your first language?
[10:13] <etyuio> i m expecting an answer in 2 lines but gots several pages
[10:13] <etyuio> french
[10:13] <SuperMatt> yes, man is sort for manual
[10:13] <etyuio> is it possible to convert the man page in french ?
[10:13] <etyuio> or open the man page temporarely in french ?
[10:14] <etyuio> or choosing the language what we would like to read ?
[10:14] <SuperMatt> can I ask why you're not in #ubuntu-fr?
[10:14] <SuperMatt> because I don't know about reading man pages in french
[10:14] <SuperMatt> but they would be able to help you
[10:14] <SuperMatt> they'd help you understand a lot more than we could
[10:15] <SuperMatt> aha, it looks like you can install manpages-fr
[10:16] <etyuio> but there people are not UP  2 date
[10:16] <SuperMatt> how so?
[10:16] <etyuio> that's why i m here
[10:18] <SuperMatt> ok, I just checked and there *loads* of people in #ubuntu-fr
[10:18] <SuperMatt> they could have helped you
[10:18] <SuperMatt> and I'm sure if you stay in there for a long period of time and be patient, you will learn a lot from them
[10:20] <SuperMatt> and the commands we used today? decades old. No one in there needs to be up to date to help you
[10:21] <etyuio> well
[10:22] <etyuio> on the same file i got  list of server in DNS shortname
[10:23] <etyuio> now i would like to add the complete name
[10:24] <etyuio> how add the extension from the short name of the server ?
[10:33] <SuperMatt> ok, maybe now I think you're using the wrong tools
[10:34] <SuperMatt> it's doable, but we're getting really complex, and you'd be best just copying the data in to something like excel/calc, and manipulating it there
[10:34] <SuperMatt> then pasting it back in
[10:35] <SuperMatt> but to answer your question awk '{print $0 "domainname" }'
[10:35] <SuperMatt> but now you have to work out what to do with that
[10:36] <etyuio> print $0 means what ?
[10:36] <ewkbr> hii
[10:36] <SuperMatt> this is the problem etyuio, you're *way* out of your comfort zone here
[10:37] <SuperMatt> it'd be prudent for you to do things in a way you're more comfortable with
[10:37] <ewkbr> i make a script in python
[10:37] <MartijnVdS> etyuio: man bash -> search for "\$0"
[10:38] <JohnRobert> iirc $0 is the first argument (probably the script name itself)
[10:38] <ewkbr> now i want to use it like a service / demon (in /etc/init.d)
[10:38] <MartijnVdS> 0 = script name
[10:38] <SuperMatt> not in awk it's not ;)
[10:38] <ewkbr> how i can do it?
[10:38] <SuperMatt> ewkbr: that's not easy *at all*
[10:39] <ewkbr> now i want to use it like a service / demon (in /etc/init.d) with start, stop restart
[10:39] <SuperMatt> what does it do?
[10:39] <MartijnVdS> ewkbr: you need  to write it in a special way for that
[10:39] <SuperMatt> there is a python pip for creating daemons, I suggest you look that up
[10:40] <SuperMatt> but it's not a simple question to answer
[10:40] <MartijnVdS> it's also packaged
[10:40] <ewkbr> what do you mean?
[10:40] <ewkbr> to run it like this?
[10:40] <MartijnVdS> ewkbr: there's a library you can use, python-daemon, to write daemons in python
[10:40] <MartijnVdS> ewkbr: you have to write your program to make use of that library
[10:40] <ewkbr> python script.py | service   ??
[10:41] <MartijnVdS> ewkbr: do you even read what we're telling you?
[10:42] <ewkbr> but i dont want to re-write the code,, i want only the ability to start it and stop simply..
[10:42] <SuperMatt> MartijnVdS: I have a feeling no one today has been reading what we've been saying
[10:42] <SuperMatt> whois ewkbr
[10:43] <SuperMatt> oops
[10:43] <MartijnVdS> ewkbr: that's not how daemons work
[10:43] <SuperMatt> you *have* to write new code to convert it to a daemon
[10:43] <SuperMatt> because it needs clever stuff, like the ability to fork new processes, etc
[10:44] <SuperMatt> the ability to receive a stop signal
[10:44] <MartijnVdS> and then actually stop
[10:44] <SuperMatt> there is *so much* to it
[10:44] <ewkbr> ok..
[10:44] <etyuio> perfect working awk
[10:45] <MartijnVdS> etyuio: but do you know what it's actually doing?
[10:45] <SuperMatt> ^this
[10:45] <etyuio> yes of course adding extension on the file
[10:46] <MartijnVdS> !xyproblem
[10:46] <MartijnVdS> !xy
[10:46] <SuperMatt> ewkbr: https://pypi.python.org/pypi/python-daemon
[10:46] <etyuio> perfect working awk
[10:46] <etyuio> but the problem is i got 3 types of server name ; starting with
[10:47] <etyuio> 3 different name
[10:47] <MartijnVdS> etyuio: It might work, but I'm afraid it's fragile and you won't actually know how to fix it if it breaks
[10:47] <SuperMatt> hang on
[10:47] <SuperMatt> I have a great answer for all this
[10:47] <MartijnVdS> SuperMatt: stackexchange?
[10:47] <SuperMatt> cvbnm,m, nbgvb cxc
[10:47] <etyuio> i would like to add the 3 different in 3 case
[10:47] <SuperMatt> hanging my head of the keyboard
[10:48] <MartijnVdS> SuperMatt: awww..
[10:48] <etyuio> what will work ?
[10:48] <SuperMatt> then the command line is not the tool for you, etyuio
[10:48] <SuperMatt> either learn to script in bash, python, whatever
[10:48]  * MartijnVdS gives up as well
[10:48] <SuperMatt> or do it manually
[10:48] <SuperMatt> and we cannot teach you this in 10 minutes on irc
[10:51] <etyuio> don't worry i found it with for i in
[10:51] <etyuio> thanks here for valuable support
[10:51] <SuperMatt> ok great
[10:52] <SuperMatt> now *learn* all this
[10:52] <SuperMatt> throw yourself deeply in to it
[10:52] <etyuio> sure
[10:52] <BigRedS> Start knocking out 2KB oneliners that make your colleagues weep
[10:52] <SuperMatt> feel free to ask questions, but make sure they're the *right* questions
[10:53] <etyuio> ok perfect thanks a lot
[11:03] <SuperMatt> *phew* all that stuff is over now, I feel like I can breathe
[11:06] <MartijnVdS> we can talk about perl scripts again :)
[11:06] <SuperMatt> hooray
[11:12] <ali1234> NO
[11:13]  * penguin42 notes the lyrics on 'The final countdown' are wonderfully cheesy
[11:23] <davmor2> penguin42: I don't know what you mean.  "We're leaving together, but still it's fairwell, and maybe we'll come back, to Earth who can tell....."  Nothing cheesy there :D
[11:23] <MartijnVdS> davmor2: same subject as Queen - '39 then
[11:24] <davmor2> MartijnVdS: or Flash :)
[11:27] <davmor2> penguin42: if you want cheesy you need to look to popstars trying to cash in on rock ballards, power of love Jennifer Rush, Just died in your arms tonight cutting crew...........
[11:28] <MooDoo> anything from the 80's nuff said
[11:28] <MooDoo> lol
[11:29] <davmor2> MartijnVdS: Queens cheesiest song starts "I was just a skinny lad, never knew no good from bad, but I knew life before I left my nursery"
[11:29] <BigRedS> I just exchanged GPG keys with RMS. That might be the most nerdy thing I've ever done.
[11:31] <MartijnVdS> BigRedS: would you need to send him anything then?
[11:32] <davmor2> MooDoo: Aaaaaaaaaaaaaaaaaaaaggggggggggggggggggggggggggggaaaaaaaaaaaaaaaaaaaaaaaaaaadododo
[11:32] <BigRedS> MartijnVdS: we host a machine for hi
[11:32] <BigRedS> m
[11:33] <davmor2> MooDoo: I don't know what you mean the 90's brought us boybands and girlbands you really want cheesy that is the era to look at :)
[11:34] <MartijnVdS> MooDoo: http://open.spotify.com/user/martijnvds/playlist/4sXUFBP520n3SC2o8bg0TF
[11:34] <MooDoo> davmor2: sorry can't talk i'm pushing a pineapple and shacking a tree
[11:34] <MartijnVdS> davmor2: they also brought us proper gangsta rap
[11:34] <MartijnVdS> davmor2: and Eurodance
[11:34] <MooDoo> It's hammer time, that's all you need to know
[11:35] <MartijnVdS> MooDoo: stop, collaborate and listen!
[11:36] <davmor2> MartijnVdS: the 80's brought proper gangster rap, NWA when they were not mainstream etc
[11:36] <BigRedS> Hah, I can't get that playlist top open in spotify
[11:36] <MartijnVdS> davmor2: hm, true
[11:37] <davmor2> MartijnVdS: Also a lot of the dance house music that Eurodance is based off kicked off in the 80's and a lot of the demo music used is also from the 80's :P
[11:37] <davmor2> demo was meant to be sample
[11:37] <MartijnVdS> davmor2: but the 90s gave us Ace of Base, and happy hardcore.. and Aqua
[11:37] <MooDoo> not in my barbie world
[11:38] <MartijnVdS> BigRedS: spotify:user:martijnvds:playlist:4sXUFBP520n3SC2o8bg0TF  then ? paste that in the search box
[11:38] <BigRedS> ah! I was just trying to remember that syntax
[11:39] <BigRedS> haha, your '90s playlist dwarfs mine
[11:40] <davmor2> MartijnVdS: Ace of base 87 dude, happy hardcore were formed in the late 80'2 inorder to be popular by the early 90's and Aqua well it's Aqua.  The 90's also brought us spice girls, boyzone, take that, etc etc etc
[11:40] <BigRedS> make me feel a bit better about that
[11:40] <MartijnVdS> davmor2: best music is from the late 80s, early 90s anyway
[11:46] <penguin42> davmor2: No way; the Final countdown rhymes 'we're heading for Venus (Venus)' with 'Cause maybe they've seen us'  - you can't get cheesier than that
[11:46] <davmor2> MartijnVdS: I agree, only I also include late 70's, all of the 80's, and up to about 94-95, then it just started to go downhill bar the odd exceptional group  for example fatboy slim, prodigy , moby, Armon Vanheldon (probably spelt wrong), Adele, blur, oasis etc
[11:48] <MartijnVdS> davmor2: every time I hear someone say "music from Adele" I hear "music from a Dell"
[11:48] <davmor2> penguin42: Power of love by Frankie goes to hollywood "I'll protect you from the Hooded Claw  and keep the vampires from your door"
[11:48] <davmor2> MartijnVdS: how do you know it isn't
[11:48] <MartijnVdS> davmor2: no logo
[11:49] <davmor2> MartijnVdS: and no intel jingle in the background :)
[11:49] <MartijnVdS> davmor2: exactly
[11:52] <davmor2> penguin42: then you get the stalker song from the police, the pervert song by the police, the murder song by Phil Collins, that everyone thinks are lovely love songs, (every breath you take, don't stand so close, in the air tonight)
[11:53] <MartijnVdS> davmor2: Fiction Factory - (Feels Like) Heaven, a very happy-sounding *break-up song*
[11:54] <MartijnVdS> davmor2: but at one time, everyone used it at weddings
[11:54] <davmor2> MartijnVdS: 10cc I'm not in love
[11:55] <davmor2> MartijnVdS: Lucy in the Sky with Diamonds, that is nothing to do with drugs
[11:55] <MartijnVdS> but that's not 80s
[11:56] <davmor2> MartijnVdS: I know but all the ones in the 80's that were about drugs, were about drugs :D
[11:56] <penguin42> reminds me, I need to get some 10cc; I had Rubber Bullets going round in my brain the other night
[11:57] <ali1234> ebeneezer goode?
[11:58] <davmor2> MartijnVdS: Then there is the 1979 Christmas number on no drugs in that song what so ever :)
[11:58] <ali1234> i don't think pop music gets much more blatant than that
[11:58] <ali1234> why is the phil collins song about murder tho?
[11:59] <davmor2> ali1234: If you told me you were drowning I would not lend a hand
[12:00] <MartijnVdS> davmor2: that's just hating someone
[12:00] <ali1234> "It's the first time, the last time we ever met "
[12:01] <ali1234> it's a song by a murder victim to the murderer?
[12:03] <ali1234> i would almost have more respect for phil collins if that were true
[12:04] <ali1234> but according to wikipedia he doesn't know what it's about
[12:04] <davmor2> ali1234, MartijnVdS: I think it is actually more about pent up hate and what he saw
[12:04] <davmor2> the three things that spring to mind is rape, murder or child abuse of some sort
[12:06] <MartijnVdS> davmor2: maybe he saw the police
[12:06] <davmor2> MartijnVdS: yeah sting was stalking him
[12:06] <MartijnVdS> the 80s all make sense suddenly!
[12:08] <ewkbr> hi
[12:08] <ewkbr> i want to do someting like that
[12:08] <ewkbr> ps -ef | grep "test.py" | grep "python" | awk '{print $2}' > variablename | kill -s 15 variablename
[12:08] <ewkbr> how i can do it?
[12:09] <MartijnVdS> ewkbr: that looks very dangerous
[12:10] <ewkbr> but how i can find the pid by name..
[12:10] <MartijnVdS> ewkbr: that tends to be solved by leaving a pidfile when starting
[12:11] <davmor2> MartijnVdS: and NWA were obvious sent in to kill the police, with MC Hammer but they can't touch this, so run dmc walked this way following the bangles walking like egyptians, until Frankie said Relax!
[12:11] <MartijnVdS> davmor2: and it's like that, and that's the way it is.
[12:12] <ewkbr> i get this answer in other place
[12:12] <davmor2> MartijnVdS: welcome to the pleasure dome that is sentences made up of songs
[12:12] <ewkbr> pkill --signal 15 -f 'python.*test.py'
[12:12] <MartijnVdS> ewkbr: that's VERY fragile
[12:12] <ewkbr> is work fine!
[12:13] <MartijnVdS> ewkbr: sure it works now, until you run a python script with a similar name
[12:13] <ewkbr> and if i make something like this   pkill --signal 15 -f 'python.test.py'
[12:14] <MartijnVdS> ewkbr: no, you want to kill _that specific_ script
[12:14] <ewkbr> it will be better?
[12:14] <MartijnVdS> ewkbr: so you make the script drop a pidfile in a known location
[12:14] <MartijnVdS> ewkbr: with its PID in it
[12:14] <MartijnVdS> ewkbr: then later, you check if that PID still exists, and the name of the program matches what you expect
[12:14] <MartijnVdS> ewkbr: and if so, you kill it
[12:14] <MartijnVdS> ewkbr: start-stop-daemon has this figured out for you
[12:14] <MartijnVdS> ewkbr: man start-stop-daemon
[12:15] <ewkbr> i try..
[12:16] <MartijnVdS> ewkbr: you need to read ALL of it, it will teach you a lot about daemons
[13:10] <ewkbr> i cant join to # python :((
[13:10] <BigRedS> ewkbr: there shouldn't be a space between the # and the 'python' : /join #python
[13:10] <ewkbr> how i can convert the BaseHTTPRequestHandler, from send stderr to stdout
[13:10] <MartijnVdS> ewkbr: it's a base class, you make a subclass
[13:11] <ewkbr> #python-unregistered! You've been put here because #python requires you to register
[13:11] <MartijnVdS> this is #ubuntu-uk
[13:11] <MartijnVdS> ewkbr: also, registering your nick isn't hard
[13:12] <popey> !register | ewkbr
[13:13] <popey> bah
[13:14] <JohnRobert> ircfail
[13:20] <MooDoo> http://freenode.net/faq.shtml#contents-userregistration
[13:21] <MooDoo> http://freenode.net/faq.shtml#nicksetup
[13:25] <mungbean> i don't like these gmail different inboxes
[13:25] <mungbean> primary/social/promo
[13:26] <popey> wat?
[13:26] <JohnRobert> priority inbo
[13:26] <JohnRobert> x
[13:26] <mungbean> gmail webmail has suddenly changed my inbox
[13:26] <mungbean> and has 3 tabs
[13:26] <mungbean> primary, social and promotions
[13:27] <MooDoo>  mungbean yup they are rollowing that out
[13:27] <mungbean> go to settings -> inbox
[13:27] <mungbean> and unselect categories to remove them
[13:28] <mungbean> maybe i'll switch it on when i'm comfortable with the idea
[13:28] <mungbean> not sure how they decide whats a promotional email?
[13:28] <mungbean> whitelist of 100s of vendors/
[13:28] <popey> i use priority inbox..
[13:29] <brobostigon> i just use imap,
[13:29] <popey> ooh, compact view, much nicer
[13:29] <mungbean> i use default but set the zoom level to 75%
[13:35] <BigRedS> I've had it for a couple of weeks, and it's basically 100% correct in its sorting, which is a tad sinister
[13:35] <BigRedS> I just haven't yet got used to the idea of my inbox being subdivided so I keep not looking at the tabs and not seeing mail
[13:36] <JohnRobert> I ought to use imap
[13:36] <ali1234> i already filter everything with labels
[13:36] <JohnRobert> and pgp
[13:37] <JohnRobert> gpg rather
[13:37] <ali1234> i have about 40 labels already
[13:37] <ali1234> so just turned this thing off
[13:40] <BigRedS> My gmail account is largely read-only, so I just check it on my phone when I'm bored
[13:41] <mungbean> i have an outlook.com account with some cool aliases that only the NSA read. i don't even read them
[13:56] <penguin42> my gmail just gets the stuff where I've used google account to login to blogs etc
[13:59] <BigRedS> yeah, that's wht mine's for now
[14:40] <mungbean> seen the forthcoming zimbra release?
[14:40] <mungbean> blog.zimbra.com/blog/archives/2013/04/zimbra-judaspriest-release-update-1.html
[14:42] <MooDoo> lol the judaspriest update :)
[14:57] <Laney> "damn I want some tea" … "WAIT! I made a pot 5 minutes ago!"
[14:57]  * Laney celebrates
[14:59] <MooDoo> o/
[15:15] <mungbean> http://toys.usvsth3m.com/maths/
[15:15] <mungbean> \o/
[15:20] <ali1234> i completed level 5 on the first try
[15:20] <ali1234> after that it starts asking silly questions like 132/11
[15:21] <mungbean> it does finish
[15:21] <mungbean> level 9 i think
[15:21] <mungbean> its worth getting to the finish
[15:21] <mungbean> there's always an obviously right and wrong answer
[15:22] <ali1234> no theres 10 levels
[15:22] <ali1234> on level 9 it starts throwing algerba at you
[15:22] <mungbean> wasn't counting levels :P
[15:22] <ali1234> like 2x+6 = 16 (x=4) (x=5)
[15:22] <ali1234> it says "level x of 10" in the bottom left corner at all times
[15:22] <ali1234> "is 14 prime?"
[15:22] <mungbean> yeah, my brain has hardware accel for those
[15:23] <mungbean> don't need to think
[15:24] <ali1234> now the website has messed up and the timer isn't working properly
[15:24] <mungbean> aww you missed out on the carol vorderman with her boobs out
[15:24] <mungbean> *may not be true
[15:42] <Laney> I'm giving in and buying a fan
[15:43] <mungbean> you'll break the weather
[15:43] <mungbean> oh, it's already borken here
[16:14] <directhex> Laney, i'm sat in the path of a 12000btu air conditioner :D
[16:15] <penguin42> aaarrrrrggggghhhhh btu
[16:15] <Laney> haha
[16:15] <Laney> I don't know what that unit is but it sounds pleasant
[16:15] <Gary> or cold
[16:15] <directhex> British Thermal Unit
[16:16] <penguin42> the Americans use BTU, you end up with data centres that take kW of electricity in, then spit BTUs of heat out - it's mad!
[16:21] <nimesh> hi can someone help me when i boot into ubuntu 12.04 lts it just goes to a black screen and i can't login
[16:21] <MartijnVdS> penguin42: you're not much better.. putting litres of petrol in your tank then measuring fuel consumption in miles per gallon
[16:21] <MartijnVdS> penguin42: and using a different gallon from the one across the ocean as well
[16:21] <MartijnVdS> nimesh: what kind of graphics card do you have?
[16:21] <directhex> MartijnVdS, americans use british wine gallons. because wine.
[16:21] <MartijnVdS> directhex: why not French liters, because wine?
[16:21] <nimesh> i'm using a laptop so i will check
[16:21] <directhex> MartijnVdS, British colony, for a long time. so imports of goods measured by british units
[16:21] <MartijnVdS> directhex: sure, but helped to independence by the French
[16:22] <directhex> http://en.wikipedia.org/wiki/Wine_gallon
[16:22] <nimesh> its a  VGA compatible controller: Silicon Integrated Systems [SiS] 661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter
[16:22] <penguin42> MartijnVdS: Well we did put gallons into our tank until maybe 10 years ago
[16:22] <MartijnVdS> penguin42: stränge
[16:23] <penguin42> MartijnVdS: I think it's when gallons of petrol became unpallatably expensive
[16:23] <MartijnVdS> penguin42: your litres are still cheaper than ours :)
[16:23] <MartijnVdS> !pm | nimesh
[16:23] <directhex> nimesh, i just said "oh gods" out loud
[16:24] <MartijnVdS> directhex: ALL of them?
[16:24] <nimesh> what, ok
[16:25] <MartijnVdS> nimesh: what happens if you plug your monitor into the other graphics card?
[16:25] <nimesh> sorry new to ubuntu and irc so again sorry
[16:25] <nimesh> its a laptop
[16:25] <directhex> nimesh, SiS cards are extremely rare these days, extremely poor hardware, and the drivers are barely tested at all due to the low number of users
[16:25] <MartijnVdS> ah, so it's one of those "switch between built-in and nvidia card" things?
[16:25] <nimesh> no
[16:26] <nimesh> its just sis
[16:26] <MartijnVdS> then why do you have a SiS PCI/AGI _and_ a PCIE display adapter?
[16:26] <nimesh> that is what come up when i do lspci
[16:26] <nimesh> in terminal
[16:27] <nimesh> 11.10 work perfectly but there is no support as you know
[16:27] <MartijnVdS> nimesh: like directhex said: SiS isn't well-supported
[16:27] <MartijnVdS> nimesh: you could check /var/log/Xorg.0.log
[16:27] <MartijnVdS> (does ctrl+alt+f1 work?)
[16:28] <nimesh> yeah i thnk
[16:28] <nimesh> no it does
[16:31] <nimesh> !pastebin
[16:31] <nimesh> here is /var/log/Xorg.0.log http://paste.ubuntu.com/5881396/
[16:32] <MartijnVdS> [    28.268] (--) SIS(0): Detected LCD/plasma panel (1024x768, 1, non-exp., RGB18 [12c500])
[16:32] <MartijnVdS> so it's doing something..
[16:33] <MartijnVdS> I don't know, sorry..
[16:33] <nimesh> i have told you that i have downgraded to use my laptop
[16:33] <MartijnVdS> oh this is the 11.10 log?
[16:34] <nimesh> yeah because i can't access 12.04
[16:34] <MartijnVdS> nimesh: but it's hard to debug like this :)
[16:34] <MartijnVdS> nimesh: does a 12.04 live CD work?
[16:35] <MartijnVdS> (to test)
[16:35] <nimesh> so how do i resolve this
[16:35] <penguin42> nimesh: When you installed 12.04 which 12.04 did you use ? (I know it's an odd question) - 12.04, 12.04.1 or 12.04.2 ?
[16:35] <MartijnVdS> nimesh: or just "upgrade" from 11.10?
[16:35] <nimesh> how do i tell
[16:35] <penguin42> not too sure to be honest - did you download the 12.04 iso yourself? In the last few weeks?
[16:36] <nimesh> it was a clean install
[16:36] <MartijnVdS> nimesh: and the installation CD worked correctly?
[16:36] <nimesh> i can make a live use in a min
[16:36] <nimesh> yeah it worked on my pc
[16:36] <nimesh> and it booted up every time
[16:37] <MartijnVdS> nimesh: so you put the 12.04 CD in the laptop, and it worked with graphics?
[16:37] <nimesh> no it was about 5 months ago
[16:37] <nimesh> it did live mode
[16:37] <penguin42> nimesh: Hmm ok, so the thing is that 12.04.1 and 12.04.2 have different kernels/X stacks installed by default (and different from 12.04) - it's possible one is better or worse
[16:38] <nimesh> and then after 2 boot after install it happend
[16:39] <nimesh> i have to go soon so here is my email assistantcall@hotmail.com
[16:39] <nimesh> ok i have gone really deep into this now
[16:39] <nimesh> :)
[16:40] <nimesh> how do i download them
[16:40] <nimesh> of the ubuntu website
[16:40] <penguin42> ah, I always find that hard to find
[16:41] <MartijnVdS> nimesh: go to releases.ubuntu.com
[16:41] <MartijnVdS> nimesh: there are separate directories for each 12.04 and 12.04.2
[16:41] <MartijnVdS> don't know where .1 went
[16:41] <penguin42> nimesh: http://old-releases.ubuntu.com/releases/12.04.0/  I think?
[16:41] <nimesh> ok when i have will have a go later
[16:42] <nimesh> sorry i mean when i have time later
[16:42] <nimesh> thanz for all your help
[16:42] <nimesh> can i give help points or something
[16:42] <nimesh> to you guys
[16:43] <nimesh> will download both of them now to try later
[16:44] <chaleave> I want inspiration for learning  to  program.  What  I  must  learn?
[16:44] <MartijnVdS> a lot of things
[16:44] <chaleave> to start of  it
[16:45] <Laney> popey: your currentcost graphs are broken
[16:46] <popey> yeah
[16:46] <popey> the btrfs volume on the server went squiffy
[16:46] <popey> reboot and it's fine ☻
[16:46] <popey> but i am missing something
[16:46] <chaleave> i  am  reading  manual  of  ubuntu
[16:46] <chaleave> but  the  next  what
[16:47] <MartijnVdS> chaleave: first determine what you want to write
[16:47] <MartijnVdS> chaleave: what kind of program, what should it do
[16:47] <popey> i think maybe a usb serial issue
[16:47] <MartijnVdS> chaleave: then, pick a language and start doing its tutorial
[16:47] <MartijnVdS> chaleave: know that REALLY learning how to program takes years of practice
[16:48] <MartijnVdS> but simple things should be possible a lot earlier
[16:48] <chaleave> What  language  to  start  learning
[16:48] <chaleave> for  ubuntu
[16:48] <MartijnVdS> chaleave: doesn't really matter. Python is a popular choice, I think
[16:49] <chaleave> I  had  learned  php
[16:50] <chaleave> but  my  ability  that  low  class
[16:50] <chaleave> I  don't  know  the  next
[16:53] <bigcalm> Good afternoon peeps :)
[16:53] <bigcalm> Anybody here use git submodules come across this sort of thing? http://paste.ubuntu.com/5881465/
[16:53] <chaleave> ok.  I  will  try  about  python.Thank  you  for  talking.
[16:55] <chaleave> python  can  writing  about  program  typing  tutor?
[16:55] <MartijnVdS> chaleave: it's easy to find using google
[16:55] <MartijnVdS> chaleave: just search for python tutorial
[16:56] <MartijnVdS> chaleave: http://docs.python.org/2/tutorial/
[18:25] <MartijnVdS> http://www.youtube.com/watch?v=BUY6HGqYweQ
[18:52] <MartijnVdS> popey: http://www.youtube.com/watch?v=e59guruVL4o
[18:58] <popey> ☻
[18:59] <MartijnVdS> popey: BREATHE IN
[19:19] <bigcalm> MartijnVdS: aspirations of being our monarch eh?
[19:22] <bigcalm> Who here knows git well enough to help me? :)
[19:23] <MartijnVdS> bigcalm: what do you want to know?
[19:23] <bigcalm> MartijnVdS: http://paste.ubuntu.com/5881465/
[19:24] <MartijnVdS> looks like curl can't find SSL certs to check github's authenticity
[19:24] <MartijnVdS> bigcalm: if you don't care, you can git config --global http.sslverify "false"
[19:25] <bigcalm> Is the ca cert something that the hosting company should keep on top of with updates?
[19:26] <MartijnVdS> yes, but the /usr/local path doesn't look right
[19:26] <MartijnVdS> are you on a linux machine?
[19:26] <bigcalm> Yes
[19:26] <bigcalm> No
[19:26] <bigcalm> FreeBSD
[19:26] <davmor2> MartijnVdS: you forgot the BREATH OUT bit popey is turning purple
[19:26] <MartijnVdS> davmor2: the dalek took care of that
[19:27] <MartijnVdS> bigcalm: check where the CA certs are (in /etc/ssl on Linux)
[19:27] <MartijnVdS> bigcalm: and set http.sslCAPath to that directory (using git config --global, or as root git config --system
[19:28] <davmor2> MartijnVdS: the darleks have exterminated popey for breathing in ;)
[19:28] <MartijnVdS> if freebsd puts all SSL CA certs in a single file, use http.sslCAInfo
[19:28] <MartijnVdS> davmor2: poor popey
[19:29] <bigcalm> There's this: /usr/local/share/curl/curl-ca-bundle.crt
[19:29] <davmor2> MartijnVdS: what do you mean poor popey it's all your fault you told him to breath in ;)
[19:29] <MartijnVdS> bigcalm: is that up to date, and does it contain the cert of github's CA?
[19:30] <bigcalm> MartijnVdS: I have no idea :)
[19:30] <MartijnVdS> bigcalm: I'm not a FreeBSD guru, sorry
[19:30] <bigcalm> Oh, hold on
[19:30] <MartijnVdS> davmor2: he didn't have to.. I mean, what am I going to do if he doesn't?
[19:30] <bigcalm> locate was lying
[19:30] <MartijnVdS> locate always lies
[19:30] <bigcalm> locate .crt returned that file. But it isn't actually there
[19:30] <bigcalm> Of course I can't run updatedb
[19:31] <MartijnVdS> bigcalm: any other .crt or .pem files around?
[19:31] <MartijnVdS> bigcalm: t'interweb says you should look in /usr/local/share/certs
[19:32] <bigcalm> /usr/local/share/certs/ca-root-nss.crt
[19:32] <MartijnVdS> ok
[19:32] <MartijnVdS> git config --global http.sslCAInfo that_file
[19:33] <davmor2> popey: don't worry maybe one of these will save ya http://www.youtube.com/watch?v=xDj7gvc_dsA
[19:33] <MartijnVdS> or if you're root and want to set system-wide configs, git config --system
[19:33] <bigcalm> MartijnVdS: progress, thanks :)
[19:34] <bigcalm> But...
[19:34] <bigcalm> fatal: https://github.com/PHPMailer/PHPMailer.git/info/refs download error - The requested URL returned error: 403
[19:34] <bigcalm> Clone of 'https://github.com/PHPMailer/PHPMailer.git' into submodule path 'codebase/htdocs/vendors/PHPMailer' failed
[19:34] <bigcalm> Which is confusing as it worked from my dev server
[19:34] <MartijnVdS> bigcalm: have you tried the git:// URL instead?
[19:35] <MartijnVdS> bigcalm: compare ~/.gitconfigs
[19:35] <MartijnVdS> ~/.gitconfig
[19:36] <penguin42> bigcalm: I was having some hit problems as well - but from git.kernel.org getting some 404s
[19:36] <davmor2> me is starting to warm to musictube :)
[19:36] <penguin42> ^hit^git
[19:37] <bigcalm> This is odd. I have a .gitmodues and a submodule section in .git/config
[19:37] <bigcalm> Setting the one in .git/config to use git:// works \o/
[19:37] <bigcalm> Thank you peeps :)
[19:38] <MartijnVdS> yay
[19:49] <bigcalm> Spectraball feels as though somebody really enjoyed the power ball stages of Metroid Prime
[19:50] <bigcalm> This could be why I like it :)