From 37c5183d5da76b4d0abaacf146d5fcb1e5bf10a2 Mon Sep 17 00:00:00 2001 From: Colin McMillen Date: Thu, 1 Jul 2021 10:41:09 -0400 Subject: [PATCH] automated update from build.py --- atom.xml | 120 ++++++++++++++++++++++++++++++++++++++ blog/20190403-update.html | 1 + blog/20200209-sneak.html | 1 + drafts/test.html | 1 + img/rss.svg | 1 + index.html | 1 + publications.html | 1 + resume.html | 1 + script.js | 13 +++++ sigbovik/index.html | 1 + 10 files changed, 141 insertions(+) create mode 100644 atom.xml create mode 100644 img/rss.svg create mode 100644 script.js diff --git a/atom.xml b/atom.xml new file mode 100644 index 0000000..3e430fd --- /dev/null +++ b/atom.xml @@ -0,0 +1,120 @@ + + + + Colin McMillen's Blog + + + 2020-02-09T12:00:00-04:00 + + Colin McMillen + + https://www.mcmillen.dev/ + + + + 93% of Paint Splatters are Valid Perl Programs + https://www.mcmillen.dev/sigbovik/ + + + 93% of Paint Splatters are Valid Perl Programs +

Posted 2019-04-01.

+

TLDR: read the paper and view the gallery of pretty Perl programs.

+

In this paper, we aim to answer a long-standing open problem in the programming languages community: is it possible to smear paint on the wall without creating valid Perl?

+

We answer this question in the affirmative: it is possible 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.

+

Screenshot of a Twitter conversation. Adrienne Porter Felt says: "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?" Jake Archibald replies: "but is it possible to smear paint on the wall without creating valid Perl?"

+

Accepted for publication at SIGBOVIK 2019, held April 1st 2019 in Pittsburgh. Winner of a Unwitting Participation Ribbon, “an unwelcome brand we’ve 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.”

+

Read it on Google Docs or download a PDF. Or grab the entire SIGBOVIK 2019 proceedings; I’m on page 174.

+

Supplementary Materials

+

Here’s all the paint splatters on a single page, along with the valid Perl source code corresponding to each. “Not valid” 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 “interesting”, according to my own aesthetic sense.

+

Here’s a tarball of 100 paint-splatter images that were used as the main dataset for this paper.

+

(source code not available yet because i am bad at GitHub)

+

Errata

+

There are a few paint splatter Perl programs that I didn’t recognize as “interesting” until after the SIGBOVIK submission deadline. For example, this splatter is recognized by OCR as the string lerzfijglpFiji-j, which evaluates to the number 0 in Perl:

+

paint splatter

+

The image below is recognized as the string -*?, which also evaluates to the number 0 in Perl:

+

paint splatter

+

Another surprising program is shown below; OCR recognizes this image as the string ;i;c;;#\\?z{;?;;fn':.;, which evaluates to the string c in Perl:

+

paint splatter

+

Finally, this image is recognized as the string ;E,'__', which evaluates to the string E__ in Perl:

+

paint splatter

+ ]]> +
+ 2019-04-01T12:00:00-04:00 +
+ + + My first paper in 10 years?! + https://www.mcmillen.dev/blog/20190403-update.html + + + My first paper in 10 years?! +

Posted 2019-04-03.

+

It’s been nearly two months since my last day at Google, so I guess I should finally make use of this newsletter :)

+

I wrote a paper which was published on April 1st as part of SIGBOVIK 2019: “93% of Paint Splatters are Valid Perl Programs”. In this paper, I answer a long-standing open problem in the programming languages community: is it possible to smear paint on the wall without creating valid Perl?

+

(Long-standing since February 13, 2019, when a Twitter conversation between Adrienne Porter Felt & Jake Archibald posed the question.)

+

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 is possible to smear paint on a wall without creating valid Perl.

+

You might suspect there is some chicanery going on with this result. You’d be correct, but… honestly there’s not that much chicanery going on. You’ll have to read the paper for details… and for my attempts at academic humor. :)

+

There’s also some supporting material on this website, including a gallery of all 100 images and their associated valid Perl code. Here’s a screenshot of some of them. (Did you know that the string lerzfijglpFiji-j evaluates to the number 0 in Perl?)

+

screenshot of 17 paint splatters, and the Perl programs they represent

+

As it turns out, the publication date of my paper was exactly 10-years-minus-a-day since my Ph.D. thesis defense. I’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’s conference.

+

For more light-hearted and vaguely CS-shaped research papers, check out the rest of the SIGBOVIK 2019 proceedings. I particularly enjoyed “Elo World, a framework for benchmarking weak chess engines” by tom7 (“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”.)

+

Some other random things that I’ve been up to in the last month-and-a-half:

+
    +
  • +

    ohnosay, which is like “cowsay” 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 & to learn how to GitHub. Since then, I also realized that the World Outside Google uses Python 3, so I’ve started learning that :)

    +

    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"

    +
  • +
  • +

    Gardening! Last August I randomly planted some peppermint in a railing container on my balcony, and it went gangbusters. This spring I’ve actually planned out a whole porch-garden (like Stardew Valley but real life). Last year’s mint has started growing again, and I’ve added spearmint and mojito mint. I’ve also got two types of peas, two mixes of salad greens, and spinach planted. Later I’ll be planting carrots, basil, and rosemary. The peas just started sprouting a couple days ago, which is exciting!

    +

    a container showing an assortment of "asian salad" greens

    +
  • +
  • +

    Gloomhaven! This is a cooperative legacy-style board game – a fun dungeon-crawler that doesn’t need a DM, so everyone gets to play. Our group is still only a few scenarios in, but we’re enjoying it so far. SO MANY HEX TILES. I’m also getting ready to paint our party’s miniatures, which is another (potential) new hobby of mine; more to come in a future newsletter, I suspect :)

    +
  • +
  • +

    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’ve also been playing Total War: Warhammer 2 regularly, and Splatoon 2 from time to time. I tried getting into XCOM 2 & enjoyed it, but I’m not sure I’m interested enough to finish the campaign. I keep going back to Total War when I want something in the tactical / strategy genre.

    +
  • +
  • +

    Guitar: starting to learn fingerstyle, with the goal of eventually becoming good enough to play Dream of the Shore Bordering Another World from Chrono Cross.

    +
  • +
  • +

    Computer stuff: upgraded my PC’s video card (it was many years old) and upgraded to an all-SSD setup. It turns out that 2TB SSDs aren’t that expensive any more.

    +
  • +
  • +

    Getting healthcare without an employer is a disaster — 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’s lettermarked by Google and everything.

    +
  • +
+

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 :)

+

~ Colin

+ ]]> +
+ 2019-04-03T12:00:00-04:00 +
+ + + A new year & a sneaky new project + https://www.mcmillen.dev/blog/20200209-sneak.html + + + A new year & a sneaky new project +

Posted 2020-02-09.

+

I can’t believe it’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 & let you know what I’ve been up to: making a videogame!

+

I’m working on a stealth-based 2D platformer where you don’t have to kill anyone unless you want to. It’ll be possible to get through every level by sneaking and misdirection, but it’ll require you to be careful and tactical to do so… and of course if that doesn’t work out, you can always draw your swords and go in fighting! So far I’ve given it “Sneak” as a codename, but that’s definitely a placeholder until I can flesh out more of the world.

+

So far Sneak runs on PC & Xbox, but I hope to add Switch and PS4 support within the next couple months. I’m using a C# framework called MonoGame, which provides low-level graphics & audio support across all these platforms. In order to write games for Switch or PS4, you need to apply to Nintendo & Sony to get access to their platform-specific SDKs. So my first real milestone will be coming up with a compelling Game Design Doc & gameplay videos so that they can (hopefully) be convinced that I’m worth taking seriously. Wish me luck!

+

Sony won’t even talk to anyone unless they’re a Real Business (& Nintendo kinda wants you to be too), so as of… yesterday, I’m officially the founder of SemiColin Games LLC (and, for now at least, the only member…)

+

If you want to follow along, I have an extremely-placeholder website up at semicolin.games where you can sign up for Yet Another Newsletter if you like, and a Twitter account @SemiColinGames that would appreciate a follow. I’ll probably set up a devblog with an RSS feed too eventually, but that’s not quite ready yet. When it is, I’ll send a quick update here.

+

I only got started in December & a lot of my work so far has been on building infrastructure (and learning how to start a business), so I don’t have any Extremely Compelling Gameplay Videos yet. Here’s a short animated GIF for now. The bloopers on Twitter might be more fun though. :)

+

Animation
+(Art definitely not final!)

+

Thanks for following along with me on this adventure! Hopefully my next update will come more quickly, and be less wordy! I’ve wanted to make videogames since I was Literally A Kid, so I’m quite excited to finally be doing that full-time, and to hopefully share something good with all of you. When I’m at a stage where I want alpha testers, I’ll definitely be asking here first.

+

Thanks for your support!
+~ Colin (& SemiColin Games)

+ ]]> +
+ 2020-02-09T12:00:00-04:00 +
+ +
diff --git a/blog/20190403-update.html b/blog/20190403-update.html index 5733f18..41b9239 100644 --- a/blog/20190403-update.html +++ b/blog/20190403-update.html @@ -24,6 +24,7 @@ diff --git a/blog/20200209-sneak.html b/blog/20200209-sneak.html index 4f23b2b..a207f92 100644 --- a/blog/20200209-sneak.html +++ b/blog/20200209-sneak.html @@ -24,6 +24,7 @@ diff --git a/drafts/test.html b/drafts/test.html index 75712c9..b31ace2 100644 --- a/drafts/test.html +++ b/drafts/test.html @@ -24,6 +24,7 @@ diff --git a/img/rss.svg b/img/rss.svg new file mode 100644 index 0000000..37c4829 --- /dev/null +++ b/img/rss.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/index.html b/index.html index 345c053..ec83718 100644 --- a/index.html +++ b/index.html @@ -24,6 +24,7 @@ diff --git a/publications.html b/publications.html index 28cc703..5ce2dc6 100644 --- a/publications.html +++ b/publications.html @@ -24,6 +24,7 @@ diff --git a/resume.html b/resume.html index dabe0bb..e6c3299 100644 --- a/resume.html +++ b/resume.html @@ -24,6 +24,7 @@ diff --git a/script.js b/script.js new file mode 100644 index 0000000..41a83d5 --- /dev/null +++ b/script.js @@ -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); +})(); diff --git a/sigbovik/index.html b/sigbovik/index.html index f3be8f9..995b8eb 100644 --- a/sigbovik/index.html +++ b/sigbovik/index.html @@ -24,6 +24,7 @@