<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>Hi, I’m Dan.  This is my second home on the web.  My first is storagebymail.com.</description><title>dan hughes' weblog</title><generator>Tumblr (3.0; @hughesdan)</generator><link>http://danielhughes.com/</link><item><title>I’m looking forward to this technology becoming...</title><description>&lt;iframe width="400" height="225" src="http://www.youtube.com/embed/JHL5tJ9ja_w?wmode=transparent&amp;autohide=1&amp;egm=0&amp;hd=1&amp;iv_load_policy=3&amp;modestbranding=1&amp;rel=0&amp;showinfo=0&amp;showsearch=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;I’m looking forward to this technology becoming commonplace.  I especially like the example of using it for remote collaboration.&lt;/p&gt;</description><link>http://danielhughes.com/post/11880381611</link><guid>http://danielhughes.com/post/11880381611</guid><pubDate>Mon, 24 Oct 2011 18:24:00 -0400</pubDate><category>holodesk</category><category>direct 3d</category><category>microsoft research</category></item><item><title>"If you live each day as if it was your last.  Some day you will most certainly be right."</title><description>“If you live each day as if it was your last.  Some day you will most certainly be right.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;Steve Jobs&lt;/em&gt;</description><link>http://danielhughes.com/post/11080739529</link><guid>http://danielhughes.com/post/11080739529</guid><pubDate>Wed, 05 Oct 2011 20:28:00 -0400</pubDate><category>steve jobs</category><category>quote</category><category>inspiration</category><category>stanford commencement</category></item><item><title>I never tire of watching this.</title><description>&lt;iframe width="400" height="299" src="http://www.youtube.com/embed/UF8uR6Z6KLc?wmode=transparent&amp;autohide=1&amp;egm=0&amp;hd=1&amp;iv_load_policy=3&amp;modestbranding=1&amp;rel=0&amp;showinfo=0&amp;showsearch=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;I never tire of watching this.&lt;/p&gt;</description><link>http://danielhughes.com/post/11080699872</link><guid>http://danielhughes.com/post/11080699872</guid><pubDate>Wed, 05 Oct 2011 20:27:00 -0400</pubDate><category>steve jobs</category><category>stanford commencement</category><category>inspiration</category></item><item><title>iCuffLinks
http://www.adafruit.com/icufflinks</title><description>&lt;img src="http://28.media.tumblr.com/tumblr_lpf5q9YXKy1qzb42bo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;iCuffLinks&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.adafruit.com/icufflinks" target="_blank"&gt;&lt;a href="http://www.adafruit.com/icufflinks" target="_blank"&gt;http://www.adafruit.com/icufflinks&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;</description><link>http://danielhughes.com/post/8481480831</link><guid>http://danielhughes.com/post/8481480831</guid><pubDate>Thu, 04 Aug 2011 15:49:21 -0400</pubDate></item><item><title>I love this

gbattle:

Turntable.fm’s co-founder Billy Chasen...</title><description>&lt;img src="http://28.media.tumblr.com/tumblr_lochww6tMs1qzp5buo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;I love this&lt;/p&gt;

&lt;p&gt;&lt;a href="http://leftovertakeout.com/post/7630183927" target="_blank"&gt;gbattle&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Turntable.fm’s co-founder Billy Chasen has his business on lock, literally. You don’t use keys to enter Turntable.fm’s HQ, you send a text message from a white-listed phone number and voila, it opens. This is a much smarter, safer and cheaper option than handing out a ton of keys.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;UPDATE: &lt;/strong&gt;&lt;a href="http://www.twilio.com/blog/2011/01/billy-chasen-wins-anything-goes-contest-with-sms-controlled-door-lock.html" target="_blank"&gt;This won a Twilio prize&lt;/a&gt; and &lt;a href="http://anerroroccurredwhileprocessingthisdirective.com/2011/01/01/opening-a-door-via-text-message/" target="_blank"&gt;he explains how to build one yourself&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://danielhughes.com/post/8393457481</link><guid>http://danielhughes.com/post/8393457481</guid><pubDate>Tue, 02 Aug 2011 15:13:27 -0400</pubDate><category>awesome</category><category>twilio</category></item><item><title>kateoplis:

Fifty miles south of the U.S.-Mexico border, the...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_locaj2rDkh1qzprlbo1_r1_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://kateoplis.tumblr.com/post/7624770789" target="_blank"&gt;kateoplis&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Fifty miles south of the U.S.-Mexico border, the Colorado River Delta and its once-rich estuary wetlands—reduced by 95% since the river was restricted by dams—are now as perched as the surrounding Sonoran Desert. Only rare floods or cancelled farm orders allow the river to reach the Gulf of California.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span&gt;&lt;a href="http://www.npr.org/blogs/pictureshow/2011/07/14/137821595/why-the-colorado-river-stopped-flowing?ft=1&amp;f=97635953&amp;sc=tw&amp;utm_source=twitterfeed&amp;utm_medium=twitter" target="_blank"&gt;Why The Colorado River Stopped Flowing | NPR&lt;/a&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Known by some as “America’s Nile,” the Colorado River stretches about 1,450 miles across seven states and two countries — and photographer Peter McBride has traveled the entire thing, shooting photos for his new book, &lt;em&gt;The Colorado River: Flowing Through Conflict&lt;/em&gt;. […]&lt;/p&gt;
&lt;p&gt;&lt;span&gt;“This estuary used to be one of the largest desert estuaries in North America,” McBride says. “It ran to the sea for 6 million years, and the river basically stopped in the late ’90s. It used to be 3,000 square miles with lush forests and jaguars and deer. And having walked it … it’s nothing but a cracked, parched arid landscape.” […]&lt;/span&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;</description><link>http://danielhughes.com/post/8141317062</link><guid>http://danielhughes.com/post/8141317062</guid><pubDate>Wed, 27 Jul 2011 16:47:49 -0400</pubDate></item><item><title>taylordavidson:

encosion:

Is extreme weather on the rise?....</title><description>&lt;img src="http://30.media.tumblr.com/tumblr_ln4wm7YgRh1qzpo3go1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://blog.taylordavidson.com/post/6753542743" target="_blank"&gt;taylordavidson&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://encosion.com/post/6751849150" target="_blank"&gt;encosion&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.boston.com/bigpicture/2011/06/is_weather_becoming_more_extre.html" target="_blank"&gt;Is extreme weather on the rise?&lt;/a&gt;&lt;/strong&gt;. This storm in South Dakota produced &lt;strong&gt;8-inch diameter hailstones&lt;/strong&gt; (2010.07.23)&lt;/p&gt;
&lt;p&gt;&lt;span class="tiny"&gt;(Source: The Big Picture | Chad Cowan)&lt;/span&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Dunno about any claims about the weather, but love the picture.&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://danielhughes.com/post/6765316621</link><guid>http://danielhughes.com/post/6765316621</guid><pubDate>Tue, 21 Jun 2011 16:14:54 -0400</pubDate></item><item><title>Temp office for SBM (at least for today until FiOS gets their...</title><description>&lt;img src="http://29.media.tumblr.com/tumblr_llt52dyWqM1qzb42bo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Temp office for SBM (at least for today until FiOS gets their act together)&lt;/p&gt;</description><link>http://danielhughes.com/post/5866030392</link><guid>http://danielhughes.com/post/5866030392</guid><pubDate>Thu, 26 May 2011 10:43:19 -0400</pubDate></item><item><title>File this under “Why didn’t I think of that”.</title><description>&lt;iframe src="http://player.vimeo.com/video/23617327" width="400" height="225" frameborder="0"&gt;&lt;/iframe&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;File this under “Why didn’t I think of that”.&lt;/p&gt;</description><link>http://danielhughes.com/post/5607018759</link><guid>http://danielhughes.com/post/5607018759</guid><pubDate>Wed, 18 May 2011 10:34:28 -0400</pubDate><category>coffee joulies</category><category>joulies</category><category>coffee</category></item><item><title>Awesome.  Thanks @Stefmara. </title><description>&lt;img src="http://28.media.tumblr.com/tumblr_lldgqyad4M1qzb42bo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Awesome.  Thanks @Stefmara. &lt;/p&gt;</description><link>http://danielhughes.com/post/5597417226</link><guid>http://danielhughes.com/post/5597417226</guid><pubDate>Tue, 17 May 2011 23:37:46 -0400</pubDate><category>space shuttle endeavour</category><category>shuttle</category><category>endeavour</category></item><item><title>Focus</title><description>&lt;p&gt;&lt;img src="http://farm2.static.flickr.com/1424/627226315_325aa7b527_b.jpg" width="1024" height="683"/&gt;&lt;/p&gt;
&lt;p&gt;Quitting one’s job to become a full-time entrepreneur is one hell of a time-management tool (although admittedly not for everyone).  When I worked for someone else it was easy to steal away a small amount of time to work on things that perhaps weren’t a huge priority for the company but were simply interesting to me.  Google has their official “20% time” that both acknowledges and encourages this.  I never worked for Google but it could be said that I always implemented my own personal 20% policy in every job I’ve ever had.*  However, that was then.  Things are very different as an entrepreneur.  All hours of the day I find myself thinking “is what I’m doing right this very moment going to help me get more customers (or retain the ones I’ve got)?”  It’s amazing how powerful that question is and how easy it becomes to know what you should be doing at every moment of the day.  In fact, I’m asking myself that question right now and that’s why I’m ending this post.&lt;/p&gt;

&lt;p&gt;* Actually in practice it was more like a 120% policy, as in my job consumes 100% and I find another 20% elsewhere for my projects :)&lt;/p&gt;

&lt;p&gt;Photo by &lt;a target="_blank" href="http://www.flickr.com/photos/ihtatho/"&gt;Ihtatho&lt;/a&gt;&lt;/p&gt;</description><link>http://danielhughes.com/post/4441123220</link><guid>http://danielhughes.com/post/4441123220</guid><pubDate>Fri, 08 Apr 2011 10:21:00 -0400</pubDate><category>focus</category><category>storagebymail</category><category>entrepreneurship</category><category>time-management</category><category>productivity</category></item><item><title>Need some input, what exactly constitutes a tech company these days? Is Groupon a tech company?</title><description>&lt;p&gt;A lot of businesses these days are claiming to be “tech companies”.  I’m guilty of it too.  I routinely position StorageByMail as a technology company when it suits me.  And I can make a very compelling case when I describe how StorageByMail is the technology layer that connects consumers, delivery companies and operators of major fulfillment centers to deliver a superior storage experience.  But are we really a tech company? Put another way, when we’re a big public company would you say we’re more likely to be compared with Public Storage (NYSE:&lt;a target="_blank" href="http://www.google.com/finance?q=Public+Storage"&gt;PSA&lt;/a&gt;) or with Salesforce (NYSE:&lt;a target="_blank" href="http://www.google.com/finance?q=crm"&gt;CRM&lt;/a&gt;)? My guess would be the former.&lt;br/&gt;&lt;br/&gt;I find it strange when I read articles in the media about Groupon.  Reporters all describe Groupon as a tech company.  And the supposed tech blogs seem to agree that Groupon is a tech company judging by the quantity of articles.  I suppose to some extent if Google attempts to buy your company that automatically qualifies you as a tech company.&lt;br/&gt;&lt;br/&gt;The point of this post is not to say who is a tech company and who is not.  I don’t know the answer to that question.  And at the end of the day it probably doesn’t matter as long as companies are creating value and delivering on their plan.  But in the interest of satisfying my curiosity I thought I’d write this post to see what others think.&lt;br/&gt;&lt;br/&gt;Let me know your thoughts in the comments.  Is Groupon a tech company? What about StorageByMail? Of all the companies covered on TechCrunch, what percentage would you say are truly tech companies?&lt;/p&gt;</description><link>http://danielhughes.com/post/3363277094</link><guid>http://danielhughes.com/post/3363277094</guid><pubDate>Fri, 18 Feb 2011 10:24:00 -0500</pubDate><category>groupon</category><category>storagebymail</category><category>public storage</category><category>salesforce</category><category>tech c</category><category>tech crunch</category></item><item><title>Nobody really gives a damn what you built your site in (why I chose asp.net).</title><description>&lt;p&gt;Here’s a surefire way to spark a heated discussion —- ask a bunch of technology entrepreneurs what they think is the best technology stack on which to build your company.  I did this over and over again before I building &lt;a href="http://www.storagebymail.com" target="_blank"&gt;StorageByMail.com&lt;/a&gt;.  There are those who will make a very compelling case for Ruby on Rails, while others will swear by PHP, Python, or even Microsoft ASP.NET.  Can Rails scale?  Is Microsoft evil? Is the Python developer community robust? I’ve heard all of the arguments and I still can’t answer a single one of these questions.  Nor can I tell you what is the best technology stack.  But I had a decision to make.  I went with Microsoft ASP.NET (and C#), a technology that would rank about one notch above Cobol if one were to rank technologies according to coolness.  Here’s why I made the choice I did:&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;I don’t have a computer science background and as a newbie I found ASP.NET to be unmatched in terms of documentation, the developer community and the quality of its IDE (Visual Studio).  These things are important if you’re a beginner.&lt;/li&gt;
&lt;li&gt;Hiring quality coders on a bootstrapper’s budget is easier for ASP.NET than it is for anything open source.  It just is.  If you go the open source route you have to compete with the all the cool kids (Tumblr, Etsy, etc) for talent whereas with Microsoft products you’re competing with Dundler Mifflin.  It’s not about the quality of the talent.  It’s a simple supply and demand question.&lt;/li&gt;
&lt;li&gt;An exit strategy should to some extent inform your technology decisions.  In the case of StorageByMail we’re far more likely to catch the eye of Public Storage or Fedex than Google or Facebook.  I made a list of likely acquirers and then looked at what kind of programming skills they hire for.  It was clear they all favor Microsoft.  All things being equal it seemed logical to do the same.&lt;/li&gt;
&lt;li&gt;Upon examining my own personal network I realized that I had a good support network of C# programmers to rely upon.  And I knew that I was going to be asking them a lot of dumb questions when I ran into trouble.  So I might as well work in their language of choice.&lt;/li&gt;
&lt;/ol&gt;&lt;p&gt;At the end of the day things just have to work and customers don’t give a shit what technology you built your site on.  Make a choice and move on.  Looking back it’s probably one of the least significant decisions I’ve made to date (though I do admittedly have a minor case of Rails envy).&lt;/p&gt;
&lt;!--EndFragment--&gt;</description><link>http://danielhughes.com/post/3321105732</link><guid>http://danielhughes.com/post/3321105732</guid><pubDate>Tue, 15 Feb 2011 22:41:00 -0500</pubDate><category>c-sharp</category><category>asp.net</category><category>ruby on rails</category><category>php</category><category>python</category><category>storagebymail</category></item><item><title>This is not a good day if you need emergency services.  I helped...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_le3exvy2fj1qzb42bo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;This is not a good day if you need emergency services.  I helped these people push the ambulance out only to walk by five minutes later to see another ambulance stuck in the same spot!&lt;/p&gt;
&lt;p&gt;Note to all plow drivers, the next time you drive by an emergency vehicle stuck in a snow bank, pull over and help out!!! I couldn’t believe how many Hoboken city plows drove by and ignored my efforts to flag them down.  They looked and just kept on going.  One even pulled over a half block ahead to get his breakfast rather than help us.  Unbelievable! Time to crack some heads Mayor Zimmer.&lt;/p&gt;</description><link>http://danielhughes.com/post/2483169957</link><guid>http://danielhughes.com/post/2483169957</guid><pubDate>Mon, 27 Dec 2010 10:25:00 -0500</pubDate></item><item><title>Can’t wait to play in this tomorrow!</title><description>&lt;img src="http://28.media.tumblr.com/tumblr_le2pvbfZNi1qzb42bo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Can’t wait to play in this tomorrow!&lt;/p&gt;</description><link>http://danielhughes.com/post/2479151113</link><guid>http://danielhughes.com/post/2479151113</guid><pubDate>Mon, 27 Dec 2010 01:24:18 -0500</pubDate></item><item><title>Big Air in Jersey City</title><description>&lt;p&gt;These guys put on a hell of a show yesterday in Pavonia Newport.&lt;/p&gt;
&lt;p&gt;&lt;a title="Photo &amp; Video Sharing by SmugMug" href="http://supercoolbean.smugmug.com/Street-Scenes/Out-About-in-Pavonia-Newport/13932334_MQrHN#1023014635_nPcWf-A-LB" target="_blank"&gt;&lt;img src="http://supercoolbean.smugmug.com/Street-Scenes/Out-About-in-Pavonia-Newport/P1030843/1023014635_nPcWf-M.jpg" title="Photo &amp; Video Sharing by SmugMug" alt="Photo &amp; Video Sharing by SmugMug"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://supercoolbean.smugmug.com/Street-Scenes/Out-About-in-Pavonia-Newport/13932334_MQrHN#1023015383_ttw5G-A-LB" target="_blank"&gt;&lt;img src="http://supercoolbean.smugmug.com/Street-Scenes/Out-About-in-Pavonia-Newport/P1030844/1023015383_ttw5G-M.jpg"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://supercoolbean.smugmug.com/Street-Scenes/Out-About-in-Pavonia-Newport/13932334_MQrHN#1023016189_NoCVS-A-LB" target="_blank"&gt;&lt;img src="http://supercoolbean.smugmug.com/Street-Scenes/Out-About-in-Pavonia-Newport/P1030845/1023016189_NoCVS-M.jpg"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://supercoolbean.smugmug.com/Street-Scenes/Out-About-in-Pavonia-Newport/13932334_MQrHN#1023033771_bd5DS-A-LB" target="_blank"&gt;&lt;img src="http://supercoolbean.smugmug.com/Street-Scenes/Out-About-in-Pavonia-Newport/P1030869/1023033771_bd5DS-M.jpg"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://supercoolbean.smugmug.com/Street-Scenes/Out-About-in-Pavonia-Newport/13932334_MQrHN#1023034440_RSpij-A-LB" target="_blank"&gt;&lt;img src="http://supercoolbean.smugmug.com/Street-Scenes/Out-About-in-Pavonia-Newport/P1030870/1023034440_RSpij-M.jpg"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://supercoolbean.smugmug.com/Street-Scenes/Out-About-in-Pavonia-Newport/13932334_MQrHN#1023035052_iCuzL-A-LB" target="_blank"&gt;&lt;img src="http://supercoolbean.smugmug.com/Street-Scenes/Out-About-in-Pavonia-Newport/P1030871/1023035052_iCuzL-M.jpg"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://supercoolbean.smugmug.com/Street-Scenes/Out-About-in-Pavonia-Newport/13932334_MQrHN#1023035768_kVLsR-A-LB" target="_blank"&gt;&lt;img src="http://supercoolbean.smugmug.com/Street-Scenes/Out-About-in-Pavonia-Newport/P1030872/1023035768_kVLsR-M.jpg"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://supercoolbean.smugmug.com/Street-Scenes/Out-About-in-Pavonia-Newport/13932334_MQrHN#1023007431_UDqzn-A-LB" target="_blank"&gt;&lt;img src="http://supercoolbean.smugmug.com/Street-Scenes/Out-About-in-Pavonia-Newport/P1030838/1023007431_UDqzn-M.jpg"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://supercoolbean.smugmug.com/Street-Scenes/Out-About-in-Pavonia-Newport/13932334_MQrHN#1023008552_eKpnE-A-LB" target="_blank"&gt;&lt;img src="http://supercoolbean.smugmug.com/Street-Scenes/Out-About-in-Pavonia-Newport/P1030839/1023008552_eKpnE-M.jpg"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://supercoolbean.smugmug.com/Street-Scenes/Out-About-in-Pavonia-Newport/13932334_MQrHN#1023014635_nPcWf-A-LB" target="_blank"&gt;&lt;img src="http://supercoolbean.smugmug.com/Street-Scenes/Out-About-in-Pavonia-Newport/P1030843/1023014635_nPcWf-M.jpg"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://supercoolbean.smugmug.com/Street-Scenes/Out-About-in-Pavonia-Newport/13932334_MQrHN#1023015383_ttw5G-A-LB" target="_blank"&gt;&lt;img src="http://supercoolbean.smugmug.com/Street-Scenes/Out-About-in-Pavonia-Newport/P1030844/1023015383_ttw5G-M.jpg"/&gt;&lt;/a&gt;&lt;/p&gt;</description><link>http://danielhughes.com/post/1193805344</link><guid>http://danielhughes.com/post/1193805344</guid><pubDate>Sun, 26 Sep 2010 16:52:47 -0400</pubDate><category>jersey city</category><category>pavonia newport</category><category>bikes</category><category>stunts</category></item><item><title>September is the best time of year in New York.</title><description>&lt;img src="http://28.media.tumblr.com/tumblr_l84tzzFEuu1qzb42bo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;September is the best time of year in New York.&lt;/p&gt;</description><link>http://danielhughes.com/post/1054302883</link><guid>http://danielhughes.com/post/1054302883</guid><pubDate>Thu, 02 Sep 2010 14:28:47 -0400</pubDate><category>nyc</category><category>new york</category><category>new york city</category><category>september</category><category>pic</category></item><item><title>Explaining "int main (int argc, const char * argv[])"</title><description>&lt;p&gt;In my quest to teach myself C, I’ve started every program with the same basic function “main()”.&lt;/p&gt;
&lt;p&gt;For example,&lt;/p&gt;
&lt;p&gt;#include &lt;stdio.h&gt;&lt;/p&gt;
&lt;p&gt;main()&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;printf(“Hello World”);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;So I was puzzled when I began using Xcode on the Mac.  Xcode begins every new C project with the following as the main function&lt;/p&gt;
&lt;p&gt;“int main(int argc, const char * argv[])”&lt;/p&gt;
&lt;p&gt;You’re probably wondering what the difference is and so was I.  So I turned to Google and found the answer.  The parameter argc is the &lt;strong&gt;argument c&lt;/strong&gt;ount at the time the program is invoked.  For example, if your program was called “dan” and you typed “dan one two” into the command line the computer would execute dan.exe after passing “one” and “two” into the program.  The value stored in the program for argc would be 3 (including the program name).  The parameter argv on the other hand is the actual array of arguments. In our example the array of arguments would be&lt;/p&gt;
&lt;p&gt;argv[0] = “dan”&lt;/p&gt;
&lt;p&gt;argv[1] = “one”&lt;/p&gt;
&lt;p&gt;argv[2] = “two”&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;It’s pretty common to pass arguments into a program when invoking it.  Therefore it makes sense that Xcode adds these parameters to the main function by default.  I’m glad I learned that.&lt;/span&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;</description><link>http://danielhughes.com/post/1028704418</link><guid>http://danielhughes.com/post/1028704418</guid><pubDate>Sat, 28 Aug 2010 23:20:06 -0400</pubDate><category>c programming</category></item><item><title>sunset on the open road</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_l7vhq5TprL1qzb42bo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;sunset on the open road&lt;/p&gt;</description><link>http://danielhughes.com/post/1026081974</link><guid>http://danielhughes.com/post/1026081974</guid><pubDate>Sat, 28 Aug 2010 13:25:17 -0400</pubDate><category>sunset</category><category>photos</category><category>pictures</category><category>pics</category></item><item><title>Recap of first Business People Who Code Meetup</title><description>&lt;p&gt;On August 5th we held our first ever Business People Who Code Meetup event. The event was an Introduction to C Programming and it was the first of what will hopefully be a series of events designed to teach programming skills to business people and business skills to programmers.&lt;/p&gt;
&lt;p&gt;Here’s my long overdue recap of the event…&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;APPRECIATION&lt;/strong&gt;&lt;br/&gt;Thanks Frank Yee for volunteering to teach C programming to all us newbies. This is what this group is all about, members stepping up to share their skills and expertise with others.&lt;/p&gt;
&lt;p&gt;Thanks Iliya Fridman and &lt;a target="_blank" href="http://www.google.com/url?sa=t&amp;source=web&amp;cd=1&amp;ved=0CBkQFjAA&amp;url=http%3A%2F%2Fwww.cprogramming.com%2Fwhyc.html&amp;rct=j&amp;q=why%20learn%20c&amp;ei=IvN3TKDwA8GB8gaskL3sBg&amp;usg=AFQjCNHQzJqxfm8mp5CHb2p-6FQfIAx6Lg&amp;sig2=J0DON_ibfcozwjeEHI9Pdw&amp;cad=rja"&gt;Fridman Law Group&lt;/a&gt; for hosting us. You have an awesome space.&lt;/p&gt;
&lt;p&gt;Thanks also to everyone who attended.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;TOPICS COVERED&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Why learn C —- Frank spoke eloquently on the topic, but in case you missed it &lt;a target="_blank" href="http://www.google.com/url?sa=t&amp;source=web&amp;cd=1&amp;ved=0CBkQFjAA&amp;url=http%3A%2F%2Fwww.cprogramming.com%2Fwhyc.html&amp;rct=j&amp;q=why%20learn%20c&amp;ei=IvN3TKDwA8GB8gaskL3sBg&amp;usg=AFQjCNHQzJqxfm8mp5CHb2p-6FQfIAx6Lg&amp;sig2=J0DON_ibfcozwjeEHI9Pdw&amp;cad=rja"&gt;here’s an article&lt;/a&gt; that makes a pretty good case for learning C as your first programming language.&lt;/li&gt;
&lt;li&gt;Installing GCC and compiling your first program —- you can’t compile an executable program without a compiler. GCC is the most widely used and it’s completely open source. &lt;a target="_blank" href="http://www.google.com/url?sa=t&amp;source=web&amp;cd=1&amp;ved=0CBMQFjAA&amp;url=http%3A%2F%2Fgcc.gnu.org%2Finstall%2F&amp;rct=j&amp;q=install%20gcc&amp;ei=_fJ3TIiiI8GC8gaX6YDEBw&amp;usg=AFQjCNF4ym5J3EoCvwgLJuX0KZjK03OCTg&amp;sig2=swEyyzeeNlUxleWnfJza4Q&amp;cad=rja"&gt;Click here&lt;/a&gt; to download and install it.&lt;/li&gt;
&lt;li&gt;Writing a first program —- In our first example we learned about standard libraries (e.g. stdio.h), variables, printf and arrays. Be sure you’re familiar with these topics before the next &lt;a target="_blank" href="http://www.meetup.com/business-people-who-code"&gt;Meetup&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;&lt;strong&gt;RESOURCES&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Frank recommended a great text book for learning C. I’ll link to it here once I get the name.&lt;/li&gt;
&lt;li&gt;How Stuff Works published a solid beginners &lt;a target="_blank" href="http://www.google.com/url?sa=t&amp;source=web&amp;cd=1&amp;ved=0CBMQFjAA&amp;url=http%3A%2F%2Fwww.howstuffworks.com%2Fc.htm&amp;rct=j&amp;q=HOW%20STUFF%20WORKS%20C&amp;ei=oux3TP-aGYH98AavpuGnBw&amp;usg=AFQjCNHyizuRmn_1BfJTDUcKlTZ9gR2ABg&amp;sig2=pBQsjgQX7MRMGf_y3E1Jow&amp;cad=rja"&gt;tutorial&lt;/a&gt; that is a must-read.&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;&lt;strong&gt;THINGS I LEARNED&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;After Frank’s lecture, a lot of self-study and some trial and error, I wrote and compiled a little program that actually does something useful.  It’s a quiz engine that asks three simple questions about programming in C. The source code appears below. Try typing it into your text editor and compiling it.  It really works!&lt;/p&gt;
&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_l7tmxgiae21qzzyfo.jpg"/&gt;&lt;/p&gt;
&lt;p&gt;All of the questions and answers are in the code, so it’s clearly not a scalable quiz engine. One wouldn’t want to have to edit source code and recompile the program just to change the questions and answers. Therefore my next task will be to figure out how to load the quiz data from an external file.  Perhaps we’ll even cover that during the next Meetup. Sign up today!&lt;/p&gt;</description><link>http://danielhughes.com/post/1020580514</link><guid>http://danielhughes.com/post/1020580514</guid><pubDate>Fri, 27 Aug 2010 13:24:00 -0400</pubDate><category>c programming</category><category>business people who code</category><category>meetup</category></item></channel></rss>

