Recently, I heard a phrase that calculus is the universal language of change, and I found it so accurate. Here is my feeble attempt at proving that the formula for making nominal changes to parameters for arriving at the best fit for a model using gradient descent is the same, whether it is logistic regression […]
Developing IT operations for cloud environment
Lets take a break from developing Virtual Queues in Scala and talk about something else. A while back a friend of mine asked me how an organization should go about handling their IT operations if they decide to move on to the cloud. This got me thinking. Developing a Cloud Operations plan is not an […]
… and Android
As promised in the last blog we are not going to leave Android devices from accessing and getting on our virtual queues. After all Android powered smart phones/tablets are gaining popularity and market share. So without further ado lets get right to it. Creating the UI As with the iOS devices, we are going to […]
On to iDevices
Happy New Year everyone! Hope you all had wonderful Holidays! We are going to begin this new year by finally putting the iOS interface together. To recap, we have the building blocks for our Virtual Queues in place. We have a web service that can be used to request tokens, we also have an open […]
Preparing for the Mobile World – Part II
Continuing with our effort to open up queues for mobile devices, we need to make one more modification to the server before we code the actual mobile interface either on the iOS or on Android. We have a Socket open on the server already that will be used for real time queue status updates to […]
Preparing for the Mobile World
So we have a web interface for our Virtual Queues. That’s a good start, but to make the queues really useful, they need to be available from anywhere. With the flooding of smart phone and tablets in the market, we need to open our queues up for use from these devices. If you are in […]
Lift it to the web
We have the beginnings for our Virtual Queues. We have the concept of a Token and a Dispenser of tokens. We have made these thread safe so we are guaranteed that everyone requesting a token gets a unique one. At this point we can create a simple web interface on top of the token dispenser […]
Tokens and TokenDispenser
The NumberDispenser developed so far is a generic object that dispenses numbers. In and of itself, it does not relate directly to the problem at hand. We need to encapsulate it as part of domain objects that are more natural for the Virtual Queuing application that we are developing. In today’s blog we will introduce […]
Thread Safe Number Dispenser
The NumberDispenser class that we introduced in the previous blogs works fine for a single thread. However, if multiple threads start requesting for numbers, there is a possibility that two threads might get the same number. The problem is that while a thread is in the dispense method it might be preempted right after it […]
Stream of numbers
In the previous blog we created a NumberDispenser class that dispenses numbers to its clients. It has a counter that keeps track of the next number to dispense. In this blog we will explore an alternate mechanism for handing out these numbers. The idea of this blog is to learn the Scala language and although […]
