Re: leojs alpha

2023-06-26 Thread Edward K. Ream
On Mon, Jun 26, 2023 at 2:38 PM jkn  wrote:

I agree with Thomas that maintaining two codebases in sync is probably and
> impossible job in practice.


I'm not worried. Leo on the desktop is complete as it is. I trust Félix to
bring the Leonine world to vs-code.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS299c7siozrLjw%2Bm-D0GFkAbhiKMAaTFtFVYgDjAwbZHw%40mail.gmail.com.


Re: leojs alpha

2023-06-26 Thread Félix
haha! don't worry - Leo is Leo and LeoJS is it's own thing :) 

But who knows what the future holds for Leo, LeoInteg and LeoJS?

Thanks again for your input! People's ideas and suggestions on this forum 
are what fueled my motivation to code all of this!

Félix

On Monday, June 26, 2023 at 3:38:56 PM UTC-4 jkn wrote:

> Hi Félix
>
> Thanks for the extra information. That does sound like a lot of work, I 
> (too) am impressed with your dedication. But I agree with Thomas that 
> maintaining two codebases in sync is probably and impossible job in 
> practice.
>
> I would kinda-hate Leo to end up as a javascript (/typescript) app instead 
> of a Python one ... but I am also very interested in seeing the results. I 
> will try to be a beta tester for you ;-)
>
> Regards, J^n
>
> On Monday, June 26, 2023 at 7:14:36 PM UTC+1 Félix wrote:
>
>> Hi jkn! :D
>>
>> Thanks for your interest and questions! 
>>
>> I've translated/transliterated (not sure which is appropriate!) about 99% 
>> myself manually, and I've used chatGPT for small parts (e.g. some regular 
>> expressions, some small quirky methods) which I would estimate to be 1% of 
>> the code. (anyways - from 2021 to early 2023 chatGPT did not even exist!)
>>
>> Even then, the parts translated with AI had to be manually inspected and 
>> tested. (I've played a lot with chatGPT translations from python to 
>> typescript and it does not account for subtle details in some "almost 
>> identical" native functions, which inevitably break the intended behavior) 
>> In fact, the more important and subtle a detail is, the more likely it is 
>> that AI will ignore it. (which may even compile and run in normal cases, 
>> but break in edge/extreme cases)
>>
>> For example, regex (Leo uses those a lot in critical places) have subtle 
>> differences in the usage of 'flags' such as 'm' or 'g' in python vs 
>> javascript, which will totally fail if not taken into account.
>>
>> So it's really risky to use AI for translation. (if not thoroughly 
>> inspected and tested) 
>>
>> About the 'upstream' work on Leo - I did the oldest, less likely to 
>> change code first. Also, I have not done the importers yet, nor the unl 
>> support, which happen to be re-written or changed in the last few weeks 
>> hehe !
>>
>>  For other stuff that changed, I try to keep up by collaborating with 
>> Edward to change Leojs & match Leo's changes as quickly as possible, as to 
>> not fall to much behind.
>>
>> I look in the commit history and diffs with tools in gitlens (vscode 
>> extension) to keep up with the changes and modify leojs as much as possible.
>>
>> I usually work on implementing stuff for 2-3 weeks ,and then spend a week 
>> to catch up with what was updated by Edward (if it happens to be on stuff 
>> already in leojs). 
>>
>> Thanks for your support and curiosity! Best to you - Hope you'll be 
>> testing & reporting bugs when I release the first beta in a few days (or 
>> weeks)!  ;)
>>
>> Félix
>>
>>
>> On Monday, June 26, 2023 at 10:09:17 AM UTC-4 jkn wrote:
>>
>>> Hi Felix - something I've missed in the exciting mentions re. leojs 
>>> here. Is the 'transliteration' done manually ('after coding for a few 
>>> years'...) or via some (semi'?)-automated process?
>>>
>>> If the former, I'm wondering how 'upstream' work on Leo gets 
>>> incorporated. If the latter, I'm curious about the process...
>>>
>>> Thanks & Regards, J^n
>>>
>>>
>>> On Sunday, June 25, 2023 at 7:47:30 PM UTC+1 Félix wrote:
>>>
 Thanks Arjan!! 

 Simple encouragements and feedback means a lot to me!

 Félix 

 On Sunday, June 25, 2023 at 9:03:39 AM UTC-4 Arjan wrote:

> > After coding for a few years
>
> Awesome perseverance. I've just continued using regular Leo because 
> I'm used to the workflow, but I hope to find some time to play with the 
> newer developments. Good luck!
>
> On Thursday, June 22, 2023 at 1:08:48 PM UTC+2 Edward K. Ream wrote:
>
>> > ...So anywhere from a week or two, or a month or two, hard to say, 
>> but it's going to be this summer! :D
>>
>> Assuming vs-code allows it, I encourage you to release an alpha 
>> version asap. There is nothing wrong with a list of known bugs.
>>
>> Edward
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/86ade383-c241-4b81-892f-4a79d6528cd6n%40googlegroups.com.


Re: leojs alpha

2023-06-26 Thread jkn
Hi Félix

Thanks for the extra information. That does sound like a lot of work, I 
(too) am impressed with your dedication. But I agree with Thomas that 
maintaining two codebases in sync is probably and impossible job in 
practice.

I would kinda-hate Leo to end up as a javascript (/typescript) app instead 
of a Python one ... but I am also very interested in seeing the results. I 
will try to be a beta tester for you ;-)

Regards, J^n

On Monday, June 26, 2023 at 7:14:36 PM UTC+1 Félix wrote:

> Hi jkn! :D
>
> Thanks for your interest and questions! 
>
> I've translated/transliterated (not sure which is appropriate!) about 99% 
> myself manually, and I've used chatGPT for small parts (e.g. some regular 
> expressions, some small quirky methods) which I would estimate to be 1% of 
> the code. (anyways - from 2021 to early 2023 chatGPT did not even exist!)
>
> Even then, the parts translated with AI had to be manually inspected and 
> tested. (I've played a lot with chatGPT translations from python to 
> typescript and it does not account for subtle details in some "almost 
> identical" native functions, which inevitably break the intended behavior) 
> In fact, the more important and subtle a detail is, the more likely it is 
> that AI will ignore it. (which may even compile and run in normal cases, 
> but break in edge/extreme cases)
>
> For example, regex (Leo uses those a lot in critical places) have subtle 
> differences in the usage of 'flags' such as 'm' or 'g' in python vs 
> javascript, which will totally fail if not taken into account.
>
> So it's really risky to use AI for translation. (if not thoroughly 
> inspected and tested) 
>
> About the 'upstream' work on Leo - I did the oldest, less likely to change 
> code first. Also, I have not done the importers yet, nor the unl support, 
> which happen to be re-written or changed in the last few weeks hehe !
>
>  For other stuff that changed, I try to keep up by collaborating with 
> Edward to change Leojs & match Leo's changes as quickly as possible, as to 
> not fall to much behind.
>
> I look in the commit history and diffs with tools in gitlens (vscode 
> extension) to keep up with the changes and modify leojs as much as possible.
>
> I usually work on implementing stuff for 2-3 weeks ,and then spend a week 
> to catch up with what was updated by Edward (if it happens to be on stuff 
> already in leojs). 
>
> Thanks for your support and curiosity! Best to you - Hope you'll be 
> testing & reporting bugs when I release the first beta in a few days (or 
> weeks)!  ;)
>
> Félix
>
>
> On Monday, June 26, 2023 at 10:09:17 AM UTC-4 jkn wrote:
>
>> Hi Felix - something I've missed in the exciting mentions re. leojs here. 
>> Is the 'transliteration' done manually ('after coding for a few years'...) 
>> or via some (semi'?)-automated process?
>>
>> If the former, I'm wondering how 'upstream' work on Leo gets 
>> incorporated. If the latter, I'm curious about the process...
>>
>> Thanks & Regards, J^n
>>
>>
>> On Sunday, June 25, 2023 at 7:47:30 PM UTC+1 Félix wrote:
>>
>>> Thanks Arjan!! 
>>>
>>> Simple encouragements and feedback means a lot to me!
>>>
>>> Félix 
>>>
>>> On Sunday, June 25, 2023 at 9:03:39 AM UTC-4 Arjan wrote:
>>>
 > After coding for a few years

 Awesome perseverance. I've just continued using regular Leo because I'm 
 used to the workflow, but I hope to find some time to play with the newer 
 developments. Good luck!

 On Thursday, June 22, 2023 at 1:08:48 PM UTC+2 Edward K. Ream wrote:

> > ...So anywhere from a week or two, or a month or two, hard to say, 
> but it's going to be this summer! :D
>
> Assuming vs-code allows it, I encourage you to release an alpha 
> version asap. There is nothing wrong with a list of known bugs.
>
> Edward
>


-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/bcddcf31-b89e-4235-9608-9b3484ba9c46n%40googlegroups.com.


Re: leojs alpha

2023-06-26 Thread Thomas Passin


On Monday, June 26, 2023 at 10:09:17 AM UTC-4 jkn wrote:

If the former, I'm wondering how 'upstream' work on Leo gets incorporated. 
If the latter, I'm curious about the process...


Keeping two code bases synchronized is nearly impossible in the long run.  
Each one evolves in its own way, and the second is almost always some 
revisions behind the first.

I remember reading an article years ago about an US Air Force effort to see 
if a particular newer methodology for software development was superior the 
their existing process. The USAF got convinced to have a team try to 
duplicate an existing system, which I think (IIRC) was a fire control 
module for a particular jet fighter.  The team got to work, but by the time 
they had it working, the module in use had evolved new capability.  The 
team was never able to catch up with the version in use.  So the test of 
methodologies was never able to be completed, and no product was ever 
produced with its results.

Leo may not be as complicated, but the principle remains.  And as LeoJS 
gets into use, its users will start wanting and adding new features that 
aren't in Leo itself.  The two products will diverge over time.  There's 
nothing wrong with this, it's just the way things work.  The more that new 
features can be added as plugins, the less the cores will tend to diverge.

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/ebdf93ca-8305-4ed9-afec-0763f37d233fn%40googlegroups.com.


Re: leojs alpha

2023-06-26 Thread Félix
Hi jkn! :D

Thanks for your interest and questions! 

I've translated/transliterated (not sure which is appropriate!) about 99% 
myself manually, and I've used chatGPT for small parts (e.g. some regular 
expressions, some small quirky methods) which I would estimate to be 1% of 
the code. (anyways - from 2021 to early 2023 chatGPT did not even exist!)

Even then, the parts translated with AI had to be manually inspected and 
tested. (I've played a lot with chatGPT translations from python to 
typescript and it does not account for subtle details in some "almost 
identical" native functions, which inevitably break the intended behavior) 
In fact, the more important and subtle a detail is, the more likely it is 
that AI will ignore it. (which may even compile and run in normal cases, 
but break in edge/extreme cases)

For example, regex (Leo uses those a lot in critical places) have subtle 
differences in the usage of 'flags' such as 'm' or 'g' in python vs 
javascript, which will totally fail if not taken into account.

So it's really risky to use AI for translation. (if not thoroughly 
inspected and tested) 

About the 'upstream' work on Leo - I did the oldest, less likely to change 
code first. Also, I have not done the importers yet, nor the unl support, 
which happen to be re-written or changed in the last few weeks hehe !

 For other stuff that changed, I try to keep up by collaborating with 
Edward to change Leojs & match Leo's changes as quickly as possible, as to 
not fall to much behind.

I look in the commit history and diffs with tools in gitlens (vscode 
extension) to keep up with the changes and modify leojs as much as possible.

I usually work on implementing stuff for 2-3 weeks ,and then spend a week 
to catch up with what was updated by Edward (if it happens to be on stuff 
already in leojs). 

Thanks for your support and curiosity! Best to you - Hope you'll be testing 
& reporting bugs when I release the first beta in a few days (or weeks)!  ;)

Félix


On Monday, June 26, 2023 at 10:09:17 AM UTC-4 jkn wrote:

> Hi Felix - something I've missed in the exciting mentions re. leojs here. 
> Is the 'transliteration' done manually ('after coding for a few years'...) 
> or via some (semi'?)-automated process?
>
> If the former, I'm wondering how 'upstream' work on Leo gets incorporated. 
> If the latter, I'm curious about the process...
>
> Thanks & Regards, J^n
>
>
> On Sunday, June 25, 2023 at 7:47:30 PM UTC+1 Félix wrote:
>
>> Thanks Arjan!! 
>>
>> Simple encouragements and feedback means a lot to me!
>>
>> Félix 
>>
>> On Sunday, June 25, 2023 at 9:03:39 AM UTC-4 Arjan wrote:
>>
>>> > After coding for a few years
>>>
>>> Awesome perseverance. I've just continued using regular Leo because I'm 
>>> used to the workflow, but I hope to find some time to play with the newer 
>>> developments. Good luck!
>>>
>>> On Thursday, June 22, 2023 at 1:08:48 PM UTC+2 Edward K. Ream wrote:
>>>
 > ...So anywhere from a week or two, or a month or two, hard to say, 
 but it's going to be this summer! :D

 Assuming vs-code allows it, I encourage you to release an alpha version 
 asap. There is nothing wrong with a list of known bugs.

 Edward

>>>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/e5a888a6-326c-4f3b-aba9-233a5c78e9e9n%40googlegroups.com.


Re: leojs alpha

2023-06-26 Thread jkn
Hi Felix - something I've missed in the exciting mentions re. leojs here. 
Is the 'transliteration' done manually ('after coding for a few years'...) 
or via some (semi'?)-automated process?

If the former, I'm wondering how 'upstream' work on Leo gets incorporated. 
If the latter, I'm curious about the process...

Thanks & Regards, J^n


On Sunday, June 25, 2023 at 7:47:30 PM UTC+1 Félix wrote:

> Thanks Arjan!! 
>
> Simple encouragements and feedback means a lot to me!
>
> Félix 
>
> On Sunday, June 25, 2023 at 9:03:39 AM UTC-4 Arjan wrote:
>
>> > After coding for a few years
>>
>> Awesome perseverance. I've just continued using regular Leo because I'm 
>> used to the workflow, but I hope to find some time to play with the newer 
>> developments. Good luck!
>>
>> On Thursday, June 22, 2023 at 1:08:48 PM UTC+2 Edward K. Ream wrote:
>>
>>> > ...So anywhere from a week or two, or a month or two, hard to say, but 
>>> it's going to be this summer! :D
>>>
>>> Assuming vs-code allows it, I encourage you to release an alpha version 
>>> asap. There is nothing wrong with a list of known bugs.
>>>
>>> Edward
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/a18dde03-fcf3-461d-af01-e91985fa78cfn%40googlegroups.com.


Re: leojs alpha

2023-06-25 Thread Félix
Thanks Arjan!! 

Simple encouragements and feedback means a lot to me!

Félix 

On Sunday, June 25, 2023 at 9:03:39 AM UTC-4 Arjan wrote:

> > After coding for a few years
>
> Awesome perseverance. I've just continued using regular Leo because I'm 
> used to the workflow, but I hope to find some time to play with the newer 
> developments. Good luck!
>
> On Thursday, June 22, 2023 at 1:08:48 PM UTC+2 Edward K. Ream wrote:
>
>> > ...So anywhere from a week or two, or a month or two, hard to say, but 
>> it's going to be this summer! :D
>>
>> Assuming vs-code allows it, I encourage you to release an alpha version 
>> asap. There is nothing wrong with a list of known bugs.
>>
>> Edward
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/586dcc19-8523-4da9-8fa9-e3643bfccb33n%40googlegroups.com.


Re: leojs alpha

2023-06-25 Thread Arjan
> After coding for a few years

Awesome perseverance. I've just continued using regular Leo because I'm 
used to the workflow, but I hope to find some time to play with the newer 
developments. Good luck!

On Thursday, June 22, 2023 at 1:08:48 PM UTC+2 Edward K. Ream wrote:

> > ...So anywhere from a week or two, or a month or two, hard to say, but 
> it's going to be this summer! :D
>
> Assuming vs-code allows it, I encourage you to release an alpha version 
> asap. There is nothing wrong with a list of known bugs.
>
> Edward
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/9ffd5361-d20f-4362-b249-023f50f21075n%40googlegroups.com.


Re: leojs alpha

2023-06-22 Thread Edward K. Ream
> ...So anywhere from a week or two, or a month or two, hard to say, but 
it's going to be this summer! :D

Assuming vs-code allows it, I encourage you to release an alpha version 
asap. There is nothing wrong with a list of known bugs.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/e6601fef-780d-46c7-821e-3715836db4f6n%40googlegroups.com.


Re: leojs alpha

2023-06-22 Thread Edward K. Ream
On Wednesday, June 21, 2023 at 11:40:46 PM UTC-5 Félix wrote:

After coding for a few years, I just spent a few minutes tonight playing 
around with a 'somewhat working' leojs...!

... 

...So anywhere from a week or two, or a month or two, hard to say, but it's 
going to be this summer! :D


The first release of leoJS will be an important milestone:

- leoJS will integrate with vscode more smoothly.
- leoJS fully transliterates Leo's core into typescript.

Thanks to all who supported me, (or just gave feedback and suggestion) It 
really made a difference and motivated me!


You're welcome. And many thanks for *your* tireless work :-)

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/6f4b7d49-2b2a-472c-a5ac-29d6e39cf91en%40googlegroups.com.