<?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>euicho.com &#187; programming</title>
	<atom:link href="http://euicho.com/tag/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://euicho.com</link>
	<description></description>
	<lastBuildDate>Sat, 19 May 2012 04:11:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Maine Power Outages Map</title>
		<link>http://euicho.com/2009/maine-power-outages-map/</link>
		<comments>http://euicho.com/2009/maine-power-outages-map/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 23:29:52 +0000</pubDate>
		<dc:creator>euicho</dc:creator>
				<category><![CDATA[Software and Web Design]]></category>
		<category><![CDATA[maine]]></category>
		<category><![CDATA[maps]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[utility]]></category>

		<guid isPermaLink="false">http://euicho.com/?p=329</guid>
		<description><![CDATA[Working in a NOC, I often consult the two Maine power companies that have online outage information (there is a third that does not have such a feature). If I see many circuits go down at the same time I&#8217;ll check to see if there is an outage in the area by checking both those [...]]]></description>
			<content:encoded><![CDATA[<p>Working in a <acronym title="Network Operations Center">NOC</acronym>, I often consult the two Maine power companies that have online outage information (there is a third that does not have such a feature).  If I see many circuits go down at the same time I&#8217;ll check to see if there is an outage in the area by checking both those websites, then going to Google maps to see how far away the sites are from the current outages.  This is a tedious process and I finally decided to do something about it by creating my own Google map with their wonderful API.  I&#8217;d never used it before so this proved a great way to learn how to use it as well.  After setting up the screen scraping to pull info off the power companys&#8217; websites, getting the app to do just what I wanted, and working around some minor speed bumps, it&#8217;s done!</p>
<p><a href="http://euicho.com/power/"><img src="http://euicho.com/wp-content/uploads/2009/03/powermap.png" class="displayed" alt="powermap" title="powermap" class="aligncenter" /></a></p>
<p>Google&#8217;s API is quite easy to work with, and I&#8217;m very pleased with the results.  For most people this map isn&#8217;t very useful, and at any one time there are only a few markers plotted on it, but for myself it will be quite useful, and it was a great learning process.  You can view the Maine Power Outages map at <a href="http://euicho.com/power/">http://euicho.com/power</a></p>]]></content:encoded>
			<wfw:commentRss>http://euicho.com/2009/maine-power-outages-map/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Monospaced fonts CAN scale</title>
		<link>http://euicho.com/2008/monospaced-fonts-can-scale/</link>
		<comments>http://euicho.com/2008/monospaced-fonts-can-scale/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 17:28:10 +0000</pubDate>
		<dc:creator>euicho</dc:creator>
				<category><![CDATA[Software and Web Design]]></category>
		<category><![CDATA[articles]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[typography]]></category>

		<guid isPermaLink="false">http://euicho.com/?p=298</guid>
		<description><![CDATA[Like many programmers, I have a couple of favorite fixed-width &#8220;coding fonts&#8221; that I use for writing and viewing source code, however most of them are bitmap based and do not scale up &#8220;prettily&#8221; by any means. Fortunately there are some great monospaced fonts that do scale up nicely. In my experience, it is important [...]]]></description>
			<content:encoded><![CDATA[<p>Like many programmers, I have a couple of favorite fixed-width &#8220;coding fonts&#8221; that I use for writing and viewing source code, however most of them are bitmap based and do not scale up &#8220;prettily&#8221; by any means.</p>
<p>Fortunately there <em>are</em> some great monospaced fonts that do scale up nicely.   In my experience, it is important for me to use both my own favorite fixed-width fonts, and the great fixed-width ones below.  This is because at small sized, most vector-based fonts like some below look fantastic at larger sizes, like on web pages or in print, but look fuzzy or blurry in the 8-12pt range in notepad++, gedit, etc.  Conversely, my favorite bitmap based fonts <em>only</em> look good at one size, usually in the 8-10pt range, and are pixelated and blocky at larger sizes.<span id="more-298"></span></p>
<p>With that in mind, I present to you some smooth and delicious monospaced fonts that retain high legibility (slashed or dotted zeros, 1, l, I distinction, etc).</p>
<h3 class="heading">Inconsolata</h3>
<p>The font that actually started me on this post was Raph Levien&#8217;s excellent <a title="the inconsolata font page" href="http://levien.com/type/myfonts/inconsolata.html">Inconsolata</a>.  Spurred on by Luc(as) de Groot&#8217;s <em>Consolas</em> (below), Raph created a free and open source monospaced font that renders nicely at high resolutions, and looks great in print:</p>
<p><img class="displayed" src="http://euicho.com/pics/inconsolata.png" alt="sample image of the inconsolata font" /></p>
<p>Inconsolata is still in development and lacks bold/italic styles, but is already in fine shape.  Its major drawback is that it currently has no &#8220;hinting&#8221; support, so it doesn&#8217;t play well with Microsoft&#8217;s Clear Type technology.  Everyone else should find it renders quite nicely, however.</p>
<h3 class="heading">Consolas</h3>
<p>Developed by Luc(as) de Groot, <a title="Wikipedia entry on Consolas" href="http://en.wikipedia.org/wiki/Consolas">Consolas</a> is another nice-looking fixed-width font with good distinction between visually similar characters.  Consolas is included in Windows Vista and MS Office 2007, and if you&#8217;re using only the included fonts on Vista its the only one with a slashed zero!</p>
<p><img class="displayed" src="http://euicho.com/pics/consolas.png" alt="sample image of the consolas font" /></p>
<p>Consolas has full hinting instructions and works great with Clear Type.</p>
<h3 class="heading">Bitstream Vera Sans Mono</h3>
<p><a href="http://www.dafont.com/bitstream-vera-mono.font">Bitstream Vera Sans Mono</a> is a variant of Bitstream Vera.  It was designed by Jim Lyles and also has full hinting instructions.   Bitstream Vera was released for use under an open source license agreement with the GNOME Foundation, so all you free/OSS developers are good to go!</p>
<p><img class="displayed" src="http://euicho.com/pics/bitstreamvsmono.png" alt="sample image of the bitstream vera sans monofont" /></p>
<p>I know Nyrath has his own custom made font, and it&#8217;s actually one I use frequently in notepad2 and notepad++. So, what are you guys&#8217;/gals&#8217; favorite programming fonts? I&#8217;d love to know about any other  monospaced fonts I&#8217;ve not come across yet.</p>]]></content:encoded>
			<wfw:commentRss>http://euicho.com/2008/monospaced-fonts-can-scale/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Twoosh Spotter: A Greasemonkey Script</title>
		<link>http://euicho.com/2007/twoosh-spotter-a-greasemonkey-script/</link>
		<comments>http://euicho.com/2007/twoosh-spotter-a-greasemonkey-script/#comments</comments>
		<pubDate>Wed, 14 Nov 2007 06:12:29 +0000</pubDate>
		<dc:creator>euicho</dc:creator>
				<category><![CDATA[Software and Web Design]]></category>
		<category><![CDATA[greasemonkey]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[twoosh]]></category>

		<guid isPermaLink="false">http://euicho.com/?p=256</guid>
		<description><![CDATA[EDIT (10/6/2009): Twoosh Spotter is now up to v2.0. I&#8217;ve fixed it so that the tweets shown after hitting the &#8220;more&#8221; button get checked for twooshes, and also fixed a bug where &#8220;&#38;&#8221; was converted to &#8220;&#38; a m p ;&#8221; and counted as 4 characters instead of 1. I recently came across a new [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" title="Twoosh Spotter icon" src="http://s3.amazonaws.com/uso_ss/icon/13873/thumb.png" alt="" width="120" height="90" /><br />
<em>EDIT (10/6/2009): Twoosh Spotter is now up to v2.0.  I&#8217;ve fixed it so that the tweets shown after hitting the &#8220;more&#8221; button get checked for twooshes, and also fixed a bug where &#8220;&amp;&#8221; was converted to &#8220;<code>&amp; a m p ;</code>&#8221; and counted as 4 characters instead of 1.</em></p>
<p>I recently came across a new portmanteau on Twitter called a <em>&#8220;twoosh&#8221;</em> (TWitter swOOSH)!</p>
<p>Coined by <a href="http://rentzsch.com/">rentzsch</a>, A twoosh is a twitter that hits the 140 character limit exactly on the nose. This is just one of those fun little oddities that people like to play with, but unless the poster follows up their twoosh with another post pointing it out, the twoosh goes unnoticed by all but the equally twoosh endeared&#8230; and those with OCD.</p>
<p><span id="more-256"></span></p>
<p>To combat both OCD and unnecessary tweets by users calling out their own twooshes, I&#8217;ve created a Greasemonkey script that indicates twooshes called Twoosh Spotter!</p>
<div id="attachment_725" class="wp-caption aligncenter" style="width: 527px"><img class="size-full wp-image-725" title="Twoosh Spotter Screen-cap" src="http://euicho.com/wp-content/uploads/2007/11/TSscreencap.png" alt="Example of a spotted twoosh" width="517" height="83" /><p class="wp-caption-text">Example of a spotted twoosh</p></div>
<p>Quite simply, Twoosh Spotter places a little swoosh icon next to any twoosh on any twitter page.</p>
<p>It will also display the character count for any twitter in a timeline if you:</p>
<ol>
<li>Right-click on the greasemonkey icon in your status bar and go to &#8220;Manage User Scripts&#8221;</li>
<li>Select TwooshSpotter in the left pane and hit the &#8220;Edit&#8221; button. This should open it in notepad or your default text editor.</li>
<li>Find the line that starts with &#8220;var show_count = false;&#8221; (line 33). and change the <em>false</em> to <em>true</em>.</li>
</ol>
<p>Easy as 1,2,3! I debating turning this on by default but it may look a bit cluttered for some users so I went with the sleeker look.</p>
<p>So far this script seems to work great for me, but please do let me know if you find any bugs or strange behavior, or just want to make a suggestion. Also feel free to customize the script to your liking (but do leave mention of me in the source). If you don&#8217;t like my twoosh icon you can either make me a better one to distribute (please! I&#8217;m no graphic designer!) or just make yourself one and modify the script (replace that huge block of gibberish) to use your own.</p>
<p>To get twoosh spotter, go to <a href="http://userscripts.org/scripts/show/13873">http://userscripts.org/scripts/show/13873</a>.</p>
<p>It&#8217;s new, so I&#8217;m sure to find issues and update it frequently. If you have any problems, go back to the userscripts page and check if there is a newer version. If not, leave me a comment there or direct-message me in twitter at my username &#8220;euicho&#8221;.</p>
<p>Now, for those of you who don&#8217;t know what <a href="https://addons.mozilla.org/en-US/firefox/addon/748">greasemonkey</a> is you should definitely get familiar with it, as it is one of the coolest ways to customize websites to your liking. Its a Firefox add-on, and once installed you can install little scripts that add functionality or modify the way a page looks.</p>
<p>If you just can&#8217;t be bothered to install greasemonkey you can always use the <a href="http://euicho.com/greasemonkey/twooshspotter.xpi">Twoosh Spotter Firefox Add-On</a> (You&#8217;ll have to save it then drag it into firefox to install it), but I suggest using the greasemonkey script instead as it is more light-weight and easier to modify.</p>
<p>Happy twooshing!</p>]]></content:encoded>
			<wfw:commentRss>http://euicho.com/2007/twoosh-spotter-a-greasemonkey-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

