<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>char * log [ ] = { 
  'programming', 
  'user experience', 
  'nyc' 
}



var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));

var pageTracker = _gat._getTracker("UA-1106004-2");
pageTracker._initData();
pageTracker._trackPageview();
</description><title>jasonSeney('blog');</title><generator>Tumblr (3.0; @jasonseney)</generator><link>http://blog.jasonseney.com/</link><item><title>After the Snow</title><description>&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_kxppobSAKc1qz75qg.jpg" alt="Kew Gardens, Queens - Snow"/&gt;&lt;img src="http://media.tumblr.com/tumblr_kxppnfuuvP1qz75qg.jpg" alt="Evo X MR - Snow"/&gt;&lt;/p&gt;</description><link>http://blog.jasonseney.com/post/384980210</link><guid>http://blog.jasonseney.com/post/384980210</guid><pubDate>Thu, 11 Feb 2010 23:56:33 -0500</pubDate></item><item><title>Before the Snow</title><description>&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_kxnv7jS1r81qz75qg.jpg" alt="Kew Gardens, Queens"/&gt;&lt;img src="http://media.tumblr.com/tumblr_kxnv6tlphl1qz75qg.jpg" alt="Evo X MR"/&gt;&lt;/p&gt;</description><link>http://blog.jasonseney.com/post/383149924</link><guid>http://blog.jasonseney.com/post/383149924</guid><pubDate>Thu, 11 Feb 2010 00:01:00 -0500</pubDate><category>cars</category><category>queens</category></item><item><title>White at Night


BMW 335i
Infiniti FX 50
BMW 335i

Location:...</title><description>&lt;img src="http://28.media.tumblr.com/tumblr_kxm613NPuc1qz71efo5_r1_500.jpg"/&gt;&lt;br/&gt; &lt;br/&gt;&lt;img src="http://27.media.tumblr.com/tumblr_kxm613NPuc1qz71efo6_r1_500.jpg"/&gt;&lt;br/&gt; &lt;br/&gt;&lt;img src="http://28.media.tumblr.com/tumblr_kxm613NPuc1qz71efo7_r1_500.jpg"/&gt;&lt;br/&gt; &lt;br/&gt;&lt;img src="http://25.media.tumblr.com/tumblr_kxm613NPuc1qz71efo9_r1_500.jpg"/&gt;&lt;br/&gt; &lt;br/&gt;&lt;img src="http://26.media.tumblr.com/tumblr_kxm613NPuc1qz71efo10_r1_500.jpg"/&gt;&lt;br/&gt; &lt;br/&gt;&lt;h1&gt;White at Night&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;BMW 335i&lt;/li&gt;
&lt;li&gt;Infiniti FX 50&lt;/li&gt;
&lt;li&gt;BMW 335i&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Location: Greenwich/West village&lt;/strong&gt;&lt;/p&gt;</description><link>http://blog.jasonseney.com/post/381979048</link><guid>http://blog.jasonseney.com/post/381979048</guid><pubDate>Wed, 10 Feb 2010 11:12:40 -0500</pubDate><category>Cars</category></item><item><title>Eloquent JavaScript -- interactive tutorial</title><description>&lt;a href="http://eloquentjavascript.net/"&gt;Eloquent JavaScript -- interactive tutorial&lt;/a&gt;</description><link>http://blog.jasonseney.com/post/208863571</link><guid>http://blog.jasonseney.com/post/208863571</guid><pubDate>Fri, 09 Oct 2009 21:36:01 -0400</pubDate></item><item><title>Linux.com :: Vim tips: Folding fun</title><description>&lt;a href="http://www.linux.com/archive/articles/114138"&gt;Linux.com :: Vim tips: Folding fun&lt;/a&gt;</description><link>http://blog.jasonseney.com/post/207650495</link><guid>http://blog.jasonseney.com/post/207650495</guid><pubDate>Thu, 08 Oct 2009 12:38:21 -0400</pubDate></item><item><title>Web Dev Time Estimate Strategy</title><description>&lt;p&gt;Per Task:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[1] Planning + coding time (could split estimate if applicable)&lt;/li&gt;
&lt;li&gt;[2] QA Time&lt;/li&gt;
&lt;li&gt;[3] Post QA bug-fix time estimate

&lt;ul&gt;
&lt;li&gt;Will be longer for front end (cross browser) dev or complex user interaction&lt;/li&gt;
&lt;li&gt;Shorter for content updates and server side/db dev&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;[4] Overall enviroment/code setup and multi-dev collaboration time&lt;/li&gt;
&lt;/ul&gt;</description><link>http://blog.jasonseney.com/post/134375143</link><guid>http://blog.jasonseney.com/post/134375143</guid><pubDate>Thu, 02 Jul 2009 17:37:00 -0400</pubDate></item><item><title>Javascript Argument Sort</title><description>&lt;p&gt;In response to &lt;a href="http://blog.meebo.com/?p=1660"&gt;Meebo Javascript Puzzler&lt;/a&gt;&lt;/p&gt;

&lt;code class="prettyprint"&gt;function argSort(){return Array.prototype.slice.call(arguments).sort();}&lt;/code&gt;</description><link>http://blog.jasonseney.com/post/116634278</link><guid>http://blog.jasonseney.com/post/116634278</guid><pubDate>Tue, 02 Jun 2009 00:49:00 -0400</pubDate><category>javascript</category></item><item><title>Great article on a current XML coding challenge by IBM on...</title><description>&lt;img src="http://29.media.tumblr.com/OFsETGxdDi7xoyevQaM7eZgho1_400.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Great article on a current XML coding challenge by IBM on &lt;a href="http://antoniocangiano.com/2008/12/01/ibms-xml-challenge-lots-of-prizes-inside/"&gt;Antonio Cangiano’s blog&lt;/a&gt;. Ton’s of prizes and a few contents to choose from. Hurry, contest ends January 31st!&lt;/p&gt;
&lt;p&gt;
View it&lt;a href="http://antoniocangiano.com/2008/12/01/ibms-xml-challenge-lots-of-prizes-inside/"&gt;here&lt;/a&gt;
&lt;/p&gt;</description><link>http://blog.jasonseney.com/post/67903068</link><guid>http://blog.jasonseney.com/post/67903068</guid><pubDate>Fri, 02 Jan 2009 00:12:16 -0500</pubDate></item><item><title>Gmail Hack 2 - HTML Email</title><description>&lt;p&gt;Want to send your own HTML content in a Gmail message from the web interface?&lt;br/&gt;&lt;br/&gt;
If you have &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/1843"&gt;firebug&lt;/a&gt; installed, you can simply right click the big empty box where your message goes, and select “inspect element”. There will be a body tag highlighted (inside an iframe) which you can right click and select “Edit HTML”. This will give you an empty box in firebug to type or paste in your HTML.&lt;br/&gt;&lt;br/&gt;
An added bonus is the content will be rendered in real time in the Gmail message box, so you can see the result of the html entered. 

Sounds complicated at first, but takes no more than 5 seconds.

Don’t get Gmail get you down - hack it! :)&lt;/p&gt;</description><link>http://blog.jasonseney.com/post/67889968</link><guid>http://blog.jasonseney.com/post/67889968</guid><pubDate>Thu, 01 Jan 2009 22:16:44 -0500</pubDate></item><item><title>[ Python &amp; Ruby Log ]
Author: Jason R Seney

Key: [+ good] [- bad] [~ indifferent]

_____(...</title><description>&lt;p&gt;[ Python &amp; Ruby Log ]&lt;br/&gt;
Author: Jason R Seney&lt;/p&gt;

&lt;p&gt;Key: [+ good] [- bad] [~ indifferent]&lt;/p&gt;

&lt;p&gt;_____( Python )____&lt;/p&gt;

&lt;p&gt;+ Exellent scientific computation libraries&lt;br/&gt;
- No syntatic markup, just indents&lt;br/&gt;
+ Tons of built in functionality&lt;br/&gt;
+ Consise code &lt;br/&gt;
+ Easy imports&lt;br/&gt;
+ Has automatic enumeration with ” for i in array: “&lt;br/&gt;
~ Many functions are global for type “casting”&lt;br/&gt;
	ex: str(x) where x=4 , len(myList) where myList = [1,2,3]&lt;/p&gt;

&lt;p&gt;&lt;br/&gt;
_____( Ruby )_____&lt;/p&gt;

&lt;p&gt;+ Interactive mode usefull for quick tests of code&lt;br/&gt;
+ AWSOME Regex support! Sooo easy to use and get back references&lt;br/&gt;
	ex. “This is a test”.match(/(\w+) (\w+)) puts x[0] puts x[1]&lt;br/&gt;
- No support for incrementors/decrementors ( “n++” or “—i” etc)&lt;br/&gt;
- Can use {} or “do … end” or “if … end” which leads to inconsistancy&lt;br/&gt;
- Uses blocks instead of for(int i=0; i&lt;/p&gt;</description><link>http://blog.jasonseney.com/post/43890764</link><guid>http://blog.jasonseney.com/post/43890764</guid><pubDate>Tue, 29 Jul 2008 00:01:59 -0400</pubDate><category>python</category><category>ruby</category><category>code</category><category>programming</category></item><item><title>Photo</title><description>&lt;img src="http://25.media.tumblr.com/OFsETGxdDazx3o1kz1mbrxMn_400.png"/&gt;&lt;br/&gt;&lt;br/&gt;</description><link>http://blog.jasonseney.com/post/40922943</link><guid>http://blog.jasonseney.com/post/40922943</guid><pubDate>Fri, 04 Jul 2008 01:50:24 -0400</pubDate></item><item><title>Hacking Gmail to push fetched email
Gmail has...</title><description>&lt;img src="http://24.media.tumblr.com/OFsETGxdDazwxmmuthB3il0p_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;h1&gt;Hacking Gmail to push fetched email&lt;/h1&gt;
&lt;p&gt;Gmail has “fetch” capability which enables grabbing messages from other POP accounts at a rate of approximately once every hour.&lt;/p&gt;

&lt;big&gt;&lt;em&gt;Slow…&lt;/em&gt;&lt;/big&gt;
&lt;p&gt;
I use this to automatically grab my work email from an exchange server, tag it, and forward it to my cell phone via text message (my # @ messaging.sprintpcs.com). This allows me to filter and log all messages in Gmail while pushing to mobile, albeit very slowly.
&lt;/p&gt;
&lt;h3&gt;The Fix &lt;small&gt;&lt;i&gt;Part I&lt;/i&gt;&lt;/small&gt;
&lt;/h3&gt;
&lt;p&gt;
Gmail uses an ajax request to force a check on the email account when you click “Check Now” in Account Settings. By using firebug to grab the link that the GET request is sent to, we can just automate sending to that URI.
&lt;/p&gt;
I did a quick jQuery script to send a GET to that URI at a timed interval. About 7 lines of code, and just let it run in a browser. It kinda worked I think. I can get my requests down to every 5 minutes. Considering it takes about a minute to check the mail, I guess that’s not to bad.

&lt;p&gt;
Now, on to a real server side program that can completely automate this reliably! :D
&lt;/p&gt;</description><link>http://blog.jasonseney.com/post/40922550</link><guid>http://blog.jasonseney.com/post/40922550</guid><pubDate>Fri, 04 Jul 2008 01:45:00 -0400</pubDate></item><item><title>"The Write Less, Do More,
 Javascript Library."</title><description>“The Write Less, Do More,&lt;br/&gt;
 Javascript Library.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;big&gt;&lt;a href="http://jQuery.com"&gt;jQuery&lt;/a&gt;&lt;/big&gt; is amazing.&lt;/em&gt;</description><link>http://blog.jasonseney.com/post/39958488</link><guid>http://blog.jasonseney.com/post/39958488</guid><pubDate>Thu, 26 Jun 2008 15:05:55 -0400</pubDate></item><item><title>
“How I built a full Oracle PL/SQL JDBC Java Application with GUI in 1 ½ days.”


Coming...</title><description>&lt;p&gt;&lt;h1&gt;&lt;span style="font-family:Georgia;"&gt;
“How I built a full Oracle PL/SQL JDBC Java Application with GUI in 1 ½ days.”
&lt;/span&gt;&lt;/h1&gt;

&lt;br/&gt;&lt;i&gt;Coming soon…&lt;/i&gt;&lt;/p&gt;</description><link>http://blog.jasonseney.com/post/34064314</link><guid>http://blog.jasonseney.com/post/34064314</guid><pubDate>Wed, 07 May 2008 21:14:00 -0400</pubDate></item><item><title>Shai Hulud - Misanthropy Pure</title><description>&lt;embed type="application/x-shockwave-flash" src="http://blog.jasonseney.com/swf/audio_player.swf?audio_file=http://www.tumblr.com/audio_file/31986887/OFsETGxdD7w26dzaN7sEfEIF&amp;color=FFFFFF" height="27" width="207" quality="best"&gt;&lt;/embed&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Shai Hulud - Misanthropy Pure&lt;/p&gt;</description><link>http://blog.jasonseney.com/post/31986887</link><guid>http://blog.jasonseney.com/post/31986887</guid><pubDate>Wed, 16 Apr 2008 19:05:48 -0400</pubDate></item><item><title>District 13 - Featuring Parkour Master David Belle</title><description>&lt;a href="http://www.thefreerunningmovie.com"&gt;District 13 - Featuring Parkour Master David Belle&lt;/a&gt;</description><link>http://blog.jasonseney.com/post/31986725</link><guid>http://blog.jasonseney.com/post/31986725</guid><pubDate>Wed, 16 Apr 2008 19:02:29 -0400</pubDate></item><item><title>Thai grocery store</title><description>&lt;img src="http://25.media.tumblr.com/OFsETGxdD7vtsw2qCoO7Lq6c_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Thai grocery store&lt;/p&gt;</description><link>http://blog.jasonseney.com/post/31967919</link><guid>http://blog.jasonseney.com/post/31967919</guid><pubDate>Wed, 16 Apr 2008 15:11:19 -0400</pubDate></item><item><title>Syntax Test for Previous JS Code</title><description>&lt;p&gt; Using GVim’s “Convert to HTML” feature, I easily converted my line-numbered and highlighted code to plain html for tumblr. While the mark-up is pretty ridiculous (a web developer/designer’s nightmare - full of font tags), it is a quick way to post code.&lt;/p&gt;


&lt;pre style="background:#303030; color:#f0f0f0;"&gt;
&lt;font color="#707070"&gt; 1 &lt;/font&gt;&lt;font color="#c0c0c0"&gt;/* Function that returns a random index (int) of an array */&lt;/font&gt;
&lt;font color="#707070"&gt; 2 &lt;/font&gt;&lt;font color="#40f8f8"&gt;function&lt;/font&gt; getRandomIndex(&lt;font color="#60f0a8"&gt;array&lt;/font&gt;) &lt;font color="#40f8f8"&gt;{&lt;/font&gt;
&lt;font color="#707070"&gt; 3 &lt;/font&gt;    &lt;font color="#c0c0c0"&gt;/*rand is: &lt;/font&gt;
&lt;font color="#707070"&gt; 4 &lt;/font&gt;&lt;font color="#c0c0c0"&gt;    "The rounded int of a random decimal between 0 and 1 times &lt;/font&gt;
&lt;font color="#707070"&gt; 5 &lt;/font&gt;&lt;font color="#c0c0c0"&gt;    10 to the power of the ceiling of the array length divided by ten."&lt;/font&gt;
&lt;font color="#707070"&gt; 6 &lt;/font&gt;&lt;font color="#c0c0c0"&gt;    Thus, rand is a random number between 0 and 10 if length is less than 10&lt;/font&gt;
&lt;font color="#707070"&gt; 7 &lt;/font&gt;&lt;font color="#c0c0c0"&gt;    and a number between 0 and 100 if length is less than 100 etc...&lt;/font&gt;
&lt;font color="#707070"&gt; 8 &lt;/font&gt;&lt;font color="#c0c0c0"&gt;    */&lt;/font&gt;
&lt;font color="#707070"&gt; 9 &lt;/font&gt;    &lt;font color="#40f8f8"&gt;var&lt;/font&gt; rand = Math.round(Math.random() *
&lt;font color="#707070"&gt;10 &lt;/font&gt;        Math.pow(10,Math.ceil(&lt;font color="#60f0a8"&gt;array&lt;/font&gt;.length/10)));
&lt;font color="#707070"&gt;11 &lt;/font&gt;
&lt;font color="#707070"&gt;12 &lt;/font&gt;    &lt;font color="#c0c0c0"&gt;/* Get a random int using rand that is also &lt;/font&gt;
&lt;font color="#707070"&gt;13 &lt;/font&gt;&lt;font color="#c0c0c0"&gt;        within the bounds of the array */&lt;/font&gt;
&lt;font color="#707070"&gt;14 &lt;/font&gt;    &lt;font color="#40f8f8"&gt;var&lt;/font&gt; index = rand % &lt;font color="#60f0a8"&gt;array&lt;/font&gt;.length;
&lt;font color="#707070"&gt;15 &lt;/font&gt;
&lt;font color="#707070"&gt;16 &lt;/font&gt;    &lt;font color="#dcdc78"&gt;return&lt;/font&gt; index;
&lt;font color="#707070"&gt;17 &lt;/font&gt;&lt;font color="#40f8f8"&gt;}&lt;/font&gt;
&lt;/pre&gt;</description><link>http://blog.jasonseney.com/post/31041337</link><guid>http://blog.jasonseney.com/post/31041337</guid><pubDate>Mon, 07 Apr 2008 11:26:00 -0400</pubDate></item><item><title>Javascript Random Index Function</title><description>&lt;p&gt;
After seeing the same first testimonial repeatedly appear on &lt;a href="http://davidville.com"&gt;Davidville’s front page&lt;/a&gt;, and very few of the other testimonials that followed, I thought of a basic function that would mix it up a bit. I think it could also be useful for a lot other applications that involve grabbing a random item.
&lt;/p&gt;

&lt;p&gt;
&lt;code&gt;&lt;pre style="background: #f4f4f4; padding: 10px;"&gt;
/* Function that returns a random index (int) of an array */
function getRandomIndex(array) {
    /*rand is: 
    "The rounded int of a random decimal between 0 and 1 times 
    10 to the power of the ceiling of the array length divided by ten."
    Thus, rand is a random number between 0 and 10 if length is less than 10
    and a number between 0 and 100 if length is less than 100 etc...
    */
    var rand = Math.round(Math.random() * 
        Math.pow(10,Math.ceil(array.length/10)));

    /* Get a random int using rand that is also 
        within the bounds of the array */
    var index = rand % array.length;

    return index;
}

&lt;/pre&gt;&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;
I also wrote up a quick demo to demonstrate grabbing a random item from a random size array. It was some good practice with the &lt;acronym title="Document Object Model"&gt;DOM&lt;/acronym&gt; and avoiding the use of innerHTML.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://adigitalscope.com/cscode/web/javascript/randomIndexDemo.html"&gt;JS Random Index Demo&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;&lt;small&gt;Note to self: Find syntax highlighter to use for tumblr!&lt;/small&gt;&lt;/p&gt;</description><link>http://blog.jasonseney.com/post/29243135</link><guid>http://blog.jasonseney.com/post/29243135</guid><pubDate>Tue, 18 Mar 2008 23:04:00 -0400</pubDate></item><item><title>37 Signals strikes software engineering sense again and again....</title><description>&lt;img src="http://28.media.tumblr.com/vkZNIX0TM6p2nw2cEzu6bLTJ_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;37 Signals &lt;i&gt;strikes&lt;/i&gt; software engineering &lt;i&gt;sense&lt;/i&gt; again and again. However I can’t say I’ve found many companies following in their footsteps, despite their continued success.

&lt;p&gt;&lt;a href="http://slantback.tumblr.com/post/29119017"&gt;slantback&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;What problem are we solving here? Sometimes when you ask yourself this question you’ll find that you’re solving an imaginary problem. That’s when it’s time to stop and reevaluate what the hell you’re doing. (via &lt;a href="http://www.37signals.com/svn/posts/913-question-your-work"&gt;Question your work - (37signals)&lt;/a&gt;)&lt;/blockquote&gt;</description><link>http://blog.jasonseney.com/post/29211111</link><guid>http://blog.jasonseney.com/post/29211111</guid><pubDate>Tue, 18 Mar 2008 15:01:09 -0400</pubDate></item></channel></rss>
