<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>Engineer Without a Cause</title><link href="http://engineerwithoutacause.com" rel="alternate"></link><link href="http://engineerwithoutacause.com/feeds/all.atom.xml" rel="self"></link><id>http://engineerwithoutacause.com</id><updated>2014-03-16T14:42:00+01:00</updated><entry><title>Port Forward an old Airport Express</title><link href="http://engineerwithoutacause.com/port-forward-an-old-airport-express.html" rel="alternate"></link><updated>2014-03-16T14:42:00+01:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/port-forward-an-old-airport-express.html</id><summary type="html">&lt;p&gt;I am setting up one of my old laptops to be a remote access point into my home network. After setting up no-ip.com on my machine to circumvent the static IP requirement, all I needed to do was forward a specific port in my router to the internal machine. Unfortunately I have a pretty old Airport Express and the latest Airport Utility didn't support it. I went on to apple.com and downloaded a supported version but found that it didn't work on Mavericks. Thankfully the forums on Apple support led me to this &lt;a class="reference external" href="http://coreyjmahler.com/2013/10/24/airport-utility-5-6-1-on-os-x-10-9-mavericks/"&gt;Mavericks Airport Utility workaround&lt;/a&gt;. Thanks Corey! You just saved me a few bucks on a new router.&lt;/p&gt;
</summary><category term="mavericks"></category><category term="port-forwarding"></category><category term="airport express"></category></entry><entry><title>If Developers Took Steroids</title><link href="http://engineerwithoutacause.com/if-developers-took-steroids.html" rel="alternate"></link><updated>2013-08-14T08:34:00+02:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/if-developers-took-steroids.html</id><summary type="html">&lt;p&gt;This post inspired by Michael Ferris Smith's &lt;a class="reference external" href="http://www.nytimes.com/2013/08/11/opinion/sunday/what-if-novelists-took-steroids.html"&gt;What if Novelists Took Steroids&lt;/a&gt; in last week's New York Times Sunday Review.&lt;/p&gt;
&lt;hr class="docutils" /&gt;
&lt;p&gt;Your startup is floundering. You have just launched your MVP but it's not getting the traction you need to begin to show investors. Someone in your incubator tells you it's too soon to pivot, but you're not sure yet because you haven't yet gotten to that chapter in &lt;a class="reference external" href="http://www.amazon.com/gp/product/0307887898/ref=as_li_ss_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=390957&amp;amp;creativeASIN=0307887898&amp;amp;linkCode=as2&amp;amp;tag=engiwithacaus-20"&gt;The Lean Startup.&lt;/a&gt; Your co-founder has just left for another startup. The mattress you picked up off Craigslist (in order to maintain Ramen profitable) has bed bugs. &lt;strong&gt;You are distraught, uninspired and itchy.&lt;/strong&gt; Maybe you should just throw it all away and go back to your analyst job.&lt;/p&gt;
&lt;p&gt;Then late one night after a Node meetup an especially sketchy looking guy you hadn't seen before calls you over into a dark corner conference room. As you notice his scraggy appearance and the odorous air wafting from the room, your first thought is to politely decline, but he insists. &lt;em&gt;&amp;quot;Come here. Check out this code I've been working on.&amp;quot;&lt;/em&gt; Reluctantly you take a look. &lt;strong&gt;He shows you the most beautiful project you've ever seen.&lt;/strong&gt; Excellent code, over 50,000 lines, 99% test coverage, 100% PEP-8 compliant. You start to drool a bit. &lt;em&gt;&amp;quot;Wow man, this must have taken you a long time,&amp;quot;&lt;/em&gt; you posit. He tells you it only took him a few hours and then pulls you close and whispers in your ear the name of his &lt;strong&gt;secret coder steroid.&lt;/strong&gt; You think he's crazy and go home.&lt;/p&gt;
&lt;p&gt;Later that night you find his code on GitHub and start poking around. The commit tree suggests he wasn't lying. 12000 commits in only a few hours! Feeling hopeless about your own situation you google his secret steroid and find its available next day on Amazon prime. You go for it.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;It arrives, you take it. What's the worst that can happen?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;All of a sudden you are pushing code at an alarming rate, covering all edge cases and with full test coverage. You are crushing JIRA tickets with immense speed. GitHub begins to rate limit your computers IP address because your commit/push flow triggers its spam algorithms. As feature after feature gets rolled out, your (few) users are astounded that it's changing so fast. They start using the feedback button more because they have discovered the &lt;strong&gt;1 hour turnaround time on all of their feature requests.&lt;/strong&gt; This just fuels you more as you begin to compete against yourself to lower that turnaround time. Out of nowhere your user base explodes, but that's fine because you built auto-scaling into your product a few hours ago. You hit the 10,000 user mark shortly after lunch. 50,000 the next day. &lt;strong&gt;A million users at the end of the week.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Out of nowhere VCs start emailing and calling. After the first 50 emails slow your speed down, you build a VC bot that auto-replies to them, statistically increasing your valuation and funding expectations in each email. The reply algorithm bases its responses on how many VCs have hit you up, the hockey stick growth of your users and the &lt;strong&gt;insanely unheard of 83.6% conversion rate of your Freemium model.&lt;/strong&gt; Your VC bot agrees to a $30 million raise on a &lt;strong&gt;$1 billion pre-money valuation from a top tier firm.&lt;/strong&gt; You have raised the best round in history.&lt;/p&gt;
&lt;p&gt;Michael Arrington friends you on Facebook.  Walter Isaacson begins to write your biography. Ashton Kutcher signs on to play you in the trilogy just created by Lucas Films. Robert Scoble invites you to join him on &amp;quot;this awesome new network&amp;quot; CrEEpr. A bidding war starts between Disney, Time Warner, that extremely rich Russian guy and Jeff Bezos. You move your product from alpha to beta. &lt;strong&gt;PG posts your startup on HN.&lt;/strong&gt; You instantly get a million karma points. Your life's complete. You've made it.&lt;/p&gt;
&lt;p&gt;That's when you realize that those performance enhancers you were taking were actually just making you dream and that six days later, you haven't moved from your your bedbug bed. Distraught, dirty and smelly you check your email.&lt;/p&gt;
&lt;p&gt;7 new users signed up. Not so bad!&lt;/p&gt;
</summary><category term="startups"></category><category term="steroids"></category></entry><entry><title>We Need Elon Musk</title><link href="http://engineerwithoutacause.com/we-need-elon-musk.html" rel="alternate"></link><updated>2013-08-13T07:56:00+02:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/we-need-elon-musk.html</id><summary type="html">&lt;p&gt;Yesterday Elon Musk unveiled his &lt;a class="reference external" href="http://www.spacex.com/hyperloop"&gt;grand plans to build Hyperloop,&lt;/a&gt; his high speed supersonic solar-powered rail that will transport people from San Francisco to LA at 800 miles per hour.&lt;/p&gt;
&lt;p&gt;A week earlier his electric car company Tesla, &lt;a class="reference external" href="http://www.forbes.com/sites/markrogowsky/2013/08/07/tesla-sees-sales-doubling-as-it-seeks-to-conquer-the-world"&gt;continued to crush its quarterly earnings&lt;/a&gt; and continued to blow past everyone's expectations as it sells more and more electric cars to people all over the country.&lt;/p&gt;
&lt;p&gt;A few months earlier Elon Musk's Space Transport company SpaceX, had one of &lt;a class="reference external" href="http://www.spacex.com/news/2013/03/03/happy-berth-day"&gt;it's spacecraft berth at the International Space Station,&lt;/a&gt; becoming the first commercial space craft to ever deliver cargo to the ISS.&lt;/p&gt;
&lt;p&gt;Many years earlier, Elon Musk launched X.com, which together with Confinity, became the world-changing e-commerce platform &lt;a class="reference external" href="https://en.wikipedia.org/wiki/PayPal"&gt;known now by everyone as Paypal.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Elon Musk lives in the future and he is bringing it back in time to us.&lt;/strong&gt; Whether or not any of his newer ventures or ideas ultimately succeed, he has embodied a spirit of turning ideas into reality. &lt;strong&gt;He is the Tony Stark and Buzz Aldrin of this generation's youth.&lt;/strong&gt; America and the world needs more entrepreneurs tackling these hard problems, these sci-fi problems and these world-changing problems. What might change if his story was added to the science curriculum around this country? Who might be inspired to choose a different career path? Or to choose a different course of study? Or to participate in their middle school science fair?&lt;/p&gt;
&lt;p&gt;Traditionally dominated by athletes, musicians and politicians, Zuckerburg has already broken through the role model ceiling (a silicon ceiling?) inspiring millions to join the startup movement.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What will Elon Musk inspire?&lt;/strong&gt;&lt;/p&gt;
&lt;div class="align-center figure"&gt;
&lt;img alt="images/musk.gif" src="images/musk.gif" /&gt;
&lt;/div&gt;
</summary><category term="elon musk"></category><category term="innovation"></category><category term="education"></category></entry><entry><title>Crossword Scraper</title><link href="http://engineerwithoutacause.com/crossword-scraper.html" rel="alternate"></link><updated>2013-07-03T10:41:00+02:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/crossword-scraper.html</id><summary type="html">&lt;p&gt;While abroad we couldn't find a New York Times anywhere in order to grab the crossword. After a few months we finally caved in to the $7 a month subscription for access to the NYTimes Crossword archive of over 5,000 puzzles. It is ridiculous that this subscription is separate of their other digital subscription pricing, but unfortunately they hold the keys to the puzzles.&lt;/p&gt;
&lt;div class="align-center figure"&gt;
&lt;img alt="images/Bill-Clinton-Crossword.jpg" src="images/Bill-Clinton-Crossword.jpg" style="width: 300px;" /&gt;
&lt;/div&gt;
&lt;p&gt;Now that we are back, I don't need this subscription anymore, but that didn't hold me back from writing a script that will download the whole archive for my personal use. &lt;a class="reference external" href="https://github.com/jsh2134/crossword_scraper"&gt;Get the code on github here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Also if you haven't yet seen the &lt;a class="reference external" href="http://www.amazon.com/gp/product/B000HLDFR2/ref=as_li_ss_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=390957&amp;amp;creativeASIN=B000HLDFR2&amp;amp;linkCode=as2&amp;amp;tag=engiwithacaus-20"&gt;documentary Wordplay about the NYTimes puzzle and the annual crossword convention,&lt;/a&gt; I highly recommend it. It stars Will Shortz and a bunch of famous crossword-ers like Jon Stewart, Ken Burns and Bill Clinton.&lt;/p&gt;
&lt;div class="align-center figure align-right"&gt;
&lt;img alt="images/wordplay-dvd-poster.jpg" src="images/wordplay-dvd-poster.jpg" style="width: 300px;" /&gt;
&lt;/div&gt;
&lt;p&gt;&lt;a class="reference external" href="http://www.amazon.com/gp/product/B000HLDFR2/ref=as_li_ss_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=390957&amp;amp;creativeASIN=B000HLDFR2&amp;amp;linkCode=as2&amp;amp;tag=engiwithacaus-20"&gt;Wordplay&lt;/a&gt;&lt;/p&gt;
</summary><category term="scraper"></category><category term="crosswords"></category><category term="code"></category></entry><entry><title>Git Conflicts in your Binary Files</title><link href="http://engineerwithoutacause.com/git-conflicts-in-your-binary-files.html" rel="alternate"></link><updated>2013-06-30T11:43:00+02:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/git-conflicts-in-your-binary-files.html</id><summary type="html">&lt;p&gt;Your team is behind schedule. You are supposed to have shipped 3 days ago. You have a groupon for the latest Superman movie and it expires tonight! Your dog hasn't been out yet and she is known to pee all over your roommate's bed! By your independent calculations the Aztec calendar shows tonight is the night where the planets align just right to point out the site of Montezuma's golden tomb!&lt;/p&gt;
&lt;p&gt;All you need to do is merge these two git branches and you are home free.&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ git commit -m 'last testsuite written, i am home free'
$ git push origin feat_complicated_codes
$ git checkout deploy_branch
$ git merge feat_complicated_codes
   CONFLICT
&lt;/pre&gt;
&lt;p&gt;No one likes git conflicts. It is even worse if the conflict is on a binary file. Open it up in vim and you cant tell one character from another. Don't fret though. You won't need to parse through binary garbage and select the correct characters. You also won't need to look for some random git command or attempt to remember whether you should reset, revert or rebase what you just did. Just do a normal checkout of the version that you want with an added &amp;quot;--ours&amp;quot; or &amp;quot;--theirs&amp;quot; tag. The syntax is simple. Pick the file you want and you are home free. Another reason to love git.&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ git checkout --ours -- path/to/binary_crap.bin
$ git checkout --theirs -- path/to/binary_crap.bin
&lt;/pre&gt;
&lt;div class="align-center figure align-right"&gt;
&lt;img alt="images/git-conflict.jpg" src="images/git-conflict.jpg" style="width: 500px;" /&gt;
&lt;/div&gt;
</summary><category term="git"></category><category term="conflict"></category><category term="binary file"></category></entry><entry><title>Japanese Sidewalk Interfaces</title><link href="http://engineerwithoutacause.com/japanese-sidewalk-interfaces.html" rel="alternate"></link><updated>2013-05-29T11:20:00+02:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/japanese-sidewalk-interfaces.html</id><summary type="html">&lt;p&gt;Designing user interfaces is hard. It could take months to do and then another couple to find out that it's not working. All the sudden it's back to the drawing board.&lt;/p&gt;
&lt;p&gt;So imagine designing one that's more or less permanent. One that isn't digital, but physical. Imagine designing one that is to be used in a whole country. Then design it for blind people.&lt;/p&gt;
&lt;p&gt;I encountered this while in Japan. Most sidewalks in between train stations in Tokyo, Kyoto and elsewhere have specially designed yellow paths leading from one station to another. They lead right from train exit doors and criss-cross the stations, going up stairs, down hallways, up to bathrooms and information booths, and out to taxi stands and bus stops. In Tokyo, most stations are even connected by this network of paths.&lt;/p&gt;
&lt;div class="align-center figure"&gt;
&lt;img alt="images/japan/DSC_0105.JPG" src="images/japan/DSC_0105.JPG" /&gt;
&lt;/div&gt;
&lt;p&gt;The path itself is raised off of the sidewalk in yellow rubber. It is about a meter across with 3cm grooves in it to let the user know that he/she is walking on it. When you reach a corner or a place to turn the grooves turn into circular bumps so your feet (or your guiding stick) are warned to stop, turn left or turn right.&lt;/p&gt;
&lt;div class="align-center figure"&gt;
&lt;img alt="images/japan/DSC_0106.JPG" src="images/japan/DSC_0106.JPG" /&gt;
&lt;/div&gt;
&lt;div class="align-center figure"&gt;
&lt;img alt="images/japan/DSC_0337.JPG" src="images/japan/DSC_0337.JPG" /&gt;
&lt;/div&gt;
&lt;p&gt;I tried walking it myself with my eyes closed, making sure to have someone nearby in case I walked into the road and got hit by a Toyota. It's hard to walk a straight line (try it) with your eyes shut (especially after a few Sapporos) but once you get the hang of walking with the nubs along the ground guiding you, even rounding a corner was quite easy.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;It reminded me just how hard it is to make a good UI that works for everyone, not just the power users.&lt;/strong&gt; The interface of arguably one of the world's best train systems is totally useless to people without the gift of sight. Only with the extra additions of these pathways does the train system become easily navigable by blind folks. What does your user interface expect people to have? Who does your interface exclude? New computer users? French speakers? Slow-typers? Android users?&lt;/p&gt;
&lt;p&gt;Don't get me wrong, I'm not suggesting you should make your website compatible for blind-people, although I am sure there is a market there. I am suggesting that you restate your assumptions about your users and think about all the cases you might be inadvertently excluding. &lt;strong&gt;Next time you are designing a piece of your UI, close your eyes for a minute and try to use your application that way.&lt;/strong&gt; I bet you can't and I bet you have users who feel the same way with their eyes open.&lt;/p&gt;
&lt;div class="align-center figure"&gt;
&lt;img alt="images/japan/DSC_0108.JPG" src="images/japan/DSC_0108.JPG" /&gt;
&lt;/div&gt;
&lt;div class="align-center figure"&gt;
&lt;img alt="images/japan/DSC_0340.JPG" src="images/japan/DSC_0340.JPG" /&gt;
&lt;/div&gt;
&lt;p&gt;&lt;em&gt;Yellow pathway along Tokyo Streets&lt;/em&gt;&lt;/p&gt;
</summary><category term="user interface"></category><category term="japan"></category></entry><entry><title>Introducing Kickbacker</title><link href="http://engineerwithoutacause.com/introducing-kickbacker.html" rel="alternate"></link><updated>2013-04-21T10:56:00+02:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/introducing-kickbacker.html</id><summary type="html">&lt;p&gt;It has been a long and amazing road since leaving Boston for Africa back in July. One of the many things I wanted to make sure I did while traveling was to keep coding and build something along the way. Using a new and different stack than I was used to. &lt;strong&gt;I happy to release KickBacker to the public today in *beta.*&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;KickBacker is a tool for KickStarter project owners to incentivize their backers to promote their project. The owners and backers are aligned around a common goal: &lt;strong&gt;Getting the Project Funded.&lt;/strong&gt; KickBacker allows project owners to give their backers an extra reward, a KickBack, to the backer who drives the most traffic to their project.&lt;/p&gt;
&lt;p&gt;Check it out at &lt;a class="reference external" href="http://kickbacker.co"&gt;http://kickbacker.co&lt;/a&gt; and let me know what you think.&lt;/p&gt;
&lt;p&gt;The app is built with Python using Flask, Jinja, Redis, Celery and is deployed to Amazon EC2 using Boto and Fabric.&lt;/p&gt;
</summary><category term="kickbacker"></category><category term="python"></category><category term="web app"></category></entry><entry><title>Real Life: Google Glass Done Wrong</title><link href="http://engineerwithoutacause.com/real-life-google-glass-done-wrong.html" rel="alternate"></link><updated>2013-03-31T14:42:00+02:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/real-life-google-glass-done-wrong.html</id><summary type="html">&lt;p&gt;There already exists a world where Google Glass is done wrong: I live in it. Here is a snapshot of a typical hour walking down the street.&lt;/p&gt;
&lt;div class="line-block"&gt;
&lt;div class="line"&gt;&lt;em&gt;&amp;quot;Motorbike?&amp;quot;&lt;/em&gt;&lt;/div&gt;
&lt;div class="line"&gt;&amp;quot;No.&amp;quot;&lt;/div&gt;
&lt;div class="line"&gt;&lt;em&gt;&amp;quot;Bike?&amp;quot;&lt;/em&gt;&lt;/div&gt;
&lt;div class="line"&gt;&amp;quot;No.&amp;quot;&lt;/div&gt;
&lt;div class="line"&gt;&lt;em&gt;&amp;quot;Good Price.&amp;quot;&lt;/em&gt;&lt;/div&gt;
&lt;div class="line"&gt;&amp;quot;No.&amp;quot;&lt;/div&gt;
&lt;div class="line"&gt;&lt;em&gt;&amp;quot;Best Price!&lt;/em&gt;&lt;/div&gt;
&lt;div class="line"&gt;&amp;quot;No.&amp;quot;&lt;/div&gt;
&lt;div class="line"&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div class="line"&gt;&lt;strong&gt;Two minutes later.&lt;/strong&gt;&lt;/div&gt;
&lt;div class="line"&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div class="line"&gt;&lt;em&gt;&amp;quot;Hello, boat ride?&amp;quot;&lt;/em&gt;&lt;/div&gt;
&lt;div class="line"&gt;&amp;quot;No.&amp;quot;&lt;/div&gt;
&lt;div class="line"&gt;&lt;em&gt;&amp;quot;Hotel?&amp;quot;&lt;/em&gt;&lt;/div&gt;
&lt;div class="line"&gt;&amp;quot;No.&amp;quot;&lt;/div&gt;
&lt;div class="line"&gt;&lt;em&gt;&amp;quot;Hello you!&amp;quot;&lt;/em&gt;&lt;/div&gt;
&lt;div class="line"&gt;&amp;quot;No.&amp;quot;&lt;/div&gt;
&lt;div class="line"&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div class="line"&gt;&lt;strong&gt;One minute later.&lt;/strong&gt;&lt;/div&gt;
&lt;div class="line"&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div class="line"&gt;&lt;em&gt;&amp;quot;What your name? Where are you from?&lt;/em&gt;&lt;/div&gt;
&lt;div class="line"&gt;&amp;quot;Hi I am Jeff from USA. And you? What is yours?&amp;quot;&lt;/div&gt;
&lt;div class="line"&gt;&lt;em&gt;&amp;quot;Motobike?&amp;quot;&lt;/em&gt;&lt;/div&gt;
&lt;div class="line"&gt;&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Aaaaaaaaarg!&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This is Vietnam. This is India. This is Nepal. This is Kenya. This is Thailand. This is just about every tourist district, beach or monument I have been to in the past nine months. &lt;a class="footnote-reference" href="#id3" id="id1"&gt;[1]&lt;/a&gt;  It is annoying, nonstop and unobstructed advertisements for products and services &lt;strong&gt;coming at me from all directions.&lt;/strong&gt;&lt;/p&gt;
&lt;div class="align-center figure"&gt;
&lt;img alt="images/glass.jpg" src="images/glass.jpg" /&gt;
&lt;/div&gt;
&lt;div class="line-block"&gt;
&lt;div class="line"&gt;&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;It is obtrusive, disheartening and debilitating. &lt;a class="footnote-reference" href="#id4" id="id2"&gt;[2]&lt;/a&gt; It's the scene at the entrance of an overnight bus &lt;strong&gt;swarming with rickshaw drivers screaming at you as arrive at a new city.&lt;/strong&gt; It's the Taj Mahal with complimentary Aquafina product placements upon entry. It's an African safari accompanied  by a  trinket salesman. It's the therapeutic sound of rolling waves on a beautiful Vietnamese beach interrupted by the waitress yelling 'HELLO!' at every newly arrived tourist looking for a beach chair.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;It's Google Glass with ads.&lt;/strong&gt; Google, don't make this the reality. Don't even make it a preference to turn on/off. Protect our dwindling rights to exist without being bombarded by a deal. &lt;strong&gt;Fund the Glass service with a large upfront cost, a subscription model or my first born son, but please, not with ads.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;Sooooooo, Motobike?&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;div class="line-block"&gt;
&lt;div class="line"&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div class="line"&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div class="line"&gt;&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;table class="docutils footnote" frame="void" id="id3" rules="none"&gt;
&lt;colgroup&gt;&lt;col class="label" /&gt;&lt;col /&gt;&lt;/colgroup&gt;
&lt;tbody valign="top"&gt;
&lt;tr&gt;&lt;td class="label"&gt;&lt;a class="fn-backref" href="#id1"&gt;[1]&lt;/a&gt;&lt;/td&gt;&lt;td&gt;These countries at some place exemplified these traits, but in now way do I generalize that the whole country is like that. There is still calm and beauty and peace to be found all over the world....and the real kind, not the artificial one created in exclusive walled-in resorts.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table class="docutils footnote" frame="void" id="id4" rules="none"&gt;
&lt;colgroup&gt;&lt;col class="label" /&gt;&lt;col /&gt;&lt;/colgroup&gt;
&lt;tbody valign="top"&gt;
&lt;tr&gt;&lt;td class="label"&gt;&lt;a class="fn-backref" href="#id2"&gt;[2]&lt;/a&gt;&lt;/td&gt;&lt;td&gt;I once had to console a South African traveler who, after being descended on by a pack of hungry taxi drivers, was sitting alone wrapped up in a ball, hugging his backpack -- his eyes moving around frantically, his breathing heavy.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
</summary><category term="google glass"></category><category term="marketing"></category><category term="ads"></category><category term="around the world"></category></entry><entry><title>Tux Trashcans</title><link href="http://engineerwithoutacause.com/tux-trashcans.html" rel="alternate"></link><updated>2013-03-13T18:20:00+01:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/tux-trashcans.html</id><summary type="html">&lt;p&gt;i was cycling through some pictures from India when I found some geekporn than I had taken. These trash cans all over the zoo in Mumbai look just like Linux's Tux.&lt;/p&gt;
&lt;div class="align-center figure"&gt;
&lt;img alt="images/tux.jpg" src="images/tux.jpg" /&gt;
&lt;/div&gt;
&lt;div class="align-center figure"&gt;
&lt;img alt="images/tux2.jpg" src="images/tux2.jpg" /&gt;
&lt;/div&gt;
</summary><category term="linux"></category><category term="tux"></category><category term="penguin"></category><category term="geekporn"></category></entry><entry><title>How Angry are your Developers?</title><link href="http://engineerwithoutacause.com/how-angry-are-your-developers.html" rel="alternate"></link><updated>2013-01-30T16:20:00+01:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/how-angry-are-your-developers.html</id><summary type="html">&lt;p&gt;While cursing in your git commit messages probably doesn't correlate to actual anger at your company, here is a quick an easy command to look for curses in your project git logs. (&lt;a class="reference external" href="https://gist.github.com/2140115"&gt;Based on this gist&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;From inside your git repository&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ git log --pretty=format:'%s' | tr '[:upper:]' '[:lower:]'
       | tr '[:space:]' '\n' | sort | uniq -c | sort -nr
       | grep -iE &amp;quot;(fuck|shit|bitch|damn|piss)&amp;quot;
&lt;/pre&gt;
&lt;p&gt;Looking at my last company's repository, it seems like there was a lot of anger.&lt;/p&gt;
&lt;pre class="literal-block"&gt;
18 fuck
7 bullshit
6 shit
4 damn
2 fuckin
1 shitty
1 shit,
1 fuckkkkkkkk
1 fuck'
&lt;/pre&gt;
&lt;p&gt;I thought about checking on GitHub for which projects contain the &amp;quot;angriest&amp;quot; developers. However after spot checking a few of the top projects (bootstrap, coffescript) there wasn't a single swear in their logs. Apparently these projects are a bit more professional than my last gig. Another roadblock was that I was unable to find a way to programmatically pull the most popular projects from GitHub without writing a full blown scraper of &lt;a class="reference external" href="https://github.com/popular/starred"&gt;their popular projects page.&lt;/a&gt; ) I did figure out how to pull down the commits for a repository though in case anyone is interested.&lt;/p&gt;
&lt;p&gt;Pull down commits for a project using &lt;a class="reference external" href="http://developer.github.com/v3/git/"&gt;the GitHub API.&lt;/a&gt;&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ curl -u '&amp;lt;github-username&amp;gt;' https://api.github.com/repos/mbostock/d3/commits
&lt;/pre&gt;
</summary><category term="git"></category><category term="github"></category><category term="commits"></category><category term="cursing"></category></entry><entry><title>A 500 Startups Model for the Art World</title><link href="http://engineerwithoutacause.com/a-500-startups-model-for-the-art-world.html" rel="alternate"></link><updated>2013-01-27T19:50:00+01:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/a-500-startups-model-for-the-art-world.html</id><summary type="html">&lt;p&gt;Thousands of unrecognized artists work late nights and weekends in their studios, basements and dorm rooms pursuing their creative calling. They will burn through their personal finances in this endeavor and tap their friends and family to be patrons or first time buyers. They will network at galleries and other artist events in the hope of getting noticed, getting a group or a solo show (getting their &amp;quot;product launch&amp;quot;). &lt;strong&gt;The &amp;quot;grind&amp;quot; of an artist is very similar to that of a startup entrepreneur.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Few will be successful, and most will &amp;quot;fail&amp;quot; at achieving any sort of financial return.&lt;/strong&gt; Many will abandon making art altogether, or sideline it as a hobby. The talented, connected or just plain lucky artists will be noticed and get notable galleries or patrons interested. They will receive lots of money for their works and have dealers and collectors constantly buying. They will be written up in top art publications by prominent critics. Successful contemporary artists will make art that sells in the tens of thousands of dollars.&lt;/p&gt;
&lt;p&gt;However being financially successful as an artist is a far less likely outcome than being financially successful as an entrepreneur. A talented developer has the skills that pay enough for him/her to work somewhere for a few years and save up money to quit their job and found a company. An extremely talented painter does not have that same option. More importantly &lt;strong&gt;there isn't the strong community and network of early-stage help, advice and cash infusions from others&lt;/strong&gt; that the startup community has: the hundreds of incubators and hackathons, the micro-angels and other angel groups, not to mention the entire VC industry. &lt;strong&gt;Yet Art is a lucrative market and fine art has long been considered a safe investment.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Artists need a lot of the same help that startups do.&lt;/strong&gt; I generalize here, but artists often lack money for supplies and want affordable studio space. They don't have the skills, the time or the access to proper marketing channels, and they don't have contact with gallery owners or art critics. &lt;strong&gt;Much of these resources come baked into startup incubators.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;So why hasn't the investment model changed for art? Where is the emerging artist fund? The arts incubator/accelator?
With the exception of the recent Kickstarters of the world (in 2012 more than 1000 &lt;a class="reference external" href="http://www.kickstarter.com/year/2012#category_overall"&gt;funded projects on Kickstarter  were in the Arts&lt;/a&gt;) &lt;strong&gt;there haven't been any disruptions in how art is funded.&lt;/strong&gt; Why wouldn't something like &lt;a class="reference external" href="http://ycombinator.com"&gt;YCombinator&lt;/a&gt; or &lt;a class="reference external" href="http://500startups.com"&gt;500 Startups&lt;/a&gt; which makes investments in hundreds of startups: bringing cash, counseling, marketing and its own network as a resource, work for the art industry? &lt;strong&gt;If $500K were spread out among 100 artists, what might happen?&lt;/strong&gt; Like any investment portfolio there would be successes and failures, there would be formulas to choosing good art and bad art, good artists and bad artists, but &lt;strong&gt;the returns on a $5K-$10K investment in an artist that funds a whole body of work which could sell for $10K per piece (and continue to rise in value) has a lot of potential.&lt;/strong&gt; If you end up funding the right artist their work could sell for hundreds of thousands of dollars.&lt;/p&gt;
&lt;p&gt;Of course there are details that would need to be worked out for anyone who pioneered this type of investment strategy. &lt;strong&gt;There are no Series Seed docs for artists.&lt;/strong&gt; It is not a common practice to &amp;quot;buy ownership&amp;quot; of an artist and once the work is sold to someone, you no longer have ownership of it. Generally speaking artists make money by selling their work privately or through a dealer or gallery. Galleries tend to take anywhere from 30%-70% of sales made through their galleries depending on what has been negotiated. Perhaps you get ownership of a percentage of the work made, thus giving yourself the opportunity to realize the appreciation of the value of the works as the artist becomes more famous.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;I wonder what Paul Graham, Dave McClure and Ron Conway think of this idea? Their investment strategies have revolutionized the startup market. Could they apply them to the art market?&lt;/strong&gt;&lt;/p&gt;
</summary><category term="art"></category><category term="funding"></category><category term="startups"></category><category term="incubators"></category></entry><entry><title>Unsubscribe from Black Friday/Cyber Monday</title><link href="http://engineerwithoutacause.com/unsubscribe-from-black-fridaycyber-monday.html" rel="alternate"></link><updated>2012-11-24T21:57:00+01:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/unsubscribe-from-black-fridaycyber-monday.html</id><summary type="html">&lt;p&gt;This weekend is special! Didn't you hear!? 20-90% off! Blowout Sales! Excuse to Spam! One Day Only!&lt;/p&gt;
&lt;p&gt;Living abroad I almost forgot about Black Friday and Cyber Monday. Two more holidays created (or hijacked) by the America retail machine for the purpose of selling more, more, MORE! Sales this weekend for Amazon, Woot, Kiva, Best Buy, Linode, Jet Blue, Fandango, Delta and NewEgg. Perfect timing Sears, I needed a &lt;strong&gt;Brand New EcoFriendly Washer/Dryer Combo!&lt;/strong&gt; Thanks New York Times, I will &lt;strong&gt;Lock in my Delivery Subscription at a Reduced Rate&lt;/strong&gt; even though you probably won't be printing on paper by the time that expires!&lt;/p&gt;
&lt;p&gt;I used to opt-in to these promotions for the purpose of research. My interest in reading the marketing emails was from a marketer's perspective: &lt;em&gt;What did they do well here, What did they do wrong? How could I make our startup's emails more/less like this one?&lt;/em&gt; So I'm used to managing tons of marketing emails. I would check my email, unrestricted, several times an hour from my phone, my work computer, my home computer or even someone else's computer, causing the volume to seem much smaller. In fact the only places I think I couldn't check were when I was in the shower (&lt;a class="reference external" href="http://www.forbes.com/sites/ericsavitz/2012/01/09/ces-at-long-last-you-can-shower-with-your-iphone/"&gt;although apparently you can now&lt;/a&gt;) and in the &lt;a class="reference external" href="https://twitter.com/search?q=green+line+sucks"&gt;crappy Green Line tunnel&lt;/a&gt; between Copley and Boylston.&lt;/p&gt;
&lt;p&gt;Traveling around Africa no longer affords me this constant and unfettered access, but it has exposed me more to the number of marketing messages and promotions I get on a daily basis. &lt;strong&gt;&amp;quot;Checking email&amp;quot; is now a planned activity,&lt;/strong&gt; an outing to an Internet cafe or WiFi-equipped hotel to get online. Now because of sheer inconvenience, I check once a day or every two days, leaving me a large number of unread marketing messages to comb through, and in the past few days especially, it is a &lt;strong&gt;large&lt;/strong&gt; number.&lt;/p&gt;
&lt;p&gt;Well not anymore. This weekend I am going to make the change. It's the best time to cut the cord. All of my &amp;quot;unSubscription&amp;quot; options are right there in my inbox, unread, staring back at me. To further filter, searching for the word &amp;quot;Unsubscribe&amp;quot; instantly &lt;strong&gt;shows me every company that I have no interest in hearing from again&lt;/strong&gt; and has given me a golden link to make that happen. Don't you wish Facebook had that option to easily silence all of your random &amp;quot;friends&amp;quot; from your News Feed?&lt;/p&gt;
&lt;p&gt;So go for it, UnSubscribe away! It's a great feeling to know you will never hear from some of these companies again. You will probably buy less crap that you don't need and best of all there will be a growth in Opt-out rates for these companies, potentially causing them to &lt;strong&gt;silence their spam cannons&lt;/strong&gt; once and for all.&lt;/p&gt;
&lt;div class="align-center figure"&gt;
&lt;img alt="images/black-friday.jpg" src="images/black-friday.jpg" /&gt;
&lt;/div&gt;
</summary><category term="unsubscribe"></category><category term="email marketing"></category><category term="spam"></category><category term="cyber monday"></category><category term="black friday"></category></entry><entry><title>Copyrighting Art into Obscurity</title><link href="http://engineerwithoutacause.com/copyrighting-art-into-obscurity.html" rel="alternate"></link><updated>2012-11-06T09:15:00+01:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/copyrighting-art-into-obscurity.html</id><summary type="html">&lt;p&gt;Some of the world's greatest artists are censored online because of copyright law. &lt;strong&gt;The artists and their works are being copyrighted into obscurity.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I was searching for some images of one of my favorite artists &lt;a class="reference external" href="http://en.wikipedia.org/wiki/Jean-Michel_Basquiat"&gt;Jean-Michel Basquiat&lt;/a&gt; and via Google image search stumbled across &lt;a class="reference external" href="http://www.wikipaintings.org/en/jean-michel-basquiat/philistines"&gt;wikipaintings.org&lt;/a&gt; Yet, when I clicked through to the actual site I was greeted by blocked images and a copyright message telling me the images are not available in my country because of copyright laws. In fact none of the work of Basquiat was available.&lt;/p&gt;
&lt;p&gt;Thinking perhaps it was related to copyright laws still in effect for a relatively recent artist or perhaps because he is American and I have a UK IP address here in Sierra Leone (geoiptool.com says so anyway) I thought I would try a more well-known and also well-dead artist. Yet, Picasso also came up with mostly blanks. What good is an art site without art on it? WikiPaintings is more &lt;strong&gt;an encyclopedia of Law than Visual Art.&lt;/strong&gt;&lt;/p&gt;
&lt;div class="align-center figure"&gt;
&lt;img alt="images/basquiat/basquiat-google.png" src="images/basquiat/basquiat-google.png" /&gt;
&lt;p class="caption"&gt;&lt;em&gt;Google image search displays the work.&lt;/em&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div class="align-center figure"&gt;
&lt;img alt="images/basquiat/copyright.png" src="images/basquiat/copyright.png" /&gt;
&lt;p class="caption"&gt;&lt;em&gt;Yet when I click through: Where is the art?&lt;/em&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div class="align-center figure"&gt;
&lt;img alt="images/basquiat/picasso.png" src="images/basquiat/picasso.png" /&gt;
&lt;p class="caption"&gt;&lt;em&gt;Even much of Picasso's work is not available.&lt;/em&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;It is sad that the next generation of artists aren't able to see the work of the past generations. It is also sad that in a country like Sierra Leone, with their schools lacking roofs - let alone Art History programs, many will never see the work of Basquiat and maybe even Picasso.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The internet is supposed to transcend these inequalities in information access.&lt;/strong&gt;&lt;/p&gt;
</summary><category term="copyright"></category><category term="art"></category><category term="law"></category><category term="basquiat"></category></entry><entry><title>Crack WiFi Passwords with aircrack</title><link href="http://engineerwithoutacause.com/crack-wifi-passwords-with-aircrack.html" rel="alternate"></link><updated>2012-11-02T16:15:00+01:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/crack-wifi-passwords-with-aircrack.html</id><summary type="html">&lt;p&gt;Cracked my first wireless network today. A friend I made at a phone unlocking shop here in Kono district had a NetGear router he &amp;quot;found&amp;quot; and he couldn't reset the password to use it. I wanted to try to see if I could get into it myself before just restoring it to factory defaults.  A few hours later with &lt;a class="reference external" href="http://www.aircrack-ng.org/"&gt;aircrack&lt;/a&gt; and its docs, I got as far as starting a brute-force attack on the router with a huge dictionary word list. Having made it far enough to just let it sit for the next 24 hours and crack, I decided to just reset the router to its factory defaults make the password an extremely secure &amp;quot;aaaaa123&amp;quot; and then let it run its course for a few minutes. And &lt;strong&gt;Voila&lt;/strong&gt;, cracked it!&lt;/p&gt;
&lt;p&gt;Make sure to run everything with root privileges.&lt;/p&gt;
&lt;p&gt;Put your wireless card into &amp;quot;monitor&amp;quot; mode (normally in &amp;quot;managed&amp;quot;)&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ sudo ifconfig wlan0 down
$ sudo iwconfif wlan0 mode monitor
$ sudo ifconfig wlan0 up
&lt;/pre&gt;
&lt;p&gt;Start listening on your wlan0 interface&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ airmon-ng start wlan0
&lt;/pre&gt;
&lt;p&gt;Begin sniffing packets to see available Access points and their MAC addresses&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ airodump-ng wlan0
&lt;/pre&gt;
&lt;p&gt;Get a password handshake by capturing packets and saving into a specified file to be used later.&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ airodump-ng --channel &amp;lt;the AP channel&amp;gt; --bssid &amp;lt;MAC of AP&amp;gt; --write some_file_name mon0
&lt;/pre&gt;
&lt;p&gt;Brute-force the Access Point with a dictionary of passwords.&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ aircrack-ng -b &amp;lt;MAC of AP&amp;gt; -w &amp;lt;worldlist file&amp;gt; some_file_name.cap
&lt;/pre&gt;
&lt;p&gt;If you don't have a dictionary file you can use &lt;a class="reference external" href="http://sourceforge.net/projects/wordfield/"&gt;wordfield&lt;/a&gt; to generate passwords and pipe them in.&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ wordfield -a -n 8 10 | sudo aircrack-ng -w - -b &amp;lt;MAC of AP&amp;gt; your-cap-file.cap -K
&lt;/pre&gt;
&lt;p&gt;Results from a later test&lt;/p&gt;
&lt;pre class="literal-block"&gt;
                           Aircrack-ng 1.1


              [00:16:00] 1588024 keys tested (1668.83 k/s)


                    KEY FOUND! [ jeffnetwork ]


Master Key     : 6D 02 BB DB 2C 6C 59 51 1E 35 E1 D3 A5 C0 5F 8A
                 F3 A7 BB 1A DF DF 5A 3F C8 74 DB 6F DF 58 63 66

Transient Key  : 06 BC D9 30 12 74 1A 25 A8 3A E6 1B 14 EC 71 05
                 F3 6E 51 C5 A0 8E A1 63 2D 07 3A 2D C5 A0 15 A9
                 A8 3E 76 D7 99 51 5C 20 DC 1C A9 E3 FD 77 22 5F
                 5E F8 A5 65 EB 88 A7 AB AB 6F 56 A6 28 14 4F E2

EAPOL HMAC     : 93 44 CA 90 0E 15 04 B5 49 E9 10 FB FF 2A 54 AF
&lt;/pre&gt;
&lt;p&gt;Note: Hacking someones password is illegal, so make sure to abide by the laws set in place by your local law enforcement agency and all that.&lt;/p&gt;
</summary><category term="crack"></category><category term="passwords"></category><category term="WPA"></category><category term="aircrack"></category><category term="security"></category></entry><entry><title>Using Sandy as an Excuse to Email Spam Customers</title><link href="http://engineerwithoutacause.com/using-sandy-as-an-excuse-to-email-spam-customers.html" rel="alternate"></link><updated>2012-10-31T10:15:00+01:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/using-sandy-as-an-excuse-to-email-spam-customers.html</id><summary type="html">&lt;p&gt;I checked my email this morning hoping to get some Hurricane Sandy updates from friends and family. Questions I was asking: Are you still without power? Are the subways in New York still flooded? Have you already exhausted your Nacho Cheese Doritos supply?&lt;/p&gt;
&lt;p&gt;Yet instead, my inbox was filled with messages from different &amp;quot;friends&amp;quot; of mine. &lt;strong&gt;My banks.&lt;/strong&gt; Citibank, Barclays, American Express and others all decided to send hurricane themed messages.&lt;/p&gt;
&lt;div class="align-center figure"&gt;
&lt;img alt="images/banks.jpg" src="images/banks.jpg" style="width: 600px;" /&gt;
&lt;/div&gt;
&lt;p&gt;Great, thanks for reminding me you care, and yes I know I have an outstanding balance of $1,129. Wait, thats funny, your email doesn't remind me that you charge 28.4% interest on my debt.&lt;/p&gt;
&lt;p&gt;You are available 24 hours for me to get a cash advance? Interesting that you left out the fact that your cash advance &amp;quot;service&amp;quot; fees are outrageous.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Is it a textbook use case for marketers to use natural disasters as an excuse to spam customers?&lt;/strong&gt; Did this rub anyone else the wrong way? I wonder how many people with flooded basements, destroyed roofs or life-preserving ventilators running on backup generators feel about your email.&lt;/p&gt;
&lt;p&gt;Maybe I am totally wrong. Perhaps somewhere, someone read your message and thought &lt;em&gt;&amp;quot;Gee Whiz Citibank, you sure are swell for emailing me, I'm gonna go open another credit card right now and cash advance my whole savings!&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Note to to other banks/companies, if you are going to do this at least take Barclays as an example. Unlike the others which either didn't offer anything or used cryptic bank-speak, Barclays clearly and unambiguously laid out their special terms during this time period: waiving all late fees, cash advance fees and card replacement fees during that time.&lt;/p&gt;
</summary><category term="email spam"></category><category term="customer service"></category><category term="hurricane sandy"></category><category term="rant"></category></entry><entry><title>Working with a Reverted Git Branch</title><link href="http://engineerwithoutacause.com/working-with-a-reverted-git-branch.html" rel="alternate"></link><updated>2012-10-15T21:57:00+02:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/working-with-a-reverted-git-branch.html</id><summary type="html">&lt;p&gt;A month back I submitted a massive Pull Request (20 commits, 30 files) with some code that I had only loosely tested and it wasn't ready for production (test cases weren't finalized and sandbox testing had only been on my localhost.) Long story short, it got merged and broke a lot of things.&lt;/p&gt;
&lt;blockquote&gt;
&lt;em&gt;Oops.&lt;/em&gt;&lt;/blockquote&gt;
&lt;p&gt;It was quickly reverted with &lt;strong&gt;git revert -m 1&lt;/strong&gt; the errors were logged and I was to work on it when I got a chance again. I switched to that branch, fixed the bugs and made a fresh PR with a few more commits only to find that the first 20 commits weren't there. FUCK! Somehow I needed to revert the revert!&lt;/p&gt;
&lt;p&gt;For those visual learners out there, here is an attempt at my commit tree. The messed up commit is the merge that happened at &lt;strong&gt;'C'&lt;/strong&gt; and the reverted commit that undid my doing is &lt;strong&gt;'K'&lt;/strong&gt;&lt;/p&gt;
&lt;pre class="literal-block"&gt;
H--A--C--K
     /
 M--E
&lt;/pre&gt;
&lt;p&gt;A few rainbows and butterflies later I commit some changes at &lt;strong&gt;'B'&lt;/strong&gt;, &lt;strong&gt;'R'&lt;/strong&gt;, &lt;strong&gt;'O'&lt;/strong&gt; and want to merge back at &lt;strong&gt;'T'&lt;/strong&gt; but the Pull Request does not contain commits &lt;strong&gt;'M'&lt;/strong&gt; and &lt;strong&gt;'E'&lt;/strong&gt;&lt;/p&gt;
&lt;pre class="literal-block"&gt;
H--A--C--K----A--T
     /          /
 M--E----B--R--O
&lt;/pre&gt;
&lt;p&gt;A little googling led me &lt;a class="reference external" href="http://opensource.apple.com/source/Git/Git-26/src/git-htmldocs/howto/revert-a-faulty-merge.txt"&gt;to a nice write-up and explanation on reverting a git revert&lt;/a&gt; by the Greek God of Geek himself. For the shortened version&lt;/p&gt;
&lt;pre class="literal-block"&gt;
# fix your bugs in your feature branch
$ git commit -m 'fixed bugs in feat_poorly_tested_branch'

# create new branch tracking develop
$ git checkout -b fix_revert_the_revert -t develop

# revert the reversion commit grabbed via your git log
# to find commit try: 'git log | grep revert -A 5 -B 5'
$ git revert 1a2b3c4d5e6f7g8h9i

# checkout the original feature branch
$ git checkout feat_poorly_tested_branch

# merge in the reverted develop
$ git merge feat_revert_the_revert

# handle merge conflicts and commit and PR
# profit
&lt;/pre&gt;
</summary><category term="git"></category><category term="revert"></category><category term="commit"></category><category term="branch"></category></entry><entry><title>Pirated Footware</title><link href="http://engineerwithoutacause.com/pirated-footware.html" rel="alternate"></link><updated>2012-10-09T13:56:00+02:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/pirated-footware.html</id><summary type="html">&lt;p&gt;I mostly unplugged while in Kenya, but not for lack of technical infrastructure as there were cyber cafes and pretty fast 3G+ coverage everywhere (even near the top of Mt. Kenya.)&lt;/p&gt;
&lt;p&gt;I couldn't help but take a picture though when I found these for sale on the streets of Nairobi. Unfortunately it didn't come with a license key.&lt;/p&gt;
&lt;div class="align-center figure"&gt;
&lt;img alt="images/winbows.jpg" src="images/winbows.jpg" style="width: 500px;" /&gt;
&lt;/div&gt;
</summary><category term="windows xp professional"></category><category term="winbows xp profeseional"></category></entry><entry><title>Multiple Email Addresses with Existing Gmail Account</title><link href="http://engineerwithoutacause.com/multiple-email-addresses-with-existing-gmail-account.html" rel="alternate"></link><updated>2012-09-01T08:56:00+02:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/multiple-email-addresses-with-existing-gmail-account.html</id><summary type="html">&lt;p&gt;Bit of a LifeHacker type post here, but here is a new trick that I have found useful for a lot of things. Many times I need to use a newly unique email address for something but do not want to go through the whole signup and &lt;a class="reference external" href="http://www.johnmwillis.com/other/top-10-worst-captchas/"&gt;captcha hell.&lt;/a&gt; Maybe I am testing code or more commonly need another email account for a service to signup for another account. With Gmail you can just append &amp;quot;+something&amp;quot; to the end of your existing email address and it will still go into the main inbox. You can even create a Filter on it to sort it better.&lt;/p&gt;
&lt;p&gt;All three of these emails will go into the same inbox.&lt;/p&gt;
&lt;pre class="literal-block"&gt;
withoutacause+twitter&amp;#64;gmail.com
withoutacause+twitter-test&amp;#64;gmail.com
withoutacause+aws&amp;#64;gmail.com
&lt;/pre&gt;
&lt;p&gt;I use this to create duplicate Twitter/Facebook accounts for testing and also just recently to setup another Amazon EC2 account so that I could get another Free Pricing tier =)&lt;/p&gt;
</summary><category term="gmail"></category><category term="multiple accounts"></category><category term="testing"></category></entry><entry><title>Easy Signal Handling for Python Daemons</title><link href="http://engineerwithoutacause.com/easy-signal-handling-for-python-daemons.html" rel="alternate"></link><updated>2012-08-30T15:43:00+02:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/easy-signal-handling-for-python-daemons.html</id><summary type="html">&lt;p&gt;I recently had to handle a case where I needed to be able to refresh a Python module's imports on the fly. The case is for working with &lt;a class="reference external" href="https://dev.twitter.com/docs/streaming-apis"&gt;Twitter Streams.&lt;/a&gt; When new code is deployed that affects the scraping module, I want to be able to restart the stream as fast as humanly possible in order to minimize the lost of tweets. Twitter suggests firing up a new stream first and then killing the second one in order to prevent any interruptions, but for all intents and purposes this is close enough.&lt;/p&gt;
&lt;p&gt;Turns out is fairly easy to do in Python using the &lt;a class="reference external" href="http://docs.python.org/library/signal.html"&gt;signal library.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I recreated the case I wanted by creating a library file and a scraper file that effectively runs as a daemon.&lt;/p&gt;
&lt;p&gt;lib.py&lt;/p&gt;
&lt;pre class="literal-block"&gt;
def scrape_me_bro():
        print &amp;quot;Scraping is fun&amp;quot;
&lt;/pre&gt;
&lt;p&gt;scrape.py&lt;/p&gt;
&lt;pre class="literal-block"&gt;
import time
import signal
import lib

def scrape():
        # Assume we are hitting Streaming API
        # and doing something buzzwordy with it
        while True:
                lib.scrape_me_bro()
                time.sleep(2)

def reload_libs(signum, frame):
        print &amp;quot;Received Signal: %s at frame: %s&amp;quot; % (signum, frame)
        print &amp;quot;Excuting a Lib Reload&amp;quot;
        reload(lib)

# Register reload_libs to be called on restart
signal.signal(signal.SIGHUP, reload_libs)

# Main
scrape()
&lt;/pre&gt;
&lt;p&gt;The basic functionality is &lt;strong&gt;scrape.py&lt;/strong&gt; imports a function from lib and calls it every two seconds. It also registers a handler to call when it receives the interrupt signal. Fairly straightforward.&lt;/p&gt;
&lt;p&gt;To test this just run &lt;strong&gt;scrape.py&lt;/strong&gt; in a separate window, edit &lt;strong&gt;lib.py&lt;/strong&gt; to print out something else, grep for &lt;strong&gt;scrape.py's&lt;/strong&gt; PID and then send a restart signal to it with &lt;strong&gt;kill -s HUP pid&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Output should look something like this:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ python scrape.py
 scraping is fun
 scraping is fun
 scraping is fun
 scraping is fun
 scraping is fun
 scraping is fun
 Received Signal 1 at frame &amp;lt;frame object at 0x2407530&amp;gt;
 Executing a lib reload
 scraping just got funner
 scraping just got funner
 scraping just got funner
 scraping just got funner
 scraping just got funner
 scraping just got funner
&lt;/pre&gt;
</summary><category term="python"></category><category term="daemons"></category><category term="signals"></category><category term="streaming"></category><category term="reloads"></category><category term="code"></category></entry><entry><title>Private Git Repos Hosted on DropBox</title><link href="http://engineerwithoutacause.com/private-git-repos-hosted-on-dropbox.html" rel="alternate"></link><updated>2012-08-28T02:10:00+02:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/private-git-repos-hosted-on-dropbox.html</id><summary type="html">&lt;p&gt;Don't want to shell out to GitHub for a private repository? Use Dropbox instead. You won't get
all the collaboration tools that come with GitHub but at least you can keep your source code private
and yet distributed without having to setup a server.&lt;/p&gt;
&lt;p&gt;Install &lt;a class="reference external" href="http://db.tt/5j9PVVKo"&gt;DropBox&lt;/a&gt; on your computer if you haven't already. &lt;a class="footnote-reference" href="#id2" id="id1"&gt;[1]&lt;/a&gt;&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ cd ~ &amp;amp;&amp;amp; wget -O - &amp;quot;https://www.dropbox.com/download?plat=lnx.x86_64&amp;quot; | tar xzf -
$ ~/.dropbox-dist/dropboxd
&lt;/pre&gt;
&lt;p&gt;Create a new folder for your repos inside the DropBox folder called git_repos and create a bare repo inside.&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ cd /path/to/Dropbox/git_repos
$ git --bare init
&lt;/pre&gt;
&lt;p&gt;Add that Repository to your existing project and commit! Your code will now be available on all of your DropBox machines.&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ git remote add dropbox file:///path/to/Dropbox/git_repos/my_repo
$ touch some_file
$ git add some_file
$ git commit -m 'my new file!'
$ git push dropbox
&lt;/pre&gt;
&lt;p&gt;Could also setup Dropbox on your server during &lt;a class="reference external" href="http://engineerwithoutacause.com/amazon-ec2-deployment-with-boto.html"&gt;installation and deployment.&lt;/a&gt; This way you could have an up to date version of your repository on the server and &lt;strong&gt;git pull&lt;/strong&gt; your production branch accordingly.&lt;/p&gt;
&lt;table class="docutils footnote" frame="void" id="id2" rules="none"&gt;
&lt;colgroup&gt;&lt;col class="label" /&gt;&lt;col /&gt;&lt;/colgroup&gt;
&lt;tbody valign="top"&gt;
&lt;tr&gt;&lt;td class="label"&gt;&lt;a class="fn-backref" href="#id1"&gt;[1]&lt;/a&gt;&lt;/td&gt;&lt;td&gt;This is my referral link for DropBox. If you sign up I get another 500MB in my account which is a hell of a lot of git repos. Hook me up if you don't mind.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Afterword&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I am currently working on a side project where the primary goal is to explore many of the widely-used open source alternatives to some of the pieces we attempted to build in-house at my last job: &lt;a class="reference external" href="http://engineerwithoutacause.com/flask-quickstart-with-some-quick-changes.html"&gt;a werkzeug-powered app framework&lt;/a&gt;, a job queue, a local cache layer. But also to explore some of the other technologies that have become popular over the past few years: NoSQL, Node.js and who knows what else.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Posts (so far) in this Series&lt;/em&gt;&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;a class="reference external" href="http://engineerwithoutacause.com/flask-quickstart-with-some-quick-changes.html"&gt;Building a Python Web App with Flask&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="http://engineerwithoutacause.com/installation-automation-fabric-basics.html"&gt;Installation Automation with Fabric&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="http://engineerwithoutacause.com/amazon-ec2-deployment-with-boto.html"&gt;Server Deployment with boto&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="http://engineerwithoutacause.com/private-git-repos-hosted-on-dropbox.html"&gt;Private Git Repos Hosted on DropBox&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</summary><category term="git"></category><category term="repository"></category><category term="dropbox"></category><category term="private hosting"></category><category term="github"></category></entry><entry><title>How to Watch Netflix Content from Anywhere in the World</title><link href="http://engineerwithoutacause.com/how-to-watch-netflix-content-from-anywhere-in-the-world.html" rel="alternate"></link><updated>2012-08-27T12:10:00+02:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/how-to-watch-netflix-content-from-anywhere-in-the-world.html</id><summary type="html">&lt;div class="section" id="stream-the-netflix-content-from-anywhere-in-the-world-in-three-steps"&gt;
&lt;span id="streaming-guide"&gt;&lt;/span&gt;&lt;h2&gt;&lt;strong&gt;Stream the Netflix Content from anywhere in the World in three Steps&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;Netflix content is geo-locked to computers in the US. Yet there is an easy way around it! To Stream Netflix outside of the US you just need to make the Netflix website &lt;strong&gt;think&lt;/strong&gt; that your computer is in the US. This is very easy by means of a &lt;em&gt;VPN&lt;/em&gt; and takes just a minute or two to setup. When you connect to the Netflix website it looks at your IP address and figures out where your internet traffic
is coming from (&lt;a class="reference external" href="http://geoiptool.com"&gt;you can check your location here.&lt;/a&gt;) &lt;strong&gt;All we are going to do is add one more stop along the path of your internet traffic&lt;/strong&gt; on its way to the Netflix servers.&lt;/p&gt;
&lt;div class="section" id="step-1-sign-up-for-a-vpn-account"&gt;
&lt;h3&gt;&lt;strong&gt;Step 1: Sign up for a VPN Account&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;I recommend &lt;a class="reference external" href="http://hidemyass.com/vpn/r6869:3"&gt;the aptly named VPN provider Hide My Ass, Inc&lt;/a&gt; This is the same software that people use all over the world to get around office web filters, internet censorship (the Chinese government &lt;a class="reference external" href="http://www.bbc.com/news/technology-18321548"&gt;being the most notorious&lt;/a&gt;) and sporting event blackouts. This method has been used to watch the Olympics and the World Cup from all over the world.&lt;/p&gt;
&lt;p&gt;You want to &lt;a class="reference external" href="http://hidemyass.com/vpn/r6869:3"&gt;signup for Pro VPN from HMA&lt;/a&gt; It will cost you $10 for the first month, but you can choose to try one month and then renew at any time and also you can pay with Paypal so it will only take a few seconds if you are lazy like me and don't want to enter in your Credit Card information.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="section" id="step-2-download-the-vpn-software"&gt;
&lt;h3&gt;&lt;strong&gt;Step 2: Download the VPN Software&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;After you sign up you will get a confirmation email and you will be able to &lt;a class="reference external" href="https://vpn.hidemyass.com"&gt;login to your user account&lt;/a&gt; Here you have the option to download the Mac OS X, Windows 7 or Linux package you want to use.&lt;/p&gt;
&lt;div class="align-center figure"&gt;
&lt;img alt="images/vpn/vpn_panel.png" src="images/vpn/vpn_panel.png" /&gt;
&lt;/div&gt;
&lt;div class="align-center figure"&gt;
&lt;img alt="images/vpn/install_vpn.png" src="images/vpn/install_vpn.png" /&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="section" id="step-3-connect-to-the-vpn"&gt;
&lt;h3&gt;&lt;strong&gt;Step 3: Connect to the VPN&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;After Downloading and Installing the Software, launch the application on your computer, enter in your username and password, and select &lt;em&gt;'USA - Virginia'&lt;/em&gt; from the drop down list of countries. Then click Connect to VPN and &lt;strong&gt;you are now in the USA.&lt;/strong&gt; So sit back and relax, grab a Bud Light, some deep fried nachos and &lt;a class="reference external" href="http://www.netflix.com"&gt;watch Netflix just like you were at home in your American living room.&lt;/a&gt;&lt;/p&gt;
&lt;div class="align-center figure"&gt;
&lt;img alt="images/vpn/uk_vpn.png" src="images/vpn/uk_vpn.png" /&gt;
&lt;/div&gt;
&lt;p&gt;You should notice that now when &lt;a class="reference external" href="http://geoiptool.com"&gt;you check your location&lt;/a&gt; it shows that you are located in the United States. If you want to &lt;em&gt;&amp;quot;return&amp;quot;&lt;/em&gt; to your original location just disconnect from the VPN. Leave a comment below letting us know where you were able to stream from!&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
</summary><category term="netflix"></category><category term="stream netflix"></category><category term="geolocked"></category><category term="expat"></category></entry><entry><title>Presentation &amp;#64;kLab with &amp;#64;TheiHills - Aug 23rd</title><link href="http://engineerwithoutacause.com/presentation-64klab-with-64theihills-aug-23rd.html" rel="alternate"></link><updated>2012-08-24T08:52:00+02:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/presentation-64klab-with-64theihills-aug-23rd.html</id><summary type="html">&lt;p&gt;Thanks to Clarisse of &lt;a class="reference external" href="http://www.theihills.com"&gt;The iHills&lt;/a&gt; and Claude from &lt;a class="reference external" href="http://klab.rw"&gt;kLab&lt;/a&gt; for
giving me the chance to present on building web applications.&lt;/p&gt;
&lt;p&gt;Here are the slides from my talk:&lt;/p&gt;
&lt;iframe src="http://www.slideshare.net/slideshow/embed_code/14057996?hostedIn=slideshare&amp;page=upload" width="476" height="400" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"&gt;&lt;/iframe&gt;&lt;p&gt;You can also &lt;a class="reference external" href="https://github.com/jsh2134/thirty-min-app"&gt;fork the final app code on GitHub.&lt;/a&gt;&lt;/p&gt;
</summary><category term="klab"></category><category term="ihills"></category><category term="rwanda"></category><category term="web apps"></category><category term="presentation"></category><category term="deployment"></category></entry><entry><title>Amazon EC2 Deployment with Boto</title><link href="http://engineerwithoutacause.com/amazon-ec2-deployment-with-boto.html" rel="alternate"></link><updated>2012-08-17T10:56:00+02:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/amazon-ec2-deployment-with-boto.html</id><summary type="html">&lt;p&gt;Here is a quick guide to firing up new servers using &lt;a class="reference external" href="http://boto.cloudhackers.com/en/latest/ref/ec2.html"&gt;boto, a python interface to Amazon Web Services.&lt;/a&gt; Hook this in with your &lt;a class="reference external" href="http://engineerwithoutacause.com/installation-automation-fabric-basics.html"&gt;automated install of your application using fabric&lt;/a&gt; and you are well on your way to &lt;strong&gt;web-scale.&lt;/strong&gt;&lt;/p&gt;
&lt;img alt="images/boto-meme.jpg" src="images/boto-meme.jpg" style="width: 300px;" /&gt;
&lt;p&gt;First we create an EC2Connection class that will house all of our functions, including a connect() function&lt;/p&gt;
&lt;pre class="literal-block"&gt;
from boto.ec2.connection import EC2Connection

class EC2Conn:

        def __init__(self):
                self.conn = None
                self.access_key = 'my-amazon-access-key'
                self.secret_key = 'my-amazon-secret-key'


        def connect(self):
                self.conn = EC2Connection(self.access_key, self.secret_key)
&lt;/pre&gt;
&lt;p&gt;Then lets decide the type of instance we want to create. You can get a &lt;a class="reference external" href="https://aws.amazon.com/amis/"&gt;list of AMI instances on their website,&lt;/a&gt; or search for them within their own deployment GUI. We are going to deploy a micro instance running Amazon Linux. The AMI Id for this instance is &lt;em&gt;ami-aecd60c7&lt;/em&gt; and the instance size string is &lt;em&gt;t1.micro&lt;/em&gt; (other &lt;a class="reference external" href="http://aws.amazon.com/ec2/instance-types/"&gt;instance sizes here.&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;In order to access the instance via SSH you will want assign a keypair and also define a security group that opens traffic on port 22 for SSH, 80/443 for web requests and anything else you plan to do. You can &lt;a class="reference external" href="http://boto.cloudhackers.com/en/latest/ref/ec2.html#boto.ec2.keypair.KeyPair"&gt;create keypairs&lt;/a&gt; and &lt;a class="reference external" href="http://boto.cloudhackers.com/en/latest/ref/ec2.html#boto.ec2.securitygroup.SecurityGroup"&gt;define security groups programatically&lt;/a&gt; but since it's often a one-time thing &lt;a class="reference external" href="https://www.os3.nl/_media/2011-2012/students/daan_wagenaar/lia/ec2_keys2.png?w=480&amp;amp;h=&amp;amp;cache=cache"&gt;I just went&lt;/a&gt; and &lt;a class="reference external" href="http://wiki.g2.bx.psu.edu/CloudMan/AWS/GettingStarted?action=AttachFile&amp;amp;do=get&amp;amp;target=AWSApplyRuleChanges.png"&gt;did it&lt;/a&gt; via the deployment GUI in amazon.&lt;/p&gt;
&lt;pre class="literal-block"&gt;
WEB : { 'image_id' : 'ami-aecd60c7',
        'instance_type' : 't1.micro',
        'security_groups' : [ 'my-security-group-name' ],
        'key_name' : 'my-keypair-name',
      }
&lt;/pre&gt;
&lt;p&gt;Now we are ready to deploy an instance. With Amazon, you first create an &lt;a class="reference external" href="http://boto.cloudhackers.com/en/latest/ref/ec2.html#boto.ec2.instance.Reservation"&gt;instance reservation&lt;/a&gt; which Amazon will then provision for you. You can actually request several instances to be created at once in a single reservation, but the default is 1. Naturally, it takes a few minutes for &lt;a class="reference external" href="http://boto.cloudhackers.com/en/latest/ref/ec2.html#module-boto.ec2.instance"&gt;the instance&lt;/a&gt; to boot up (depending on size, region selected, etc) so there is a &amp;quot;state&amp;quot; variable you continually check to find out when it is ready.&lt;/p&gt;
&lt;p&gt;Create a reservation and wait until instance is ready.&lt;/p&gt;
&lt;pre class="literal-block"&gt;
# Key names are the same as the keyword arguments required by boto
WEB : {
        'image_id' : 'ami-aecd60c7',
        'instance_type' : 't1.micro',
        'security_groups' : [ 'my-security-group-name' ],
        'key_name' : 'my-keypair-name',
      }


def create_instance(self):

        reservation = self.conn.run_instances( **WEB)
        instance = reservation.instances[0]

        while instance.state != 'running':
                time.sleep(5)
                instance.update() # Updates Instance metadata
                print &amp;quot;Instance state: %s&amp;quot; % (instance.state)

        print &amp;quot;instance %s done!&amp;quot; % (instance.id)
        print &amp;quot;instance IP is %s&amp;quot; % (instance.ip_address)
        print &amp;quot;You can now SSH into this server with ec2-user&amp;#64;%s&amp;quot; % (instance.ip_address)
&lt;/pre&gt;
&lt;p&gt;Just like that you have an Amazon instance you can mess around with.&lt;/p&gt;
&lt;p&gt;Maybe you want to assign an Elastic IP Address that you have already provisioned?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
def link_instance_and_ip(self, instance_id, ip):
        success = self.conn.associate_address(instance_id=instance_id,
                                              public_ip=ip)
        if success:
                print &amp;quot;Sleeping for 60 seconds to let IP attach&amp;quot;
                time.sleep(60)

        return success


success = self.link_instance_and_ip(instance.id, address)
instance.update() # Since there is a  new IP
&lt;/pre&gt;
&lt;p&gt;Maybe you want to update &lt;a class="reference external" href="http://engineerwithoutacause.com/installation-automation-fabric-basics.html"&gt;your Fabric installation scripts&lt;/a&gt; to deploy a server first and then install the necessary packages?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
def deploy_web():

        # Create New Instance
        instance = create_new_instance()

        # Set Env Host String
        env.host_string = &amp;quot;ec2-user&amp;#64;%s&amp;quot; % (instance.ip_address)

        # Begin Installation

        user = 'cmon_son'
        remote_home_dir = '/home/' + user

        with settings(warn_only=True):
                sudo('useradd -U -m %s' % user)

        # Install packages with yum
        sudo('yum install -y %s' % (&amp;quot; &amp;quot;.join(PACKAGES_LIST)) )

        # Install pip
        sudo('curl -O http://pypi.python.org/packages/source/p/pip/pip-1.0.tar.gz')
        run('tar xvfz pip-1.0.tar.gz')
        sudo('cd pip-1.0 &amp;amp;&amp;amp; python setup.py install')

        # Install virtualenv
        sudo('pip install virtualenv')
        venv_name = '%s-env' % user
        venv = os.path.join(remote_home_dir, venv_name)
        sudo('virtualenv --no-site-packages %s' % venv)

        # Install python requirements
        put('requirements.txt', remote_home_dir, use_sudo=True)
        sudo('%s/bin/pip install -r %s/requirements.txt' % (venv, remote_home_dir))

        deploy_the_codes(HOME_DIR, remote_home_dir)
&lt;/pre&gt;
&lt;p&gt;Full deploy code here.&lt;/p&gt;
&lt;pre class="literal-block"&gt;
from boto.ec2.connection import EC2Connection

import sys
import time

MAIN_IP = '10.81.18.01'
MAIN_SG = 'some-security-group-name'
MAIN_KP = 'some-kp-name'

SERVER_TYPES = {
                'web' : {
                       'image_id' : 'ami-aecd60c7',
                       'instance_type' : 't1.micro',
                       'security_groups' : [MAIN_SG],
                       'key_name' : MAIN_KP,
                        },
}


class EC2Conn:

        def __init__(self):
                self.conn = None
                self.access_key = 'my-amazon-access-key'
                self.secret_key = 'my-amazon-secret-key'


        def connect(self):
                self.conn = EC2Connection(self.access_key, self.secret_key)

        def create_instance(self, instance_type='web', address=None):
                reservation = self.conn.run_instances( **SERVER_TYPES[instance_type])
                print reservation
                instance = reservation.instances[0]
                time.sleep(10)
                while instance.state != 'running':
                        time.sleep(5)
                        instance.update()
                        print &amp;quot;Instance state: %s&amp;quot; % (instance.state)

                print &amp;quot;instance %s done!&amp;quot; % (instance.id)

                if address:
                        success = self.link_instance_and_ip(instance.id, address)
                        if success:
                                print &amp;quot;Linked %s to %s&amp;quot; % (instance.id, address)
                        else:
                                print &amp;quot;Falied to link%s to %s&amp;quot; % (instance.id, address)
                        instance.update()

                return instance

        def link_instance_and_ip(self, instance_id, ip=MAIN_IP):
                success = self.conn.associate_address(instance_id=instance_id,
                                                                        public_ip=ip)
                if success:
                        print &amp;quot;Sleeping for 60 seconds to let IP attach&amp;quot;
                        time.sleep(60)

                return success

        def unlink_instance_and_ip(self, instance_id, ip=MAIN_IP):
                return self.conn.disassociate_address(instance_id=instance_id,
                                                                        public_ip=ip)

        def get_instances(self):
                return self.conn.get_all_instances()


def create_new_instance(address=MAIN_IP):
        a = EC2Conn()
        a.connect()
        return a.create_instance(address=address)
&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Afterword&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I am currently working on a side project where the primary goal is to explore many of the widely-used open source alternatives to some of the pieces we attempted to build in-house at my last job: &lt;a class="reference external" href="http://engineerwithoutacause.com/flask-quickstart-with-some-quick-changes.html"&gt;a werkzeug-powered app framework&lt;/a&gt;, a job queue, a local cache layer. But also to explore some of the other technologies that have become popular over the past few years: NoSQL, Node.js and who knows what else.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Posts (so far) in this Series&lt;/em&gt;&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;a class="reference external" href="http://engineerwithoutacause.com/flask-quickstart-with-some-quick-changes.html"&gt;Building a Python Web App with Flask&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="http://engineerwithoutacause.com/installation-automation-fabric-basics.html"&gt;Installation Automation with Fabric&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="http://engineerwithoutacause.com/amazon-ec2-deployment-with-boto.html"&gt;Server Deployment with boto&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="http://engineerwithoutacause.com/private-git-repos-hosted-on-dropbox.html"&gt;Private Git Repos Hosted on DropBox&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</summary><category term="boto"></category><category term="EC2"></category><category term="deployment"></category><category term="automation"></category><category term="python"></category></entry><entry><title>MySQL Being Taught in Rwandan High School Classroom</title><link href="http://engineerwithoutacause.com/mysql-being-taught-in-rwandan-high-school-classroom.html" rel="alternate"></link><updated>2012-08-13T11:56:00+02:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/mysql-being-taught-in-rwandan-high-school-classroom.html</id><summary type="html">&lt;p&gt;This weekend had the pleasure of &lt;a class="reference external" href="http://thelookingglasshalffull.tumblr.com/post/29329088677/father-isadore-and-kiziguro-secondary-school"&gt;visiting a secondary school in Kiziguro village in the Eastern province of Rwanda.&lt;/a&gt; While walking around the school grounds, I walked into a random classroom and was amazed at what I found on the chalkboard: MySQL syntax lessons.&lt;/p&gt;
&lt;p&gt;Not even &lt;a class="reference external" href="http://en.wikipedia.org/wiki/Boston_Latin_School"&gt;my &amp;quot;prestigious&amp;quot; public High School taught MySQL&lt;/a&gt; and here I am in a poor Rwandan district with MySQL all over the chalkboard. More fuel to add to the fire around &lt;a class="reference external" href="http://betanews.com/2011/01/26/the-key-to-fixing-the-u-s-science-education-gap-is-outside-of-class/"&gt;the US science education gap continuing to grow larger.&lt;/a&gt;&lt;/p&gt;
&lt;div class="align-center figure align-right"&gt;
&lt;img alt="images/mysql.jpg" src="images/mysql.jpg" style="width: 500px;" /&gt;
&lt;/div&gt;
</summary><category term="mysql"></category><category term="rwanda"></category><category term="education"></category></entry><entry><title>LinkedIn UX Team Fix your Mobile App Splash Page</title><link href="http://engineerwithoutacause.com/linkedin-ux-team-fix-your-mobile-app-splash-page.html" rel="alternate"></link><updated>2012-08-10T10:51:00+02:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/linkedin-ux-team-fix-your-mobile-app-splash-page.html</id><summary type="html">&lt;div class="align-center figure"&gt;
&lt;img alt="images/linkedinsplash.png" src="images/linkedinsplash.png" style="width: 680px;" /&gt;
&lt;/div&gt;
&lt;p&gt;Dear LinkedIn UX Team,&lt;/p&gt;
&lt;p&gt;Please fix your &lt;a class="reference external" href="mailto:#&amp;amp;&amp;#64;%$#ing"&gt;#&amp;amp;&amp;#64;%$#ing&lt;/a&gt; mobile app download splash page!&lt;/p&gt;
&lt;p&gt;Every time I get an email from LinkedIn and open it on my iPhone it redirects to this screen. I have the application. Thanks! I probably downloaded it one of the first of the 500 times you told me to do this.  I can't get around it! The &lt;strong&gt;&amp;quot;No Thanks&amp;quot;&lt;/strong&gt; button just reloads the same page. Set a &lt;a class="reference external" href="http://en.wikipedia.org/wiki/HTTP_cookie"&gt;fucking cookie!&lt;/a&gt; Query your database to see if I have linked my phone! Or better yet &lt;a class="reference external" href="http://stackoverflow.com/questions/2095638/iphone-apps-can-i-open-an-app-from-a-link-in-a-website"&gt;open links tapped on an iPhone in the app itself&lt;/a&gt; You have already shown that you can detect I am on an iPhone and I know you know that I have downloaded and configured your app. Put the two together. Stop asking me to download it again. Have an intern do it. Add a &lt;em&gt;Jesse Pinkman&lt;/em&gt; button: &lt;a class="reference external" href="http://cdn.wegotthiscovered.com/wp-content/uploads/Breaking-Bad-7.jpg"&gt;&amp;quot;I Already Got It Bitch!&amp;quot;&lt;/a&gt; Why do I have to open up an application and then search for the same thing? Make the experience seamless. I want Seamless-Social-Mobile-Local! &lt;strong&gt;Embrace the buzzwords.&lt;/strong&gt;&lt;/p&gt;
&lt;div class="align-center figure align-right"&gt;
&lt;img alt="images/linkedinMobile.png" src="images/linkedinMobile.png" style="width: 500px;" /&gt;
&lt;p class="caption"&gt;&lt;em&gt;You already know that I have Installed your Mobile Application&lt;/em&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Please don't turn into some tech dinosaur like Oracle who couldn't give a shit about the user. I don't always need a LinkedIn fix before my morning coffee fix, but when I do want a taste, &lt;strong&gt;don't wave it in front of me and then make me work for it.&lt;/strong&gt; It's not just you guys who are guilty. Yelp does the same thing. In fact I can't even use the Yelp app without tapping 6 obscure buttons to avoid signing up for a Yelp account.&lt;/p&gt;
&lt;p&gt;No need to listen to me, I am no UX expert (a UXpert?) but I do make this software crap for a living and most importantly I am a user. If thats not enough &lt;strong&gt;think of your power users, the constantly-ignored technical recruiters out there&lt;/strong&gt; who have to work extra hard to use your service. They already hate their jobs enough, don't make it worse.&lt;/p&gt;
&lt;p&gt;I am going to get some coffee now.&lt;/p&gt;
&lt;p&gt;Love,&lt;/p&gt;
&lt;p&gt;Jeff&lt;/p&gt;
</summary><category term="linkedin"></category><category term="user experience"></category><category term="UX"></category><category term="mobile"></category><category term="social"></category><category term="local"></category><category term="seamless"></category><category term="fail"></category><category term="rant"></category></entry><entry><title>Installation Automation: Fabric Basics</title><link href="http://engineerwithoutacause.com/installation-automation-fabric-basics.html" rel="alternate"></link><updated>2012-08-03T09:56:00+02:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/installation-automation-fabric-basics.html</id><summary type="html">&lt;p&gt;&lt;strong&gt;Automated Installation and Deployment&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;One of the smartest things we ever did in dev at my last job was to hard code and formalize the installation and deployment process of our application. To me, who was not only ignorant of deploy methodologies but had also inherited a 10-page perpetually out of date wiki document describing the installation, this seemed like an extremely daunting task. Now I can't imagine it any other way and so will be formalizing this from the start. &lt;a class="reference external" href="http://fabfile.org"&gt;Fabric&lt;/a&gt; was a big part of this and allowed us to execute all of our installation commands on the remote server.&lt;/p&gt;
&lt;div class="section" id="id1"&gt;
&lt;h2&gt;Fabric&lt;/h2&gt;
&lt;p&gt;First install fabric with &lt;em&gt;pip&lt;/em&gt;&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ pip install fabric
&lt;/pre&gt;
&lt;p&gt;Then we will create a very simple fabric command to test using fabric's &lt;strong&gt;run&lt;/strong&gt; command&lt;/p&gt;
&lt;pre class="literal-block"&gt;
from fabric.api import run

def what_is_my_name():
    run('whoami')
&lt;/pre&gt;
&lt;p&gt;We will now run this command on our &lt;strong&gt;localhost&lt;/strong&gt;&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ fab -H localhost what_is_my_name
[localhost] Executing task 'what_is_my_name'
[localhost] run: whoami
[localhost] out: jhull
&lt;/pre&gt;
&lt;p&gt;You can also run commands as a superuser using the &lt;strong&gt;sudo&lt;/strong&gt; command&lt;/p&gt;
&lt;pre class="literal-block"&gt;
from fabric.api import run, sudo

def what_is_my_name():
    run('whoami')

def what_is_sudos_name():
    sudo('whoami')
&lt;/pre&gt;
&lt;p&gt;When run on our &lt;strong&gt;localhost&lt;/strong&gt;&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ fab -H localhost what_is_sudos_name

[localhost] Executing task 'what_is_sudos_name'
[localhost] sudo: whoami
[localhost] out: sudo password:
[localhost] out: root
&lt;/pre&gt;
&lt;p&gt;Lets list the fabric commands we have:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ fab -l
Available commands:

    what_is_my_name
    what_is_sudos_name
&lt;/pre&gt;
&lt;p&gt;Now lets run these commands on two different hosts.&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ fab -H localhost,jh&amp;#64;78.123.24.65 what_is_my_name
[localhost] Executing task 'what_is_my_name'
[localhost] run: whoami
[localhost] out: jhull

[78.123.24.65] Executing task 'what_is_my_name'
[78.123.24.65] run: whoami
[78.123.24.65] Login password for 'jh':
[78.123.24.65] out: jh

Done.
Disconnecting from 78.123.24.65... done.
Disconnecting from localhost... done.
&lt;/pre&gt;
&lt;p&gt;A common case is that you have a fixed set of hosts that you will want to batch commands on. Might be for code deployment, backups or any server updates in general. Lets add shortcuts to these servers. At the same time we will add our SSH key so that we won't have to enter passwords each time.&lt;/p&gt;
&lt;pre class="literal-block"&gt;
from fabric.api import env

HOSTS = {
   'web1' : { 'user': 'dev',
              'host': '84.156.12.134'
              },
   'web2' : { 'user': 'dev',
              'host': '84.156.45.24'
              },
   }

# Set SSH Key
env.key_filename = '/path/to/.ssh/key'

def host(hostname):
        env.hosts.append(&amp;quot;%s&amp;#64;%s&amp;quot; % ( HOSTS[hostname]['user'],
                                     HOSTS[hostname]['host']))
&lt;/pre&gt;
&lt;p&gt;Now we can execute any fabric command&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ fab host:web1 what_is_my_name
[84.156.12.134] Executing task 'what_is_my_name'
[84.156.12.134] run: whoami
[84.156.12.134] out: dev

Done.
Disconnecting from 84.156.12.134... done.
&lt;/pre&gt;
&lt;p&gt;What was most important piece for us was the actual installation and server setup. Our deployment code ended up being close to 2000 lines of fabric commands and code. It allowed us to spin up any instance, configure mysql, nginx, supervisor, redis and a million other things in all under 5 minutes consistently and efficiently. This was huge and allowed us to very recover from common EC2 outages with great agility and without stress.&lt;/p&gt;
&lt;p&gt;Possible fabric commands that might come in handy&lt;/p&gt;
&lt;pre class="literal-block"&gt;
def install_nginx():
    &amp;quot;&amp;quot;&amp;quot; Install nginx and copy over our config file &amp;quot;&amp;quot;&amp;quot;
    sudo('yum install -y nginx')
    put('nginx.conf', '/etc/nginx/')
    sudo('service nginx start')


def update_code(path='/my/app/directory')
    &amp;quot;&amp;quot;&amp;quot;Update code with git by pulling
    latest production branch from origin&amp;quot;&amp;quot;&amp;quot;

    with cd(path):
        run('git pull origin production')


def update_code_svn(path='/my/app/directory')
    &amp;quot;&amp;quot;&amp;quot;Update code with svn &amp;quot;&amp;quot;&amp;quot;

    with cd(path):
        run('svn up')


def server_updates():
    &amp;quot;&amp;quot;&amp;quot; Run yum update &amp;quot;&amp;quot;&amp;quot;
    sudo('yum update -y')


def run_tests():
    &amp;quot;&amp;quot;&amp;quot; Run test suites&amp;quot;&amp;quot;&amp;quot;
    run('nosetests --with-coverage my_test_suite.py')
&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Afterword&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I am currently working on a side project where the primary goal is to explore many of the widely-used open source alternatives to some of the pieces we attempted to build in-house at my last job: &lt;a class="reference external" href="http://engineerwithoutacause.com/flask-quickstart-with-some-quick-changes.html"&gt;a werkzeug-powered app framework&lt;/a&gt;, a job queue, a local cache layer. But also to explore some of the other technologies that have become popular over the past few years: NoSQL, Node.js and who knows what else.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Posts (so far) in this Series&lt;/em&gt;&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;a class="reference external" href="http://engineerwithoutacause.com/flask-quickstart-with-some-quick-changes.html"&gt;Building a Python Web App with Flask&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="http://engineerwithoutacause.com/installation-automation-fabric-basics.html"&gt;Installation Automation with Fabric&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="http://engineerwithoutacause.com/amazon-ec2-deployment-with-boto.html"&gt;Server Deployment with boto&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="http://engineerwithoutacause.com/private-git-repos-hosted-on-dropbox.html"&gt;Private Git Repos Hosted on DropBox&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
</summary><category term="python"></category><category term="fabric"></category><category term="deployment"></category><category term="automation"></category></entry><entry><title>GM Shuns Facebook Ads then Spends $300M on Soccer Jerseys</title><link href="http://engineerwithoutacause.com/gm-shuns-facebook-ads-then-spends-300m-on-soccer-jerseys.html" rel="alternate"></link><updated>2012-07-31T10:18:00+02:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/gm-shuns-facebook-ads-then-spends-300m-on-soccer-jerseys.html</id><summary type="html">&lt;p&gt;GM has &lt;a class="reference external" href="http://www.businessweek.com/news/2012-07-30/gm-said-to-oust-marketing-chief-over-soccer-jersey-deal"&gt;fired their high-profile marketing chief Joel Ewanick today&lt;/a&gt; after finding out he agreed to a $300 million dollar deal to brand Manchester United jerseys with Chevrolet. This is the same guy who on the eve of the Facebook IPO &lt;a class="reference external" href="http://www.forbes.com/sites/joannmuller/2012/05/15/gm-says-facebook-ads-dont-work-pulls-10-million-account/"&gt;canceled a $10 million dollar contract with Facebook&lt;/a&gt; saying that Facebook ads just don't work.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Awesome.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;So let me get this straight: a platform that not only mines your social graph to surface your friends interests/brands/likes to you, but also lets you globally target people by age, location, gender, religion, politics and every other demographic imaginable &amp;quot;doesn't work&amp;quot; and yet locking yourself into a 7-year deal spending a third of a billion dollars plastering a logo on soccer jerseys is the right move.&lt;/p&gt;
&lt;p&gt;I make no claims that Facebook advertising does work. Both my experiences using their ads didn't amount to much and as a Facebook user myself, I largely ignore all the spammy ads that clutter the right side of my screen. Yet I have to believe that with all the progress we have made in technology over the past 20 years in terms of Ad targeting and Ad tracking that the model of just slapping logos on things can't still be worth that amount of money. That maybe, Mr Ewanick, &lt;strong&gt;you just weren't doing it right.&lt;/strong&gt; It kills me to think there is a powerpoint somewhere showing how that $300 million dollar investment will directly translate into a billion in new sales for GM. When will that old model die?&lt;/p&gt;
&lt;p&gt;I wish you the best of luck GM with your new branding deal. I can only imagine how $300 million spent on improving the quality of your cars, the efficiency of your factories or even an internal audit on the quality of your execs might have benefited you differently.&lt;/p&gt;
&lt;div class="align-center figure"&gt;
&lt;img alt="images/gm-car.jpg" src="images/gm-car.jpg" /&gt;
&lt;/div&gt;
</summary><category term="marketing"></category><category term="branding"></category><category term="gm"></category><category term="general motors"></category><category term="facebook"></category><category term="advertising"></category></entry><entry><title>How to Stream 2012 Olympics Live from Anywhere in the World</title><link href="http://engineerwithoutacause.com/how-to-stream-2012-olympics-live-from-anywhere-in-the-world.html" rel="alternate"></link><updated>2012-07-29T12:10:00+02:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/how-to-stream-2012-olympics-live-from-anywhere-in-the-world.html</id><summary type="html">&lt;div class="section" id="stream-the-bbc-olympics-from-anywhere-in-the-world-in-three-steps"&gt;
&lt;span id="streaming-guide"&gt;&lt;/span&gt;&lt;h2&gt;&lt;strong&gt;Stream the BBC Olympics from anywhere in the World in three Steps&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;To Stream the BBC Olympics live you need to make the BBC website &lt;strong&gt;think&lt;/strong&gt; that your computer is in the UK. This is very easy by means of a &lt;em&gt;VPN&lt;/em&gt; and takes just a minute or two to setup. When you connect to the BBC website it looks at your IP address and figures out where your internet traffic
is coming from (&lt;a class="reference external" href="http://geoiptool.com"&gt;you can check your location here.&lt;/a&gt;) &lt;strong&gt;All we are going to do is add one more stop along the path of your internet traffic&lt;/strong&gt; on its way to the BBC website.&lt;/p&gt;
&lt;div class="section" id="step-1-sign-up-for-a-vpn-account"&gt;
&lt;h3&gt;&lt;strong&gt;Step 1: Sign up for a VPN Account&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;I recommend &lt;a class="reference external" href="http://hidemyass.com/vpn/r6869:2"&gt;the aptly named VPN provider Hide My Ass, Inc&lt;/a&gt; This is the same software that people use all over the world to get around office web filters, internet censorship (the Chinese government &lt;a class="reference external" href="http://www.bbc.com/news/technology-18321548"&gt;being the most notorious&lt;/a&gt;) and sporting event blackouts. It can even be used to watch Netflix and Hulu outside of the US.&lt;/p&gt;
&lt;p&gt;You want to &lt;a class="reference external" href="http://hidemyass.com/vpn/r6869:2"&gt;signup for Pro VPN from HMA&lt;/a&gt; It will cost you $10 for the first month, but you can cancel at any time within the next 30 days and get your money back (&lt;em&gt;cough&lt;/em&gt; like in 2 weeks after the Olympics are over) and you can pay with Paypal so it will only take a few seconds if you are lazy like me and don't want to enter in your Credit Card information.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="section" id="step-2-download-the-vpn-software"&gt;
&lt;h3&gt;&lt;strong&gt;Step 2: Download the VPN Software&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;After you sign up you will get a confirmation email and you will be able to &lt;a class="reference external" href="https://vpn.hidemyass.com"&gt;login to your user account&lt;/a&gt; Here you have the option to download the Mac OS X, Windows 7 or Linux package you want to use.&lt;/p&gt;
&lt;div class="align-center figure"&gt;
&lt;img alt="images/vpn/vpn_panel.png" src="images/vpn/vpn_panel.png" /&gt;
&lt;/div&gt;
&lt;div class="align-center figure"&gt;
&lt;img alt="images/vpn/install_vpn.png" src="images/vpn/install_vpn.png" /&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="section" id="step-3-connect-to-the-vpn"&gt;
&lt;h3&gt;&lt;strong&gt;Step 3: Connect to the VPN&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;After Downloading and Installing the Software, launch the application on your computer, enter in your username and password, and select &lt;em&gt;'UK - London'&lt;/em&gt; from the drop down list of countries. Then click Connect to VPN and &lt;strong&gt;you are now in the UK.&lt;/strong&gt; Grab a cup of tea, a few biscuits and &lt;a class="reference external" href="http://www.bbc.co.uk/sport/olympics/2012/live-video"&gt;watch the BBC Olympics coverage right here.&lt;/a&gt;&lt;/p&gt;
&lt;div class="align-center figure"&gt;
&lt;img alt="images/vpn/uk_vpn.png" src="images/vpn/uk_vpn.png" /&gt;
&lt;/div&gt;
&lt;p&gt;You should notice that now when &lt;a class="reference external" href="http://geoiptool.com"&gt;you check your location&lt;/a&gt; it shows that you are located in Great Britain. If you want to &lt;em&gt;&amp;quot;return&amp;quot;&lt;/em&gt; to your original location just disconnect from the VPN. Leave a comment below letting us know where you were able to stream the broadcast from! Share this guide on &lt;a class="reference external" href="https://twitter.com/intent/tweet?text=Watch%20the%20Olympics%20live%20from%20anywhere!%20A%203-Step%20Guide:%20http%3A%2F%2Fbit.ly%2FMUDwuV%20%23nbcfail%20%23olympics%20%23live&amp;amp;related=notvnoproblem"&gt;Twitter&lt;/a&gt; or Facebook.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="section" id="the-bbc-olympic-coverage-is-better-anyway"&gt;
&lt;h3&gt;&lt;strong&gt;The BBC Olympic Coverage is better anyway&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;Reasons why you should watch the Olympics on BBC instead:&lt;/p&gt;
&lt;ol class="arabic simple"&gt;
&lt;li&gt;You don't live in the US so can't watch NBC.&lt;/li&gt;
&lt;li&gt;You do live in the US but don't pay for Cable TV.&lt;/li&gt;
&lt;li&gt;You do live in the US and do pay for Cable TV but want to watch the events Live!&lt;/li&gt;
&lt;li&gt;You don't want to watch the Olympics online surrounded by ads (BBC has no ads!)&lt;/li&gt;
&lt;li&gt;You just like British accents.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The American broadcasting monopoly is at it again! Only if you are in the continental US and if
you pay for cable TV can you stream the 2012 London Olympics online.
The good news is they have decided to stream
all the content online, the bad news is you are still forced to watch the Olympics on TV
on their schedule, often missing the main events as they happen. In fact they forced Americans to wait until US primetime to watch the 2012 Opening Ceremony and yet &lt;a class="reference external" href="https://twitter.com/NBCOlympics"&gt;live-tweeted the whole play-by-play as it happened.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Luckily you can get around the restrictions and at the same time get to watch the BBC olympic broadcast instead in realtime. So far the BBC broadcasters are not only better (who doesn't love &lt;a class="reference external" href="http://en.wikipedia.org/wiki/List_of_British_words_not_widely_used_in_the_United_States"&gt;a good Britiscism&lt;/a&gt;) but there are no Ads on the site and videos and the live video tools on BBC's website are way better. You can pause/rewind live action, skip between events much more easily and on the replays they split the events up into sections so you can jump around between events (for instance skip a Swimming relay and go straight to an individual event.) I am currently enjoying the Olympics from a small village in Rwanda. Take that NBC!&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
</summary><category term="2012 olympics"></category><category term="stream olympics"></category><category term="live olympics"></category><category term="bbc"></category><category term="#nbcfail"></category></entry><entry><title>Flask Quickstart with some Quick Changes</title><link href="http://engineerwithoutacause.com/flask-quickstart-with-some-quick-changes.html" rel="alternate"></link><updated>2012-07-25T17:56:00+02:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/flask-quickstart-with-some-quick-changes.html</id><summary type="html">&lt;p&gt;&lt;strong&gt;An App Framework without too much Framework&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;One of the pieces that we built was a Web Application framework on top of Werkzeug. I fell in love with Werkzeug as soon as I learned how to spell it. It reminded me so much of how I learned how to do things with web apps in Django (but without the Django) and also has the &lt;a class="reference external" href="http://werkzeug.pocoo.org/docs/debug/#using-the-debugger"&gt;world's most amazing debugger&lt;/a&gt;. I had heard a lot about Flask and how it was werkzeug based, but never explored it, so thought this time around it would be worth using.&lt;/p&gt;
&lt;p&gt;I started with the &lt;a class="reference external" href="http://flask.pocoo.org/docs/quickstart/"&gt;Flask Quickstart tutorial&lt;/a&gt; but quickly made a couple changes to how I structured my application as it would scale.&lt;/p&gt;
&lt;p&gt;While the &lt;a class="reference external" href="http://flask.pocoo.org/docs/quickstart/#routing"&gt;URL routing decorator&lt;/a&gt; is a nice and easy to use shortcut, I had visions of url decorators distributed in views all over the place in files and folders that will get lost over time in the code base (can you tell I came from a messy codebase?) and felt like organizing them into a single file was important. So I created a &lt;em&gt;urls.py&lt;/em&gt; file that would contain all the routing (similar to Django in that it's all in one place.)&lt;/p&gt;
&lt;pre class="literal-block"&gt;
from kickbacker import app
from kickbacker import views

&amp;#64;app.route('/backer/&amp;lt;backer_id&amp;gt;')
def respond_backers(backer_id):
        return views.show_backer(backer_id)

&amp;#64;app.route('/project/&amp;lt;project_id&amp;gt;/backers/')
def respond_show_backers(project_id):
        return views.show_backers(project_id)

&amp;#64;app.route('/projects')
def respond_projects():
        return views.show_projects()
&lt;/pre&gt;
&lt;p&gt;I decided that I was going to use &lt;strong&gt;redis&lt;/strong&gt; as my primary database and wanted a way to add that as a global variable to my flask app. Sub-classing the Flask class seemed the best way. While I was in there I decided to define the logging to use a more descriptive format and to use a &lt;em&gt;RotatingFileHandler&lt;/em&gt; since I tend to add logging in way more places than I need to.&lt;/p&gt;
&lt;pre class="literal-block"&gt;
class KickFlask(Flask):

        def connect_redis(self):
                self.rs = redis.Redis(self.config['REDIS_HOST'])
                self.logger.info(&amp;quot;Connected to Redis at %s&amp;quot; % \
                                        (self.config['REDIS_HOST']) )

        def setup_logging(self):
                log_filename = self.config['LOGFILE']
                file_handler = RotatingFileHandler(log_filename)
                if self.config['DEBUG']:
                        file_handler.setLevel(logging.INFO)
                else:
                        file_handler.setLevel(logging.ERROR)

                kb_fmt = u'[%(asctime)s %(levelname)s] - %(processName)s (%(process)s) - (%(module)s:%(funcName)s:%(lineno)s) %(message)s'
                kb_formatter = logging.Formatter(fmt=kb_fmt)
                file_handler.setFormatter(kb_formatter)

                self.logger.addHandler(file_handler)
&lt;/pre&gt;
&lt;p&gt;Here is what my &lt;em&gt;__init__.py&lt;/em&gt; file looks like, which connects to &lt;strong&gt;redis&lt;/strong&gt; and sets up logging on start.&lt;/p&gt;
&lt;pre class="literal-block"&gt;
from kickflask import KickFlask
app = KickFlask(__name__)
app.config.from_object('kickbacker.settings.DevConfig')

app.setup_logging()
app.connect_redis()

import urls
&lt;/pre&gt;
&lt;p&gt;I also decided to use the handy &lt;em&gt;from_object&lt;/em&gt; method to load in different settings classes based on whether the application is running in a Production or a Development environment. For now I only have one environment setup but once a production is setup I can add some if/else logic to look for some file, uname, internal IP or something that is specific to production.&lt;/p&gt;
&lt;p&gt;Here is my settings.py file&lt;/p&gt;
&lt;pre class="literal-block"&gt;
# Here lie the settings
class Config(object):
        DEBUG=False
        HOST='0.0.0.0'
        REDIS_HOST='localhost'
        LOGFILE='/var/log/kickbacker.log'

class ProdConfig(Config):
        DEBUG=False

# Run Server in Debug Mode
class DevConfig(Config):
        DEBUG=True
&lt;/pre&gt;
&lt;p&gt;These changes are going to make it flexible enough for me to organize my urls all in one place, customize my Flask application to any number of random things, and also modify the settings for multiple environments I will end up needing later on (like a testing one.)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Afterword&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I am currently working on a side project where the primary goal is to explore many of the widely-used open source alternatives to some of the pieces we attempted to build in-house at my last job: &lt;a class="reference external" href="http://engineerwithoutacause.com/flask-quickstart-with-some-quick-changes.html"&gt;a werkzeug-powered app framework&lt;/a&gt;, a job queue, a local cache layer. But also to explore some of the other technologies that have become popular over the past few years: NoSQL, Node.js and who knows what else.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Posts (so far) in this Series&lt;/em&gt;&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;a class="reference external" href="http://engineerwithoutacause.com/flask-quickstart-with-some-quick-changes.html"&gt;Building a Python Web App with Flask&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="http://engineerwithoutacause.com/installation-automation-fabric-basics.html"&gt;Installation Automation with Fabric&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="http://engineerwithoutacause.com/amazon-ec2-deployment-with-boto.html"&gt;Server Deployment with boto&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="http://engineerwithoutacause.com/private-git-repos-hosted-on-dropbox.html"&gt;Private Git Repos Hosted on DropBox&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</summary><category term="flask"></category><category term="python"></category><category term="quickstart"></category><category term="app framework"></category></entry><entry><title>Dev Teams need a Chaos Monkey for Application Security</title><link href="http://engineerwithoutacause.com/dev-teams-need-a-chaos-monkey-for-application-security.html" rel="alternate"></link><updated>2012-07-17T10:13:00+02:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/dev-teams-need-a-chaos-monkey-for-application-security.html</id><summary type="html">&lt;p&gt;With the semi-recent &lt;a class="reference external" href="http://blog.linkedin.com/2012/06/06/linkedin-member-passwords-compromised/"&gt;security breach on LinkedIn of emails and passwords&lt;/a&gt;
I was pleasantly surprised to find when I logged into LinkedIn today that I was blocked and
forced to confirm my identity, &lt;strong&gt;that I had just signed in &amp;quot;from an unfamiliar location (Rwanda)&amp;quot;&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;I had actually &lt;a class="reference external" href="http://engineerwithoutacause.com/without-a-cause.html"&gt;logged in from Rwanda&lt;/a&gt; (so they got it right) and this is the level of security I should expect from a publicly traded social network, but I was surprised nonetheless.&lt;/p&gt;
&lt;div class="align-center figure"&gt;
&lt;img alt="images/linkedinRW.png" src="images/linkedinRW.png" /&gt;
&lt;/div&gt;
&lt;p&gt;Surely there was meeting among LinkedIn PM's and engineers to decide to implement this
security feature but not one that might have prevented the email/password leak in June 2012.
It reminded me of the constant trade-offs faced when working on a software project,
especially when it comes to security. Often times, making sure that your application
is 100% secure falls way below making sure that &lt;strong&gt;your application is actually running,&lt;/strong&gt;
or that your flagship customer gets the features they want, or that your backups are
working correctly, or that you patched the latest updates on your Amazon instances.
Sometimes you just &lt;a class="reference external" href="http://www.forbes.com/sites/andygreenberg/2012/07/16/hacker-opens-high-security-handcuffs-with-3d-printed-and-laser-cut-keys/"&gt;can't prepare for attacks&lt;/a&gt;
because people are always looking for a backdoor or ways to get around it.&lt;/p&gt;
&lt;p&gt;Security is a hard thing, especially with limited resources, and unless you are
&lt;a class="reference external" href="http://techcrunch.com/2012/07/12/yahoo-confirms-apologizes-for-the-email-hack-says-still-fixing-plus-check-if-you-were-impacted-non-yahoo-accounts-apply/"&gt;storing tons of personal information&lt;/a&gt; or &lt;a class="reference external" href="http://venturebeat.com/2010/04/23/blippy-credit-card-citibank/"&gt;handling sensitive credit card information&lt;/a&gt; I can't think of one startup team, founder or investor who would recommend you hire a person to focus on security before they would hire another full-stack contributor (although if they know a little bit about security that is definitely a plus.)&lt;/p&gt;
&lt;p&gt;As more &lt;a class="reference external" href="http://www.sfgate.com/technology/businessinsider/article/Scientist-Says-Immortality-Only-20-Years-Away-3710466.php"&gt;personal information&lt;/a&gt; moves online, it is becoming ever more important. Just as
DevOps teams are now &lt;a class="reference external" href="http://www.codinghorror.com/blog/2011/04/working-with-the-chaos-monkey.html"&gt;using Chaos Monkeys&lt;/a&gt; to expose holes in their cloud infrastructure there needs to be the implementation of some sort of security Chaos Monkey as well that tries to fuzz passwords, do SQL injections, exploit XSS vulnerabilities and check every other thing that could go wrong.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;If every team had a Chaos Monkey for Security, the world *might* be a safer place.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Of course the developer community would need to give it a name, maybe based on those &lt;a class="reference external" href="https://www.google.com/#q=smart+crows&amp;amp;hl=en&amp;amp;prmd=imvns&amp;amp;source=lnms&amp;amp;tbm=vid&amp;amp;sa=X&amp;amp;ei=Ny8FUNexFM2HhQemz8HPBw&amp;amp;ved=0CDMQ_AUoAw&amp;amp;bav=on.2,or.r_gc.r_pw.r_cp.r_qf.,cf.osb&amp;amp;fp=47bd2647880bc4f7&amp;amp;biw=1325&amp;amp;bih=622"&gt;really smart crows all over YouTube.&lt;/a&gt; Maybe call it the &lt;strong&gt;Security Crow&lt;/strong&gt;?&lt;/p&gt;
&lt;p&gt;We already know we can't trust them.&lt;/p&gt;
&lt;div class="align-center figure"&gt;
&lt;img alt="images/crows-from-the-birds.jpg" src="images/crows-from-the-birds.jpg" /&gt;
&lt;p class="caption"&gt;From Hitchcock's &lt;em&gt;&amp;quot;The Birds&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;/div&gt;
</summary><category term="linkedin"></category><category term="chaos monkey"></category><category term="security"></category><category term="crows"></category></entry><entry><title>Unlock iPhone 4, iOS 5.1.1 with Fedora 17</title><link href="http://engineerwithoutacause.com/unlock-iphone-4-ios-511-with-fedora-17.html" rel="alternate"></link><updated>2012-07-15T22:21:00+02:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/unlock-iphone-4-ios-511-with-fedora-17.html</id><summary type="html">&lt;dl class="docutils"&gt;
&lt;dt&gt;Preface:&lt;/dt&gt;
&lt;dd&gt;This was my attempt, turns out that as of July 15th, 2012
&lt;a class="reference external" href="http://theiphonewiki.com/wiki/index.php?title=Firmware#iPhone_4_.28GSM_model.29"&gt;you can't unlock an iPhone 4, iOS 5.1.1 with Baseband 4.12.01&lt;/a&gt; I wish I had found this wiki before I got started, but you live and you learn. Lesson Learned: Check to see if your model works before you get started.&lt;/dd&gt;
&lt;/dl&gt;
&lt;p&gt;Since the camera is arguably as good as any cheap-o camera you can buy and I need a phone here in Rwanda, it seemed like now was
the best time to break free of the control AT&amp;amp;T has had on my iPhone. A few years ago I jailbroke an
iPhone 2G for dev purposes in a mobile app dev class I took &lt;a class="footnote-reference" href="#id3" id="id1"&gt;[1]&lt;/a&gt;, but that was using iTunes
and some dead-simple GUI pwnage tool on Mac. I can only assume its harder to do on linux. Unable to find a comprehensive guide, thought I would put everything here.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Goal:&lt;/strong&gt; Unlock AT&amp;amp;T GSM iPhone so that I can make calls on Rwanda's MTN Network. This time do it using Linux.&lt;/p&gt;
&lt;p&gt;To unlock an iPhone in Linux the consensus seems to be to use the package &lt;a class="reference external" href="http://greenpois0n.com/2012/05/absinthe-2-0-has-arrived/"&gt;absinthe-linux&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;One of the first things you need to do is to backup your phone so that you can restore it later. Since this is normally done in iTunes, I had to find a workaround. I figured I would start with Rhythmbox but &lt;a class="reference external" href="http://engineerwithoutacause.com/rhythmbox-does-not-recognize-iphone-4-ios-5-on-fedora-17.html"&gt;ran into a hiccup where my iPhone wasn't being recognized&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I used &lt;strong&gt;idevicebackup2&lt;/strong&gt; to create backups on my system (idevicebackup2 is for iOS 4+, learned that the hard way)&lt;/p&gt;
&lt;pre class="literal-block"&gt;
jhull&amp;#64;~/Documents $ idevicebackup2 --debug backup iphone
Backup directory is &amp;quot;iphone&amp;quot;
Started &amp;quot;com.apple.mobilebackup2&amp;quot; service on port 54244.
Negotiated Protocol Version 2.1
Starting backup...
0 Requesting backup from device...
Full backup mode.
Receiving files
[==================================================] 100% (5.4 MB/5.4 MB)
Receiving files
[==================================================] 100% (11.7 MB/11.7 MB)
Receiving files
[==================================================] 100% (58.0 MB/58.0 MB)
...
mas mas mas
...
[==================================================] 100% Finished
- Received 3960 files from device.
- Backup Successful.
&lt;/pre&gt;
&lt;p&gt;To Unlock you are supposed to be able to just run absinthe. Of course I ran into a few errors along the way.&lt;/p&gt;
&lt;p&gt;Make sure to install &lt;strong&gt;openssl&lt;/strong&gt;&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ sudo yum install openssl openssl-devel
&lt;/pre&gt;
&lt;p&gt;Even still I was getting errors&lt;/p&gt;
&lt;pre class="literal-block"&gt;
jhull&amp;#64;~/Downloads/absinthe-linux-2.0.4 $ ./absinthe
./absinthe.x86_64: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
&lt;/pre&gt;
&lt;p&gt;Which was odd considering:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
jhull&amp;#64;~/Downloads/absinthe-linux-2.0.4 $ locate libssl
/usr/lib64/.libssl.so.1.0.0j.hmac
/usr/lib64/.libssl.so.10.hmac
/usr/lib64/libssl.so
/usr/lib64/libssl.so.1.0.0j
/usr/lib64/libssl.so.10
/usr/lib64/libssl3.so
/usr/lib64/pkgconfig/libssl.pc
&lt;/pre&gt;
&lt;p&gt;Apparently it didn't like the 'j' at the end. Creating a symlink fixed that (had the same problem with &lt;strong&gt;libcrypto&lt;/strong&gt;)&lt;/p&gt;
&lt;pre class="literal-block"&gt;
jhull&amp;#64;~/Downloads/absinthe-linux-2.0.4 $ sudo ln -s /usr/lib64/libssl.so.10 /usr/lib64/libssl.so.1.0.0
jhull&amp;#64;~/Downloads/absinthe-linux-2.0.4 $ sudo ln -s /usr/lib64/libcrypto.so.10 /usr/lib64/libcrypto.so.1.0.0
&lt;/pre&gt;
&lt;p&gt;After that a window popped right up with a &amp;quot;Jailbreak&amp;quot; button. Click on it and we are good to go. After about 10 minutes
your iPhone will restart automagically and you should see that the Cydia app store has been installed.&lt;/p&gt;
&lt;p&gt;Now within Cydia you need to add a Repo to download the UltraSn0w package to unlock your phone.
Go to Manage &amp;gt; Sources and add &lt;em&gt;http://repo.iparelhos.com&lt;/em&gt; as a source. Afterward go to Search and find
and download the &lt;em&gt;UltraSn0w&lt;/em&gt; package. Since I am running iOs 5.1.1 I also need to download &lt;em&gt;UltraSn0w fixer for iOs 5.1.1&lt;/em&gt;&lt;/p&gt;
&lt;img alt="images/cydia/sources.PNG" src="images/cydia/sources.PNG" /&gt;
&lt;img alt="images/cydia/repo.PNG" src="images/cydia/repo.PNG" /&gt;
&lt;img alt="images/cydia/dl.PNG" src="images/cydia/dl.PNG" /&gt;
&lt;p&gt;After install your iPhone reboots and it should be officially unlocked. But wait! I still get a &lt;strong&gt;No Service&lt;/strong&gt; indicator.&lt;/p&gt;
&lt;p&gt;After trying a million things and googling around, turns out &lt;a class="reference external" href="http://theiphonewiki.com/wiki/index.php?title=Firmware#iPhone_4_.28GSM_model.29"&gt;you can't unlock an iPhone 4, iOS 5.1.1 with Baseband 4.12.01&lt;/a&gt; I wish I had found this wiki before I got started, but you live and you learn. Check to see if your model works before you get started. Not that I know the first thing about reverse engineering or iPhone mods but looks like I &lt;a class="reference external" href="http://www.engineerwithoutacause.com/without-a-cause.html"&gt;I have a new side project to tackle&lt;/a&gt;.&lt;/p&gt;
&lt;table class="docutils footnote" frame="void" id="id3" rules="none"&gt;
&lt;colgroup&gt;&lt;col class="label" /&gt;&lt;col /&gt;&lt;/colgroup&gt;
&lt;tbody valign="top"&gt;
&lt;tr&gt;&lt;td class="label"&gt;&lt;a class="fn-backref" href="#id1"&gt;[1]&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Here's the &lt;a class="reference external" href="http://www.youtube.com/watch?v=EQQz3VxJzQo"&gt;final project - mPOS A Mobile Point of Sale app with OCR&lt;/a&gt; Its too bad we never finished it/made it less crappy. Funny how you can get lost in the bubble of your own first designs, and then once you are done, realize how crappy it is. Which is of cource the reason behind the whole lean startup, customer epiphany, minimum viable, church of steve blank and eric ries theology. Yet I can't think of once school project that wasn't exactly that - usually there are never any users involved at all. Funny that the youtube comments on here say it all. Nail all the problems right on the head. Should have posted the designs before we built it. Although 18K views, not too shabby.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
</summary><category term="iphone"></category><category term="unlock"></category><category term="failure"></category></entry><entry><title>Rhythmbox does not Recognize iPhone 4, iOS 5 on Fedora 17</title><link href="http://engineerwithoutacause.com/rhythmbox-does-not-recognize-iphone-4-ios-5-on-fedora-17.html" rel="alternate"></link><updated>2012-07-12T11:20:00+02:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/rhythmbox-does-not-recognize-iphone-4-ios-5-on-fedora-17.html</id><summary type="html">&lt;p&gt;Today while trying to backup my iPhone in order to unlock it I noticed that
Rhythmbox was not recognizing my device. It was showing up in the file manager but when I clicked on it
I was getting a message telling me &lt;em&gt;&amp;quot;Unable to mount iPhone - Unhandled Lockdown Error (-5)&amp;quot;&lt;/em&gt;
This all seemed strange since I had just imported all my photos using Shotwell.&lt;/p&gt;
&lt;p&gt;Typing &lt;strong&gt;dmesg&lt;/strong&gt; shows&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;[ 9512.221544] usb 2-1.2: new high-speed USB device number 7 using ehci_hcd&lt;/li&gt;
&lt;li&gt;[ 9512.311581] usb 2-1.2: New USB device found, idVendor=05ac, idProduct=1297&lt;/li&gt;
&lt;li&gt;[ 9512.311591] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3&lt;/li&gt;
&lt;li&gt;[ 9512.311598] usb 2-1.2: Product: iPhone&lt;/li&gt;
&lt;li&gt;[ 9512.311602] usb 2-1.2: Manufacturer: Apple Inc.&lt;/li&gt;
&lt;li&gt;[ 9512.311606] usb 2-1.2: SerialNumber: 12z78dont23fayou1923wish17jh2342&lt;/li&gt;
&lt;li&gt;[ 9512.514892] ipheth 2-1.2:4.2: Apple iPhone USB Ethernet device attached&lt;/li&gt;
&lt;li&gt;[ 9512.611724] atl1c 0000:04:00.0: vpd r/w failed.  This is likely a firmware bug on this device.  Contact the card vendor for a firmware update.&lt;/li&gt;
&lt;li&gt;[ 9512.652487] ADDRCONF(NETDEV_UP): eth0: link is not ready&lt;/li&gt;
&lt;li&gt;[ 9514.027984] iphone-set-info[6355]: segfault at 0 ip 0000003077b06720 sp 00007fff7f8b1648 error 4 in libc-2.15.so[3077a00000+1ac000]&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a class="reference external" href="http://unix.stackexchange.com/questions/39744/fedora-17-plugged-in-iphone-but-nothing-happens"&gt;unix.stackexchange&lt;/a&gt; led me to a &lt;a class="reference external" href="https://bugzilla.redhat.com/show_bug.cgi?id=815491"&gt;bug #815491 in F17&lt;/a&gt; but it appears that the fix deployed &lt;a class="reference external" href="https://bugzilla.redhat.com/show_bug.cgi?id=815491#c6"&gt;doesn't handle everything&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Searching for the &lt;strong&gt;atl1c vpd r/w failed&lt;/strong&gt; firmware complaint and the  &lt;strong&gt;iphone-set-info&lt;/strong&gt; segfault seemed to lead me nowhere fast. Fast forward a day later and I found a &lt;a class="reference external" href="http://ubuntuforums.org/showpost.php?p=11350062&amp;amp;postcount=2"&gt;ubuntu post on iPhone lockdown error&lt;/a&gt; - Turns out there is a bug in the pairing and unpairing of iOs5 devices. To fix is as simple as:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ sudo yum install libimobiledevice-utils
$ idevicepair unpair &amp;amp;&amp;amp; idevicepair pair
&lt;/pre&gt;
</summary><category term="rhythmbox"></category><category term="iphone"></category><category term="iOS"></category><category term="f17"></category></entry><entry><title>Show current virtualenv on bash prompt</title><link href="http://engineerwithoutacause.com/show-current-virtualenv-on-bash-prompt.html" rel="alternate"></link><updated>2012-07-11T15:20:00+02:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/show-current-virtualenv-on-bash-prompt.html</id><summary type="html">&lt;p&gt;I have known about &lt;a class="reference external" href="http://pypi.python.org/pypi/virtualenv/"&gt;virtualenv&lt;/a&gt; for a while now
but never had a reason to really use it. The machine I used at work I never had to switch
around in environments much and, well, &lt;a class="reference external" href="http://www.engineerwithoutacause.com/without-a-cause.html"&gt;before now I never really had time&lt;/a&gt; to work on other things.
Now, it finally made sense to set up a few dedicated python environments.&lt;/p&gt;
&lt;p&gt;Right away I noticed that I kept needing/wanting to flip back and forth between virtualenv's
forgetting which one I was in. Too lazy to type &lt;strong&gt;echo $VIRTUAL_ENV&lt;/strong&gt; every time I decided
to extend the freak &lt;a class="reference external" href="http://tldp.org/HOWTO/Bash-Prompt-HOWTO/x264.html"&gt;PROMPT_COMMAND&lt;/a&gt;
override that I had gotten from a &lt;a class="reference external" href="http://sethish.com"&gt;former colleague's&lt;/a&gt; dotfiles repo that
would display the most current Git branch I was in (among other things.)&lt;/p&gt;
&lt;p&gt;For getting the name of the current VirtualEnv&lt;/p&gt;
&lt;pre class="literal-block"&gt;
# Color Code me Bro
RED='\[\033[31m\]'

# Get Virtual Env
if [[ $VIRTUAL_ENV != &amp;quot;&amp;quot; ]]
    then
      # Strip out the path and just leave the env name
      venv=&amp;quot; ${RED}(${VIRTUAL_ENV##*/})&amp;quot;
else
      # In case you don't have one activated
      venv=''
fi

export PS1=&amp;quot;${myuser}${path}${venv}${branch} ${end}&amp;quot;
&lt;/pre&gt;
&lt;p&gt;I strip out the full path of the virtualenv leaving only the name
remaining. I also set it to an empty string in case I am not using one at the moment.&lt;/p&gt;
&lt;p&gt;Here is the whole shabang from my .bashrc - makes you want to vomit a little bit, but also makes your prompt sexy as hell.&lt;/p&gt;
&lt;pre class="literal-block"&gt;
# Everyone needs a little color in their lives
RED='\[\033[31m\]'
GREEN='\[\033[32m\]'
YELLOW='\[\033[33m\]'
BLUE='\[\033[34m\]'
PURPLE='\[\033[35m\]'
CYAN='\[\033[36m\]'
WHITE='\[\033[37m\]'
NIL='\[\033[00m\]'

# Hostname styles
FULL='\H'
SHORT='\h'

# System =&amp;gt; color/hostname map:
# UC: username color
# LC: location/cwd color
# HD: hostname display (\h vs \H)
# Defaults:
UC=$GREEN
LC=$BLUE
HD=$FULL

# Prompt function because PROMPT_COMMAND is awesome
function set_prompt() {
    # show the host only and be done with it.
    host=&amp;quot;${UC}${HD}${NIL}&amp;quot;

    # Special vim-tab-like shortpath (~/folder/directory/foo =&amp;gt; ~/f/d/foo)
    _pwd=`pwd | sed &amp;quot;s#$HOME#~#&amp;quot;`
    if [[ $_pwd == &amp;quot;~&amp;quot; ]]; then
       _dirname=$_pwd
    else
       _dirname=`dirname &amp;quot;$_pwd&amp;quot; `
        if [[ $_dirname == &amp;quot;/&amp;quot; ]]; then
              _dirname=&amp;quot;&amp;quot;
        fi
       _dirname=&amp;quot;$_dirname/`basename &amp;quot;$_pwd&amp;quot;`&amp;quot;
    fi
    path=&amp;quot;${LC}${_dirname}${NIL}&amp;quot;
    myuser=&amp;quot;${UC}\u&amp;#64;${NIL}&amp;quot;

    # Dirtiness from:
    # http://henrik.nyh.se/2008/12/git-dirty-prompt#comment-8325834
    if git update-index -q --refresh 2&amp;gt;/dev/null; git diff-index --quiet --cached HEAD --ignore-submodules -- 2&amp;gt;/dev/null &amp;amp;&amp;amp; git diff-files --quiet --ignore-submodules 2&amp;gt;/dev/null
        then dirty=&amp;quot;&amp;quot;
    else
       dirty=&amp;quot;${RED}*${NIL}&amp;quot;
    fi
    _branch=$(git symbolic-ref HEAD 2&amp;gt;/dev/null)
    _branch=${_branch#refs/heads/} # apparently faster than sed
    branch=&amp;quot;&amp;quot; # need this to clear it when we leave a repo
    if [[ -n $_branch ]]; then
       branch=&amp;quot; ${NIL}[${PURPLE}${_branch}${dirty}${NIL}]&amp;quot;
    fi

    # Dollar/pound sign
    end=&amp;quot;${LC}\$${NIL} &amp;quot;

    # Virtual Env
    if [[ $VIRTUAL_ENV != &amp;quot;&amp;quot; ]]
       then
           venv=&amp;quot; ${RED}(${VIRTUAL_ENV##*/})&amp;quot;
    else
       venv=''
    fi

    export PS1=&amp;quot;${myuser}${path}${venv}${branch} ${end}&amp;quot;
}

export PROMPT_COMMAND=set_prompt
&lt;/pre&gt;
</summary><category term="virtualenv"></category><category term="bash"></category><category term="prompt_command"></category></entry><entry><title>Without a Cause</title><link href="http://engineerwithoutacause.com/without-a-cause.html" rel="alternate"></link><updated>2012-07-08T21:20:00+02:00</updated><author><name>Jeff Hull</name></author><id>http://engineerwithoutacause.com/without-a-cause.html</id><summary type="html">&lt;p&gt;One week ago I woke up at 7 a.m. in my hometown of Boston, took a shower,
checked email and read the front page of Hacker News while I drudged into the office,
made the coffee, sat down in front of my machine and did my daily
&lt;strong&gt;fire-fighting-12-hour-understaffed-and-underpaid-learn-something-new-every-day-wouldnt-trade-it-in-for-a-normal-job-ever&lt;/strong&gt;
routine at the startup I have come to know and love over the past 3 and a half years.&lt;/p&gt;
&lt;p&gt;Today I woke up in &lt;a class="reference external" href="http://goo.gl/maps/WbyN"&gt;Rwinkwavu, Rwanda&lt;/a&gt;, my home for the next few months.
I still took a shower (well actually a bucket bath), I still checked email and read the front page of
Hacker News (yes there is Internet in Africa) and I still made coffee and sat down in front of my machine, &lt;strong&gt;but for the first time
in quite a while my view is different.&lt;/strong&gt; &lt;a class="footnote-reference" href="#id3" id="id1"&gt;[1]&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;At this very moment in time, I have no cause.&lt;/strong&gt; Responsibility is now a word that I can only associate
back home with Boston. Anyone who has ever been involved deeply in a startup knows what its like to be totally
consumed by the role. It is incredibly rewarding but can be, at times, stifling as well. The recently
popular and eerily opportune article on &lt;a class="reference external" href="http://opinionator.blogs.nytimes.com/2012/06/30/the-busy-trap"&gt;The Busy Trap&lt;/a&gt; seems to
fit so well with what myself, my colleagues and many of my friends experience every day. I feel lucky to have
the opportunity to break out of it.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;I like to make things, to create things, and to be responsible for them:&lt;/strong&gt; from the inception of an idea straight through
to its aftermath. This includes all the steps in between: its actual creation, its deliverance, its success, its failure.
It's why I became an engineer, why I learned to code, why I always plan to work in an environment where the primary
focus is entrepreneurial, the goals are disruptive and the coffee flows like Saudi Arabian oil.&lt;/p&gt;
&lt;p&gt;I have no cause, but this is not cause for alarm. &lt;strong&gt;I have room to create again.&lt;/strong&gt; I have room to do all the things I want to
but haven't been able to: to give back to open source projects, to read, to write, to code, to learn outside the lens of my
where I work, to explore.&lt;/p&gt;
&lt;p&gt;I plan to document my progress and my projects here, not just now but into the future. First goal is already accomplished:
&lt;strong&gt;you are reading it.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In short: I have &amp;quot;left&amp;quot; my startup as I know it &lt;a class="footnote-reference" href="#id4" id="id2"&gt;[2]&lt;/a&gt; and am here in rural Africa to do all the things I was always too busy
to do, too busy to make, too busy to create. I am breaking out of &amp;quot;the busy trap&amp;quot; and reflecting on my past roles
while finding exactly what the next one might be. Wish me luck.&lt;/p&gt;
&lt;table class="docutils footnote" frame="void" id="id3" rules="none"&gt;
&lt;colgroup&gt;&lt;col class="label" /&gt;&lt;col /&gt;&lt;/colgroup&gt;
&lt;tbody valign="top"&gt;
&lt;tr&gt;&lt;td class="label"&gt;&lt;a class="fn-backref" href="#id1"&gt;[1]&lt;/a&gt;&lt;/td&gt;&lt;td&gt;My New &amp;quot;Office&amp;quot; View&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;img alt="images/rwink-office.jpg" src="images/rwink-office.jpg" /&gt;
&lt;table class="docutils footnote" frame="void" id="id4" rules="none"&gt;
&lt;colgroup&gt;&lt;col class="label" /&gt;&lt;col /&gt;&lt;/colgroup&gt;
&lt;tbody valign="top"&gt;
&lt;tr&gt;&lt;td class="label"&gt;&lt;a class="fn-backref" href="#id2"&gt;[2]&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&amp;quot;Left&amp;quot; is a strong word, &amp;quot;in transition&amp;quot; might be better. Let's be serious, it is hard to ever leave something
you have put so much into and
so I am still involved (with ever decreasing responsibility) in this time of transition. While it is
bittersweet I am ever hopeful for continued success. Removing a link in the chain always forces chaos, but strengthens
the overall structure as well. I am so grateful for the support of my colleagues in my endeavors and look forward
to what is to come.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
</summary><category term="beginning"></category></entry></feed>