Re: Count of young new developers after ...

2021-08-06 Thread James Crate via 4D_Tech
On Aug 5, 2021, at 8:15 AM, Jörg Knebel via 4D_Tech <4d_tech@lists.4d.com> wrote: > >> On 05 /08 /2021, at 01:59, James Crate via 4D_Tech <4d_tech@lists.4d.com> >> wrote: >> >> 4D has been around since the 80s, … > > That means we could

Re: Count of young new developers after ...

2021-08-04 Thread James Crate via 4D_Tech
On Aug 4, 2021, at 2:18 AM, Jörg Knebel via 4D_Tech <4d_tech@lists.4d.com> wrote: >> On 04 /08 /2021, at 01:52, James Crate via 4D_Tech <4d_tech@lists.4d.com> >> wrote: >> >> I’m curious why that should matter. > > Think about it a bit harder and it w

Re: Count of young new developers after ...

2021-08-03 Thread James Crate via 4D_Tech
On Aug 3, 2021, at 9:03 AM, Jörg Knebel via 4D_Tech <4d_tech@lists.4d.com> wrote: > > … the implementation of the additional programming paradigm? > > Is there any information available in regards of the extended subject? > > So, how many new and young (age < 40 years) developers have been

Re: [4D v18.3; Mac {10.13.6} + {10.15.7}] LEP-voodoo

2021-03-26 Thread James Crate via 4D_Tech
On Mar 26, 2021, at 4:17 AM, Jörg Knebel via 4D_Tech <4d_tech@lists.4d.com> wrote: > >> On 26 /03 /2021, at 22:03, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> >> wrote: >> >> it is the app that needs to be notarised. >> >> the rules discussed so far are common to all apps, nothing is

Re: [4D v18.3; Mac {10.13.6} + {10.15.7}] LEP-voodoo

2021-03-24 Thread James Crate via 4D_Tech
On Mar 24, 2021, at 6:09 PM, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> wrote: > >> Does the —deep option actually work anymore? The signing script I use for an >> app compiled with runtime has to sign every executable component in the >> built app. > > yes it works. > I use --deep to

Re: [4D v18.3; Mac {10.13.6} + {10.15.7}] LEP-voodoo

2021-03-24 Thread James Crate via 4D_Tech
On Mar 20, 2021, at 5:53 PM, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> wrote: > the above code unfortunately will not grant access to the camera because it > is missing 2 critical elements: > > 1. edit "info.plist" to explain what the app needs the camera for > 2. supply an

Re: gitignore for projects

2020-05-24 Thread James Crate via 4D_Tech
I went the other direction and excluded everything except what I wanted to include, since I end up with stuff in the folder with the 4D structure that I don’t want to track. I should add an ignore for the .DS_Store files too. I’ll add the Settings folder at some point too. # Ignore everything

Re: Object notation replacement for use of Self in a script

2020-05-05 Thread James Crate via 4D_Tech
ill for early exit? I agree an > automatically-maintained index would be nice, though. > > Jeremy > >> On 5 May 2020, at 19:13, James Crate via 4D_Tech <4d_tech@lists.4d.com> >> wrote: >> >> In 4D, when enumerating collections or entity selections, abou

Re: Object notation replacement for use of Self in a script

2020-05-05 Thread James Crate via 4D_Tech
On May 2, 2020, at 1:10 AM, Aparajita Fishman via 4D_Tech <4d_tech@lists.4d.com> wrote: > >> "Don’t be so quick to complain; you finally got ‘for each’ 10 years after >> the rest of the world (including Active4D).” >> Good point. So…you’re thinking that the feature set is complete? > >

Re: Distinct Collection

2020-05-01 Thread James Crate via 4D_Tech
On Apr 29, 2020, at 2:21 PM, Paul Dennis via 4D_Tech <4d_tech@lists.4d.com> wrote: > > I have a collection created from arrays via mysql. This contains duplicated > elements. I'm trying to do the equivalent of distinct values but the > collection.distinct command does not do the distinction on a

Re: Distinct Collection

2020-05-01 Thread James Crate via 4D_Tech
On Apr 29, 2020, at 2:21 PM, Paul Dennis via 4D_Tech <4d_tech@lists.4d.com> wrote: > > I have a collection created from arrays via mysql. This contains duplicated > elements. I'm trying to do the equivalent of distinct values but the > collection.distinct command does not do the distinction on a

Re: Object notation replacement for use of Self in a script — v18

2020-05-01 Thread James Crate via 4D_Tech
On Apr 30, 2020, at 9:36 PM, Douglas von Roeder via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Another WTF is that you can’t iterate from the end of a collection to the > start. You can reorder the collection and then run a For each loop but > that’s a complete kludge. For each

Re: Object notation replacement for use of Self in a script — v18

2020-05-01 Thread James Crate via 4D_Tech
On May 1, 2020, at 3:44 PM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> wrote: > > I have not had any great joy attempting to use pop-ups with object > references. Haven't tried in v18 so maybe it's improved. In V17, popups work with form object expressions. If you set the expression to

Re: Object notation replacement for use of Self in a script — v18

2020-05-01 Thread James Crate via 4D_Tech
On May 1, 2020, at 2:23 PM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> wrote: > > On Fri, May 1, 2020 at 11:14 AM James Crate via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> The problem with this approach, as others have mentioned, is that you can >>

Re: Object notation replacement for use of Self in a script — v18

2020-05-01 Thread James Crate via 4D_Tech
On May 1, 2020, at 10:07 AM, John DeSoi via 4D_Tech <4d_tech@lists.4d.com> wrote: > Here is an idea which seems to work, but needs more evaluation. What if you > named the form object with the property path in the form data? Even if > periods are not allowed (they seem to be), another

Re: Long running reports to disk intermittently disrupted and fail

2020-04-15 Thread James Crate via 4D_Tech
On Apr 15, 2020, at 4:35 PM, John J Foster via 4D_Tech <4d_tech@lists.4d.com> wrote: > > I do believe that creating it locally and moving to the network drive can be > more efficient. I’m not sure how much speed different there would be. > >> using TEXT TO BLOB with the offset parameter > >

Re: Long running reports to disk intermittently disrupted and fail

2020-04-15 Thread James Crate via 4D_Tech
On Apr 15, 2020, at 2:20 PM, John J Foster via 4D_Tech <4d_tech@lists.4d.com> wrote: > > 4D v17.2 64bit Windows > Windows 10 Pro > > We have some reports that are run in a batch overnight. Have to because they > take that long to run all of them. Anyway, since we’ve upgraded from Windows > 7

Re: Remote working with 4D networks - what are people using ?

2020-03-19 Thread James Crate via 4D_Tech
On Mar 19, 2020, at 11:13 AM, Herr Alexander Heintz via 4D_Tech <4d_tech@lists.4d.com> wrote: > > AFAIK the MacOS cannot be changed to allow multiple concurrent user sessions > on one Computer, the OS simply lacks the necessary tools to do it. > When you switch users on a Mac, you need to first

Re: Another Signing/Notarization Question

2020-03-07 Thread James Crate via 4D_Tech
On Mar 6, 2020, at 5:24 PM, Cannon Smith via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Thanks to Miyako and Rob Laveaux updating some plugins I use, and other help, > I now have all but one of my applications notarizing again since the recent > Apple changes. The problem with the last

Re: Can't use Zint plugin since upgrading my Mac

2020-03-02 Thread James Crate via 4D_Tech
> On Feb 28, 2020, at 8:35 AM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I just got a new MacBook Pro running Catalina (10.15.3). When I start up my > 4D app I get a message that "*“ZINT.bundle” is damaged and can’t be opened. > You should move it to the Bin"* > I click Cancel

Re: New Notarization Issues

2020-02-12 Thread James Crate via 4D_Tech
On Feb 12, 2020, at 11:35 AM, Timothy Penner via 4D_Tech <4d_tech@lists.4d.com> wrote: > > James et all, > > Please disregard my response from yesterday regarding removing the > WebViewerCEF.bundle as this was bad advice on my part! > > I have been informed that 4D is using the web area in

Re: New Notarization Issues

2020-02-12 Thread James Crate via 4D_Tech
On Feb 11, 2020, at 11:00 PM, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> wrote: > > I am not 100% sure, but it might be because plugins that support v17 (up to > R6) or earlier > have their manifest.json file under Contents, where the code sign CLI might > fail to find it. > > v18

Re: New Notarization Issues

2020-02-11 Thread James Crate via 4D_Tech
On Feb 11, 2020, at 6:28 PM, Cannon Smith via 4D_Tech <4d_tech@lists.4d.com> wrote: > issues": [ >{ > "severity": "error", > "code": null, > "path": "FFE5A08083D54FDE8D0FBAB1A1E06060.zip/Herdly > Team.app/Contents/Plugins/4D InternetCommands.bundle/Contents/MacOS/4D >

Re: New Notarization Issues

2020-02-11 Thread James Crate via 4D_Tech
On Feb 11, 2020, at 2:58 PM, Timothy Penner via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Regarding this: >> However, after building I remove the “Contents/Native >> Components/WebViewerCEF.bundle”, which is an apparently unused 275MB >> package, so if I wanted to use the built-in signing, I’d

Re: New Notarization Issues

2020-02-11 Thread James Crate via 4D_Tech
On Feb 11, 2020, at 10:58 AM, James Crate via 4D_Tech <4d_tech@lists.4d.com> wrote: > > With 4D v17.3 HF3, I have errors like this: > >{ > "severity": "error", > "code": null, > "path": "Travel-1.0.7.app.

Re: New Notarization Issues

2020-02-11 Thread James Crate via 4D_Tech
With 4D v17.3 HF3, I have errors like this: { "severity": "error", "code": null, "path": "Travel-1.0.7.app.zip/Travel.app/Contents/MacOS/Travel", "message": "The executable does not have the hardened runtime enabled.", "docUrl": null, "architecture":

Re: What is equivalent to SELF when a form object's "variable or expression" is an object attribute?

2020-02-05 Thread James Crate via 4D_Tech
It’s not so much that the pointer is not needed, but that it isn’t available so we have to figure out other ways to work around that fact when pointers would be more useful and allow you to write less brittle code. Having to specify almost the same text for the name as for the expression, or

Re: What is equivalent to SELF when a form object's "variable or expression" is an object attribute?

2020-02-04 Thread James Crate via 4D_Tech
This was annoying the first time I ran into it, but overall hasn’t really caused any serious problems for generic programming. If you name the object with the expression, you can use something like: Form[Object Get name(Object current)]:=x If you need to set properties on a form object

Re: Using ORDA - getting ONE entity from MANY Table

2020-01-29 Thread James Crate via 4D_Tech
In the debugger, look at your “emp” entity. It will show you the fields *and* relations. Just use the name it shows for the relation, I.e. $text:=$emp.Text and then access fields on $text like any other entity, or you can access the related one field directly.

Re: [Warning] Settings properties values on object field by object notation

2017-11-02 Thread James Crate via 4D_Tech
On Oct 31, 2017, at 10:32 PM, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> wrote: > but that's not how references work. > > for example, imagine a method that does this: > > // myMethod > C_OBJECT($0) > $0:=[myTable]myField > > it is possible to do something like this: > >

Re: [Warning] Settings properties values on object field by object notation

2017-11-02 Thread James Crate via 4D_Tech
On Oct 31, 2017, at 9:17 PM, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> wrote: > but objects are references, so it is possible to modify the field without > "touching" it. > the object notation is one way to do that. > but it is also possible using classic coding, > whereby you obtain a

Re: v13 - Renaming a Directory via code.

2017-10-24 Thread James Crate via 4D_Tech
On Oct 20, 2017, at 5:40 PM, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> wrote: > > On Oct 20, 2017, at 4:30 PM, Chip Scheide <4d_o...@pghrepository.org> wrote: > >>> $command_t:="mv "+GetPOSIXfilePath ($folderPath_t)+" >> had trouble here - >> apparently 4D's (v13) Convert path system to

Re: Server Process "Frozen"-ish

2017-09-10 Thread James Crate via 4D_Tech
On Sep 8, 2017, at 5:05 PM, Cannon Smith via 4D_Tech <4d_tech@lists.4d.com> wrote: > > I’ve seen something odd since upgrading our customers to v16.1 a few months > ago. This is on 64-bit server, both platforms. There are a few background > processes that continually run on the servers, waking

Re: Listbox Printing

2017-08-02 Thread James Crate via 4D_Tech
v16/4D/16/Print-object.301-3035768.en.html > >> 2017/08/03 3:18、James Crate via 4D_Tech <4d_tech@lists.4d.com> のメール: >> >> I am printing a listbox on a form which just has a detail section (i.e. >> Print Form). The listbox is printing, but variable sized a

Listbox Printing

2017-08-02 Thread James Crate via 4D_Tech
I am printing a listbox on a form which just has a detail section (i.e. Print Form). The listbox is printing, but variable sized according to the arrays, and I’d like fixed size with empty rows. There isn’t much documentation on printing listboxes, there’s no “Print variable frame” checkbox

Re: Fastest way to get text into a BLOB?

2017-08-01 Thread James Crate via 4D_Tech
On Aug 1, 2017, at 4:55 PM, David Adams via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Great idea - I was planning on trying out files after going with the > plug-in. I hadn't thought of your idea of parallelizing the task via files, > that's genius. Unfortunately, I think that these will be

Re: Fastest way to get text into a BLOB?

2017-08-01 Thread James Crate via 4D_Tech
On Aug 1, 2017, at 3:42 PM, David Adams via 4D_Tech <4d_tech@lists.4d.com> wrote: > > I'm starting with standard rows with UUIDs, strings, longs, reals, and > perhaps text. I need to go for maximum speed...most of the work on tuning > is on the Postgres side. Their high-speed entry command is

Re: Packages-building an installer

2017-07-11 Thread James Crate via 4D_Tech
On Jul 11, 2017, at 7:12 AM, Nigel Greenlee via 4D_Tech <4d_tech@lists.4d.com> wrote: > > I wondered if anyone else has used ‘Packages’ for creating an installer(maybe > you can suggest a similar product). I am creating a simple installer for an > in-house application-i will rather give the

4D v16 Table/Field numbers

2017-07-03 Thread James Crate via 4D_Tech
Since noticing the 4D function "Is field number valid”, making it easy to detect deleted fields, I thought field numbers would not be reused. It turns out this is not the case. A bit of testing reveals that 4D does not even clear the data when deleting a field, and still references data by

Re: 4D v16.1 HF1 HIDE PROCESS problem

2017-06-25 Thread James Crate via 4D_Tech
On Jun 24, 2017, at 3:28 PM, James Crate via 4D_Tech <4d_tech@lists.4d.com> wrote: > > 4D v16.1 HF1 32-bit on macOS 10.11 & 10.12, interpreted and compiled > > Calling HIDE PROCESS also stops that process from running. However, the > process status does not show

4D v16.1 HF1 HIDE PROCESS problem

2017-06-24 Thread James Crate via 4D_Tech
4D v16.1 HF1 32-bit on macOS 10.11 & 10.12, interpreted and compiled Calling HIDE PROCESS also stops that process from running. However, the process status does not show as paused; calling RESUME PROCESS also has no effect. Calling SHOW PROCESS will show the process and resume it on the next

Re: Web serving on OS X Server

2017-06-09 Thread James Crate via 4D_Tech
The easy way is to set up a webapp plist, and then just turn on that webapp for the appropriate domain (website). Here’s a sample plist. You should be able to mostly use the httpd.conf options you use behind Apache normally. http://www.apple.com/DTDs/PropertyList-1.0.dtd;>

Re: Migrating OS X server to Windows Server

2017-05-17 Thread James Crate via 4D_Tech
On May 17, 2017, at 9:12 AM, Paul Lovejoy via 4D_Tech <4d_tech@lists.4d.com> wrote: > > We are hitting the limits of our old xServe hardware which is currently > running large v12 databases. We are planning a major upgrade to 4D v15 but we > are running into difficulties with the stability of

Re: Is it possible to do a search in the file system from 4D

2017-05-16 Thread James Crate via 4D_Tech
There is likely a bit of overhead in LEP, plus the overhead of launching processes, which is going to add up when used in a loop like that. For this particular case, your fastest option is probably to build a C_OBJECT with the filenames as keys and the file paths as values, and in your loop

Re: How to detect EOL character in text file

2017-05-13 Thread James Crate via 4D_Tech
On May 13, 2017, at 8:53 AM, Peter Mew via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Replace text($text;lf;cr) > Replace text($text;crlf;cr) > Position($text;cr) > -pm This won’t detect the line endings, which is what was asked, it will change them to CR. However, to properly normalize line

Re: Experience with FTSY Sync Code//Speed up Sync Code

2017-04-26 Thread James Crate via 4D_Tech
On Apr 26, 2017, at 5:12 PM, Douglas von Roeder via 4D_Tech <4d_tech@lists.4d.com> wrote: > There are many, repetitive method calls. For example, each time the code > converts a byte range to a longint, it calls a function that returns the > byte order. As much as I never met a subroutine I

Re: Experience with FTSY Sync Code//Speed up Sync Code

2017-04-25 Thread James Crate via 4D_Tech
On Apr 24, 2017, at 11:20 PM, Douglas von Roeder via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Updating indexes takes some time but being able to update only 3 - 4 > records per second has got to have some other cause. If you've had positive > experience with that approach, perhaps I need to

Re: Components: How do you reuse utility code?

2017-04-22 Thread James Crate via 4D_Tech
>> IMO that is one of the biggest reasons there is no significant code-sharing >> or component community in 4D, as compared to almost any other language. >> There would need to be a “standard library” component that other components >> could depend on, or they all have to reinvent every wheel.

Re: Components: How do you reuse utility code?

2017-04-21 Thread James Crate via 4D_Tech
On Apr 21, 2017, at 12:41 PM, Peter Jakobsson via 4D_Tech <4d_tech@lists.4d.com> wrote: > > On 21 Apr 2017, at 02:44, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> wrote: > >> I think we sometimes forget that 4D is not a 3GL programming language like C >> or C++. 4D is a 4GL language. You

Re: Components: How do you reuse utility code?

2017-04-20 Thread James Crate via 4D_Tech
On Apr 20, 2017, at 9:42 PM, David Adams via 4D_Tech <4d_tech@lists.4d.com> wrote: > And again, I'm not asking for 4D to do a completely new language. No > thanks, we have a zillion modern languages to choose from. I'm asking for a > sensible evolution of the language: > > * Data structures

Re: Automated tasks on 4D Server

2017-04-18 Thread James Crate via 4D_Tech
> On Apr 17, 2017, at 8:16 PM, David Adams via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > On Tue, Apr 18, 2017 at 4:44 AM, James Crate via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> Every time I add some automatic process on the server, I wonder wheth

Automated tasks on 4D Server

2017-04-17 Thread James Crate via 4D_Tech
Every time I add some automatic process on the server, I wonder whether there is either a. some built-in functionality for this that I have completely missed or b. a component that can be easily integrated to add this functionality It’s easy enough to just start a process that does what is

Re: v13 and OS X 10.12

2017-04-13 Thread James Crate via 4D_Tech
On Apr 13, 2017, at 12:15 PM, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> wrote: > > What I need is some information on real world functionality of v13 on 10.12. > At the moment I have no components, and no plugins other then come with > 4D (i.e. 4D pop, SVG etc), and most of these could be

Re: Off topic, sending binary files

2017-04-10 Thread James Crate via 4D_Tech
On Apr 9, 2017, at 7:09 AM, Peter Mew via 4D_Tech <4d_tech@lists.4d.com> wrote: > I want to send a small Mac binary file to a friend. > [snip] > The binary is a command line program called scanimage, which allows me to > interface with a flatbed scanner from 4D using LEP, and works very well.

Re: CALL FORM: Some notes on a command that's easy to misunderstand

2017-03-20 Thread James Crate via 4D_Tech
On Mar 16, 2017, at 10:28 PM, David Adams via 4D_Tech <4d_tech@lists.4d.com> wrote: > > That's not what 4D's "messages" are, they're commands. In fact, the > best names for the new commands are probably these: > > EXECUTE METHOD IN WINDOW > EXECUTE METHOD IN WORKER I was looking forward to

Re: Survey on 4D’s strategy for implementing Preemptive Processing / worker processes

2017-02-22 Thread James Crate via 4D_Tech
> in what ways can Rails get to 4D data? Does all data need to be in > PostgresSQL database Rails knows about? > > Thanks, > > Robert > > Sent from my iPhone > >> On Feb 21, 2017, at 9:33 AM, James Crate via 4D_Tech <4d_tech@lists.4d.com> >> wrot

Re: Survey on 4D’s strategy for implementing Preemptive Processing / worker processes

2017-02-21 Thread James Crate via 4D_Tech
>> On Nov 3, 2016, at 8:11 PM, James Crate wrote: >> >> Ruby/Rails apps - processing large numbers of files; performing slow fuzzy >> search on slices of data; > On Feb 20, 2017, at 7:13 PM, Robert ListMail via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > Jim, are you