<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">

<channel>
	<title>The Tlog - a technology blog &#187; PHP</title>
	<atom:link href="http://www.thetlog.net/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thetlog.net</link>
	<description></description>
	<lastBuildDate>Fri, 27 Nov 2009 15:18:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/2.5/pt/</creativeCommons:license>		<item>
		<title>I&#8217;ve never had to scale</title>
		<link>http://www.thetlog.net/2007/09/12/ive-never-had-to-scale/</link>
		<comments>http://www.thetlog.net/2007/09/12/ive-never-had-to-scale/#comments</comments>
		<pubDate>Wed, 12 Sep 2007 13:49:05 +0000</pubDate>
		<dc:creator>Pedro Timóteo</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.thetlog.net/2007/09/12/ive-never-had-to-scale/</guid>
		<description><![CDATA[No, I&#8217;m not talking about my sex life, or anything like that. It&#8217;s just this: I&#8217;ve never had a site in the past that had too much success for its own good, and that, therefore, had scalability problems. Each one of my sites has either used some popular, usually well optimized software (say, WordPress or [...]


Related posts:<ol><li><a href='http://www.thetlog.net/2005/11/09/open-source-companies-and-stupidity/' rel='bookmark' title='Permanent Link: Open source, companies and stupidity'>Open source, companies and stupidity</a></li>
<li><a href='http://www.thetlog.net/2007/05/23/adventures-with-my-technorati-ranks-toy/' rel='bookmark' title='Permanent Link: Adventures with my Technorati ranks &quot;toy&quot;'>Adventures with my Technorati ranks &quot;toy&quot;</a></li>
<li><a href='http://www.thetlog.net/2007/05/21/my-technorati-ranks-toy/' rel='bookmark' title='Permanent Link: My Technorati ranks &quot;toy&quot;'>My Technorati ranks &quot;toy&quot;</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>No, I&#8217;m not talking about my sex life, or anything like that. <img src='http://www.thetlog.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  It&#8217;s just this: I&#8217;ve never had a site in the past that had too much success for its own good, and that, therefore, had <em>scalability</em> problems. Each one of my sites has either used some popular, usually well optimized software (say, WordPress or MyBB), or was mostly a bunch of static HTML pages. Neither of which, I believe, have &#8220;scalability &#8220;problems; the Internet connection or the web server itself <small>(due to the number of simultaneous requests, not really related to what the app does)</small> will complain long before &#8220;scalability&#8221; enters into it. And, sorry to say, except for a bunch of occasional Digg / Shoutwire / Stumbleupon / Reddit effects, none of my sites was ever truly &#8220;stressed&#8221;.</p>
<p>That, I hope, is about to change.</p>
<p>For my next project (which is about 75% complete) is a site that <b><i>may</i></b> well have scalability problems. Which is good, because I&#8217;ll learn about them, and how to cope with them.</p>
<p>What&#8217;s that project about? It&#8217;s a surprise. <img src='http://www.thetlog.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Suffice to say that, as far as I know, there&#8217;s only another one out there, and, weeks ago, it had to shut down its &#8220;free&#8221; version because it couldn&#8217;t deal with its success. On its first days it was quick, then soon it changed into <i>&#8220;don&#8217;t wait; we&#8217;ll email you when the report is ready&#8221;</i> mode, and finally the free version went under.</p>
<p>Now, I&#8217;m not a full-blown company, I&#8217;m <i>&#8220;just zis guy, you know&#8221;</i>, and I don&#8217;t believe I&#8217;ll have as much success as that one has / had. But&#8230; there <i><b>is</b></i> a demand; what happened to it is proof of that. And it&#8217;s quite possible that my code won&#8217;t scale.</p>
<p>I kind of hope it doesn&#8217;t. <img src='http://www.thetlog.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<hr/>Copyright &copy; 2010 <strong><a href="http://www.thetlog.net">The Tlog - a technology blog</a></strong> 

<p>Related posts:<ol><li><a href='http://www.thetlog.net/2005/11/09/open-source-companies-and-stupidity/' rel='bookmark' title='Permanent Link: Open source, companies and stupidity'>Open source, companies and stupidity</a></li>
<li><a href='http://www.thetlog.net/2007/05/23/adventures-with-my-technorati-ranks-toy/' rel='bookmark' title='Permanent Link: Adventures with my Technorati ranks &quot;toy&quot;'>Adventures with my Technorati ranks &quot;toy&quot;</a></li>
<li><a href='http://www.thetlog.net/2007/05/21/my-technorati-ranks-toy/' rel='bookmark' title='Permanent Link: My Technorati ranks &quot;toy&quot;'>My Technorati ranks &quot;toy&quot;</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.thetlog.net/2007/09/12/ive-never-had-to-scale/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Adventures with my Technorati ranks &quot;toy&quot;</title>
		<link>http://www.thetlog.net/2007/05/23/adventures-with-my-technorati-ranks-toy/</link>
		<comments>http://www.thetlog.net/2007/05/23/adventures-with-my-technorati-ranks-toy/#comments</comments>
		<pubDate>Wed, 23 May 2007 23:18:10 +0000</pubDate>
		<dc:creator>Pedro Timóteo</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[technorati-ranks]]></category>

		<guid isPermaLink="false">http://www.thetlog.net/2007/05/23/adventures-with-my-technorati-ranks-toy/</guid>
		<description><![CDATA[As I mentioned here before, a couple of days ago I coded a program to take an OPML file and generate a table in which the sites listed on that file appear ordered by Technorati ranks. It also shows the number of incoming links (again, from Technorati), and each site&#8217;s PageRank. (By the way: no, [...]


Related posts:<ol><li><a href='http://www.thetlog.net/2007/05/21/my-technorati-ranks-toy/' rel='bookmark' title='Permanent Link: My Technorati ranks &quot;toy&quot;'>My Technorati ranks &quot;toy&quot;</a></li>
<li><a href='http://www.thetlog.net/2007/05/25/more-additions-to-the-pa-top-technorati-ranks-table/' rel='bookmark' title='Permanent Link: More additions to the PA top Technorati ranks table'>More additions to the PA top Technorati ranks table</a></li>
<li><a href='http://www.thetlog.net/2006/03/29/html-css-and-tables/' rel='bookmark' title='Permanent Link: HTML, CSS and tables'>HTML, CSS and tables</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>As I mentioned here <a href="http://www.thetlog.net/2007/05/21/my-technorati-ranks-toy/">before</a>, a couple of days ago I coded a program to take an OPML file and generate a <a href="http://planetatheism.com/technorati/tr-show.php">table</a> in which the sites listed on that file appear ordered by <strong><a href="http://www.technorati.com/">Technorati</a> ranks</strong>. It also shows the number of <strong>incoming links</strong> (again, from Technorati), and each site&#8217;s <strong>PageRank</strong>.</p>
<p><small>(By the way: no, this is not ready for release yet. But it will be. Soon.)</small></p>
<p>Initially, the data collecting part of my program started by clearing a table in a MySQL database, which would then be filled with the values it would get from Technorati and Google. However, this had two problems:</p>
<ol>
<li>Technorati allows only a <em>limited number</em> of accesses per day. I discovered it when I was making several tests, and, after about half a dozen or so, it stopped giving me data. The problem, then, was that it had already cleared the table&#8230; so I ended up with an empty one.</li>
<li>From time to time, Technorati gives me &#8220;wrong&#8221; ranks / links for a blog &#8211; values much <em>lower</em> (but not absurd / &#8220;bogus&#8221;, just wrong) than what they should be. It&#8217;s weird, and not reproducible, and usually, by asking TR again, the correct value is then returned.</li>
</ol>
<p>To solve the first problem, obviously, some form of keeping the data from the previous run while getting the new values was in order, so that, if Technorati told me to get stuffed, I would still have the data from the day before.</p>
<p>The second problem was a little more complicated, though, in a way, the solution to the first helped me crack it.</p>
<p>My method was this: when running the script, start by copying the original table to another (let&#8217;s call it <code>temp1</code>) and clearing the original table. Then get the new data to yet another table (<code>temp2</code>). Afterwards, regenerate the original table with data from <code>temp1</code> and <code>temp2</code>, the following way:</p>
<ul>
<li>if an entry (identified by the site&#8217;s URL) exists in only <em>one</em> of the tables, use it.</li>
<li>if an entry exists in <em>both</em>, use the common values (URL, site&#8217;s name), and for the 3 numeric values, choose the <b>best</b> value (from the two tables) for each. &#8220;Best&#8221; means the highest # of incoming links, the highest PageRank, and the lowest Technorati rank.</li>
</ul>
<p>This way, if once in a while Technorati gives it a much worse value than it should (I&#8217;ve never seen it rate a blog <i>better</i> than the reality), it still has a more correct value to use instead.</p>
<p>Sounds fine, doesn&#8217;t it? But there&#8217;s a problem with this method&#8230; which I solved later, but which I&#8217;ll discuss the next post. Until then&#8230; any guesses as to what it was? <img src='http://www.thetlog.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<hr/>Copyright &copy; 2010 <strong><a href="http://www.thetlog.net">The Tlog - a technology blog</a></strong> 

<p>Related posts:<ol><li><a href='http://www.thetlog.net/2007/05/21/my-technorati-ranks-toy/' rel='bookmark' title='Permanent Link: My Technorati ranks &quot;toy&quot;'>My Technorati ranks &quot;toy&quot;</a></li>
<li><a href='http://www.thetlog.net/2007/05/25/more-additions-to-the-pa-top-technorati-ranks-table/' rel='bookmark' title='Permanent Link: More additions to the PA top Technorati ranks table'>More additions to the PA top Technorati ranks table</a></li>
<li><a href='http://www.thetlog.net/2006/03/29/html-css-and-tables/' rel='bookmark' title='Permanent Link: HTML, CSS and tables'>HTML, CSS and tables</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.thetlog.net/2007/05/23/adventures-with-my-technorati-ranks-toy/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>It&#8217;s official: I&#8217;m on the job market again. :)</title>
		<link>http://www.thetlog.net/2007/05/22/its-official-im-on-the-job-market-again/</link>
		<comments>http://www.thetlog.net/2007/05/22/its-official-im-on-the-job-market-again/#comments</comments>
		<pubDate>Tue, 22 May 2007 17:09:20 +0000</pubDate>
		<dc:creator>Pedro Timóteo</dc:creator>
				<category><![CDATA[Jobs]]></category>
		<category><![CDATA[Miscellaneous stuff]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Unix / Linux / *BSD]]></category>
		<category><![CDATA[lisboa]]></category>
		<category><![CDATA[portugal]]></category>
		<category><![CDATA[programmer]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.thetlog.net/2007/05/22/its-official-im-on-the-job-market-again/</guid>
		<description><![CDATA[As of now, I&#8217;m looking for a job in the area of Lisbon, Portugal. Sorry to any non-Portuguese readers / potential employers, but I am not ready to move abroad at this time of my life. My ideal job, at the moment, would be a senior sysadmin / junior PHP programmer &#8220;hybrid&#8221;, but I&#8217;m open [...]


Related posts:<ol><li><a href='http://www.thetlog.net/2007/04/25/on-job-searching-stating-in-advance-what-you-dont-want/' rel='bookmark' title='Permanent Link: On job searching: stating in advance what you don&#8217;t want?'>On job searching: stating in advance what you don&#8217;t want?</a></li>
<li><a href='http://www.thetlog.net/2007/04/26/what-i-dont-want-in-a-job/' rel='bookmark' title='Permanent Link: What I don&#8217;t want in a job'>What I don&#8217;t want in a job</a></li>
<li><a href='http://www.thetlog.net/2005/09/13/a-job-trade-favor-or-duty/' rel='bookmark' title='Permanent Link: A job: trade, favor or duty?'>A job: trade, favor or duty?</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>As of now, I&#8217;m looking for a job in the area of Lisbon, Portugal. Sorry to any non-Portuguese readers / potential employers, but I am not ready to move abroad at this time of my life.</p>
<p>My ideal job, at the moment, would be a senior sysadmin / junior PHP programmer &#8220;hybrid&#8221;, but I&#8217;m open to alternatives.</p>
<p>As I&#8217;ve said here <a href="http://www.thetlog.net/2007/04/26/what-i-dont-want-in-a-job/">before</a>: no outsourcing, no MS stuff, no helpdesk. I don&#8217;t see this as &#8220;arrogance&#8221; on my part, but simply as not wanting to waste both sides&#8217; time.</p>
<p>For more details (in Portuguese), and the full CV, please visit <a href="http://www.pedrotimoteo.com/cv/">www.pedrotimoteo.com/cv</a> . Thank you. <img src='http://www.thetlog.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<hr/>Copyright &copy; 2010 <strong><a href="http://www.thetlog.net">The Tlog - a technology blog</a></strong> 

<p>Related posts:<ol><li><a href='http://www.thetlog.net/2007/04/25/on-job-searching-stating-in-advance-what-you-dont-want/' rel='bookmark' title='Permanent Link: On job searching: stating in advance what you don&#8217;t want?'>On job searching: stating in advance what you don&#8217;t want?</a></li>
<li><a href='http://www.thetlog.net/2007/04/26/what-i-dont-want-in-a-job/' rel='bookmark' title='Permanent Link: What I don&#8217;t want in a job'>What I don&#8217;t want in a job</a></li>
<li><a href='http://www.thetlog.net/2005/09/13/a-job-trade-favor-or-duty/' rel='bookmark' title='Permanent Link: A job: trade, favor or duty?'>A job: trade, favor or duty?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.thetlog.net/2007/05/22/its-official-im-on-the-job-market-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Technorati ranks &quot;toy&quot;</title>
		<link>http://www.thetlog.net/2007/05/21/my-technorati-ranks-toy/</link>
		<comments>http://www.thetlog.net/2007/05/21/my-technorati-ranks-toy/#comments</comments>
		<pubDate>Mon, 21 May 2007 11:26:27 +0000</pubDate>
		<dc:creator>Pedro Timóteo</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Unix / Linux / *BSD software]]></category>
		<category><![CDATA[pagerank]]></category>
		<category><![CDATA[planet-atheism]]></category>
		<category><![CDATA[technorati-ranks]]></category>

		<guid isPermaLink="false">http://www.thetlog.net/2007/05/21/my-technorati-ranks-toy/</guid>
		<description><![CDATA[Inspired by Carlos Andrade&#8216;s own tool, I&#8217;ve just coded a couple of scripts to take an OPML file and show an ordered table of Technorati ranks. Naturally, I used it for my own Planet site, Planet Atheism. Here it is: Technorati Ranks for Planet Atheism members The implementation was ridiculously simple (and there&#8217;s a lot [...]


Related posts:<ol><li><a href='http://www.thetlog.net/2007/05/25/more-additions-to-the-pa-top-technorati-ranks-table/' rel='bookmark' title='Permanent Link: More additions to the PA top Technorati ranks table'>More additions to the PA top Technorati ranks table</a></li>
<li><a href='http://www.thetlog.net/2007/05/23/adventures-with-my-technorati-ranks-toy/' rel='bookmark' title='Permanent Link: Adventures with my Technorati ranks &quot;toy&quot;'>Adventures with my Technorati ranks &quot;toy&quot;</a></li>
<li><a href='http://www.thetlog.net/2005/10/09/testing-technorati-tags/' rel='bookmark' title='Permanent Link: Testing Technorati tags'>Testing Technorati tags</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Inspired by <a href="http://blog.karlus.net/">Carlos Andrade</a>&#8216;s own <a href="http://dev.karlus.net/asteriscoRanks/">tool</a>, I&#8217;ve just coded a couple of scripts to take an OPML file and show an ordered table of <a href="http://www.technorati.com/">Technorati</a> ranks. Naturally, I used it for my own Planet site, <a href="http://planetatheism.com/">Planet Atheism</a>.</p>
<p>Here it is: <a href="http://planetatheism.com/technorati/tr-show.php">Technorati Ranks for Planet Atheism members</a></p>
<p>The implementation was ridiculously simple <small>(and there&#8217;s a lot of room for improvement)</small>, but, other than Carlos&#8217; tool, I didn&#8217;t find any scripts or utilities to do this. And, yes, I searched. Therefore I may release the code soon, as the 2nd project on <a href="http://software.dehumanizer.com/">software.dehumanizer.com</a>, since this can be a fun &#8220;toy&#8221;. <img src='http://www.thetlog.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>[<b>EDIT</b>: added each blog's Google <a href="http://en.wikipedia.org/wiki/PageRank">PageRank</a> to the table. Why not? <img src='http://www.thetlog.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ]</p>
<hr/>Copyright &copy; 2010 <strong><a href="http://www.thetlog.net">The Tlog - a technology blog</a></strong> 

<p>Related posts:<ol><li><a href='http://www.thetlog.net/2007/05/25/more-additions-to-the-pa-top-technorati-ranks-table/' rel='bookmark' title='Permanent Link: More additions to the PA top Technorati ranks table'>More additions to the PA top Technorati ranks table</a></li>
<li><a href='http://www.thetlog.net/2007/05/23/adventures-with-my-technorati-ranks-toy/' rel='bookmark' title='Permanent Link: Adventures with my Technorati ranks &quot;toy&quot;'>Adventures with my Technorati ranks &quot;toy&quot;</a></li>
<li><a href='http://www.thetlog.net/2005/10/09/testing-technorati-tags/' rel='bookmark' title='Permanent Link: Testing Technorati tags'>Testing Technorati tags</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.thetlog.net/2007/05/21/my-technorati-ranks-toy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
