<?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>webr3.org &#187; gotcha</title>
	<atom:link href="http://webr3.org/blog/category/gotcha/feed/" rel="self" type="application/rss+xml" />
	<link>http://webr3.org/blog</link>
	<description>brain&#039;s on fire!</description>
	<lastBuildDate>Tue, 19 Jul 2011 15:38:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Just what do you like?</title>
		<link>http://webr3.org/blog/gotcha/just-what-do-you-like/</link>
		<comments>http://webr3.org/blog/gotcha/just-what-do-you-like/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 22:53:59 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
				<category><![CDATA[gotcha]]></category>
		<category><![CDATA[5 Star]]></category>
		<category><![CDATA[Entertainment/Culture]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Facebook Like]]></category>
		<category><![CDATA[semantic web]]></category>
		<category><![CDATA[Technology/Internet]]></category>

		<guid isPermaLink="false">http://webr3.org/blog/?p=371</guid>
		<description><![CDATA[My better half Rachel outlined a problem to me yesterday, which I hadn't noticed before and could be something of an interesting challenge; the case of the ambiguous 'like'.
Here's the setup, a blog post which is a review of a new music album, the post has the familiar facebook 'like' button on there.
Here's the problem, [...]]]></description>
			<content:encoded><![CDATA[<p>My better half Rachel outlined a problem to me yesterday, which I hadn't noticed before and could be something of an interesting challenge; the case of the ambiguous 'like'.</p>
<p>Here's the setup, a blog post which is a review of a new music album, the post has the familiar facebook 'like' button on there.</p>
<p>Here's the problem, my partner finds that people will only click the 'like' button if they 'like' the album, it's not about the post, the site, the quality of the writing in the review. All points to something wrong in the kudos chain.</p>
<p>It's not just like though, let's introduce a simple '5 Star' rating system on the posts, just what are the users rating, the post, or the album?</p>
<p>Now, let's change the example somewhat, scenario: a well write article about a horrific genocide - hundreds of people saying 'I Like this', as humans we can quickly infer (and somewhat hope) that people are saying they like the article, and not the genocide, but what about a machine.</p>
<p>For your consideration, each web page typically includes multiple distinct things, so we need a way to be able provide users with a way to do 'stuff' which each thing, I like this review, I like this author, this topic is worth noting, I like the primary topic, I've read this and so forth - any semantic web readers will quickly say "ahh problem solved! give everything a URI" (I hope) - but the problem isn't solved, it brings up (yet again) the issue that we need a whole new generation of UX/UI improvements, one 'like' button will not do, when you've got 10-100 things on a page, and different actions for each, this is something that's clearly going to have to be abstracted out from the page and handled in a different way - just how I don't know..</p>
<p>Will leave it there, you can see the challenge..</p>
]]></content:encoded>
			<wfw:commentRss>http://webr3.org/blog/gotcha/just-what-do-you-like/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to fix a noisy computer or graphics card fan</title>
		<link>http://webr3.org/blog/general/how-to-fix-a-noisy-computer-or-graphics-card-fan/</link>
		<comments>http://webr3.org/blog/general/how-to-fix-a-noisy-computer-or-graphics-card-fan/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 12:29:50 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[gotcha]]></category>
		<category><![CDATA[Asus]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Electronic engineering]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[GeForce]]></category>
		<category><![CDATA[Nvidia]]></category>
		<category><![CDATA[olive oil]]></category>
		<category><![CDATA[Video cards]]></category>

		<guid isPermaLink="false">http://webr3.org/blog/?p=177</guid>
		<description><![CDATA[Background:
A few months ago I upgraded my pc, part of which included adding an Asus GeForce 9600 GT; shortly after installing, the Fan on the graphics card started to make a most irritating grinding noise. I found that if I knocked and tilted my case a few times I could get it to stop grinding [...]]]></description>
			<content:encoded><![CDATA[<h2>Background:</h2>
<p>A few months ago I upgraded my pc, part of which included adding an Asus GeForce 9600 GT; shortly after installing, the Fan on the graphics card started to make a most irritating grinding noise. I found that if I knocked and tilted my case a few times I could get it to stop grinding &amp; quieten down (the hit-it fix). Over time this grinding has become more frequent, to the point that it's almost non-stop; and so that it vibrates the case and thus you can hear it all through the house. It's been driving me insane because everytime I get it to stop, the *slightest* of movements starts it going again, which includes me moving, somebody walking past, infact anything. This weekend it's been especially bad, in-fact I've felt like throwing the f'ing thing out the window; finally this morning I had enough and thought I have to get a new fan for this thing.</p>
<p>Searching the internet found me no replacement fans, which meant I was looking at sending the card back to get it fixed (and thus missing out on work), buying a full new cooling set, or buying a new card - the last two options would have led to pc-murder as seriously this noise goes right through you. Thus after running out of options  I tried to fix it.</p>
<h2>How to fix a noisy computer fan:</h2>
<ol>
<li>Remove the fan from the computer (in my case this meant removing the graphics card and unscrewing the plastic cover and fan).</li>
<li>Once you have the fan removed, remove the stickers from it.</li>
<li>On one side you'll notice a small recess with the end of a small metal pin on it (the bit that holds the fan together, and which the fan spins on)</li>
<li>Take a small, toy plastic soldier and chew off the arm (or rifle butt it if has one).</li>
<li>Take the cap off a bottle of Filippo Berio Extra Virgin Olive Oil and fill said cap approx half full with said olive oil.</li>
<li>Dip one end of the plastic arm / rifle in to the olive oil, then dab the smallest of drops on to the small metal pin in the recess of the fan (from step 3)</li>
<li>As you do step 6, gently pull the two parts of the fan about 0.5mm apart and turn the fan clockwise and ant-clockwise.</li>
<li>Repeat steps 6 &amp; 7 until you feel the oil has worked its way in and loosened it, "oiled the fan".</li>
<li>Be very careful not to swamp the thing with oil, it's an electronic part and you'll break it.</li>
<li>Reassemble what you took apart in step 1.</li>
</ol>
<p>I do believe the specific brand of olive oil, or even the fact it's olive oil isn't of significant importance, likewise the soldier arm / rifle could be anything small that's good for poking.</p>
<p>As an extra bonus, my graphics card is now running 20 degrees cooler when idle :)</p>
<h3>Short version:</h3>
<ol>
<li>Oil it</li>
</ol>
<h3>Disclaimer:</h3>
<p>This worked for me, I'm most pleased, if it doesn't work for you or you break something, don't blame me - but it might be worth a try.</p>
<p>Regards!</p>
<p><img class="alignnone size-full wp-image-178" title="fanfix" src="http://webr3.org/blog/wp-content/uploads/2010/02/fanfix.jpg" alt="fanfix" width="600" height="250" /></p>
]]></content:encoded>
			<wfw:commentRss>http://webr3.org/blog/general/how-to-fix-a-noisy-computer-or-graphics-card-fan/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>spl_object_hash is not unique</title>
		<link>http://webr3.org/blog/php/spl_object_hash-is-not-unique/</link>
		<comments>http://webr3.org/blog/php/spl_object_hash-is-not-unique/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 11:27:02 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[gotcha]]></category>
		<category><![CDATA[Cryptographic hash function]]></category>
		<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[Hash function]]></category>
		<category><![CDATA[Hashing]]></category>
		<category><![CDATA[Pointer]]></category>
		<category><![CDATA[Search algorithms]]></category>
		<category><![CDATA[spl_object_hash]]></category>

		<guid isPermaLink="false">http://webr3.org/blog/?p=128</guid>
		<description><![CDATA[Here is why you should avoid using spl_object_hash() in PHP
from the documentation: "This function returns a unique identifier for the object. This id can be used as a hash key for storing objects or for identifying an object."
spl_object_hash() actually returns an md5 hash of the internal pointer of an object.
PHP efficiently reuses internal pointers; meaning [...]]]></description>
			<content:encoded><![CDATA[<p>Here is why you should avoid using spl_object_hash() in PHP</p>
<p>from the documentation: "This function returns a unique identifier for the object. This id can be used as a hash key for storing objects or for identifying an object."</p>
<p>spl_object_hash() actually returns an md5 hash of the internal pointer of an object.</p>
<p>PHP efficiently reuses internal pointers; meaning the second you remove an object the pointer is reused.</p>
<p>thus:</p>
<pre class="brush: php; title: ;">
&lt;?php
$transaction_ids = array();
for( $i=0; $i&lt;10; $i++ ) {
 $transaction = (object)('transaction ' . $i);
 $hash = spl_object_hash( $transaction );
 $transaction_ids[] = $hash;
}
print_r( $transaction_ids );
?&gt;
</pre>
<p>will output:</p>
<pre>Array
(
[0] =&gt; 4b8051a089b9e8352a97af234d4478a7
[1] =&gt; 076b44c4ffe009b98c0ba3348459c57a
[2] =&gt; 4b8051a089b9e8352a97af234d4478a7
[3] =&gt; 076b44c4ffe009b98c0ba3348459c57a
[4] =&gt; 4b8051a089b9e8352a97af234d4478a7
[5] =&gt; 076b44c4ffe009b98c0ba3348459c57a
[6] =&gt; 4b8051a089b9e8352a97af234d4478a7
[7] =&gt; 076b44c4ffe009b98c0ba3348459c57a
[8] =&gt; 4b8051a089b9e8352a97af234d4478a7
[9] =&gt; 076b44c4ffe009b98c0ba3348459c57a
)
</pre>
<p>not even remotely unique, could lead to serious problems, and simply.. I'd forget using it if I was you.</p>
<p><img class="alignnone size-full wp-image-130" title="sucks" src="http://webr3.org/blog/wp-content/uploads/2009/08/sucks.jpg" alt="sucks" width="600" height="250" /></p>
]]></content:encoded>
			<wfw:commentRss>http://webr3.org/blog/php/spl_object_hash-is-not-unique/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>What to do when a continent wipes out your domains dns [seriously]</title>
		<link>http://webr3.org/blog/gotcha/what-to-do-when-a-continent-wipes-out-your-domains-dns-seriously/</link>
		<comments>http://webr3.org/blog/gotcha/what-to-do-when-a-continent-wipes-out-your-domains-dns-seriously/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 10:55:58 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
				<category><![CDATA[gotcha]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[Distributed denial of service attacks on root nameservers]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[dns tools]]></category>
		<category><![CDATA[Domain name system]]></category>
		<category><![CDATA[Europe]]></category>
		<category><![CDATA[Human Interest]]></category>
		<category><![CDATA[ISP]]></category>
		<category><![CDATA[Major]]></category>
		<category><![CDATA[Name server]]></category>
		<category><![CDATA[Root nameserver]]></category>
		<category><![CDATA[Technology/Internet]]></category>

		<guid isPermaLink="false">http://webr3.org/blog/?p=105</guid>
		<description><![CDATA[
This weekend "the internet" played it's biggest gotcha on me in 10 years ever; I'll keep it short and it's worth a read just so your a gotcha more aware.
The Problem: Every DNS server at every major ISP on a continent (Europe) decided to throw back a "SERVFAIL" response for one of my domains. Thus [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-106" title="bollocks" src="http://webr3.org/blog/wp-content/uploads/2009/07/bollocks.jpg" alt="bollocks" width="600" height="250" /></p>
<p>This weekend "the internet" played it's biggest gotcha on me <span style="text-decoration: line-through;">in 10 years</span> ever; I'll keep it short and it's worth a read just so your a gotcha more aware.</p>
<p><strong>The Problem:</strong> Every DNS server at every major ISP on a continent (Europe) decided to throw back a "SERVFAIL" response for one of my domains. Thus the domain was unknown all through europe!</p>
<p><strong>The Weirdness:</strong> All DNS for the domain was correct, and moreover with a third party (godaddy), all dns tools online are showing no problem, all your servers show the domain / dns is okay.</p>
<p><strong>The Bigger Problem:</strong> DNS is fine on the nameservers, and fine all around the world, but in one continent it's stuffed, the problem isn't at your domain register, with your isp, with your hosting company, on your server - in other words it is completely and totally outwith your control; Who do you phone? It's a case when the "bit in the middle" that thing we call the internet, breaks, there is no one person or company that can fix it.</p>
<p><strong>The Problem Doesn't fix itself:</strong> 36 hours on and the problem is still there, it's not getting better.</p>
<p><strong>The (only?) Fix: </strong>After trying everything possible, here's the only thing that fixes it - <em>change the nameservers</em>, this forces the dns cache's around the internet to update and within 24 hours the record for your domain is restored world wide. thank fk for that!</p>
<p><strong>Conclusion:</strong> This is honestly the strangest and most frustrating "bug" I've ever found in my life, nobody else can help you when a few thousand servers all decide your domain is no good; so a friendly heads up - you may never see this error ever, but if you do - you know what to do!</p>
]]></content:encoded>
			<wfw:commentRss>http://webr3.org/blog/gotcha/what-to-do-when-a-continent-wipes-out-your-domains-dns-seriously/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

