gems-bayesian is a C# library for a Bayesian probability filter that can be used to categorize text into good or bad collections.
It’s real easy in CakePHP 3 to add custom routing for REST requests. You can map the GET, POST, PUT and DELETE requests to controller actions using just one line of code. All seems quick and easy until you run into the `Access-Control-Allow-Origin` problem. That’s when the web browser performs a preflight test by making an `OPTIONS` request to the server to see if the actual request is safe to send.
Fix “No matching security types” VNC error on Ubuntu in 60 seconds! You’ve been googling now for a while out of frustration that you can’t connect using TightVNC Viewer on Windows to connect to your freshly installed Ubuntu 14.04 desktop. Vino VNC server used to work out of the box but the new version of […]
The AngularJS documentation is a little ambiguous about the differences between a service and factory. It doesn’t go into depth about the most common usage case for factories, and that’s how to use parameters to create new objects. I use factories so that I can inject a function into my AngularJS code that creates configured objects, and those objects hide a lot of the dependencies used by that object.