automated update from build.py

This commit is contained in:
Colin McMillen 2021-07-01 10:41:09 -04:00
parent 5962631da2
commit 37c5183d5d
10 changed files with 141 additions and 0 deletions

120
atom.xml Normal file
View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Colin McMillen's Blog</title>
<link href="https://www.mcmillen.dev"/>
<link rel="self" href="https://www.mcmillen.dev/atom.xml"/>
<updated>2020-02-09T12:00:00-04:00</updated>
<author>
<name>Colin McMillen</name>
</author>
<id>https://www.mcmillen.dev/</id>
<entry>
<title>93% of Paint Splatters are Valid Perl Programs</title>
<id>https://www.mcmillen.dev/sigbovik/</id>
<link rel="alternate" href="https://www.mcmillen.dev/sigbovik/"/>
<content type="html">
<![CDATA[
<h1 id="93-of-paint-splatters-are-valid-perl-programs">93% of Paint Splatters are Valid Perl Programs</h1>
<p><em>Posted 2019-04-01.</em></p>
<p>TLDR: <a href="2019.pdf">read the paper</a> and <a href="splatters.html">view the gallery of pretty Perl programs</a>.</p>
<p>In this paper, we aim to answer a long-standing open problem in the programming languages community: <em>is it possible to smear paint on the wall without creating valid Perl?</em></p>
<p>We answer this question in the affirmative: it <strong>is possible</strong> to smear paint on the wall without creating a valid Perl program. We employ an empirical approach, using optical character recognition (OCR) software, which finds that merely 93% of paint splatters parse as valid Perl. We analyze the properties of paint-splatter Perl programs, and present seven examples of paint splatters which are not valid Perl programs.</p>
<p><a href="https://twitter.com/jaffathecake/status/1095706032448393217"><img alt="Screenshot of a Twitter conversation. Adrienne Porter Felt says: &quot;I don't want to teach my kid to code. I want him to splash in muddy puddles and smear paint on the walls and read novels under the covers way too late at night. I grew up too soon and wish I'd had more time to be a kid. Why do schools teach vocational skills so young these days?&quot; Jake Archibald replies: &quot;but is it possible to smear paint on the wall without creating valid Perl?&quot;" src="/media/20190401-sigbovik-tweet.png"></a></p>
<p>Accepted for publication at SIGBOVIK 2019, held April 1st 2019 in Pittsburgh. Winner of a Unwitting Participation Ribbon, &ldquo;an unwelcome brand weve affixed to each paper determined after careful scrutiny to have included a genuine artifact, thereby furthering the admirable causes of open science and fruitful procrastination.&rdquo;</p>
<p>Read it on <a href="https://docs.google.com/document/d/1ZGGNMfmfpWB-DzWS3Jr-YLcRNRjhp3FKS6v0KELxXK8/preview">Google Docs</a> or download a <a href="2019.pdf">PDF</a>. Or grab the <a href="http://sigbovik.org/2019/proceedings.pdf">entire SIGBOVIK 2019 proceedings</a>; I&rsquo;m on page 174.</p>
<h2 id="supplementary-materials">Supplementary Materials</h2>
<p>Here&rsquo;s <a href="splatters.html">all the paint splatters</a> on a single page, along with the valid Perl source code corresponding to each. &ldquo;Not valid&rdquo; is written in red for those images which did not parse as valid Perl programs. If different OCR settings recognized multiple valid Perl programs, I chose the one that seemed the most &ldquo;interesting&rdquo;, according to my own aesthetic sense.</p>
<p>Here&rsquo;s a <a href="splatters.tar.gz">tarball of 100 paint-splatter images</a> that were used as the main dataset for this paper.</p>
<p><strong>(source code not available yet because i am bad at GitHub)</strong></p>
<h2 id="errata">Errata</h2>
<p>There are a few paint splatter Perl programs that I didn&rsquo;t recognize as &ldquo;interesting&rdquo; until after the SIGBOVIK submission deadline. For example, this splatter is recognized by OCR as the string <code>lerzfijglpFiji-j</code>, which evaluates to the number <code>0</code> in Perl:</p>
<p><img alt="paint splatter" src="splatters/6b78f8696b05f9322b2dda21b6932776.jpg"></p>
<p>The image below is recognized as the string <code>-*?</code>, which also evaluates to the number <code>0</code> in Perl:</p>
<p><img alt="paint splatter" src="splatters/e47b8463b359906947c66ec4c852a2a3.jpg"></p>
<p>Another surprising program is shown below; OCR recognizes this image as the string <code>;i;c;;#\\?z{;?;;fn':.;</code>, which evaluates to the string <code>c</code> in Perl:</p>
<p><img alt="paint splatter" src="splatters/803dd5a54c42ed93462c78ad7da357b0.jpg"></p>
<p>Finally, this image is recognized as the string <code>;E,'__'</code>, which evaluates to the string <code>E__</code> in Perl:</p>
<p><img alt="paint splatter" src="splatters/dc86c1c3553705b7b2f973d5be9e0389.jpg"></p>
]]>
</content>
<updated>2019-04-01T12:00:00-04:00</updated>
</entry>
<entry>
<title>My first paper in 10 years?!</title>
<id>https://www.mcmillen.dev/blog/20190403-update.html</id>
<link rel="alternate" href="https://www.mcmillen.dev/blog/20190403-update.html"/>
<content type="html">
<![CDATA[
<h1 id="my-first-paper-in-10-years">My first paper in 10 years?!</h1>
<p><em>Posted 2019-04-03.</em></p>
<p>It&rsquo;s been nearly two months since my last day at Google, so I guess I should finally make use of this newsletter :)</p>
<p>I wrote <a href="https://docs.google.com/document/d/1ZGGNMfmfpWB-DzWS3Jr-YLcRNRjhp3FKS6v0KELxXK8/preview">a paper</a> which was published on April 1st as part of SIGBOVIK 2019: &ldquo;93% of Paint Splatters are Valid Perl Programs&rdquo;. In this paper, I answer a long-standing open problem in the programming languages community: <em>is it possible to smear paint on the wall without creating valid Perl?</em></p>
<p>(Long-standing since February 13, 2019, when a <a href="https://twitter.com/jaffathecake/status/1095706032448393217">Twitter conversation</a> between Adrienne Porter Felt &amp; Jake Archibald posed the question.)</p>
<p>To answer this question, I downloaded 100 images of paint splatters from Pinterest, ran the open-source Tesseract OCR engine to turn each into a text string, and then sent that text to the Perl interpreter to see whether that text successfully parsed as Perl. It turns out that 93 of the 100 paint splatters do parse as valid Perl, but since 7% do not, I conclude that it <strong>is possible</strong> to smear paint on a wall without creating valid Perl.</p>
<p>You might suspect there is some chicanery going on with this result. You&rsquo;d be correct, but&hellip; honestly there&rsquo;s not <em>that</em> much chicanery going on. You&rsquo;ll have to read the paper for details&hellip; and for my attempts at academic humor. :)</p>
<p>There&rsquo;s also some <a href="/sigbovik">supporting material</a> on this website, including a <a href="/sigbovik/splatters.html">gallery of all 100 images</a> and their associated valid Perl code. Here&rsquo;s a screenshot of some of them. (Did you know that the string <code>lerzfijglpFiji-j</code> evaluates to the number <code>0</code> in Perl?)</p>
<p><img alt="screenshot of 17 paint splatters, and the Perl programs they represent" src="https://gallery.tinyletterapp.com/76b879b0e95d11cda4d7d21283ce7d32a4f76e09/images/63d8cc7b-9d70-493c-9f64-1aa7da5b9426.png"></p>
<p>As it turns out, the publication date of my paper was exactly 10-years-minus-a-day since my Ph.D. thesis defense. I&rsquo;d planned on travelling back to Carnegie Mellon to give this talk live at SIGBOVIK 2019, but unfortunately came down with a nasty cold-and-cough so I had to cancel my trip. :( Perhaps I can give a belated talk at next year&rsquo;s conference.</p>
<p>For more light-hearted and vaguely CS-shaped research papers, check out the rest of the <a href="http://sigbovik.org/2019/proceedings.pdf">SIGBOVIK 2019 proceedings</a>. I particularly enjoyed &ldquo;Elo World, a framework for benchmarking weak chess engines&rdquo; by tom7 (&ldquo;The computer players include some traditional chess engines, but also many algorithms chosen for their simplicity, as well as some designed to be competitively bad&rdquo;.)</p>
<p>Some other random things that I&rsquo;ve been up to in the last month-and-a-half:</p>
<ul>
<li>
<p><a href="https://twitter.com/mcmillen/status/1095795492196364297">ohnosay</a>, which is like &ldquo;cowsay&rdquo; but for comics in the style of webcomicname. [GitHub] This was a good excuse to get a Linux development environment set up on a persistent Google Cloud instance &amp; to learn how to GitHub. Since then, I also realized that the World Outside Google uses Python 3, so I&rsquo;ve started learning that :)</p>
<p><img alt='a three panel comic displayed on a linux terminal: "i will write a silly program" "hm, what did i do with my ssh credentials?" "oh no"' src="https://gallery.tinyletterapp.com/76b879b0e95d11cda4d7d21283ce7d32a4f76e09/images/e5032bd6-fe2c-4d1a-a023-3598e144c9c2.png"></p>
</li>
<li>
<p>Gardening! Last August I randomly planted some peppermint in a railing container on my balcony, and it went gangbusters. This spring I&rsquo;ve actually planned out a whole porch-garden (like <a href="https://twitter.com/sevandyk/status/1109121188079427585">Stardew Valley but real life</a>). Last year&rsquo;s mint has started growing again, and I&rsquo;ve added spearmint and mojito mint. I&rsquo;ve also got two types of peas, two mixes of salad greens, and spinach planted. Later I&rsquo;ll be planting carrots, basil, and rosemary. The peas just started sprouting a couple days ago, which is exciting!</p>
<p><img alt='a container showing an assortment of "asian salad" greens' src="https://gallery.tinyletterapp.com/76b879b0e95d11cda4d7d21283ce7d32a4f76e09/images/4e7e993c-8f90-4117-ad36-bb32a20a78c5.jpg"></p>
</li>
<li>
<p>Gloomhaven! This is a cooperative legacy-style board game &ndash; a fun dungeon-crawler that doesn&rsquo;t need a DM, so everyone gets to play. Our group is still only a few scenarios in, but we&rsquo;re enjoying it so far. SO MANY HEX TILES. I&rsquo;m also getting ready to paint our party&rsquo;s miniatures, which is another (potential) new hobby of mine; more to come in a future newsletter, I suspect :)</p>
</li>
<li>
<p>Video games: just started Sekiro: Shadows Die Twice on PS4. Recently completed (and really enjoyed) New Super Mario Bros. U Deluxe for Nintendo Switch (though Nintendo seems to be trying to give Google a run for their money on ridiculous product names). I&rsquo;ve also been playing Total War: Warhammer 2 regularly, and Splatoon 2 from time to time. I tried getting into XCOM 2 &amp; enjoyed it, but I&rsquo;m not sure I&rsquo;m interested enough to finish the campaign. I keep going back to Total War when I want something in the tactical / strategy genre.</p>
</li>
<li>
<p>Guitar: starting to learn fingerstyle, with the goal of eventually becoming good enough to play <a href="https://www.songsterr.com/a/wsa/chrono-cross-dream-of-the-shore-boardering-another-world-tab-s5033t2">Dream of the Shore Bordering Another World</a> from Chrono Cross.</p>
</li>
<li>
<p>Computer stuff: upgraded my PC&rsquo;s video card (it was many years old) and upgraded to an all-SSD setup. It turns out that 2TB SSDs aren&rsquo;t that expensive any more.</p>
</li>
<li>
<p>Getting healthcare without an employer is a disaster &mdash; even in Massachusetts, which reportedly has one of the best systems in the US. Still working on straightening out my paperwork. Apparently they refuse to believe in my proof of health-insurance termination, even though it&rsquo;s lettermarked by Google and everything.</p>
</li>
</ul>
<p>Thanks for reading! Hopefully the next update will come sooner than 2 months and thus be a bit shorter than this one ended up being :)</p>
<p>~ Colin</p>
]]>
</content>
<updated>2019-04-03T12:00:00-04:00</updated>
</entry>
<entry>
<title>A new year &amp; a sneaky new project</title>
<id>https://www.mcmillen.dev/blog/20200209-sneak.html</id>
<link rel="alternate" href="https://www.mcmillen.dev/blog/20200209-sneak.html"/>
<content type="html">
<![CDATA[
<h1 id="a-new-year-a-sneaky-new-project">A new year &amp; a sneaky new project</h1>
<p><em>Posted 2020-02-09.</em></p>
<p>I can&rsquo;t believe it&rsquo;s here so quickly, but: today marks a year since my last day at Google. That seemed like a good occasion to dust off this newsletter &amp; let you know what I&rsquo;ve been up to: making a videogame!</p>
<p>I&rsquo;m working on a stealth-based 2D platformer where you don&rsquo;t have to kill anyone unless you want to. It&rsquo;ll be possible to get through every level by sneaking and misdirection, but it&rsquo;ll require you to be careful and tactical to do so&hellip; and of course if that doesn&rsquo;t work out, you can always draw your swords and go in fighting! So far I&rsquo;ve given it &ldquo;Sneak&rdquo; as a codename, but that&rsquo;s definitely a placeholder until I can flesh out more of the world.</p>
<p>So far Sneak runs on PC &amp; Xbox, but I hope to add Switch and PS4 support within the next couple months. I&rsquo;m using a C# framework called MonoGame, which provides low-level graphics &amp; audio support across all these platforms. In order to write games for Switch or PS4, you need to apply to Nintendo &amp; Sony to get access to their platform-specific SDKs. So my first real milestone will be coming up with a compelling Game Design Doc &amp; gameplay videos so that they can (hopefully) be convinced that I&rsquo;m worth taking seriously. Wish me luck!</p>
<p>Sony won&rsquo;t even talk to anyone unless they&rsquo;re a Real Business (&amp; Nintendo kinda wants you to be too), so as of&hellip; yesterday, I&rsquo;m officially the founder of SemiColin Games LLC (and, for now at least, the only member&hellip;)</p>
<p>If you want to follow along, I have an extremely-placeholder website up at <a href="https://semicolin.games">semicolin.games</a> where you can sign up for Yet Another Newsletter if you like, and a Twitter account <a href="https://twitter.com/SemiColinGames">@SemiColinGames</a> that would appreciate a follow. I&rsquo;ll probably set up a devblog with an RSS feed too eventually, but that&rsquo;s not quite ready yet. When it is, I&rsquo;ll send a quick update here.</p>
<p>I only got started in December &amp; a lot of my work so far has been on building infrastructure (and learning how to start a business), so I don&rsquo;t have any Extremely Compelling Gameplay Videos yet. Here&rsquo;s a short animated GIF for now. The <a href="https://twitter.com/mcmillen/status/1205164954728509440">bloopers on Twitter</a> might be more fun though. :)</p>
<p><img alt="Animation" src="https://gallery.tinyletterapp.com/76b879b0e95d11cda4d7d21283ce7d32a4f76e09/images/deb53c32-0d33-4362-bfd4-97c22b5745f5.gif"><br>
(Art definitely not final!)</p>
<p>Thanks for following along with me on this adventure! Hopefully my next update will come more quickly, and be less wordy! I&rsquo;ve wanted to make videogames since I was Literally A Kid, so I&rsquo;m quite excited to finally be doing that full-time, and to hopefully share something good with all of you. When I&rsquo;m at a stage where I want alpha testers, I&rsquo;ll definitely be asking here first.</p>
<p>Thanks for your support!<br>
~ Colin (&amp; <a href="https://semicolin.games">SemiColin Games</a>)</p>
]]>
</content>
<updated>2020-02-09T12:00:00-04:00</updated>
</entry>
</feed>

View File

@ -24,6 +24,7 @@
<div id="header"> <div id="header">
<div class="content"> <div class="content">
<a href="/" class="undecorated">Colin McMillen</a> <a href="/" class="undecorated">Colin McMillen</a>
<span style="float: right;"><a href="/feed.atom"><img src="/img/rss.svg" alt="Atom feed"></a></span>
<span style="float: right;"><a href="https://twitter.com/mcmillen"><img src="/img/twitter.svg" alt="@mcmillen"></a></span> <span style="float: right;"><a href="https://twitter.com/mcmillen"><img src="/img/twitter.svg" alt="@mcmillen"></a></span>
</div> </div>
</div> </div>

View File

@ -24,6 +24,7 @@
<div id="header"> <div id="header">
<div class="content"> <div class="content">
<a href="/" class="undecorated">Colin McMillen</a> <a href="/" class="undecorated">Colin McMillen</a>
<span style="float: right;"><a href="/feed.atom"><img src="/img/rss.svg" alt="Atom feed"></a></span>
<span style="float: right;"><a href="https://twitter.com/mcmillen"><img src="/img/twitter.svg" alt="@mcmillen"></a></span> <span style="float: right;"><a href="https://twitter.com/mcmillen"><img src="/img/twitter.svg" alt="@mcmillen"></a></span>
</div> </div>
</div> </div>

View File

@ -24,6 +24,7 @@
<div id="header"> <div id="header">
<div class="content"> <div class="content">
<a href="/" class="undecorated">Colin McMillen</a> <a href="/" class="undecorated">Colin McMillen</a>
<span style="float: right;"><a href="/feed.atom"><img src="/img/rss.svg" alt="Atom feed"></a></span>
<span style="float: right;"><a href="https://twitter.com/mcmillen"><img src="/img/twitter.svg" alt="@mcmillen"></a></span> <span style="float: right;"><a href="https://twitter.com/mcmillen"><img src="/img/twitter.svg" alt="@mcmillen"></a></span>
</div> </div>
</div> </div>

1
img/rss.svg Normal file
View File

@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="#FFFFFF" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path fill-rule="nonzero" d="M19.199 24C19.199 13.467 10.533 4.8 0 4.8V0c13.165 0 24 10.835 24 24h-4.801zM3.291 17.415c1.814 0 3.293 1.479 3.293 3.295 0 1.813-1.485 3.29-3.301 3.29C1.47 24 0 22.526 0 20.71s1.475-3.294 3.291-3.295zM15.909 24h-4.665c0-6.169-5.075-11.245-11.244-11.245V8.09c8.727 0 15.909 7.184 15.909 15.91z "></path></svg>

After

Width:  |  Height:  |  Size: 661 B

View File

@ -24,6 +24,7 @@
<div id="header"> <div id="header">
<div class="content"> <div class="content">
<a href="/" class="undecorated">Colin McMillen</a> <a href="/" class="undecorated">Colin McMillen</a>
<span style="float: right;"><a href="/feed.atom"><img src="/img/rss.svg" alt="Atom feed"></a></span>
<span style="float: right;"><a href="https://twitter.com/mcmillen"><img src="/img/twitter.svg" alt="@mcmillen"></a></span> <span style="float: right;"><a href="https://twitter.com/mcmillen"><img src="/img/twitter.svg" alt="@mcmillen"></a></span>
</div> </div>
</div> </div>

View File

@ -24,6 +24,7 @@
<div id="header"> <div id="header">
<div class="content"> <div class="content">
<a href="/" class="undecorated">Colin McMillen</a> <a href="/" class="undecorated">Colin McMillen</a>
<span style="float: right;"><a href="/feed.atom"><img src="/img/rss.svg" alt="Atom feed"></a></span>
<span style="float: right;"><a href="https://twitter.com/mcmillen"><img src="/img/twitter.svg" alt="@mcmillen"></a></span> <span style="float: right;"><a href="https://twitter.com/mcmillen"><img src="/img/twitter.svg" alt="@mcmillen"></a></span>
</div> </div>
</div> </div>

View File

@ -24,6 +24,7 @@
<div id="header"> <div id="header">
<div class="content"> <div class="content">
<a href="/" class="undecorated">Colin McMillen</a> <a href="/" class="undecorated">Colin McMillen</a>
<span style="float: right;"><a href="/feed.atom"><img src="/img/rss.svg" alt="Atom feed"></a></span>
<span style="float: right;"><a href="https://twitter.com/mcmillen"><img src="/img/twitter.svg" alt="@mcmillen"></a></span> <span style="float: right;"><a href="https://twitter.com/mcmillen"><img src="/img/twitter.svg" alt="@mcmillen"></a></span>
</div> </div>
</div> </div>

13
script.js Normal file
View File

@ -0,0 +1,13 @@
// Google Analytics boilerplate.
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-25704949-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async =
true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') +
'.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

View File

@ -24,6 +24,7 @@
<div id="header"> <div id="header">
<div class="content"> <div class="content">
<a href="/" class="undecorated">Colin McMillen</a> <a href="/" class="undecorated">Colin McMillen</a>
<span style="float: right;"><a href="/feed.atom"><img src="/img/rss.svg" alt="Atom feed"></a></span>
<span style="float: right;"><a href="https://twitter.com/mcmillen"><img src="/img/twitter.svg" alt="@mcmillen"></a></span> <span style="float: right;"><a href="https://twitter.com/mcmillen"><img src="/img/twitter.svg" alt="@mcmillen"></a></span>
</div> </div>
</div> </div>