Re: PHP Execute

2017-07-14 Thread Paul Dennis via 4D_Tech
It works uncompiled what makes you think it wont ? I will check. Paul -- View this message in context: http://4d.1045681.n5.nabble.com/PHP-Execute-tp5753151p5753153.html Sent from the 4D Tech mailing list archive at Nabble.com.

PHP Execute

2017-07-14 Thread David Ringsmuth via 4D_Tech
Does PHP Execute work in 4D v15.4 (windows) compiled built app? (please say yes) David Ringsmuth ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options:

Re: CROP A PDF DOCUMENT

2017-07-14 Thread Keisuke Miyako via 4D_Tech
this might work https://github.com/miyako/4d-plugin-imagemagick documented here https://github.com/miyako/4d-plugin-imagemagick/blob/master/ImageMagick/06-32%20ImageMagick.pdf 2017/07/15 6:40、stardata.info via 4D_Tech <4d_tech@lists.4d.com>

Re: Thinking through object/text fields: Findings summarized, advice solicited

2017-07-14 Thread David Adams via 4D_Tech
On Sat, Jul 15, 2017 at 7:36 AM, Kirk Brooks via 4D_Tech < 4d_tech@lists.4d.com> wrote: > > Perhaps this is what you are saying and I'm just reading too narrowly (it's > been that sort of week). > I'm not sure, but I was reading Julio's comment as something akin to "David, don't do what you

Re: Thinking through object/text fields: Findings summarized, advice solicited

2017-07-14 Thread David Adams via 4D_Tech
Right, good point about the SQL goof. I have a little test window for SQL statements I use regularly for data exploration. Handy! Double-click a table name and automatically get a pre-built SELECT, etc. I had to update it to scan the list of fields for object field types and exclude them. Pity.

Re: Facial Detection/recognition

2017-07-14 Thread Peter Mew via 4D_Tech
Thank You That is really useful. Could I prevail upon you to do the same for the other Functions. PY_CROP_FACES PY_CREATE_RECOGNIZER PY_NORMALIZE_FACES PY_PREDICT Thanks, and good luck if you ever meet Monica -pm On Fri, Jul 14, 2017 at 5:35 PM, Balinder Walia

CROP A PDF DOCUMENT

2017-07-14 Thread stardata.info via 4D_Tech
Hi all, I need to take a part of a pdf document and save this as a jpeg or png in one folder. Is possible to do this using a 4D commands on windows? Thanks /Ferdinando/ ** 4D Internet Users Group (4D iNUG) FAQ:

RE: User environment "List of Tables" Stuck - TeamViewer - Yech!

2017-07-14 Thread Timothy Penner via 4D_Tech
It looks like we also have a similar document on KB: http://kb.4d.com/assetid=77767 -Tim ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options:

Re: Thinking through object/text fields: Findings summarized, advice solicited

2017-07-14 Thread Kirk Brooks via 4D_Tech
Julio, I don't think 'variable structure' is necessarily the defining element. It's certainly good for that but now that we can search on these fields they're also good for situations where you want to allow each record to have some large number of fields most of which won't ever be used but need

RE: User environment "List of Tables" Stuck - TeamViewer - Yech!

2017-07-14 Thread Randy Engle via 4D_Tech
Tim, Cool. Thanks! Randy Engle, Director XC2 Software LLC – XC2LIVE! -Original Message- From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Timothy Penner via 4D_Tech Sent: Friday, July 14, 2017 1:38 PM To: 4D iNug Technical <4d_tech@lists.4d.com> Cc: Timothy Penner

RE: User environment "List of Tables" Stuck - TeamViewer - Yech!

2017-07-14 Thread Timothy Penner via 4D_Tech
I think disabling the "QuickConnect" option in TeamViewwer will correct the issue. Here is a document put out by Sage.com regarding their Timeslips application and this issue: https://support.na.sage.com/selfservice/viewContent.do?externalId=30978=1 -Tim

Re: User environment "List of Tables" Stuck - TeamViewer - Yech!

2017-07-14 Thread Adam Bevan via 4D_Tech
Must be my problem too. Though it would only happen on my windows 10 machine. My mac is unaffected by the issue. Adam Bevan Developer & CEO, Argus Productions Inc. On 13 July 2017 at 21:07, Randy Engle via

Re: Facial Detection/recognition

2017-07-14 Thread Chip Scheide via 4D_Tech
IFTFU: It thinks I am Bill Clinton (at least my eyes are like him)...Perfect excuse if Monica Lewinsky stood in front of me. Hi Monica, it's Ball Clinton :) On Fri, 14 Jul 2017 17:35:54 +0100, Balinder Walia via 4D_Tech wrote: > It thinks I am Bill Clinton (at least my eyes are like

Re: Facial Detection/recognition

2017-07-14 Thread Balinder Walia via 4D_Tech
Here you go: https://docs.google.com/document/d/14QuAxMDfuwBmoriAgTngV2A9vuXIpxQLQyEjf5yYZv8/edit?usp=sharing Let me know if you want more methods :-) It thinks I am Bill Clinton (at least my eyes are like him)...Perfect excuse if Monica Lewinsky stood in front of me. Hi Monica, it's Bal

Facial Detection/recognition

2017-07-14 Thread Peter Mew via 4D_Tech
Hi Im interested in playing with Facial Detection/Recognition, from within 4D Ive found this demo database kb.4d.com/assetid=77536, in the knowledge base. However, I cant open it in v13.6, and while I can run it in a demo version of v15, I cant open it in designer mode. Could some one please open

Re: Getting Computer and OS Info

2017-07-14 Thread Jeremy Roussak via 4D_Tech
Canon, This seems to work, on my MacBook at any rate. Can’t help with Windows. C_TEXT($in;$out;$pattern;$model;$swVersion) LAUNCH EXTERNAL PROCESS("/usr/sbin/system_profiler SPHardwareDataType SPSoftwareDataType";$in;$out) ARRAY LONGINT($starts;0) ARRAY LONGINT($lens;0) $pattern:="(?m)Model

RE: Folder separator constant

2017-07-14 Thread David Ringsmuth via 4D_Tech
Tim,  It seems possible to me that there is another option for the “Folder separator” character. On startup the address for this character is populated with the correct value. Thereafter it is retrieved as any other constant. I’m guessing it is determined in runtime, most likely at startup.

Re: Thinking through object/text fields: Findings summarized, advice solicited

2017-07-14 Thread Jim Hays via 4D_Tech
> * Unless you need the object field index & search, there is exactly *no > reason* to use an object field instead of a text field. We have a need for customers to create their own fields - dates, numbers, texts, possibly pictures. Haven't actually done it yet, but we expect that Object fields

Re: Thinking through object/text fields: Findings summarized, advice solicited

2017-07-14 Thread Charles Miller via 4D_Tech
I think just one more thing and that is a caveat. You can NOT access object fields with SQL. You would have to write a sql fn call that would return the data to you. I for one will not be using object fields until they become available through sql. As much as I like the idea, I move to much data

Re: Very Simple Way to Access Server with Two Copies of Remote from the Same Machine

2017-07-14 Thread Chip Scheide via 4D_Tech
I assumed same server. On Fri, 14 Jul 2017 14:09:26 +, Keisuke Miyako via 4D_Tech wrote: > I don't think it is necessary to create copies if you are connecting > to different servers. > > just use > > open -n > >

Re: Very Simple Way to Access Server with Two Copies of Remote from the Same Machine

2017-07-14 Thread Keisuke Miyako via 4D_Tech
I don't think it is necessary to create copies if you are connecting to different servers. just use open -n https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man1/open.1.html but you do need to create a copy and give it a ClientLocal folder if you need to

Re: v13+ - How to do a 'Find in array' with a picture array?

2017-07-14 Thread Chip Scheide via 4D_Tech
Thanks for the pointers to Hashing functions! Im putting together a file re-namer utility. drag n drop file from file system to 4D window, allow the user to do various renaming functions with the files/folders. i.e. add/change/remove an extension, rename, make visible/invisible, add/remove

Re: Very Simple Way to Access Server with Two Copies of Remote from the Same Machine

2017-07-14 Thread Chip Scheide via 4D_Tech
on a Mac, assume similar for Windows. Create as many copies of the application as needed, open and 'point' to server. My dock has 7 4D icons in it. (3 v13, 2 v12, 2 v11) On Fri, 14 Jul 2017 09:13:35 +1000, Wayne Stewart via 4D_Tech wrote: > Doug, > > I think you've been asleep at the wheel

RE: v13+ - How to do a 'Find in array' with a picture array?

2017-07-14 Thread Chip Scheide via 4D_Tech
this will work, as the icon is the picture. Thanks On Thu, 13 Jul 2017 20:26:51 +, Timothy Penner via 4D_Tech wrote: > Another approach instead of comparing MD5 hashes, could be to compare > the pictures directly using the EQUAL PICTURES command (created in > v13): >

Re: Getting Computer and OS Info

2017-07-14 Thread Bruno LEGAY via 4D_Tech
Hi, On Windows you can use "wmic" to access this kind of information (LEP). On Mac OS X you can use "system_profiler" (LEP). I'll send you some sample code to do this. HTH Bruno ** 4D Internet Users Group (4D iNUG) FAQ:

Re: Wiki software: Confluence

2017-07-14 Thread Bruno LEGAY via 4D_Tech
Hi, We have been using wikis for more than 10 years and we love them. I did write post on the nug about it. We use it internally for everything, information on clients, projects, application version history, meeting reports/minutes, standard procedures, coding practice, naming convention

Re: Thinking through object/text fields: Findings summarized, advice solicited

2017-07-14 Thread Walt Nelson via 4D_Tech
David, Given that 4D and Wakanda use the same data engine (from my limited understanding of Wakanda, I believe they do), have you spoken to anyone on the Wakanda team about your concerns/questions? Just thought I would throw that into the mix. Thanks, Walt Nelson (Seattle) New stuff coming!

Re: Thinking through object/text fields: Findings summarized, advice solicited

2017-07-14 Thread David Adams via 4D_Tech
John, Good point thanks. That could be a meaningful help in a situation where 4D is being used to generate JSON blocks to pump out to another system. That's exactly what I'm thinking about. 4D doesn't have built in data analysis or visualization tools (well, there is sort of graph feature, but

Re: Thinking through object/text fields: Findings summarized, advice solicited

2017-07-14 Thread John DeSoi via 4D_Tech
If storage space is a primary constraint and object indexing is not needed, you can use a blob to store as UTF-8 text. VARIABLE TO BLOB with object uses UTF-8 text (tested 15.4, not 16). In your example where you basically wanted to store an object array directly, you could stringify the

Re: Thinking through object/text fields: Findings summarized, advice solicited

2017-07-14 Thread Jim Dorrance via 4D_Tech
I agree... If the structure is fixed and the values need to be visualised,I: Store in specific arrays. Arrays to blob. Blob to field (or Document). To visualise: Blob from Document or field Blob to arrays Arrays to Listbox and my QuerySort component to search etc On Fri, Jul 14, 2017 at 10:49

Re: Thinking through object/text fields: Findings summarized, advice solicited

2017-07-14 Thread David Adams via 4D_Tech
Julio, Thanks for the excellent points you added to the first post. ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options:

Re: Thinking through object/text fields: Findings summarized, advice solicited

2017-07-14 Thread Julio Carneiro via 4D_Tech
On Jul 14, 2017, at 4:21 AM, David Adams via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Does that all sound about right? Am I missing reasons why I would want to > use object fields. vs. text fields? Any other technical details that people > have learned or figured out? I’d add that using an