<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Null is Null - Medium]]></title>
        <description><![CDATA[or not an object - Medium]]></description>
        <link>https://medium.com/null-is-null?source=rss----c05341cddfb---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Null is Null - Medium</title>
            <link>https://medium.com/null-is-null?source=rss----c05341cddfb---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 19:11:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/null-is-null" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Automation December]]></title>
            <link>https://medium.com/null-is-null/automation-december-eb5d54723932?source=rss----c05341cddfb---4</link>
            <guid isPermaLink="false">https://medium.com/p/eb5d54723932</guid>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[life-pro-tips]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[augmented-intelligence]]></category>
            <category><![CDATA[automation]]></category>
            <dc:creator><![CDATA[Francisco]]></dc:creator>
            <pubDate>Fri, 22 Dec 2017 20:05:27 GMT</pubDate>
            <atom:updated>2017-12-21T09:01:02.984Z</atom:updated>
            <content:encoded><![CDATA[<p>The end of the year is a good time to slow down and reflect on what we’ve done this year.</p><p>We get a little more time to ourselves and our families, and together we disengage from our usual tasks and responsibilities —at least in part.</p><p>We get more elbow-space in time.</p><blockquote>The end of a year is the ideal time to plan the next year</blockquote><ol><li>Recapitulating accomplishments increases confidence and reinforces the habits that made the accomplishments possible.</li><li>Speaking together over dinner increases collective intelligence and multiplies the individual effects. Sayings and axioms persist in time: The longer a saying persists, the more likely it has held true across distinct generations of thinkers and believers.</li><li>Identifying repeated steps for things we have done gives us insight into how to make those habits and rituals better: we spot mistakes that were forgotten or shortcuts that could have been taken.</li></ol><blockquote>Focusing on what we want to become while looking at what we have become</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb5d54723932" width="1" height="1" alt=""><hr><p><a href="https://medium.com/null-is-null/automation-december-eb5d54723932">Automation December</a> was originally published in <a href="https://medium.com/null-is-null">Null is Null</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HTML and CSS reconsidered]]></title>
            <link>https://medium.com/null-is-null/html-and-css-reconsidered-1a14e658a7e9?source=rss----c05341cddfb---4</link>
            <guid isPermaLink="false">https://medium.com/p/1a14e658a7e9</guid>
            <category><![CDATA[css]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[html5]]></category>
            <category><![CDATA[es6]]></category>
            <category><![CDATA[html]]></category>
            <dc:creator><![CDATA[Francisco]]></dc:creator>
            <pubDate>Wed, 02 Aug 2017 23:11:13 GMT</pubDate>
            <atom:updated>2017-08-03T02:49:34.881Z</atom:updated>
            <content:encoded><![CDATA[<h4>A small collection of code snippets that make you go hmmmm</h4><p>I recently updated my résumé. What better opportunity to showcase my favorite web development tricks?</p><p>Forget what you think you know for a minute. These cases are about what is possible and may be too simplistic for large applications or production software.</p><blockquote>Cut doors and windows for a room;<br>It is the holes which make it useful. — Tao Te Ching</blockquote><h3>1. Lose the head</h3><p>The bare minimum that you may need for a modern HTML5 page is the DOCTYPE declaration and the charset if you use emoji, for example.</p><pre>&lt;!DOCTYPE html&gt;<br>&lt;meta charset=UTF-8&gt;</pre><p>The &lt;head&gt; tag is <a href="http://w3c.github.io/html/document-metadata.html#the-head-element">unnecessary</a>.</p><h3>2. Display the occult</h3><p>All elements, including those in the head can be displayed on screen.</p><pre>&lt;title&gt; Francisco Brito <br>        UX UI Senior Software Engineer &lt;/title&gt;</pre><pre>&lt;meta value=&quot;Creative builder of meaningful experiences&quot; name=description&gt;</pre><p>Use CSS to display head, title, and [name=description].</p><pre>head, title, [name=description] { display:block }</pre><pre>[name=description]:before { content:attr(value) }</pre><p>Keep in mind that title and description is the exact text that shows up on search result pages and embedded posts on other platforms. Reusing it will reduce the amount of cruft that you put in your sources for simple cases like this.</p><h3>3. Watch the watchers</h3><p>Analytics + favicon = 😍</p><pre>&lt;meta rel=icon href=https://bit.ly/your-face-jpg&gt;</pre><p>A page favicon is useful micro-information and unlikely to be blocked. Use a link shortener and track your visits to the page in one go.</p><h3>4. Interpret the scriptures</h3><p>Similarly to how you can display title and meta, you can display the contents of script <em>and</em> parse them for information that you can quantify and visualize.</p><pre>&lt;script src=Experience.js&gt;&lt;/script&gt;<br>&lt;script&gt; Experience<br>`<br>Publication Editor| nullisnull.blog<br>2006-07 ⇥ present<br>  • 75 educational web articles written and published<br>  • Arguably compelling rhetoric<br>  • Slightly funny, maybe not too much<br>  [ Writing, Editing, Copypasta ]<br>`<br>&lt;/script&gt;</pre><p>The CSS to make it possible also lets you preserve line breaks:</p><pre>script:not([src]) { display:block; white-space:pre-line }</pre><p>The above JavaScript syntax is done using <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#Tagged_template_literals">tagged template literals</a>, which roughly is equivalent to this:</p><pre>&lt;script&gt;<br>  function Experience(strings){ <br>    console.log(strings[0]);<br>  }</pre><pre>  Experience(&#39;Imagine you did not have template literals \n<br>and want to preserve new lines in your text.&#39;);</pre><pre>&lt;/script&gt;</pre><p>The same can be shorter, if you (likely) <a href="http://caniuse.com/#feat=template-literals">can use template literals</a>:</p><pre>(([string]) =&gt; console.log(string))<br>`This example serves almost no purpose IRL<br>but it is kind of cool.`;</pre><p>Shown in the above snippet: <a href="http://exploringjs.com/es6/ch_parameter-handling.html">Parameter destructuring</a>, <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions">arrow functions</a> and <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#Tagged_template_literals">tagged template literals</a>.</p><h3>5. Experience out of body experience</h3><p>The &lt;body&gt; open and close tags can also be omitted. The only case to keep track is if your first tag in the body is a script, which will be interpreted as being part of the head if you leave all the tags out.</p><p>In this case it doesn’t matter because I’m also displaying head.</p><h3>6. Manifest deliberate appearance</h3><p>Moving on to the stylesheet. <a href="http://w3c.github.io/html/links.html#body-ok">You can include </a><a href="http://w3c.github.io/html/links.html#body-ok">link in the </a><a href="http://w3c.github.io/html/links.html#body-ok">body</a>, but it is convenient to put it just under meta while still in the head. While browsers will load correctly if found in the body, your content may appear unstyled to a user if the resource is not loaded early.</p><pre>&lt;link rel=stylesheet href=Resume.css&gt;</pre><p>Also, in many cases, html <a href="https://www.w3.org/TR/html5/syntax.html#attributes-0">attribute values can be left unquoted</a>. Your IDE may not support the syntax highlighting for this very valid case 🙃</p><blockquote>Dress well. You are treated the way you are perceived. —Dad</blockquote><h3>7. Prioritize a harmonious family</h3><p><a href="http://fontpair.co/">Pair two fonts</a> that suit your intended style. This is one way to <a href="https://fonts.google.com/selection?selection.family=Abel|Slabo+27px">import a font</a> into a stylesheet. The <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/@import">import rule</a> must come before any other.</p><pre><a href="http://twitter.com/import">@import</a> &#39;<a href="https://fonts.googleapis.com/css?family=Abel|Slabo+27px&#39;">https://fonts.googleapis.com/css?family=Abel|Slabo+27px&#39;</a>;</pre><h3>8. Establish a clear hierarchy</h3><p>There is <em>only one most important</em> thing on this page: the title.</p><pre>title:first-line { font-size:2.6rem }</pre><p>I have chosen Slabo 27px for headings and titles; and a golden <a href="http://spencermortensen.com/articles/typographic-scale/">typographic scale</a>.</p><pre>title,<br>h1, h2, <br>[class]:before,<br>script:first-line { font:1.27rem &#39;Slabo 27px&#39; }</pre><p>Everything else has Abel font family, and everything has the same line-height to keep the <a href="http://typecast.com/blog/4-simple-steps-to-vertical-rhythm">vertical rhythm</a>.</p><pre>* { font:1rem/1.27rem Abel }</pre><p>I often go back to the same <a href="https://www.impressivewebs.com/css-font-shorthand-property-cheat-sheet/">font shorthand cheat sheet</a>.</p><h3>9. Manifest the occult</h3><p>I have made the design choice that <em>everything</em> with a [class] attribute also represents a top-level user object. This allows me to use CSS classes for things that make sense at every level: design, development and information architecture.</p><pre>[class]:before { content:attr(class); display:block }</pre><p><a href="https://en.wikipedia.org/wiki/Mystery_meat_navigation">Mystery meat</a> can be less accessible and generally avoided. In this case, it corresponds to a visualization of skills generated by parsing the Experience text block.</p><pre>&lt;figure class=Skills&gt;</pre><h3>10. See the unseen</h3><p><em>After a few mystical titles, I’m getting tired of them but will keep rolling.</em></p><p>This is the rule I typically use to see all the content boxes while adjusting font size, line-height, paddings and margins. The outline rule does not occupy any space in the box model.</p><pre>/**/ * { background:rgba(255,0,0,.2); outline:1px solid } /**/</pre><p>You only need to toggle one space to switch the rule while building:</p><pre>/** / * { background:rgba(255,0,0,.2); outline:1px solid } /**/</pre><h3>11. Transcend to the source</h3><p>If you would like to go into more detail, take a look at the source code for <a href="https://github.com/brito/brito.mx/blob/gh-pages/resume/Resume.css">Resume css</a> and <a href="https://github.com/brito/brito.mx/blob/gh-pages/resume/index.html">html</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1a14e658a7e9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/null-is-null/html-and-css-reconsidered-1a14e658a7e9">HTML and CSS reconsidered</a> was originally published in <a href="https://medium.com/null-is-null">Null is Null</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Number is Ratio]]></title>
            <link>https://medium.com/null-is-null/number-is-ratio-ccc73b011fd1?source=rss----c05341cddfb---4</link>
            <guid isPermaLink="false">https://medium.com/p/ccc73b011fd1</guid>
            <dc:creator><![CDATA[Francisco]]></dc:creator>
            <pubDate>Wed, 31 Aug 2016 01:16:00 GMT</pubDate>
            <atom:updated>2017-07-25T22:33:57.918Z</atom:updated>
            <content:encoded><![CDATA[<p>Braids of resonance weave through every fractal bit in spacetime. Moduli overlap in resonance and prime superposition yielding families of functional disambiguators.<br><br><br>Numbers, as we know them, are ratios.<br>For example, 5 is 5/1 or 5:1.<br><br>We typically compare numbers sharing the same ratio: 1.<br>For example, the ratio 13:5 is 13/1 / 5/1, or 13/5.<br><br>This ties [the magnitude size of] ratios to the common ratio, 1.<br>The number 1 is special because it has linear symmetry: 1/1.<br><br>Our mathematics and calculators are not typically very good at handling very very very large numbers or ratios.<br>How many photons would fit between here and the furthest human-made satellite?<br>An exact number, extremely large, changing every instant.<br><br><br>Use another common ratio that is self-similar, <strong>Φ</strong>:<strong>φ</strong>.<br>This number is also special because it also has binary symmetry, although curved.<br>This curve can then be used to compare curvatures, and preserve magnitudes exactly even when using infinitely large numbers or infinitely small.<br>The shape of the curve is used to make extremely large leaps of magnitude and fix inaccuracies at infinitely small scales.<br><br><br>We would probably only measure things close to our scale, from the universal to the Plank, sub-quantum and algorithmic scales and everything in between, like the size of our bodies or vehicles.<br>Further, we could use the current date and time as one of the numbers to preserve our scale of time as it moves. In essence, the ratio between any number and the present time, compared to the common ratio, yields a number to iterate until a limit (of time).<br><br><br><br>Braids of resonance weave through every fractal bit in spacetime. Moduli overlap in resonance and prime superposition yielding families of multidimensional disambiguators.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ccc73b011fd1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/null-is-null/number-is-ratio-ccc73b011fd1">Number is Ratio</a> was originally published in <a href="https://medium.com/null-is-null">Null is Null</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Teachers should be great writers (of HTML)]]></title>
            <link>https://medium.com/null-is-null/teachers-should-be-great-writers-of-html-aabf4f92a2d1?source=rss----c05341cddfb---4</link>
            <guid isPermaLink="false">https://medium.com/p/aabf4f92a2d1</guid>
            <dc:creator><![CDATA[Francisco]]></dc:creator>
            <pubDate>Tue, 18 Aug 2015 06:11:00 GMT</pubDate>
            <atom:updated>2017-07-25T22:33:55.068Z</atom:updated>
            <content:encoded><![CDATA[<p>Learning, as a psychological activity, also evolves as the product of individual and social evolution. Our species becomes more knowledgeable and able to quickly learn anything, so the expectations for learning increase too.</p><p>From oral presentation and static text-books to BYOD tablets and web apps, the future will always nurture more efficient and also more diverse ways to communicate. The latest app, gadget, wearable, protocol, stack, meme, slang. From the Oxford comma to the latest build, the ways we communicate and fulfill our needs is not only a reflection of our psychology, it is in itself an extension of the fundamental rules of life.</p><h4>Everything we invent is a product of life</h4><p>Communication describes itself (words about words), is self-referential and can be studied as an aggregate organism: the sum of the minds that filter, persist and communicate the individual memes. Just like the sum of the bees that make a hive and produce honey for a queen. The Queens of our societies are our muses and the projections of our ideals, needs and motivations. Our honey is that new tech, that sweet ride or accessory.</p><h4>Our feathers that show others we are doing great</h4><p>As a business idea gains market traction, the market rushes and supply meets demand; significantly sharpening the efficacy and efficiency of product and delivery. There is an app for that. There is a startup for that. There is a post-it for that. We live in an era where ideas are abundant and the laws that regulate the market complex enough to necessitate at least one full-time, competent (competitive too) lawyer. And a marketer. And a designer.</p><h4>And a unicorn</h4><p>But the key to all of our human existence lies on our individual ability to produce that which the ecosystem finds valuable, one way or another and to extreme degrees: the poor, the miserable, and the absurdly rich. An extremely distributed system that shaves off barely-existing quantities from a mind-boggling number of transaction fees is basically invisible to the users but can rake these obscene amounts of cash, and less likely to garner objections or scrutiny because it feeds so many mouths under its shade. This is the power of the brand and the tycoons behind them.</p><h4>The ability to almost-imperceptibly be everywhere and take almost nothing until it adds up to everything (that matters)</h4><p>Teachers need certain materials to be learned, and students need to learn these materials. That is what the money is for: to have people learn useful things. A teacher who can communicate effectively and also meets the needs of a modern student fares better than another, who is disinterested in communicating at all.</p><h4>A babysitter is not a mentor</h4><p>Efficient communication is not only the ability to interact through physical media (talking, face to face, visual aids) but also cyber-media: a classroom web app, mobile site, beacon, geotag. If a person speaks more than one language and can program too, there are that many more tools to reach a broader audience and aid in the formation of fundamentals.</p><p>People go to schools to learn. Multiple channels of communication, as well as a structured and organized maintenance of knowledge body, are the fundamentals that allow the success of any school or place of learning. A multilingual course coupled with electronic aids for translation and accessibility.</p><h4>More people can learn and understand, better and more</h4><p>Our current universal tools, the HTML/CSS/JS trifecta are still not to the point where just anyone can pick them up and produce something decent (or at all) in a short amount of time, but they are evolving one way or another. Each library, each project is a specimen with a specific set of mutations with the purpose of addressing a specific set of needs. Some of these projects will succeed and imprint in others the successful pattern, uncovering yet another new set of needs ahead.</p><pre>function soon(){ &#39;...&#39; }</pre><h4>Education is Everything</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aabf4f92a2d1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/null-is-null/teachers-should-be-great-writers-of-html-aabf4f92a2d1">Teachers should be great writers (of HTML)</a> was originally published in <a href="https://medium.com/null-is-null">Null is Null</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[wish: a tiny promise]]></title>
            <link>https://medium.com/null-is-null/wish-a-tiny-promise-b8d130dd1799?source=rss----c05341cddfb---4</link>
            <guid isPermaLink="false">https://medium.com/p/b8d130dd1799</guid>
            <dc:creator><![CDATA[Francisco]]></dc:creator>
            <pubDate>Tue, 25 Mar 2014 03:46:00 GMT</pubDate>
            <atom:updated>2017-07-25T22:33:58.042Z</atom:updated>
            <content:encoded><![CDATA[<p>The <a href="http://www.html5rocks.com/en/tutorials/es6/promises/">JavaScript Promises </a>feature arrived in browsers natively around 2014. (<em>See also: </em><a href="http://caniuse.com/#feat=promises"><em>current support for promises</em></a>)</p><h4>Example: Fetch location, then weather data</h4><h4>I. With callbacks, not Promises</h4><pre>getWeather(function(weather){ <br>  console.log(weather) });<br><br>function getWeather(then){<br>  getPosition(function(position){<br>    get(&#39;//api.openweathermap.org/data/2.5/weather?&#39; <br>            + &#39;lat=&#39; + (0|position.coords.latitude)<br>            + &#39;&amp;lon=&#39; + (0|position.coords.longitude), then); }); }<br><br>function getPosition(then){ <br>  return navigator.geolocation.getCurrentPosition(then); }<br><br>function get(url, then){<br>  with (new XMLHttpRequest)<br>    onload = function(xhr){<br>      then(JSON.parse(xhr.target.response)); },<br>    open(&#39;GET&#39;, url),<br>    send(); }</pre><h4>II. With Promises</h4><pre>getPosition()<br>  .then(getWeather)<br>  .then(log);<br>  <br><br>function getPosition(){<br>    return new Promise(function(then){<br>        navigator.geolocation.getCurrentPosition(then); }); }<br><br>function getWeather(position){<br>    return new Promise(function(then){<br>        get(&#39;//api.openweathermap.org/data/2.5/weather?&#39; <br>            + &#39;lat=&#39; + (0|position.coords.latitude)<br>            + &#39;&amp;lon=&#39; + (0|position.coords.longitude)).then(then); }); }<br>            <br>function get(url, then){<br>  return new Promise(function(then){<br>    with (new XMLHttpRequest)<br>      onload = function(xhr){<br>        then(JSON.parse(xhr.target.response)); },<br>      open(&#39;GET&#39;, url),<br>      send(); }); };<br><br><br>function log(){<br>    console.log(arguments[0]) }</pre><h4>This may not look easier</h4><p>What matters is that <strong>the user flow is easier to read</strong>. While the implementation of the calls may be more complicated to understand and debug, these parts usually (especially with tests) do not see much change.<br> The difference may be subtle, but very important: <strong>Functional separation greatly improves maintainability</strong>. Once the functionality is available, it can be very easily reused by other flows without fuss. Conversely, the first example makes the code impossible or very difficult to reuse.</p><h4>What do you think?</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b8d130dd1799" width="1" height="1" alt=""><hr><p><a href="https://medium.com/null-is-null/wish-a-tiny-promise-b8d130dd1799">wish: a tiny promise</a> was originally published in <a href="https://medium.com/null-is-null">Null is Null</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Asynchronous library loading with jQuery.Deferred]]></title>
            <link>https://medium.com/null-is-null/asynchronous-library-loading-with-jquery-deferred-16e807c82bcc?source=rss----c05341cddfb---4</link>
            <guid isPermaLink="false">https://medium.com/p/16e807c82bcc</guid>
            <dc:creator><![CDATA[Francisco]]></dc:creator>
            <pubDate>Thu, 27 Sep 2012 00:02:00 GMT</pubDate>
            <atom:updated>2017-07-25T22:33:51.947Z</atom:updated>
            <content:encoded><![CDATA[<p>A common pattern for asynchronous library loading, without the use of script loaders (<a href="https://requirejs.org/">requirejs</a>, etc).</p><pre>var your_library = &#39;can be FB (facebook) or google or whatever&#39;;<br><br>jQuery.when (window[your_library] || jQuery.Deferred (function(loader){<br>  load(your_library);<br>  loader.resolve();<br>}))<br>.done (do_stuff);<br><br>function load (){<br>  /* append the script to the page and declare the callback */<br>}<br><br>function do_stuff(){<br>/* continue, assuming that window[your_library] is loaded */<br>}</pre><h4>Example Using Facebook API</h4><pre>jQuery.when (window[&#39;FB&#39;] || jQuery.Deferred (function(loader){<br><br>  // 1. load the Facebook API<br>  jQuery(&#39;\<br>    &#39;)<br>    .appendTo(&#39;body&#39;);<br><br>  // 2. the Facebook API has a default callback function name<br>  window.fbAsyncInit = function(){<br><br>    // ensure this is run only once<br>    window.fbAsyncInit = Function;<br><br>    FB.init({/* your init parameters here */});<br><br>    // 3a. trigger the continuation of the script<br>    loader.resolve();<br>  };<br>}))<br>// 3b. continue<br>.done(function(){<br>  FB.getLoginStatus(function(response){<br>    /* etc. */<br>  });<br>});</pre><p>The pattern is simple. If the library in question has already loaded, it simply continues straight to done, otherwise it will call the deferred loader.</p><h4>Example Using Google Maps API</h4><pre>jQuery.when(window[&#39;google&#39;] || jQuery.Deferred(function(loader){    <br>  // a unique callback function name because why not<br>  var callback = &#39;_&#39; + (+new Date).toString(36),<br>      // use your key here if you need it<br>      src = &#39;//maps.googleapis.com/maps/api/js?sensor=true&amp;callback=&#39;<br>          + callback;<br><br>  // 1. load google maps<br>  $(&#39;&#39;, { src: src }).appendTo(&#39;body&#39;);<br>  <br>  window[callback] = function(){ loader.resolve() };<br>}))<br>.done(function(){<br>  // something like this<br>  var defaultLocation = new google.maps.LatLng(33.990,-118.459);<br>  /* etc */<br>});</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=16e807c82bcc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/null-is-null/asynchronous-library-loading-with-jquery-deferred-16e807c82bcc">Asynchronous library loading with jQuery.Deferred</a> was originally published in <a href="https://medium.com/null-is-null">Null is Null</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[timeout and interval]]></title>
            <link>https://medium.com/null-is-null/timeout-and-interval-d5093c19fd79?source=rss----c05341cddfb---4</link>
            <guid isPermaLink="false">https://medium.com/p/d5093c19fd79</guid>
            <dc:creator><![CDATA[Francisco]]></dc:creator>
            <pubDate>Sun, 01 Jul 2012 05:24:00 GMT</pubDate>
            <atom:updated>2017-07-25T22:34:09.030Z</atom:updated>
            <content:encoded><![CDATA[<h4>Three ways to look at animations</h4><h4>I. Using CSS</h4><p><em>[</em><a href="http://css-tricks.com/snippets/css/webkit-keyframe-animation-syntax/"><em>CSS3 animation shorthand</em></a><em> (</em><a href="http://www.w3.org/TR/css3-animations/#animation-shorthand-property"><em>w3/spec</em></a><em>)]</em></p><pre>@keyframes once { /* something */ }<br>@keyframes repeat { /* something */ }<br><br>#thing { animation:once 3s }<br>.things { animation:repeat 3s 300ms infinite }</pre><h4>II. Using JavaScript only</h4><pre>setTimeout(function once(){ /* something */ }, 3e3);<br>// no short way to specify an initial delay<br>setInterval(function repeat(){ /* something */ }, 3e3);</pre><h4>III. Hypothetical <a href="https://jquery.com/">jQuery</a> plugin (<a href="https://docs.jquery.com/">jQuery/docs</a>)</h4><pre>$(&#39;#thing&#39;).timeout(function once(){ /* something */ }, 3e3);<br>$(&#39;.things&#39;).interval(function repeat(){ /* something */ }, 3e3, 300);</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d5093c19fd79" width="1" height="1" alt=""><hr><p><a href="https://medium.com/null-is-null/timeout-and-interval-d5093c19fd79">timeout and interval</a> was originally published in <a href="https://medium.com/null-is-null">Null is Null</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to work with me: a follow-up]]></title>
            <link>https://medium.com/null-is-null/how-to-work-with-me-a-follow-up-c60accae97e7?source=rss----c05341cddfb---4</link>
            <guid isPermaLink="false">https://medium.com/p/c60accae97e7</guid>
            <dc:creator><![CDATA[Francisco]]></dc:creator>
            <pubDate>Fri, 10 Feb 2012 19:58:00 GMT</pubDate>
            <atom:updated>2017-07-25T22:33:50.022Z</atom:updated>
            <content:encoded><![CDATA[<p>Looking at traffic sources for this blog, I noticed that one of them isn’t spam — shocking! I skimmed through it and the comments, but it was particularly the title, <a href="https://bit.ly/w6uJRC">Servant Mentality</a>, what caught my attention.</p><p>The comments there and in general the ones I saw here and on <a href="https://bit.ly/zkqerZ">Hacker News</a> were very particularly polarized: on one end, those who take offense. On the other, those that don’t.</p><h4>The software industry, and the psychology of programming languages fundamentally changes the psique of humans.</h4><p>I’m not saying it is the only thing that does it, nor that it does it to everyone, but there is strong correlation.</p><p>When programming, optimization becomes part of everyday vocabulary: from actual algorithm optimization and latency analysis to timeline estimates and defect triage. One thing learned is, there is no silver bullet, only incremental improvements applied to the <em>measured</em> bottlenecks.</p><p>There are those who take passion in what they do and take the lessons to “hack” their lives too. Optimizing life can become a very entertaining hobby worth talking about with those who share the passion for it.</p><h4>Optimizing doesn’t come without downsides.</h4><p>Eventually, some people realize that sugar-coating things are a sign of uncertainty, as <strong>there is no need to beat around the bush when respect is not in jeopardy.</strong> You say what you want and how, expect an honest response or rebuttal and iterate until a better state is reached.</p><p>Turns out that the extreme logical mind can often be at odds with an emotional mind with regards to criticism: the logical — optimizer — mind can take joy in pointing out defects and addressing them — self included, objectively — while the emotional mind can be obstructed and manipulated by an immature ego which <em>by fear</em> defends actions as if they were immutable extensions of the self; defending work as if they were actual appendages at risk.</p><p>It is immature and ineffective to argue otherwise, but logic also dictates that friction is ineffective which is where “pick your battles” comes from.</p><h4>Projections</h4><p>When reading <a href="https://bit.ly/AidEMo">the list</a>, the vast majority of the readers are picturing an imaginary author. When I read it, I picture a real author <em>because I actually know him</em>. So it’s natural for the former to project their insecurities and frustrations and reveal a lot about themselves, unknowingly.</p><p>To those with reasonable arguments — in either direction — thank you.</p><p>To trolls, your arguments are entertaining.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c60accae97e7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/null-is-null/how-to-work-with-me-a-follow-up-c60accae97e7">How to work with me: a follow-up</a> was originally published in <a href="https://medium.com/null-is-null">Null is Null</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What our software says about us]]></title>
            <link>https://medium.com/null-is-null/what-our-software-says-about-us-909e7f1ea617?source=rss----c05341cddfb---4</link>
            <guid isPermaLink="false">https://medium.com/p/909e7f1ea617</guid>
            <dc:creator><![CDATA[Francisco]]></dc:creator>
            <pubDate>Tue, 07 Feb 2012 19:56:00 GMT</pubDate>
            <atom:updated>2017-07-25T22:33:38.931Z</atom:updated>
            <content:encoded><![CDATA[<ol><li>Attention to detail: if we care and how much.</li><li>Comprehension of the subject and problem.</li><li>Eloquence: comprehension and mastery of the language.</li><li>Use of adequate tools.</li><li>Are the ideas compatible with the language constructs in use?</li></ol><p>Indeed, someone looking at your code can tell if you want to quit, if you’re an idiot, if you <em>like</em> being an idiot, if you’re awkward and if you should be doing something else.</p><p>But in all seriousness, it really tells a lot.</p><p>For those actually <em>writing and designing</em> the languages themselves, <strong>respect</strong>.</p><p>I can only strive for it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=909e7f1ea617" width="1" height="1" alt=""><hr><p><a href="https://medium.com/null-is-null/what-our-software-says-about-us-909e7f1ea617">What our software says about us</a> was originally published in <a href="https://medium.com/null-is-null">Null is Null</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quick parse_url]]></title>
            <link>https://medium.com/null-is-null/quick-parse-url-d151ff371360?source=rss----c05341cddfb---4</link>
            <guid isPermaLink="false">https://medium.com/p/d151ff371360</guid>
            <dc:creator><![CDATA[Francisco]]></dc:creator>
            <pubDate>Tue, 07 Feb 2012 19:48:00 GMT</pubDate>
            <atom:updated>2017-07-25T22:33:53.955Z</atom:updated>
            <content:encoded><![CDATA[<p>Let’s say you have an insane URL like a Google Analytics beacon:</p><pre>var url = &#39;http://www.google-analytics.com/__utm.gif?utmwv=5.2.4&amp;utms=23&amp;utmn=353317006&amp;utmhn=www.something.something.com&amp;utmt=event&amp;utme=5(monetization_partner*buy_amazon*%2Fseries%2FThe_Millennium_Trilogy_Stieg_Larsson)(1)8(user_type*logged_in)9(119*true)11(1*2)&amp;utmcs=UTF-8&amp;utmsr=2560x1440&amp;utmvp=1103x767&amp;utmsc=24-bit&amp;utmul=en-us&amp;utmje=1&amp;utmfl=10.3%20r183&amp;utmdt=The%20Millennium%20Trilogy%20-%20Small%20Demons&amp;utmhid=1278954452&amp;utmr=0&amp;utmp=%2Fseries%2FThe_Millennium_Trilogy_Stieg_Larsson&amp;utmac=UA-xxxxxxxx-x&amp;utmcc=__utma%3D76481800.571237505.1328141482.1328580205.1328639116.18%3B%2B__utmz%3D76481900.1328141480.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B&amp;utmu=6QAAAAAAAAAAAAAQ~&#39;;</pre><p>Now let’s say you want to figure it out:</p><pre>url<br>  .split(/[?&amp;]/)<br>  .forEach(function(param){<br>    console.log( decodeURICompontent(param).replace(&#39;=&#39;, &#39;: &#39;) ) <br>  });</pre><p>It will look like this:</p><pre><a href="http://www.google-analytics.com/__utm.gif">http://www.google-analytics.com/__utm.gif</a><br>utmwv: 5.2.4<br>utms: 23<br>utmn: 353317006<br>utmhn: <a href="http://www.smalldemons.com/">www.smalldemons.com</a><br>utmt: event<br>utme: 5(monetization_partner*buy_amazon*/series/The_Millennium_Trilogy_Stieg_Larsson)(1)8(user_type*logged_in)9(119*true)11(1*2)<br>utmcs: UTF-8<br>utmsr: 2560x1440<br>utmvp: 1103x767<br>utmsc: 24-bit<br>utmul: en-us<br>utmje: 1<br>utmfl: 10.3 r183<br>utmdt: The Millennium Trilogy - Small Demons<br>utmhid: 1278954452<br>utmr: 0<br>utmp: /series/The_Millennium_Trilogy_Stieg_Larsson<br>utmac: UA-xxxxxxxx-x<br>utmcc: __utma=76481800.571237505.1328141482.1328580205.1328639116.18;+__utmz=76481900.1328141480.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none);<br>utmu: 6QAAAAAAAAAAAAAQ~</pre><p>So there’s that. Enjoy.</p><h4>Somewhat-related rant</h4><p>I figure you may want to know what the parameters mean, so here you go. <a href="http://code.google.com/apis/analytics/docs/tracking/gaTrackingTroubleshooting.html#gifParameters">The GIF Request Parameters for Google Analytics</a> (mostly) say:</p><pre>Tracking code version: 5.2.4<br>Session counter (not on GA page): 23<br>Unique GIF id: 353317006<br>Host Name: <a href="http://www.smalldemons.com/">www.smalldemons.com</a><br>Type of request: event<br>Extensible vars: 5(**)(1)8(user_type*logged_in)9(119*true)11(1*2)<br>Encoding (not on GA page): UTF-8<br>Screen resolution: 2560x1440<br>Viewport (not on GA page): 1103x767<br>Screen color depth: 24-bit<br>User language: en-us<br>Java Enabled (not on GA page): 1<br>Flash version: 10.3 r183<br>Page title: The Millennium Trilogy - Small Demons<br>Analytics-AdSense id: 1278954452<br>Referral URL: 0<br>Page request: /series/The_Millennium_Trilogy_Stieg_Larsson<br>Account: UA-xxxxxxxx-x<br>Cookie: __utma=76481800.571237505.1328141482.1328580205.1328639116.18;+__utmz=76481900.1328141480.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none);<br>Crazy sum*: 6QAAAAAAAAAAAAAQ~</pre><p>*Some fool with a lot more time than me figured it’s a bitmap (not an image!) of <a href="http://glucik.blogspot.com/2011/02/utmu-google-analytics-request-parameter.html">functions blah blah blah.</a></p><p>Also, if you wonder if <a href="http://www.lanceramoth.com/blog/2011/10/why-is-stumbleupon-stealing-your-google-analytics-data">this data could be used by third parties to track you</a>, it appears possibly maybe.</p><p>I’ve changed a couple of numbers in this data, though feel free to point out leftover stupidity.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d151ff371360" width="1" height="1" alt=""><hr><p><a href="https://medium.com/null-is-null/quick-parse-url-d151ff371360">Quick parse_url</a> was originally published in <a href="https://medium.com/null-is-null">Null is Null</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>