Re: Termcurs

2020-06-22 Thread JPLRouge
Update and harmonization for termkey.nim, for standard use of the source generator. designer progression big update for termcurs.nim

Re: Is --gc:arc completely independent from the older ownership model?

2020-06-20 Thread JPLRouge
I did a test with and without --gc: arc with the same parameters DEBUG mode without: the program is smaller but much slower 1.2 MB with: the program is larger 1.4 MB but much more fluid PROD mode without: 523 KB very slightly slower with: 602Kb I did not find a report on the subject !!! can yo

Re: Using a Table as an object's member.

2020-06-10 Thread JPLRouge
Even the French translation is excellent

Re: Terminal keyboard and mouse

2020-06-09 Thread JPLRouge
Hello I finally solved (99.9%) the problem of scratching the mouse in the management of the terminal (in linux) It was while developing my designer for the terminal that I realized that the events of the mouse went up at breakneck speed and the buffer was too small, it piled up in short !

Re: Change Nim colour on GitHub

2020-05-28 Thread JPLRouge
yellow is difficult to read on a white background

Re: Termcurs

2020-05-25 Thread JPLRouge
designer Advance today part one is validated but I haven't finished. [Code source generated](https://github.com/AS400JPLPC/nim_termcurs/blob/master/source_generated.png) [small example](https://github.com/AS400JPLPC/nim_termcurs/blob/master/TEST.png)

Re: NIM Integration Problems with Server Side Postgres

2020-05-20 Thread JPLRouge
hello:-d:useMalloc| ---|--- I feel like I'm faster, is true

Re: Terminal keyboard and mouse

2020-05-20 Thread JPLRouge
change terminal key > ATTN PROC CALL Keyboard simulation done by the program and not by the keyboard → ATTN keyboard simulation →Passes program name to application server → PROC keyboard simulation →Transmits the name of the procedure to be executed in Internal → CALL keyboard simulation →Trans

Re: help call string ??

2020-05-14 Thread JPLRouge
Thank you for answer ;) I make a software, or I would like to give the possibility of putting a proc in a field, to make a little as I described, that would open important perspectives.

Re: help call string ??

2020-05-14 Thread JPLRouge
Thank you for answer ;) I make a software, or I would like to give the possibility of putting a proc in a field, to make a little as I described, that would open important perspectives.

help call string ??

2020-05-14 Thread JPLRouge
Hello is it possible to encapsulate the name of a PROC in a string field, then call a proc directly with this field in OS400 it is possible to do ex: call "pgdate" or call &var directly without making a 'CASE / IF' field etc ... or example: file field.type (country) field.proc ([pgspecific](htt

Re: Terminal based GINTRO(GTK) VTE

2020-05-13 Thread JPLRouge
In the last answer, the git shows how to make a console on the fly, and the possibility of executing a program in this console, basically this is what I do with termVte (in the example it is frozen but it was for my tests)

Re: Terminal based GINTRO(GTK) VTE

2020-05-12 Thread JPLRouge
[https://github.com/rprichard/winpty](https://github.com/rprichard/winpty) there it gives the possibility of doing the same thing as vte

Re: Terminal based GINTRO(GTK) VTE

2020-05-12 Thread JPLRouge
[https://stackoverflow.com/questions/6673022/windows-gui-console-output-linux-style](https://stackoverflow.com/questions/6673022/windows-gui-console-output-linux-style) I agree with you, you only need a program that, like Linux, has an open terminal-type GUI. for a while i made my terminal in C i

Re: Terminal based GINTRO(GTK) VTE

2020-05-12 Thread JPLRouge
[https://download.gnome.org/sources/vte/0.60/](https://download.gnome.org/sources/vte/0.60/) I also sought to help you, maybe you can compile there is the free vte

Re: Terminal based GINTRO(GTK) VTE

2020-05-12 Thread JPLRouge
if you want to make your own terminal under windows with gtk [https://github.com/AS400JPLPC/VteTERM](https://github.com/AS400JPLPC/VteTERM) even if it is under linux you must not have too much problem in C / C ++ after you can directly call programs made with nim

Re: Terminal based GINTRO(GTK) VTE

2020-05-12 Thread JPLRouge
hello OUHAAA bravo This is what it expects in the vte file in /pkgs/gintro-0.7.3/gintro/vte.nim Run {.warning[UnusedImport]: off.} import xlib, glib, gdk, gdkpixbuf, cairo, gtk, gobject, pango, gio, gmodule, atk const Lib = "libvte-2.91.so.0" {.pra

Re: Terminal based GINTRO(GTK) VTE

2020-05-11 Thread JPLRouge
yes, with cygwin you should get there you have to put the lib vte on line for compiled, when I worked with windows, I recovered lib with .h generally it worked for example postgresql works very well like that

Re: I have a problem with GC: ARC move?

2020-05-10 Thread JPLRouge
thank you I get it

Re: I have a problem with GC: ARC move?

2020-05-09 Thread JPLRouge
Hello when I forward to a proc in the example fldX.name I wanted to remove the error Hint: passing 'fldP.name' to a sink parameter introduces an implicit copy; use 'move (fldP.name)' to prevent it [Performance] So I used "move", but actually I lost the value and the variable. moreover we se

I have a problem with GC: ARC move?

2020-05-08 Thread JPLRouge
hello example Vtest = ref object name : string let fldx = new(Vtest) fldx.name = "test" proc setT( val : string) :string= return val var x = setT(fldX.name) Hint: passing 'fldx.name' to a sink parameter introduces an implic

Re: Terminal based GINTRO(GTK) VTE

2020-05-08 Thread JPLRouge
[https://cygwin.com/packages/summary/vte.html](https://cygwin.com/packages/summary/vte.html) include lib VTE for windows

Re: Termcurs

2020-05-02 Thread JPLRouge
Project stabilized. 2020-05-02 Unless there is a real bug code cleanups, harmonization of proc / func plus some practical additions passage in real test on application (it will be the justice of the peace) Those who forked should update it

Re: Termcurs

2020-05-01 Thread JPLRouge
Hello, I'm done. Termcurs it integrates the table (dynamic or static) based on the philosophy of that of the 5250 OS400 there are examples and pictures I will write an application with a real data base provided by Posgresql. We should find the principles of Cobol (for display) or that of RPGILE

Re: Termcurs

2020-04-30 Thread JPLRouge
Nim allowed me to transcribe in a simple and coherent way, the reproduction of operation of the 5250.

Re: Termcurs

2020-04-29 Thread JPLRouge
he wants to help me explain and he will translate.

Re: Termcurs

2020-04-29 Thread JPLRouge
bonjour, il s'agit de retourver l'apparence du 5250/3270 un type de terminal il fonctionne sur le principe de fenêtre dans lequel on peut mettre des labels et fields button(f1...f24 et plus) leurs positionnements des relatif la gestion est automatisé: des fields leurs contenus / buttons de la mê

Termcurs

2020-04-28 Thread JPLRouge
hello, I deposited on github I take again the functions of 5250/3270 and apply that on a terminal it's not all over but it works I finish by incorporating SFLINE a grid type incorporation (readOnly by experience rarely update) no question of doing GTK ;) I would like to have feedback on the o

Re: Just a VSCode question

2020-04-27 Thread JPLRouge
With the latest freshness ... It gets better I read a lot of fixes on GIT

Just a VSCode question

2020-04-26 Thread JPLRouge
have problems when you are several hours (8 / 10h) open ... At times I have a random character that fits Yet I update very regularly with Manjaro / I clean VSC etc ...

Re: Terminal keyboard and mouse

2020-04-20 Thread JPLRouge
2020-04-20 correctif Key change: enum → to respect enum:adding the table with a functional suite

Re: Terminal keyboard and mouse

2020-04-20 Thread JPLRouge
I will integrate this into the function, thank you this is more judicious

Re: need explanation on proc

2020-04-18 Thread JPLRouge
Thank

need explanation on proc

2020-04-18 Thread JPLRouge
Hello, I need an explanation: in a procedure (proc) if I put internal procedures ex: proc getField (...) = proc insert () proc delete () * * * Do I have to understand that it's like a class and that none other than the proc can use internal proc and by that do not put them proc insert

Re: change doc Unicode please

2020-04-18 Thread JPLRouge
thank

Re: change doc Unicode please

2020-04-18 Thread JPLRouge
but it's not in the documentation we only talk about the thong that's just what i wanted to report sorry my english is google

Re: Terminal keyboard and mouse

2020-04-18 Thread JPLRouge
update Update → 2020-04-16 add proc (key) = getFunc() read touche omit key.Char supported UTF8 → 2020-04-18 correctif line 572 if key == Key.None : key = Key.Char { ;) error copy from test}

change doc Unicode please

2020-04-18 Thread JPLRouge
Hello In the documentation the unicode page it is mentioned isAlpha (string) and not isAlpha (Rune) isAlpha is operational with Rune that would have saved me from going through a string thank

Re: New GUI Framework

2020-04-15 Thread JPLRouge
Looks cool. Thanks for sharing. super well done ;)

Re: Nim programming book for kids

2020-04-10 Thread JPLRouge
I read very interesting, on the other hand I would like to point out the good translation in French, no grammatical inconsistency Great

Re: Terminal keyboard and mouse

2020-04-09 Thread JPLRouge
#enthus1ast You are free to use it, your idea is not bad I just finished (finished) on the Linux side ;)

Re: Nim programming book for kids

2020-04-09 Thread JPLRouge
J'aime beaucoup

Terminal keyboard and mouse

2020-04-08 Thread JPLRouge
hello termkey.nim keyboard and mouse management Linux view conforms to specifications UTF8 I thank #enthus1ast [https://github.com/johnnovak/illwill](https://github.com/johnnovak/illwill) Manages UTF8 all keyboard keys and mouse It manages the Linux keyboard according to the GNU specificat

Terminal based GINTRO(GTK) VTE

2020-04-08 Thread JPLRouge
bonjour, #Stefan_Salewski You can add the terminal in your examples. I hope this helps those looking to learn nim better I took over what you had done. Now it works perfectly this an open and simple terminal, this does not have a terminal for shelling but for applications in semi-graphics mod

Re: Announcement: The Nim compiler is rewritten in Python with some modules optimized in C

2020-04-02 Thread JPLRouge
today I don't eat fish (lol) on April 1st rewrite all that in Python ... and why not in gwbasic with the one opening on the assembler

Re: Control mouse in Windows

2020-03-24 Thread JPLRouge
hello , But with the tool you work GUI Terminal CGI

Re: help information sécurité

2020-03-22 Thread JPLRouge
excuse me i am a lot dyslexic

Re: Gtk apps in Nim

2020-03-22 Thread JPLRouge
Hello, I have tried GUI a lot, for short the most practical GTK. It has a lot of solution and a screen generator, currently I carry a C ++ application in nim not only to learn but by conviction of simplicity of maintenance. As for GTK it becomes very simple to use with the builder option of gtk

Re: help information sécurité

2020-03-22 Thread JPLRouge
thank you Morem You say less secure than C. Do you mean to imply that there may be buggers, if that's it it doesn't matter in itself it's perfectible ... For the moment Nim has helped me by noting and pointing out small errors not functional but easy to generate in C / C++ oh no matter in itse

help information sécurité

2020-03-21 Thread JPLRouge
Hello : or is in terms of Nim-Lang security compared to other languages. we hear a lot about Rust, but I think it's mostly a way of programming that influences security outside of traditional reasons ... This is a question for information

Help prlm this Time

2020-03-18 Thread JPLRouge
hello : help work sql type Date* = ref object of RootObj Data* : DateTime Null* : bool Temps* = ref object of RootObj Data* : DateTime Null* : bool proc sql*(a: Date): string = if a.Data.format("-MM-dd") =

Re: Change date name

2020-03-16 Thread JPLRouge
thank you great

Change date name

2020-03-16 Thread JPLRouge
Hello : how to change date from english to french thank you is var DefaultLocale* = DateTimeLocale( MMM: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], : ["January", "February", "March", "April", "May", "June", "July"

Re: Why not introduce the concept of Decimal in nim ???

2020-03-05 Thread JPLRouge
I worked a lot IBM38 / AS400 / OS400 over 40 years RPG / ILE / C I think I'm too old (and my health requires it) I worked for a Nim port in github in the AS400 (DDS) way, I hesitated between starting from the source code "C" Mike Cowlishaw / IBM, finally for the moment I relied on the "mpdecimal

Re: Why not introduce the concept of Decimal in nim ???

2020-02-29 Thread JPLRouge
including decimal in nim not default i think that would be a great thing. of course i have already tested it was just a suggestion

Re: Why not introduce the concept of Decimal in nim ???

2020-02-27 Thread JPLRouge
Thank you for the answer I understand, too bad it would have standardized

Why not introduce the concept of Decimal in nim ???

2020-02-26 Thread JPLRouge
bonjour , Hello Just like float or int, there is indeed in gcc the notion of decimal 128, of course there are dcml procs for nim but external. I would like to know why today the decision was not to introduce this type and to close the subject which would allow in the calculations of financial d

XopenDisplay

2020-02-14 Thread JPLRouge
hello translate nim gintro Display* display = XOpenDisplay(NULL); int screen = DefaultScreen(display); thank

Re: Introducing Norm: a Nim ORM

2020-02-01 Thread JPLRouge
'''You mean connection pool? There's an open issue for it, but I'm not planning on taking on it any time soon. I plan to focus on the migration manager for Norm.''' yes

Re: Introducing Norm: a Nim ORM

2020-01-30 Thread JPLRouge
Bonjour, Hello 887/5000 I am passionate about DB ... Did you think, open several connections so if yes you can have a transactional connection and a logical connection only for reading ... I work this way it allows me a lot of flexibility. I worked on a wrapper (which works in C ++) based

Re: Added Mouse support to illwill (cli) + widget library

2020-01-30 Thread JPLRouge
It's a shame not to have UTF8. You did something that holds the road ... In French the è etc ... oops it's not funny ;)

Re: Sqlite: unfinalized statements error

2019-12-29 Thread JPLRouge
nim does not substitute for SQL statements

Re: Sqlite: unfinalized statements error

2019-12-29 Thread JPLRouge
you want to insert the same thing twice then you have duplicate keys you should read a simple book on sql ;) it doesn't have the wrong program but knowing SQL would have allowed you to avoid this kind of error.

Re: How to set a specific file as main file in VS Code ?

2019-12-26 Thread JPLRouge
#!/bin/bash faStabilo='\033[7m' fcRouge='\033[31m' fcJaune='\033[33;1m' fcCyan='\033[36m' fcGreen='\033[32m' #--- # ccontrôle si projet nim #--

Re: How to set a specific file as main file in VS Code ?

2019-12-22 Thread JPLRouge
I use for the project a .sh file or a makefile or .bat

Re: What’s your favorite programming language and why?

2019-12-22 Thread JPLRouge
for me quite the opposite once the modules are well understood the same module for all managed like set theory

Re: What’s your favorite programming language and why?

2019-12-18 Thread JPLRouge
Bonjour : 42 year pratique : IBM 34/36/38/AS400 -->RPG2/3/4 project using the “AXIAL” method * object oriented "RPG-ILE" "C-ILE" language * C++ traditional project management create L4G type engine sur pc : 1980: pascal / C 1990 ... 2019: C++ PHP2/3 Javascript creation driver for pickin

Re: Nim is the friendliest language to start

2019-12-16 Thread JPLRouge
@Stefan_Salewski his examples helped me to put the foot in the stirrup, for me I got tired of the basic docs, and I went on more concrete examples using an interactive project that led me to other horizon, type definition, create a module ... and SQL as all this to have a concrete interactive pr

Re: Nim is the friendliest language to start

2019-12-15 Thread JPLRouge
go on github

Re: Recommended GUI library?

2019-12-09 Thread JPLRouge
I tested back and forth and it works. I even got into the code and it works. moreover you can use a designer or do everything by hand ...

Re: donation

2019-11-13 Thread JPLRouge
you have to see it I have the internet receipts but not the debit

Re: donation

2019-11-13 Thread JPLRouge
I will cancel the donation and redo it

Re: donation

2019-11-13 Thread JPLRouge
[https://nim-lang.org/donate.html#other-ways-to-donate](https://nim-lang.org/donate.html#other-ways-to-donate) choice : > PayPal on my bank account I do not see the flow

Re: donation

2019-11-13 Thread JPLRouge
I paid a sum and I do not see the flow

donation

2019-11-13 Thread JPLRouge
I do not understand I made a donation more than 1 month ago, and soon it will come to an end at the end of 2019/11, why is it not taken ... I did this on paypal from the site no phone?

Re: Nim-Decimal test

2019-11-12 Thread JPLRouge
OK it works sorry a thousand times I missed a function and I had an overflow yet I have a lot to work with originally "Mike Cowlishaw" in c ++ . in my type functions `+` * (a, b: DecimalType): DecimalType = var status: uint32 result = newDecimal () mpd_qadd

Re: Nim-Decimal test

2019-11-12 Thread JPLRouge
sorry import ./decimal/decimal var a= newDecimal("890.12") a+10 echo $a a+=10 echo $a a-10 echo $a a-=10 echo $a

Re: Nim-Decimal test

2019-11-12 Thread JPLRouge
import ./decimel/decimal a= newDecimal("890.12") a+10 echo $a a+=10 echo $a a-10 echo $a a-=10 echo $a Run

Re: Nim-Decimal test

2019-11-12 Thread JPLRouge
a= newDecimal("890.12") a+10 echo $a ... 900.12 a+=10 echo $a ... 910.12 a-10 echo $a ... 900.12 a-=10 echo $a ... 890.12 etc

Re: Nim-Decimal test

2019-11-12 Thread JPLRouge
+= -= *= and /= idem + - * / Run changed variable in the test I'm doing it's how it works

Re: Nim-Decimal test

2019-11-12 Thread JPLRouge
I understood that as a * 10 = a * = 10 that's why I told you that because there's no new result coming out

Re: Nim-Decimal test

2019-11-12 Thread JPLRouge
yes

Re: Nim-Decimal test

2019-11-12 Thread JPLRouge
a =12345678901234567890.12 a*10 echo $a 12345678901234567890.12 a =12345678901234567890.12 a*=10 echo $a 12345678901234567891.2

Re: Nim-Decimal test

2019-11-12 Thread JPLRouge
a*10 correct a*=10 not ok

Nim-Decimal test

2019-11-12 Thread JPLRouge
@mratsim Hello I adapt Nim-decimal for management, compliant with the AS400. so I test a maximum I introduced the boundary to be in agreement with the database (POSTGRESQL but it is identical with DB2) on the other hand significant numbers are important there are times when we have 20.15 zones

Re: A critique of Nim

2019-11-02 Thread JPLRouge
Hello , I've been with NIM for 4 weeks (big full days;)) I come from IBM38 / AS400 43 years of practice and C / C ++ 30 years of practice, and Pascal I kept the structure and method. my reaction to hot foundry: Nim is much simpler than one imagines, very often I leave with a concept C ++, final

Re: help setCellDataFunc gtk3

2019-10-31 Thread JPLRouge
hello, I just tested code(example) with 3.22. it works perfectly as for version 3.22 is that the "stable" at Ubuntu is very difficult to raise GTK if it is not proposed by Ubuntu (it is a problem that I understand) it protects the heart of their applications ... I can easily climb for the compi

Re: help setCellDataFunc gtk3

2019-10-30 Thread JPLRouge
thank you cellDataFunc(column00: ptr TreeViewColumn00; renderer00: ptr CellRenderer00; model00: ptr TreeModel00; iter: TreeIter; data: pointer) {.cdecl.} Run that's where my mistake comes from > as I told you, I have also Manjaro (since 5 years) wh

Re: Gui App (niGui) in 'standalone mode'

2019-10-29 Thread JPLRouge
hello , --passL:-no-pie on linux (ubuntu) the compiler is set to "pie" for security reasons, but sometimes we need a bridgehead and make an executable, without having to have a launcher .

Re: cairoimpl.nim error

2019-10-29 Thread JPLRouge
hello, I was careful to fork 0.5.5. it works without any problems I work on a stable xubuntu 18.4.3 sorry to have bothered you, I know how much we can have at heart that what we publish is correct ... .. I will see how to evolve my system but apparently I am tied to the stable . th

Re: cairoimpl.nim error

2019-10-28 Thread JPLRouge
I am on linux and update regularly I even publish a procedure to automate the maintenance of the system ubuntu (Xubuntu) a bit like manjaro 03.22.30 the problem of rectangle is recompiling listview.name from a month ago that he output this message

Re: cairoimpl.nim error

2019-10-28 Thread JPLRouge
I thought the forum was there for that

cairoimpl.nim error

2019-10-28 Thread JPLRouge
hello: .nimble/pkgs/gintro-0.6.0/gintro/cairoimpl.nim(614, 22) Error: undeclared identifier: 'Rectangle'

Re: help setCellDataFunc gtk3

2019-10-28 Thread JPLRouge
@Stefan_Salewski no problem at the moment I did differently, for the validity checks, and I advance on the implementation to make for example billing .. to give the sense of the application the goal is to make a kind of excel finally;) just to make an evaluation of an article price for exam

Re: Research questions for open-source library authors re communicating with general users

2019-10-28 Thread JPLRouge
[https://github.com/nim-lang/RFCs/issues/173](https://github.com/nim-lang/RFCs/issues/173) that largely answers the question I was asking myself

help setCellDataFunc gtk3

2019-10-28 Thread JPLRouge
Hello, I'm blocking on using setCellDataFunc could you give me an example please

Re: ui TABLE error

2019-10-25 Thread JPLRouge
everything works I made the change in table.c the example is not concrete for a beginner but once set up and with data .. everything rolls finally it's pretty simple it lacks color in the cells the rest is more than viable table.c static void applyColor(GtkTreeModel *m, GtkTreeIter *iter, int

Re: Research questions for open-source library authors re communicating with general users

2019-10-23 Thread JPLRouge
You scare me because investing in learning is not easy, I use GINTRO is well done, if I am, so tomorrow it may be obsolete houaaa ??? you tell me that I have to use iup, but it does not include "GRID" management for example, unless you consider that "NIM-lang" is only reserved for statistics and

Re: Research questions for open-source library authors re communicating with general users

2019-10-23 Thread JPLRouge
I thank you for your work (nim-decimal) it is correct and helps me in my study, I did more than 40 years of computer science (IBM) and this definition of decimal was fundamental to treat project as part example, the bank, the industrial management, or simply the billing of Renault the problem of

Re: Research questions for open-source library authors re communicating with general users

2019-10-22 Thread JPLRouge
I use a Nim-decimal library of IBM origin ... it is licensed apache, is that why we do not see it in the directory "directorie" is a fundamental lib to make treatment in Business Management I came there by chance, I was almost to tell me to do my own lib, and as I'm still too new in "Nim" .

  1   2   >