<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Zac Witte - Latest Comments</title><link xmlns="http://www.w3.org/2005/Atom" rel="http://api.friendfeed.com/2008/03#sup" href="http://disqus.com/sup/all.sup#forumcomments-ab324c22" type="application/json"/><link>http://zacwitte.disqus.com/</link><description></description><atom:link href="http://zacwitte.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 27 Apr 2012 12:51:44 -0000</lastBuildDate><item><title>Re: Resolving HTTP Redirects in Python</title><link>http://www.zacwitte.com/resolving-http-redirects-in-python#comment-511882958</link><description>&lt;p&gt;I agree, this is excellent code and thanks!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">TheChrisONeil</dc:creator><pubDate>Fri, 27 Apr 2012 12:51:44 -0000</pubDate></item><item><title>Re: Resolving HTTP Redirects in Python</title><link>http://www.zacwitte.com/resolving-http-redirects-in-python#comment-502594297</link><description>&lt;p&gt;Two years later, this code is still useful, thanks! :)&lt;br&gt;Just to err on the safe side, I'd wrap the &lt;br&gt;conn.requestcall inside a try/except, in case some URL is mangled.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zen</dc:creator><pubDate>Thu, 19 Apr 2012 14:22:20 -0000</pubDate></item><item><title>Re: Running cherrypy on multiple ports (example)</title><link>http://www.zacwitte.com/running-cherrypy-on-multiple-ports-example#comment-495427882</link><description>&lt;p&gt;Can I set a specific app config to a server? How would I do such a thing? &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Deecodameeko</dc:creator><pubDate>Thu, 12 Apr 2012 10:19:00 -0000</pubDate></item><item><title>Re: How-to Set Up Ubuntu w/ MongoDB Replica Sets on Amazon EC2</title><link>http://www.zacwitte.com/how-to-set-up-ubuntu-w-mongodb-replica-sets-on-amazon-ec2#comment-466272053</link><description>&lt;p&gt;Hey Zed, first make sure that the bigger disk you mounted in /db is correctly mounted. An easy way to do that is by running the command "df -h" which will give you the list of all devices mounted in your filesystem, the size of them, and what percent is used. Second, make sure that you changed the location of your database in /etc/mongodb.conf so that it uses /db instead of the default location. If the mongo database is, in fact, using the larger volume mounted at /db, then there might be something else filling up your root directory. You can play around with the command "du -sh /" in various directories to see how much stuff is in there.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zac Witte</dc:creator><pubDate>Thu, 15 Mar 2012 15:51:36 -0000</pubDate></item><item><title>Re: How-to Set Up Ubuntu w/ MongoDB Replica Sets on Amazon EC2</title><link>http://www.zacwitte.com/how-to-set-up-ubuntu-w-mongodb-replica-sets-on-amazon-ec2#comment-466090802</link><description>&lt;p&gt;Zac - I tried implementing this on an AWS EC2 and followed your instructions closely (changing the name of the disk, of course, as it would apply to my ami). &lt;br&gt;The problem I had was that the root directory is mounted on a relatively small 8.5G disk. I mounted the larger disk (about 450G) onto /db, per your instructions and started filling up that Mongo DB nicely for a while... until the root directory got "full" (and now I can't do anything on the server except watch the Mongo DB get bigger).&lt;br&gt;What's happening, in your opinion, is it that the root (/) is mounted onto a smaller disk than the /db directory? Or is it that I should configure Mongo differently as to have it not overwhelm the smaller disk somehow? Your insight is greatly appreciated... &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zed</dc:creator><pubDate>Thu, 15 Mar 2012 12:15:57 -0000</pubDate></item><item><title>Re: Getting Wikipedia Summary from the Page ID</title><link>http://www.zacwitte.com/getting-wikipedia-summary-from-the-page-id#comment-443746855</link><description>&lt;p&gt;yep - fixed it. Thanks!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zac Witte</dc:creator><pubDate>Sun, 19 Feb 2012 21:16:55 -0000</pubDate></item><item><title>Re: Resolving HTTP Redirects in Python</title><link>http://www.zacwitte.com/resolving-http-redirects-in-python#comment-423479155</link><description>&lt;p&gt;just what I needed. However for Python 2.4 needed to refer to the urlparse components as [0], [1], etc&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ken</dc:creator><pubDate>Sat, 28 Jan 2012 23:06:57 -0000</pubDate></item><item><title>Re: Resolving HTTP Redirects in Python</title><link>http://www.zacwitte.com/resolving-http-redirects-in-python#comment-380514977</link><description>&lt;p&gt;Does the trick, thx.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">etrain</dc:creator><pubDate>Tue, 06 Dec 2011 14:41:40 -0000</pubDate></item><item><title>Re: Running cherrypy on multiple ports (example)</title><link>http://www.zacwitte.com/running-cherrypy-on-multiple-ports-example#comment-370999452</link><description>&lt;p&gt;Thank you!!!&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rodrigoteles</dc:creator><pubDate>Wed, 23 Nov 2011 14:40:28 -0000</pubDate></item><item><title>Re: Running cherrypy on multiple ports (example)</title><link>http://www.zacwitte.com/running-cherrypy-on-multiple-ports-example#comment-357914842</link><description>&lt;p&gt;site_config is optional in this example. It just defines some static directories. For more info see &lt;a href="http://tools.cherrypy.org/wiki/MixingStaticAndDynamicContent" rel="nofollow"&gt;http://tools.cherrypy.org/wiki...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zac Witte</dc:creator><pubDate>Mon, 07 Nov 2011 16:57:40 -0000</pubDate></item><item><title>Re: Running cherrypy on multiple ports (example)</title><link>http://www.zacwitte.com/running-cherrypy-on-multiple-ports-example#comment-355171725</link><description>&lt;p&gt;what does site_config do?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sdfsdf</dc:creator><pubDate>Thu, 03 Nov 2011 18:01:40 -0000</pubDate></item><item><title>Re: Getting Wikipedia Summary from the Page ID</title><link>http://www.zacwitte.com/getting-wikipedia-summary-from-the-page-id#comment-353355543</link><description>&lt;p&gt;Should it be "&amp;lt;div&amp;gt;"+data.parse.text['*']+"&amp;lt;/div&amp;gt;" ?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rizky Syaiful</dc:creator><pubDate>Tue, 01 Nov 2011 23:42:04 -0000</pubDate></item><item><title>Re: Resolving HTTP Redirects in Python</title><link>http://www.zacwitte.com/resolving-http-redirects-in-python#comment-341255978</link><description>&lt;p&gt;that's work!!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Aaa</dc:creator><pubDate>Sat, 22 Oct 2011 03:00:25 -0000</pubDate></item><item><title>Re: How-to Set Up Ubuntu w/ MongoDB Replica Sets on Amazon EC2</title><link>http://www.zacwitte.com/how-to-set-up-ubuntu-w-mongodb-replica-sets-on-amazon-ec2#comment-308950083</link><description>&lt;p&gt;This is the elastic IP, what you'll be putting in your replica set config. I'll edit the text to clarify. Thanks for the comment.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zac Witte</dc:creator><pubDate>Tue, 13 Sep 2011 19:02:06 -0000</pubDate></item><item><title>Re: How-to Set Up Ubuntu w/ MongoDB Replica Sets on Amazon EC2</title><link>http://www.zacwitte.com/how-to-set-up-ubuntu-w-mongodb-replica-sets-on-amazon-ec2#comment-308913846</link><description>&lt;p&gt;(where xxx.xxx.xxx.xxx is this machine’s IP address)?&lt;br&gt;Is this the Private IP Address or a Elastic Ip Address&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Donald Kainama</dc:creator><pubDate>Tue, 13 Sep 2011 18:04:23 -0000</pubDate></item><item><title>Re: Getting Wikipedia Summary from the Page ID</title><link>http://www.zacwitte.com/getting-wikipedia-summary-from-the-page-id#comment-304316174</link><description>&lt;p&gt;Ha.  This is exactly what I needed.  Thanks my dude.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jonathan Soeder</dc:creator><pubDate>Wed, 07 Sep 2011 13:06:53 -0000</pubDate></item><item><title>Re: Democracy 2.0 with Micro-voting</title><link>http://www.zacwitte.com/democracy20-with-micro-voting#comment-293612071</link><description>&lt;p&gt;exploring possibilities for south africa&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shantha Balakrishna</dc:creator><pubDate>Tue, 23 Aug 2011 07:55:19 -0000</pubDate></item><item><title>Re: How-to Set Up Ubuntu w/ MongoDB Replica Sets on Amazon EC2</title><link>http://www.zacwitte.com/how-to-set-up-ubuntu-w-mongodb-replica-sets-on-amazon-ec2#comment-289286247</link><description>&lt;p&gt;Excellent article.  I didn't need to set up a replica set at this point yet, but this was perfect getting getting and will be a big help later on.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ciferkey</dc:creator><pubDate>Wed, 17 Aug 2011 11:44:19 -0000</pubDate></item><item><title>Re: Getting Wikipedia Summary from the Page ID</title><link>http://www.zacwitte.com/getting-wikipedia-summary-from-the-page-id#comment-224401170</link><description>&lt;p&gt;Thanks a lot! &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tda</dc:creator><pubDate>Sun, 12 Jun 2011 14:24:29 -0000</pubDate></item><item><title>Re: Visualizing Wikipedia As One Large Node Graph</title><link>http://www.zacwitte.com/visualizing-wikipedia#comment-221611842</link><description>&lt;p&gt;Wikiwiz looks very interesting, but like you say it gets incomprehensible. I've been thinking about the limitations of restricting information relationships to 3 dimensions and can't help but think of wormholes with how certain topics can be closely connected in some ways while being far away when graphed out in 3 dimensional space. I have limited technical knowledge about computer networks, but this area still fascinates me...I feel like Wikipedia could be an interesting model for neural connectivity - like how a sensory input can trigger several memories in different directions, of which many are seemingly unrelated. It's sort of a crowdsourced collective word-association model and might be an interesting approximation for how we access and associate information. Anway...it was harder than I expected to find information/discussions about this so this post was much appreciated!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kraken</dc:creator><pubDate>Wed, 08 Jun 2011 20:08:28 -0000</pubDate></item><item><title>Re: Upgrading to MySQL 5.1 and PHP 5.3.0 on Centos with Plesk</title><link>http://www.zacwitte.com/upgrading-mysql-and-php-on-centos-plesk#comment-158908792</link><description>&lt;p&gt;Thanks for the heads-up. It looks like the links were just cut off. I've updated them so it should be more clear now.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zac Witte</dc:creator><pubDate>Wed, 02 Mar 2011 04:56:46 -0000</pubDate></item><item><title>Re: Upgrading to MySQL 5.1 and PHP 5.3.0 on Centos with Plesk</title><link>http://www.zacwitte.com/upgrading-mysql-and-php-on-centos-plesk#comment-155760699</link><description>&lt;p&gt;Hello, I just wanted you, and any other readers, to beware that this method does not seem to work with dv 3.5. The link to &lt;a href="http://download.fedora.redhat.com/pub/e" rel="nofollow"&gt;http://download.fedora.redhat....&lt;/a&gt; … noarch.rpm is a 404. Though if you manage to get the same rpm file, when used, it broke my server. Just worth mentioning because MT is recommending this article to its dv 3.5+ customers.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tom</dc:creator><pubDate>Fri, 25 Feb 2011 01:00:26 -0000</pubDate></item><item><title>Re: Top 10 Tracks of 2010</title><link>http://www.zacwitte.com/top-10-tracks-of-2010#comment-139897648</link><description>&lt;p&gt;Sweet collection, Zac. I'm really enjoying this.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paul</dc:creator><pubDate>Thu, 03 Feb 2011 17:37:55 -0000</pubDate></item><item><title>Re: A False Sense of Security with Test-driven Development</title><link>http://www.zacwitte.com/a-false-sense-of-security-with-test-driven-development#comment-135381291</link><description>&lt;p&gt;I think that writing tests first is as much about API design/documentation as it is about a sense of security that your code is working properly. Essentially, if you do it right, you can start programming with your interface before you have it. This gives you a gut feel as to whether what you're building will actually help you easily accomplish your goals. If it's awkward to write a test for a particular design, it's probably going to be difficult to be sure it's working, whether you have tests or not. Driving the code through tests can help you identify cases where you might want to rethink your API so that it's more loosely coupled, easier to debug etc.&lt;/p&gt;

&lt;p&gt;I agree with you that, as you start writing tests at higher levels of abstraction, it's much more difficult to anticipate every possible combination of inputs because so many more components come into play. I think tests serve a different purpose at this higher level. Here, having tests that run through your core use cases is very valuable. Like you said, this detects regressions and gives you some degree of confidence that the product works for the cases you care about. It doesn't guarantee that you've properly composed all of the components to handle every case, and it doesn't guarantee that it will work in production, but it gives you some more confidence, and like Anthony said, doesn't excuse a developer from thinking!&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jim Griswold</dc:creator><pubDate>Thu, 27 Jan 2011 11:31:09 -0000</pubDate></item><item><title>Re: A False Sense of Security with Test-driven Development</title><link>http://www.zacwitte.com/a-false-sense-of-security-with-test-driven-development#comment-135244151</link><description>&lt;p&gt;I find it best to have both tests that define the behavior I expect before I've written the implementation as well as regression tests to catch edge cases that are missed on earlier passes. The problem with only having regression tests is that refactoring becomes nearly impossible to get right. Unfortunately a lot of developers leave out the "refactor" part of red-green-refactor and thus don't see the true value of writing tests first.&lt;/p&gt;

&lt;p&gt;Also, having a comprehensive set of tests doesn't excuse developers from thinking.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anthony Eden</dc:creator><pubDate>Thu, 27 Jan 2011 05:57:42 -0000</pubDate></item></channel></rss>
