<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>kython</title>
	<atom:link href="http://blog.kython.org/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.kython.org</link>
	<description>"If brute force isn't working then your not using enough"</description>
	<lastBuildDate>Tue, 10 Nov 2009 20:06:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Actually Try Printing&#8230;..Please!!!</title>
		<link>http://blog.kython.org/?p=28</link>
		<comments>http://blog.kython.org/?p=28#comments</comments>
		<pubDate>Tue, 10 Nov 2009 20:06:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Network Administration]]></category>
		<category><![CDATA[PEBKAK]]></category>

		<guid isPermaLink="false">http://blog.kython.org/?p=28</guid>
		<description><![CDATA[At my current place of employment I administer a medium size windows 2003 domain.  Most of my work is done remotely and I'm not really involved with the day to day client problems that occur.  I generally just help out with domain wide problems and installing new hardware or software.  I got a system down [...]]]></description>
			<content:encoded><![CDATA[<p>At my current place of employment I administer a medium size windows 2003 domain.  Most of my work is done remotely and I'm not really involved with the day to day client problems that occur.  I generally just help out with domain wide problems and installing new hardware or software.  I got a system down for setting up new printers remotely and it was working exceedingly well until about a month ago.</p>
<p><strong>Let the Problems Begin</strong></p>
<p>It was a normal day and got a call saying there was a new printer plugged in in the server room and it needed to be setup and deployed across the domain.  I proceeded to remote in and create a reservation in DHCP, create a TCP/IP port and then add the printer to the print server.  All went well until the last step.  The print spooler would crash and burn and the printer would not be working.  This particular printer was an HP LJ 2035n.  We currently had three of these printers on the domain working flawlessly.  Adding a forth printer really caused problems.</p>
<p><strong>The Solution ?</strong></p>
<p>I cleaned the spooler on the printer server using a program from M$ called cleanspl.exe and proceeded to reinstall all the drivers and printers.  The intention was to clean out the corrupted driver and then everything would be okay.   Well I successfully got the spooler to stop crashing on the server and was able to add the printer to the network and all was good?</p>
<p><strong>Problem 2</strong></p>
<p>I got a call saying the printer problem was not fixed and the spooler was crashing on the clients now.</p>
<p><strong>Solution 2</strong></p>
<p>So I suggested running cleanspl.exe on all the computers and they asked that I do that so I did.   I thought I got the problem completely fixed at this point.  I wasn't able to get around to all the computer and someone were not at the school so I left instruction with a capable person on how to run cleanspl.exe.</p>
<p><strong>Problem 3</strong></p>
<p>I get a call a couple days later saying that some people still can't print and are getting the spooler crashed error.</p>
<p><strong>Solution 3</strong></p>
<p>I seeked help from the professionals and they suggested cleaning the spooler manually because M$ program doesn't work that great.  My thought was big surprise.  I proceeded to clean out the spooler manually on the server.  Then I wrote a script that manually would clean the spooler on startup for all the other computers.  I added a run once feature by checking for a file to indicate that the spooler had already been clean the script creates when it cleans the spooler.  I tested the script on handful of computers and they were able to print just fine.</p>
<p><strong>Problem 4???  Really???</strong></p>
<p><strong><span style="font-weight: normal;">I got a call saying that some of the teachers were still unable to print and that this is getting frustrating and they want it fixed now.  At this point I was out of things to try.  I was watching an error log of one of the computer they were getting the spooler error on and noticed a small difference in the error.  Forgive me but I hadn't been reading the actual error message every time I just saw in the log and knew what it was.  This time I noticed it said  requed.  I posed the question have you been clicking "Ok" on the error messages?  The answer I got was "no".  Click "Ok" on the error messages and reboot.  The error messages didn't come up again.  At this point I had told them at least five times that the errors saying the spooler crashed are from the previous time the computer was on and they have the time actually indicating when the spooler crashed.   They proceded to tell me that they saw the time and it from Thursday of last week.</span></strong></p>
<p><strong>Solution 4</strong></p>
<p><strong><span style="font-weight: normal;">[conversation form]<br />
Me: Try printing something real quick<br />
Them: Okay.....<br />
Them: It worked!!!<br />
Me: Have you actually tried printing anything ever or just the saw the error and assumed that it wouldn't print?<br />
Them: We just saw the error.<br />
Me: (Not in to the phone) WHAT THE CRAP!!!!<br />
Them:  Well I'll give you a call if we have any more problems, Thanks!!! , Bye.</span></strong></p>
<p><strong>A Message to ALL</strong></p>
<p><strong><span style="font-weight: normal;">Before you say you printer is messed up, won't print, and contact someone to help you fix it......Actually try printing.</span></strong></p>
<p><strong>Lessons Learned</strong></p>
<p>Regardless of what someone tells you when troubleshooting a problem never ever assume they know what they are talking about.  I've had this problem before there but kinda of assumed that when they said there printers won't print that they actually tried printing.<strong> </strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kython.org/?feed=rss2&amp;p=28</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Web Toolkit</title>
		<link>http://blog.kython.org/?p=21</link>
		<comments>http://blog.kython.org/?p=21#comments</comments>
		<pubDate>Sun, 28 Jun 2009 23:00:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[GWT]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Java Script]]></category>

		<guid isPermaLink="false">http://blog.kython.org/?p=21</guid>
		<description><![CDATA[
I may be a little slow finding somethings but for all you others out there that haven't heard of Google Web Toolkit check it out.  GWT allows web developers to write rich UI applications in pure Java and then compile them to Javascript for the web.  Google provides a very nice tutorial that walks [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://code.google.com/webtoolkit/"><img class="alignnone" src="http://www.google.com/intl/en_ALL/images/logo.gif" alt="" width="276" height="110" /><img class="alignnone" src="http://code.google.com/webtoolkit/images/gwt-logo.png" alt="" width="100" height="100" /></a><br />
I may be a little slow finding somethings but for all you others out there that haven't heard of Google Web Toolkit check it out.  GWT allows web developers to write rich UI applications in pure Java and then compile them to Javascript for the web.  Google provides a very nice <a href="http://code.google.com/webtoolkit/tutorials/1.6/gettingstarted.html">tutorial</a> that walks developers through writing a stock watcher application.  GWT comes complete with it's own <a href="http://www.eclipse.org/">Eclipse</a> plugin and <a href="http://www.eclipse.org/">Google Apps</a> integration.  After just finishing a Java class for my associates degree I was able to follow the tutorial with ease.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kython.org/?feed=rss2&amp;p=21</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Is Returning</title>
		<link>http://blog.kython.org/?p=14</link>
		<comments>http://blog.kython.org/?p=14#comments</comments>
		<pubDate>Tue, 14 Apr 2009 04:33:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.kython.org/?p=14</guid>
		<description><![CDATA[
I have been incredibly busy the past several months with school and work.  I highly recommend not trying to complete 20 credit hours in a semester and working at the same time.  It will really take it out of you.  During this time I have been taking a java class for my [...]]]></description>
			<content:encoded><![CDATA[<p><script src="http://www.ubuntu.com/files/countdown/display2.js" type="text/javascript"></script><br />
I have been incredibly busy the past several months with school and work.  I highly recommend not trying to complete 20 credit hours in a semester and working at the same time.  It will really take it out of you.  During this time I have been taking a java class for my major and for the first formal approach to object oriented programming I must say I am impressed and am looking forward to the following semester of advanced data structures.</p>
<p>Ubuntu 9.04 is releasing soon.  To be honest I have been running windows lately because of software I need for classes is meant for windows and I have not had the time to get it working on linux and my Ubuntu box decided to start lagging to the point of not being able to use it ever since I installed Google desktop.  I haven't had time to fix it so I have temporally been using XP.</p>
<p>I am glad to be taking part in the suspend resume test for Ubuntu as this had been a huge problem in the past.</p>
<p>Eucalyptus caught my eye for cloud computing because I have always been interested in super computing and clusters.</p>
<p>The improvements to display preferences seem to be a nice addition so long as it works well.  Normally I use the Nvidia control panel anyways but having a built in one that works excites me.</p>
<p>Over all I am excited for the next release of Ubuntu and  will hopefully be able to upgrade next weekend.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kython.org/?feed=rss2&amp;p=14</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My New Toy</title>
		<link>http://blog.kython.org/?p=13</link>
		<comments>http://blog.kython.org/?p=13#comments</comments>
		<pubDate>Fri, 31 Oct 2008 21:32:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[48 Port Switch]]></category>
		<category><![CDATA[Catalyst 6500]]></category>
		<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://blog.kython.org/?p=13</guid>
		<description><![CDATA[
I was recently given a Cisco Catalyst 6500.  The obvious question is "what the heck do I need a Catalyst 6500 for?"  To be honest I still haven't figured that one out but I have one.  I received the catalyst from my school that originally got it from a local power plant that was getting [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://kython.org/pics/c6500/sw1.jpg"><img src="http://kython.org/pics/c6500/sm_sw1.jpg" /></a></p>
<p>I was recently given a Cisco Catalyst 6500.  The obvious question is "what the heck do I need a Catalyst 6500 for?"  To be honest I still haven't figured that one out but I have one.  I received the catalyst from my school that originally got it from a local power plant that was getting rid of it.  The catalyst only had two supervisor modules and no switch modules so it was essential a very heavy box that could not do anything.  I shopped around on ebay and snatched up a 48 port switching module for only $10 ($23 w/ shipping).  Due to my inpatients I didn't want to wait and try to find a power cable so I cracked open one of the power supplies to hard wire one in.  I could quickly tell this was not going to be easy so I went the the simplest and possibly most dangerous route possible.</p>
<p><a href="http://kython.org/pics/c6500/sw2.jpg"><img src="http://kython.org/pics/c6500/sm_sw2.jpg" height="150" width="200" /></a> <a href="http://kython.org/pics/c6500/sw3.jpg"><img src="http://kython.org/pics/c6500/sm_sw3.jpg" height="150" width="200" /></a></p>
<p>I took a computer power cable snipped the end that plugs in to the computer and hard wire it to the plug.  Do note I just wrapped the wires around the prongs and they are not secured in anyway.</p>
<p>I fire it up and the switch module works great.  One of the supervisors can't find it's IOS but the other one boots up fine and it works perfect.</p>
<p>I now have the biggest, heaviest, and most dangerously wired 48 port switch ever.  Unfortunately it won't be making it to many LAN parties.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kython.org/?feed=rss2&amp;p=13</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Fedora Swap &#8212; Part 2</title>
		<link>http://blog.kython.org/?p=12</link>
		<comments>http://blog.kython.org/?p=12#comments</comments>
		<pubDate>Wed, 22 Oct 2008 03:50:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Success Stories]]></category>
		<category><![CDATA[Fedor]]></category>
		<category><![CDATA[Fedora AWM]]></category>
		<category><![CDATA[Nvidia]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Vista]]></category>

		<guid isPermaLink="false">http://blog.kython.org/?p=12</guid>
		<description><![CDATA[  
Yesterday was the one month point from when I paused using Ubuntu and started using Fedora.  In all honesty I have come to notice that on a day to day basis the only things I use on my workstation are ssh/scp, Firefox, rdesktop, and vi.  It became clear rather quickly that adjusting would [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://fedoraproject.org/static/images/banners/f9release.png" width="200" height="100" />  <img src="http://www.ubuntu.com/themes/ubuntu07/images/ubuntulogo.png" width="202" height="55" /></p>
<p>Yesterday was the one month point from when I paused using Ubuntu and started using Fedora.  In all honesty I have come to notice that on a day to day basis the only things I use on my workstation are ssh/scp, Firefox, rdesktop, and vi.  It became clear rather quickly that adjusting would not be as hard as I thought.  I have chosen to revert back to Ubuntu.  Following will be the goods and the bads of both fedora and ubuntu.</p>
<p><em><strong>Fedora</strong></em><br />
<strong>Pros:</strong></p>
<p>After I installed proprietary video drivers AWM actually worked.  The use of appelets quickly turned into hell on earth but that is not fedoras problem.  To be honest I kinda like the OS-X feel with the dock.</p>
<p>The boot loader control panel under system &gt;&gt; administration &gt;&gt; boot loader was a nice little tool I am not used to having.</p>
<p>The firewall control panel under  system &gt;&gt; administration &gt;&gt; firewall was also a change for me.  I generally use iptables in the command line or install firestarter.  Having a pre installed firewall gui configuration tool was useful from time to time.</p>
<p><strong>Cons:</strong></p>
<p>No package for nvidia proprietary drivers that I could find worked. Had to download install from nvidia and compile own kernel module.  Just a little bit of a pain.</p>
<p>For some reason 1 of my 2 22in.  wides creen monitors is blurry from time to time with no real explanation.  This never happened in ubuntu.  I did find out that only using one monitor reduced blurryness but did not completely eliminate it.</p>
<p>I'm sure this is true on more than just fedora but common commands are not accessible without typing /sbin/[command].  This seems like a very small thing but I don't always rememeber to try and type /sbin/ in front of a command that it says doesn't exist.  Therefore I get angry that I can't find the command and waste time looking for it.  I know there is a way to set enviromet paths but I have never really gotten around to learning how to do this because I have never needed it.</p>
<p><strong>Ubuntu</strong></p>
<p><strong>Pros:</strong></p>
<p>Restricted driver utility works great for wifi and video card drivers.  It makes life much easier not having to compile your own kernel modules and all the other tedious tasks involved with having to install drivers manually.</p>
<p>Neither monitor is blurry.</p>
<p>Sudo is configured by default for the user that installs the system.  Even though configuring sudo is not hard by any means it is convient to have it already done for you.</p>
<p><strong>Cons</strong>:</p>
<p>Lacks some of the advanced control panels such as boot loader, selinux, and firewall by default.</p>
<p>AWM does not work at all.</p>
<p><strong>Final Thoughts</strong></p>
<p>Ubuntu is geared towards ease of initial setup and completeing everyday tasks.  Anything above and beoynd what a normal user would do on a day to day basis is going to require command line knowledge.   At the same time Fedora seems to be the exact opisite.  Everyday tasks are still easy and more advanced tasks such as managing firewall and security through selinux are also easier.  Initial setup on the other hand requires a little bit more work.  Even though I plan on rebooting back into ubuntu when I finish typing this if I was forced to use fedor I would not have a problem doing so. On top of that anything is better than Microsoft Vista.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kython.org/?feed=rss2&amp;p=12</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Python Profanity Filter</title>
		<link>http://blog.kython.org/?p=11</link>
		<comments>http://blog.kython.org/?p=11#comments</comments>
		<pubDate>Sat, 11 Oct 2008 21:20:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[cherrypy]]></category>
		<category><![CDATA[Profaniity Filter]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://blog.kython.org/?p=11</guid>
		<description><![CDATA[PyProfanity is a small program I whipped up to be used by a clients guest book posting routine.  The whole point is a simply way to prevent guests and spammers alike from posting profanity and sexually explicit content in their messages.  I have set up a simple cherrypy app here to allow people to try [...]]]></description>
			<content:encoded><![CDATA[<p>PyProfanity is a small program I whipped up to be used by a clients guest book posting routine.  The whole point is a simply way to prevent guests and spammers alike from posting profanity and sexually explicit content in their messages.  I have set up a simple cherrypy app <a href="http://profanity.kython.org">here</a> to allow people to try it out and help me add to the wordlist.  I have access to a log that lets me see everything tried so I can see how effective it is.  Anyone is welcome to test. The code is simple enough to post directly on here so here it is.</p>
<pre class="python"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">re</span></div></li></ol></pre>
<pre class="python"><ol start="2"><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #ff7700;font-weight:bold;">class</span> ProfanityFilter:</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">    <span style="color: #ff7700;font-weight:bold;">def</span> readProfanities<span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>:</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">        profanities = <span style="color: black;">&#91;</span><span style="color: black;">&#93;</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">        <span style="color: #008000;">file</span> = <span style="color: #008000;">open</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'wordlist'</span>,<span style="color: #483d8b;">'r'</span><span style="color: black;">&#41;</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">        <span style="color: #ff7700;font-weight:bold;">for</span> line <span style="color: #ff7700;font-weight:bold;">in</span> <span style="color: #008000;">file</span>:</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">            line = line.<span style="color: black;">strip</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'<span style="color: #000099; font-weight: bold;">\n</span>'</span><span style="color: black;">&#41;</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">            profanities.<span style="color: black;">append</span><span style="color: black;">&#40;</span>line<span style="color: black;">&#41;</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">        <span style="color: #ff7700;font-weight:bold;">return</span> profanities</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">    profanities = readProfanities<span style="color: black;">&#40;</span><span style="color: black;">&#41;</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">    <span style="color: #ff7700;font-weight:bold;">def</span> replaceProfanity<span style="color: black;">&#40;</span> <span style="color: #008000;">self</span>, query <span style="color: black;">&#41;</span>:</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">        <span style="color: #ff7700;font-weight:bold;">for</span> w, profanity <span style="color: #ff7700;font-weight:bold;">in</span> <span style="color: #008000;">enumerate</span><span style="color: black;">&#40;</span> <span style="color: #008000;">self</span>.<span style="color: black;">profanities</span> <span style="color: black;">&#41;</span>:</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">            replacement = <span style="color: #483d8b;">''</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">            <span style="color: #ff7700;font-weight:bold;">for</span> c <span style="color: #ff7700;font-weight:bold;">in</span> <span style="color: #008000;">range</span><span style="color: black;">&#40;</span><span style="color: #008000;">len</span><span style="color: black;">&#40;</span>profanity<span style="color: black;">&#41;</span><span style="color: black;">&#41;</span>:</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">                replacement = replacement + <span style="color: #483d8b;">'*'</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">            p = <span style="color: #dc143c;">re</span>.<span style="color: #008000;">compile</span><span style="color: black;">&#40;</span>profanity , <span style="color: #dc143c;">re</span>.<span style="color: black;">I</span><span style="color: black;">&#41;</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">            query = p.<span style="color: black;">sub</span><span style="color: black;">&#40;</span>replacement, query<span style="color: black;">&#41;</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">        <span style="color: #ff7700;font-weight:bold;">return</span> query</div></li></ol></pre>
<p>For obvious reasons I am not going to post contents of 'wordlist'.  If you would like a copy of it send me an <a href="mailto:blog@kython.org">email</a>.</p>
<p>Suggestion and improvements are welcome.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kython.org/?feed=rss2&amp;p=11</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pypal  &#8211;Update&#8211;</title>
		<link>http://blog.kython.org/?p=10</link>
		<comments>http://blog.kython.org/?p=10#comments</comments>
		<pubDate>Sat, 20 Sep 2008 15:06:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[408]]></category>
		<category><![CDATA[409]]></category>
		<category><![CDATA[cherrypy]]></category>
		<category><![CDATA[mod_proxy]]></category>
		<category><![CDATA[PayPal]]></category>
		<category><![CDATA[PyPal]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://blog.kython.org/?p=10</guid>
		<description><![CDATA[Due to school work, work, work, and more work.  I was not able to complete PyPal as soon as I planned.  I have however gotten my first Pypal site up and going.  It is a site that was made for a local artist to be able to sell her artwork.  None the items are linked [...]]]></description>
			<content:encoded><![CDATA[<p>Due to school work, work, work, and more work.  I was not able to complete <a href="http://blog.kython.org/?p=3">PyPal</a> as soon as I planned.  I have however gotten my first <a href="http://blog.kython.org/?p=3">Pypal</a> site up and going.  It is a site that was made for a local artist to be able to sell her artwork.  None the items are linked to an actual PayPal account because she hasn't had a chance to set one up yet.  In the near future hopefully I will have time to strip it down to a more genral version that other people can benefit from.  Although a huge goal of <a href="http://blog.kython.org/?p=3">PyPal</a> was ease of manageing items up for sale, for obvious reasons you will not be able to access the admin portion of the site.  As a demo the site is currently available at the following link.  <a href="http://loriart.kython.org">LoriArt</a></p>
<p>It should be noted that http 408/409 errors are an occurrence when using internet explorer.  Firefox work perfectly.  If anyone knows why this would happen I'm all ears.  The site is cherrypy running behind apache using mod_proxy.</p>
<p>Edit:</p>
<p>Problem solved thanks to the cherrypy googles group.</p>
<p>Adding "SetEnv proxy-nokeepalive 1" before the"ProxyPass" lines fixes the problem.  It is an error is cherrypy 3.1.  More on the issue <a href="http://cherrypy.org/ticket/853" target="_blank">http://cherrypy.org/ticket/853</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kython.org/?feed=rss2&amp;p=10</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Fedora Swap &#8212; Part 1</title>
		<link>http://blog.kython.org/?p=9</link>
		<comments>http://blog.kython.org/?p=9#comments</comments>
		<pubDate>Sat, 20 Sep 2008 14:50:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Fedor Core]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.kython.org/?p=9</guid>
		<description><![CDATA[  
I work at a school that uses Fedora for Linux servers.  I'm constantly complaining about the use of Fedora and suggesting that we be using Ubuntu.  This is primarily because I've never really used Fedora so I don't know the directory structure pertaining to where everything is.  On top of that I'm not familiar [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://fedoraproject.org/static/images/banners/f9release.png" height="100" width="200" />  <img src="http://www.ubuntu.com/themes/ubuntu07/images/ubuntulogo.png" height="55" width="202" /><br />
I work at a school that uses Fedora for Linux servers.  I'm constantly complaining about the use of Fedora and suggesting that we be using Ubuntu.  This is primarily because I've never really used Fedora so I don't know the directory structure pertaining to where everything is.  On top of that I'm not familiar with the yum package manager and RPMs in general.  While we were setting up a Fedora web server for the robotics team the coworker suggested that he installs and uses nothing but Ubuntu for a month and I install and use nothing but Fedora for a month.  Although it was never really considered I have decided to do this and the Fedora ISO is downloading as I type this.</p>
<p>In one month I  will write a Fedora Vs. Ubuntu review.  Stay Tuned....</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kython.org/?feed=rss2&amp;p=9</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Easy Website Visitor Statitics</title>
		<link>http://blog.kython.org/?p=8</link>
		<comments>http://blog.kython.org/?p=8#comments</comments>
		<pubDate>Sun, 07 Sep 2008 21:46:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Google Analytics]]></category>

		<guid isPermaLink="false">http://blog.kython.org/?p=8</guid>
		<description><![CDATA[ 
I was asked by a client to put a page hits counter on their site.  I personally hate those stupid counters and think they take away from the professional feel of the site and they just look tacky.  I was planning on creating a python list and appending all the unique ip addresses that visited [...]]]></description>
			<content:encoded><![CDATA[<p> <a href="http://www.google.com/analytics" title="503530844_bd2565de8c.jpg"><img src="http://blog.kython.org/wp-content/uploads/2008/09/503530844_bd2565de8c.thumbnail.jpg" alt="503530844_bd2565de8c.jpg" wdith="200%" /></a></p>
<p>I was asked by a client to put a page hits counter on their site.  I personally hate those stupid counters and think they take away from the professional feel of the site and they just look tacky.  I was planning on creating a python list and appending all the unique ip addresses that visited the site.  I would then display the length of the list in the admin management portion of the site for the client to see.  To be quite honest I don't remeber what I was looking for but I stumbled across Google analytics.</p>
<p>Google Analytics is a free service offered by Google (Who else) that allows website administrators to track multiple aspects of the traffic that is coming to their site.  Google Analytics simply requires signing up for the service and then adding a small snippet of code to the pages you want tracked.  Once the pages have been edited with the snippet about 24 hours is required before the results will show.  When the results start showing the user can see the number of unique visits, page views, time spent on site, geographic location(Country/City/State) of the visitor, browser the visitor the user is using, and the source of the traffic(Search Engine\Direct\Refferal).  The fun does not stop here.  Google Analytics has the email capabilities to send a nicely formatted report as a pdf. xml, csv, or tsv.  The report can be sent at a predefined interval to predefined list of people.  Google Analytics has several other features that I have left out so instead of reading about it, go try it. <a href="https://www.google.com/analytics">Google Analytics </a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kython.org/?feed=rss2&amp;p=8</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Chrome</title>
		<link>http://blog.kython.org/?p=6</link>
		<comments>http://blog.kython.org/?p=6#comments</comments>
		<pubDate>Fri, 05 Sep 2008 01:59:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://blog.kython.org/?p=6</guid>
		<description><![CDATA[
Google is that much closer to taking over the world.  Google has released there own web browser.  Although it isn't available for linux yet it seems like it will be a nice web browser that combines lots of the features of other web browsers in to one ultimate browser.  Other key features inclued independent tabs [...]]]></description>
			<content:encoded><![CDATA[<p><img src="file:///tmp/moz-screenshot.jpg" alt="" /><a href="http://www.google.com/chrome/?hl=en"><img src="http://www.google.com/chrome/intl/en/images/logo_sm.jpg" alt="" /></a></p>
<p>Google is that much closer to taking over the world.  Google has released there own web browser.  Although it isn't available for linux yet it seems like it will be a nice web browser that combines lots of the features of other web browsers in to one ultimate browser.  Other key features inclued independent tabs so if one crashes the others remain usable.  The other feature I noticed was called incognito mode where it doesn't keep a history.</p>
<p><a href="http://www.google.com/chrome/?hl=en"><img src="http://www.google.com/chrome/intl/en/images/dlpage_lg.jpg" alt="" /></a></p>
<p>The day google produces there own linux based operating system will be the start of the fall of Microsoft.  The funny thing is it's not a monopoly because google gives everything away and is not making money off it.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kython.org/?feed=rss2&amp;p=6</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
