<?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>Dammit Jim! &#187; fix</title>
	<atom:link href="http://scott.sherrillmix.com/blog/tag/fix/feed/" rel="self" type="application/rss+xml" />
	<link>http://scott.sherrillmix.com/blog</link>
	<description>I'm a biologist not a...</description>
	<lastBuildDate>Tue, 12 Jan 2010 05:09:51 +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>WP_PingPreserver</title>
		<link>http://scott.sherrillmix.com/blog/blogger/wp_pingpreserver/</link>
		<comments>http://scott.sherrillmix.com/blog/blogger/wp_pingpreserver/#comments</comments>
		<pubDate>Wed, 08 Aug 2007 19:45:05 +0000</pubDate>
		<dc:creator>ScottS-M</dc:creator>
				<category><![CDATA[Blogger]]></category>
		<category><![CDATA[Programmer]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[comment]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[lose]]></category>
		<category><![CDATA[ping]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[preserve]]></category>
		<category><![CDATA[trackback]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://scott.sherrillmix.com/blog/programmer/web/wp_pingpreserver/</guid>
		<description><![CDATA[For a while, I&#8217;ve been a bit annoyed with WordPress losing pings (those automatic links on your blog when someone links to you) that should be coming to my posts. I noticed that when I or an external blog link to more than one of my posts only one ping would register in my comments. [...]]]></description>
			<content:encoded><![CDATA[<p>For a while, I&#8217;ve been a bit annoyed with WordPress losing pings (those automatic links on your blog when someone links to you) that should be coming to my posts. I noticed that when I or an external blog link to more than one of my posts only one ping would register in my comments. For example, if someone writes that:</p>
<blockquote><p>Scott has written WordPress plugins to <a href="http://scott.sherrillmix.com/blog/programmer/web/wp_codeshield/">make it easier to write about code</a>, <a href="http://scott.sherrillmix.com/blog/programmer/web/wp_monsterid/">generate monster avatars</a> and <a href="http://scott.sherrillmix.com/blog/programmer/web/wp_identicon/">generate unique geometric shapes for each commentor</a>.</p></blockquote> 
<p>I would want a ping to appear on each of those linked posts, both to thank the linking blog for writing about me and to provide useful information to the reader (and to increase my comment counts). Yet WordPress only puts a ping on the first linked page.</p>

<p>It took me a little while to figure out why WordPress kept losing my pings since I wasn&#8217;t even sure if it was a problem on the sending or receiving end but it turns out WordPress is filtering pings because it thinks the comments are coming too fast. I&#8217;ll put the details below but if you just want to make sure all the pings intended for your blog actually reach it then here is the plugin for you.</p>



<h3>Current Version:</h3> <p><a href="http://downloads.wordpress.org/plugin/wp-pingpreserver.zip">WP_PingPreserver v0.4</a></p>

<h3>Installation instructions:</h3> <p>Unzip <code>wp_pingpreserver.zip</code>. Upload <code>wp_pingpreserver.php</code> to <code>wp-content/plugins/</code> and active in the Plugin Control Panel. Your blog will now allow up to 5 pings within 75 seconds.</p>

<h3>Technical Details</h3>
<p>The average user won&#8217;t need to read this but I thought I would post the details of the problem in case anyone wanted to fix it in the core WordPress files. It turns out that the function <code>wp_throttle_comment_flood</code> from <code>wp-include/comment.php</code> is automatically added as a default filter (in <code>/wp-includes/default-filters.php</code>). This function checks if the last comment from the commentor&#8217;s IP address was within 15 seconds and if so rejects the comment. This is obviously a problem with pings when 2 or 3 comments will be coming from the same IP within seconds.</p>
<p>Unfortunately, the <code>comment_flood_filter</code> passes in very little information (only the time of the current and previous comment) and the function <code>wp_throttle_comment_flood</code> does not allow plugins to signal that a comment <em>should</em> be accepted. So for this plugin to work it has to <code>remove_action</code> <code>wp_throttle_comment_flood</code> and replace it with it&#8217;s own function. Also since no information about the comment is available in the scope of the function (that I could find), I had to resort to checking to see if the <code>$_SERVER[&amp;#039;PHP_SELF&amp;#039;]</code> variable contained the string &#8220;xmlrpc.php&#8221;.</p>
<p>Anyway it&#8217;s a bit of a hack but it seems to be working. Please let me know if you have any problems or suggestions.</p>


<h3>Change Log:</h3>
<ul>
<li><a href="/res/wp_pingpreserver_v0.4.zip">v0.4</a> 1-21-2008:
<ul>
<li>Checked if this is still a problem in Wordpress (it is)</li>
<li>Updated time limit to 75 seconds to be in line with Wordpress&#8217;s 1 comment/15 seconds</li>
</ul>
</li>
<li><a href="/res/wp_pingpreserver_v0.3.zip">v0.3</a> 8-8-2007:
<ul>
<li>Switched from checking $POST to $_SERVER</li>
</ul>
</li>
<li><a href="/res/wp_pingpreserver_v0.2.zip">v0.2</a> 8-8-2007:
<ul>
<li>Allows ping if &lt;5 pings within 15 seconds</li>
</ul>
</li>
<li>v0.1 8-2-2007:
<ul>
<li>First attempt</li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://scott.sherrillmix.com/blog/blogger/wp_pingpreserver/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Toshiba Satellite A70 Power Problems (Again)</title>
		<link>http://scott.sherrillmix.com/blog/electrical-engineer/toshiba-satellite-a70-power-problems-again/</link>
		<comments>http://scott.sherrillmix.com/blog/electrical-engineer/toshiba-satellite-a70-power-problems-again/#comments</comments>
		<pubDate>Wed, 17 Jan 2007 15:44:00 +0000</pubDate>
		<dc:creator>ScottS-M</dc:creator>
				<category><![CDATA[Electrical Engineer]]></category>
		<category><![CDATA[a70]]></category>
		<category><![CDATA[battery]]></category>
		<category><![CDATA[desolder]]></category>
		<category><![CDATA[faulty]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[power]]></category>
		<category><![CDATA[power jack]]></category>
		<category><![CDATA[repair]]></category>
		<category><![CDATA[satellite]]></category>
		<category><![CDATA[toshiba]]></category>

		<guid isPermaLink="false">http://scott.sherrillmix.com/blog/electrical-engineer/toshiba-satellite-a70-power-problems-again/</guid>
		<description><![CDATA[Laptop Repair Guy points out that Toshiba has issued a warranty extension resulting from a class action lawsuit. As far as I can tell (I&#8217;m not a lawyer so better check for yourself) I&#8217;m out of luck since I&#8217;m in Canada but definitely better to have Toshiba fix it for free than try yourself.

After I [...]]]></description>
			<content:encoded><![CDATA[<p><span class="highlight"><a href="http://www.laptoprepair101.com/">Laptop Repair Guy</a> points out that Toshiba has issued a <strong>warranty extension</strong> resulting from a <a href="http://www.mommamuse.com/2006/11/14/class-action-lawsuit-against-toshiba/">class action lawsuit</a>. As far as I can tell (I&#8217;m not a lawyer so better check for yourself) I&#8217;m out of luck since I&#8217;m in Canada but definitely better to have Toshiba fix it for free than try yourself.</span></p>

<p>After I put up a post about <a href="http://scott.sherrillmix.com/blog/electrical-engineer/toshiba-satellite-a70-power-problems/">repairing my laptop power connector</a>, <a href="http://www.asklaptopfreak.com/">Laptop Freak</a> left a informative comment:</p>
<blockquote><p>As you see on the photo above, the positive connector oxidized and almost black. If you put a fresh solder on the connector like this, the power jack problem will reappear very soon. I usually remove the power jack from the system board (with iron gun and solder sucker), clean oxidized pins on the power jack and pads on the motherboard and only after that resolder the power jack.</p></blockquote>
<p>It turns out, unsurprisingly, that he was right. The power jack started coming loose again after about a month and a half. I was in the middle of a bunch of things so I didn&#8217;t really feel like messing with it so I just opened up the computer and threw some more solder on it. When the power jack started jiggling <em>again</em> a few weeks later, I knew I had to do something better to fix it. So I picked up a desoldering sucker and some desoldering wick.</p>

<img class="center" src="/res/images/desoldering_tools.jpg" alt="Tools for desoldering" />
<p>It was kind of fun to melt the solder and suck it up until I started thinking about how much money I was messing with. Anyway I had pretty good luck heating up the solder with the soldering iron, sucking with the sucker (it appears the technical term is desoldering pump), and then getting the remainder with the copper desoldering braid. This left only tiny bit of solder so I pulled on each joint separately while heating them with the soldering iron. MAKE just put up a nice <a href="http://www.makezine.com/blog/archive/2007/01/soldering_tutor_1.html">soldering and desoldering video tutorial</a>. Would have been handy to have watched that <em>before</em> doing all this.</p>
<img class="center" src="/res/images/Toshiba_A70_dirty_power_jack.jpg" alt="Dirty Toshiba Satellite A70 power jack" />
<p>After all that, I was left with the separated power jack. Laptop Freak wasn&#8217;t kidding about oxidation. It looks like someone left the connectors in the Dead Sea. I&#8217;m no electrician but I&#8217;m guessing black crud covering electrical contacts can not be a good thing. So I scraped off all the gunk with a screwdriver and polished them until they were nice and shiny.</p>
<img class="center" src="/res/images/Toshiba_A70_clean_power_jack.jpg" alt="Clean Toshiba Satellite A70 power jack" />

<p>Then I tried to clean the contacts on the board with an eraser to remove any oxidation on the copper, stuck the jack back in its holes and soldered it back on. So far I haven&#8217;t had any problems, we&#8217;ll see if it last this time.  If it breaks <em>again</em> (knock on wood), I&#8217;m definitely trying the <a href="http://www.laptoprepair101.com/laptop/2006/05/27/failed-laptop-power-jack-workaround/">external power jack workaround</a>. </p>
<img class="center" src="/res/images/Toshiba_A70_fixed_power_jack.jpg" alt="Fixed Toshiba Satellite A70 power jack" />
<p>In case you didn&#8217;t read <a href="http://scott.sherrillmix.com/blog/electrical-engineer/toshiba-satellite-a70-power-problems/">my old post about fixing this</a>, here&#8217;s links for <a href="http://www.irisvista.com/tech/laptops/ToshibaA75/satA75_1.htm">how to dismantle a Toshiba Satellite A70</a> (and tons of other laptops) and the <a href="http://www.laptoprepair101.com/laptop/2006/01/28/toshiba-satellite-m35x-a75-power-jack-problem/">common Toshiba power jack problems</a>.</p>
<p><em>Update</em>:<ins datetime="2007-12-12T05:06:40+00:00"><a href="http://www.laptoprepair101.com/">Laptop Repair Guy</a> now has a great <a href="http://www.laptoprepair101.com/laptop/2007/12/06/dc-power-jack-repair-guide/">step by step guide</a> (complete with <em>many</em> pictures) to repairing the power jack.</ins></p>
]]></content:encoded>
			<wfw:commentRss>http://scott.sherrillmix.com/blog/electrical-engineer/toshiba-satellite-a70-power-problems-again/feed/</wfw:commentRss>
		<slash:comments>34</slash:comments>
		</item>
		<item>
		<title>Toshiba Satellite A70 Power Problems</title>
		<link>http://scott.sherrillmix.com/blog/electrical-engineer/toshiba-satellite-a70-power-problems/</link>
		<comments>http://scott.sherrillmix.com/blog/electrical-engineer/toshiba-satellite-a70-power-problems/#comments</comments>
		<pubDate>Wed, 11 Oct 2006 22:37:06 +0000</pubDate>
		<dc:creator>ScottS-M</dc:creator>
				<category><![CDATA[Electrical Engineer]]></category>
		<category><![CDATA[a70]]></category>
		<category><![CDATA[battery]]></category>
		<category><![CDATA[faulty]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[power]]></category>
		<category><![CDATA[power jack]]></category>
		<category><![CDATA[repair]]></category>
		<category><![CDATA[satellite]]></category>
		<category><![CDATA[toshiba]]></category>
		<category><![CDATA[workaround]]></category>

		<guid isPermaLink="false">http://scott.sherrillmix.com/blog/electrical-engineer/toshiba-satellite-a70-power-problems/</guid>
		<description><![CDATA[Laptop Repair Guy points out that Toshiba has issued a warranty extension resulting from a class action lawsuit. As far as I can tell (I&#8217;m not a lawyer so better check for yourself) I&#8217;m out of luck since I&#8217;m in Canada but definitely better to have Toshiba fix it for free than try yourself.
My Toshiba [...]]]></description>
			<content:encoded><![CDATA[<p><span class="highlight"><a href="http://www.laptoprepair101.com/">Laptop Repair Guy</a> points out that Toshiba has issued a <strong>warranty extension</strong> resulting from a <a href="http://www.mommamuse.com/2006/11/14/class-action-lawsuit-against-toshiba/">class action lawsuit</a>. As far as I can tell (I&#8217;m not a lawyer so better check for yourself) I&#8217;m out of luck since I&#8217;m in Canada but definitely better to have Toshiba fix it for free than try yourself.</span></p>
<p>My Toshiba Satellite A70 started having power problems several weeks ago. Although the power cord was plugged in, the computer was not charging and was draining the battery. The little &#8216;plugged-in&#8217; LED would come up but the battery status LED would still show power coming from the battery. I could jiggle the power cord and it would come back up so I ignored it and got used to jiggling. Unfortunately, the power got more and more touchy and I spent more and more time jiggling the stupid power cord. I first guessed it must be something with my power adaptor but (after cutting open the outer wrap of the cord), I finally put it together that the &#8216;plugged-in&#8217; LED was coming on but not the battery charging light. This seemed pretty odd. So I finally went out and bought a multimeter. For $20 it was a really good investment and I wish I would have bought one several hours of jiggling frustration earlier. Anyway after the multimeter showed the cord was giving the appropriate 19V without any interruptions, I finally got the bright idea to google the problem and found out that this is a <a href="http://www.laptoprepair101.com/laptop/2006/01/28/toshiba-satellite-m35x-a75-power-jack-problem/">common problem</a> for the A70. Although I have soldered maybe once in my life, the repair didn&#8217;t look all that difficult so I thought I&#8217;d give it a shot. I ran out and grabbed a crappy Radio Shack iron for $15 and a pack of resistors and circuit board to practice on for $10. You could skip the practice if you were already confident in soldering.</p>

<p>The website <a href="http://www.irisvista.com/tech/laptops/ToshibaA75/satA75_1.htm">How to dismantle a Toshiba A70</a> is invaluable for this task. I just thought I&#8217;d add a few notes to their steps:</p>
<ul>	
<li>Step 2 includes &#8220;Remove the metal brace and the wireless card.&#8221; I think this could have been a bit more descriptive. There are two wires running fromt the card up through a hole in the motherboard. I&#8217;m pretty paranoid and I couldn&#8217;t quite work up the guts to disconnect these until I already had the screen off. But you really don&#8217;t have to worry. The wires end in little connectors that pop on and off easily enough. Also when you disconnect the wires, make sure to note which one goes where. I forgot to and took a guess. Since my internet, isn&#8217;t reversed I&#8217;m assuming I was correct.</li>
<li>Steps 6 and 7, &#8220;Remove the securing strip,&#8221; are a real pain. I took the little strip above the keyboard off three or four times and every time it gave me a hassle. It seems to help if you get the bottom keyboard side off first and then work on the top. It&#8217;s amazing how well it holds on for just being little plastic tabs.</li>
<li>When following step 10, &#8220;Disconnect the keyboard cable from the system board,&#8221; there are little lock things on each side of the keyboard ribbon. Don&#8217;t forget to unlock these when taking it out and relock them when putting it back. I forgot to relock them and spent a few anxious moments trying to figure out why only half my keyboard was working.</li>
<li>Step 20, &#8220;Carefully remove the system board from the base,&#8221; is even more of a pain than removing the securing strip. It&#8217;s sort of the same idea only with a $1000 dollar motherboard instead of a $5 piece of plastic. The motherboard is really wedged in there. I found it easiest to start by getting the PC slot side out first. If you push in the little PC ejector button and sort of lever it and the i.LINK port with a screwdriver, you should be able to get it above the plastic. After that, a little lever action on the volume and headphone jacks on the other side and it should come out fairly easily. This took me about half an hour to figure out. An important note is that if you are certain the DC input jack is the problem you don&#8217;t even need to take out the motherboard. You could just solder the end of it with it in place. A good way to check this would be to wiggle the power connector from the outside and watch the pins of jack on the inside.</li>
<li>One general point is that there are more than two types of screws. I saw long ones and short ones and assumed that there were only two types. But somewhere in there there is also a medium length screw. You would probably want to pay better attention to this than I did. My last hole didn&#8217;t fit my last screw. Luckily, it was only the hard drive cover and it already had one screw holding it in so I guess it will hold until something else breaks&#8230;</li>
</ul>

<p>So once I finally got into the motherboard, I could see the rear pin of the power input jack moving freely in and out it&#8217;s hole on the motherboard. I&#8217;m not electrician but I assumed this was a bad thing. </p>
<img class="center" src="/res/images/A70_powerjack_before.jpg" alt="A faulty Toshiba Satellite A70 power jack" />

<p>So I fired up my fresh new soldering iron and after practicing with a few resistors, I finally worked up the guts to solder the loose jack. I ended up with a decent sized blob so I cut off some of the extra with some wire clippers. It&#8217;s worked for a week now so I guess it turned out ok. So in summary it took me, a complete novice at electronics, several hours to fix and cost $45 but I can use the tools again and I learned a lot about the inner working of my computer so I guess the only real cost was a bit of solder. If it breaks again (knock on wood), I might have to try <a href="http://www.laptoprepair101.com/laptop/2006/05/27/failed-laptop-power-jack-workaround/">this workaround</a>.</p>
<img class="center" src="/res/images/A70_powerjack_after.jpg" alt="A resoldered Toshiba Satellite A70 power jack" />
<p><em>Edit:</em> <a href="http://www.asklaptopfreak.com/">Laptop Freak</a> left a informative comment:</p>
<blockquote><p>As you see on the photo above, the positive connector oxidized and almost black. If you put a fresh solder on the connector like this, the power jack problem will reappear very soon. I usually remove the power jack from the system board (with iron gun and solder sucker), clean oxidized pins on the power jack and pads on the motherboard and only after that resolder the power jack.</p></blockquote>
<p>So I may be getting the chance to replace my missing screw sooner than I had hoped.</p>
<p><em>Update</em>:<ins datetime="2007-12-12T05:06:40+00:00"><a href="http://www.laptoprepair101.com/">Laptop Repair Guy</a> now has a great <a href="http://www.laptoprepair101.com/laptop/2007/12/06/dc-power-jack-repair-guide/">step by step guide</a> (complete with <em>many</em> pictures) to repairing the power jack.</ins></p>]]></content:encoded>
			<wfw:commentRss>http://scott.sherrillmix.com/blog/electrical-engineer/toshiba-satellite-a70-power-problems/feed/</wfw:commentRss>
		<slash:comments>49</slash:comments>
		</item>
	</channel>
</rss>
