<?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>Rackbits &#187; programming</title>
	<atom:link href="http://rackbits.com/tag/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://rackbits.com</link>
	<description>Blag of doom, assembly, and other things.</description>
	<lastBuildDate>Wed, 08 Feb 2012 05:36:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Programming without purpose, Image dithering and a CDP Transponder</title>
		<link>http://rackbits.com/2009/06/19/programming-without-purpose-image-dithering-and-a-cdp-transponder/</link>
		<comments>http://rackbits.com/2009/06/19/programming-without-purpose-image-dithering-and-a-cdp-transponder/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 12:52:24 +0000</pubDate>
		<dc:creator>Matthew Costa</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://rackbits.com/?p=44</guid>
		<description><![CDATA[Inspired by a forum post on osdev.org about image colour downsampling I decided to have a crack at writing a program which could take a 24-bit image and convert it down to any lesser image format. The picture above shows an image split down the middle. On the right is the original 24-bit colour version [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-45" title="Dithered image comparison" src="http://rackbits.com/wp-content/uploads/2009/06/dithering.jpg" alt="Dithered image comparison" width="600" height="200" /></p>
<p>Inspired by a <a href="http://forum.osdev.org/viewtopic.php?f=11&amp;t=20338">forum post on osdev.org </a>about image colour downsampling I decided to have a crack at writing a program which could take a 24-bit image and convert it down to any lesser image format. The picture above shows an image split down the middle. On the right is the original 24-bit colour version and on the left is a 8-bit per pixel version with 2 bits for the red colour channel and 3 bits for the green and blue colour channels (rather than having a specific palette for the image I am downsampling to a 2:3:3 bpp image). As you can see the colour loss is acceptable and despit the limitations it still looks nice. Obviously the image could be improved further by choosing a colour palette suitable for the image but that is for another project.</p>
<p>I&#8217;ll post the code once I have cleaned it up a bit and smoothed it out so it doesn&#8217;t have so many hard coded values.</p>
<h3>CDP Transponder</h3>
<p>Another project I&#8217;ve been working on with my interest in Cisco hacking and reverse engineering is my Cisco Discovery Protocol transponder. It is a small program which sits on your computer and emits a configured CDP message every so often allowing your computer to show up on CDP neighbour lists. It doesn&#8217;t really have much purpose at the moment but I hope to play around with it and trying to bridge it with LLDP devices so I can get old Cisco gear to show up on my new Windows network topology maps.</p>
<p><img class="alignnone size-full wp-image-46" title="show cdp neighbors" src="http://rackbits.com/wp-content/uploads/2009/06/cdp-neighbors.png" alt="show cdp neighbors" width="600" height="120" /></p>
<p>This is the output of the <em>show cdp neighbors </em>command on my Cisco 2610XM router. It shows my computer as the device connected to the Fastethernet 0/0 port.</p>
]]></content:encoded>
			<wfw:commentRss>http://rackbits.com/2009/06/19/programming-without-purpose-image-dithering-and-a-cdp-transponder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UnHexDump released</title>
		<link>http://rackbits.com/2009/06/13/unhexdump-released/</link>
		<comments>http://rackbits.com/2009/06/13/unhexdump-released/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 06:15:48 +0000</pubDate>
		<dc:creator>Matthew Costa</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://rackbits.com/?p=33</guid>
		<description><![CDATA[UnHexDump takes the familiar output of HexDump and converts it back into nice binary format. I wrote this program to assist in extracting files off my Cisco 7970 IP phone which lacks any remote file copying capability. I am now releasing UnHexDump to the world. It&#8217;s a little hackish (given that I wrote it at [...]]]></description>
			<content:encoded><![CDATA[<p><img title="unhexdump" src="http://rackbits.com/wp-content/uploads/2009/06/unhexdump.png" alt="unhexdump" width="584" height="100" /></p>
<p>UnHexDump takes the familiar output of HexDump and converts it back into nice binary format. I wrote this program to assist in extracting files off my Cisco 7970 IP phone which lacks any remote file copying capability.</p>
<p>I am now releasing UnHexDump to the world. It&#8217;s a little hackish (given that I wrote it at 3am this morning to solve a problem, that usually happens :[ ). It is licensed under the GNU GPLv3 License. The source code is plain C++ and a windows executable are to be found in the zip file below.</p>
<p><strong>It can be found by clicking the <a href="http://rackbits.com/?page_id=27">UnHexDump link </a>on the sidebar or here.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://rackbits.com/2009/06/13/unhexdump-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Work in progress, Cisco XML services</title>
		<link>http://rackbits.com/2009/06/12/work-in-progress-cisco-xml-services/</link>
		<comments>http://rackbits.com/2009/06/12/work-in-progress-cisco-xml-services/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 14:40:23 +0000</pubDate>
		<dc:creator>Matthew Costa</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://rackbits.com/?p=11</guid>
		<description><![CDATA[Recently I was inspired by a thread on the Whirlpool forums to write XML services for the Cisco IP phones I have. What I have created is something I have called (most creatively) Dashboard. It is a modular PHP script that allows people to add various blocks of dynamic content on to a page which [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I was inspired by a <a href="http://forums.whirlpool.net.au/forum-replies-archive.cfm/1112759.html">thread on the Whirlpool forums</a> to write XML services for the Cisco IP phones I have. What I have created is something I have called (most creatively) Dashboard. It is a modular PHP script that allows people to add various blocks of dynamic content on to a page which is displayed on the IP phone&#8217;s display. This script can be called directly by the phone or pushed using the cisco XML push service.</p>
<p>My dodgy composition shot below shows the Dashboard running on a Cisco 7975 phone displaying a RSS feed, the count of unread messages in my inbox and a graphical logo.</p>
<p>I am currently working allowing it to display multiple pages of information (using the remaining softkeys along the bottom of the screen between the Update and Exit buttons).</p>
<p><img class="alignnone size-full wp-image-12" title="Dashboard WIP" src="http://rackbits.com/wp-content/uploads/2009/06/dashboard-wip.png" alt="Dashboard WIP" width="600" height="320" /></p>
]]></content:encoded>
			<wfw:commentRss>http://rackbits.com/2009/06/12/work-in-progress-cisco-xml-services/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

