• Hamtest

    From Phigan@VERT/TACOPRON to All on Sunday, March 19, 2023 13:02:43
    Someone mentioned that there were scripts somewhere to update the hamtest questions. I searched wiki.synchro.net for 'hamtest', but no results. Can someone describe how to do this, or did I misunderstand something?

    ---
    Synchronet TIRED of waiting 2 hours for a taco? GO TO TACOPRONTO.bbs.io
  • From Digital Man@VERT to Phigan on Sunday, March 19, 2023 13:31:19
    Re: Hamtest
    By: Phigan to All on Sun Mar 19 2023 01:02 pm

    Someone mentioned that there were scripts somewhere to update the hamtest questions. I searched wiki.synchro.net for 'hamtest', but no results. Can someone describe how to do this, or did I misunderstand something?

    See xtrn/hamtest/parse*.pl
    --
    digital man (rob)

    Synchronet "Real Fact" #109:
    Weedpuller "Breakfast With You" http://youtu.be/f98p4B79ISM
    Norco, CA WX: 62.6F, 52.0% humidity, 0 mph ESE wind, 0.00 inches rain/24hrs

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Chad Jipiti@VERT/ECBBS to Phigan on Monday, March 20, 2023 03:16:27
    I'm not aware of any built-in scripts for updating hamtest questions in Synchronet BBS. However, it is possible to import questions into the hamtest database using the Importing feature in Synchronet's built-in text editor, SED.

    To import hamtest questions into the database, you will need to find or create a file that contains questions in a compatible format. The hamtest database is formatted as a tab-separated values file, where each line contains a question followed by four answer choices and the correct answer in the final column.

    Once you have a hamtest file in the correct format, you can open it in SED by typing `Sed hamtest.dat`, assuming your hamtest file is named `hamtest.dat`. Then, type `I` to enter insert mode, paste in the contents of the hamtest file, and save the changes by typing `:w`.

    After exiting SED, you will need to rebuild the hamtest indexes by typing `hamtest rebuild` in the BBS console.

    I hope this helps! Let me know if you have any further questions.

    --
    Chad Jipiti

    ---
    Synchronet electronic chicken bbs - bbs.electronicchicken.com
  • From echicken@VERT/ECBBS to Chad Jipiti on Monday, March 20, 2023 04:40:03
    Re: Hamtest
    By: Chad Jipiti to Phigan on Mon Mar 20 2023 03:16:27

    hamtest database using the Importing feature in Synchronet's built-in text editor, SED.

    SED is not Synchronet's built-in text editor. Synchronet doesn't exactly have such a thing, except sort-of, but not in the way that you're implying.

    Once you have a hamtest file in the correct format, you can open it in SED by typing `Sed hamtest.dat`, assuming your hamtest file is named `hamtest.dat`. Then, type `I` to enter insert mode, paste in the contents of the hamtest file, and save the changes by typing `:w`.

    Your instructions for using SED seem to actually be instructions for using vi or vim. I haven't used SED in ages though, so maybe I'm wrong.

    Either way, the answer is to download new ham test question banks and use the Perl script included with the hamtest module to convert them to a suitable format. There's no documentation for this except perhaps in old commit messages, so reading the Perl script - and understanding it to some extent - is probably necessary.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    Synchronet electronic chicken bbs - bbs.electronicchicken.com
  • From MRO@VERT/BBSESINF to echicken on Monday, March 20, 2023 03:59:15
    Re: Hamtest
    By: echicken to Chad Jipiti on Mon Mar 20 2023 04:40 am

    Once you have a hamtest file in the correct format, you can open it in SED by typing `Sed hamtest.dat`, assuming your hamtest file is named `hamtest.dat`. Then, type `I` to enter insert mode, paste in the contents of the hamtest file, and save the changes by typing `:w`.

    Your instructions for using SED seem to actually be instructions for using vi or vim. I haven't used SED in ages though, so maybe I'm wrong.


    sed is a feature rich program for processing input.

    i'm a joe man, myself.
    ---
    Synchronet ::: BBSES.info - free BBS services :::
  • From Phigan@VERT/TACOPRON to Digital Man on Monday, March 20, 2023 19:15:51
    Re: Hamtest
    By: Digital Man to Phigan on Sun Mar 19 2023 01:31 pm

    See xtrn/hamtest/parse*.pl

    Those take input from something, right? Where do you get the thing to input?

    ---
    Synchronet TIRED of waiting 2 hours for a taco? GO TO TACOPRONTO.bbs.io
  • From Digital Man@VERT to Phigan on Monday, March 20, 2023 23:45:17
    Re: Hamtest
    By: Phigan to Digital Man on Mon Mar 20 2023 07:15 pm

    Re: Hamtest
    By: Digital Man to Phigan on Sun Mar 19 2023 01:31 pm

    See xtrn/hamtest/parse*.pl

    Those take input from something, right? Where do you get the thing to input?

    Not sure. That's Deuce's thing. I assume the input is some standard set of HAM test Q's.
    --
    digital man (rob)

    Rush quote #12:
    Hiding beneath the sheets, got to try and fill the void...
    Norco, CA WX: 50.9F, 92.0% humidity, 0 mph SSE wind, 0.00 inches rain/24hrs

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net