Intro to kdb+ and q | Tutorial #14 | Callbacks (*)

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Excellent series Jeffery, thank you. I'd love to see a best practice on setting up the server and moving functions from development to a prod environment.

cjlewis
Автор

I tried the last example but it did't work for me. can you please share us your screenshot?


The following is mine


on server side:
q)cub3:{0N! x*x*x}
q)worker:{[arg; callback] r:cub3 arg; (neg .z.w) (callback; r)}
q)125



on client side
q)(neg h) (`worker; 5; `continue)
q)'continue



Notice: the client side didn't print out '125'

urimandthummim