Programming

Accessing Dictionary API Using Lisp

Written by on May 7, 2017 in LISP, Programming with 0 Comments

A few days ago when I was searching for good online dictionaries, I stumbled upon Oxford Dictionary API for developers. I decided to check it out and registered for a free account. This allows me to make 3000 API calls in a month. Since I am not planning to use this service commercially, that limit […]

Continue Reading

Accessing Azure Tables in Lisp

Written by on April 23, 2017 in LISP, Programming with 0 Comments
Accessing Azure Tables in Lisp

In the previous post, we saw how to use cl-azure to access Azure storage, in particular, BLOBs. Today we will experiment with Tables. The following operations are currently supported by the library: – Create a new table – List all the tables available – Add rows to a table – List the contents of a table […]

Continue Reading

Accessing Azure BLOBs in Lisp

Written by on April 8, 2017 in LISP, Programming with 0 Comments
Accessing Azure BLOBs in Lisp

Recently I was looking for a Common Lisp library for accessing Azure services. Azure has official SDKs in many languages, but Lisp is not one of them. Quite understandable and I have no complaints. Because the services are all exposed via REST interfaces, it should not be difficult to implement a Lisp wrapper to use […]

Continue Reading

Multi-value Return in C# 7.0

Written by on February 3, 2017 in Programming with 0 Comments
Multi-value Return in C# 7.0

One of the nice language enhancements to C# in the latest release (7.0) is the ability to return multiple values from a function. Although one could use Tuples for this purpose, it is not an elegant or efficient approach. For more details, see this article. By the way, returning multiple values from a function is […]

Continue Reading

Checking Image Overlap with Mathematica – Part 3

Written by on January 16, 2017 in Image Processing, Mathematica, Programming with 0 Comments
Checking Image Overlap with Mathematica – Part 3

This is the  third and the last in the series of articles on checking image overlap using Mathematica. Let us take a quick look at the images that we are using as samples (image1 and image3 in the first row, image3 and image4 in the second row): The first technique we will consider today is […]

Continue Reading

Checking Image Overlap with Mathematica – Part 2

Written by on December 25, 2016 in Image Processing, Mathematica, Programming with 0 Comments
Checking Image Overlap with Mathematica – Part 2

In the previous post, we discussed one technique to check the overlap between two given images of equal dimensions. In today’s post, let us look at another idea that uses Mathematica’s ImageCorrespondingPoints function. As per the documentation, the ImageCorrespondingPoints function finds a set of matching interest points between two given images and returns their coordinates. Internally […]

Continue Reading

Working with Linguistic Data in Mathematica

Written by on November 2, 2016 in Mathematica, Programming with 0 Comments
Working with Linguistic Data in Mathematica

There are many interesting functions in Mathematica for working with language data, not just in English but in many other languages too. The DictionaryLookup[] function is a good starting point. Let us see what languages are supported as part of dictionary lookup: That is a good collection. It is nice to see that our National […]

Continue Reading

Torch7 and Neural Networks

Written by on October 18, 2016 in Machine Learning, Programming with 0 Comments
Torch7 and Neural Networks

This week I wanted to experiment with Torch7, a popular Machine Learning framework implemented in C/LuaJIT. Seamless CUDA support is another plus point in favour of Torch7. I downloaded and installed Torch7 and related packages, as described here. It is important to also install cunn and cutorch packages if you need CUDA support. In my case, I […]

Continue Reading

Cloud Computing with Mathematica

Written by on October 11, 2016 in Mathematica, Programming with 1 Comment
Cloud Computing with Mathematica

Mathematica provides excellent support for cloud computation, and most of the time, it is a very simple and intuitive process. Today, let us look at some examples of cloud deployment. For using Mathematica’s cloud capabilities, you need an appropriate subscription. I use Mathematica Desktop, which comes with some free cloud credits. OK, let us get […]

Continue Reading

Computer Vision with Mathematica

Written by on September 26, 2016 in Machine Learning, Mathematica, Programming with 0 Comments
Computer Vision with Mathematica

Over the past several weeks, I have been discussing many interesting features of Mathematica. As a continuation, today, I would like to show some cool functionality in the domain of computer vision and machine learning. The function ImageIdentify[] tries to identify the object in the given image. According to the documentation, Mathematica knows about more […]

Continue Reading

Top