Articles

    Voice is the future and Google is best

    Almost a year ago, I was lucky enough to be given an Amazon Echo from someone whose family wasn’t that comfortable with an always-on device listening to them, so he gave it to me to play with. My life is quite boring, listen away devices. So my family likes the Echo, it works well enough […]

    Dell XPS 13 Developer Edition

    My review of the Dell XPS 13 Developer Edition laptop. My two previous laptops were the Macbook Pro 15″ (Late 2013), and Thinkpad X1 Carbon (2012, 1st gen). So much of the comparisons will be to those two. My main debate was between the XPS 13 and Thinkpad X1 Carbon, a few reasons I ended […]

    Git Snippets

    Undo If you made a commit and did not push and want to change, use reset it will unstage the commit and your repo will be at the state prior to the commit. You can use reset with a hash or ~ back from head. git reset HEAD~1 If you want to completely undo the […]

    Signing for a Delivery

    Is scribbling something illegible on a piece of paper or LCD pad really a good way for signing for something? We do it when receiving packages, and paying with a credit card, it not only seems archaic but really pointless. Typically the person asking us to scribble does not confirm our identity in any other […]

    Create Screenshot in Chrome

    In the latest version of Chrome Canary, a beta channel for the browser, a new featured was added to the DevTools responsive layout allowing you to easily create a screenshot, including a mobile frame. As shown in the animation, the steps are: Open DevTools Select Device Type In Settings, select “Show device frame” In Settings, […]

    IP Address

    It is possible to represent an IPv4 address in different formats than the common x.x.x.x notation. An IPv4 address is simply a 32-bit number, or a 4-byte number with each section representing a byte. For example using my mkaz.com IP address: 45.79.78.169 Converting each part to binary: Decimal Binary Hex 45 00101101 2D 79 01001111 […]

    Code Signing a Windows application

    Today, we released our WordPress.com Desktop app on Windows, the app takes advantage of all the work put in creating the Calypso app which is the Javascript client code that powers WordPress.com, which is all open source. To build the desktop apps, we use Electron which bundles Javascript, Node and the Chromium browser together into […]

    Set the Featured Image in WordPress

    I started my photo blog in 2005 and over the past 10 years run it on several different platforms, hosts and software. I started with a bunch of scripts I created myself, bounced around from self-hosted WordPress to Tumblr, back to self-hosted WordPress, back to custom scripts to WordPress.com and now once again back to […]

    The cost of inspiration

    The mission was a failure! What a waste of money! These are a few dissenting views of the Rosetta / Philae space mission, especially now since the lander’s battery has been depleted. People are debating if the planning was done right, did it accomplish all of the science experiments. All of this for just three […]

    Testing Clients to an HTTP API in Go

    An example on how to test a client which calls out to an external API, without requiring the API server to be up and running. From Testing Techniques video by Andrew Gerrand at Google I/O 2014. Go has a standard library net/http/httptest which you can use to create a test HTTP server, similar to Go’s […]

    Geometricomatic

    I created a fun geometric art generator as an experiment playing around with SVG and D3. If the iframe embed below doesn’t work, you can try this direct link.

    A8C GM Photo

    Each year at Automattic, we take a full company photo at our Grand Meetup. We receive a hard copy of the photo printed out and framed. While procrastinating and looking at these photos, I noticed several people stood in close to the same spot year-over-year. It became the topic for my flash talk. » Flash […]

    Eliminate Work in Progress

    I was listening to the recent Bootstrapped with Kids podcast and they were talking about doing too many things at once and the pain it was having on the business. A good listen to hear how development methodology effects the business. A few key tenets of software development; doing small releases, eliminate work in progress […]

    Python Argparse Cookbook

    I use Python as my go to tool for command-line scripts. So I find myself often parsing command-line arguments for these script. Since I use various programming languages I don’t remember anything, so I’m constantly looking at documentation and sadly, Python docs are a bit challenging to read. So, in a similar vein as my […]

    Lanyon, a markdown web server

    I’ve just released a new bit of software I’ve been developing. Lanyon is a simple web server, which reads directories of markdown files and converts them to HTML and serves. An intuitive and easy way to create a website. It is open source and available on Github at github.com/mkaz/lanyon Lanyon was derived from my static […]

    Open Souce Funding Models

    A look at various funding models for open source projects. Most of the major open source projects require a fair amount of development and maintenance and have many full-time people working on them. People volunteer their time, most of the members of the numerous open source software foundations are unpaid and dedicate their own time […]

    The Command-Line Office

    Live your life on the command-line, this week we take a look at a suite of command-line office tools and utilities. Updated: This article received a little bit of extra attention and comments which brought some great suggestions and alternatives. I’ve tested a few of them out and included additions below, also check out the […]

    Preventing Errors in Code

    This week looking at preventing errors when coding: An ounce of prevention If you don’t read anything else, read the Joel Test to make sure your development practices follow the basics. If you can’t pass the test there’s your todo list, Joel Spolsky wrote it over a dozen years ago and still just as valid […]

    Docs that make you better

    I’m excited to be getting a new camera and being a dork, I’ve been reading the manual online waiting for it to arrive. An interesting thing if you read photography manuals, the documentation does not simply document the camera and features but gives advice on how to be a better photographer. The Fuji manual I […]