Nim 1.6.10 released

2022-11-28 Thread JPLRouge
[soleil@Z600 ~]$ choosenim update stable could not import: SSL_get_peer_certificate

How to get cursor position?

2022-09-21 Thread JPLRouge
[full proc](https://github.com/AS400JPLPC/nim_termkey)

Bindings for imtui

2022-09-09 Thread JPLRouge
hello, interesting, but uses ncurses AINSi, while UTF8 ??? look cross-platform notcurses nim-notcurses on git

Which SQLite lib?

2022-08-11 Thread JPLRouge
Is there any progress on this problem. Should I take tiny_sqlite thank

Illegal storage access

2022-07-24 Thread JPLRouge
Yesterday I also had a compilation message with version 1.6.6 it could no longer compile even a small example. I reloaded 1.6.4 everything worked perfectly. I deleted 1.6.6 then reloaded everything is back to normal. etc... I had reported the issue, but deleted it thinking it was mine.

problème db_sqlite 1.6.6 ??

2022-07-23 Thread JPLRouge
source : import db_sqlite compile : `/home/soleil/.choosenim/toolchains/nim-1.6.6/lib/impure/db_sqlite.nim(731, 61) template/generic instantiation of `since` from here` `/home/soleil/.choosenim/toolchains/nim-1.6.6/lib/impure/db_sqlite.nim(732, 7) Error: type mismatch: got `

Announce: at, a tool to run code later

2022-06-13 Thread JPLRouge
I feel like it's cron, am I wrong!!!. except that we have the total hand in nim. ;)

Nim v2: what would you change?

2022-05-20 Thread JPLRouge
Hello, will types like uchar ... be scanned and removed in version 2 , because currently there is a "deprecated" alert (ok no problem I take and I rectify) but when I go to the source ex: termios I see that uchar is still there

Nim 1.6.6 release candidate

2022-05-03 Thread JPLRouge
@miran testing OK

Nim 1.6.6 release candidate

2022-05-02 Thread JPLRouge
@miran > Error: Build failed > >> ... cmd: ./koch boot -d:release --skipUserCfg --skipParentCfg --hints:off >> ... iteration: 1 ... bin/nim c --skipUserCfg --skipParentCfg >> -d:nimKochBootstrap --nimcache:nimcache/r_linux_amd64 -d:release >> --skipUserCfg --skipParentCfg --hints:off --compileO

Nim v2: what would you change?

2022-05-01 Thread JPLRouge
it's my little problem to do management. Decimal with fixed lengths initialization of variables when they are declared thong with fixed lengths As for the rest, although I make nim my No. 1 language, I haven't ingested everything? so ... and if nim had its own GUI it wouldn't be a bad thing

link with a kernel32.lib proc and function

2022-04-28 Thread JPLRouge
Hello, I used this solution, because it is more complete under PowerShell. proc SetConsoleCtrlHandler(x:proc ; ok : WINBOOL) : WINBOOL {.stdcall, dynlib: "kernel32", importc: "SetConsoleCtrlHandler".} proc CtrlHandler(fdwCtrlType :DWORD) :WINBOOL = const CTRL_C

link with a kernel32.lib proc and function

2022-04-23 Thread JPLRouge
hello is it translatable in NIM SetConsoleCtrlHandler Kernel32.lib the SetConsoleCtrlHandler(CtrlHandler, TRUE) until then it's ok but this part there BOOL WINAPI CtrlHandler(DWORD fdwCtrlType) can i do proc CtrlHandler(DWORD fdwCtrlType): BOOL= in fact will nim know how to make the connectio

my TUI designer.

2022-04-09 Thread JPLRouge
**stable TUI :** _My last tests aimed to make it function like on the OS400, as well as having the same simplicity and additional functions._ images for example in the PROJECT folder Reading the code is simple: we only deal with data management, screens and fields the grid ect is managed automa

my TUI designer.

2022-04-07 Thread JPLRouge
hello Upcoming treatment. Additional function: ioFmt(PANEL,GRID) in order to process a form more easily. REFLECTION: see if we can integrate the selection of a line of the GRID I'm still in testing the project is evolving... but already usable

my TUI designer.

2022-04-07 Thread JPLRouge
Hello, TUI a complete example a complete project with database, multi-window, paging combo treatment grid form call program address book

Impure libraries ???

2022-04-06 Thread JPLRouge
hello, how can we see what V2 will be please for example for sqlite

Impure libraries ???

2022-04-05 Thread JPLRouge
hello, does this mean that the Impure libraries will be deleted or obsolete and that wrappers must be used, example: sqlite. thank you

my TUI designer.

2022-03-28 Thread JPLRouge
There was no TUI like Tvision or Delphi, ncurse is fine, it doesn't offer a designer, but it doesn't save windows, it's not all written in nim. I wanted it to be UTF8, describe the masks, generate the structured code, save the masks to resume if needed. work in a terminal, or in a program compil

my TUI designer.

2022-03-27 Thread JPLRouge
the reame has been reviewed from top to bottom a video tutorial tests on small screens are operational

my TUI designer.

2022-03-24 Thread JPLRouge
UTF8 only Linux sorry

my TUI designer.

2022-03-23 Thread JPLRouge
I'm going to ask on discord french I have someone who made me a proposal.

my TUI designer.

2022-03-22 Thread JPLRouge
hello: I just finished my TUI designer. (LINUX) it is free and free. This demonstrates that we can go very far with "pure Nim" certainly not perfect, but does its job and relieves you from writing repetitive code.

Using arc with C types?

2022-03-14 Thread JPLRouge
Merci . I have to build something to keep some posts that are goldmines. Like what to read gives ideas.

Blog post: Binding Nim to C++ std::list

2022-03-14 Thread JPLRouge
Brilliant, it opened doors for me.

Fidget UI: animation using Nim async

2022-03-12 Thread JPLRouge
Hello, I would like to see an example with a grid

Dear Nim enthusiasts

2022-02-25 Thread JPLRouge
Experience Feedback Nim-Lang It has been more than two years that I develop with Nim. I have been pleasantly surprised by its speed, its cohesion, its logic and rationale My project is to build a designer screen type 5250/3270 or console for those of you who might not know what is a 5250. This

Problem with winapi in nim

2022-02-11 Thread JPLRouge
Hello wstring travaille comme string, mais supporte UTF8 etc... C++20 introduces the char8_t portable character type (UTF-8 encoded 8-bit Unicode). In C++20, u8 literal prefixes specify characters or strings of char8_t instead of char

Good news for the beginning of 2022

2022-01-01 Thread JPLRouge
> No New Years Eve my wife is ill, but I took the opportunity to look at my > code generator "a designer". more than 5000 lines _I really stumbled on the grid generation and its random visual representation_ , I managed to model the visual code ... without having to edit lib termkey and termcur

Nim 1.6.2 released

2021-12-19 Thread JPLRouge
Hello, I am happy the follow-up is very well written because the translation is reliable as well as everyone who participated. So very enriching. Have a great end of year party

Malloc issue after upgrading from 1.4.6 to 1.6.0

2021-11-26 Thread JPLRouge
i am using linux and i upgraded 1.6 and with usemalloc and i have no problem I even recompiled everything apart from modifying the nil string with "C" I only had to put cstring (var_string), well that's not very bad

Garbage collection of nim vs pony language

2021-11-23 Thread JPLRouge
I reiterate BTW, I think that document would benefit from reordering the list of memory management options from most recommended to least recommended. Maybe it should keep the current default option first for now, but after that it should list orc, arc and then maybe none, go, boehm, etc. It sho

Preview of coming attractions?

2021-11-18 Thread JPLRouge
Hello, while reading I discovered experimental. Very interesting, I advise to read it. It just goes to show that technology watch is important in our business. Just a quick question. Sometimes I see scripts with experimental, except test side, can we put in production ... Thank you

I made a publication, a job with MSGSHM

2021-11-16 Thread JPLRouge
Hello: I made a publication, a job with MSGSHM, with a C module, because NIM did not offer it and corresponds to the operation of the ZCU or UDS from program to program on OS400 / UNIX / ZOS IBM and respecting the standards of Linux and its recommendations it can also be applied to the thread

what does bycopy mean

2021-11-14 Thread JPLRouge
hello type msg_buf* {.bycopy.} = object mtype*: clong mtext*: array[MSGTXTLEN, char] var Q_msg*: msg_buf Run I have a header H with struct msg_buf { long mtype; char mtext [MSGTXTLEN]; } Q_msg; will bycopy share the structure thank you

Setting up a Nim foundation

2021-10-23 Thread JPLRouge
Hello, for having assembled and been president of association (France) be careful if you have to pay people see if in the country where you make the declaration of your association for example in France the president can not be remunerated and the remunerations must be declared to the tax author

Nim 1.6.0 GTK cast cstring ?

2021-10-21 Thread JPLRouge
Sorry for my English , I was looking for the most rational and correct solution I didn't think I closed. It does not matter I have the answer.

Nim 1.6.0 GTK cast cstring ?

2021-10-21 Thread JPLRouge
I apply --warning[CStringConv]:off

Nim 1.6.0 GTK cast cstring ?

2021-10-21 Thread JPLRouge
is cstring (variable) the correct solution ??? I read issue thank resume my applications does not cost me dear with autumn the motorcycle turns less;)

Nim 1.6.0 GTK cast cstring ?

2021-10-21 Thread JPLRouge
Hello , I recompiled the applications related to GTK GINTRO. I encountered a problem that I did not have before in 1.4.8 I was forced to cast ex: window.setTitle (cstring (widget.getWindowTitle ())) else: Warning: implicit conversion to 'cstring' from a non-const location: getWindowTitle (widge

min 1.6 help --passc:-flto problème

2021-10-21 Thread JPLRouge
I will wait, for this program I will use --passC: -fno-builtin-memcpy will there be a correction, please. ps I can't downgrade GCC too much involvement

min 1.6 help --passc:-flto problème

2021-10-21 Thread JPLRouge
But it feels weird when we publish code for the one who is going ... he will ask himself questions

min 1.6 help --passc:-flto problème

2021-10-21 Thread JPLRouge
gcc 11.1.0-1 using Majaro last update

min 1.6 help --passc:-flto problème

2021-10-21 Thread JPLRouge
Thanks for taking the time to watch

min 1.6 help --passc:-flto problème

2021-10-20 Thread JPLRouge
hello batch procedure compil : * * * nim c -f --gc:arc -d:forceGtk -d:useMalloc --verbosity:0 --hints:off --threads:on --app:GUI --passc:-flto -d:release -o:termvte termvte.nim Dans la fonction « nimCopyMem », mis en ligne depuis « copyMem_system_1709 » à /home/solei

high precission -> f1024

2021-09-15 Thread JPLRouge
regard:

Nim is just so great, works first try

2021-08-07 Thread JPLRouge
Over time we will realize that Nim-Language is solid and allows to create logical and readable code, simple.

two questions on Import relating to strip

2021-07-23 Thread JPLRouge
Hello, too bad that strip, align is also in unicode under the same name, we are forced to make exceptions ... Second question: in my source can I for example mysource: import strutils import mymodule mymodule : import strutils except strip import unicode and if I understood correctly the impor

help Json

2021-07-08 Thread JPLRouge
Hello my program compiles but does not work in fact I would like to be able to make a table from panel including tables import json var jsonTest = %* { "titleTerm": "DESIGNER", "panel": [] } add(jsonTest["panel"], %* { "name": "TEST",

help Json

2021-07-08 Thread JPLRouge
in fact by exposing you my problem I found, the panel index was missing ex: add(jsonTest["panel"]|index]["button"]

Pros vs. Cons Of Nim In The Large?

2021-07-02 Thread JPLRouge
yes

Advice on OOP in Nim

2021-06-29 Thread JPLRouge
Strongly agree with you, this is really something that should be "tapped" to do NIM programming. Me in old times this was called ROO (object-object relation coupled with the notion of the theory of "sets")

Catching shell resizes (asynchronously?)

2021-06-03 Thread JPLRouge
> change /etc/X11/app-defaults/XTerm *allowWindowOps: true *eightBitInput: false Run with escape codes example in [https://github.com/AS400JPLPC/nim_termkey/blob/master/termkey.nim ](https://github.com/AS400JPLPC/nim_termkey/blob/master/termkey.nim)

Nim version 1.4.8 released

2021-05-26 Thread JPLRouge
I find it faster, at runtime, less expansive in execution , maybe an illusion ;)

Nim 2.0 -- thoughts

2021-05-15 Thread JPLRouge
`We should remove the "GC safety" effect as ORC doesn't need it. Instead access to global variables should be done in a .global environment (RFC to be written)...` much more readable even if it is more verbose

How to make Nim more popular

2021-05-12 Thread JPLRouge
coming from "C / C ++" I looked to see if other languages ​​existed except Rust PyCon interested me, or "D" see pascal. All this to say that we are doing a study, which publisher, which libraries are provided, what are the main principles ect. It may take some time, then there is also the m

How to make Nim more popular

2021-05-07 Thread JPLRouge
Personally I think, that the lib / module on github and speaks for me too, the examples are not concrete enough do not represent a case that gives grain to grind. To make you want to start eating code.

How to make Nim more popular

2021-05-07 Thread JPLRouge
"Nim can be used everywhere. But it also means that it's not focused on a particular domain, that may lead to a lack of libraries/frameworks. Example: / seems to primarily focus on web servers (first code snippet is an HTTP server). I'm sure it helps them gain more trac

Need help implementing bind for C for webview.h

2021-04-21 Thread JPLRouge
I removed the option inject css and set_font, this is done directly in the html page. on the other hand i process json in Nim main program. The Json aspect is only useful to me to communicate data, so what Nim does it well ... and not in C as in your example. (Afterwards, it's a matter of taste,

Need help implementing bind for C for webview.h

2021-04-21 Thread JPLRouge
Hello, interesting your return. I had two goals the first was to make a real connection with webview.h and how to work it as well as the communication with Nim. It taught me a lot, on the other hand you must have seen that I only took into account Linux and I took the option of having three sepa

Need help implementing bind for C for webview.h

2021-04-20 Thread JPLRouge
hello, no I do not use the old version, I said that on my system there is only gtk3, gtk4 is not ported to XFCE4 Manjaro, but it is the same for the use of webview.h

nimview and websocket ---> webwsi

2021-04-10 Thread JPLRouge
hello Mixing webview and websocket allows you to do some interesting interactive things. of course it's webview seen as a browser and WS websocket seen as an "apache". or: the screen part detach from the data processing program for example . all in one program [Exemple Nim](https://github

import to thread help

2021-03-31 Thread JPLRouge
hello thank you i will update my github now that it is working

import to thread help

2021-03-31 Thread JPLRouge
hello code source ecr00 < I will stay with version 1.4 nim

import to thread help

2021-03-31 Thread JPLRouge
hello my test 1.4 nim is correct gc:arc or gc:orc very different and nim 1.2

import to thread help

2021-03-30 Thread JPLRouge
Hello, I made an import in my source code, in this source, i have a thread, it does not recognize my proc why and out of thread my proc are recognized Why thank

Nimview - a lightweight UI helper

2021-03-22 Thread JPLRouge
Hello, I don't understand webview, you sound like it's not secure? An application made with webview bind with web-socket is just like a program which understands its internal ui, GTK / LIBUI etc ... except that the part which is in html / javascript ... an example with [Nim](https://github.com/

Channel / Actors based parallelism? Are there such Web Servers?

2021-03-13 Thread JPLRouge
I worked on a sync communication for the web with socket [WEBWSI](https://github.com/AS400JPLPC/nim_webwsi)

Cancelation points in async

2020-12-24 Thread JPLRouge
I have a bit of the same problem, several clients on the same server if one closes the server should not trigger alarms in all directions or even with a try, it will directly shutdown. the close operation should not determine the server shutdown

Any possibility of a near term Lazarus/C#-like GUI-designer IDE?

2020-12-22 Thread JPLRouge
@steph Let's say you have hundreds of programs and hundreds of displays to do business management. Galde become important now the builder behavior is very interesting have xml and integrate it into the source then compile But that doesn't remove the need to write GTK code not everything is reso

ANN: NimternalSQL, an in-memory SQL database library for Nim

2020-12-13 Thread JPLRouge
This is just my experience: Files only in single key -> read, update Logics should be seen -> only in reading Joins -> read only With that I never had a mistake. (on my career) I may be severe but a database is the heart of the business, whether accounting or production ... I sometimes find t

lint+ - an improved linter for the lite text editor, incl. Nim support

2020-12-12 Thread JPLRouge
hello, Actually very light `LITE`, roughly it takes half a day to put it in the hand. I would have liked to do like the vs code (maybe I didn't understand) explanation I am using strformat and I would have liked that fmt came out in shine like the functions on the other hand the highlighting of

thread vscode error juste is normal

2020-12-12 Thread JPLRouge
too succinct the example including in the doc excuse me ... I put a message in discord french wishing to have more explanation

thread vscode error juste is normal

2020-12-10 Thread JPLRouge
thank you that reassures me I will be able to put my project on github I made webview and websoket an assembly that allows to have an interactive browser including dynamic socket reassignment I admit having given webview a serious boost on both the. h that .nim, as for the websocket I purified

thread vscode error juste is normal

2020-12-10 Thread JPLRouge
hello: I have no compilation error object, the program works perfectly my "webview" server "websocket" works perfectly with the possibility of being treated like a normal browser of course I added a lot of function in webview and resize but errors in vscode vscode import websoc

help C to nim conversion just precision

2020-11-27 Thread JPLRouge
finally we would have this lib in access with Nim that would free a lot of things

help C to nim conversion just precision

2020-11-27 Thread JPLRouge
thank Be careful, it's serious stuff I tried with the lib X11 from github Nim not bad at all but XGrabKeyboard is too penalizing even if I can detect all the keys it freezes the rest with the keyboard. but I still got the full keyboard in UTF8 whatever the language pity!!! because I have walke

help C to nim conversion just precision

2020-11-27 Thread JPLRouge
Hello, is it better to convert a header H or just to make links with the lib by simulating functions with proc i would like to have libtermkey for the terminal i work with linux but when i do c2nim there are instructions like typedef struct TermKey TermKey; Run which

Changer VSCode pour VSCodium

2020-11-23 Thread JPLRouge
the Nim extension is the one also available in vs-code or visual studio and works without problem

Changer VSCode pour VSCodium

2020-11-23 Thread JPLRouge
According to the VS Code Marketplace Terms of Use, you may only install and use Marketplace Offerings with Visual Studio Products and Services. For this reason, VSCodium uses open-vsx.org, an open source registry for VS Code extensions. See the Extensions + Marketplace section on the Docs page f

Changer VSCode pour VSCodium

2020-11-23 Thread JPLRouge
except that as soon as you use the terminal it becomes hell with each instruction the warning it becomes undrinkable

Changer VSCode pour VSCodium

2020-11-23 Thread JPLRouge
I keep Manjaro up to date for different reasons. the problem with the locale is that it doesn't respect POSIX and absolutely wants to do setlocale LC_ALL = "fr" ect ... but also on arch and other there are kilos with tests in all directions including on arch. I think it's an excellent VSCODIUM

Changer VSCode pour VSCodium

2020-11-22 Thread JPLRouge
hello please say we could not change or modify the editor page because vscodium is there and bug-free on linux no more warning with the setlocale ect open-source extensions, and for nim 1.10 and it does almost everything so a language extension ex: a Nim, a drawio 1.03, Vs code printing f

trouble , name etc...

2020-11-18 Thread JPLRouge
https://nim-lang.org/docs/posix.html#Key

trouble , name etc...

2020-11-18 Thread JPLRouge
I have defined an enum Key to work in a terminal everything worked perfectly except that I needed to use import OS which also has a definition of Key suddenly the compiler rightly pointed out a conflict to me This is one of the reasons why I ask questions

trouble , name etc...

2020-11-18 Thread JPLRouge
I may not be explicit enough: I can make or use a module with "proc" which works but not in all cases and end up with "proc" which has the same name and do not do the same thing ... that's what I'm talking about , of course what you tell me works but not in the case I am talking about

trouble , name etc...

2020-11-18 Thread JPLRouge
Hello , I will try to relate my problem. it happens that when I use a module there are antinomy in fact they are "proc ... var etc" with names that already exist ... Couldn't there be a standard that would and make this more consistent already having a full "nim" dictionary and a controller to

help ZMQ

2020-11-13 Thread JPLRouge
thank you for the very interesting feedback ps (I spoke to Araq, saw his name linked on github (nim-lang) and didn't know who to contact)

help ZMQ

2020-11-13 Thread JPLRouge
I ask this question because I find this communication very appropriate and much extended (mqueue etc ...) if you don't mind what do you think nanomsg other than it's posix oriented

help ZMQ

2020-11-13 Thread JPLRouge
Hello, @Araq i am reading ZeroMQ, and saw you made NIM-ZMQ. a) did you cover the lib entirely with ZéeroMQ b) why do we not see the NIM language registered with ZeroMQ in any case this lib is really the opening to the inter-process communication practically without limit (I have not read until

Nims book question

2020-11-07 Thread JPLRouge
I bought the paper version, in France it is difficult to have the digital version I have to go get it, it has arrived

Sublime Text user experience

2020-11-02 Thread JPLRouge
Hello: actually it's great, very light ... simple and easy, powerful the nim module for TEXTADEPT is it possible to put all the functions/ myproc in colors to differentiate them from the labels please

Posix mqueue Thank for Nim

2020-10-29 Thread JPLRouge
Hello : environment : Linux Manjaro 20.1.2 XFCE GCC-LIBGCC-NIM I would like to share, I was helped I spent more than 48 hours in a row To relate the Linux C system development book to Nim. So a lot of reading, to match the programs correctly, as well as going from array to char * to cstring

help use mq posix

2020-10-28 Thread JPLRouge
min import posix only : mq_open(a1: cstring; a2: cint): Mqd {...} Run my book development Linux _open(const char *name,int flags, mode_t mode, struct mq_attr* attr); Run

help use mq posix

2020-10-28 Thread JPLRouge
yes it compiles correctly but the execution is not correct result -1 in fact we cannot give permissions 0644 etc ... regarde svp: is good example: >

help use mq posix

2020-10-28 Thread JPLRouge
hello, I apply what we do in C but it does not work moreover I cannot do O_CREAT | O_RDWR le resultat: myPid--> 98118 mq_flags mq_maxmsg mq_msgsize mq_curmsgs Init--> 0 -- -- 1024 -- 0 mq_open mqd_t--> -1 *error ctrl--> -1 *error

Should we use British or American English in the documentation?

2020-10-28 Thread JPLRouge
Mainly accessible to google translate thank you

What Nim projects are you working on?

2020-10-27 Thread JPLRouge
This is the best extension for Nim Thanks > I would like it to take into account the include, maybe too much requested Really great your version;););) This allowed me to reset all the extensions since there is no longer any dependency Very clean work

design of large modular projects in nim?

2020-10-25 Thread JPLRouge
Hello, I liked your article. I have a project that is more than 5000 lines long, not counting the import modules, I also like you to test the include, but we lose information, so when hot, no problem but it is not viable, I have a very large screen but the cut in half is not enough, more often t

What Nim projects are you working on?

2020-10-23 Thread JPLRouge
I understand, but your work is fundamental, and porting GTK is a boon for Nim

  1   2   >