Pew Pew Laser Blog http://www.pewpewlaser.com/ Hand forged code from Seattle, Washington. Gaming - analog and digital. Glass artistry. Baking. And a few pictures of cats. en-us Pew Pew Laser Blog http://www.pewpewlaser.com/images/icons/ray-gun.png http://www.pewpewlaser.com/ Things that Matter To Me As a Speaker. http://www.pewpewlaser.com/blogs/666 http://www.pewpewlaser.com/blogs/666 Mon, 20 Mar 2017 00:00:00 PDT Beyond the basics such as an enforced code of conduct and covered travel and lodging, there are a few things that I really appreciate as a speaker:

  • Speaker dinner / lunch / hangout time. Getting a chance to talk to other speakers in a non-public situation is great for conquering my imposter syndrome. Even if they're super famous, we're still sharing food and I can get a chance to connect as peers.
  • Recommended lodging. I've already got to write a speech - do I really have to track down the best hotel too? Having the majority of the conf stay at the same venue can lead to powerful chance meetings between attendees.
  • Video of speech. This is such a great artifact for a speaker to have. This can be a powerful tool for finding the next speaking opportunity.
]]>
Katie Kurkoski
Sublime Text ColorHighlighter Tips. http://www.pewpewlaser.com/blogs/665 http://www.pewpewlaser.com/blogs/665 Fri, 24 Feb 2017 00:00:00 PST Sreenshot demonstrating ColorHighlighter for Sublime Text ColorHighlighter is a pretty nifty package for Sublime Text which can display the color of CSS colors values right in the text editor. Here are a few usage and configuration tips if you want to use it yourself.

  • There are two different settings for how to display the colors:
    • ha_style: The style at any time.
    • style: The style when that text has focus (line 7 in the image above).
    Here's an example of the ColorHighlighter.sublime-settings file which results in the image above:
    {
      "ha_style": "underlined_solid",
      "style": "filled"
    }
  • You can convert colors to different formats such as rgba, with "Convert Color" from the context menu. Enter sharp6 for old-fashioned hex colors. This is quite useful for converting CSS named colors.
  • You can open your operating system's color picker with "Choose Color" from the context menu.
  • Dashes in the names of variables for colors produce weird results.
  • For the colored circles in the gutter, ImageMagick needs to be installed.
]]>
Katie Kurkoski
Print vs. Online Products. http://www.pewpewlaser.com/blogs/664 http://www.pewpewlaser.com/blogs/664 Thu, 02 Feb 2017 00:00:00 PST Let us take a little time to compare and contrast printed products with their online counterparts - such as a printed newspaper and the same newspaper's website.

The printed version is tangible and tactile. Once printed, it can't be revised by the creator, though the user can make notes on the paper. Since it's a tangle product, the user must find a way to dispose of the used product; which may be repurposed as combustion or packing material. Each newspaper will probably only be used by one or two users.

The online version is interactive: searchable and sharable. It is easily updated. The website is much more likely to be seen by users outside of the physical area of the newspaper. Many users will use the same "version" of the paper, which can generate comments and discussions.

These are completely different products, even though they share the same content.

]]>
Katie Kurkoski
Creaming in Baking. http://www.pewpewlaser.com/blogs/663 http://www.pewpewlaser.com/blogs/663 Tue, 10 Jan 2017 00:00:00 PST Creaming is one of those weird terms you see in baking recipes. It does have a specific meaning though, and doing it correctly can really improve your baked goods.

Creaming means mixing the butter (or the main fat of the recipe) and sugar (white or brown) until "light and fluffy". This process puts a bunch of tiny bubbles into the proto-cookies, which help with leavening. You should see the volume of the mixture increase by about a third, and has lightened in color, due to all that air. You shouldn't be able to see any sugar granules, but you should be able to feel them if you rub the creamed mixture between thumb and forefinger. Creaming will take somewhere around 3 minutes with a mixer (I like to use a paddle with a scraper or edge beater in my stand mixer), and just about forever if you're mixing by hand.

]]>
Katie Kurkoski
Real Talk About Conference Speaking. http://www.pewpewlaser.com/blogs/662 http://www.pewpewlaser.com/blogs/662 Tue, 20 Dec 2016 00:00:00 PST Not to be a downer, but that "free" trip you got by having your conference talk accepted is pretty far from free. TANSTAAFL, and all that. Here some additional "costs" you may have to consider. (Organizers: think about the huge commitment your speakers are making when they agree to speak. Try to make things as easy for them as possible.)

  • Time off. Some companies are happy to consider conference-attending as work days. But if your company isn't, or if you're self-employed or a student, or have already done a lot of speaking this year and your company can't really cover any more, then you'll be using your PTO or otherwise covering these days yourself.
  • Travel costs. Even if the conf offers reimbursement for travel costs, most do so within a few days of the actual conference. If that's the case, you're going to have to float the money until the paperwork and funding goes through. And unfortunately it's not uncommon to have to "remind" the organizers to process the reimbursements. This can be reduced by having the conf book (and pay up front) for as much as possible, but not all confs offer this and this isn't an option if you're traveling with a SO and want to sit together on the plane.
  • Travel hassles. Travel can suck, particularly if you're going via airplane. Your odds of encountering that suck increase with every layover and international border.
  • Eating. If you're traveling, you'll probably be eating out. There is almost never a per-diem covered by community conferences, so be sure you've budgeted for your food. Also consider any tourism costs if you'll be combining the conf with a few actual vacation days.
  • Talk preparation time. How much do you value your time? Somewhere between minimum wage and your hourly rate? If you have a talk accepted, your new hobby is preparing that talk. Writing and researching and coding demos and practicing in front of people. Some magicians can write a 25 minute talk in 3 days. I sure can't. My talk preparation is like water in a pothole - it expands to fill all available time and space.
  • Partner time. If have a partner traveling with you, odds are they won't attend the conference with you. But you'll probably plan to spend time with them; perhaps dinner each day and a few days touring after the conference. Be sure to work this all out ahead of time so that all expectations are met.

Related:

]]>
Katie Kurkoski
Git History. http://www.pewpewlaser.com/blogs/661 http://www.pewpewlaser.com/blogs/661 Wed, 02 Nov 2016 00:00:00 PDT Want to take a spin in the good old git time machine? Here are some useful ways to do that.

git show --name-only [sha]
Show which files have changed between the referenced [sha] and the current HEAD.
git log --grep=[stuff]
Show any commits where the commit message matches the regular expression [stuff].
git log -p [filename]
Show the log (commits and changes) for a the file [filename]. You can add any log arguments to this, such as 25 for only the most recent entries in the log: git log -p -25 README.md.
git grep [stuff]
Use the power of git to search for any matches of the regular expression [stuff] in the repo.

Piping Output

  • If the results are too difficult to read in your terminal, you can pipe the results to your test editor. For example, to pipe the output to Sublime from OSX's Terminal: git log -p -2 README.md | subl.
  • Or you can pipe those results to a file to save them. For example, to send the results to a file in Windows' Command Line: git log -p -25 > file.txt
]]>
Katie Kurkoski
Finding Projects for Open Source Contributions. http://www.pewpewlaser.com/blogs/660 http://www.pewpewlaser.com/blogs/660 Sun, 09 Oct 2016 00:00:00 PDT Have you been thinking about contributing to open source projects, but didn't know where to start? Here are a few ways to get started. find projects which are actively welcoming new contributors by highlighting their "starter" issues - bugs which are small in scope or otherwise make a good introduction to the project.

]]>
Katie Kurkoski
How I Got Involved With CascadiaFest. http://www.pewpewlaser.com/blogs/659 http://www.pewpewlaser.com/blogs/659 Mon, 12 Sep 2016 00:00:00 PDT I feel very lucky to have been invited to organize CascadiaFest for the past two years - first as Browser (JavaScript) Day Curator, and this year as CSS Day Curator. Sometimes people have asked me how I got involved with CascadiaFest in the first place, so I thought I'd tell that story.

Way back in 2013, I decided that it would be good for my professional development to attend some conferences. I had just started a new job, with some savings left over from unemployment time, and so I had some budget to attend conferences on my own dime. I had met Carter Rabasa (founder and long-time organizer of CascadiaJS) by attending the SeattleJS meetup in the previous year. So I arranged a trip to Vancouver, BC for CascadiaJS in November. On the Hacker Train up from Seattle to Vancouver, I met Tracy Hinds, who had organized the Hacker Train all the way up from Portland.

CascadiaJS 2013 was an absolute blast. The talks were interesting and educational, and I met a bunch of new (and now long-time) conf-friends and even got mistaken for a speaker! I followed new friends on Twitter, and CascadiaJS on Github. Not too long after coming home, I wrote up and posted some of my notes and published them on this blog. I knew I would be ready to do it again in 2014.

And I did. CascadiaJS 2014 was in Portland, and I bought a ticket and lodging nice and early. Beyond being excited about attending, I had even begun to think I might be able to speak. I had even submitted a talk. It was pretty awful, but that's the first step. 2014 was just as wonderful as the last year - I made sure to thank Tracy and Carter (head organizers for that year) personally, since I knew it was a ton of work to organize something so big and so lovely. (Organizing a conference is kinda like organizing a wedding, once a year.) Since I followed the CascadiaJS repo, I was able to observe many parts of the organization process, and contributed some (hopefully!) helpful thoughts for the next year.

By early 2015, I'd had some success with my talk proposals, and had managed to speak at 2 other conferences. Thus I felt qualified to help other people with their talk proposals and I volunteered to do so; and also to help with CFP out-reach - something I feel passionate about. But Tracy responded asking would I be interested in becoming a core organizer and curating JavaScript Day? After only a little thought, I responded "absolutely yes"!

So, there you go. I got involved by attending first, providing useful feedback to the organizers, and participating in the community.

]]>
Katie Kurkoski
Johnny-Five on tinylab. http://www.pewpewlaser.com/blogs/658 http://www.pewpewlaser.com/blogs/658 Wed, 17 Aug 2016 00:00:00 PDT I got my tinylab last week; it's a nifty little prototyping board with an Arduino Leonardo and a bunch of embedded components that was funded on IndieGoGo. So naturally I wanted to get Johnny-Five working and start fiddling with the tinylab as soon as possible. Unfortunately, it seems like the hardest part of every hardware project is the grand upgrading of the softwares that must proceed fiddling. Here's the process that worked for me.

  1. Re-install Node. My Node installation was a few versions old, and somehow npm was missing. So I went ahead and installed Node.js from https://nodejs.org/en/download/. I decided to live dangerously and install the "Current" version rather than the Stable one.
  2. Upgrade Arduino.app. My Arduino install was older than the Leonardo, so I needed to upgrade it too. I got version 1.6.10 from https://www.arduino.cc/en/Main/Software.
  3. Upgrade npm packages. npm outdated showed that several packages (including Johnny Five) were out of date. This required a few rounds of npm update.
  4. Write the Johnny Five code. I checked the excellent Johnny Five docs and wrote this code for the first LED on the tinylab.
    var five = require("johnny-five");
    var board = new five.Board();
    
    board.on("ready", function(){
      var led = new five.Led(13);
      led.pulse(1000);
    });
    This should make LED1 (on pin D13) pulse on an off. At first I tried using "D13" to address the LED (since that's what's silk-screened on the board) but it was just 13 that worked.

Success!

Here is some tinylab documentation that might come in handy next time:

]]>
Katie Kurkoski
Interviewing a Front-End Developer. http://www.pewpewlaser.com/blogs/657 http://www.pewpewlaser.com/blogs/657 Thu, 28 Jul 2016 00:00:00 PDT A while ago, I interviewed for a job with a company that I was absolutely in-love with. I'd been excited to see that they were looking for a front-end developer and I applied right away.

A front-end developer is a highly specialized skill set, and it's pretty different than the skill sets of other types of developers. An experienced front-end developer (I've been doing this for 10 years) is deeply familiar with current HTML, CSS, JavaScript, as well as current browser support and debugging techniques. I know about image compression and optimization, accessibility, content management systems, and even a little about design and SEO. It's a role akin to the kicker or keeper on a football team.

Back to the interview, we'd gone though a few basic questions and the interviewer had moved on to the algorithm questions. It was a little more complicated than Fizz Buzz, but it wasn't too tricky. But I flailed around for a while trying to both understand what the interviewer was asking, as well as trying to logic out the solution. I didn't solve the algorithm easily enough, and I didn't get any further in the interview process.

Why evaluate a front-end developer based on a algorithm? It's such a very small part of the job, and especially over a video conference after a full day of work, and it's the wrong test to get the front-end developer to demonstrate their best. It's like evaluating an NFL kicker based on their tackling skills - sure, they need to do it sometimes, but a proper blocker will always be more skilled at tackles.

]]>
Katie Kurkoski