Forum Replies Created

Page 10 of 19
  • megan_mcp

    Administrator
    July 23, 2024 at 1:30 pm in reply to: Error showing

    Hi @bimangunarathne

    By running this line of code, you are searching for the messages.csv file in your current directory. You need to provide a file path to which your message.csv file currently sits in.

    It states in the project the location of the directory (screenshot below).

    As it is saved to variable csvPath, you can use that.

    If you have any questions, please feel free to let me know 🙂

    Thanks,

    Megan

  • megan_mcp

    Administrator
    July 22, 2024 at 3:06 pm in reply to: terminating condition for iterators

    Hi @lestat-jin

    The correct way to execute your answer would be to remove the square brackets:

    {8>count x}{x,sum -2#x}\0 1

    This is because we are looking for the dyadic form of the scan adverb ‘x f\y’. Which if I use a parse tree to explain, would look like this:

    q)-5!"{8>count x}{x,sum -2#x}\\0 1" / the correct version
    (\;{x,sum -2#x})       
    {8>count x}            
    0 1                    

    However if you use square brackets after scan, it forces it into monadic scan form, ‘x[f\y]’:

    q)-5!"{8>count x}{x,sum -2#x}\\[0 1]"
    {8>count x}
    ((\;{x,sum -2#x});0 1)

    If you have any questions on this, please let me know!

    Thanks,

    Megan

  • megan_mcp

    Administrator
    July 19, 2024 at 11:44 am in reply to: loaddata.q fails on startup

    Hi @lkragins

    This problem has been reported by another user internally so we will look in to a fix for this.

    However for now, if you want to erase this instance and start again, can I suggest that you you try closing the notebook and returning to the terminal and running:

    cd ..

    And then:

    rm -rf course-introductory-workshop

    This should remove the current instance of the course.

    To restart the project, go to the academy and launch the capstone sandbox as normal.

    Let me know if this works!

    Thanks,

    Megan

  • megan_mcp

    Administrator
    July 17, 2024 at 12:22 pm in reply to: Probable reset required for KDB Q Developer Level 3 project

    Hi @chiraggoyal23

    It is okay if I access your server to have a closer look ?

    Thanks,

    Megan

  • megan_mcp

    Administrator
    July 17, 2024 at 11:46 am in reply to: Deleted funds_ipc

    Hi @bimangunarathne

    Unfortunately, unless you have downloaded your markdown files, once you delete your workspace your work is lost in the process.

    To launch the course again, you can return to your terminal and run ./setup.sh again.

    Hope this helps.

    Thanks,

    Megan

  • megan_mcp

    Administrator
    July 16, 2024 at 5:21 pm in reply to: Inter Process Communication: code only returns : :

    Hi Joe,

    Would you be able to provide me with a few extra details about this.

    – Are you running your code in the markdown file or the scratchpad?

    – Have you experiencing this issue with the content file or the exercises file or both ?

    – Can you send a screenshot of an example of this happening?

    Many thanks,

    Megan

  • megan_mcp

    Administrator
    July 16, 2024 at 5:07 pm in reply to: Using the partition type as a parameter

    Hi @eohara_kdb

    Apologies, due to formatting issues with our editor, can I ask that you send forward a screenshot of your code instead? 🙂

    We are currently working to get this issue resolved for future questions.

    Many thanks,

    Megan

  • megan_mcp

    Administrator
    July 16, 2024 at 1:38 pm in reply to: fundamentals capstone 2.2

    Hi @akila

    Do you mind sending me your code for instRef ? This will hopefully help me better assist you.

    Thanks,

    Megan🙂

  • megan_mcp

    Administrator
    July 23, 2024 at 1:50 pm in reply to: Error showing
  • megan_mcp

    Administrator
    July 23, 2024 at 1:47 pm in reply to: Error showing

    Try replacing this part of your code:

    0: `$”:message.csv”

    With this:

    0: `$csvPath;

  • megan_mcp

    Administrator
    July 17, 2024 at 5:14 pm in reply to: Probable reset required for KDB Q Developer Level 3 project

    Hi @chiraggoyal23

    I stopped and started your server which has worked.

    It shouldn’t have erased anything but let me know if that worked.

    Many thanks,

    Megan🙂

  • megan_mcp

    Administrator
    July 17, 2024 at 1:32 pm in reply to: Probable reset required for KDB Q Developer Level 3 project

    Hi @chiraggoyal23

    So it seems you have possibly defined .z.pg on the wrong port, do you recall the last code snippet you ran ? If so, can you send it through please.

    Anything you can send that lead up to this could help.

    Many thanks,

    Megan

  • megan_mcp

    Administrator
    July 17, 2024 at 11:31 am in reply to: Inter Process Communication: code only returns : :

    Hi Joe,

    So ‘ : : ‘ is the generic null value in Q. If a function returns no value it actually returns ‘ : : ‘ .

    Take a look at the example below, when this function is passed a parameter of 4, it returns 4.

    But if we don’t pass it anything, it returns null.

    Hope this helps!

    Thanks,

    Megan

  • megan_mcp

    Administrator
    July 17, 2024 at 11:12 am in reply to: Inter Process Communication: code only returns : :

    Hi Joe,

    Can you send an example of a code snippet you are trying to run in the rendered markdown file that causes this problem ? Such as this:

    I may have to access your server to get a closer look.

    Many thanks,

    Megan

  • megan_mcp

    Administrator
    July 16, 2024 at 5:03 pm in reply to: fundamentals capstone 2.2

    You beat me to it ! Glad you got sorted 😃

    If you have any further questions, feel free to reach out.

    Thanks,

    Megan

Page 10 of 19