Re: Creating Qt Apps That Run In A Tab

2023-04-13 Thread Thomas Passin
In my first post on apps in tabs, I wrote this: There are three parts to these "tabbed" apps: 1. Creating the top-level QWidget; 2. Inserting it into a tab and controlling the tab (e.g., toggling it on and off); 3. Interacting with the app. Instead of "Creating the top-level Widget" I could bet

Re: Creating Qt Apps That Run In A Tab

2023-04-13 Thread Thomas Passin
In my first post on apps in tabs, I wrote this: There are three parts to these "tabbed" apps: 1. Creating the top-level QWidget; 2. Inserting it into a tab and controlling the tab (e.g., toggling it on and off); 3. Interacting with the app. Instead of "Creating the top-level Widget" I could bet

Re: ENB: For Thomas and Félix: more about PR #3277

2023-04-13 Thread Edward K. Ream
On Thu, Apr 13, 2023 at 10:07 AM Thomas Passin wrote: > Or maybe I misunderstood and the references to os.cwd() only refer to the > unit tests and not to how the paths are constructed when used in an outline? > Exactly. That's what confused me too. That's why I said the unit tests aren't the wh

Re: ENB: For Thomas and Félix: more about PR #3277

2023-04-13 Thread Thomas Passin
Or maybe I misunderstood and the references to os.cwd() only refer to the unit tests and not to how the paths are constructed when used in an outline? On Thursday, April 13, 2023 at 10:16:57 AM UTC-4 Thomas Passin wrote: > On Thursday, April 13, 2023 at 10:13:11 AM UTC-4 Thomas Passin wrote: > >

Re: ENB: For Thomas and Félix: more about PR #3277

2023-04-13 Thread Thomas Passin
On Thursday, April 13, 2023 at 10:13:11 AM UTC-4 Thomas Passin wrote: On Thursday, April 13, 2023 at 9:32:36 AM UTC-4 Edward K. Ream wrote: [...] *Testing* *test_g_finalize* and *test_g_finalize_join* were responses to Thomas's compatibility concerns. I worked on these two tests for severa

Re: ENB: For Thomas and Félix: more about PR #3277

2023-04-13 Thread Thomas Passin
On Thursday, April 13, 2023 at 9:32:36 AM UTC-4 Edward K. Ream wrote: [...] *Testing* *test_g_finalize* and *test_g_finalize_join* were responses to Thomas's compatibility concerns. I worked on these two tests for several days before realizing that these tests weren't the whole story! The

Re: ENB: For Thomas and Félix: more about PR #3277

2023-04-13 Thread Edward K. Ream
On Thursday, April 13, 2023 at 8:32:36 AM UTC-5 Edward K. Ream wrote: > PR #3276 ...lists all the places where arguments to these functions have changed. The PR's correctness depends on just those places. Leo's git-diff-pr command (run from th

ENB: For Thomas and Félix: more about PR #3277

2023-04-13 Thread Edward K. Ream
PR #3277 proposes changes to various path-related functions in leoGlobals.py. These changes will affect leoJS. I don't expect them to expect Leo's users! Thomas quite rightly raised some concerns. This Engineering Notebook post gives my respo

Re: Creating Qt Apps That Run In A Tab

2023-04-13 Thread Thomas Passin
I have re-organized the code a bit to make to easier to read. It does the same job as before. Also, I have zipped up the outline to make it easier to get from the browser. More to come soon. On Sunday, April 9, 2023 at 1:14:13 PM UTC-4 Edward K. Ream wrote: > On Sun, Apr 9, 2023 at 7:32 AM

Re: Example of me using chatGPT

2023-04-13 Thread Thomas Passin
There was a recent thread about this on python-list, including someone's experiments. Here's what I wrote - " People need to remember that ChatGPT-like systems put words together the way that many humans usually do. So what they emit usually sounds smooth and human-like. If it's code they em

Re: Example of me using chatGPT

2023-04-13 Thread Edward K. Ream
On Thursday, April 13, 2023 at 12:15:17 AM UTC-5 Félix wrote: Here I am, (simple screenshot below) working on leojs, converting the stripBOM function from leoGlobals.py from python to typescript. Have you tried? Any thoughts or particular productivity tips to share? My impression is that chatG

Re: Eye surgery tommorrow

2023-04-13 Thread Edward K. Ream
On Tuesday, April 11, 2023 at 4:46:36 PM UTC-5 Edward K. Ream wrote: It's routine cataract surgery. I may be out of commission for a day or three. Thanks for all the well wishes. The surgery appears to have gone well. The eye is blurry, but apparently that's normal. I'll see my eye doc later