<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Objective Me</title>
	
	<link>http://billmaya.net</link>
	<description>"I'm an accomplished generalist who's always in beta"</description>
	<lastBuildDate>Sat, 18 Feb 2012 16:29:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/ObjectiveMe" /><feedburner:info uri="objectiveme" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Alan Moore on Watchmen’s “Toxic Cloud”</title>
		<link>http://feedproxy.google.com/~r/ObjectiveMe/~3/wvZGhsGwSCQ/</link>
		<comments>http://billmaya.net/alan-moore-watchmen-toxic-cloud/#comments</comments>
		<pubDate>Wed, 15 Feb 2012 12:59:08 +0000</pubDate>
		<dc:creator>Bill Maya</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[graphic-novels]]></category>

		<guid isPermaLink="false">http://billmaya.net/?p=2186</guid>
		<description><![CDATA[Great quote by Alan Moore on  where the next big ideas in entertainment will come from: It seems that every movie is a remake of something that was better when it was first released in a foreign language, as a 1960s TV show, or even as a comic book. Now you’ve got theme park rides [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Great quote by Alan Moore on  where the next big ideas in entertainment will come from:</p>
<blockquote><p>It seems that every movie is a remake of something that was better when it was first released in a foreign language, as a 1960s TV show, or even as a comic book. Now you’ve got theme park rides as the source material of movies. The only things left are breakfast cereal mascots. In our lifetime, we will see Johnny Depp playing Captain Crunch.</p></blockquote>
<p>Love that &#8211; Johnny Depp playing Captain Crunch.</p>
<p><a href="http://www.fastcocreate.com/1679856/alan-moore-on-watchmen-s-toxic-cloud-and-creativity-v-big-business">More</a> from Moore on DC Comics&#8217; continued attempts to milk the one of the best graphic novels of all time &#8211; <a href="http://en.wikipedia.org/wiki/Watchmen">Watchmen</a>.</p>
<p><a href="http://billmaya.net/wp-content/uploads/Dr.-Manhattan.jpg"><img class="alignnone size-full wp-image-2191" title="Dr. Manhattan" src="http://billmaya.net/wp-content/uploads/Dr.-Manhattan.jpg" alt="" width="260" height="424" /></a></p>
<p><a href="http://en.wikipedia.org/wiki/Quis_custodiet_ipsos_custodes%3F">Quis custodiet ipsos custodes?</a></p>
<img src="http://feeds.feedburner.com/~r/ObjectiveMe/~4/wvZGhsGwSCQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://billmaya.net/alan-moore-watchmen-toxic-cloud/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://billmaya.net/alan-moore-watchmen-toxic-cloud/</feedburner:origLink></item>
		<item>
		<title>“Hey Bill, It’s Steve”</title>
		<link>http://feedproxy.google.com/~r/ObjectiveMe/~3/dyuTSmKrAKM/</link>
		<comments>http://billmaya.net/hey-bill-its-steve/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 15:20:10 +0000</pubDate>
		<dc:creator>Bill Maya</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[bill-gates]]></category>
		<category><![CDATA[steve-jobs]]></category>

		<guid isPermaLink="false">http://billmaya.net/?p=2138</guid>
		<description><![CDATA[To think different, sometimes you have to do the unthinkable &#8211; like maybe swallow your pride and make peace with your nemesis. There are so many lessons associated with Steve Jobs and what he did and achieved at Apple, but here’s a pretty human and applicable one &#8211; no one is coming to save you. You [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>To think different, sometimes you have to do the unthinkable &#8211; like maybe swallow your pride and make peace with your nemesis.</p>
<blockquote><p>There are so many lessons associated with Steve Jobs and what he did and achieved at Apple, but here’s a pretty human and applicable one &#8211; no one is coming to save you. You are on your own, we all are. No one is going to show up some morning and pull the novel you’ve been dreaming about writing out of your head, raise your kids, brush your teeth or fix your broken company.</p>
<p>Didn’t matter who Steve Jobs was, or what he’d done, the success he’d already achieved, how much personal wealth he had in the bank. He had to make that call.<em> “Hey Bill, it’s Steve…”</em></p></blockquote>
<p>A really great <a href="http://brainmatter.tumblr.com/post/17207567790/impossible-happens">essay</a> by Jim Maiella (via <a href="http://www.splatf.com/">SplatF</a> by Dan Frommer)</p>
<p>&nbsp;</p>
<img src="http://feeds.feedburner.com/~r/ObjectiveMe/~4/dyuTSmKrAKM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://billmaya.net/hey-bill-its-steve/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://billmaya.net/hey-bill-its-steve/</feedburner:origLink></item>
		<item>
		<title>Social Media – The Elevator Pitch</title>
		<link>http://feedproxy.google.com/~r/ObjectiveMe/~3/tWzEXekuXcA/</link>
		<comments>http://billmaya.net/social-media-the-elevator-pitch/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 15:47:46 +0000</pubDate>
		<dc:creator>Bill Maya</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[social-media]]></category>

		<guid isPermaLink="false">http://billmaya.net/?p=2136</guid>
		<description><![CDATA[Social Media Explained a la @ThreeShipsMedia http://instagr.am/p/nm695/]]></description>
			<content:encoded><![CDATA[<p></p><p><a href="http://billmaya.net/wp-content/uploads/social-media-explained.jpg"><img class="alignnone size-full wp-image-2135" title="social-media-explained" src="http://billmaya.net/wp-content/uploads/social-media-explained.jpg" alt="" width="612" height="612" /></a></p>
<p>Social Media Explained a la @ThreeShipsMedia <a href="http://instagr.am/p/nm695/" rel="nofollow nofollow" target="_blank">http://instagr.am/p/nm695/</a></p>
<img src="http://feeds.feedburner.com/~r/ObjectiveMe/~4/tWzEXekuXcA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://billmaya.net/social-media-the-elevator-pitch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://billmaya.net/social-media-the-elevator-pitch/</feedburner:origLink></item>
		<item>
		<title>Removing the Uncategorized Tag</title>
		<link>http://feedproxy.google.com/~r/ObjectiveMe/~3/_sNudGkcuL4/</link>
		<comments>http://billmaya.net/removing-the-uncategorized-tag/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 15:02:25 +0000</pubDate>
		<dc:creator>Bill Maya</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://billmaya.net/?p=2090</guid>
		<description><![CDATA[Figured out how to remove Uncategorized from the Tag Cloud widget, editing wp_tag_cloud function in category-template.php (the same function/file I modified earlier to display 100 tags instead of the default 45). function wp_tag_cloud( $args = &#039;&#039; ) { $defaults = array( &#039;smallest&#039; =&#62; 8, &#039;largest&#039; =&#62; 22, &#039;unit&#039; =&#62; &#039;pt&#039;, &#039;number&#039; =&#62; 100, &#039;format&#039; =&#62; [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Figured out how to remove Uncategorized from the Tag Cloud widget, editing wp_tag_cloud <a href="http://codex.wordpress.org/Function_Reference/wp_tag_cloud">function</a> in category-template.php (the same function/file I modified <a href="http://billmaya.net/wordpress-tag-cloud-defaults/">earlier</a> to display 100 tags instead of the default 45).</p>
<pre class="brush: php">

function wp_tag_cloud( $args = &#039;&#039; ) {
$defaults = array(
&#039;smallest&#039; =&gt; 8, &#039;largest&#039; =&gt; 22, &#039;unit&#039; =&gt; &#039;pt&#039;, &#039;number&#039; =&gt; 100,
&#039;format&#039; =&gt; &#039;flat&#039;, &#039;separator&#039; =&gt; &quot;\n&quot;, &#039;orderby&#039; =&gt; &#039;name&#039;, &#039;order&#039; =&gt; &#039;ASC&#039;,
&#039;exclude&#039; =&gt; &#039;1&#039;, &#039;include&#039; =&gt; &#039;&#039;, &#039;link&#039; =&gt; &#039;view&#039;, &#039;taxonomy&#039; =&gt; &#039;post_tag&#039;, &#039;echo&#039; =&gt; true
);
</pre>
<p>Of course, modifying this file directly runs the risk of a future WordPress upgrade overwriting my category-template.php changes. But it will have to suffice until I figure out how to modify wp-includes files without modifying the actual files themselves.</p>
<img src="http://feeds.feedburner.com/~r/ObjectiveMe/~4/_sNudGkcuL4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://billmaya.net/removing-the-uncategorized-tag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://billmaya.net/removing-the-uncategorized-tag/</feedburner:origLink></item>
		<item>
		<title>How To Automatically Twitter &amp; Facebook WordPress Posts</title>
		<link>http://feedproxy.google.com/~r/ObjectiveMe/~3/ga38haWmPSo/</link>
		<comments>http://billmaya.net/how-to-automatically-twitter-facebook-wordpress-posts/#comments</comments>
		<pubDate>Fri, 20 Jan 2012 18:06:30 +0000</pubDate>
		<dc:creator>Bill Maya</dc:creator>
				<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://billmaya.net/?p=2070</guid>
		<description><![CDATA[For a while I&#8217;ve wanted to figure out a way to automatically send WordPress posts to my Facebook, Twitter, and Google+ accounts.  Some searching led me to How to Push Your WordPress Blog Posts to Twitter and Facebook. In less than an half an hour I download, installed, configured, and tested all three plug-ins. There doesn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>For a while I&#8217;ve wanted to figure out a way to automatically send WordPress posts to my Facebook, Twitter, and Google+ accounts.  Some searching led me to <a href="http://andrewgertig.com/2010/07/push-wordpress-blog-posts-to-twitter-and-facebook/">How to Push Your WordPress Blog Posts to Twitter and Facebook</a>. In less than an half an hour I download, installed, configured, and tested all three plug-ins.</p>
<p>There doesn&#8217;t appear to be a plug-in to let you do the same thing for Google+ at this time (read that the API doesn&#8217;t support this function right now).</p>
<p>&nbsp;</p>
<img src="http://feeds.feedburner.com/~r/ObjectiveMe/~4/ga38haWmPSo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://billmaya.net/how-to-automatically-twitter-facebook-wordpress-posts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://billmaya.net/how-to-automatically-twitter-facebook-wordpress-posts/</feedburner:origLink></item>
		<item>
		<title>Redefining Action Hero: Bill Gates</title>
		<link>http://feedproxy.google.com/~r/ObjectiveMe/~3/ZHMNQuNlWUM/</link>
		<comments>http://billmaya.net/redefining-action-hero-bill-gates-2/#comments</comments>
		<pubDate>Fri, 20 Jan 2012 17:51:59 +0000</pubDate>
		<dc:creator>Bill Maya</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bill-gates]]></category>

		<guid isPermaLink="false">http://billmaya.net/?p=2067</guid>
		<description><![CDATA[Steve Jobs created an Apple juggernaut. Bill Gates created Microsoft and a better world – he doesn’t get the credit he deserves. Source: frugaldad.com &#160;]]></description>
			<content:encoded><![CDATA[<p></p><p>Steve Jobs created an Apple juggernaut. Bill Gates created Microsoft and a better world – he doesn’t get the credit he deserves.</p>
<p><a href="http://frugaldad.com/microsoft/"><img src="http://frugaldad.com/wp-content/uploads/2012/01/BillGatesBetterThanBatman.jpg" alt="microsoft infographic" width="500" border="0" /></a></p>
<p>Source: <a href="http://frugaldad.com">frugaldad.com</a></p>
<p>&nbsp;</p>
<img src="http://feeds.feedburner.com/~r/ObjectiveMe/~4/ZHMNQuNlWUM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://billmaya.net/redefining-action-hero-bill-gates-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://billmaya.net/redefining-action-hero-bill-gates-2/</feedburner:origLink></item>
		<item>
		<title>Overriding TextView – MBTA Trip Tracker</title>
		<link>http://feedproxy.google.com/~r/ObjectiveMe/~3/ZsGxlAh6opA/</link>
		<comments>http://billmaya.net/mbta-trip-tracker-overriding-textview/#comments</comments>
		<pubDate>Mon, 26 Dec 2011 15:50:11 +0000</pubDate>
		<dc:creator>Bill Maya</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[mbta-trip-tracker]]></category>
		<category><![CDATA[mono-for-android]]></category>

		<guid isPermaLink="false">http://billmaya.net/?p=1965</guid>
		<description><![CDATA[In my previous post I designed for the data collection screen for the my MBTA Trip Tracker, one that mimics the layout of the paper tickets handed out by conductors. There didn&#8217;t appear to be an android: attribute to put a border around Android&#8217;s TextView control (the equivalent of a .NET Label). A quick Google search [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>In my previous <a href="http://billmaya.net/?p=1849">post</a> I designed for the data collection screen for the my MBTA Trip Tracker, one that mimics the layout of the paper tickets handed out by conductors.</p>
<p>There didn&#8217;t appear to be an android: attribute to put a border around Android&#8217;s TextView control (the equivalent of a .NET Label). A quick Google search turned up a <a href="http://stackoverflow.com/questions/2026873/android-way-to-appear-bordered-text-on-the-textview">post</a> on Stack Overflow which suggested creating a new class that inherited from TextView and override its OnDraw method to create the border.</p>
<pre class="brush: csharp">

public class BorderedTextView : TextView
{
public BorderedTextView(Context context, IAttributeSet attrs, int defStyle)
: base(context, attrs, defStyle){}

public BorderedTextView(Context context, IAttributeSet attrs)
: base(context, attrs){}

public BorderedTextView(Context context)
: base(context){}

protected override void OnDraw(Android.Graphics.Canvas canvas)
{
base.OnDraw(canvas);

Rect rect = new Rect();
Paint paint = new Paint();

paint.SetStyle(Android.Graphics.Paint.Style.Stroke);
paint.Color = Android.Graphics.Color.White;
paint.StrokeWidth = 3;

GetLocalVisibleRect(rect);
canvas.DrawRect(rect, paint);
}

}
</pre>
<p>Combined with an XML layout and some help from these two web pages &#8211; <a href="http://docs.xamarin.com/android/advanced_topics/using_custom_views_in_a_layout">Using Custom Views in a Layout</a> and <a href="http://stackoverflow.com/questions/2695646/declaring-a-custom-android-ui-element-using-xml">Declaring a Custom Android UI Element using XML</a>.</p>
<pre class="brush: xml">

&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;LinearLayout
xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
xmlns:app=&quot;http://schemas.android.com/apk/res/mbta&quot;

android:orientation=&quot;vertical&quot;
android:layout_width=&quot;match_parent&quot;
android:layout_height=&quot;match_parent&quot;&gt;

&lt;mbta.BorderedTextView android:id=&quot;@+id/setcurrentdate&quot;
android:text=&quot;Set Current Date&quot;
android:textSize=&quot;15pt&quot;
android:layout_width=&quot;match_parent&quot;
android:layout_height=&quot;wrap_content&quot;
android:gravity=&quot;center_horizontal|center_vertical&quot;
android:layout_weight=&quot;1&quot;/&gt;

&lt;mbta.BorderedTextView android:id=&quot;@+id/selectstarttime&quot;
android:text=&quot;Select Start Time&quot;
android:textSize=&quot;15pt&quot;
android:layout_width=&quot;match_parent&quot;
android:layout_height=&quot;wrap_content&quot;
android:gravity=&quot;center_horizontal|center_vertical&quot;
android:layout_weight=&quot;1&quot;/&gt;

&lt;/LinearLayout&gt;
</pre>
<p>Gave me the user interface I wanted.</p>
<p><a href="http://billmaya.net/wp-content/uploads/initial-border.png"><img class="alignnone size-full wp-image-1997" title="initial-border" src="http://billmaya.net/wp-content/uploads/initial-border.png" alt="" width="240" height="400" /></a></p>
<p>Another hour or two of fiddling with Android layout XML and some reading about <a href="http://developer.android.com/guide/practices/screens_support.html">Supporting Multiple Screens</a> gave me a final layout embedded in a ScrollView that appears the same on multiple screen sizes and densities.</p>
<p><a href="http://billmaya.net/wp-content/uploads/final-1.png"><img class="alignnone size-full wp-image-1999" title="final-1" src="http://billmaya.net/wp-content/uploads/final-1.png" alt="" width="240" height="400" /></a>  <a href="http://billmaya.net/wp-content/uploads/final-2.png"><img class="alignnone size-full wp-image-2000" title="final-2" src="http://billmaya.net/wp-content/uploads/final-2.png" alt="" width="240" height="400" /></a></p>
<p>Next, event handling for TextView touches.</p>
<img src="http://feeds.feedburner.com/~r/ObjectiveMe/~4/ZsGxlAh6opA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://billmaya.net/mbta-trip-tracker-overriding-textview/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://billmaya.net/mbta-trip-tracker-overriding-textview/</feedburner:origLink></item>
		<item>
		<title>The Day Google Failed Me</title>
		<link>http://feedproxy.google.com/~r/ObjectiveMe/~3/bY3EeUsFG_M/</link>
		<comments>http://billmaya.net/the-day-google-failed-me/#comments</comments>
		<pubDate>Mon, 26 Dec 2011 14:47:07 +0000</pubDate>
		<dc:creator>Bill Maya</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://billmaya.net/?p=1967</guid>
		<description><![CDATA[I&#8217;ve been writing up a post on subclassing Android&#8217;s TextView widget to put a border around it. I want to include some code examples in the post but the WordPresses editor isn&#8217;t the greatest for doing things like this. (I know, I can use &#60;pre&#62; and &#60;code&#62; but even with those tags there&#8217;s a lot [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I&#8217;ve been writing up a post on subclassing Android&#8217;s TextView widget to put a border around it.</p>
<p>I want to include some code examples in the post but the WordPresses editor isn&#8217;t the greatest for doing things like this. (I know, I can use &lt;pre&gt; and &lt;code&gt; but even with those tags there&#8217;s a lot of fiddling that has to go on and the results require a lot more work than I think is necessary.)</p>
<p>I love the Stack Overflow editor, especially how you can indent code examples just by adding four spaces to the beginning of the line. And I recall that Jeff Atwood had a post or two about it and the technology stack used to build Stack Overflow.</p>
<p>I figured it wouldn&#8217;t be too hard to find the posts, particularly the one about the technology stack. I did some googling using terms &#8220;platform,&#8221; &#8220;technology stack,&#8221; and &#8220;tools.&#8221; I even limited my search to codinghorror.com. Nothing. Lots of hits on Coding Horror but given that it&#8217;s a technology weblog, the top ten choices weren&#8217;t narrowed down to what I wanted.</p>
<p>I had printed out the web page on the Stack Overflow technology stack but searching through a box of clippings that I&#8217;ve kept over the years didn&#8217;t turn it up.</p>
<p>I then started looking through the Coding Horror archives, figuring I could quickly scan each month to find what I want. I went through the 2010 and 2009 archives until I realized this was a sub-optimal use of my time.</p>
<p>So then I turned to Google Reader. I&#8217;ve been using this RSS aggregator since October 8, 2005, reading and tagging my way through 32,133 posts from between ten to fifteen sites (the number has changed over the years). I always thought I&#8217;ve had some sort of tagging mania, an unnatural desire to catalog stuff in case I needed it later. (Hence my box of pre-internet clippings which has been curated down to a single box from multiples.) I&#8217;ve thought at times that I should give up tagging, that if I ever needed to find something, Google would suffice.</p>
<p>So I looked through my Google Reader tags and found two &#8211; &#8220;stack overflow&#8221; and &#8220;stackoverflow&#8221; (I&#8217;ve changed my tagging style over the years, I also use &#8220;stack-overflow&#8221; for Delicious, which doesn&#8217;t allow spaces). Immediately I found the two posts I was looking for along with links to several others from those two posts.</p>
<ul>
<li><a href="http://blog.stackoverflow.com/2008/09/what-was-stack-overflow-built-with/">What Was Stack Overflow Built With?</a></li>
<li><a href="http://blog.stackoverflow.com/2008/12/reverse-engineering-the-wmd-editor/">Reverse Engineering the WMD Editor</a></li>
<li><a href="http://blog.stackoverflow.com/2009/01/updated-wmd-editor/">Updating WMD Editor</a></li>
<li><a href="http://blog.stackoverflow.com/2009/01/wmd-editor-reverse-engineered/">WMD Editor Reverse Engineered</a></li>
</ul>
<p>Which doesn&#8217;t help me with my &#8220;embedding code in a WordPress post&#8221; problem but does make me feel better about tagging all those posts over the years (now if I can just finish tagging those 500+ Starred posts waiting in the queue).</p>
<p>Which also makes me wonder if WordPress is the best platform to use going forward. I like it&#8217;s ease-of-use but sometimes its PHP nature bugs the reptilian Microsoft/.NET part of my brain.</p>
<p>Update #1 &#8211; Just discovered <a href="http://wordpress.org/extend/plugins/syntaxhighlighter-plus/">SyntaxHighlighter Plus</a>, a WordPress plug-in for code syntax highlighting (based on the original <a href="http://alexgorbatchev.com/SyntaxHighlighter/">SyntaxHighlighter</a>). I&#8217;ll have to download, install, and check it out (strangely enough, found out about it while browsing through the <a href="http://blogengine.codeplex.com/">BlogEngine.NET</a> list of extensions).</p>
<p>Update #2 &#8211; Installed SyntaxHighligher Plus after FTPing the files to my /wp-content/plugins/ directory. (Also discovered that there&#8217;s <a href="http://www.rlmseo.com/blog/www-vs-public_html/">no difference</a> between the WordPress /www and /public-html directories, /www is a shortcut to /public-html.)</p>
<p>The plug-in appears to do exactly what I want, allowing me to <a href="http://en.support.wordpress.com/code/posting-source-code/">easily embed source code in a WordPress post</a> using the tag &#8220;sourcecode.&#8221;</p>
<pre class="brush: csharp">
public class BorderedTextView : TextView
{

public BorderedTextView(Context context, IAttributeSet attrs, int defStyle)
: base(context, attrs, defStyle){}

public BorderedTextView(Context context, IAttributeSet attrs)
: base(context, attrs){}

public BorderedTextView(Context context)
: base(context){}

protected override void OnDraw(Android.Graphics.Canvas canvas)
{
base.OnDraw(canvas);

Rect rect = new Rect();
Paint paint = new Paint();

paint.SetStyle(Android.Graphics.Paint.Style.Stroke);
paint.Color = Android.Graphics.Color.White;
paint.StrokeWidth = 3;

GetLocalVisibleRect(rect);
canvas.DrawRect(rect, paint);
}

}
</pre>
<p>Pretty cool stuff. I guess I&#8217;ll stick with WordPress for a while longer.</p>
<img src="http://feeds.feedburner.com/~r/ObjectiveMe/~4/bY3EeUsFG_M" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://billmaya.net/the-day-google-failed-me/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://billmaya.net/the-day-google-failed-me/</feedburner:origLink></item>
		<item>
		<title>Captain’s Log – Stardate 41312.4</title>
		<link>http://feedproxy.google.com/~r/ObjectiveMe/~3/ZTzxfXpjAj4/</link>
		<comments>http://billmaya.net/captains-log-stardate-41312-4/#comments</comments>
		<pubDate>Mon, 26 Dec 2011 01:24:03 +0000</pubDate>
		<dc:creator>Bill Maya</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[star-trek]]></category>

		<guid isPermaLink="false">http://billmaya.net/?p=1968</guid>
		<description><![CDATA[I&#8217;ve got to get some sleep, McCoy and that damn Vulcan are driving me crazy. &#160;]]></description>
			<content:encoded><![CDATA[<p></p><p>I&#8217;ve got to get some sleep, McCoy and that damn Vulcan are driving me crazy.</p>
<p><a href="http://billmaya.net/wp-content/uploads/star-trek-bathrobe.jpg"><img class="alignnone size-medium wp-image-1969" title="star-trek-bathrobe" src="http://billmaya.net/wp-content/uploads/star-trek-bathrobe-300x265.jpg" alt="" width="300" height="265" /></a></p>
<p>&nbsp;</p>
<img src="http://feeds.feedburner.com/~r/ObjectiveMe/~4/ZTzxfXpjAj4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://billmaya.net/captains-log-stardate-41312-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://billmaya.net/captains-log-stardate-41312-4/</feedburner:origLink></item>
		<item>
		<title>Design – MBTA Trip Tracker</title>
		<link>http://feedproxy.google.com/~r/ObjectiveMe/~3/HgAOztQz2RU/</link>
		<comments>http://billmaya.net/mbta-tracker-initial-design/#comments</comments>
		<pubDate>Sat, 24 Dec 2011 15:22:01 +0000</pubDate>
		<dc:creator>Bill Maya</dc:creator>
				<category><![CDATA[Designing]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[mbta-trip-tracker]]></category>
		<category><![CDATA[mono-for-android]]></category>

		<guid isPermaLink="false">http://billmaya.net/?p=1849</guid>
		<description><![CDATA[As part of my regular commute from Rhode Island to Cambridge I&#8217;ve been logging information about my commuter train rides to try and &#8220;optimize&#8221; my trips. I&#8217;ve been using Evernote to hold the information for each trip  - date, train time, time when my ticket was checked, and the stations I was between when it [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>As part of my regular commute from Rhode Island to Cambridge I&#8217;ve been logging information about my commuter train rides to try and &#8220;optimize&#8221; my trips. I&#8217;ve been using Evernote to hold the information for each trip  - date, train time, time when my ticket was checked, and the stations I was between when it was checked.</p>
<p><a href="http://billmaya.net/wp-content/uploads/Evernote-ticket-punches.png"><img class="alignnone size-full wp-image-1856" title="Evernote-ticket-punches" src="http://billmaya.net/wp-content/uploads/Evernote-ticket-punches.png" alt="" width="302" height="267" /></a></p>
<p>Of course I thought about writing an Android app so I wouldn&#8217;t have to manually type the information into Evernote.</p>
<p>My initial design was nothing special &#8211; a list screen displaying the data items that have been collected; selecting an existing item or creating a new item would display a detail screen where you would enter data using Android&#8217;s onscreen keyboard or radio and checkbox control spinners. Nothing special, I&#8217;ve seen hundreds, maybe thousands of smartphone apps designed that way.</p>
<p><a href="http://billmaya.net/wp-content/uploads/mbta_punch.jpg"><img class="alignnone size-medium wp-image-1850" title="mbta_punch" src="http://billmaya.net/wp-content/uploads/mbta_punch-300x263.jpg" alt="" width="300" height="263" /></a></p>
<p>On the train one day I found one of the punch tickets that the conductors give to passengers who buy their ticket on the train.</p>
<p><a href="http://billmaya.net/wp-content/uploads/mbta_punch_slip.jpg"><img class="alignnone size-medium wp-image-1851" title="mbta_punch_slip" src="http://billmaya.net/wp-content/uploads/mbta_punch_slip-116x300.jpg" alt="" width="116" height="300" /></a></p>
<p>It made me think about trying something different for data entry besides the standard field and dialog box method of data entry. What if you could display a facsimile of this punch ticket onscreen and tap the various areas to highlight the selected region or initiate actions? It might make for quicker data entry. And it would be a pretty cool think to try and do.</p>
<p>First I had to determine how I wanted to layout the information on the data collection screen. Instead of having separate areas for month and day I condensed them into a single Date field &#8211; tapping the field would set the date. I replaced the zone list with the actual station stops on the Providence/Stoughton route since I&#8217;m not a conductor and don&#8217;t have them memorized. I also experimented with including the train start times.</p>
<p><a href="http://billmaya.net/wp-content/uploads/mbta-design1.jpg"><img class="alignnone size-medium wp-image-1852" title="mbta-design1" src="http://billmaya.net/wp-content/uploads/mbta-design1-e1324739160986-225x300.jpg" alt="" width="225" height="300" /></a></p>
<p>I decided to eliminate the train start times since when the train leaves the station isn&#8217;t critical. Decided I liked the side-by-side layout for stations for its compactness. Included a Time field at the bottom that would function like the Date field &#8211; tapping it would set the current time.</p>
<p><a href="http://billmaya.net/wp-content/uploads/mbta-design2-e1324739169726.jpg"><img class="alignnone size-medium wp-image-1853" title="mbta-design2" src="http://billmaya.net/wp-content/uploads/mbta-design2-e1324739169726-225x300.jpg" alt="" width="225" height="300" /></a></p>
<p>Added a GPS field at the bottom to capture the latitude and longitude since I&#8217;ve got access to the smartphone&#8217;s GPS receiver.</p>
<p><a href="http://billmaya.net/wp-content/uploads/mbta-design3-e1324739180425.jpg"><img class="alignnone size-medium wp-image-1854" title="mbta-design3" src="http://billmaya.net/wp-content/uploads/mbta-design3-e1324739180425-225x300.jpg" alt="" width="225" height="300" /></a></p>
<p>And finally I decided that I wanted to capture the Start Time separately from the Punch Time.</p>
<p><a href="http://billmaya.net/wp-content/uploads/mbta-design4-e1324739188763.jpg"><img class="alignnone size-medium wp-image-1855" title="mbta-design4" src="http://billmaya.net/wp-content/uploads/mbta-design4-e1324739188763-225x300.jpg" alt="" width="225" height="300" /></a></p>
<p>So there you have it, one design prototype in fifteen minutes of whiteboarding. Turns out it&#8217;s easier to implement than I thought it would be thanks to Stack Overflow.</p>
<p><a href="http://billmaya.net/wp-content/uploads/mbta-collect-initial.jpg"><img class="alignnone size-medium wp-image-1870" title="mbta-collect-initial" src="http://billmaya.net/wp-content/uploads/mbta-collect-initial-181x300.jpg" alt="" width="181" height="300" /></a></p>
<p><a href="http://billmaya.net/?p=1965">Next</a>, overriding the Android widget TextView class to create borders around each TextView.</p>
<p>&nbsp;</p>
<img src="http://feeds.feedburner.com/~r/ObjectiveMe/~4/HgAOztQz2RU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://billmaya.net/mbta-tracker-initial-design/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://billmaya.net/mbta-tracker-initial-design/</feedburner:origLink></item>
	</channel>
</rss>

