Riot Fest: Day 2

Conditions were much better on the second day of Riot Fest. The sky was clear and there was no rain in sight. The air was a little chilly, but it was actually kind of nice. Highlights for the day included two groups I had seen previously: Wu-Tang Clan and The Flaming Lips.

It had been almost nine years since I last saw The Flaming Lips. During that time technology finally caught up with their stage show. Hundreds of strands of RGB LEDs dangled above the stage with a giant LED matrix as backdrop. The animations and colors were synchronized to the music in psychedelic perfection.

It was an amazing spectacle, even given a major hiccup at the beginning of the show when the lights kicked into high gear. Evidently it was too much for the power setup. Everything went dark and it took event staff about 10 minutes to get things back in working order. I've never seen anything like that before. When they returned the set featured some more recent material, but also included a handful of songs from one of my favorite albums: Yoshimi Battles The Pink Robots.

Riot Fest: Day 1

Evidently summer ended two weeks early in Chicago. It was cold, rainy, and very muddy for the first night of Riot Fest in Humboldt Park. Facing the elements, I thought: "I'm getting too old for this". The chaos of a large music festival was far more magical a decade ago. With that said there was no turning back. I had a mission to accomplish.

The goal: 33 year old me needed to see one of 13 year old me's favorite albums performed live. I'm glad the old man side of me toughed it out because it sounded great. I'm also happy to say that there's still a little bit of that 13 year old in me that hasn't been beaten into submission by adulthood. Rock on.

Sublime Text 2 JavaScript Console

I write a lot of Python and JavaScript, but there's one thing that always bothered me about the latter: having to test out snippets of code in the browser's console. All of that can change with a little help from an awesome text editor and Node.js

JavaScript Build System

Using a build system, you can run code from a file you are editing and see its output right inside Sublime. The only prerequisite is having Node.js installed. The following instructions cover adding a new build system.

 From the Tools menu choose Build System > New Build System:


Paste in the following snippet, then save the file as Node.sublime-build in the User Packages folder. If you followed the first step and selected New Build System, then it should prompt you to save in this location already.

    "cmd": ["node", "$file"],
    "selector": "source.js"

With build configuration saved, you should see a new option under Tools > Build System:


After selecting Node as your build system, you can use Cmd + B to run the JavaScript in an open file, provided you have saved your changes. The build system does not execute the code displayed in the window, it executes what is saved in the file currently.


That's It

Now you can test out JavaScript snippets without ever leaving the comfort of the best text editor around. Enjoy!