kdb+ and q
Q+A on all things kdb+ database and the q language
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

kdb interface c, example

Hi I was following the tutorial of kdb-c-api-exmaple http://www.timestored.com/kdb-guides/kdb-c-api-example. First I setup the tickerplant as http://code.kx.com/wiki/Startingkdbplus/tick#6.5_Running_the_Demo. Then I use the example c client subscribe...

mcnmcn773 by New Contributor
  • 4 replies
  • 0 kudos

callback for shared library feedhandler

Hello,I trying to write a basic shared library feedhandler, but as a C novice,I'm struggling to understand the use of sd1() with a callback.Say I have a q function defined in my main thread:upd:{insert[`quotes;x]}If I were just sending data to a remo...

rank question

1. Isn't rank of an atom 0, a simple list 1 and "2 3 #til 6" 2. 2. in x?y the rank of y should be 1 less than x (I call it the rank rule). 3. I believe I have identified the x and y in the following statement correctly as x being "2 3" and y being "2...

antijoin or set intersection

I would like to perform something like an antijoin or set difference but I am not sure how to go about doing so.The goal being a table where the keys from table B are excluded from table A.Consider the following tablesA: ([ person: 1 1 1 2 2 2 3 3 3;...