Skip to content

Big Memory & Kdb+ Coding Competition with a Great Prize.

Photo of Tomas Tauber
Hosted By
Tomas T.
Big Memory & Kdb+ Coding Competition with a Great Prize.

Details

For this event we have have two interesting speakers -

Dave Thomas and Nick Psaris.

Dave Thomas davethomas.net (http://www.davethomas.net/index.html)

http://photos3.meetupstatic.com/photos/event/1/2/f/8/600_437584856.jpeg

Big Memory

Technology gurus predict that by 2017/2018 we’ll have computers with 10 terabytes of non-volatile memory. This talk will explore the disruptive impact of massive amounts of memory and try to answer the following questions:

• What are the potential benefits and costs of all this free and persistent memory?

• Will we have database or file systems or transaction read/write sets or Java style garbage collection?

• What happens to application architectures and development in the huge memory world?

• How can large memory make development better and execution faster?

Nick Psaris https://github.com/psaris

Nick Psaris is the author of the recently published Q Tips: Fast, Scalable and Maintainable Kdb+ (http://www.amazon.com/Tips-Fast-Scalable-Maintainable-Kdb/dp/9881389909) available via Amazon.com (Available in Paperback and Kindle)

http://photos2.meetupstatic.com/photos/event/1/2/7/2/600_437584722.jpeg

Nick will give a live code demonstration on how to use functional programming techniques to create histograms.

(This is also covered in Chapter 17 of his book (http://www.amazon.com/gp/product/9881389909/ref=s9_simh_gw_p14_d5_i1?pf_rd_m=ATVPDKIKX0DER&pf_rd_s=desktop-1&pf_rd_r=0YNJET7JF2KAY9JJ5TXF&pf_rd_t=36701&pf_rd_p=2079475242&pf_rd_i=desktop);
Advanced Techniques; 17.3 Histograms

Winner

The winner of the Kdb+ coding competition will be revealed.

Kdb+ Coding Competition Details

The code with the fastest time will be the winner.

It should be quite obvious; 'efficient' means performance.

In q, that is typically equivalent to the shortest code (but not in this case - it turns out).

The performance will be measured with the '\ts' system command.

Submission Deadline

Midnight HKT, Monday, 1st June 2015.

Submit your code to qtips@vector-sigma.com or by direct message to Nick's Meetup profile.

https://www.meetup.com/HK-Functional-programming/members/187395639/

The PRIZE is a paperback copy of Nick's book - " Q Tips" (http://www.amazon.com/gp/product/9881389909/ref=s9_simh_gw_p14_d5_i1?pf_rd_m=ATVPDKIKX0DER&pf_rd_s=desktop-1&pf_rd_r=0YNJET7JF2KAY9JJ5TXF&pf_rd_t=36701&pf_rd_p=2079475242&pf_rd_i=desktop) - This prize has been generously sponsored by First Derivatives (http://www.firstderivatives.com/index.html)

Competition Details

http://keatonchan.blogspot.hk/2009/08/hkid-check-digit-calculation-algorithm.html

Download kdb+ at this link

http://kx.com/software-download.php

Using the HKIDs from the above page, Nick will confirm correctness:

q)ids:("B123456";"A182361";"CA182361";"AB123456";"ZA182361";"AZ182361";"XZ182361";"ZX182361";"XX182361")
q)"651936862"~hkidcheck each ids
1b

to time the function i will use the '\ts' system command:

q)\ts:1000 hkidcheck each ids
45 784

Preparation:

• Come with 32bit kdb+ installed - and you can follow along with the demonstration and try out code for yourself.

DOWNLOAD 32 bit kdb+ (http://kx.com/software-download.php) (Free, fully-functional version)

Resources:

Kx wiki : code.kx.com (http://code.kx.com/wiki/Main_Page)

Kx user contributions on GitHub : kxsystems.github.io (http://kxsystems.github.io/)

Kdb+ Google Group: An open Google discussion group (https://groups.google.com/forum/?fromgroups#!forum/personal-kdbplus) for users of the Personal Developer edition of kdb+.

Drinks, canapés and venue are generously sponsored by First Derivatives (http://www.firstderivatives.com/index.html)

http://photos3.meetupstatic.com/photos/event/1/5/e/7/600_437585607.jpeg

Photo of Hong Kong Functional Programming Group group
Hong Kong Functional Programming Group
See more events
Rockabilly
12, Lan Kwai Fong, Central · Hong Kong