Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - martinp

#1
Programming / Re: Claude and pvxplus
October 18, 2026, 01:05:19 PM
oops added 2nd msg by mistake
#2
Programming / Re: Claude and pvxplus
October 18, 2026, 01:03:35 PM
This never ends,

I integrated claude to our linux server and it made its own system to convert text to pvxplus was hilarious how fast it figured it out, after it did that I said wait we already do this with our existing SVN routine, and it then saw how it worked, saw it uses the *plus/proj/pxprg and it really liked that, then later it saw pxp has the "pxpnl" routine which builds panels from text and it basically suddenly knew how to make panels...

This was all it took for it to learn how to make them, it may have also looked at at my repository of test panels already from the repository, not sure.

"Build panel export/import/merge tools for NOMADS libraries, using *plus/proj/pxpnl to_cvs/to_app, following the same safety rules as the program tools (to_app only on a copy, re-export and  compare, backup, atomic rename). Test the full round trip on a scratch copy of a small library first. Nothing touches /artcraft until I approve."

After With this simple prompt:

"create a test library with 4 buttons two listboxes some multilines and just a sample program, read a data file just to populate the listbox using the data file "/artcraft/1/data/mcempl"  the second listbox can just be random numbers loaded with a test button"

It came up with this test panel, all by itself, incredible.  It even learned how I wrote some of the pre/post stuff all by itself.. 

I imagine you could even go the other way, have it read through pvx panels/code and build you an entire system like in web or some other language... Shock and awe..

More reading into this I see developers are not even using IDE's anymore, everything is terminal driven... 
#3
Programming / Re: Claude and pvxplus
October 05, 2026, 12:42:06 PM
Awesome this is so exciting..

Hah I've become a copy paste and middle man conductor at the moment :)

PS.  Stephane yeah good idea!
#4
Programming / Re: Claude and pvxplus
October 04, 2026, 09:59:42 AM
Yeah that's another good use for it.

Just over weekend I had it develop an entire payroll vacation accrual system that imports data from Dayforce.  It's not able to make nomads panels but it gave me a concept drawing which it understood how nomads panels work and just made each called routine perfectly.

- Helped develop the pvxplus data structure for the entire project
- Created an import routine to extract data from PDF reports
- Created modularized pvxplus calls to each routine
- Created a front end to view the data / edit entries
- Export to pvxplus excel object  (I just gave it the docs for *obj/excel)

What would have taken weeks was done in 2 days.  Not to mention just the PDF extraction tool it wrote in python for our linux server.. So that now runs free on the clients server.

Each pvxplus line of code was done by it and after a few corrections ie (X++ not LET X++, and passing params into "process" request as strings ) it knew what it was doing so well.

It knows to modularize everything so it uses calls and I just had to teach it to pass parameters as strings to the process for the panels, for some of the child windows but I am not kidding it knew everything and how thorough it checks it work is mind blowing.

I think the future of coding will be more of a "director/manager/conductor?" this proved it to me 100%
#5
Language / Re: Redirecting Standard Error
October 02, 2026, 10:38:01 PM
Try passing it through CMD and see if it works.

CMD$="cmd.exe /c ""c:\python\python.exe"" ""c:\script\send_email.py"" ""c:\args\args_file.json"" 2> ""c:\errors\error_file.err"""
#6
Programming / Claude and pvxplus
October 01, 2026, 07:21:34 PM
I started using claude for programming and I am blown away... Seriously I think we may never code again LOL.

I am surprised how well Claude is getting to write pvxplus stuff and when it's confused I cut/paste some documentation and boom it cleans it up. 

Not sure if you have considered using it but it's fantastic, even if just for planning projects. 

Can feed claude a bunch of data dictionary structures, to train your session.

I even gave it some 30 year old legacy code to clean up and it helped do that..

It's unbelievable with excel/csv/pdf's... I now started having it make python routines that can be run on the local server then integrated with pvxplus.

I havent tried it to make nomads panels dont think it can maybe if it reverse engineered the structures of some existing panels..

Just now I was finishing a project outline, after completing the data dictionaries (it made the tables based on our outlines) it asked me, so do you want me to work on the import program next?  I said yes, and within seconds I had a working program...

Anyway just wanted to show and tell, LOL
#7
Web Services / Re: Custom content for http error responses
September 21, 2026, 10:09:29 AM
Quote from: Mike King on March 10, 2021, 10:20:15 AMDirk

Just an FWIW: In PxPlus 2021 due in May we have added a new global variable %Exit_include_html which you can set when you set %Exit_code to indicate you want the output you have placed in %PRINT_FN to be used along with the status code; something like this:

[tt]  json$["errors.1.status"]="400"
  json$["errors.1.code"]="4077"
  json$["errors.1.title"]="INVALID FORMAT"
  json$["errors.1.detail"]="invalid query paramete"
  json$["errors.1.source.parameter"]="date"
  json$["errors.1.source.example"]="2019-03-09"
!
  %content_type$="application/json"
  Write Record (%print_fn) DIM(LIST EDIT json${ALL})
!
  %exit_code=400
  %exit_include_html=1
[/tt]


We have this exact program setup on at https://www.pvxplus.com/march10.pxp so you can see the output which was based on the desired output that originally started this thread.

As for other REST style services our web services, available since PxPlus 2014, can be used to provide charts, reports, lists, and other data on demand -- suitable for use with JavaScript or other applications.  For details see:  https://manual.pvxplus.com/page/PxPlus%20Web%20Services.htm



Hey Mike:)  Just testing this everythings working except my pvxplus web server (not ezweb/apache) does not return the content_Type "application/json" when I use LET %EXIT_INCLUDE_HTML=1  it reverts back to "Text/Html" not end of world.

#8
OK SUCCESS!!  Thank you.

It started working after I rebooted :)  I tried a second computer and it worked.

Thank you for your help.  I think the key missing component was:

Port needs 22 for SSH

After all that testing I rebooted and it seemed to solve it, I also tested on a second computer also worked!! Thanks

If you could just modify the document to say include port for SSH (Ex 22 next to the simple client thing)

as well: "The remote path of PxPlus on the WindX host (ignored unless Using WindX is set to SSH"

Path sounds like the root dir not including exe itself

Thanks for the help!!
#9
Here's another screen grab
#10
Hey I sure can here's the pics
#11
Set that, same response just spinning and line going across tab bars.

{
    "usingWindx": "SSH",
    "windx.server": "10.1.16.42",
    "windxSsh.user": "palenik",
    "windxSsh.pxplusPath": "/home/palenik/pxp23/pxplus",
    "pxplusPath": "C:\\PVX Plus Technologies\\WindX Plugin-64 2026\\",
    "compiledFileExtension": ".pxp",
    "workbench.editorAssociations": {
        "*.pxp": "default"
    },
    "textProgramFileExtensions": [
        ".pxprg",
        ".pxp"
    ],
    "windx.port": 22
}

#12
Ok, Adding port 22 (#3) may have been part of issue, I got some action but its just spinning now.

{
    "usingWindx": "SSH",
    "windx.server": "10.1.16.42",
    "windxSsh.user": "palenik",
    "windxSsh.pxplusPath": "/home/palenik/pxp23",
    "pxplusPath": "C:\\PVX Plus Technologies\\WindX Plugin-64 2026\\",
    "compiledFileExtension": ".pxp",
    "workbench.editorAssociations": {
        "*.pxp": "default"
    },
    "textProgramFileExtensions": [
        ".pxprg",
        ".pxp"
    ],
    "windx.port": 22
}

#13
ok a text file can open with formatting.

A compiled says unable to find execute activated pxplus.

but still cannot create new.
#14
Hey thanks,

Trying to open a compiled it says its binary and wont open

A text file opens but doesnt seem to do any formatting




#15
Visual Studio Code - Validation with SSH / Windx

I just can't get this to work on my linux machine.
When I "Create a file" It just does nothing empty no response.

PS.  I am using a temp activated pvx 2026 server, on the linux machine with windx plugin 2026 as a test.