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

Forum Posts

How can i make this function faster and without "do"?

I'm trying to create a function that reads one string or a vector of strings from a vector of bytes and also return where it stopped reading in the file:/The first byte of a string is the length of the string./When its a vector,the first 3 bytes have...

Reading server-sent events from HTTP request

Hello,A broker I want to integrate has their tick system sending prices using an event stream (see: https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Sending_events_from_the_server ). It is a long running HT...

Clu by New Contributor
  • 2588 Views
  • 7 replies
  • 0 kudos

Creating a function in Q

Hi all,I am trying to create a function in Q. For this purpose, I created a function in a text editor and then I tried to paste the code in the Q prompt.I am not sure what mistake I am doing but Q returns with some error.Even when I try to type the f...

N_V by New Contributor
  • 3387 Views
  • 10 replies
  • 0 kudos

No append to zipped enums error

Hello All, I am trying to store a compressed enumerated column using v3.3 but getting a "no append to zipped enums" error. Is there a way around this?Thanks

Read after mkfifo

mkfifo fifoseq 1000 > fifoCan kdb read from it? Do read0 and read1 work? Thx.

LamHinYan by New Contributor
  • 3559 Views
  • 15 replies
  • 0 kudos