PHP-ML – Machine Learning library for PHP

PHP-ML is a machine learning library for PHP.  Given, PHP is probably not the best choice when it comes to machine learning, but sometimes one is limited in technology stack choices, so it’s good have options like this one.

Fresh approach to Machine Learning in PHP. Algorithms, Cross Validation, Neural Network, Preprocessing, Feature Extraction and much more in one library.

Here’s the documentation for more details.

Persisting state between AWS EC2 spot instances

Persisting state between AWS EC2 spot instances” is a handy guide into using Amazon EC2 spot instances instead of on-demand or reserved instances and preserving the state of the instance between terminations.  This is not something that I’ve personally tried yet, but with the ever-growing number of instances I managed on the AWS, this definitely looks like an interesting approach.

Google Chrome color profile

My good friend and colleague Michael Stepanov has been recently annoyed by some weird color offsets on his external screen in Fedora 26.  Turns out, it wasn’t the external monitor, video card, or cable issue.  The problem was with the new Google Chrome and its choice of the color profile.  The solution was found in this Reddit thread:

  • Open new tab and type there chrome://flags
  • Find option “Force color profile” and set it to “sRGB”
  • Restart Chrome and enjoy blue as blue 🙂

jq and jo – handy CLI tools for working with JSON

Here are a couple of really useful command-line tools for anybody working with JSON.  The first one is jq, which is a somewhat wider known JSON processor.  Here’s a nice tutorial with many examples of how this tool is useful.  The second one, is jo – a command-line tool for easier creation of JSON output.