Jewish Calendrical calculations

A well-known mnemonic for calculating days of the week is the Calendar Atbash. An Atbash is a simple cypher where the first letter of the alphabet is replaced by the last, the second by the next to last, and so on. Thus Aleph is replaced by Tof, Beth by Shin […]

About C++ 11

C++ is a very popular language and after 30 years, it’s still widely considered a best choice for many types of projects, including large scale systems and applications coding. If you consider the layers of technology in a computer system as a stack, C++ is used to write code at […]

Best practices in designing RESTful APIs

An affordance is a quality of an object, or an environment, which allows a user to perform an action. You can follow these steps: Identify stakeholders Identify activities Break activities into steps Create API definitions Validate API The following questions should be asked: Can resources exist one without the other? […]

How to set AWS Command Line Interface

pip install awscli Usage The AWS Command Line Interface User Guide walks you through installing and configuring the tool. After that, you can begin making calls to your AWS services from the command line. $ aws ec2 describe-instances … $ aws ec2 start-instances –instance-ids i-1348636c … $ aws sns publish […]

Using Knockout.js with PHP: Best Practices

I recently had a project that made me temporarily shift from my more native c#/ environment and use php on the backend instead. As by more and more developers these days I have become accustomed to doing just about everything in the front end with the JavaScript library Knockout. […]


Knockout.js released by Steve Sanderson in summer of 2010. Although Steve works for Microsoft the decision to release knockout.js as an open source project was right. It is a standalone javascript library relying on MVVM and Observable patterns. The key principles of knockout.js are: * a clear separation between domain […]

Installing CUDA Toolkit 5.0

Installing CUDA Toolkit 5.0 on Ubuntu 11.10 Linux The following explains how to install CUDA Toolkit 5.0 on 64-bit Ubuntu 11.10 Linux. I have tested it on a desktop with AMD Phenom II X4 CPU, 4GB RAM, 1TB hard drive, 800W power supply, and NVIDIA GeForce GTX 650 graphics card. […]

Loading Select Drop Down Options using Ajax and Knockout.js

The following shows how to use the knockout options binding when loading the option values from the server with AJAX. In the following HTML the select box requires 4 bindings. The options binding specifies which variable in the Knockout ViewModel is used to generate the options. The optionsText specifies the […]

How to configure SQL Server 2012 Express to allow remote connections

INTRODUCTION When you try to connect to an instance of Microsoft SQL Server 2012 Express from a remote computer, you might receive an error message. This problem might occur when you use any program to connect to SQL Server. For example, you receive the following error message when you use […]