<?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>melinthropy &#187; programming</title>
	<atom:link href="http://melinthropy.org/tag/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://melinthropy.org</link>
	<description>because sometimes you just need a little melinthropy</description>
	<lastBuildDate>Sat, 13 Mar 2010 04:44:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Web Development Tidbits &#8211; Part I</title>
		<link>http://melinthropy.org/2009/08/08/web-development-tidbits-part-i/</link>
		<comments>http://melinthropy.org/2009/08/08/web-development-tidbits-part-i/#comments</comments>
		<pubDate>Sat, 08 Aug 2009 22:29:52 +0000</pubDate>
		<dc:creator>Melinda Weathers</dc:creator>
				<category><![CDATA[technical]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[tidbits]]></category>
		<category><![CDATA[web-development]]></category>

		<guid isPermaLink="false">http://melinthropy.org/?p=87</guid>
		<description><![CDATA[
div.item {margin-top: 40px;}

I recently moved from doing full-time Java &#38; Oracle PL/SQL in a Windows environment (with Rails development in my free time) to doing full-time Rails development on Mac OS X.  This post lists a few helpful little tidbits that I&#8217;ve found along the way that I thought someone on the Interwebs might find [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css">
div.item {margin-top: 40px;}
</style>
<p><img class="alignright size-full wp-image-94" title="Tidbits" src="http://melinthropy.org/wp-content/uploads/2009/08/picture-5.png" alt="Tidbits" width="89" height="120" />I recently moved from doing full-time Java &amp; Oracle PL/SQL in a Windows environment (with Rails development in my free time) to doing full-time Rails development on Mac OS X.  This post lists a few helpful little tidbits that I&#8217;ve found along the way that I thought someone on the Interwebs might find useful.  I call it Part I not because I&#8217;m holding back on you, but more because hopefully it will encourage me to post some more on this subject in the future.</p>
<div class="item">
<strong>1. DigitalColor Meter (Mac OS X only)</strong>
</div>
<p>If you&#8217;re on Mac OS X and you want to grab the color value of something else on your screen to use in your website, there is a tool that comes with OS X for just that purpose called DigitalColor Meter.  Do ⌘+Space and type &#8220;Color&#8221; and select the DigitalColor Meter to bring it up. Check its menus for more features, such as copying the current color value to the clipboard.</p>
<p style="text-align: center;"><img class="size-full wp-image-89 aligncenter" title="Digital Color Meter Screenshot" src="http://melinthropy.org/wp-content/uploads/2009/08/digitalcolormeter.jpg" alt="Digital Color Meter Screenshot" width="406" height="205" /></p>
<div class="item">
<strong>2. console.log(obj);</strong>
</div>
<p>You can log javascript objects directly to the Firebug console with console.log. Then you can drill into your object in the console and see all its properties in Firebug, rather than pushing a bunch of strings into alert();. This even works with Facebook apps.  More information here: <a href="http://getfirebug.com/console.html" target="_blank">Firebug Console Object</a></p>
<div class="item">
<strong>3. Firefox Error Console</strong>
</div>
<p>In the main Firefox Tools menu, there is an &#8220;Error Console&#8221; item.  It is apparently not part of FireBug, but Firefox itself.  This thing is awesome. It shows you JS and CSS errors and warnings, and it doesn&#8217;t lose them when you redirect to another page.</p>
<p style="text-align: center;"><img class="size-medium wp-image-90 aligncenter" title="Firefox Error Console" src="http://melinthropy.org/wp-content/uploads/2009/08/picture-2-300x201.png" alt="Firefox Error Console" width="300" height="201" /></p>
<div class="item">
<strong>4. Firebug in a separate window</strong>
</div>
<p>A few people have been surprised when they&#8217;ve seen me do this, so I thought I&#8217;d throw it in.  Firebug has a little button to tell it to run in its own window which is especially helpful if you have two monitors.  You can do this with the little round &#8220;^&#8221; button in firebug, shown with the smudgy red arrow below.</p>
<p style="text-align: center;"><img class="size-medium wp-image-91 aligncenter" title="Firebug Separate Window" src="http://melinthropy.org/wp-content/uploads/2009/08/picture-4-300x55.png" alt="Firebug Separate Window" width="300" height="55" /></p>
<p>
Well, that&#8217;s all the tidbits for now.  What are your favorite tidbits?</p>
]]></content:encoded>
			<wfw:commentRss>http://melinthropy.org/2009/08/08/web-development-tidbits-part-i/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Hello, Arduino</title>
		<link>http://melinthropy.org/2008/12/31/hello-arduino/</link>
		<comments>http://melinthropy.org/2008/12/31/hello-arduino/#comments</comments>
		<pubDate>Wed, 31 Dec 2008 06:19:01 +0000</pubDate>
		<dc:creator>Melinda Weathers</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://melinthropy.org/?p=42</guid>
		<description><![CDATA[For Christmas, I asked my husband to get me an Arduino starter kit (specifically, this one from Hacktronics ) along with the book Getting Started with Arduino .  What is the Arduino?  Arduino is basically a little electronic board with input/output capability (meaning it can read from sensors &#8211; input, and control things &#8211; output) that [...]]]></description>
			<content:encoded><![CDATA[<p>For Christmas, I asked my husband to get me an <a href="http://www.arduino.cc/">Arduino</a> starter kit (specifically, <a href="http://www.hacktronics.com/Arduino/Arduino-Starter-Kit/flypage.tpl.html">this one from Hacktronics</a> ) along with the book <a href="http://www.amazon.com/Getting-Started-Arduino-Make-Projects/dp/0596155514/ref=pd_bbs_sr_1?ie=UTF8&amp;s=books&amp;qid=1230695893&amp;sr=8-1">Getting Started with Arduino</a> .  What is the Arduino?  Arduino is basically a little electronic board with input/output capability (meaning it can read from sensors &#8211; input, and control things &#8211; output) that has a tiny computer on it (an <a href="http://www.avrfreaks.net/index.php?module=Freaks%20Devices&amp;func=displayDev&amp;objectid=78">AVR microcontroller</a>) that you can program from your computer.  Here it is:<br />
<img src="http://melinthropy.org/wp-content/uploads/2008/12/arduino.jpg" alt="" /></p>
<p>Some cool things about it are the USB port &#8212; you can upload programs, power the board, and receive communications from the board all using USB.  (Or you can use an AC adapter for power). Also, the Arduino app you can use to interface from your computer runs great from my MacBook.  And, I love how everything on the board is just so small and <em>cute</em>.</p>
<p>The book <em>Getting Started with Arduino</em> is excellent.  It is written for someone with no particular electronics or programming experience, and despite that, it manages to walk through several little projects which anyone could do and which should demystify the whole thing.  The examples seem simple, and the book is pretty small, but in the end, it really does give you a starting point, and it points out web resources if you want to go into detail on, say, some particular type of sensor.  There are plenty more involved projects online for further reference.</p>
<p>As to why I&#8217;m interested, I have a top-secret project in mind, which I&#8217;ll reveal if it ever gets off the ground.  And then you can think, &#8220;wow, that&#8217;s lame.&#8221;  But it would be even worse if I revealed my lame project idea and then it didn&#8217;t even work.  Anyways, I have this idea for a project, and I thought it should use a microcontroller.  I was originally thinking I could use my Motorola 68HC11 from college, so I pulled it out of the box.  I paid over $100 for it in 1998, so surely I could put it to good use, right?  Here it is on its evaluation board:<br />
<img src="http://melinthropy.org/wp-content/uploads/2008/12/86hc11evb.jpg" alt="" /></p>
<p>The MCU itself is the square chip on the lower left.  Immediately, I realized that (1) it requires serial cables, (2) it requires something to power it (+12V, -12V, +5V and ground), (3) the software I have for interfacing to it is on floppy disks and runs on DOS, and (4) I have almost completely forgotten assembly language, and really, everything about this board.  And it has been discontinued by Motorola, so if I ever wanted to make something else, I&#8217;d have to start over anyways.</p>
<p>So, after these realizations, I went searching for something new, and the Arduino seemed to be the way to go for a hobbyist.  I am very happy with my Arduino kit, and I&#8217;ll be sure to post about my project if it ever works.</p>
<p>BTW, a couple great resources for Arduino projects:  http://www.embedds.com/ posts a new project every day.  I haven&#8217;t tried any of them yet, but I hope to soon.  The projects sound very interesting, like this one for an <a href="http://www.embedds.com/this-arduino-thermin-should-be-an-interesting-project/">Arduino Theremin</a> .  And of course there is <a href="http://makezine.com/">Make Magazine</a> but the blog is a little more prolific than I can actually keep up with.</p>
<p>[Update: I forgot to mention that the hacktronics arduino starter kit didn't quite have all the components used in the examples in the <em>Getting Started with Arduino</em> book.  In particular, it didn't have a pushbutton switch or a light-dependent resistor.]</p>
]]></content:encoded>
			<wfw:commentRss>http://melinthropy.org/2008/12/31/hello-arduino/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
