Re: Go watch Thomas Maul's presentation. Now.

2016-09-14 Thread John DeSoi
ures having to deal with interprocess communication. John DeSoi, Ph.D. ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/option

Re: Go watch Thomas Maul's presentation. Now.

2016-09-14 Thread John DeSoi
opinion, it is more difficult to read, write, and maintain. John DeSoi, Ph.D. ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d

Re: Go watch Thomas Maul's presentation. Now.

2016-09-14 Thread John DeSoi
s a property in my code, there is no way to safely make a change to that if I only want it to impact a subset of my objects. If you could declare constants in code without restarting 4D, it might change my mind. John DeSoi, Ph.D. > On Sep 14, 2016, at 6:44 PM, David Adams wrote: > >

Re: Output lists

2016-09-16 Thread John DeSoi
macOS changed to Helvetica Neue in Yosemite. http://www.theverge.com/2014/6/2/5773838/apple-os-x-yosemite-changes-system-font-for-first-time John DeSoi, Ph.D. > On Sep 16, 2016, at 2:18 PM, Tim Nevels wrote: > > I am lazy and just use the system font. Lucida Grande on macOS and Segoe

Re: Bonjour service discovery plugin

2016-09-23 Thread John DeSoi
ight be dns-sd using LAUNCH EXTERNAL PROCESS. Something like dns-sd -B _afpovertcp._tcp John DeSoi, Ph.D. ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html O

Re: TinyMCE in Web Area (again)

2016-09-27 Thread John DeSoi
owser, but not in a 4D web area. My alternative has been to use a styled text area and Markdown formatting. John DeSoi, Ph.D. > On Sep 27, 2016, at 4:57 AM, Foucauld Perotin wrote: > > So, my question: have some of you been further recently using tinyMCE in Web > Area? if yes, w

Re: How to resize PNG images for button icons

2016-10-13 Thread John DeSoi
I posted this method a while back which does not use SVG commands. http://kb.4d.com/resources/inug?msgid=GmailId145b02d07486aa50 John DeSoi, Ph.D. > On Oct 13, 2016, at 4:14 PM, Chip Scheide <4d_o...@pghrepository.org> wrote: > > I have one problem with this code >

Re: HTML Tag Mismatch Finder!

2016-10-17 Thread John DeSoi
Not a WYSIWYG editor, but BBEdit has a nice document syntax checker. John DeSoi, Ph.D. > On Oct 16, 2016, at 7:49 PM, Sujit Shah wrote: > > Has anyone got suggestions on WYSIWYG editors other than DW and MS Visual > Web? Somethin

Re: How to determine if a SET exists?

2016-10-18 Thread John DeSoi
resources are freed when an object is no longer needed. Then you could attach sets, named selections, and other types of resources to the object and clean them up when the object is no longer referenced. John DeSoi, Ph.D. > On Oct 18, 2016, at 5:52 PM, Sujit Shah wrote: > > It is s

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

2016-11-01 Thread John DeSoi
in your applications? I would be much more likely to use preemption if the above was possible. I think the proposal about changing the nature of IP variables is problematic and should be addressed in some other way. John DeSoi, Ph.D. **

Re: my Connect plugin help?

2016-11-02 Thread John DeSoi
ring to the specific type: http://dev.mysql.com/doc/refman/5.7/en/cast-functions.html#function_cast John DeSoi, Ph.D. ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/a

Correctly identify object clicked in a form method

2016-11-08 Thread John DeSoi
d has focus and you click on a button that is not focusable. My only idea so far is to get the mouse position and see which object it is in. Life would be simple if boolean fields responded to On Data Change like every other field type. That seems like a longstanding bug to me. John DeSoi,

Re: Correctly identify object clicked in a form method

2016-11-08 Thread John DeSoi
I can use on all forms and avoid adding an object method to every boolean field. OBJECT Get pointer(Object current) returns nil in the form method. No On Data Changed is fired for boolean fields, but it is for every other type of fi

Re: Correctly identify object clicked in a form method

2016-11-08 Thread John DeSoi
ne when a boolean field is changed. It only gets an On Clicked event. The boolean field may have the focus but it is not the object clicked on. The only work-around I have found is to see if the mouse is in the coordinates of the boolean field that has focus to determine if that

Re: Correctly identify object clicked in a form method

2016-11-08 Thread John DeSoi
forget to add the object method, now I have a bug. Every object that has data to change should support On Data Change. John DeSoi, Ph.D. ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: htt

Re: Correctly identify object clicked in a form method

2016-11-08 Thread John DeSoi
e it returns in the On Clicked event is not necessarily the one the user actually clicked on. Example: A boolean field has focus and the user clicks on a non-focusable button. The function returns the field's object name even though the user clicked on the button. Thanks for the ide

Re: Correctly identify object clicked in a form method

2016-11-08 Thread John DeSoi
> On Nov 8, 2016, at 7:32 PM, John DeSoi wrote: > > It has the same problem as OBJECT Get pointer(Object with focus). In the form > method, the value it returns in the On Clicked event is not necessarily the > one the user actually clicked on. Example: A boolean field ha

Re: Automatic Variable Assignment and Web Get Variables - Bad usage of pointer or pointer to an unknown variable

2016-11-09 Thread John DeSoi
any way we could avoid this from happening? We were hopeful that > using "undefined" would help but that doesn't work in a compiled database. Why not use an error handler to catch the error and abort processing of the form? John DeSoi, Ph.D. *

Re: Tokens for Methods?

2016-11-10 Thread John DeSoi
4D, but it is a very long road to get it right. You are better off using a language that has a parser generator. I wrote one in Lisp. If you want better direct integration with 4D, there are several parser generators available for Javascript. John DeSoi, Ph.D.

Re: Store BLOB's Outside the Data File

2016-11-15 Thread John DeSoi
he documents somewhere else (e.g. a website), it is a database problem rather than a file management problem. John DeSoi, Ph.D. ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://list

Re: Sequence Number Not Incrementing

2016-11-16 Thread John DeSoi
Sequence number does not increment unless you create or duplicate a record. John DeSoi, Ph.D. > On Nov 16, 2016, at 3:21 AM, Sujit Shah wrote: > > READ WRITE([Contact_Listing]) > For ($i;1;Size of array($alDuplicateIDs)) > QUERY([Contact_Listing];[Contact_Listing]ID=$al

Re: Downloaded 4D app: structure file in read only mode

2016-11-16 Thread John DeSoi
uble to launch a separate process and wait for the startup to complete. Just have the process check process 1 for status = Waiting for user event. John DeSoi, Ph.D. ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/f

Re: Passing Object Pointers vs References - slight 'gotcha'

2016-11-30 Thread John DeSoi
is: {"test":true} So the host sees both the added and removed property executed in the component. What am I missing? John DeSoi, Ph.D. ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archiv

Re: Debug Log Analyzer

2016-12-17 Thread John DeSoi
call with a large object parameter takes a long time even though 4D only writes a small amount of the JSON parameter to the log file. John DeSoi, Ph.D. > > On Dec 4, 2016, at 10:55 PM, Justin Carr > wrote: > > > As long as you're using the "new" v14 log f

Re: Tip (?): Escaping escape characters

2017-01-06 Thread John DeSoi
I recently had the need to store some static objects in methods and found what seems to be a fairly simple way. I have not tested it with anything large, but it might help spark some ideas. John DeSoi, Ph.D. === //Serialize the object to a 4D method. //$1 - Object. //$2 - Method name

Re: 4D UI code questions and observations

2017-01-09 Thread John DeSoi
e > implementations in Java, C++, Python, JavaScript and so on. Give his thread > a look and give it a +1! Facebook has opened sourced a cross platform layout engine called Yoga based on Flexbox. https://code.facebook.com/posts/1751945575131606 https://facebo

Re: Initiating a new process

2017-01-10 Thread John DeSoi
instead of ON ERR CALL("MY_ERROR_HANDLER") I added a feature request for this in the middle of last year. You can vote for it here if you agree: http://forums.4d.fr/Post/EN/17984703/1/17984704#17984704 John DeSoi, Ph.D. **

Re: OB commands, confirming a few points

2017-01-10 Thread John DeSoi
he only viable option is to store the type information with the value. John DeSoi, Ph.D. ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://list

Re: 4D Volume desktop v15/v16 in write protected folder

2017-01-11 Thread John DeSoi
x27;m not doing any Windows deployment right now, by maybe in the near future. I'm hoping 4D can install in the normal application directory before I have to deal with it :). John DeSoi, Ph.D. ** 4D Internet Users Grou

Re: Initiating a new process

2017-01-11 Thread John DeSoi
n value was not consumed. I think this went away in version 14 or 15. But it still does not help with the most needed case: EXECUTE METHOD. Thanks, John DeSoi, Ph.D. ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.c

Re: Website development path

2017-01-18 Thread John DeSoi
unusable during backups. And you have to bring down the website to perform software updates. John DeSoi, Ph.D. ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives

Re: Move v12 to v15 or v16

2017-01-20 Thread John DeSoi
executes to completion before the crash. The backtrace below is looks to be related to hierarchical menus perhaps? Does any of this look similar to your crashes? Thanks, John DeSoi, Ph.D. Process: 4D [23404] Path: /Applications/*/4D.app/Contents/MacOS/4D Identifier

Re: Plugin IDE Issues

2017-01-24 Thread John DeSoi
ng 4D, more accurately). I decided to try again with version 16 now that it is a full 64 bit Cocoa application and the legacy MacOS stuff is gone. So far, all of the things I failed to accomplish previously seem to be working in version 16. John DeSoi, Ph.D. **

Re: LISTBOX INSERT COLUMN not getting data

2017-01-28 Thread John DeSoi
Yes, you can declare a 2D array of each type and then just allocate listbox columns as needed from the 2D arrays. John DeSoi, Ph.D. > On Jan 28, 2017, at 12:07 PM, Lee Hinde wrote: > > In my case I am flattening out c_objectc/fields. By definition I don’t know > how many key

Re: Menu key shortcuts execute the wrong item in 4D 16

2017-02-13 Thread John DeSoi
two menu item shortcuts, E followed by P. Command-E executes the Command-P menu item. Command-P at the end of the menu does nothing. John DeSoi, Ph.D. > On Feb 13, 2017, at 1:36 PM, Paul Ringsmuth wrote: > > Configuration: > 4D v15.4 and 16 R2 build 16R2.208523 > MacBookPro OSX

Re: Amazon S3 API

2016-08-12 Thread John DeSoi
bsite link for more detail? John DeSoi, Ph.D. > On Aug 12, 2016, at 2:36 PM, ADeeg wrote: > > My goal is it to enhance my outlook mac users with html emails with embedded > pictures. Sending html emails is done with applescript, now I like to embed > pictures inside the html for

Re: 4D Client v15.2 crashing

2016-08-25 Thread John DeSoi
utes), or their > computer goes to sleep or sometime when their energy saver activated. Is > there a solution for this? You don't mention which platform, but I have often found the Mac OS crash logs to provide good hints about the cause of

Re: Using ListBoxes as Output forms

2016-08-30 Thread John DeSoi
fetching for the visible rows. John DeSoi, Ph.D. ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub:

Re: Using ListBoxes as Output forms

2016-08-31 Thread John DeSoi
event and fetch the next 1000 rows of data in the arrays. It is possible to implement very smooth scrolling of SQL data without loading huge amounts of data into arrays all at once. John DeSoi, Ph.D. > On Aug 31, 2016, at 1:51 PM, Alan Tilson wrote: > > John, > I did not re

Re: Using ListBoxes as Output forms

2016-08-31 Thread John DeSoi
e boolean array listbox. John DeSoi, Ph.D. > On Aug 31, 2016, at 3:30 PM, Jody Bevan wrote: > > Since v12 of 4D we had one form for all outputs. It used a listbox. We let > users determine which column they would show or not. We also let the system > administrator add new column

Re: Using ListBoxes as Output forms

2016-08-31 Thread John DeSoi
are using 4D's built-in sort dialog? John DeSoi, Ph.D. > On Aug 31, 2016, at 5:19 PM, Sannyasin Siddhanathaswami > wrote: > > I’m still stuck on not being able to get a complex sort from a selection so I > can do a sort again after changing the selection. I guess I need

Re: Go watch Thomas Maul's presentation. Now.

2016-09-07 Thread John DeSoi
Would it be that difficult for the compiler just to emit a runtime error if a non-preemptive command was called in a preemptive process? Looking forward to v16! John DeSoi, Ph.D. > On Sep 5, 2016, at 4:53 PM, Cannon Smith > wrote: > > I also really enjoyed watching the vide

Re: Go watch Thomas Maul's presentation. Now.

2016-09-08 Thread John DeSoi
No need for duplicates as long as I don't care about having any pre-emptive processes, right? In the current design, the method that starts the process and every method in it's call chain must have only pre-emptive commands if I want it to run in pre-emptive mode. Correct? John D

Re: 4Dv15 and El Capitan

2016-09-09 Thread John DeSoi
Are you using the new network layer and the 64 bit version of 4D server? It might be worth trying to turn off the new network layer or even just run the 32 bit version for now. Those features are very new. 15.2 32 bit has been very stable. John DeSoi, Ph.D. > On Sep 9, 2016, at 3:12

Re: 4Dv15 and El Capitan

2016-09-11 Thread John DeSoi
rver.app/Contents/MacOS/4D Server Identifier:com.4D.4DServer Version: 15.2 build 15.198931 (15.0.2) Code Type: X86-64 (Native) Parent Process:??? [1] Responsible: 4D Server [17964] User ID:

Re: 4D Write/4D Write Pro

2016-09-13 Thread John DeSoi
]) ALL RECORDS([Table]) APPLY TO SELECTION([Table];[Table]Pro_object:=WP New([Table]Old_blob)) John DeSoi, Ph.D. > On Sep 13, 2016, at 10:30 AM, BrianW wrote: > > Not sure if this is the appropriate place to place this question. If not, my > apologies, and please point me to the rig

Re: SFTP - Native to 4D?

2017-09-13 Thread John DeSoi via 4D_Tech
SFTP. The letters are similar, but the protocols are totally unrelated. I ended up creating some 4D wrapper methods that can implement both protocols. Somewhat painful using LEP, but completely doable on the Mac. John DeSoi, Ph.D. *

Re: SFTP - Native to 4D?

2017-09-13 Thread John DeSoi via 4D_Tech
can use "ssh-keygen" on macOS (man ssh-keygen for details). Using a "client certificate supplied to us for encrypting payments via LAUNCH EXTERNAL PROCES using PHP cURL" sounds like something unrelated to SFTP. John DeSoi, Ph.D.

Re: Server Process "Frozen"-ish

2017-09-14 Thread John DeSoi via 4D_Tech
I'm also waiting to be convinced that 4D Client performance with the new network layer on on par with version 15. It seems the majority of comments have been negative. It would be great to hear some success stories for 64bit 4D Cli

Re: 4D v16.2 false record locks

2017-09-18 Thread John DeSoi via 4D_Tech
;t think I have seen it in the last few weeks since upgrading from 16.1HF2 to 16.2. John DeSoi, Ph.D. > On Sep 18, 2017, at 9:10 AM, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Has anyone who uses v16 run across false record locks being reported? > &g

Re: 4D v16.2 false record locks

2017-09-19 Thread John DeSoi via 4D_Tech
ding to 16.2. This is a single user application with one process accessing the record. There is a trigger, but it just assigns one field and nothing else (no "fancy stuff"). John DeSoi, Ph.D. ** 4D Internet Users Grou

Re: PostgreSQL SELECT... RETURNING ID

2017-09-21 Thread John DeSoi via 4D_Tech
That should work without problems. PgSQL Select and PgSQL Execute mostly do the same things except Execute does not return rows. The "returning" clause makes it a set returning SQL command so PgSQL Select is the right plugin command. John DeSoi, Ph.D. > On Sep 21, 2017, at 9:3

Re: PostgreSQL SELECT... RETURNING ID

2017-09-21 Thread John DeSoi via 4D_Tech
"id" column value of your table, the returning clause is what you want. If you use PgSQL Get Last Insert Row ID, you would have to execute another query to lookup the row by OID and then get the value. John DeSoi, Ph.D. > On Sep 21, 2017, at 11:57 AM, Jeffrey Kain wrote: >

Re: Procedurally adding attributes to ST SET ATTRIBUTES

2017-09-21 Thread John DeSoi via 4D_Tech
the selection constants. John DeSoi, Ph.D. > On Sep 21, 2017, at 10:05 AM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > *ST SET ATTRIBUTES*(oWPdoc;$offset;iwpOffset;atStyles{1}) > > How would the styles be built? I've tried things like > > $style:

Re: 4D v16 issues

2017-09-22 Thread John DeSoi via 4D_Tech
Windows or mixed? Is the server Mac or Windows? For an all Mac installation, using the old network layer means keeping 32-bit 4D. Finally getting to 64-bit 4D was one of the primary benefits of version 16 on the Mac. John DeSoi, Ph.D.

Re: 4D v16.2 false record locks

2017-10-03 Thread John DeSoi via 4D_Tech
> On Sep 19, 2017, at 7:33 PM, John DeSoi wrote: > > I still think there is a new bug in version 16, but I have not seen it happen > again since upgrading to 16.2. This is a single user application with one > process accessing the record. There is a trigger, but it just assig

Re: 4D v16.2 false record locks

2017-10-03 Thread John DeSoi via 4D_Tech
Not the case here. Table is set to READ WRITE at the start of the process and never changed. John DeSoi, Ph.D. > On Oct 3, 2017, at 10:25 AM, Chip Scheide <4d_o...@pghrepository.org> wrote: > > one thing that bit me in earlier versions (not v16) is Read Only. > A record is

Re: 4D v16.2 false record locks

2017-10-03 Thread John DeSoi via 4D_Tech
. It is a lot of time and effort and there are only so many hours in a day. I find it useful when other developers report their problems and experiences (good and bad) on this list. Other developers with the same problem may have identified a helpful work-around or alternative solution. John

Re: 4D v16.2 false record locks

2017-10-03 Thread John DeSoi via 4D_Tech
not seen this issue previously in 16.2. The effort for 4D to follow this list (assuming they already do) is tiny compared to filing a bug without a reproducible test case. If the information on this list is not helpful to 4D in any way, they are free to ignore it. I find observations posted by

Re: Post Key command not working in converted 4Dv16 database

2017-10-10 Thread John DeSoi via 4D_Tech
(Current process;1) after the CALL PROCESS command. John DeSoi, Ph.D. > On Oct 9, 2017, at 8:41 AM, Ken Daniel via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Koen & Steve, thanks for the tip, but in this case I am using POST > KEY(Character code(".");Comman

Re: Post Key command not working in converted 4Dv16 database

2017-10-10 Thread John DeSoi via 4D_Tech
tures embedded in specially encoded comments where I can easily activate the changes after the conversion from 15. John DeSoi, Ph.D. > On Oct 10, 2017, at 8:13 AM, David Adams via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hey John, if you still need to fix what you descri

Re: Min/Max for Date Fields in 4D

2017-10-12 Thread John DeSoi via 4D_Tech
er 10 seconds in single user mode. 4D has to load a lot of index pages. Does not seem to be a problem for cluster b-tree indexed fields. John DeSoi, Ph.D. > On Oct 12, 2017, at 3:37 PM, Alan Tilson via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > But the longint field has uni

Re: Anyone using 4D Write Pro with a semblance of success?

2017-10-17 Thread John DeSoi via 4D_Tech
oss documents. I also came across this today: ProseMirror, A toolkit for building rich-text editors on the web. http://prosemirror.net John DeSoi, Ph.D. ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.

Re: PDF in Web Area not displaying on a Mac

2017-10-18 Thread John DeSoi via 4D_Tech
be try a shorter (< 32 character file name). I tried displaying PDFs on the Mac from the temporary folder and could not get it to work (long and strange path names). Seems to work fine from other directories with relatively short file names (tested 15.4 and 16.2 Mac). John DeSoi, Ph.D.

Re: Move a progress bar before it opens

2017-10-21 Thread John DeSoi via 4D_Tech
)? I don't think it is possible (unless you hack the source yourself). I went to a lot of trouble just to manage the last reference open and hide it rather than closing it so that the next time it is used it opens where th

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra. Need logging advice.

2017-11-05 Thread John DeSoi via 4D_Tech
You may have said so earlier, but is the machine set to never sleep in the Energy control panel? RE: caffeinate If you launch 4D using caffeinate /path/to/4d, the machine should not go to sleep until 4D quits. See also the -w option where you can have 4D set it up after it has started. John

Re: Slow characters visualization

2017-11-06 Thread John DeSoi via 4D_Tech
On the Mac I notice a significant slowdown if I have more than a few methods open that have a lot of code. Closing the big methods seems to fix the problem. John DeSoi, Ph.D. > On Nov 6, 2017, at 3:03 PM, stardata.info via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I use 4

Re: BLOB CONFRONT

2017-11-08 Thread John DeSoi via 4D_Tech
You should add a case to compare the size before using the digest method. Another option not mentioned is comparing the BASE64 encoding. No idea how that might compare with generating a digest. John DeSoi, Ph.D. > On Nov 8, 2017, at 12:47 AM, Wayne Stewart via 4D_Tech <4d_tech@lists.

Re: 4D Backup causes 4D Remote to hang (15.4)

2017-11-14 Thread John DeSoi via 4D_Tech
Are there database requests coming in via the web server at the time of the backup? Have you tried turning off the web server during backup? Or at least return an error response if access to the database is needed when backup is running. John DeSoi, Ph.D. > On Nov 14, 2017, at 8:40

Re: wa open url command in v15

2017-11-16 Thread John DeSoi via 4D_Tech
Is there an Acrobat PDF plugin in /Library/Internet Plug-ins/ or ~/Library/Internet Plug-ins/? Try removing it. http://osxdaily.com/2014/10/05/delete-adobe-acrobat-reader-safari-plugin/ John DeSoi, Ph.D. > On Nov 16, 2017, at 11:13 AM, Charles Miller via 4D_Tech > <4d_tech@lis

Re: Slow characters visualization

2017-11-20 Thread John DeSoi via 4D_Tech
16.2 on the same computer. Just wanted to mention it for those that might be considering using 10.13 with 4D 15. Method editing is not only slow, but startup time and any database operation seems perceptively slower. Probably no surprise since 4D 15 is not certified to work with 10.13. John DeSoi

Re: 4D Server / Remote 16.2 64-bit macOS 10.12.6 or 10.13

2017-11-30 Thread John DeSoi via 4D_Tech
configuration. The server has been running automated procedures for weeks. I have not seen the DELAY PROCESS hanging bug previously discussed here. John DeSoi, Ph.D. > On Nov 30, 2017, at 9:48 AM, Jody Bevan via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > When I read that Apple was

Re: Strange problem with v16 and Launch External Process in a component

2017-12-04 Thread John DeSoi via 4D_Tech
Anything unusual about the LEP call -- just using locals and specifying all of them? That alone should make it execute in blocking mode. E.g. LAUNCH EXTERNAL PROCESS($cmd;$in;$out;$err) Lots of bugs have been fixed since 16.0. Have you tried 16.2? John DeSoi, Ph.D. > On Dec 4, 2017, at 10

Re: HTTP Get and HTTP Request Blocking Server?

2017-12-15 Thread John DeSoi via 4D_Tech
works and you can trace method calls on both sides of the interface. There is no way this would work if the client blocked execution until the end of the response. John DeSoi, Ph.D. ** 4D Internet Users Group (4D iNUG) FAQ: http://

Re: Menus and components

2017-12-18 Thread John DeSoi via 4D_Tech
property set for the menu item to work. I get a error that the method is not found otherwise. John DeSoi, Ph.D. ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/arc

Re: Menus and components

2017-12-18 Thread John DeSoi via 4D_Tech
DeSoi, Ph.D. > On Dec 18, 2017, at 7:59 AM, John DeSoi via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > This is working for me in version 16 (16.3). I set the main menu bar with a > callback to the host. Then the component appends some additional menus > created in the co

Re: Curious about "functional programming"

2017-12-21 Thread John DeSoi via 4D_Tech
nificance? I think making every method functional with minimal side effects is a good goal. But I don't think it is possible to write understandable and maintainable 4D code using a purely functional approach. John DeSoi, Ph.D.

Re: Re(2): Curious about "functional programming"

2017-12-22 Thread John DeSoi via 4D_Tech
ystems and some newer languages were designed with functional support features specifically for this purpose. For example see Clojure, Haskell, and Erlang. John DeSoi, Ph.D. ** 4D Internet Users Group (4D iNUG) FAQ: http://lis

RESOLVE POINTER does not work in preemptive processes

2017-12-28 Thread John DeSoi via 4D_Tech
Var;$varName;$tableNum;$fieldNum) `$varName returns "" John DeSoi, Ph.D. ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/ma

Re: RESOLVE POINTER does not work in preemptive processes

2017-12-28 Thread John DeSoi via 4D_Tech
Same problem, always empty. John DeSoi, Ph.D. > On Dec 28, 2017, at 11:57 AM, Chip Scheide <4d_o...@pghrepository.org> wrote: > > what about: > C_TEXT(myTextVar) > C_POINTER($myPointer) > C_TEXT($varName) > C_LONGINT($tableNum;$fieldNum) > > $myPoint

Re: DELAY PROCESS bug

2018-01-05 Thread John DeSoi via 4D_Tech
es it. John DeSoi, Ph.D. > On Jan 5, 2018, at 12:33 PM, Cannon Smith via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I wonder if this might be related to the Server Process Frozen issue lots of > us have been experiencing. It sounds like the resu

Re: DELAY PROCESS bug

2018-01-08 Thread John DeSoi via 4D_Tech
execution process and see that happens. John DeSoi, Ph.D. > On Jan 8, 2018, at 1:39 AM, Bernd Fröhlich via 4D_Tech <4d_tech@lists.4d.com> > wrote: > >> That's not really a solution though, we'd have to write like a process >> watching that would have t

BRING TO FRONT for process windows minimized

2018-01-10 Thread John DeSoi via 4D_Tech
minimized in the dock are not included in the WINDOW LIST. All of this makes it a lot more complicated to use CALL FORM when all you have is a process number and need to determine the window reference. John DeSoi, Ph.D. ** 4D Internet

Re: Parsing output from EXPORT STRUCTURE

2018-01-17 Thread John DeSoi via 4D_Tech
The code below works for me (16.3) without errors. Are you passing the validation parameter? C_TEXT($struct;$xml) EXPORT STRUCTURE($struct) $xml:=DOM Parse XML variable($struct) John DeSoi, Ph.D. > On Jan 17, 2018, at 10:07 AM, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com>

Re: 4D SQL Question

2018-01-23 Thread John DeSoi via 4D_Tech
. It is somewhat complicated to implement, but provide a seamless interface for scrolling large record sets without loading everything into memory. John DeSoi, Ph.D. > On Jan 23, 2018, at 7:22 AM, Jim Dorrance via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > What I am doing now

Re: Print settings Crash

2018-01-24 Thread John DeSoi via 4D_Tech
ill get it. Maybe you have to license it again after all the old licenses are removed. > > The MBP computer is a 2013 model and no Touch Bar 16 Gb Ram. > > Thinking what to try next... Have you looked at the crash reports? Sometimes those give a clue. Open Console and clic

Re: Problems installing built application

2018-01-31 Thread John DeSoi via 4D_Tech
You can do this with the default data file. The new model allows you to startup your app and then switch to another database without showing the open database dialog. You can switch to an existing one or create a new one on the fly. John DeSoi, Ph.D. > On Jan 31, 2018, at 1:35 PM, macji

Re: Bug or feature?

2018-02-01 Thread John DeSoi via 4D_Tech
There are no work-arounds for runtime errors. 4D throws up an error dialog and allows the end user to decide what to do, even if executing on 4D Server or in a web process. See feature request and discussion here: http://forums.4d.com/Post/EN/17994245/1/19128922 John DeSoi, Ph.D. > On

Re: Problem with PDF Creation into Temporary Folder (Follow-up)

2018-02-03 Thread John DeSoi via 4D_Tech
folder) in client server mode would be in ~/Library/Caches/4D John DeSoi, Ph.D. > On Feb 3, 2018, at 9:28 AM, Stephen Shaw via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > 3. Error -43 is returned on the following line >$error:=SMTP_Attachment ($smtp_id; $document; 2; 0;

QuickReports v16 64-bit Mac on a form

2018-02-20 Thread John DeSoi via 4D_Tech
ports with something else. Is anyone successfully using 64 bit Quick Reports on a form with a custom interface? I could not find any demo databases - there is one for a summit presentation, but that is only available to attendees. John D

Re: 4D 16.3 Backup hanging

2018-03-12 Thread John DeSoi via 4D_Tech
the display not to sleep and that seemed to solve the problem. John DeSoi, Ph.D. > On Mar 12, 2018, at 4:19 PM, Justin Leavens via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > I've got a Mac server 16.3 (64-bit Merged) that periodically will hang when a > backup

Re: 4D 16.3 Backup hanging

2018-03-13 Thread John DeSoi via 4D_Tech
- it hangs or becomes disconnected. This worked without problems in version 15. No problems executing the same method from the client directly. John DeSoi, Ph.D. > On Mar 13, 2018, at 12:16 AM, Justin Leavens via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > Yes, this is

Re: Using a Web Area as a Data Entry Area

2018-03-17 Thread John DeSoi via 4D_Tech
ning curve. John DeSoi, Ph.D. > On Mar 16, 2018, at 3:09 PM, Bob Miller via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > So my questions are: >> What are best practices for setting up an enterable HTML table that

Re: Where can I find 4D Internet Commands (for v16)?

2018-03-21 Thread John DeSoi via 4D_Tech
have. On the Mac, this is located in 4D.app/Contents/Plugins/4DInternetCommands.bundle John DeSoi, Ph.D. > On Mar 21, 2018, at 3:00 PM, Bob Miller via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I feel a bit silly, but I've just killed an hour looking for the v16 > v

Re: Collections

2018-03-21 Thread John DeSoi via 4D_Tech
indexes 0-246) empty elements in the collection. Would love to hear confirmation or denial from some one at 4D that knows the internals. John DeSoi, Ph.D. > On Mar 21, 2018, at 4:19 PM, Lee Hinde via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Please. You mean like an array in

Re: Collections

2018-03-21 Thread John DeSoi via 4D_Tech
ll be waiting for a while... John DeSoi, Ph.D. > On Mar 21, 2018, at 7:41 PM, Timothy Penner wrote: > > Actually, it does create 247 empty elements (null to be exact). > > Try it and look in the debugger.

Re: When your Extreme router is too slow... (5N)

2018-03-23 Thread John DeSoi via 4D_Tech
place to start. Just be sure to ask which hardware options support gigabit WAN. I know the lowest end option they have maxes out well below 1000 Mbs. https://www.pfsense.org/products/ John DeSoi, Ph.D. > On Mar 22, 2018, at 7:03 PM, Robert ListMail via 4D_Tech > <4d_tech@lists.4d.c

Re: Web Server Freeze

2018-04-11 Thread John DeSoi via 4D_Tech
What 4D version? Mac or Windows? > On Apr 11, 2018, at 6:55 PM, Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > We are having random occasional freezing of the Web Server with several > SOAP call processes accumulating on the Server Process window with a > "waiting for flag" state. Ev

Re: Web Server Freeze

2018-04-11 Thread John DeSoi via 4D_Tech
I had tremendous problems with "waiting for flag" lockups in version 14 (Mac Server) related to transactions. No more problems after upgrading to version 15. It was a long road, hope you can find it. John DeSoi, Ph.D. > On Apr 11, 2018, at 7:29 PM, Sujit Shah via 4D_Tech <4d_t

Re: Anyone using Thomas Maul's Email Component in v16.x?

2018-04-18 Thread John DeSoi via 4D_Tech
4d.fr/fixedbugslist?Version=16.3_HF2 John DeSoi, Ph.D. > On Apr 18, 2018, at 11:12 AM, Dave Nasralla via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > The problem I am running into is that the body text is now

  1   2   3   4   >