[03:46] <lostConnection> If I wanted to replace the letters of a string in python with a letter of my choice how would I do that?
[03:46] <lostConnection> is there a build in function for it?
[04:43] <BiosElement> Yes
[04:43] <BiosElement> lostConnection: You're looking for the string module docs
[04:44] <lostConnection> ? how do I use them? originally I was trying to used string.replace(old,new) and that wasn't working
[04:45] <BiosElement> string.replace(str, old, new[, maxreplace])
[04:46] <lostConnection> str?
[04:46] <BiosElement> test = 'test'
[04:46] <BiosElement> test.replace('t', 'l')
[04:46] <BiosElement> 'lesl'
[04:46] <BiosElement> ^That works fine
[04:47] <lostConnection> omg I think I know what my problem was....
[04:47] <lostConnection> if I replace it in order to keep the changes would I have to do string = string.rplace(old,new)
[04:49] <lostConnection> of course you would.....wow...that was stupid of me. I thought that it was just implicitly altered.
[04:50] <BiosElement> No, it never is. Strings are immutable.
[04:52] <lostConnection> uumm... could you restate that. I don't know if I completely understand.
[04:52] <BiosElement> Python strings cannot be changed in-place. They don't change themselves. For example
[04:52] <BiosElement> test = 'whatever'
[04:52] <BiosElement> test.lower wouldn't change it
[04:53] <BiosElement> test = test.lower however would.
[04:53] <lostConnection> ok I see
[04:54] <lostConnection> yeah I'm just trying to run through pythonchallenege.com to reinforce what I have learned and that was just something that I just wasn't picking up on
[04:55] <BiosElement> The python docs are always helpful
[04:55] <BiosElement> Keep them close
[04:59] <lostConnection> thanks
[15:06] <thafreak> Morning Ohio
[15:07] <thafreak> So, I didn't end up driving to microcenter until saturday...but I got my 4 2Tb samsung drives
[15:07] <thafreak> been running the samsung diagnostic tool since saturday evening...
[15:07] <thafreak> finally on the last drive
[19:03]  * BiosElement wanders over to thafreak's and acquires himself some storage ;P
[19:33]  * canthus13 recently ran across a 540MB drive in his basement....
[21:45]  * canthus13 wonders how ridiculous it would be to set up Nagios on his network at home.
[21:46] <Cheri703> canthus13: I'm going to be attempting to learn to use nagios soon :)
[21:47] <Cheri703> unfortunately the nagios book is big and pdf so my eyes get tired from trying to read it :/
[21:47] <Cheri703> http://www.nagiosbook.org/html/
[21:52] <canthus13> Heh. I'm more of the 'install it and figure it out' school of thought....
[21:53] <Cheri703> well, I'm told that the conf files are pretty ridiculous
[21:53] <Cheri703> someone suggested setting up multiple vm's and having them talk to each other, as a learning exercise. I don't have enough computing power for that, but I DO have a bunch of old crappy computers I can network :)
[21:56] <canthus13> Bah. I think I'm gonna have to switch back to apache. :(
[21:56] <Cheri703> someone suggested setting up multiple vm's and having them talk to each other, as a learning exercise. I don't have enough computing power for that, but I DO have a bunch of old crappy computers I can network :)
[21:56] <Cheri703> bah
[21:56] <Cheri703> why?
[21:56]  * Cheri703 hates the up arrow sometimes
[21:59] <canthus13> Setting up multiple web sites, handling subdomains, etc is really a pain in lighttpd.
[22:00] <Cheri703> ah
[22:10] <thafreak> I have nagios running at home...monitoring my hosted servers
[22:11] <thafreak> I'm really looking forward to checking out the new fork of nagios though
[22:11] <thafreak> http://www.icinga.org/
[22:12] <thafreak> very forward looking...has a mobile version of the web interface, and I think some one is working on an android app for it too
[22:12] <thafreak> drop lighttpd for nginx man!
[22:13] <thafreak> the config syntax is WAY easier than lighttpd...plus no nasty memory leaks :)
[22:14] <thafreak> I'm currently throwing in the towel, and just trying to learn puppet
[22:15] <thafreak> been bouncing back and forth between all the various config management systems...even thought about writing something myself
[22:15] <thafreak> wanted to try kokki, cause it's python based instead of ruby like most of the others, but it seems just as confusing
[22:16] <thafreak> puppet seems to be king these days anyway...
[22:16] <thafreak> so what you SHOULD do, is figure out how to make a puppet manifest, that auto sets up your nagios server :_
[23:48] <Cheri703> semi-rhetorical question: when is it ever ok for the owner of a company to make passive aggressive attacks at the character of a customer?
[23:48] <Cheri703> TO the customer
[23:54] <BiosElement> Not unless you expect them to remain a customer.
[23:54] <Cheri703> yeah...
[23:55]  * Cheri703 got a crappy email from a company she's trying to negotiate a repair/replacement from
[23:55] <BiosElement> Heh, naturally.
[23:55] <Cheri703> yeah, not happy
[23:56] <BiosElement> Sounds like a company that doesn't want to remain in business.
[23:56] <Cheri703> I don't give a crap what they say amongst themselves, heaven knows I complain about customers at home or among coworkers (in the past), but not TO the customer >.<
[23:57] <Cheri703> part of their message said something about "we have literally thousands of happy customers" part of my response may include: I am aware that you have many happy customers, I would not have purchased from you were that not the case. However, having many happy customers is no justification for making personal attacks on the character of one. Those comments were uncalled for and unjustified and I am disappointed by the lack of profes
[23:57] <Cheri703> sionalism shown by the choice to make them. I am going to choose to believe that you've had a stressful day and happened to take it out on me, even though that doesn't make it ok, I will overlook that choice this time.