Docker Desktop, Alpine Linux, WSL, SSH

Or: How to remove endless number of sessions

Note: if you want to know how to create your own SSH keys, visit Github to read Generating a new SSH key and adding it to the ssh-agent, and Testing your SSH connection.

When I open Windows Terminal into my Windows Subsystem for Linux (WSL) instance, I’m usually greeted by something like this:

Image for post
Image for post

Which means my current .bashrc is adding my SSH private keys to my SSH agent. It works well, here is my current .bashrc :

No gamma death rays here

Docker, Drupal, and Solr: thoughts on creating an Alpine Docker image for Apache Solr

Image for post
Image for post
Solar activity on a pulsar neutron star. Image credit:

Today, I began my day by looking at this monstrosity of a Docker image for Apache Solr:

The image is fresh (from this month), and for all it’s worth it is as well constructed as it can be — it is after all, the official image from the World Wide Web Supremos over at the Apache Foundation.

But Dear Lord, isn’t it unabashedly large sitting at 267.24 MB! That’s just the first thought of the day. The image uses a debian/ubuntu base as betrayed by the apt-get usage in the Dockerfile commands, and that could be part of the…

Varnish 6.x, Drupal 8.4+, WSL, Docker Desktop

Time to revisit an old trusty friend

Image for post
Image for post
Spoiler Alert: those Docker images ain’t nowhere on Docker Hub !!

It’s been a few years since I’ve touched a Varnish VCL. VCL is the Varnish Configuration Language. 2010 was the first time that I used Varnish while supporting a high traffic Drupal 6.x site for some media company headquartered in New York City.

Today I was tweaking and optimizing my NGINX Docker configurations when I ran into a relatively recent story about Drupal 8 performance. The breadcrumbs went something like this:

It Never Changes

Keep It Classy, Drupal!

Image for post
Image for post
When your Drupals get a WSOD

When this week I decided to take the Acquia Dev Desktop tool for a drive (see article #1, and article #2), upon installing the default Drupal profile I was greeted with what we call a WSOD.

WSODs are dreaded but also legendary within the PHP and Drupal communities as they happen when your PHP process encounters an error that it cannot recover from, therefore presenting you with a White Screen of Death.

Luckily, even with the WSOD, after the install finished Drupal logged me in as the new admin user I created, so I was able to access the site’s…

Retro Style

Debugging like it’s 1999!

Image for post
Image for post
Photo by Mister Starman on Unsplash

I remember when I landed my first job in continental United States, having moved from insular Puerto Rico to New York after the 2007–2009 Great Recession.

It was at the tony New York City headquarters of Time Out New York, back when Time Out was a separate entity from Time Out London. They were switching from a Java backend to a PHP/Drupal-based stack, and that’s where me and two other new Drupal developers came in. The sole remaining Java developer in the company (who dabbled in PHP), had requisitioned 3 new Windows 7 machines for us and installed XAMPP on…

Back to The Past

2010 called, and it wants it’s GUI apps back

Image for post
Image for post
Photo by Mylon Ollila on Unsplash

It’s that time of the year (or decade) where I’m again shopping for a new job, stepping outside of the enterprise bubble that I’ve lived for the last 3+ years. Of the the dozens of interviews I have conducted so far I yet have to find an organization that is using Docker, in the year 2020.

All of the Drupal shops I’ve talked to so far are still using Acquia Dev Desktop, an 8 year old or so technology. And why blame them? It’s the lowest entry barrier to Drupal.

So I’d thought I’d take Acquia Dev Desktop for a…

The SDK strikes back !

widevine licensing related, but widevine fault’s probably-not-so

After having successfully integrated the Spotify Web Playback SDK (at least initially) with the help of castLabs Electron distribution, I find myself peering again into the void of software development errors.

Using the same Quick Start example I used for my previous stories, I am able to get a Ready with Device ID connection message to the SDK. Nothing but Fair Winds and Blue Skies from there on, right?

Not so much. After manually switching the playback device from my main Spotify application to the Quick Start example, the audio starts playing in the example application (castLabs Electron), but the…

Planetary Sterilization Pattern №5 or Mambo №5 ?

Taking CastLabs Electron fork for a little joyride

Image for post
Image for post
Photo by Jeremy Bishop on Unsplash

As part of my Spotify Web Playback SDK — feat. Electron saga, in this second-part story I am going to take the CastLabs Electron fork for a spin, and see once and for all if I can use widevine CDM to playback encrypted content from Spotify’s Web Playback SDK.

Why do I want to do this? I find Spotify’s user interface and discovery experience lacking. If I’m paying to listen to music I want to be control of my experience — meaning I want better music browsing and information about the artists I’m interesting in, not to be dictated or…

Ch’khalagu !

Another horror story brought to you by callbackinsanity

Image for post
Image for post
Photo by Excalibur Summers on Unsplash

TL;DR: It does not work

Google Chrome ships with a multitude of modules that provide DRM (encrypted content) playback and other capabilities. The Chromium browser that ships with Electron is like a barebones Chrome browser that lacks these modules. That means that out of the box Electron is not able to play DRM’d content coming from content providers such as Youtube and Spotify.

In this post I will be addressing the lack of native Chrome modules to enable third-party content playback in Electron.

The (working) baseline

This is the Spotify Playback SDK Quick Start:

It works in a regular browser page sans-modifications. If you copy and paste…

Callback Insanity

Organic, fair-sourced DevOps and Full-Stack things. This is a BYOB Establishment — Bring Your Own hipster Beard.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store