<?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> &#187; Uncategorized</title>
	<atom:link href="http://blog.gemmapeter.co.uk/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.gemmapeter.co.uk</link>
	<description>Gem&#039;s ponderings on PHP programming and other stuff</description>
	<lastBuildDate>Sat, 31 Dec 2011 12:20:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Call for developers</title>
		<link>http://blog.gemmapeter.co.uk/2011/11/14/call-for-developers/</link>
		<comments>http://blog.gemmapeter.co.uk/2011/11/14/call-for-developers/#comments</comments>
		<pubDate>Mon, 14 Nov 2011 15:38:45 +0000</pubDate>
		<dc:creator>Gem</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.gemmapeter.co.uk/?p=473</guid>
		<description><![CDATA[We are looking to have alterations done to our current software, we are running very specialised hardware and peripherals that are entirely custom built. Although we have the source code for the original version our version has been heavily patched due to the need to provide interfaces to new hardware and fix integration problems with [...]]]></description>
			<content:encoded><![CDATA[<p>We are looking to have alterations done to our current software, we are running very specialised hardware and peripherals that are entirely custom built.</p>
<p>Although we have the source code for the original version our version has been heavily patched due to the need to provide interfaces to new hardware and fix integration problems with other software also running on the same system.</p>
<p>Our previous developer is unresponsive said something about a holiday in the Cayman Islands last time we tried calling and the only response we get from the original vendor is that everything &#8220;should work fine&#8221; and anything adverse that is happening is due to us running on our unique hardware. We suspect they either don&#8217;t know how to fix it or are too proud to admit their code is buggy.</p>
<p>Also we have no backups or any way of making them, as the hardware is so specialised, being the only hardware with this much capacity in existence.</p>
<p>Any modifications to the software will have to be done on the live system but we do have extensive debug variables and logs in place so we should hopefully be able to catch any regressions in functionality before they do too much damage. Anyone attempting to modify the system should keep in mind that the system data is very valuable and needs to be preserved and protected.</p>
<h2>The Current System</h2>
<p>The current software was forked from the original codebase a while back and we&#8217;ve been applying bug fixes to it as necessary workarounds to patch severe side effects including interference with other software running alongside it.</p>
<h2>We can&#8217;t access the admin controls</h2>
<p>We used to have access to a control panel that allowed us to tweak certain aspects of the software manually. Access to that was lost shortly after the previous developer became uncontactable, we suspect they did something to lock us out despite promising to fix all the problems if we paid the latest invoice. We also suspect that someone&#8217;s installed a backdoor and botnet in the system after we found some unusual operations in the network logs (the IP addresses resolved to various ISPs well known for providing hosting for dodgy businesses).</p>
<p>The problem is that the tweaks the sysadmins were making in the admin area were allowing the system to run mostly reliably even if incredibly resource-hungry. Partial crashes used to be unfortunate but manageable events due to this manual input but are now becoming more and more severe and frequent.</p>
<h2>Resource Usage</h2>
<p>Ever since the original software that we purchased it has always had the tendency to increase it&#8217;s resource usage over time. At first we thought that this was an issue that would fix itself while the software was bedding in and was nothing to be worried about since we had lots of spare capacity but recently our sysadmins tell us that the resource usage is increasing exponentially. They predict that when it uses up all the capacity it will cause major system instability and will probably wreck the hardware.</p>
<p>We are unable to upgrade our hardware, if the current trend continues we predict we will run out of memory, processing capacity and disk space very soon.</p>
<h2>Memory leak</h2>
<p>Some of the threads are taking up large amounts of memory without doing much processing. We suspect that the particular pieces of code are bottlenecks and that these need to be resolved. Either that or we need to find a way to release the memory back into the available pool because the lack of memory is affecting the ability of other threads to execute.</p>
<p>The system has always done this, I can&#8217;t believe that the coder that originally wrote it would leave in such a glaringly obvious memory leak.</p>
<h2>More Info</h2>
<p>Several of our developers have been examining the outputs of the system in detail and even managed to get hold of the original source code but this is of no help because the old source code is incompatible with some of our peripherals.</p>
<p>One of the maintainers suggested that we rewrite the system from scratch but I know the company will go bankrupt if we have any downtime due to the way our support contracts work.</p>
<p>Another one suggested limit on the amount of memory a thread is allowed to use but the original developer complained that that it would &#8220;ruin the code&#8221; and lead to a horrible unmaintainable mess but at this stage I&#8217;m willing to try almost anything to get it fixed.</p>
<p>We putting out this call for developers as we need new ideas. If you feel like you can help please contact us.</p>
<p>Regards,<br />
<a href="http://www.occupytogether.org/">Planet Earth Human Resources department</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gemmapeter.co.uk/2011/11/14/call-for-developers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nokia DKU-5 cable to Boarduino FTDI</title>
		<link>http://blog.gemmapeter.co.uk/2011/08/31/nokia-dku-5-cable-to-boarduino-fti/</link>
		<comments>http://blog.gemmapeter.co.uk/2011/08/31/nokia-dku-5-cable-to-boarduino-fti/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 23:08:25 +0000</pubDate>
		<dc:creator>Gem</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.gemmapeter.co.uk/?p=447</guid>
		<description><![CDATA[I soldered myself a Boarduino when I went to Chaos Communication Camp this summer, but I didn&#8217;t buy a FTDI cable. I didn&#8217;t feel like buying one so I asked the internet! Well, I found an article about making a FTDI cable from the CA-42 USB2.0 Nokia Data Cable. I happened to also have a [...]]]></description>
			<content:encoded><![CDATA[<p>I soldered myself a Boarduino when I went to Chaos Communication Camp this summer, but I didn&#8217;t buy a FTDI cable. I didn&#8217;t feel like buying one so I asked the internet! Well, I found an article about <a href="http://letsmakerobots.com/node/23728">making a FTDI cable from the CA-42 USB2.0 Nokia Data Cable</a>. I happened to also have a spare Nokia USB-Serial cable sitting around, not a CA-42 but a DKU-5 and completely useless since all my Nokia phones were recycled a long time ago.</p>
<p>These are the pins:</p>
<ul>
<li>Black &#8211; GND</li>
<li>Yellow &#8211; RX</li>
<li>White &#8211; TX</li>
</ul>
<p>Looking from the end of the Boarduino at the connector the pins go: Ground, CTS, Vcc, RX, TX, RTS</p>
<p>In order to provide the power to the Boarduino I desoldered the red wire from the board (as the Boarduino worked fine without it) and soldered it straight onto the 5V pin of the USB connection on the cable&#8217;s PCB then I took the other end of the red wire and connected it to the Vcc of the Boarduino.</p>
<p>Also I had no molex connectors so I stole some off a CD audio cable, these were only 4 pins wide but I glued two together.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gemmapeter.co.uk/2011/08/31/nokia-dku-5-cable-to-boarduino-fti/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Site Redesign</title>
		<link>http://blog.gemmapeter.co.uk/2011/04/11/site-redesign/</link>
		<comments>http://blog.gemmapeter.co.uk/2011/04/11/site-redesign/#comments</comments>
		<pubDate>Sun, 10 Apr 2011 23:16:40 +0000</pubDate>
		<dc:creator>Gem</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.gemmapeter.co.uk/?p=437</guid>
		<description><![CDATA[Having gotten tired of the shiny rounded corners theme I made quite some time ago I have spent today writing a new one. It&#8217;s not quite finished yet, still a few more tweaks to do.]]></description>
			<content:encoded><![CDATA[<p>Having gotten tired of the shiny rounded corners theme I made quite some time ago I have spent today writing a new one. It&#8217;s not quite finished yet, still a few more tweaks to do.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gemmapeter.co.uk/2011/04/11/site-redesign/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wikileaks</title>
		<link>http://blog.gemmapeter.co.uk/2011/01/30/wikileaks/</link>
		<comments>http://blog.gemmapeter.co.uk/2011/01/30/wikileaks/#comments</comments>
		<pubDate>Sun, 30 Jan 2011 12:30:25 +0000</pubDate>
		<dc:creator>Gem</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.gemmapeter.co.uk/?p=423</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.gemmapeter.co.uk/wp-content/uploads/2011/01/terrorist.png"><img src="http://blog.gemmapeter.co.uk/wp-content/uploads/2011/01/terrorist.png" alt="" title="terrorist" width="612" height="278" class="alignnone size-full wp-image-425" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gemmapeter.co.uk/2011/01/30/wikileaks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Years Resolutions</title>
		<link>http://blog.gemmapeter.co.uk/2011/01/02/new-years-resolutions/</link>
		<comments>http://blog.gemmapeter.co.uk/2011/01/02/new-years-resolutions/#comments</comments>
		<pubDate>Sun, 02 Jan 2011 02:39:41 +0000</pubDate>
		<dc:creator>Gem</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.gemmapeter.co.uk/?p=391</guid>
		<description><![CDATA[OK, here it goes. Time to admit to the world what things I want to change in the following year. These may not look like particularly difficult tasks but I they are things I suck at so they need fixing. Finish projects I want to have finished at least 3 personal projects by the end [...]]]></description>
			<content:encoded><![CDATA[<p>OK, here it goes. Time to admit to the world what things I want to change in the following year.</p>
<p>These may not look like particularly difficult tasks but I they are things I suck at so they need fixing.</p>
<h3>Finish projects</h3>
<p>I want to have finished at least 3 personal projects by the end of 2011 year.</p>
<p>I have a bad habit of starting personal projects and then forgetting about them when I get bored.</p>
<p>I will shortly be publishing a list of projects I have contemplated.</p>
<p>To my friends, if you would like you help me achieve my goal please ask me about my projects when you see me.</p>
<h3>Blog more often</h3>
<p>Write at least one blog post a month.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gemmapeter.co.uk/2011/01/02/new-years-resolutions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

