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