Forum Replies Created

  • kovacsi

    Member
    March 20, 2022 at 12:00 am in reply to: How to write data into table from python to kdb+ on Refinery?

    Thanks David

    I have to understand how to  make it active on background every 300 milliseconds.

    my inquiry is more for integrating python udf as a call-back / event handler to timer tick.

    Actually I have to connect a consistent data source to kdb+ , using python. I have

    python programs to get data from data sources but don’t know how to:

    1. use an event handler to accept the data and push it to a kdb+ refinery data base.

    2. setup multiple sources to update the same data base and write it to HDB at end of day.

     

    do you know how to do it?

    Thanks

    Ori

  • kovacsi

    Member
    February 15, 2022 at 12:00 am in reply to: embedPy inside q (kdb+) process fails to import a module

    Thanks Rian

    I am already in contact with Michael on this issue.

    He is busy with other things so I try to resolve problem myself.

    Will try to insert the url, will you be able to help me debug this problem?

    I’m  stack with it since last week….

    Ori

  • kovacsi

    Member
    February 14, 2022 at 12:00 am in reply to: embedPy inside q (kdb+) process fails to import a module

    Thanks David

    Do you know how to debug such cases? I try to display contents

    of the python library and understand what is the problem there,

    I can’t get it working the output is not clear and I can’t understand

    whet is the problem?

    Ori

  • Hi Laura

    I modified the table to csv format, yet I get very strange results when uploading.

    (In private…. I can’t share the data)

    can you ask one of your support team to contact me? I need support to understand

    how to do it.

     

    Thanks

    Ori

  • Hi Laura

    Thanks but it did not help me.

    I have an excel file xslx with data (multiple tables) I couldn’t upload it to my workspace.

    what is the fastest way to get it done?

    thanks

    Ori

  • Thanks Laura

    I search for an answer without a repository. Is there a project without any repository option?

    I need the developer only on my local computer and don’t want to waste time on git handling…

    Thanks

    Ori

  • kovacsi

    Member
    December 16, 2021 at 12:00 am in reply to: how to print debug or view message whenever a message arrive on q kdb+

    Thanks managed to print to console.

     

  • I advanced and has partial advance  I made with my own question:

    I installed vcpkg arrow on the following folder

    my kdb+ bin folder is C:workKXdbkdbw64
    my vcpkg folder is C:workKXdbvcpkginstallvcpkginstalledx64-windowsbin
    in order that arrowkdb.dll library can load copy all the dlls to kdbw64
    
    arrow.dll
    boost_atomic-vc141-mt-x64-1_77.dll
    boost_chrono-vc141-mt-x64-1_77.dll
    boost_container-vc141-mt-x64-1_77.dll
    boost_date_time-vc141-mt-x64-1_77.dll
    boost_filesystem-vc141-mt-x64-1_77.dll
    boost_locale-vc141-mt-x64-1_77.dll
    boost_math_c99-vc141-mt-x64-1_77.dll
    boost_math_c99f-vc141-mt-x64-1_77.dll
    boost_math_c99l-vc141-mt-x64-1_77.dll
    boost_math_tr1-vc141-mt-x64-1_77.dll
    boost_math_tr1f-vc141-mt-x64-1_77.dll
    boost_math_tr1l-vc141-mt-x64-1_77.dll
    boost_random-vc141-mt-x64-1_77.dll
    boost_regex-vc141-mt-x64-1_77.dll
    boost_system-vc141-mt-x64-1_77.dll
    boost_thread-vc141-mt-x64-1_77.dll
    brotlicommon.dll
    brotlidec.dll
    brotlienc.dll
    bz2.dll
    c_rehash.pl
    event.dll
    event_core.dll
    event_extra.dll
    gflags.dll
    glog.dll
    libcrypto-1_1-x64.dll
    libssl-1_1-x64.dll
    lz4.dll
    parquet.dll
    re2.dll
    snappy.dll
    utf8proc.dll
    zlib1.dll
    zstd.dll

    now launch q (kdb+ console from C:workKXdbkdbw64>)

    C:workKXdbkdbw64>q -p 9090
    
    KDB+ 4.0 2021.07.12 Copyright (C) 1993-2021 Kx Systems
    w64/ 16(16)core 16160MB ori kovacsi katz desktop-5s9po4j 172.25.16.1 EXPIRE 2022.12.02 okatz@makor-capital.com KOD #5006731
    
    q)cd ..
    
    q)))l ./arrowkdb.q
    q))).arrowkdb.dt.na[]
    1i
    q))).arrowkdb.dt.printDatatype[.arrowkdb.dt.na[]]
    null
    q)))

     

    now it works .

    Yet I try to load it on KX developer to visually see the tables contents

    how to set up visual workspace for this setup???

    Thanks

    Ori

     

     

     

     

  • hi rocuinneagain

    Thanks for the link.  it gave me a hint about using the q script to init connection.

    I try to do something totally different. my goal is to create “software” type solace instance

    on my local machine (windows 10 x64).  I installed docker instance of solace.

    how can I find the connection parameters described on the white paper (Messaging), see attached screenshot – the UI when I surf to my docker software solace page.

  • Thanks Leah

    I asked the same questions on Solace community and got instructions to use

    it on a separate instance ( Docker or virtual or cloud ).

    I will install docker desktop and attempt to deploy solace pubsub+ broker.

    Do you know if from architectural point of view it is possible to operate

    when host computer has the Kdb installation and deployment , and only

    the broker is on virtual / container instance? or should I install Kdb+ as well

    on docker container?

     

    Thanks

    Ori