#### LATEST ARTICLES

### Crypto: Naive Encryption

No theory in here. Just some code to encrypt a string.
Problem:
Suppose you are told that the one time pad encryption of the message "attack...

### Scala: Sum And Max In a List

So I am finally trying to learn Scala. It's fun, and also very different to the programming paradigm I am used to. But you only...

### Amazon AWS: Hive, EMR and DynamoDb

Amazon AWS has created an awesome ecosystem of tools to do a variety of tasks. Unfortunately, their error reporting leaves a lot to be desired...

### Cryptic Errors: AWS EDP – Failed To Complete EMR Transform

The Elastic Data Pipeline (EDP) offered by Amazon Web Services (AWS) is an easy to use tool to automate data processing. You can create...

### Parse Json in Hive Using Hive JSON Serde

In an earlier post I wrote a custom UDF to read JSON into my table. Since then I have also learnt about and used the Hive-JSON-Serde....

### Writing UDF To Parse JSON In Hive

Sometimes we need to perform data transformation in ways too complicated for SQL (even with the Custom UDF's provided by hive). Let's take JSON...

### Malazan: Warrens and Deck of Dragons

No spoilers here.
Right from the first book you keep hearing about the Warrens and the Deck of Dragons and you try to make up...

### Project Euler 89: Roman Numerals

Problem:
The rules for writing Roman numerals all for many ways of writing each number (see About Roman Numerals ...). However, there is always a...

### Project Euler: Problem 102 – Triangle Containment

Problem:
Three distinct points are plotted at random on a Cartesian plane, for which -1000 leq x, y leq 1000, such that a triangle is...

### Project Euler: Problem 206 – Concealed Square

Problem:
Find the unique positive integer whose square has the form 1_2_3_4_5_6_7_8_9_0, where each '_' is a single digit.
Solution:
This one was easy. The maximum number...