Backup WordPress Database And Filesystem Data On Linux With Scripts

January 2, 2017 Nic Raboy

If you’re like me, you run a WordPress blog and are terrified of the thought of something going wrong. With core updates, theme updates, plugin updates, and server component updates, there is a lot of room for error. This is where a WordPress backup could help ease your mind.

WordPress recommends taking a backup of your blog before any of these are done and there are even some popular plugins that will do this for you. For example, you could use the popular UpdraftPlus or similar, but I believe there is room for error in those as well. While I could be wrong, I think WordPress must be in good shape for backup plugins to be successful.

The alternative would be to create your own backup scripts that run on a cron schedule. We’re going to see how to do this for WordPress instances running on a Linux machine.

Read More

My Activity Report For 2016

December 28, 2016 Nic Raboy

It has been a long year being an advocate of technology and I thought it would be a good idea to share everything that has happened to The Polyglot Developer and all of its networks.

Last year, in 2015, I started a tradition of sharing my WordPress, YouTube, and course statistics. We are approaching the end of the year and it is that time again.

Below you’ll find statistics that may help you if you’re planning on creating a blog or developing a course. It will give you an idea of costs and what to expect.

Read More

Samsung Gear Fit 2 Review

December 27, 2016 Nic Raboy

Over the past few years I’ve become dependent on wearable technology, a compliment to my smart phones. For the past year I’ve been using a Pebble Time smartwatch, but since Pebble recently sold out to Fitbit and shutdown shop, I was left looking for a replacement to my soon to be disabled smartwatch. This lead me to the Samsung Gear Fit 2 smart device.

Samsung Gear Fit 2

There were certain criteria that had to be met, in my mind, in order to find an acceptable replacement to the Pebble that I knew and loved. I’m going to evaluate the Gear Fit 2 and see how it stacks up to comparable devices that exist.

Read More

Create A Real Time Chat App With Golang, Angular, And Websockets

December 26, 2016 Nic Raboy

I’ve been hearing a lot about websockets lately and how they can accomplish real time communication between applications and servers. They act as a compliment and possible alternative to RESTful APIs that have been around for significantly longer. With websockets you can do real time messaging for things like chat, communication with IoT, gaming, and a whole lot of other things that need instant communication between clients and the server.

A while back I had played around with websockets and Node.js using a library called Socket.io, but since I’ve been really getting into Golang I wanted to explore websockets using the Go programming language.

We’re going to check out how to create a chat application where the client is an Angular application and the server is a Golang application.

Read More

Create A URL Shortener With Golang And Couchbase NoSQL

December 19, 2016 Nic Raboy

Continuing down the road of Golang development I thought it would be a cool learning example to develop a URL shortener application similar to that of TinyURL or Bitly. I think these are great examples because not only does it teach you how to develop a RESTful API that uses a datasource, but it also challenges you to think critically when it comes to the algorithms.

Previously I had written about creating a URL shortener using my other favorite server-side technology, Node.js, but the languages are so different that it makes sense to try the same with the Go programming language. In this example we’re going to create an application that makes use of Golang, Couchbase, and a few other project dependencies.

Read More

Why RxJS Is The Hottest Way To Handle Async

December 14, 2016 Tracy Lee

Observables. Native To The Web Platform?

One of the common misconceptions in the web world is that RxJS is an “Angular thing”.

What most developers don’t realize is that Observables are on their way to becoming native to the web, and if you aren’t already using them to handle asynchrony, you are not adequately preparing yourself for the future.

The Best Way To Handle Asynchrony

RxJS allows you to solve hard problems with less code, promotes maintainability, readability, flexibility, and composability. These are just some of the reasons RxJS is the hottest way to handle async right now.

Learning how to handle asynchrony the reactive way instead of using promises and callbacks will also greatly reduce the probability that you are leaking resources. And because RxJS works with any framework (angular.js, react.js, ember.js, vue.js), node, and even without frameworks, it’s easy to future proof your applications and have confidence in using this technology.

Read More

Determine If A Number Is Prime Using The Go Programming Language

December 12, 2016 Nic Raboy

Almost two years ago I wrote an article explaining how to determine if a number is prime or not using JavaScript. It turns out this article became more popular than I thought it would, and if I had to guess, it might be because it is a good computer science and overall interview question for new career developers.

I thought it would make sense to revisit the post, but this time focus on accomplishing the task with the Go programming language instead of JavaScript.

Read More