<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Home on magsite</title><link>/</link><description>Recent content in Home on magsite</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 30 Aug 2018 00:00:00 +0000</lastBuildDate><atom:link href="/index.xml" rel="self" type="application/rss+xml"/><item><title>Markdown Guide (modified)</title><link>/post/2018/08/30/markdown-guide-modified/</link><pubDate>Thu, 30 Aug 2018 00:00:00 +0000</pubDate><guid>/post/2018/08/30/markdown-guide-modified/</guid><description>&lt;h1 id="an-h1-header"&gt;An h1 header&lt;/h1&gt;&#10;&lt;p&gt;Paragraphs are separated by a blank line.&lt;/p&gt;&#10;&lt;p&gt;2nd paragraph. &lt;em&gt;Italic&lt;/em&gt;, &lt;strong&gt;bold&lt;/strong&gt;, and &lt;code&gt;monospace&lt;/code&gt;. Itemized lists&#10;look like:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;this one&lt;/li&gt;&#10;&lt;li&gt;that one&lt;/li&gt;&#10;&lt;li&gt;the other one&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Note that &amp;mdash; not considering the asterisk &amp;mdash; the actual text&#10;content starts at 4-columns in.&lt;/p&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;Block quotes are&#10;written like so.&lt;/p&gt;&#10;&lt;p&gt;They can span multiple paragraphs,&#10;if you like.&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;p&gt;Use 3 dashes for an em-dash. Use 2 dashes for ranges (ex., &amp;ldquo;it&amp;rsquo;s all&#10;in chapters 12&amp;ndash;14&amp;rdquo;). Three dots &amp;hellip; will be converted to an ellipsis.&#10;Unicode is supported. ☺&lt;/p&gt;</description></item><item><title>Hacker with Bullhorn</title><link>/post/2012/04/23/hacker-with-horn/</link><pubDate>Mon, 23 Apr 2012 00:00:00 +0000</pubDate><guid>/post/2012/04/23/hacker-with-horn/</guid><description>&lt;p&gt;Hacker with bullhorn: &amp;ldquo;Save your money! Accept one of our free tanks! It is invulnerable, and can drive across rocks and swamps at ninety miles an hour while getting a hundred miles to the gallon!&amp;rdquo;&lt;/p&gt;&#10;&lt;p&gt;Prospective station wagon buyer: &amp;ldquo;I know what you say is true&amp;hellip;but&amp;hellip;er&amp;hellip;I don&amp;rsquo;t know how to maintain a tank!&amp;rdquo;&lt;/p&gt;&#10;&lt;p&gt;Bullhorn: &amp;ldquo;You don&amp;rsquo;t know how to maintain a station wagon either!&amp;rdquo;&lt;/p&gt;&#10;&lt;p&gt;Buyer: &amp;ldquo;But this dealership has mechanics on staff. If something goes wrong with my station wagon, I can take a day off work, bring it here, and pay them to work on it while I sit in the waiting room for hours, listening to elevator music.&amp;rdquo;&lt;/p&gt;</description></item><item><title>Command Line Awesomeness</title><link>/post/2012/03/12/command-line-awesomeness/</link><pubDate>Mon, 12 Mar 2012 00:00:00 +0000</pubDate><guid>/post/2012/03/12/command-line-awesomeness/</guid><description>&lt;p&gt;This crud is called HTML (HyperText Markup Language) and it is basically a very simple programming language instructing your web browser how to draw a page on a screen. Anyone can learn HTML and many people do. The important thing is that no matter what splendid multimedia web pages they might represent, HTML files are just telegrams.&lt;/p&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;When Ronald Reagan was a radio announcer, he used to call baseball games by reading the terse descriptions that trickled in over the telegraph wire and were printed out on a paper tape. He would sit there, all by himself in a padded room with a microphone, and the paper tape would eke out of the machine and crawl over the palm of his hand printed with cryptic abbreviations. If the count went to three and two, Reagan would describe the scene as he saw it in his mind&amp;rsquo;s eye: &amp;ldquo;The brawny left-hander steps out of the batter&amp;rsquo;s box to wipe the sweat from his brow. The umpire steps forward to sweep the dirt from home plate.&amp;rdquo; and so on. When the cryptogram on the paper tape announced a base hit, he would whack the edge of the table with a pencil, creating a little sound effect, and describe the arc of the ball as if he could actually see it. His listeners, many of whom presumably thought that Reagan was actually at the ballpark watching the game, would reconstruct the scene in their minds according to his descriptions.&lt;/p&gt;&#10;&lt;/blockquote&gt;</description></item><item><title>Juicy Code</title><link>/post/2012/01/23/juicy-code/</link><pubDate>Mon, 23 Jan 2012 00:00:00 +0000</pubDate><guid>/post/2012/01/23/juicy-code/</guid><description>&lt;p&gt;Check out this JUICY! code:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-ruby" data-lang="ruby"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#66d9ef"&gt;def&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;with_value_from_database&lt;/span&gt;(value)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; self&lt;span style="color:#f92672"&gt;.&lt;/span&gt;class&lt;span style="color:#f92672"&gt;.&lt;/span&gt;from_database(name, value, type)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#66d9ef"&gt;end&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#66d9ef"&gt;def&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;with_cast_value&lt;/span&gt;(value)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; self&lt;span style="color:#f92672"&gt;.&lt;/span&gt;class&lt;span style="color:#f92672"&gt;.&lt;/span&gt;with_cast_value(name, value, type)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#66d9ef"&gt;end&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#66d9ef"&gt;def&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;with_type&lt;/span&gt;(type)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#66d9ef"&gt;if&lt;/span&gt; changed_in_place?&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; with_value_from_user(value)&lt;span style="color:#f92672"&gt;.&lt;/span&gt;with_type(type)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#66d9ef"&gt;else&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; self&lt;span style="color:#f92672"&gt;.&lt;/span&gt;class&lt;span style="color:#f92672"&gt;.&lt;/span&gt;new(name, value_before_type_cast, type, original_attribute)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#66d9ef"&gt;end&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#66d9ef"&gt;end&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item></channel></rss>