Using Redis Sentinel with Docker and Marathon

Note: This article expands upon the principles as explained in my other post about Redis Sentinel and Docker Compose. If you haven’t read it yet, you should do so before continuing with this article. Using Redis Sentinel with Docker and Marathon is a relatively complex procedure that requires every instance of Redis to be able … more »

Posted in Development | Tagged , , , , , | Leave a comment

Using Redis Sentinel with Docker Compose

Redis is an easy-to-use solution for anyone looking for a robust key-value store. It is feature-rich, but relatively simple to use and even has official Docker images. This post will not go into anymore detail as to what exactly Redis is as it assumes the reader already knows. If not, you can read about it … more »

Posted in Development | Tagged , , , , | Leave a comment

Working with Linux in Windows: Linux Server in VirtualBox

I have written before about having to work in Windows 7 with Docker which only runs natively on Linux, macOS or Windows 10. The solution I have used until now has always been to run Xubuntu in VirtualBox and work directly with Docker inside the virtual machine. This has several advantages, but also many detriments … more »

Posted in Development, Linux, Server, Windows | Tagged , , , | Leave a comment

Debugging Node.js in a Docker Container with WebStorm

Node.js + Docker + WebStorm is not an unusual setup for Node.js developers, but there is nonetheless surprisingly little information available about how to setup debugging in WebStorm while running a Node.js application locally in a Docker image. Fortunately it is very simple to setup and the benefit of having real debugging is something that … more »

Posted in Development, Web Development | Tagged , , , | Leave a comment

Why Ad and Tracking Blockers Are Necessary

Ad and tracking blockers have been around for several years, but ever since Apple introduced the ability to install them on iOS devices with the introduction of iOS 9, they have made the mainstream news. Several websites have even gone so far as to prevent users with ad and/or tracking blockers from accessing their websites, … more »

Posted in Privacy & Tracking, Surveillance | Tagged , , , , , | Leave a comment

Resize an NSImage Proportionately in Swift

For the past couple of days, I’ve been working on a small project for OS X written in Swift where it was necessary to import an image and scale it down proportionately based on a given width and height. Since I couldn’t find much help online, I thought I would contribute my bit and post … more »

Posted in Development, Mac, Mac Development | Tagged , , , , | Leave a comment

Node.js: Fixing a memory leak in Express MemoryStore

When using a combination of Express and krakenjs in your Node.js application, there is a feature enabled by default which automatically leads to a nasty memory leak. It uses a technology called MemoryStore in order to store user sessions which works well in a development environment, but is problematic on a production system. Essentially, MemoryStore … more »

Posted in Development, Web Development | Tagged , , | Leave a comment

ScratchPad 1.4.1 Released

Today I’m happy to announce the first new release of ScratchPad in four years. It is a very small update that gets rid of the old pre-Yosemite style buttons and replaces them with modern OS X elements (see the screenshot). It also adds support for Retina displays. This should ensure that ScratchPad continues to look … more »

Posted in Mac, Mac Development, Projects, ScratchPad | 4 Comments

New Website Design

I’m happy to announce that my portfolio and blog have received a fresh makeover. The design is much cleaner and leaner than the last one and should load my more quickly. It is optimized for mobile devices and desktops alike and is simplified so that information is easier to find. My design philosophy when approaching … more »

Posted in News, Web Design, Web Development, Website | Tagged , | Leave a comment

Symfony2: Giving Each Locale Its Own Domain Name

After spending hours looking around online for an answer to the problem I was having setting the locale of a multi-lingual Symfony2 application based on the domain name, I finally sat down and more or less found my own solution. As is often the case, an answer to a question on Stack Overflow got me … more »

Posted in Development | Tagged , , | Leave a comment