Category: Geekery

  • Automaddic

    Automad / A Flat-File CMS and Template Engine
    Automad is a fast and lightweight flat-file content management system and template engine for creatives that can be used in a monolithic or headless mode.
    automad.org

    After spending close to twenty years clicking around the WordPress dashboard, I’m finding Automad’s whole “minimalist CMS” vibe deeply refreshing.

    I played with a demo of version 2, goofed around a bit with the extensions on offer, and not once did I have to dismiss a dashboard notification or suffer through a premium upsell offer. Truly glorious.

    The fact that it’s written in PHP — something that I have plenty of experience with — is also pretty damn nice.

    I’m definitely going to have to spend some more time messing around with this.

  • A Quick Take On Guetzli

    I ran a few (incredibly unscientific) tests on Google’s new Guetzli JPEG encoder last night at 100%, 90%, and 84% compression. Why 84%? Well, that’s the lowest the Guetzli binary will let you go without editing the source and recompiling.

    Each run (compressing a single image) took about 20 minutes on a medium sized cloud instance with 8GB of RAM. During these runs, the server routinely went into swap. If you’re interested in seeing how things panned out, here’s the output: https://img.boogah.org/g/

    Included in the link above are 2 versions (lossless, and lossy) of the same image run through ImageOptim on macOS. Doing both of those took me less than 2 minutes, combined. And while the output of ImageOptim’s lossy compression isn’t near as sharp, it’ll still be “good enough” for most folks.

    At the end of the day, Guetzli’s output is really nice. And it does do a great job compressing things. I saw anywhere from a 74.63% to 89.28% decrease in size from my original image with very few visual artifacts. In its current form, however, it takes way too long to act as an efficient enough batch processor for small, independent publishers.

    So don’t go throwing away Kraken, Imagify, or Smush just yet… Especially if you post a lot of galleries. 😀

  • Return of the Slack

    While I find the official WordPress Slack team incredibly useful, the sheer scope of it — over 10,000 users & 66 channels — makes the copy of Slack on my desktop ridiculously sluggish. It’s actually pretty crazy how much lower the RAM usage on my machine is when I remove the WordPress team from the app.

    At this point I feel like my options are:

    1. Stop hanging out in WordPress Slack. 😞
    2. Requisition a new work machine with more RAM. For Slack. 😕
    3. Shut up and continue to deal with it. 💩

    I’ve gone with a modified version of option #3 thanks to Nativefier. It quickly wraps any site in an Electron shell and creates an executable for your operating system. So now I’ve got an app just for WordPress Slack. My (7) other teams can stay snappy and I can restart the Electron app as needed when RAM gets tight.

    And if you’re using a Mac, you can have it too… Just click the image below to grab a (totally unsupported) copy.

    wp-core-slack

    Pardon the hastily thrown together icon. It’s this Dribbble shot plus a plain ol’ WordPress logo. To be honest, I wasn’t looking to blow a whole lot of time on this. And I didn’t. So that’s cool.

    Hopefully at least one other person finds this useful!

  • Playing with Laravel Valet

    I finally had the chance to do a little WordPress work in Laravel’s lightweight development environment Valet last week. My hot take?

    It's the best. I love it.

    If you’re interested in setting it up on your Mac, there’s a solid tutorial that outlines how to get started by Tom McFarlin over at Tuts+. And if you’d like to go down the rabbit hole even further, Aaron Rutley has written a script that helps you create and delete sites under Valet in seconds.

    I’m going to spend a little more time with this over the coming weeks. Maybe I’ll put something interesting together if I can find the time… No promises though.

  • Simple Cache

    GitHub – tlovett1/simple-cache: A simple caching plugin for WordPress.
    A simple caching plugin for WordPress. Contribute to tlovett1/simple-cache development by creating an account on GitHub.
    github.com

    Taylor has been on fucking fire lately with plugin releases. Simple Cache does one thing — caching, natch — and it does it very well:

    Simple Cache was constructed after getting frustrated with the major caching plugins available and building sites with developer-only complex caching solutions that get millions of page views per day.

    If you need your site to run fast, don’t have time to mess with complicated settings, and have been frustrated by other caching plugins, give Simple Cache a try.

    Sounds nice. Wish I had an unmanaged site to use this on.

  • DuoTone Themes for Atom

    DuoTone themes – Syntax themes for Atom
    simurai.com

    While I’m normally a Solarized Dark guy — seriously, I’ve Solarized Dark’d all the things on pretty much every computer I touch — these Atom syntax themes are really pleasant.

    duotone-dark
    duotone-dark-sea
    duotone-dark-space

    I’ve been looking to change things up lately, so I’m going to try living with darkSea for the next month. I’ll let y’all know how it goes!

  • Podcasting Preflight

    After guesting on a few podcasts over the past year, I’ve come up with what I feel is a simple (but thorough) preflight checklist of the things that I like to do to before recording. These things help normalize my environment and minimize the majority of technical difficulties that I run into.

    Anyway… In an attempt to be helpful, I thought I’d share them with y’all.

    • Pour yourself a large glass of ice water.
      • Don’t accidentally leave it in the kitchen!
    • Plug in USB mic.
      • Select the USB mic as your input device.
    • Plug in headphones.
      • Verify that headphones are set as your output device.
    • Manually restart your residential gateway or cable modem.
    • Manually restart your router.
      • If an ethernet connection is available, plug your machine directly into your router.
    • Run a speed test on your connection.
      • You want low latency and a reasonably speedy connection.
    • Pause syncing on Dropbox.
      • See also: Google Drive, BitTorrent Sync, etc.
    • Change Backblaze schedule from Continuously to Only when I click <Backup Now>.
      • See also: CrashPlan, Carbonite, etc.
    • Halt all Vagrant development environments.
    • Enable Do Not Disturb mode in OS X’s Notification Center.
      • Want a shortcut? Option+Click the Notification Center icon.
    • Make sure that Shush is running.
    • Load Skype or Chrome.

    While I’m sure that some of this — especially the part about restarting my residential gateway & router — is just nerd voodoo, I haven’t run into any major issues after implementing this checklist.

    I’d love to hear about anyone else’s pre podcast routine. If you have one, please share it!

    P.S. If you’re not familiar with Shush, it’s an app that allows you to discreetly mute (or unmute) your microphone with a hotkey. Should you be recording in a location where children or pets are present, using its push-to-talk functionality can knock down a considerable amount of background noise.

    P.P.S. For podcasts that are recorded via Google Hangout, I keep a clean copy of Chrome Canary installed on my machine. I run Canary separately from my main browser, and have not installed any additional extensions. While loading the Hangout URL in an incognito window might have a similar effect, I find doing this leaves less to chance.

  • Reasons for Custom Tables and an API

    Custom Database API – Reasons for Custom Tables and an API – Pippins Plugins
    pippinsplugins.com

    When it comes to storing large amounts of data that does not very closely mimic existing WordPress database schemas, you should absolutely use custom tables. Choosing not to use a custom table will likely cause more harm than good. While it’s possible to store almost anything you want as a custom post type in the wp_posts table, that does not mean you should or that it is even a remotely good idea.

    You have no idea how happy I am that someone is finally saying this. I’m even happier that the someone saying it is Pippin.

    Really looking forward to the rest of the articles in this series!

  • Gotta Podcatch ‘Em All

    A couple great WordPress podcasts — WP Dev Table and WPwatercooler — have been nice enough to have me on as a guest recently. Instead of having you dig around each site to find the episodes, I’ll just go ahead and leave them here…

    Episode 11 – A Day In The Life of a Developer Advocate at WP Engine with Jason Cosper
    EP 148 – Coding and the design process – Aug 10 2015

    As you can see, I’m a pretty insightful guy. Humble too.

    Want to have me on your podcast? Hit me up on Twitter!