kdb programming challenge – Morse Code

AquaQ Admin kdb+ 7 Comments

“dit dit dit dit – dit dit” We hear this noise in films, war documentaries and even in everyday life. What is this adorable little sound of melody? Yes you are right. This is not just any random sound generated by highly skilled operator (myself) using this little clicking thingy, but THE Morse Code itself. It is just a fancy way of saying …

AquaQ Adminkdb programming challenge – Morse Code

Superbowl XLIX – data visualization using TorQ and d3.js

Matt Doherty datablog, kdb+ 3 Comments

  This weekend saw the New England Patriots face the Seattle Seahawks in the annual American sports-travaganza that is the superbowl. It was the most closely matched and exciting superbowl in years, but what does this have to do with data visualization and analytics? Sports – in particular the big American sports of baseball, basketball and football – are increasingly …

Matt DohertySuperbowl XLIX – data visualization using TorQ and d3.js

kdb programming challenge – the Morse-Thue sequence

Matt Doherty kdb+ 2 Comments

This week’s post is going to be a little different from the last few in that there won’t be one challenge, but rather a series of bite-size challenges in an attempt to tie together what we’ve done in the last three posts. First definition The Morse-Thue sequence is an infinite binary sequence that looks like 0 1 1 0 1 …

Matt Dohertykdb programming challenge – the Morse-Thue sequence

Supporting A kdb+ System: Online Training

Jonny Press kdb, kdb+, training Leave a Comment

We are pleased to announce that due to popular demand we’ve added new content to our online training course.  The additional material is on supporting a kdb+ system (something we have some experience of).  The new material covers: overview of a real time data capture architecture (kdb+tick) kdb+tick setup health checking, monitoring, support and maintenance of a data capture system on …

Jonny PressSupporting A kdb+ System: Online Training

kdb programming challenge – self similarity

Matt Doherty kdb+ 9 Comments

A self similar object is one that is exactly or approximately similar to a part of itself (i.e. the whole has the same shape as one or more of the parts). Self similarity is a central property of fractals. Many objects in the real world, such as coastlines, are statistically self-similar: parts of them show the same statistical properties at …

Matt Dohertykdb programming challenge – self similarity

Supporting kdb+ Tick

AquaQ Admin kdb, kdb+ 4 Comments

Many financial institutions use kdb+ tick to capture and store market data. The same technology stack can be used to capture, store and analyse other forms of real time streaming data including sensor data from manufacturing production lines, usage data from utility smart meters, or telemetry data from Formula 1 cars. At AquaQ we provide onsite and nearshore 24/7 support …

AquaQ AdminSupporting kdb+ Tick

Garbage Collection in kdb+

AquaQ Admin kdb, kdb+ 6 Comments

The aim of this article is give an understanding of how kdb+ uses and releases memory, and the options available to modify the behaviour. kdb+ allocates memory in powers of 2.  A vector of data will always be placed into a memory block which is the next power of two up from the raw data size (and allowing for some …

AquaQ AdminGarbage Collection in kdb+

kdb programming challenge – square-free sequences

Matt Doherty kdb+ 12 Comments

Continuing on from the number base challenge, this time around we will be looking at square-free sequences. Although they might seem a little disconnected right now, trust me there is a theme to these challenges; all will become clear in time!     In combinatorics a square-free word is any word which does not contain any subword twice in row. …

Matt Dohertykdb programming challenge – square-free sequences

kdb programming challenge – number bases

Matt Doherty kdb+ 12 Comments

In systems of numbers the radix or base is the number of unique digits or symbols that are used to represent numbers. By far the most well known and widely used is the decimal system, which uses the ten digits from 0 through 9 (largely because – much to William Shatner’s surprise – we have 10 fingers). Some other handy …

Matt Dohertykdb programming challenge – number bases

Passwords are better with salt – hashing, salting and key stretching in kdb+

AquaQ Admin kdb+ 1 Comment

Previously we have looked at substitution ciphers in q. Here hashing algorithms will be examined and how their use can help ensure password security. Password security is often a weak link in hardening systems against intrusion, as can be seen by the many reports of high profile breaches, e.g. linkedin  and sony. With 32-bit kdb+ now free for commercial or …

AquaQ AdminPasswords are better with salt – hashing, salting and key stretching in kdb+