EDIT: The library has been updated with WiredTiger 2.5.1
On December 2014, MongoDB announced the acquisition of WiredTiger to use its storage engine in their database. But what is WiredTiger? Is that as good as the graph showed on their main page?
Elias Omega code is a universal code encoding positive integers developed by Peter Elias. In plain English, it is an efficient way to save and restore non-zero positive integer values on a file or a network stream.
In this post I will explain how this work and provide a .Net implementation.
Modern lossless compression schemes are based on a 2 steps pipeline:
Lossy compression, like MP3 or JPEG, adds a preliminary step where the entropy, its randomness in plain English, of the source is lowered to improve the compression ratio.
For example, let’s say that we have to create a “bible verses transmitter” which goal is to send a verse (a line) in an efficient manner. (I’m using the bible because the text is easy to find in text form and correctly formatted).
Quick and simple store procedure to get the distance from all nodes of the graph from the database created by the previous post.
The goal of the following tool is to import OpenStreetMap extract (in binary or XML format) into SQL Server as coherent geography data. For the impatient, the tool is fully automated and here is the explanation of the GUI:
WGS84 coordinates represent the geographic position on earth as two floating numbers representing the latitude (the angle between the location and the equator) and the longitude (the angle between the location and the prime meridian). The angles are always expressed in degree.
The main issue is the precision. How many decimal places are required to keep an acceptable position? Wikipedia records 6 decimal places. OpenStreetMap keeps 7.
Microsoft has released a new native API with Windows 7 for interacting (or creating) Web Services. It was creating for performance and interacting with other Web Service stacks like WCF. This API is called Windows Web Services API and, unfortunately, the documentation is quite poor.
Natural Earth is a beautiful “free” map built by many volunteers and available for free on their web site. The map is provided as a series of standard ESRI shape files and database in one large zip file. To use this map, I created a tool simple to use (but not trivial to make) that upload Natural Earth directly into SQL Server 2012:
In my last blog entry about creating a search engine from a database, I quickly dismissed Page Rank as a static set and I never explained what actually it is. So here is a longer (with bit of maths) explanation of what does it means, how to compute it and a quick reflection about it.