Why am I back on 4D Forum?

2020-10-31 Thread JPR via 4D_Tech
[JPR] Hi Guys, I hope your health is as good as mine! I got several questions from US developers, telling me: You're a lot on 4D Forum (discuss.4d.com) and ou don't talk on the NUG anymore" So I would like to give you a global answer: - First of all, I read the NUG every day, and I answer alwa

Thanks, and don't worry!

2020-07-17 Thread JPR via 4D_Tech
[JPR] Hi Guys, Just a short message to thank all of you who were a bit worried about my silence. Thanks John, Paul, Dave, and all the others, it's very kind of you to care about dinosaurs ;-) Don't worry, I'm perfectly safe and alive! I didn't get the Corona virus, nor the Dos Equis virus, an

Re: Cache flushing did not complete... best practice

2019-10-29 Thread JPR via 4D_Tech
...@gmail.com> > Content-Type: text/plain; charset=us-ascii > > Or use a mirror. Highly recommended if the database is important... > >> On Oct 28, 2019, at 12:59 PM, JPR via 4D_Tech <4d_tech@lists.4d.com> wrote: >> >> The only 100% accurate way is to r

RE: Cache flushing did not complete... best practice

2019-10-28 Thread JPR via 4D_Tech
[JPR] Hi Justin, Tim's explanation is the good one. When 4D starts flushing the cache, it writes a flag into the .4DD file, and clears it when the flush is complete. Here are some answers: > Are you sure the marker is stored in the data file? Yes, I do. > If I restore a backup from Time Machi

Re: 4D Server Hosting - The Future ? & Using Github to Manage Distributed Development

2019-10-11 Thread JPR via 4D_Tech
[JPR] Hi Guys, Once upon a time, in a magic computer, a lovely virtual princess was waiting in a cooperative process for a strong and handsome virtual prince to awake her... Unfortunately, the prince was a cooperative one and he was waiting for the door to open, and the key was held by the pri

Re: Open a v17 data file when Structure is unknown

2019-06-08 Thread JPR via 4D_Tech
[JPR] Hi Jörg, Kirk is right, the WEDD resource stands for Wedding, and it was just a resource used to open the proper data file when starting a structure file, there is nothing mysterious about it. The WEDD resource has been removed in 4D 2004, 15 years ago. It's only use was to mary a 4DB wi

Re: Fast way to highlight a listbox entity selection

2019-04-16 Thread JPR via 4D_Tech
[JPR] Hi Keith, a) It seems that there is some fuzziness in the way Entity Selections and Collections are understood. Let's try to make it more precise: - An Entity selection doesn't 'contain' the Entities, it's a List of Entity References (in this case, a reference is a 4D internal référence

Re: About World Tour 2019: Some answers (JPR)

2019-02-17 Thread JPR via 4D_Tech
> Date: Fri, 15 Feb 2019 14:49:25 -0600 > From: Tim Nevels [JPR] Hi Tim, > I am definitely attending the Chicago 4D World Tour. I’ve attended all the 4D > World Tours that have been offered and attended every JPR presentation. I’ve > been to every 4D Summit since 1991 except for one — I had a

About World Tour 2019: Some explanations

2019-02-15 Thread JPR via 4D_Tech
[JPR] Hi Guys, Thanks! And thanks again! You are really interested, and you don't trust something without testing! As Russian say: Доверяй, но проверяй. Trust, but verify. So you have been a lot to try my little test, and I've received a pack of mails like: Dear Uncle JPR, i don’t know what

About World Tour 2019: Some answers

2019-02-15 Thread JPR via 4D_Tech
[JPR] Hi Guys, As usual, I've again received a lot of mails, from USA and the rest of the World, asking me if it's important to attend the WT2019, so once again, I've decided to do a global answer. All of the questions end with the same subliminal question: Does it worth it? Will we learn some

Re: Isolating the Cause of a Server Crash

2018-09-04 Thread JPR via 4D_Tech
[JPR] Hi Dave, Tim, This kind of crash is always difficult to track down, for it is not easily reproductible. From what I see (and as Tim pointed) it seems there is a memory problem that is revelated in the process LabProjects List. But a memory problem can occur a while before the actual cras

Re: "Your password does not allow you to use this form"

2018-05-24 Thread JPR via 4D_Tech
[JPR] Hi Pat, Yes, I did write the Label Editor long time ago. But no, I don't have the slightest idea regarding this problem :-( Anyway, if it's a problem in V13, it should have arisen years ago, and I received no complains regarding this splendid jewel of a code used enthusiastically b

Re: 4D Summit 2018 Comments - Import XML Structure

2018-04-12 Thread JPR via 4D_Tech
[JPR] Hi All, In fact, it seems that it has been a little misunderstanding in this case of XML Structure. What LR was talking about is the NEW way which has been demonstrated by Laurent Esnault during the Summit. With the new way of handling the 4DB (usually named 'the structure'), it will be

Re: 4D Summit 2018 Comments

2018-04-10 Thread JPR via 4D_Tech
[JPR] Hi Tim, > JPR does monitor the list, maybe he knows more about this and could comment. Yes Tim, this is true, I do monitor this list. So do not hesitate to put 'JPR' in your message when you have questions still pending after some weeks of reflexion... When I don't have the answer, I ha

Re: text2picture

2018-02-14 Thread JPR via 4D_Tech
[JPR] Hi Jörg, Long time ago (maybe 20 years ago...), I wrote a 4D routine (not a plug-in) which was building a PICT in a BLOB, with QuickDraw pure code imbedded into a PICT. This doesn't work anymore since we had to say 'Goodbye an Thanks a lot' to QuickDraw. This is why I've given a replac

Going to the Summit Training, does it worth it?

2018-01-21 Thread JPR via 4D_Tech
[JPR] Hi Guys, Recently I've received a lot of mails, from USA, Germany, France, etc. asking almost the same questions, so I've decided to do a global answer. Basically, the question looks like "I'm very busy, and I just would like to know if it's it worth it, to spend one day dedicated to this

Re: [ANN] 4D Summit - Early Bird Registration Open

2017-09-27 Thread JPR via 4D_Tech
[JPR] Hi Tim, > It’s so big that Laurent Ribardière himself will be there with JPR to talk > about it. This is true. It's that big. Probably bigger than that. Plus obviously the usual lot of new tools and features. IMHO, it's the biggest improvement in 4D since Client-Server and Multi Process

Re: Arrays vs Object for Key/Value pair lookups

2017-07-20 Thread JPR via 4D_Tech
[JPR] Hi Guys, The exact thing that I've explained was how to use objects to get Associative Arrays in 4D. Associative Arrays are widely used in other languages like PHP or JavaScript. In computer science, an Associative Array is an abstract data type composed of a collection of (key, valu

Re: Preemptive mode flaw

2017-05-09 Thread JPR via 4D_Tech
[JPR] Hi David, > "Yes, 4D should trap for bad code coming into a worker and report it in a > way that the developer can manage. 4D should not silently destroy the > worker, lose its context, and restart it without reporting the error." > > If you agree, we have no dispute. So let's have no disp

Re: Preemptive mode flaw

2017-05-08 Thread JPR via 4D_Tech
[JPR] Hi David, > I find it deeply disturbing that a representative of 4D France somehow > thinks that basic error checking is a weird thing to worry about I just would like to correct this: - I'm not a representative of 4D France, just a contractant. - I do not talk in the name of 4D in gener

Re: Preemptive mode flaw

2017-05-08 Thread JPR via 4D_Tech
[JPR] Hi David, It seems that we do not have the same way to see Workers. You are right on what you say. But I'm not sure this is the most important, when we talk about new things like Workers. Here are my thoughts: - Concept of Workers is very new in V16, you know that you can expect improve

Re: Preemptive mode flaw

2017-05-07 Thread JPR via 4D_Tech
[JPR] Hi David, I'm not sure about this topic... About what do you try to demonstrate... > I did it on purpose to see what happens. I'm fanatical about checking > inputs and preconditions and wanted to see what sort of error to trap for. > In many cases, there is no error trapped - it just screw

Re: Tip: Code to get all thread-safe commands

2017-05-07 Thread JPR via 4D_Tech
[JPR] Hi Doug, There was no 'leak' here. Gestalt is a very old 4D function, already existing in 4D V6. And I said it was just a temporary implementation until PROCESS PROPERTIES has been updated to take in account the Preemptivity property. My very best, JPR > On 06 May 2017, at 21:03, 4d_t

Re: Object visualize / browse

2017-04-22 Thread JPR via 4D_Tech
[JPR] Hi David, > Also, I tend to make a strong argument, but don't take it the wrong way! David, I know you for a long time now, and I know how much you have been involved in 4D since, and still are. I know (for I read the NUG) that you spend a lot of time helping others on the NUG by providin

Re: Object visualize / browse

2017-04-22 Thread JPR via 4D_Tech
[JPR] Hi David, What I mean is just that I feel nothing obvious when manipulating Objects. Every single operation you can do on objects becomes not trivial at all, if you compare with variables 4D Developers are accustomed to use. Some examples : - Comparing objects: Will you compare structure

Re: Object visualize / browse (more)

2017-04-21 Thread JPR via 4D_Tech
[JPR] In my previous message, I forgot to indicate that this component can use 3 different ways to represent an object: - As a Styled Text - As a Hierarchical List (with pictures or not) - As a ListBox (with all the possibility to edit, modify, create hierarchies, enter data, etc.) And yes, yo

Re: Object visualize / browse

2017-04-21 Thread JPR via 4D_Tech
[JPR] Hi Guys, The code regarding a way to display/edit an object has been put into a component. This component is supplied as a part of the World Tour Training, (obviously with the source) and all explanations are given, with the How to use it during the 1st day, and How to understand it dur

Re: 2017 World Tour Component

2017-04-13 Thread JPR via 4D_Tech
[JPR] Hi Jim, The component has been made with 4D V16, this is why you can't use it with V15. My very best, JPR > Date: Wed, 12 Apr 2017 13:14:12 -0400 > From: Jim Medlen > To: <4d_tech@lists.4d.com> > Subject: 2017 World Tour Component > Message-ID: > Content-Type: text/plain; charset="ISO

JPR - Content of the World Tour 2017 Training Day

2017-03-09 Thread JPR via 4D_Tech
[JPR] Hi Guys, I've got some demands to described a little bit more what is going to be the content of the World Tour 2017's Training day. Some developers would like (probably) to know if they will not lose time and money to come and listen to JPR's speech once more time... Most of the topic

Re: JPR_Text2Pict and Objects, a perfect engagement...

2017-02-22 Thread JPR via 4D_Tech
[JPR] Hi Wayne, In fact, there is a solution, suggested by Vincent de Lachaux, the author of 4D SVG Component. You can use the component method SVG_New_textArea, this command does the job, by using a specific tag instead of the CR. Have a look on the 4D SVG documentation, it may help you to s

Re: JPR_Text2Pict and Objects, a perfect engagement...

2017-02-21 Thread JPR via 4D_Tech
[JPR] Hi Wayne, This is NOT a simple operation, for a single SVG element creates a single line of text. It does not, AFAIK, have any way cutting text to a new line. CR or LF do not work. neither. Have a look at: https://www.safaribooksonline.com/library/view/svg-text-layout/9781491933817/ch0