GPMDP - Year in Review

One year later, 3 platforms, 15 languages, 24 releases and over a quarter of a million users. This is a look back on GPMDP, one year later. A lookback So it's been a whole year, almost to the day, since GPMDP first went cross platform. Sitting here writing this post at the same stupid time in the morning I released for the first time on March 5th, 2016. Lot's of things have happened in a year so let's go back and see what's been done. The Beginning So the journey began last year when I fatefully decided to share my »

Using Express inside Electron

I'm going to be honest, this was a bait and switch title. Mainly because in my opinion you should never use Express inside Electron. There are a number of reasons for this, so in no particular order. You would be opening up a publicly accessible port on your users machine. Any program on that machine or any website loaded in a browser could connect to your local express instance. It won't work on some user's machines due to their firewall settings. It simply won't let you open the port. Express doesn't make much sense in the world of Electron. Why »

How my stupid package name made my users updates 5 times too big...

So this is an interesting one, I bet you're all sitting there trying to figure out how something as abstract as a package name has any affect on the size of update files. Yeah... That's what I spent hours puzzling over as well :D In The Beginning So for the last couple of updates to GPMDP I've been noticing the delta update files have been getting bigger and bigger regardless of the code change. One update I changed a single line of code and the delta file was 12MB. This of course bugged me quite a lot but I didn't »

Using React DevTools inside Electron

Background So, you have heard about this great framework called Electron that lets you make beautiful, fluid cross-platform desktop applications with the web tools you know and love. And you're a massive fan of React and you think that pairing them together would be absolutely amazing. First of all, you are correct! React and Electron is an amazing combination and if you want to try it out for yourself I recommend trying out the Electron and React Boilerplate. The Problem When you are making a React based website and you want to debug it, you head over to your Chrome »

How my site went from 20 hits a day to 5 MILLION in a week for no extra cost

On the 6th of March 2016 I posted on reddit about my new release of my Google Play Music Desktop Player. A few hours later I logged back in and my inbox had over 600 replies, I rushed over to look at my website statistics and saw the server was getting absolutely hammered with requests. Here began the 12 hours of "just keep the damm site up", the site was being hosted on a $5 a month Digital Ocean droplet and I was amazed it hadn't crashed already. I had set up no caching and it was serving all requests »