magespawn | Morning all. | 06:53 |
---|---|---|
Kilos | morning superfly and others | 07:05 |
Kerbero | Symmetria, I don't know if you can do anything, but some people says the debian version on mirror.ac.za is outdated | 07:05 |
Kerbero | mornign kilos | 07:05 |
Kilos | hi Kerbero | 07:05 |
=== Kerbero is now known as Kerbero[afk] | ||
superfly | morning Kilos | 07:10 |
=== Kerbero[afk] is now known as Kerbero | ||
magespawn | And suddenly there are peeps. | 07:29 |
magespawn | Good morning y'all. | 07:30 |
superfly | hiya magespawn | 07:30 |
Kilos | yo magespawn | 07:33 |
=== Kerbero is now known as Kerbero[afk] | ||
Kilos | lol steelies internet broken again? | 07:46 |
Kilos | stellies | 07:46 |
Kilos | morning drussell | 07:46 |
drussell | Kilos: heya morning! | 07:47 |
=== Kerbero[afk] is now known as Kerbero | ||
Kilos | bbl | 08:20 |
rossouwap | Hello people of ubuntu-za! Has anyone here been fortunate enough to have to plan a recovery of a SAMBA server? | 08:25 |
psydroid | hello rossouwap | 08:26 |
psydroid | don't you make backups? | 08:26 |
rossouwap | hi psydroid, I do | 08:28 |
psydroid | it's fairly easy if you keep a backup of your OS and your data | 08:28 |
psydroid | but I'm not a professional sysadmin | 08:28 |
psydroid | and there may be widely accepted procedures for that | 08:29 |
rossouwap | Yes, my situation is slightly different. The company has asked for active/passive scenario with a 1 hour downtime window | 08:29 |
rossouwap | so I only really need to rsync the right files to ensure the system works. I can test, but thought I could save some time by asking some friendly people ;) | 08:30 |
psydroid | ok, then someone else here may know, I hope they can help you :) | 08:32 |
psydroid | would the passive one be a system that is powered one and and inactive or one that is powered off until the need arises to power it on? | 08:34 |
psydroid | powered on* | 08:34 |
rossouwap | would be on, with data replication. Using CNAME's for name resolution, so should the box fail, we would then change the DNS record and point traffic at the standby box | 08:35 |
psydroid | -and | 08:36 |
rossouwap | not meant to be resilient, just faster than a "fix the broken hardware" and full recovery scenario | 08:36 |
rossouwap | site only has 5 users, so don't want the complexity of a full active/passive or even active/active cluster | 08:37 |
psydroid | I understand | 08:38 |
psydroid | but isn't running an rsync script as a cron job on the backup server sufficient in that case? | 08:39 |
rossouwap | it is :) and that is what I'm doing for the data | 08:51 |
rossouwap | I'm looking to find out which config files I need to ensure I don't have to reconfigure the authentication | 08:52 |
rossouwap | the shares are no problem, just the ACL's | 08:52 |
psydroid | I would guess /etc/passwd, /etc/group, /etc/shadow, /etc/gshadow, the contents of /etc/samba and maybe other things such as the files for mdraid and lvm, if you use those | 09:01 |
psydroid | but I would just clone the entire OS image onto other similar hardware, that goes much faster | 09:02 |
superfly | rossouwap: ask in #glug.za or try #clug on Atrum | 09:13 |
superfly | rossouwap: also, Google is known to be quite a handy resource on matters like these | 09:14 |
magespawn | Later all. | 09:58 |
Kilos | hmmm | 13:00 |
Kilos | just checking who is working | 13:00 |
Kilos | gc_, coffee on | 13:01 |
* gc_ starts grinding coffee | 13:01 | |
gc_ | Coffee's ready for Kilos! | 13:05 |
Kilos | gc_, ty | 13:05 |
gc_ | Enjoy Kilos Just dont make a habit of it ok? | 13:05 |
Kilos | bbl | 13:18 |
ybrjkfc | hi ;) | 13:38 |
psydroid | hi ybrjkfc | 14:03 |
nlsthzn | o/ | 16:27 |
magespawn | Evening all. | 16:39 |
nlsthzn | hi magespawn | 16:40 |
magespawn | How's it going? | 16:40 |
nlsthzn | Cool and there? | 16:41 |
magespawn | I am good, was hot today but otherwise a.good day. | 16:42 |
magespawn | nlsthzn, are you a programmer? | 16:43 |
nlsthzn | Nope | 16:43 |
magespawn | If you don't mind, what do you do? | 16:47 |
nlsthzn | Ah, Process Controller / Or Operator as it is known here... | 16:50 |
magespawn | Okay still not sure. | 16:52 |
nlsthzn | Haha... well we run around petro-chemical plants starting and stopping equipment, lining them up and .... | 16:53 |
nlsthzn | never mind he is off then | 16:54 |
magespawn | Got to love Vodacom | 16:55 |
magespawn | Back again let's see how long this time. | 17:15 |
nlsthzn | :) | 17:19 |
nlsthzn | I tried twice to write what I do... gave up cause you are gone everytime | 17:19 |
Kerbero | he is a gopher | 17:20 |
Kerbero | that fixes stuffs in plants | 17:20 |
Kerbero | :P | 17:20 |
nlsthzn | haha | 17:28 |
nlsthzn | :( | 17:28 |
Kilos | evening superfly nlsthzn and others | 17:33 |
superfly | hiya Kilos | 17:33 |
nlsthzn | Hi uncle Kilos , super | 17:33 |
Kilos | what happened, there are so many peeps here | 17:33 |
nlsthzn | Hi uncle Kilos , superfly | 17:33 |
Kilos | hi psydroid rossouwap | 17:34 |
Kilos | nuvolari, lewe jy nog? | 17:35 |
psydroid | hi Kilos | 17:35 |
psydroid | hoi nuvolari | 17:35 |
psydroid | hoi nlsthzn | 17:35 |
psydroid | hi superfly | 17:35 |
nlsthzn | hi psydroid | 17:36 |
superfly | hi psydroid | 17:36 |
psydroid | hi magespawn | 17:36 |
Kilos | hehe | 17:36 |
magespawn | Hi psydroid | 17:38 |
Kilos | lo magespawn | 17:38 |
Kilos | bi sakhi | 17:39 |
psydroid | I am so far behind on the LPI stuff, it's a bit sad | 17:39 |
psydroid | hi sakhi | 17:40 |
Kilos | dont worry too much , we all are | 17:40 |
magespawn | I don't think I got past the second lot actually | 17:43 |
Kilos | whats the second lot magespawn ? | 17:43 |
magespawn | Firsts was the bios and thep | 17:43 |
Kilos | oh ya ok | 17:43 |
magespawn | So the second lot | 17:44 |
Kilos | that was all the easier stuff. gets worse and worse | 17:44 |
Kilos | for me anyway, you guys will understand the later stuff | 17:44 |
magespawn | My problem is not the stuff I have to work at but the stuff I "know". | 17:45 |
magespawn | Check this out. | 17:45 |
magespawn | Brb | 17:45 |
magespawn | http://pastebin.com/CSmsw6uQ My second python program. | 17:48 |
Kilos | is it gonna eat data magespawn ? | 17:48 |
magespawn | Should not hold on will tell you the file size | 17:49 |
Kilos | oh i will try but that pastebin somehow puts big breaks on my machine | 17:49 |
Kilos | if its only a text file thats fine | 17:49 |
magespawn | Can pit in on slexy if you want, yup is 844 bytes | 17:50 |
Kilos | ouch | 17:50 |
magespawn | Is that big? | 17:50 |
Kilos | i have it open. | 17:50 |
Kilos | lol yeah i stretch a meg over a day | 17:51 |
Kilos | thats why i am in and out | 17:51 |
magespawn | Oh okay. You using elinks? | 17:51 |
Kilos | i went there with opera | 17:52 |
Kilos | used 155kB | 17:52 |
Kilos | unless iftop stopped counting | 17:53 |
magespawn | I think you should write an ebook on how to save data sell it online and pay for your data. | 17:53 |
Kilos | lol | 17:53 |
Kilos | hiya Langjan | 17:54 |
magespawn | I am sure we could work on something together here Kilos | 17:54 |
Langjan | hi kilos | 17:54 |
magespawn | I am serious | 17:54 |
Kilos | im listening | 17:54 |
Kilos | Langjan, did you get it fixed | 17:54 |
Langjan | yes I did... | 17:55 |
Langjan | thanks | 17:55 |
Kilos | how Langjan ? | 17:55 |
Langjan | take a guess | 17:55 |
Langjan | sorry, i'll tell you | 17:55 |
Kilos | lol | 17:55 |
Langjan | lmga | 17:56 |
magespawn | Think about it all the tips and tricks you use to save your data but still get everything done, turn it into a PDF or such and sell in the droid market, amazon etc | 17:56 |
magespawn | Maybe something like 5 rand. | 17:56 |
Langjan | it was uite simple in the end | 17:56 |
Langjan | quite | 17:56 |
Kilos | ok Langjan lets hear it | 17:56 |
Kilos | magespawn, best way to not use data is to stay offline | 17:57 |
Langjan | al I did was to delete all the nonexistent addresses in the address book, there I found the ones containing the offending texts | 17:57 |
magespawn | Yup true but you seem to like it here so there is the quandry. | 17:57 |
Kilos | well done Langjan | 17:58 |
magespawn | Bbl taking fish 2 to bed. | 17:58 |
Langjan | thanks, now al is well and i'm running reasonably happily on unity in 11.10 | 17:58 |
Kilos | thats good. ek is bly vir jou | 17:58 |
Langjan | I'm sure superfly will be interested in the solution as well | 17:59 |
Kilos | he will read here in between | 17:59 |
Langjan | or was it kbmonkey who helped? | 18:00 |
Kilos | did you just delete one at a time till the problem went away? | 18:00 |
Kilos | was the fly | 18:00 |
Langjan | I just deleted them all | 18:00 |
superfly | non-existent e-mail addresses? weird | 18:00 |
Kilos | lmga now how do you know which type caused the prob man | 18:00 |
superfly | Maaz: tell magespawn I can break your program just by looking at it. | 18:01 |
Maaz | superfly: Righto, I'll tell magespawn on freenode | 18:01 |
Langjan | yip. some of the spaces in the address book were taken up by text from mails, perhaps a glitch with the transfer of the profile | 18:01 |
Kilos | ouch | 18:01 |
Kilos | that is weird , non existent addy's | 18:02 |
Langjan | well, there was text "disguised" as addresses | 18:03 |
Kilos | pity you didnt first check them with a antivirus | 18:04 |
Langjan | would that have helped | 18:04 |
Kilos | maybe they from these peeps that send virusses in emails | 18:04 |
Langjan | ? | 18:04 |
Langjan | No it was genuine text from mails | 18:04 |
Kilos | no it would just have told you if there was | 18:04 |
Kilos | if you were on windows you wouldnt be able to take the chance on opening them | 18:05 |
Kilos | thats how many peeps gettheir windows pcs crashed | 18:06 |
Kilos | via emails | 18:06 |
Langjan | some great screensavers on 11.10 | 18:06 |
Langjan | cheers kilos, take care | 18:10 |
Kilos | go well Langjan groete tuis | 18:10 |
Langjan | baie dankie | 18:11 |
Kilos | hehe shame magespawn the fly got you | 18:23 |
magespawn | Superfly you still here? | 18:24 |
superfly | always | 18:24 |
magespawn | Go the message kilos | 18:24 |
magespawn | And ? | 18:24 |
magespawn | Got | 18:25 |
magespawn | Maaz ty | 18:25 |
Maaz | You are welcome magespawn | 18:25 |
magespawn | superfly what did you mean? | 18:26 |
superfly | magespawn: when it asks you for the number of explorers, type in "a" :-) | 18:26 |
magespawn | That is not a number. | 18:26 |
magespawn | I see what you mean though | 18:27 |
magespawn | Could have it check to see if what the person enter is a integer and if not then ask again until it returns a integer | 18:28 |
superfly | magespawn: yup, I think there's an "isdigit" function | 18:29 |
magespawn | All the "ordinary" people I asked to play it entered a number | 18:29 |
magespawn | I am only on chapter 3 that covers branching and while loops | 18:30 |
magespawn | So will get there in time. | 18:31 |
superfly | magespawn: also, get into the habit of putting things into functions | 18:31 |
superfly | def main(): | 18:32 |
superfly | <all the rest of that stuff, indented once> | 18:32 |
superfly | then right at the bottom | 18:32 |
superfly | if __name__ == '__main__': | 18:32 |
superfly | main() | 18:32 |
magespawn | By indent do you mean tab | 18:34 |
magespawn | What is the point of functions | 18:34 |
magespawn | Okay have just read ahead that is covered in chapter 6 | 18:36 |
superfly | magespawn: not tab, 4 spaces | 18:38 |
magespawn | In the book says you could use either | 18:39 |
magespawn | Is spaces better or more standard/common? | 18:39 |
superfly | spaces is the standard | 18:42 |
magespawn | Okay will use that then. | 18:42 |
magespawn | Don't have a habit or a preference so makes almost no difference to me personally, but will be better if I have standard habits if I want to work with others | 18:44 |
Kerbero | i started to use spaced a while ago too | 18:47 |
Kerbero | renders better across all editors | 18:47 |
Symmetria | show route aspath-regex .*ASN$ table inet.0 |grep *\\[BGP |awk '{print $1}' |./agg.pl |sed 's/^/\/mode #CHANNEL +b /g' ; printf "\n"; | 18:47 |
Symmetria | ^^^ my new satanic irc channel ban generator :p | 18:47 |
magespawn | That's a bit random | 18:48 |
Kerbero | i agree | 18:48 |
Symmetria | heh it works pretty well when all else fails to get rid of someone :p | 18:49 |
magespawn | Kerbero so then it does not matter what the programmers choice working together becomes easy | 18:49 |
Kerbero | magespawn: exactly | 18:50 |
magespawn | Important for foss | 18:51 |
magespawn | So good to know | 18:52 |
magespawn | Any other general sort of tips? | 18:59 |
magespawn | Will also keep you guys up to date where I am. | 18:59 |
Kerbero | do you know screen? | 18:59 |
magespawn | Not yet | 19:00 |
Kerbero | and people also say it is worth to learn vim | 19:00 |
Kerbero | i was not bored enough yet :P | 19:00 |
magespawn | Used vi the other day to edit an apache config file | 19:02 |
superfly | magespawn: read PEP8 | 19:03 |
superfly | Maaz: google Python PEP8 | 19:04 |
Maaz | superfly: "PEP 8 -- Style Guide for Python Code" http://www.python.org/dev/peps/pep-0008/ :: "pep8 0.7.0 : Python Package Index" http://pypi.python.org/pypi/pep8 :: "Python, PEP8 and Git hooks | EmmaTech" http://tech.myemma.com/python-pep8-git-hooks/ :: "ppierre/python-pep8-tmbundle · GitHub" https://github.com/ppierre/python-pep8-tmbundle :: "pep8 - Check your python source files with PEP8 : vim online" http://www.vim.org/scripts/script.p | 19:04 |
magespawn | Ty superfly | 19:07 |
Kerbero | magespawn: get your text editor to show you a vertical line at the 80 character position | 19:10 |
Kerbero | and avoid going across it | 19:10 |
Kerbero | *try to avoid | 19:11 |
inetpro | Kerbero: s/screen/byobu/ | 19:12 |
inetpro | the latest version of byobu is very nice with only a single line for the status line | 19:12 |
* inetpro has started using kubuntu 12.04 Beta1 at the office | 19:13 | |
inetpro | quite nice although there are still a lot of updates on a daily basis | 19:13 |
inetpro | Kilos: goeie more oom | 19:14 |
inetpro | good evening everyone else | 19:15 |
Kilos | môre inetpro gaan dit goed | 19:15 |
Kerbero | it is nice yes | 19:15 |
inetpro | Kilos: goed en daar? | 19:15 |
Kerbero | but i like updates | 19:15 |
Kilos | goed dankie | 19:15 |
Kilos | net kwaad daai xubuntu | 19:15 |
Kilos | miskien is dit die ou 6g wat slegte kolle op het | 19:16 |
magespawn | Kerbero busy with Ilde and windows width is set to 80 | 19:19 |
Kerbero | windows, eeww, what a bad text editor. how about gettin an OS like emacs? | 19:20 |
kbmonkey | hello geeks | 19:21 |
Kilos | lo kbmonkey | 19:22 |
kbmonkey | magespawn, you grokking that Python | 19:22 |
magespawn | My one laptop is still on Win 7 so am using Idle at the moment but I switch around a lot at the moment so if you have one I can try I will give it a go | 19:22 |
Kilos | magespawn, you got more than one? | 19:23 |
magespawn | Het kbmonkey. Grokking? | 19:23 |
magespawn | Yup | 19:23 |
Kilos | then its one of my laptops | 19:23 |
Kilos | the spell checker is too busy to keep us all inline | 19:24 |
kbmonkey | grok is to become a guru, to learn and understand it | 19:24 |
magespawn | Ty that's the idea | 19:24 |
Kilos | kbmonkey, whats news with the greeting bot story | 19:26 |
magespawn | Ahh Kilos but what if I was refering to a specific machine? As in "One Laptop"? Lol. | 19:27 |
Kilos | ha ha ha | 19:27 |
Kilos | i think it still applies | 19:27 |
Kilos | superfly, ? | 19:27 |
superfly | Kilos: ? | 19:28 |
kbmonkey | ? | 19:28 |
Kilos | we are so lucky to have the fly | 19:28 |
kbmonkey | im confused | 19:28 |
Kilos | oh ^^ the one lappy bit | 19:28 |
Kilos | why kbmonkey | 19:28 |
Kilos | 21.22 | 19:29 |
magespawn | Kerbero have heard of emacs thought it was and editor | 19:29 |
magespawn | an | 19:29 |
kbmonkey | oh nevermind. the ibid docs don't mention more about receiving low-level irc events, so will dig through the meeting plugin and scope it out | 19:30 |
Kilos | http://www2.lib.uchicago.edu/keith/tcl-course/emacs-tutorial.html | 19:30 |
kbmonkey | emacs is a large operating system | 19:30 |
Kilos | is it only for windows or linux as well | 19:31 |
superfly | kbmonkey: actually, that's a good idea... didn't think about that | 19:31 |
kbmonkey | :) | 19:32 |
* kbmonkey puts the thinking capon | 19:32 | |
Kilos | hehe | 19:32 |
* kbmonkey inserts banana into the cap | 19:33 | |
kbmonkey | my spacebar seems to miss a beat every so often :p | 19:33 |
magespawn | Wikipedia says emacs is a family of editors | 19:34 |
magespawn | Bit confused? | 19:34 |
Kilos | http://searchenterpriselinux.techtarget.com/definition/Emacs | 19:35 |
kbmonkey | lol. yes its a do-all editor | 19:35 |
Kilos | thats what maaz finds | 19:35 |
kbmonkey | its a running geek joke, because emacs can do nearly everything, we call it a OS | 19:36 |
magespawn | Ahh right | 19:37 |
Kilos | night everyone. have a good night and slaap vas | 19:37 |
kbmonkey | gn ._. | 19:37 |
magespawn | Nights Kilos | 19:37 |
magespawn | Emacs easy to learn? | 19:38 |
kbmonkey | don't know it magespawn | 19:39 |
magespawn | Looks pretty extensive | 19:39 |
kbmonkey | my workflow is pretty good with what I'm used to | 19:40 |
kbmonkey | it does :D | 19:40 |
kbmonkey | I decided to stick to simple editors that are common across distros (gedit,vim,geany) | 19:41 |
kbmonkey | especially on most live cd's | 19:41 |
magespawn | Tried gedit, like that a lot. | 19:42 |
magespawn | liked | 19:42 |
kbmonkey | gedit is great after you tweak the plugins right. code snippets rock! | 19:43 |
kbmonkey | and config it to run python code | 19:43 |
magespawn | Make things a lot quicker | 19:43 |
kbmonkey | hmm, I should integrate git into it | 19:44 |
kbmonkey | and theres a bunch of nice gedit colour themes at https://github.com/mig/gedit-themes | 19:44 |
kbmonkey | interestingly it has a python console built in, you can access gedit commands via python code | 19:45 |
magespawn | That could be useful | 19:52 |
magespawn | This.is my latest "master piece" http://pastebin.com/CSmsw6uQ | 19:53 |
magespawn | I am off to bed night all. | 19:55 |
kbmonkey | neat magespawn. gn! | 19:55 |
inetpro | gedit doesn't come close to kate (KDE Advanced Text Editor) | 19:57 |
kbmonkey | KDE apps have a lot of cool functions | 19:58 |
Kerbero | geany is not bad either | 20:26 |
kbmonkey | its in my list of most used editors | 20:31 |
kbmonkey | http://xkcd.com/378/ | 20:31 |
kodez | good morning | 22:53 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!