<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>mikesouza.github.io</title>
    <description></description>
    <link>http://blog.mikesouza.io/</link>
    <atom:link href="http://blog.mikesouza.io/feed.xml" rel="self" type="application/rss+xml" />
    <pubDate>Thu, 05 Jul 2018 11:49:30 +0000</pubDate>
    <lastBuildDate>Thu, 05 Jul 2018 11:49:30 +0000</lastBuildDate>
    <generator>Jekyll v3.7.3</generator>
    
    <item>
      <title>The hardest habit to kick when coding Python</title>
      <description>&lt;p&gt;I &lt;em&gt;like&lt;/em&gt; Python, and I can see myself &lt;strong&gt;loving it&lt;/strong&gt; the more I use it, especially since it’s great for when I need to write a quick script to do something. But whenever I’m coding Python, I find it particularly difficult to break the habit of terminating statements with a semi-colon.&lt;/p&gt;

&lt;p&gt;Having spent most my personal, academic, and professional time coding in C-style syntax programming languages, terminating statements with a semi-colon has become less like a habit and more accurately like an involuntary reflex ingrained in muscle memory. I’m glad that the designers of Python decided to allow semi-colon statement termination as valid syntax, despite it being unnecessary and poor practice.&lt;/p&gt;

&lt;p&gt;Alas, until I can completely suppress this “reflex” when I’m coding Python, I use the following command to strip out any stray semi-colons I may have accidentally left behind:&lt;/p&gt;

&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot;&gt;sed &lt;span class=&quot;s2&quot;&gt;&quot;s/[[:blank:]]*;[[:blank:]]*&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$/&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;/&quot;&lt;/span&gt; test.py&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;
</description>
      <pubDate>Sun, 26 May 2013 09:04:20 +0000</pubDate>
      <link>http://blog.mikesouza.io/uncategorized/2013/05/26/the-hardest-habit-to-kick-when-coding-python/</link>
      <guid isPermaLink="true">http://blog.mikesouza.io/uncategorized/2013/05/26/the-hardest-habit-to-kick-when-coding-python/</guid>
      
      <category>Python</category>
      
      
      <category>Uncategorized</category>
      
    </item>
    
    <item>
      <title>FindZilla GitHub Repository</title>
      <description>&lt;p&gt;Last week I released the Chrome extension &lt;a href=&quot;https://chrome.google.com/webstore/detail/findzilla/aiandhcaoopdebbehlfhpcolegndplgo?hl=en&amp;amp;gl=US&quot; title=&quot;FindZilla&quot;&gt;FindZilla&lt;/a&gt; that I’ve been developing on and off for the last few months. The experience was a great opportunity freshen up my JavaScript/ HTML5/ CSS3 skills, as well as utilize the JavaScript libraries &lt;a href=&quot;http://jquery.com/&quot; title=&quot;jQuery&quot;&gt;jQuery&lt;/a&gt; and &lt;a href=&quot;http://jqueryui.com/&quot; title=&quot;jQuery UI&quot;&gt;jQuery UI&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;In the spirit of learning and transparency, I’ve open sourced the FindZilla code which can be found at: &lt;a href=&quot;https://github.com/MikeSouza/FindZilla&quot; title=&quot;FindZilla GitHub Repository&quot;&gt;My GitHub Repository&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It occurred to me while I was developing FindZilla, that privacy conscious users like myself may be curious about the permissions required by Chrome when installing the extension:&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/assets/img/findzilla-permissions.png&quot; alt=&quot;Findzilla Permissions&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Obviously, the wording of the two permissions that must be granted broad and vague. They describe &lt;strong&gt;potentially&lt;/strong&gt; what an extension is capable of accessing, not necessarily what it does in fact access and how it actually uses the information it has access to. FindZilla does not transmit any information outside of its Chrome sandbox. Nor does it track searches you’ve made. Any data it stores is confined to the extension’s local data storage (See &lt;a href=&quot;https://developer.chrome.com/extensions/storage.html#apiReference&quot;&gt;Chrome Storage API&lt;/a&gt;) and is used to restore its state (i.e. when previously closed tabs are reopened), all of which can be turned off in the extension’s options if you so please.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/assets/img/findzilla-options.png&quot; alt=&quot;Findzilla Options&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Anyways, you don’t have to take my word for it, check out the source code!&lt;/p&gt;
</description>
      <pubDate>Fri, 17 May 2013 03:10:40 +0000</pubDate>
      <link>http://blog.mikesouza.io/findzilla/2013/05/17/findzilla-github-repository/</link>
      <guid isPermaLink="true">http://blog.mikesouza.io/findzilla/2013/05/17/findzilla-github-repository/</guid>
      
      <category>Chrome</category>
      
      <category>CSS3</category>
      
      <category>GitHub</category>
      
      <category>HTML5</category>
      
      <category>JavaScript</category>
      
      
      <category>FindZilla</category>
      
    </item>
    
    <item>
      <title>Check out my Chrome extension FindZilla!</title>
      <description>&lt;p&gt;I’ve published the Chrome browser extension I’ve been working on, &lt;a href=&quot;https://chrome.google.com/webstore/detail/findzilla/aiandhcaoopdebbehlfhpcolegndplgo?hl=en&amp;amp;gl=US&quot; title=&quot;FindZilla&quot;&gt;FindZilla&lt;/a&gt;, to Chrome Web Store.&lt;/p&gt;

&lt;p&gt;FindZilla is a relatively simple extension that provides better “find in page” functionality than the built-in default Chrome feature. It offers case-sensitive and whole word matching options, as well as provides more accurate find results. For example, if you had a webpage with the text “ABABABA” and wanted to find all occurrences of the string “ABA”. The default Chrome find in page feature would only match TWO occurrences of “ABA”, but in reality there are THREE, which FindZilla correctly matches.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/assets/img/findzilla-toolbar.png&quot; alt=&quot;FindZilla Toolbar&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Any suggestions/ feature requests, comments, bug reports, etc. are much appreciated!&lt;/p&gt;
</description>
      <pubDate>Sun, 12 May 2013 04:21:12 +0000</pubDate>
      <link>http://blog.mikesouza.io/findzilla/2013/05/12/checkout-findzilla-my-chrome-extension-project/</link>
      <guid isPermaLink="true">http://blog.mikesouza.io/findzilla/2013/05/12/checkout-findzilla-my-chrome-extension-project/</guid>
      
      <category>Chrome</category>
      
      <category>CSS3</category>
      
      <category>HTML5</category>
      
      <category>JavaScript</category>
      
      
      <category>FindZilla</category>
      
    </item>
    
    <item>
      <title>Sayonara Experts-Exchange!</title>
      <description>&lt;p&gt;It occurred to me recently that my life has had one less major annoyance due to the death of Experts-Exchange!&lt;/p&gt;

&lt;p&gt;Ok… Maybe not death, since the site still exists… But it’s as good as dead to me. I can’t recall the last time I’ve seen it in the top search results for a technical question or problem I’m having. With the advent of StackOverflow (and the StackExchange network in general), no longer do I find myself wasting time consciously avoiding Experts-Exchange search results, or facepalming because I accidentally clicked on a search result to a paywalled Experts-Exchange Q&amp;amp;A. Good riddance.&lt;/p&gt;

&lt;p&gt;Interestingly, I found this related &lt;a href=&quot;http://www.seroundtable.com/leading-blocked-sites-experts-exchange-14240.html&quot;&gt;post&lt;/a&gt;.&lt;/p&gt;
</description>
      <pubDate>Tue, 16 Apr 2013 15:08:17 +0000</pubDate>
      <link>http://blog.mikesouza.io/uncategorized/2013/04/16/sayonara-experts-exchange/</link>
      <guid isPermaLink="true">http://blog.mikesouza.io/uncategorized/2013/04/16/sayonara-experts-exchange/</guid>
      
      
      <category>Uncategorized</category>
      
    </item>
    
    <item>
      <title>Series of Tubes Reference</title>
      <description>&lt;p&gt;I was reading through the &lt;a href=&quot;https://developer.chrome.com/extensions/storage.html#limits&quot;&gt;Chrome extensions API&lt;/a&gt;, and came across this amusing reference to the (in)famous &lt;a href=&quot;http://en.wikipedia.org/wiki/Series_of_tubes&quot;&gt;“Series of Tubes”&lt;/a&gt; speech by the now deceased former Alaskan Senator &lt;a href=&quot;http://en.wikipedia.org/wiki/Ted_Stevens&quot;&gt;Ted Stevens&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;code class=&quot;highlighter-rouge&quot;&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;chrome.storage&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt; is not a big truck. It’s a series of tubes. And if you don’t understand, those tubes can be filled, and if they are filled when you put your message in, it gets in line, and it’s going to be delayed by anyone that puts into that tube enormous amounts of material.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I remember back in 2006 when this went viral, how quick I was to join everyone else in ridicule of the late Ted Stevens’ metaphor/ wording. However, I must admit that my pro &lt;a href=&quot;http://en.wikipedia.org/wiki/Net_neutrality&quot;&gt;Net Neutrality&lt;/a&gt; bias led me to be a bit unfair. For a layman, it’s an apt enough metaphor, as demonstrated by its reference in the Chrome extensions API documentation.&lt;/p&gt;
</description>
      <pubDate>Sun, 17 Mar 2013 12:26:43 +0000</pubDate>
      <link>http://blog.mikesouza.io/uncategorized/2013/03/17/series-of-tubes-reference/</link>
      <guid isPermaLink="true">http://blog.mikesouza.io/uncategorized/2013/03/17/series-of-tubes-reference/</guid>
      
      <category>Chrome</category>
      
      
      <category>Uncategorized</category>
      
    </item>
    
    <item>
      <title>Why I can&amp;#8217;t fully commit to Google Chrome&amp;#8230;</title>
      <description>&lt;p&gt;Over the last few years I’ve made a couple attempts to switch from using Firefox as my primary browser to Chrome.  Each time I’ve attempted to transition to Chrome, I’ve found myself crawling right back to Firefox.  Granted, I’ve been a loyal user of Firefox since version 1.0, and in the past have done my fair share of evangelizing its adoption to those willing to listen.  However, in the advent of Firefox’s rapid release schedule, the last two releases (Firefox 17 &amp;amp; 18), drove me to give Chrome another try.  Why?  Because in the last several months I’ve been required to use another browser in order to properly use or view some website more times than I can remember in the span of the last ~9 years, all due to the latest release of Firefox breaking something that worked in the previous release.  Not cool.&lt;/p&gt;

&lt;p&gt;While my latest attempt to fully transition to using Chrome has also failed, I’d like to note (as best as I can remember) some the reasons why each attempt failed:&lt;/p&gt;

&lt;h4 id=&quot;first-attempt-2010&quot;&gt;First Attempt (2010):&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;Features &amp;amp; Extensions - When I first tried Chrome, there was a lack of built-in functionality or extensions which could completely replace the majority of extensions and features that I’d become so accustomed to using Firefox.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4 id=&quot;second-attempt-2011&quot;&gt;Second Attempt (2011):&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;UI Customization - I just couldn’t get past the extreme lack of customization and extensibility afforded to extension authors and the user.  So while I could compromise and do without many obscure Firefox extensions that I use once in a blue moon, the limitations of where Chrome extensions can be accessed from (via browser action icons to the right of the OmniBar) posed a major annoyance if I have 5+ extensions I use on a regular basis.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4 id=&quot;third-attempt-2013&quot;&gt;Third Attempt (2013):&lt;/h4&gt;

&lt;ul&gt;
  &lt;li&gt;FTP Browsing - Although minor, my most recent attempt to transition exposed to me that the built-in FTP browsing functionality of Chrome is lacking in comparison to Firefox.  For example, the inability for me to sort by column (i.e. Name, Size, Date Modified).  It looks like I am not the only &lt;a title=&quot;one&quot; href=&quot;https://code.google.com/p/chromium/issues/detail?id=31577&quot; target=&quot;_blank&quot;&gt;one&lt;/a&gt; that misses this functionality from Firefox.&lt;/li&gt;
  &lt;li&gt;Find on Page - Chrome lacks the ability to perform a case-sensitive search for words/ text on a page.  This might as well be a deal breaker for me, because I use this feature in Firefox a lot more than I realized.  Again, it seems that I’m not &lt;a title=&quot;alone&quot; href=&quot;http://productforums.google.com/forum/#!topic/chrome/L3pXFfQr79A&quot; target=&quot;_blank&quot;&gt;alone&lt;/a&gt;,  and that it doesn’t look like it’s &lt;a title=&quot;on the radar&quot; href=&quot;https://code.google.com/p/chromium/issues/detail?id=8717&quot; target=&quot;_blank&quot;&gt;on the radar&lt;/a&gt; to be implemented in the near or foreseeable future!&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Alas, this most recent attempt has motivated me into starting a new project of developing Chrome extensions to compensate for Chrome’s inadequacies.  More to come as I progress in the development of said extension(s).&lt;/p&gt;
</description>
      <pubDate>Sat, 09 Feb 2013 11:02:40 +0000</pubDate>
      <link>http://blog.mikesouza.io/uncategorized/2013/02/09/my-third-attempt-to-transition-google-chrome/</link>
      <guid isPermaLink="true">http://blog.mikesouza.io/uncategorized/2013/02/09/my-third-attempt-to-transition-google-chrome/</guid>
      
      <category>Chrome</category>
      
      <category>Firefox</category>
      
      
      <category>Uncategorized</category>
      
    </item>
    
    <item>
      <title>Hello World!</title>
      <description>
&lt;figure class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-c#&quot; data-lang=&quot;c#&quot;&gt;&lt;span class=&quot;k&quot;&gt;namespace&lt;/span&gt; &lt;span class=&quot;nn&quot;&gt;HelloWorld&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;k&quot;&gt;class&lt;/span&gt; &lt;span class=&quot;nc&quot;&gt;Hello&lt;/span&gt; 
    &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
        &lt;span class=&quot;k&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;void&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;Main&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt; 
        &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
            &lt;span class=&quot;n&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Console&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;WriteLine&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;Hello World!&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
        &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;

&lt;p&gt; &lt;/p&gt;
</description>
      <pubDate>Sun, 06 Jan 2013 11:14:11 +0000</pubDate>
      <link>http://blog.mikesouza.io/uncategorized/2013/01/06/hello-world/</link>
      <guid isPermaLink="true">http://blog.mikesouza.io/uncategorized/2013/01/06/hello-world/</guid>
      
      <category>C#</category>
      
      
      <category>Uncategorized</category>
      
    </item>
    
  </channel>
</rss>
