RE: Necessary To End Task After Quitting Server

2020-02-26 Thread Timothy Penner via 4D_Tech
Hi Chuck,

I believe you are referring to the "Tasks Pending" dialog: let me include a 
link to the forums with screenshots to provide additional context in case this 
is what you are referring to:
https://forums.4d.com/Post/EN/23029409/1/23029410#23029410

I didn’t get the impression that Allan was seeing this dialog... but maybe they 
just didn't notice the error message?

-Tim
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Necessary To End Task After Quitting Server

2020-02-26 Thread Timothy Penner via 4D_Tech
Hi Allan,

> the very last line of code in the On Server Shutdown message is a logging 
> entry, which DOES get executed so we no it's not getting hung up on code in 
> there.

Perhaps the application is releasing the memory? 

Take a look at the Task Manager and watch the memory for the 4D Server.exe 
process after you choose QUIT. Essentially the memory value of the process 
decreases until it reaches 0 and then the application finally quits. The 
release of memory was sometimes slower in large application with very large 
cache sizes running with some of the v17.x-v17R releases.

Good news, with optimizations in v18 this process of quitting seems to be about 
10x times faster - 

For example:
- With a cache having 28GB of data
- With 4D 17 R5 Time to quit : 3m 20s
- With 4D v18 and the new optimization. Time to quit :  16 seconds.

If this is what you are seeing I would suggest either waiting until the process 
completes on its own or upgrading to v18 to get the optimization, bottom line 
is to avoid using the "End Task" feature if at all possible.

-Tim
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: New Notarization Issues

2020-02-12 Thread Timothy Penner via 4D_Tech
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 more and more parts 
internally, and with the offscreen web area allowing to execute JavaScript this 
might increase.

The bottom line is that as of today 4D is not designed to work in a modular 
base, where a customer can remove unwanted parts without impacting the total 
application.

Sorry for the misguidance!

-Tim



-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of James Crate via 
4D_Tech
Sent: Tuesday, February 11, 2020 1:26 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: James Crate 
Subject: Re: New Notarization Issues

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 have to accept the 
>> extra 275MB on my app size.
> 
> True, if you modify the application package AFTER signing then the signature 
> becomes invalid.
> 
> However, you could modify the source package PRIOR to running the build 
> application command, by removing the “Contents/Native 
> Components/WebViewerCEF.bundle" file from the 4D Volume Desktop.app and 4D 
> Server.app packages...  In this way, when the BUILD APPLICATION command 
> merges the applications together the WebViewerCEF.bundle is already removed 
> before the built-in signing operation takes place.

I thought about that. If I have to mess around with the code signing script 
again I’ll probably switch to just doing that. I’m already running the BUILD 
APPLICATION command with a custom project xml file which I update with the 
version, so I could pretty easily update that to use a customized 4D Volume 
Desktop.app.

Jim Crate

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: New Notarization Issues

2020-02-11 Thread Timothy Penner via 4D_Tech
Hi James,

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 have to accept the extra 
> 275MB on my app size.

True, if you modify the application package AFTER signing then the signature 
becomes invalid.

However, you could modify the source package PRIOR to running the build 
application command, by removing the “Contents/Native 
Components/WebViewerCEF.bundle"  file from the 4D Volume Desktop.app and 4D 
Server.app packages...  In this way, when the BUILD APPLICATION command merges 
the applications together the WebViewerCEF.bundle is already removed before the 
built-in signing operation takes place.

-Tim






-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of James Crate via 
4D_Tech
Sent: Tuesday, February 11, 2020 11:44 AM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: James Crate 
Subject: Re: New Notarization Issues

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.zip/Travel.app/Contents/MacOS/Travel",
>  "message": "The executable does not have the hardened runtime enabled.",
>  "docUrl": null,
>  "architecture": "x86_64"
>},

So the built-in signing (I had to manually edit the BuildApp.xml file) does 
sign the other items, and uses the signing option to turn on hardened runtime.

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 have to accept the extra 275MB 
on my app size.

However, for those that use a script to sign and want to keep doing so for 
workflow reasons, you can sign the individual components and then the base app, 
including turning on hardened runtime and adding the necessary entitlements. 
What used to be a single line to codesign the app now looks like this:

  # set up $IFS for find to handle spaces
  OIFS="$IFS"
  IFS=$'\n'

  # sign items in directories codesign --deep doesn't handle
  entPath="./sign_plugins.entitlements"
  extraDirs=("Plugins" "SASL Plugins" "Native Components")
  for extraDir in ${extraDirs[@]}; do
for item in $(find "${appPath}/Contents/${extraDir}" \( -iname "*.bundle" 
-o -iname "*.plugin" \)); do
  echo "signing \"${item}\""
  codesign --force --deep --verbose --options=runtime --entitlements 
${entPath} --sign "$devID" "${item}"
done
  done
  IFS="$OIFS" # restore $IFS

  # php and the Updater app
  codesign --force --deep --verbose --options=runtime --entitlements ${entPath} 
--sign "$devID" "${appPath}/Contents/Resources/php/Mac/php-fcgi-4d"
  codesign --force --deep --verbose --options=runtime --entitlements ${entPath} 
--sign "$devID" "${appPath}/Contents/Resources/Updater/Updater.app"

  # and the base app
  entPath="./sign_Travel.entitlements"
  codesign --force --deep --verbose --options=runtime --entitlements ${entPath} 
--sign "$devID" "${appPath}”

A sample entitlements file with all entitlements enabled, like 4D uses:


http://www.apple.com/DTDs/PropertyList-1.0.dtd;>


com.apple.security.automation.apple-events

com.apple.security.cs.allow-dyld-environment-variables

com.apple.security.cs.allow-jit

com.apple.security.cs.allow-unsigned-executable-memory

com.apple.security.cs.debugger

com.apple.security.cs.disable-executable-page-protection

com.apple.security.cs.disable-library-validation

com.apple.security.device.audio-input

com.apple.security.device.camera

com.apple.security.personal-information.addressbook

com.apple.security.personal-information.calendars

com.apple.security.personal-information.location

com.apple.security.personal-information.photos-library




My plugins.entitlements just removes the personal info and device keys. It’s 
probably ok to use the same entitlements file for everything though.

Jim Crate


**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: problems with SSL cert

2020-01-09 Thread Timothy Penner via 4D_Tech
If I had to guess, its that the private key is encrypted and requires a 
password. If that’s true you will need to remove the password first.

Here is a reference for this, from digicert nonetheless:
https://knowledge.digicert.com/solution/SO5292.html

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: O/S Replication and Backup interaction with 4D (2004, v15)

2019-12-04 Thread Timothy Penner via 4D_Tech
Hi Peter,

It sounds like you're dealing with a VM environment, possibly either Hyper-V or 
VMWare ESxi -- and that there are two types of backups being done on the 
Virtual Machine; host replication and guest backups.  Both of these types of 
backups being  carried out against the VM Guest from the VM Host would utilize 
the Volume Shadow Copy Service on the Guest OS... If this is correct and that 
they are using Volume Shadow Copy Service then you will need to either update 
to v17 or stop using the volume shadow copy service until the update to v17 is 
completed.

Quote:
> If that’s the case I’m thinking of finding a shell script to take the 4D 
> server down in the evenings and put it back up early morning.

Note: If the replication backups are being done every 15 minutes via VSS then I 
don’t see how turning off the 4D Server would be an efficient way of avoiding 
issues.

More information about 4D's support of Volume Shadow Copy can be obtained from 
the following blog post:
https://blog.4d.com/enterprise-virtual-machine-snapshot-support/

^ Feel free to share that blog post with your customer or their technical team 
/ contractor.

-Tim








-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Chuck Miller via 
4D_Tech
Sent: Wednesday, December 04, 2019 7:55 AM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Chuck Miller 
Subject: Re: O/S Replication and Backup interaction with 4D (2004, v15)

In all cases they should be able to set backup to exclude particular files and 
or directories.  Both backups could be causing problems especially with the 
2004 dB

Sent from my iPhone

> On Dec 4, 2019, at 10:00 AM, Peter Jakobsson via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
>
> Hi
>
> I have a legacy 4D server which appears to be getting trashed by the backup 
> services in Windows 10 server.
>
> The platform contractor cannot turn off any of the backup stuff and I can’t 
> upgrade to v17 for several weeks due to…..reasons, so need to find a way 
> round this. (There are 2 virtual machines running inside the host. One of 
> these runs a 4D 2004 server, the other runs a 4D v15 server).
>
> One thing the contractor said is that there are 2 levels of backup - the 
> “Host replication” which runs every 15 minutes - and the guest backup (which 
> I presume is Windows Shadow Copy Service) which runs once per evening.
>
> Am I right in thinking that legacy 4D servers should be ok with the host 
> replication but not with the guest backup (which causes file locking 
> conflicts with 4D I imagine) ?
>
> If that’s the case I’m thinking of finding a shell script to take the 4D 
> server down in the evenings and put it back up early morning.
>
> Regards
>
> Peter
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Status of a bug report

2019-11-14 Thread Timothy Penner via 4D_Tech
> will there be a v17R7?

No, that’s v18.

-Tim





**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Status of a bug report

2019-11-14 Thread Timothy Penner via 4D_Tech
Hi Jeremy,

I just checked the bug report, ACI0100153, this should already be fixed in the 
current beta of v18 which is available to silver/gold+ partners through the 
forums.

-Tim





-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Jeremy Roussak via 
4D_Tech
Sent: Friday, November 08, 2019 8:43 AM
To: 4D iNug Technical <4d_tech@lists.4D.com>
Cc: Jeremy Roussak 
Subject: Status of a bug report

The last time I submitted a bug report (a while ago), it was through 
bugs.4d.fr, and I was able to track the progress of the response. Now (as I’m 
not a partner) I have to do it through the forum. There doesn’t seem to be a 
way to see how it’s getting on, though.

I’ve had an acknowledgment: it’s been given the reference ACI0100153. Can it be 
tracked?

Jeremy

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Deprecated constants

2019-10-30 Thread Timothy Penner via 4D_Tech
Hi David,

> For example, _o_Index compacting is not mentioned.

The "_o_Index compacting " constant was part of SET/GET DATABASE PARAMETER and 
it looks like it was already disabled in v11...

Here is a snippet from the v11 Language Reference page 168 showing it as 
"selector disabled":
https://imgur.com/a/HUxCWfY


-Tim




**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: SSL Certificate parsing in 4D

2019-10-22 Thread Timothy Penner via 4D_Tech
Hi Eric,

Both of the following tech notes use OpenSSL via LEP to work with certificates:
https://kb.4d.com/assetid=77708
https://kb.4d.com/assetid=76046

I don’t remember seeing any user prompt for read access to files when I wrote 
these tech notes...

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: How do you create a enhancement request on forum

2019-10-04 Thread Timothy Penner via 4D_Tech
1) Go to the Feature Request Forum: https://forums.4d.com/Forum/EN/1075213/0/0/
2) Click 'Create New Topic': https://forums.4d.com/NewPost/FR/1075213/0/
3) Describe your feature request and include a user story that describes both 
who it is useful to and what problem it solves.





-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Chuck Miller via 
4D_Tech
Sent: Friday, October 04, 2019 1:31 PM
To: 4DTechList Tech <4d_tech@lists.4d.com>
Cc: Chuck Miller 
Subject: How do you create a enhancement request on forum

Hi All,

I want to create the following enhancement request to the forum and am not sure

In the 4D link file I want to allow for more than one Ip address connection. If 
there is more than one I would like to have the ability to set as cascade, 
which means try first one, then next etc.

If set to user selection, I would like 4D to give user a choice regarding which 
to connect to,

This would really help in a situation where you had a mirror and the production 
server becomes unavailable. When connecting the client would try production and 
if no available would then try the next one in line

Regards


Chuck

 Chuck Miller Voice: (617) 739-0306
 Informed Solutions, Inc. Fax: (617) 232-1064
 mailto:cjmillerinformed-solutions.com
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D and Sybase connectivity
  http://www.informed-solutions.com

This message and any attached documents contain information which may be 
confidential, subject to privilege or exempt from disclosure under applicable 
law.  These materials are intended only for the use of the intended recipient. 
If you are not the intended recipient of this transmission, you are hereby 
notified that any distribution, disclosure, printing, copying, storage, 
modification or the taking of any action in reliance upon this transmission is 
strictly prohibited.  Delivery of this message to any person other than the 
intended recipient shall not compromise or waive such confidentiality, 
privilege or exemption from disclosure as to this communication.

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Win32API setup woes

2019-08-21 Thread Timothy Penner via 4D_Tech
Quote:
> first you should check in 4D's explorer that the plugin is loaded. if not, 
> you'd get the licensing error.

See also:
https://kb.4d.com/assetid=77737
https://kb.4d.com/assetid=76951

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: PICTs

2019-08-19 Thread Timothy Penner via 4D_Tech
> In v13, or v15 is there a way to tell is a picture in the library is in PICT, 
> or other format?

The 4D Pack plugin command 'AP Is Picture Deprecated' returns 1 if the picture 
is in PICT format.

See this tech tip written for v13: https://kb.4d.com/assetid=76775

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Prevent Client from Sleeping

2019-08-07 Thread Timothy Penner via 4D_Tech
Hi Jim,

I am not sure that you will be able to effectively prevent the computer from 
sleeping.

Here are some examples that you will be unable to intercept:

- the user closes their laptop lid (the machine will most likely go to sleep - 
this is adjusted in power settings on Windows)

- the user selects SLEEP or STANDBY from the power/shutdown options (the 
machine will certainly go to sleep)

- the user uses the Windows Key + L key combination to lock the computer 
(moving the mouse or pasting keys will be ineffective if the machine is locked)

There may be others too.

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Thread_Safe SQL

2019-08-06 Thread Timothy Penner via 4D_Tech
> OK, so the online documentation is wrong.

It seems that way - I sent a message to the doc center team, thanks for letting 
us know.

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Thread_Safe SQL

2019-08-06 Thread Timothy Penner via 4D_Tech
Hi Richard,

Beginning with 4D v17 R4, Begin SQL, End SQL, and the associated SQL statements 
used with an internal database are now preemptive compliant.
https://blog.4d.com/begin-end-sql-in-preemptive-mode/

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: SHA3-512

2019-08-02 Thread Timothy Penner via 4D_Tech
Hi George,

I don’t know the answer to your question but I wanted to point out that GitHub 
has a built in way to ask questions, request a feature, or log an issue - 
directly within the context of the repository.

For example, here is the repository you are asking about:
https://github.com/miyako/4d-plugin-common-crypto

Here is the issue list for the common-crypto plugin:
https://github.com/miyako/4d-plugin-common-crypto/issues

Here is the link to submit a new issue:
https://github.com/miyako/4d-plugin-common-crypto/issues/new

I hope that helps.

-Tim






-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of George Flórea via 
4D_Tech
Sent: Friday, August 02, 2019 5:59 AM
To: 4d_tech@lists.4d.com
Cc: George Flórea 
Subject: SHA3-512

Hi All and first of all Keisuke,

I use 4d-plugin-common-crypto SHA512 from Keisuke Miyako for generating SHA-2 
type hash.
However, I would need SHA-3 type in next version of my 4D app, very soon.
Is it possible somehow with Miyako's plug-in or any other way?

4D v16
Mac OS X 10.14 Mojave

Thanks in advance

George Flórea
CIPOsoft ltd.

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: No Object Auto-Completion for 4D Commands?

2019-08-02 Thread Timothy Penner via 4D_Tech
Hi Narrinder,

> it to needs to shake off the legacy of storing everything in its own 
> proprietary internal format in the structure
...
> Hopefully things will improve but it will be a while I guess...

Did you see the blog posts regarding the new Project format and how this opens 
up new possibilities with Source control?
https://blog.4d.com/convert-an-existing-database-into-a-project/
https://blog.4d.com/4d-projects-embrace-the-new-era-of-collaboration/

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: No Object Auto-Completion for 4D Commands?

2019-08-02 Thread Timothy Penner via 4D_Tech
Hi Narrinder,

"Each time you open a method, or edit some code, the method editor collects the 
attributes used in your code and proposes them in the list of suggestions."

What this means is that it parses the typed code and collects the properties 
that are written in the code. If you haven’t typed the property into the method 
editor yet then the method editor won't suggest it, regardless of where the 
property came from.

-Tim






-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Narinder Chandi via 
4D_Tech
Sent: Friday, August 02, 2019 9:57 AM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Narinder Chandi <4dtechmailingl...@toolbox.uk.com>
Subject: Re: No Object Auto-Completion for 4D Commands?

Tim,

Thanks, but I actually have that article open in a browser window and had 
referred to it prior to posting. It didn't answer my specific question that I 
posted about with regards to auto-complete for 4D commands that return objects. 
Can you or anybody else advise on that specific point? Thanks.

Regards,

Narinder Chandi,
ToolBox Systems Ltd.
--

-Original Message-
From: Timothy Penner 
Date: Friday, 2 August 2019 at 17:51
To: 4D Tech Mailing List <4d_tech@lists.4d.com>
Cc: Narinder Chandi <4dtechmailingl...@toolbox.uk.com>
Subject: RE: No Object Auto-Completion for 4D Commands?

Hello,

> What gives? Tell me I made a basic mistake somewhere?!

Here is the blog post regarding the feature:
https://blog.4d.com/autocomplete-function-expanded-to-object-attributes

TL/DR - Each time you open a method, or edit some code, the method editor 
collects the attributes used in your code and proposes them in the list of 
suggestions.

-Tim







Timothy Penner
Senior Technical Services Engineer

4D Inc
95 S. Market Street, Suite #240
San Jose,CA 95113
United States

Telephone: +1-408-557-4600
Fax:   +1-408-271-5080
Email: tpen...@4d.com
Web:   www.4d.com

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Narinder Chandi 
via 4D_Tech
Sent: Friday, August 02, 2019 9:42 AM
To: 4D Tech Mailing List <4d_tech@lists.4d.com>
Cc: Narinder Chandi <4dtechmailingl...@toolbox.uk.com>
Subject: No Object Auto-Completion for 4D Commands?

So, I'm in the final phase of a v15 to v17.2 upgrade and 
eliminating/replacing all the remaining _o_ prefixed obsolete 4D commands. I 
came across some Method Editor behaviour that I totally didn't expect... btw, 
this is my very first foray into using C_OBJECT and 4D commands that return 
objects!

Let me illustrate with the following very simple example:

C_OBJECT($object)

$object:=Path to object(Get 4D folder)

Now, when I type $object into the Method Editor, I expected the 
auto-completion to show me available object properties such as parentFolder, 
name and extension but it didn't. I then modified the code to:

$object:=New object
$object:=Path to object(Get 4D folder)

But that didn't yield anything more - I had assumed in the first example 
that the 4D command would implicitly initialise the object internally. So, I 
have a couple questions a this point:
* for 4D commands that return an object is object initialisation implicit 
or must "New object" always be called first?
* is it the case that there is actually no auto-completion for 4D Commands 
that return objects? That would be a real disappointment :((

Note that I also tested the above in a completely new 4D v17 database just 
in case there was something up with a converted database. I also checked that 
the auto-complete settings in Preferences were setup correctly - they are 
identical in both the converted v17 and new v17 databases.

I also tested this example:

C_OBJECT($object1)
C_OBJECT($object2)

$object1:=New object
$object1:=Path to object(Get 4D folder)

$object2:=New object
$object2.foo:="foo"
$object2.bar:="bar"

In this case I get auto-completion of "object1.foo" as well as 
"object2.foo" which is really not what I would expect at all! It seems to me 
that the Method Editor is wholly indiscriminate about what the auto-completion 
options are!

What gives? Tell me I made a basic mistake somewhere?!

Regards,

Narinder Chandi,
ToolBox Systems Ltd.
--


**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/arch

RE: No Object Auto-Completion for 4D Commands?

2019-08-02 Thread Timothy Penner via 4D_Tech
Hello,

> What gives? Tell me I made a basic mistake somewhere?!

Here is the blog post regarding the feature:
https://blog.4d.com/autocomplete-function-expanded-to-object-attributes

TL/DR - Each time you open a method, or edit some code, the method editor 
collects the attributes used in your code and proposes them in the list of 
suggestions.

-Tim







-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Narinder Chandi via 
4D_Tech
Sent: Friday, August 02, 2019 9:42 AM
To: 4D Tech Mailing List <4d_tech@lists.4d.com>
Cc: Narinder Chandi <4dtechmailingl...@toolbox.uk.com>
Subject: No Object Auto-Completion for 4D Commands?

So, I'm in the final phase of a v15 to v17.2 upgrade and eliminating/replacing 
all the remaining _o_ prefixed obsolete 4D commands. I came across some Method 
Editor behaviour that I totally didn't expect... btw, this is my very first 
foray into using C_OBJECT and 4D commands that return objects!

Let me illustrate with the following very simple example:

C_OBJECT($object)

$object:=Path to object(Get 4D folder)

Now, when I type $object into the Method Editor, I expected the auto-completion 
to show me available object properties such as parentFolder, name and extension 
but it didn't. I then modified the code to:

$object:=New object
$object:=Path to object(Get 4D folder)

But that didn't yield anything more - I had assumed in the first example that 
the 4D command would implicitly initialise the object internally. So, I have a 
couple questions a this point:
* for 4D commands that return an object is object initialisation implicit or 
must "New object" always be called first?
* is it the case that there is actually no auto-completion for 4D Commands that 
return objects? That would be a real disappointment :((

Note that I also tested the above in a completely new 4D v17 database just in 
case there was something up with a converted database. I also checked that the 
auto-complete settings in Preferences were setup correctly - they are identical 
in both the converted v17 and new v17 databases.

I also tested this example:

C_OBJECT($object1)
C_OBJECT($object2)

$object1:=New object
$object1:=Path to object(Get 4D folder)

$object2:=New object
$object2.foo:="foo"
$object2.bar:="bar"

In this case I get auto-completion of "object1.foo" as well as "object2.foo" 
which is really not what I would expect at all! It seems to me that the Method 
Editor is wholly indiscriminate about what the auto-completion options are!

What gives? Tell me I made a basic mistake somewhere?!

Regards,

Narinder Chandi,
ToolBox Systems Ltd.
--


**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Quick Open Method (QOM)

2019-07-09 Thread Timothy Penner via 4D_Tech
Cool stuff, reminds me of this tech note:

Tech Note: 4D Method Explorer
https://kb.4d.com/assetid=77515

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: R1Soft / Continuum / Continuous Data Protection - 4D compatibility?

2019-06-28 Thread Timothy Penner via 4D_Tech
Hi Jim,

I am not familiar with that product but as for Volume Shadow Copy,
compatibility with Volume Shadow Copy is a feature of 4D v17 (first available 
in v16R2):
https://blog.4d.com/enterprise-virtual-machine-snapshot-support/

-Tim





-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Jim Hays via 4D_Tech
Sent: Friday, June 28, 2019 10:06 AM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Jim Hays 
Subject: R1Soft / Continuum / Continuous Data Protection - 4D compatibility?

We have a customer running our older 4D v12-based product.
They recently started using the backup product named in the title.

It looks like a pretty low-level backup.  I've also read that it is volume 
shadow copy compatible.
It works on the whole volume - can't be set to ignore folders.

Does anyone have any experience with this?
https://www.r1soft.com/server-backup-manager


R1Soft CDP Technology: Technical Overview

R1Soft CDP provides user-scheduled, near continuous disk-based online

backups for one or more Windows or Linux servers.

The most efficient method for computing deltas is the near-continuous

or CDP method. The near-continuous method works by using a Disk

Volume Device Driver. The device driver is situated between the file

system (e.g. NTFS) and the Disk Volume (e.g. Logical Disk Volume 1).

By locating a device driver between the file system and raw Disk Volume,

the application is able to identify changed Disk Blocks in real-time

without any performance impact. In Windows, this kind of Device Driver

is called an Upper Volume Filter Driver.

With the near-continuous method of delta computation, a fixed length

block size is used that usually corresponds to the file system block size.


Typically this fixed block size is 4 KB but can vary in different environments 
or implementations. As writes to the Disk

are observed, the block number that was changed is recorded in a specialized 
in-memory data structure.

The R1Soft technology is built to serve the web hosting market, in which 
providers often work with very large datasets,

lots of automation and minimal manpower – and CDP is able to keep up with the 
rate of change occurring at these

organizations. It’s fast and efficient, with minimal server impact.''


Thanks,


Jim
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Dot Notation in Legacy 4D Code

2019-06-20 Thread Timothy Penner via 4D_Tech
Hi Narinder,

Did you run the MSC verify *before* enabling dot notation to check for issues?
https://blog.4d.com/get-ready-for-object-notation/

-Tim





-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Narinder Chandi via 
4D_Tech
Sent: Thursday, June 20, 2019 10:06 AM
To: 4D Tech Mailing List <4d_tech@lists.4d.com>
Cc: Narinder Chandi <4dtechmailingl...@toolbox.uk.com>
Subject: Dot Notation in Legacy 4D Code

S, I suspected this would be the case but just seeking confirmation...

I am working with a 4D database that has made extensive use of dot in table, 
variable and project names (not of my doing btw!), e.g.
[my.table.name]
my.process.variable
my.project.method

Converting the database to v17 and enabling the compatibility option "Use 
object notation to access object properties" the database still passes 
compilation. However, numerous interpreter errors occur when using any database 
functionality. I thinks it's clear that all prior dot usage will have to be 
totally eliminated?? Urg...

Regards,

Narinder Chandi,
ToolBox Systems Ltd.
--



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Filter MSC Log File?

2019-06-18 Thread Timothy Penner via 4D_Tech
Have you tried Ctrl+F (find in page)?

-Tim




**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: 400 Bad Request

2019-06-14 Thread Timothy Penner via 4D_Tech
Is it possible that the IP address of the client(ipad) is changing?

The Web Session Management documentation states:
"The 4D HTTP server records the IP that started a session. If a Web client 
located at a different IP address tries to access an existing session, the HTTP 
400 error is returned to the client."

This can happen when switching between Mobile networks and Wifi (like if an 
iphone user walks into Wifi reception and continues using the website after 
their phone automatically switches networks).

If needed, this behavior can be changed using the "Web session enable IP 
address validation" selector of WEB SET OPTION so that the IP Address is not 
validated.

-Tim








-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Michael McCall via 
4D_Tech
Sent: Friday, June 14, 2019 1:34 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Michael McCall 
Subject: RE: 400 Bad Request

We have had one client who primarily uses iPads who has reported a similar 
issue from time to time over the past few years.

We've never been able to reproduce it since they have around 200 iPads at times 
- which we don't - and they also have done some customizations which make it 
hard to isolate the problem.

If anyone does have suggestions as to possible things to check, I'd also be 
curious.


**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: 4D Write Pro: License or privilege error

2019-05-22 Thread Timothy Penner via 4D_Tech
The best part of VirtualBox is the cost. It's free!

-Tim




-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of JOHN BAUGHMAN via 
4D_Tech
Sent: Wednesday, May 22, 2019 1:42 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: JOHN BAUGHMAN ; John Foster 
Subject: Re: 4D Write Pro: License or privilege error

Thumbs up for VirtualBox. After using VMWare for few years and then Parallels 
for a few more, I discovered VirtualBox and have never looked back. Unlike the 
other 2, I have virtually (no pun intended) had zero issues to deal with. It 
just woks.

John


> On May 22, 2019, at 10:29 AM, John J Foster via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
>
> HI Pat,
>
> Outside of Parallels past slowness I haven't noticed any of these issues. I 
> do other development in other apps and so far haven’t noticed any issues 
> (famous last words!).
>
> But thanks for the reminder that there are other options. I might give it a 
> try when I can plan in some time.
>
> Appreciate,
> John…
>
>
>> Maybe try using VirtualBox instead of Parallels ... that's what I use
>> and have not had any issues like that. And it's free :)
>>
>> PB
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: 4D Write Pro: License or privilege error

2019-05-20 Thread Timothy Penner via 4D_Tech
John,

I suggest removing some variables to isolate the issue -

  *   Reinstall fresh from the 32 bit installer
  *   Do not move the plugin (its already in place for 32 bit single-user 
application)
  *   Try it with a brand new / blank database

If you need to continue troubleshooting this please contact 4D Tech Support via 
TAOW.

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: 4D Write Pro: License or privilege error

2019-05-20 Thread Timothy Penner via 4D_Tech
Hi John,

I just double checked to make sure it is working as intended in v17.1 build 
232790
https://imgur.com/a/guHinBS

Perhaps you are still using the 64 bit version of 4D? Can you double check 
under Help->About?

-Tim




From: John J Foster 
Sent: Monday, May 20, 2019 12:50 PM
To: Timothy Penner 
Cc: 4D iNug Technical <4d_tech@lists.4d.com>
Subject: Re: 4D Write Pro: License or privilege error

Hi Tim,

You do know I downloaded from the 4D site in which the download includes the 
plugins? On this page it says:

https://us.4d.com/note-about-4d-v17-32-bit-versions

“The remaining 32-bit releases in the 4D Product line (4D Server on Mac, 4D 
Volume Desktop, and Developer Edition Mac and Windows) can still be downloaded 
here, but have been deprecated and will no longer be available with future 
major releases of 4D.”

Since the only place I saw 4D Write 32 bit was in this download…

https://download.4d.com/Products/Current/

So if this is not correct then how do I match the correct 4D Write 32bit with 
the correct 4D 32 bit app (Windows and Macintosh)?

Note: Since only 4D v17.1 is available with a 32bit I’d like to go with that. I 
don’t think I want my client using R releases.

This is very very confusing to me!

John...



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: 4D Write Pro: License or privilege error

2019-05-20 Thread Timothy Penner via 4D_Tech
Hi John,

Regarding the error: Incompatible version. You need to upgrade your plugin.

Did you check the explorer to see what it shows there?
https://kb.4d.com/assetid=76951

-Tim





-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of John J Foster via 
4D_Tech
Sent: Monday, May 20, 2019 11:55 AM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: John J Foster 
Subject: Re: 4D Write Pro: License or privilege error

Hi All,

Windows OS 10 or Macintosh (10.12.6) ...

Following all the various pieces of advice I have received I have installed 4D 
v17.1 32 bit and placed the 4D Write plugin.

Upon every execution of a line of code with a 4D Write command I receive these 
errors:

Incompatible version. You need to upgrade your plugin.
License or privilege error. (4D Write(17.1 build 17.232790))

In the details below it’s the same error with the -9949 License or privilege 
error.

I have installed all the 4D Silver licenses. It required me to place them again 
when I installed v17 32bit.

Anyone know what’s incompatible since each 4D Write commands  shows up now (in 
64bit they didn’t)?

San you say confused!

Thanks for your help,
John…



> On May 14, 2019, at 2:01 PM, John J Foster  wrote:
>
> Hi All,
>
> Tried: Partner (silver) versions of 4D v17R4, R5 and v17.1 Windows and 
> Macintosh Stand alone and 4D Server. (Seem to work for everything else I've 
> tried except 4D Write Pro)
>
> I keep getting a ...
>
> -9949 License or privilege error
>
> at this 4D Write Pro command
>
> [Templates]wpTemplate:=WP New($Blob)
>
> I seem to recall something simple to do to make sure these 4D Partner 
> licenses work?
>
> Anyone?
>
> Appreciate,
> John…
>
>
>
>
>

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: v17.1 64 bit server crashes

2019-05-15 Thread Timothy Penner via 4D_Tech
Hi Chuck,

I would suggest looking at the Crash Report (dot crash file) that is created by 
the MacOS Operation System. This usually provides additional clues. It can be 
found within the Console application.

If it is crashing when creating brand new structure than you could contact 4D 
Tech Support for additional help under installation support, regardless of 4D 
Partnership status.

If it is only crashing when opening your structure file than could contact 4D 
Tech Support for additional help under a current 4D Partner Program contract.

-Tim





-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Chuck Miller via 
4D_Tech
Sent: Wednesday, May 15, 2019 9:28 AM
To: 4DTechList Tech <4d_tech@lists.4d.com>
Cc: Chuck Miller 
Subject: v17.1 64 bit server crashes

Hi All,

I am testing on a MAC OSX 10.12.6. When I run 64 bit version of 17.1 it crashes 
immediately. When I run 32 bit version, it runs. Any ideas as to why this is 
happening

Regards

Chuck

 Chuck Miller Voice: (617) 739-0306
 Informed Solutions, Inc. Fax: (617) 232-1064
 mailto:cjmillerinformed-solutions.com
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D and Sybase connectivity
  http://www.informed-solutions.com

This message and any attached documents contain information which may be 
confidential, subject to privilege or exempt from disclosure under applicable 
law.  These materials are intended only for the use of the intended recipient. 
If you are not the intended recipient of this transmission, you are hereby 
notified that any distribution, disclosure, printing, copying, storage, 
modification or the taking of any action in reliance upon this transmission is 
strictly prohibited.  Delivery of this message to any person other than the 
intended recipient shall not compromise or waive such confidentiality, 
privilege or exemption from disclosure as to this communication.

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Migrating 4D Write Pictures to 4D Write Pro Objects

2019-05-15 Thread Timothy Penner via 4D_Tech
You will need to use 32 bit. Are you using 32 bit?

-Tim




-Original Message-
From: John J Foster 
Sent: Wednesday, May 15, 2019 9:00 AM
To: Timothy Penner 
Cc: 4D iNug Technical <4d_tech@lists.4d.com>
Subject: Re: Migrating 4D Write Pictures to 4D Write Pro Objects

Hey Tim,

Thanks helpful!

OK, so I need to get the Write docs into v7 format before migrating to 4D Write 
Pro object format.

Based upon these v16 videos can I migrate from within 4D v17?

Or do I need to convert in an earlier version?

And if I can convert in 4D v17 (windows or Mac) then it appears I would need to 
have 4D Write installed as well. And if so, I cannot find a v17 version of the 
4D Write plugin. Can I use 4D Write 16?

Appreciate,
John...



> On May 15, 2019, at 8:47 AM, Timothy Penner  wrote:
>
> Hi John,
>
> Video Tip: Converting 4D Write documents to 4D Write Pro
> https://kb.4d.com/assetid=77703
>
> Here is the section about converting 4D Write documents stored in Picture 
> fields.
> https://youtu.be/nc6JMNanv58?t=120
>
> Here is the process you need to follow:
> https://youtu.be/nc6JMNanv58?t=163
>
>
> -Tim
>
>
>
>
> 
>
> Timothy Penner
> Senior Technical Services Engineer
>
> 4D Inc
> 95 S. Market Street, Suite #240
> CA 95113 San Jose
> United States
>
> Téléphone : +1-408-557-4600
> Standard :  +1-408-557-4600
> Fax :   +1-408-271-5080
> Email : tpen...@4d.com
> Web :   www.4D.com
>
>
>
>
>
> On 5/15/19, 8:27 AM, "4D_Tech on behalf of John J Foster via 4D_Tech" 
> <4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:
>
>Hi All,
>
>There’s an implied assumption that Migrating 4d-write documents stored in 
> picture fields will work using the v17 component. I didn't see any caveats as 
> to preparing 4D Wrote docs in earlier versions.
>
>So, as Randy offered, maybe that’s the correct path. Maybe I should change 
> the docs in 4D v12 from picture fields into blob - either by adding another 
> blob fold to the table or exporting the 4D Write docs to disk.
>
>Is this the best way to approach 4D Write docs?
>
>Have others had a similar experience as Randy?
>
>Thanks for your help,
>John…
>
>
>
>> 4D v17R4 Windows and Macintosh Stand alone and 4D Server I do not
>> have an old 4D Write plugin only the new 4D Write Pro App upgraded
>> from 4D 2012 to 4D V17
>>
>> I am working on the final v17 conversion piece migrating older 4D Write 
>> saved in picture field to 4D Write Pro saved in object field. I am using the 
>> the code from the component on the blog 
>> "https://blog.4d.com/migrate-4d-write-documents-stored-in-picture-fields/#component”.
>>
>> However, as I watch the code in the debugger, this is what I see:
>>
>> $blob:=_Extract4W7From4DPicture ($1)
>> If (BLOB size($blob)=0)
>> GET PICTURE FORMATS($1;$codecIDs)
>> If (Size of array($codecIDs)=1)
>> If ($codecIDs{1}=".pict”)
>> !!! // makes it to here so “knows” it’s a pict.
>> $blob:=_Extract4W7FromMacPicture ($1) !!! // returns an empty blob
>> End if End if End if
>>
>> Inside this routine "Extract4W7FromMacPicture ($1)” this line
>> executes
>>
>> PICTURE TO BLOB($1;$blob;"PICT")
>>
>> Always returns an empty blob even though $1 is a picture with a size like 
>> 25ko.
>>
>> So not sure what;’s going on and why it doesn’t work.
>>
>> Does anyone have any experience with converting an older 4D Write saved in a 
>> picture field into a 4D Write Pro object?
>>
>> Appreciate,
>> John…
>>
>>
>>
>>
>
>**
>4D Internet Users Group (4D iNUG)
>Archive:  http://lists.4d.com/archives.html
>Options: https://lists.4d.com/mailman/options/4d_tech
>Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>
> **
>
>

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Migrating 4D Write Pictures to 4D Write Pro Objects

2019-05-15 Thread Timothy Penner via 4D_Tech
Hi John,

Video Tip: Converting 4D Write documents to 4D Write Pro
https://kb.4d.com/assetid=77703

Here is the section about converting 4D Write documents stored in Picture 
fields.
https://youtu.be/nc6JMNanv58?t=120

Here is the process you need to follow:
https://youtu.be/nc6JMNanv58?t=163


-Tim







On 5/15/19, 8:27 AM, "4D_Tech on behalf of John J Foster via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

Hi All,

There’s an implied assumption that Migrating 4d-write documents stored in 
picture fields will work using the v17 component. I didn't see any caveats as 
to preparing 4D Wrote docs in earlier versions.

So, as Randy offered, maybe that’s the correct path. Maybe I should change 
the docs in 4D v12 from picture fields into blob - either by adding another 
blob fold to the table or exporting the 4D Write docs to disk.

Is this the best way to approach 4D Write docs?

Have others had a similar experience as Randy?

Thanks for your help,
John…



> 4D v17R4 Windows and Macintosh Stand alone and 4D Server
> I do not have an old 4D Write plugin only the new 4D Write Pro
> App upgraded from 4D 2012 to 4D V17
>
> I am working on the final v17 conversion piece migrating older 4D Write 
saved in picture field to 4D Write Pro saved in object field. I am using the 
the code from the component on the blog 
"https://blog.4d.com/migrate-4d-write-documents-stored-in-picture-fields/#component”.
>
> However, as I watch the code in the debugger, this is what I see:
>
> $blob:=_Extract4W7From4DPicture ($1)
> If (BLOB size($blob)=0)
> GET PICTURE FORMATS($1;$codecIDs)
> If (Size of array($codecIDs)=1)
> If ($codecIDs{1}=".pict”)
> !!! // makes it to here so “knows” it’s a pict.
> $blob:=_Extract4W7FromMacPicture ($1)
> !!! // returns an empty blob
> End if
> End if
> End if
>
> Inside this routine "Extract4W7FromMacPicture ($1)” this line executes
>
> PICTURE TO BLOB($1;$blob;"PICT")
>
> Always returns an empty blob even though $1 is a picture with a size like 
25ko.
>
> So not sure what;’s going on and why it doesn’t work.
>
> Does anyone have any experience with converting an older 4D Write saved 
in a picture field into a 4D Write Pro object?
>
> Appreciate,
> John…
>
>
>
>

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: 4d will not start ssl on 443

2019-03-27 Thread Timothy Penner via 4D_Tech
Most likely you have a problem with the HelperTool that is used for publishing 
ports below 1024 (make sure you are an Admin or else this wont work).

See also:
https://kb.4d.com/assetid=78185
https://kb.4d.com/assetid=76962
https://kb.4d.com/assetid=50304

-Tim





-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of 4dialog via 4D_Tech
Sent: Wednesday, March 27, 2019 9:32 AM
To: 4d_tech@lists.4d.com
Cc: 4dialog 
Subject: 4d will not start ssl on 443

I have installed ssl certificates and tries to start 4d server 16.5 on osx
10.12.6 but port 443 will not open.
No ssl traffic gets to the webserver. Normal port is set to 8001 for this web, 
it works.
Tried to chance normal port to 80 and ssl on 443 - both ports not working.

I did not get any q. from helpertool when started up 4d server on 443 - it 
seems that it does not work.
I have checked - the helpertool is present in the server package in Macos 
folder.

- the osx is restarted, 4d is restarted with and without 443, ssl certificate 
everything.

Any with a tip how to get around this problem and get 443 port up and running?



-
Hilsen
--
Helge Antonsen
www.4dialog.no
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: interesting find

2019-02-20 Thread Timothy Penner via 4D_Tech
I have been telling people for years that the compiler gets smarter in each new 
version. You may have a line of code that you thought was working, but in fact, 
it shouldn’t have worked at all, and the compiler may not have caught it 
before, but now it does. This is something I frequently tell people in TS cases 
dating back multiple versions (I even told people this in v11).

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Error 30 When Using HTTP Get or HTTP Request

2019-02-11 Thread Timothy Penner via 4D_Tech
I agree with Bruno; the most likely answer is that the server does not support 
TLS 1,2 - use the site Bruno mentioned in order to test the server to see what 
TLS versions it supports.

Check out the blog post from October 2017 describing the change in 4D where we 
no longer allow connections to servers that do not support TLS 1.2:
https://blog.4d.com/more-security-for-your-4d-server/

You can handle this on the 4D Side by lowering the minimum TLS version (shown 
in the tech tip below) but it's not recommended:
https://kb.4d.com/assetid=78102

Honestly, you should ask the provider to update their software so that it 
supports TLS 1.2 as the older algorithms have vulnerabilities in them and you 
shouldn't enable them if you are concerned about security.

-Tim





-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Bruno LEGAY via 
4D_Tech
Sent: Monday, February 11, 2019 12:18 PM
To: 4d_tech@lists.4d.com
Cc: Bruno LEGAY 
Subject: Re: Error 30 When Using HTTP Get or HTTP Request

Hi,

Could be there that the SSL/TLS version of your server is not supported (too 
old or too new).

You can use nmap or online tools to check the configuration of the server...

https://www.ssllabs.com/ssltest/

This will give you a list of ciphers

HTH
Bruno LEGAY
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Does 4D 64-bit Volume desktop use more than 1 core?

2019-01-30 Thread Timothy Penner via 4D_Tech
I see, this is relatively new development - I have sent a request to the Doc 
Team to update the documentation to reflect this.

In either case, it would appear that although the SDK has been updated, the 
individual plugin developers would still need to update their plugins and make 
those preemptive versions available... and even then, there are still certain 
plugin calls that are not thread safe, so it shouldn’t be expected that plugins 
will just work in preemptive mode unless they are using the latest SDK and 
specifically coded as such.

Just because the SDK is being made preemptive does not mean that all plugins 
are inherently preemptive also.

-Tim








-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of John DeSoi via 4D_Tech
Sent: Wednesday, January 30, 2019 12:49 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: John DeSoi 
Subject: Re: Does 4D 64-bit Volume desktop use more than 1 core?

Hi Tim,

The header file in the publicly available SDK indicates which plugin API entry 
points are thread safe (currently a small number).

https://github.com/4d/4D-Plugin-SDK

See further discussion here including input from 4D France:

> Yes the 4d plugin sdk allows to build preemptive ready plugins.
> see https://github.com/4d/4D-Plugin-SDK/releases/tag/v17.0.1


https://forums.4d.com/Post/FR/17981754/2/28184397

Also

https://github.com/miyako/4d-plugin-migration-to-v17

John DeSoi, Ph.D.


> On Jan 30, 2019, at 2:32 PM, Timothy Penner  wrote:
>
> Plugin development is not something 4D Tech Support usually handles, so I may 
> have missed that - in either case, the docs seem like it is not possible...

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Does 4D 64-bit Volume desktop use more than 1 core?

2019-01-30 Thread Timothy Penner via 4D_Tech
John,

Plugin development is not something 4D Tech Support usually handles, so I may 
have missed that - in either case, the docs seem like it is not possible...

http://livedoc.4d.com/4D-Language-Reference-17/Processes/Preemptive-4D-processes.300-3730331.en.html#3687097
{
Writing a thread-safe method
To be thread-safe, a method must respect the following rules:

It must have either the "Can be run in preemptive processes" or "Indifferent" 
property
It must not call a 4D command that is thread-unsafe.
It must not call another project method that is thread-unsafe
It must not call a plug-in
It must not use  REPLICATE or SYNCHRONIZE statements(*)
It must not use any interprocess variables(**)
It must not call interface objects(***) (there are exceptions however, see 
below).
}


-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Does 4D 64-bit Volume desktop use more than 1 core?

2019-01-30 Thread Timothy Penner via 4D_Tech
Jim,

> Piotr mentioned that they are using 4D OCI, not the 4D database. I haven’t 
> really kept up with the pre-emptive restrictions, but can plugins specify 
> that they can run pre-emptively? Given some of the other limitations I’d have 
> assumed plugins would be required to run in the cooperative main thread.

Jeff Kain already addressed the plugin part:

Quote:
{
must be written in a preemptive-safe manner (i.e. no UI, no unsafe commands, no 
plug-ins).
}

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Does 4D 64-bit Volume desktop use more than 1 core?

2019-01-30 Thread Timothy Penner via 4D_Tech
Hi Neil,

It looks like the docs were updated in v15R5:
http://livedoc.4d.com/4D-Language-Reference-15-R5/Processes/New-process.301-2936977.en.html
{
If the execution context supports preemptive mode and if method is declared 
"thread-safe", the new 4D process will be executed in a preemptive thread when 
the application will run in compiled mode. For more information, please reter 
to the Preemptive 4D processes page.
}

-Tim




-Original Message-
From: Dennis, Neil 
Sent: Wednesday, January 30, 2019 12:27 PM
To: Timothy Penner ; 4D iNug Technical <4d_tech@lists.4d.com>
Subject: RE: Does 4D 64-bit Volume desktop use more than 1 core?

> The NEW PROCESS command is able to spawn a Preemptive or Coopertive process; 
> this depends on the preemptive method property of the method that is called 
> by the NEW PROCESS command.

Thanks Tim,


Is this new with 4D v17?

I see in the v17 docs it is documented that new process can run preemptive... 
this same text is not in the 4D v16 manual.


Neil





Privacy Disclaimer: This message contains confidential information and is 
intended only for the named addressee. If you are not the named addressee you 
should not disseminate, distribute or copy this email. Please delete this email 
from your system and notify the sender immediately by replying to this email.  
If you are not the intended recipient you are notified that disclosing, 
copying, distributing or taking any action in reliance on the contents of this 
information is strictly prohibited.

The Alternative Investments division of UMB Fund Services provides a full range 
of services to hedge funds, funds of funds and private equity funds.  Any tax 
advice in this communication is not intended to be used, and cannot be used, by 
a client or any other person or entity for the purpose of (a) avoiding 
penalties that may be imposed on any taxpayer or (b) promoting, marketing, or 
recommending to another party any matter addressed herein.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Does 4D 64-bit Volume desktop use more than 1 core?

2019-01-30 Thread Timothy Penner via 4D_Tech
Neil,

The NEW PROCESS command is able to spawn a Preemptive or Coopertive process; 
this depends on the preemptive method property of the method that is called by 
the NEW PROCESS command.

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Does 4D 64-bit Volume desktop use more than 1 core?

2019-01-30 Thread Timothy Penner via 4D_Tech
> I understand, but I think I am having a problem.
> Suppose our app depends heavily on UI (and it does)
> 

Simple approach:

Have the UI spin off the work into a new pre-emptive process (or use workers 
ala the CALL WORKER command).
Then have the pre-emptive processes/workers callback to the form using the CALL 
FORM command.
This approach allows the pre-emptive processes to push updates back to the 
cooperative User Interface.

Watch the demo from the 2016 summit on the blog:
https://blog.4d.com/4d-summit-2016-laurent-esnault-presents-workers-and-ui-in-preemptive-mode/

-Tim







-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Piotr Chabot 
Stadhouders via 4D_Tech
Sent: Wednesday, January 30, 2019 12:05 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Piotr Chabot Stadhouders 
Subject: RE: Does 4D 64-bit Volume desktop use more than 1 core?

Hi Jeff,

Thanks again for your answer.

I understand, but I think I am having a problem.

Suppose our app depends heavily on UI (and it does)
Suppose our app starts 8 processes showing 8 dialogs showing all kind of 
variables and arrays, and that need to be refreshed every X seconds Then no UI 
is out of the question, and pre-emptive methods don’t help me a lot I guess.
Now suppose I have a machine with 4 cores (What I have heard it is getting 
difficult to get a machine without multi-core) How can I use the 4 cores to its 
full extend?
I am hoping you are not going to say I can’t

So, when it is impossible to use 4 cores within the application, is there a way 
to assign a core to the application?
So when starting the application tell the machine to use core 1 When starting a 
second instance of the application tell the machine to use core 2 Etc.

We are in a citrix environment, and all instances of our 4D Volume Desktop 
application now only use 1 core, and even worse it is using THE SAME core Now 
Citrix splits the time assigned to 1 4D instance by the number of 4D instances 
launched, while the other cores are doing totally nothing

Is there a solution for this?
By the way, and maybe for some of you this is obvious, but not for me: why must 
there be no UI involved?
Wy can’t I say in 4D “start a new process showing a dialog and use core 2”, 
“start another process showing a dialog and use core 4”?

Gr,
Piotr


No, not at all. You have to first mark the method that's called first from New 
Process as preemptive. That method, plus all methods called by that method, and 
all methods called by those methods, must be written in a preemptive-safe 
manner (i.e. no UI, no unsafe commands, no plug-ins).

If all that happens, that process will be scalable across cores.

> On Jan 30, 2019, at 1:25 PM, Piotr Chabot Stadhouders via 4D_Tech 
> <4d_t...@xxx.xxx> wrote:
>
> So, does 4D automagically use more cores in 4D 64-bit or what?
> When I follow all pre-emptive advise in the docs or from the iNUG, do I have 
> a multi-core application?
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Socket Communication

2019-01-15 Thread Timothy Penner via 4D_Tech
Hi Steve,

There is a feature request for Web Sockets on the forums:
https://forums.4d.com/Post/EN/19129127/1/19129128#19129128

Within this thread, there is also a sample database with a working example of 
using ?Web Sockets in 4D.

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: v13+ self referentail relations

2019-01-11 Thread Timothy Penner via 4D_Tech
> this used to be possible.

In 2004 and prior, yes... But it is no longer possible starting with v11.

> what happens when an older structure with a self referential relation is 
> upgraded?

It looks like the relationship is removed once you upgrade to v11.

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: v13+ self referentail relations

2019-01-10 Thread Timothy Penner via 4D_Tech
>  how do I draw a self-referential relation?
You cannot make a single field both the primary and foreign keys of a relation. 
You must choose two different fields.
For example, you can make [Table_1]Field1 related to [Table_1]field2
Reminder: the fields must be compatible with each other as you would not be 
able to relate a longint field to an alpha field...

>  how do I modify the system tables?
You cannot directly modify the system tables.
The system tables represent the underlying structure, so to change the system 
tables you would change the structure and then the system table will 
automatically reflect that change.

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Storing Dates and Times From Different Time Zones

2018-12-20 Thread Timothy Penner via 4D_Tech
Tech Tip: Convert ISO GMT date string to local time, date and ISO date string
http://kb.4d.com/assetid=77110

-Tim




-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Nate Rheaume via 
4D_Tech
Sent: Thursday, December 20, 2018 9:55 AM
To: 4d_tech@lists.4d.com
Cc: Nate Rheaume 
Subject: Storing Dates and Times From Different Time Zones

We have clients that are accessing the same server database from different time 
zones. We would like to store date/time using GMT and then display it in the 
users local time zone.

Using the String command it's easy to convert to GMT but I'm not sure what the 
best way is the convert GMT back to the local time zone.

Has anyone else dealt with this issue? Any feedback is appreciated.



Nate Rheaume
Software Developer
n...@dwdev.com
(425) 673-1974
www.freezerworks.com
Dataworks Development, Inc.
Providing secure and configurable data management solutions for research and 
clinical labs since 1987.


**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Understanding Unicode Characters

2018-12-19 Thread Timothy Penner via 4D_Tech
In case it wasn't clear -

Unicode U+2022 is the hex value, which corresponds to the decimal value of 
8226. 4D expects a longint which is the decimal value of 8226.
See more here: https://www.fileformat.info/info/unicode/char/2022/index.htm

Now for Char(165) this would equate to U+A5 which is listed here:
http://www.fileformat.info/info/unicode/char/a5/index.htm

-Tim




-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Timothy Penner via 
4D_Tech
Sent: Wednesday, December 19, 2018 3:13 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Timothy Penner 
Subject: RE: Understanding Unicode Characters

https://www.fileformat.info/info/unicode/char/2022/index.htm

HTML Entity (decimal)
HTML Entity (hex)
HTML Entity (named)
How to type in Microsoft WindowsAlt +2022
UTF-8 (hex)0xE2 0x80 0xA2 (e280a2)
UTF-8 (binary)11100010:1000:10100010
UTF-16 (hex)0x2022 (2022)
UTF-16 (decimal)8,226
UTF-32 (hex)0x2022 (2022)
UTF-32 (decimal)8,226
C/C++/Java source code"\u2022"
Python source codeu"\u2022"







-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Robert ListMail via 
4D_Tech
Sent: Wednesday, December 19, 2018 3:08 PM
To: 4D iNug Tech <4d_tech@lists.4d.com>
Cc: Robert ListMail 
Subject: Understanding Unicode Characters

In a galaxy far far away, we commonly used option-8 on the Mac to get a bullet 
glyph or symbol. At some point while converting databases from Mac to Windows 
this was changed to Char(165). Now, I see that Char(165), in a converted 
database, gives me the Yen sign. I’ve stumbled on the fact that Char(8226) 
gives me the bullet symbol in Windows but I don’t understand it.

So Option-8 on the Mac and Char(8226) via 4D seem to give me the same 
character, where Bbedit reports the character as:

Hex: E2 80 A2
Decimal: 226 128 162
Unicode: 2022

Why is the decimal value of 8226 not mentioned in the data above? Is there a 4d 
command that takes unicode values as a parameter, such that I could input 2022 
and get the bullet glyph?

Also when you look at the wiki referenced by the 4D docs 
(https://en.wikipedia.org/wiki/List_of_Unicode_characters 
<https://en.wikipedia.org/wiki/List_of_Unicode_characters>) and refer to the 
bullet, you get “U+2022” and what seems like a decimal value of 916. Where is 
the 916 coming from and why is the unicode value written as “U+2022”, do you 
ever have to type “U+”?

Sorry for such a fundamental question, I guess it’s time to learn more about 
character sets.

Thanks,

Robert
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Understanding Unicode Characters

2018-12-19 Thread Timothy Penner via 4D_Tech
https://www.fileformat.info/info/unicode/char/2022/index.htm

HTML Entity (decimal)
HTML Entity (hex)
HTML Entity (named)
How to type in Microsoft WindowsAlt +2022
UTF-8 (hex)0xE2 0x80 0xA2 (e280a2)
UTF-8 (binary)11100010:1000:10100010
UTF-16 (hex)0x2022 (2022)
UTF-16 (decimal)8,226
UTF-32 (hex)0x2022 (2022)
UTF-32 (decimal)8,226
C/C++/Java source code"\u2022"
Python source codeu"\u2022"







-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Robert ListMail via 
4D_Tech
Sent: Wednesday, December 19, 2018 3:08 PM
To: 4D iNug Tech <4d_tech@lists.4d.com>
Cc: Robert ListMail 
Subject: Understanding Unicode Characters

In a galaxy far far away, we commonly used option-8 on the Mac to get a bullet 
glyph or symbol. At some point while converting databases from Mac to Windows 
this was changed to Char(165). Now, I see that Char(165), in a converted 
database, gives me the Yen sign. I’ve stumbled on the fact that Char(8226) 
gives me the bullet symbol in Windows but I don’t understand it.

So Option-8 on the Mac and Char(8226) via 4D seem to give me the same 
character, where Bbedit reports the character as:

Hex: E2 80 A2
Decimal: 226 128 162
Unicode: 2022

Why is the decimal value of 8226 not mentioned in the data above? Is there a 4d 
command that takes unicode values as a parameter, such that I could input 2022 
and get the bullet glyph?

Also when you look at the wiki referenced by the 4D docs 
(https://en.wikipedia.org/wiki/List_of_Unicode_characters 
) and refer to the 
bullet, you get “U+2022” and what seems like a decimal value of 916. Where is 
the 916 coming from and why is the unicode value written as “U+2022”, do you 
ever have to type “U+”?

Sorry for such a fundamental question, I guess it’s time to learn more about 
character sets.

Thanks,

Robert
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: v13+ - plugins

2018-12-18 Thread Timothy Penner via 4D_Tech
Check the explorer for additional clues:
http://kb.4d.com/assetid=76951

-Tim






-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Chip Scheide via 
4D_Tech
Sent: Tuesday, December 18, 2018 8:28 AM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Chip Scheide <4d_o...@pghrepository.org>
Subject: Re: v13+ - plugins

thanks

it seems I have a different plugin issue than I initially thought.
it is not a matter of does the plugin exist...

Thanks
Chip

On Tue, 18 Dec 2018 07:27:19 -0800, Kirk Brooks via 4D_Tech wrote:
>
http://livedoc.4d.com/4D-Language-Reference-17/4D-Environment/PLUGIN-LIST.301-3730399.en.html
>
> On Tue, Dec 18, 2018 at 7:26 AM Chip Scheide via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
>> Is there a way to determine what plugins are currently installed?
>>
>> Thanks
>> Chip
>>
>> ---
>> Gas is for washing parts
>> Alcohol is for drinkin'
>> Nitromethane is for racing
>> *
>> *
>> 4D Internet Users Group (4D iNUG)
>> Archive:  http://lists.4d.com/archives.html
>> Options: https://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> *
>> *
>
>
>
> --
> Kirk Brooks
> San Francisco, CA
> ===
>
> *We go vote - they go home*
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: [ANN] Service disruption Today @ noon PST - back online now

2018-12-05 Thread Timothy Penner via 4D_Tech
Everything should be back to normal now.

-Tim





-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Timothy Penner via 
4D_Tech
Sent: Wednesday, December 05, 2018 9:49 AM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Timothy Penner 
Subject: [ANN] Service disruption Today @ noon PST

Hi All,

Today starting at 12:00 PM noon PDT / 7 PM UTC we will be performing an upgrade 
of our fiber optic circuit and router at the 4D Inc office. The service 
disruption is expected to last less than between 1-2 hours (hopefully no longer 
but it is possible).

During this time, both internet & phone service in the San Jose office will be 
interrupted. This will also cause the following websites to be temporarily 
unavailable:

• kb.4d.com
• lists.4d.com
• services.4d.com
• partnercentral.4d.com

We hope to have everything back up and running quickly, so please bear with us 
as this brief disruption may affect other sites within the 4D.com network.

-Tim








**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Explorer bottom toolbar not displaying...

2018-11-20 Thread Timothy Penner via 4D_Tech
Or use this code:

http://kb.4d.com/assetid=77586
Note: make sure the explorer is closed when running the code.

Or just hold SHIFT when opening the Explorer window to reset it.

-Tim




-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Randy Jaynes via 
4D_Tech
Sent: Tuesday, November 20, 2018 11:38 AM
To: 4D iNug List <4d_tech@lists.4d.com>
Cc: Randy Jaynes 
Subject: Re: Explorer bottom toolbar not displaying...

First guess is to quit 4D and throw out the folder "4D Window Bounds v15” in 
your 4D folder.

On Mac, this is
~/Library/Application Support/4D/4D Window Bounds v15/

In Windows it’s somewhere in the C:/ProgramData folder I think.

Randy

--
Randy Jaynes
Senior Programmer and Customer Support

http://printpoint.com  • 845.687.3741 • PrintPoint, Inc 
• 57 Ludlow Lane • Palisades, NY 10964 Please send all email contacts to 
supp...@printpoint.com 





> On Nov 20, 2018, at 2:32 PM, Garri Ogata via 4D_Tech <4d_tech@lists.4d.com 
> > wrote:
>
> Hello,
>
> 4D v15.3 explorer is not displaying the bottom toolbar. There is no add, 
> minus (delete), or arrow for  preview or comments button. How do you get 
> these to reappear?
>
> Thanks,
> Garri Ogata
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html 
> 
> Options: https://lists.4d.com/mailman/options/4d_tech 
> 
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com 
> 
> **

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Controlling Laptop Camera from 4D

2018-11-12 Thread Timothy Penner via 4D_Tech
Hi Randy,

Have you tried these?

Tech Note: Camera Interface - Revised
http://kb.4d.com/assetid=77204

Tech Note: Camera Security Surveillance System in 4D
http://kb.4d.com/assetid=77659

-Tim







-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Randy Engle via 
4D_Tech
Sent: Monday, November 12, 2018 11:14 AM
To: '4D iNug Technical' <4d_tech@lists.4d.com>
Cc: Randy Engle <4d.l...@xc2.us>
Subject: Controlling Laptop Camera from 4D

I'm trying to run the camera on my laptop (Dell 7720) - yes - it's Windows

I thought that Win32API might be able to do this, but all I can see using 
TWAIN_GetSources are some scanners on my network.
So, apparently, my laptop camera is not a Twain or Wia device.

Thought Qpix might do this, but same, all I see are the scanners.

Camera on laptop is running, operatational, etc.

Anyone know if it is possible to control the on-board camera from within 4D 
using anything?

Thanks

Randy Engle


**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: CREATE USER Programmatically?

2018-11-01 Thread Timothy Penner via 4D_Tech
Take a look at:
SET USER PROPERTIES
http://doc.4d.com/4Dv16/4D/16.4/Set-user-properties.301-3979154.en.html

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Using listbox as output form replacement

2018-10-23 Thread Timothy Penner via 4D_Tech
Hi Jim,

> Is there a way to get this to work in User mode?

User Mode? Maybe the following items will help -

Tech Tip: User Mode is now a part of Design Mode
http://kb.4d.com/assetid=47243

Tech Tip: Converting Databases that used "User Mode"
http://kb.4d.com/assetid=75239

Tech Note: User Mode Component  (for databases prior to v12)
http://kb.4d.com/assetid=75777

Tech Tip: Virtual User Mode (for databases v12 and higher)
http://kb.4d.com/assetid=76942
https://github.com/miyako/4d-tips-virtual-user-mode

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Converting pictures

2018-10-23 Thread Timothy Penner via 4D_Tech
Hi Setar,

The v13 code to convert PICT -> PNG is here: http://kb.4d.com/assetid=76775
^ There is no transparency option in that code.

While the following code was published for v16: http://kb.4d.com/assetid=77963
^ This one uses the transparency option.

Regarding 4D Pack, it should exist in v16 but it is no longer available in 
newer versions:
http://livedoc.4d.com/4Dv17/help/Title/en/page3607.html#3188011
{
Over the course of different versions, the most useful 4D Pack routines were 
progressively integrated into 4D itself, while those that became obsolete were 
removed. Starting with 4D v16 R2, the 4D Pack plug-in is no longer provided in 
versions of 4D. Refer to the table below to find out the replacement solutions 
available (if any) for 4D Pack routines.
}

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Help->v11 to v17 Upgrade or New?

2018-10-17 Thread Timothy Penner via 4D_Tech
> The rest of the conversion needs to be done by the developer and consists of 
> replacing the subtable commands and redrawing the relationship line. This is 
> not automatic.

See more here: http://livedoc.4d.com/4Dv17/help/Title/en/page3607.html#1693868


What we mean by “change the code everywhere if it is needed” is, basically:

* Create the new forms, update included forms

* In the methods (project, form, object, etc.):
   + Replace all commands of the “SubRecords” theme with the corresponding 
Selection or Record command (for example, replace _o_CREATE SUBRECORD with 
CREATE RECORD, filling the ID fields)
   + Explicitly load the N records when needed



-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Help->v11 to v17 Upgrade or New?

2018-10-17 Thread Timothy Penner via 4D_Tech
The main conversion of subtables took place when upgrading to v11, this was 
automatic.
^ This only applied to sincle-level subtables as anything beyond the first 
level was lost: http://kb.4d.com/assetid=49513

The rest of the conversion needs to be done by the developer and consists of 
replacing the subtable commands and redrawing the relationship line. This is 
not automatic.

-Tim







-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Spencer Hinsdale via 
4D_Tech
Sent: Wednesday, October 17, 2018 1:11 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Spencer Hinsdale 
Subject: Re: Help->v11 to v17 Upgrade or New?


4D automatically converts Subtables. This should not be a problem.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Structure to TEXT files... GitHub

2018-10-16 Thread Timothy Penner via 4D_Tech
> I don’t seem to have this command in 4D v17R2 or 15.6.

It's in v17 R3
https://blog.4d.com/text-files-from-your-structure-file/

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Built Server—Best Practices...

2018-10-16 Thread Timothy Penner via 4D_Tech
Just to clarify -

The suggestion from 4D Technical Support is to include 100% of the entire 
application package that is built by 4D. Typically this is done by archiving 
the application in a ZIP file or on a DMG and transferring the archive to the 
destination machine where it is unarchived. You can go a step further an use an 
installer also.

In a situation where there is limited bandwidth (if you feel that transferring 
the whole package is too much), then as an alternative you can try to use a 
product like RSYNC or ROBOCOPY. Using these 3rd party tools you can skip the 
files that are identical between the source and destination, and only transfer 
the files that are different. Typically doing a transfer in this way would 
include more than just the 4DC.

The overall goal of both approaches is to get the application to the 
destination machine in a way that makes it so that the files running on the 
destination machine match the files that were built.

-Tim

> However, I found another issue, the backup settings and maybe the cache 
> settings were not set on the deployed server deliverable and I set these 
> manually. How do you manage these settings?

Using "User Settings" allows you to manage the cache settings in an external 
file at the deployment site:
http://doc.4d.com/4Dv15/4D/15.6/Using-user-settings.300-3836796.en.html

However the backup settings are not included in user settings...  So you can 
manage the backup xml file as outline in the following tech tip:

Tech Tip: Retaining the Backup Settings when upgrading a merged application
http://kb.4d.com/assetid=77988

-Tim




**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Facial recognition

2018-10-11 Thread Timothy Penner via 4D_Tech
Hi Ferdinando,

> Someone have experience on facial recognition software interfaced with 4D?

There is a tech note on kb.4d.com regarding facial recognition:

Tech Note: Integrating Facial Detection and Recognition in 4D - Revised
http://kb.4d.com/assetid=77536

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: HMAC SHA256 in native 4D code?

2018-10-10 Thread Timothy Penner via 4D_Tech
Hi Bill,

I have some older code in the ACME Client technote 
(http://kb.4d.com/assetid=77708) that perhaps could be repurposed. It doesn't 
do HMAC but it could get you started and maybe after you adapt the code it will 
work for your purposes.

The code works natively on MacOS because MacOS includes openssl in the 
distribution of the OS, while on Windows the code expects the openssl binary 
app to be available in the resources directory of the database using code like 
this:
If (Folder separator=":")
  // MacOS
$cmd:="openssl"
Else
  // Windows
$cmd:=Get 4D folder(Current resources folder)+"openssl"+Folder 
separator+"win64"+Folder separator+"openssl.exe"
End if

Here is the full code I use:

// UTIL_hash_sha256
If (Count parameters=1)
C_BLOB($0;$result)
C_TEXT($1)
C_TEXT($cmd;$in;$err)
If (Folder separator=":")
  // MacOS
$cmd:="openssl"
Else
  // Windows
$cmd:=Get 4D folder(Current resources folder)+"openssl"+Folder 
separator+"win64"+Folder separator+"openssl.exe"
End if

C_TEXT($true_t)
$true_t:="true"
SET ENVIRONMENT VARIABLE("_4D_OPTION_CURRENT_DIRECTORY";Temporary folder)
SET ENVIRONMENT VARIABLE("_4D_OPTION_HIDE_CONSOLE";$true_t)

$in:=$1
$cmd:=$cmd+" dgst -sha256 -binary"
LAUNCH EXTERNAL PROCESS($cmd;$in;$result;$err)

$0:=$result
End if

I haven’t tried this yet but I suspect that you should be able to modify the 
$cmd assignment to include the necessary '-hmac "key" 
1234567890abcdef1234567890abcdef' parameters:
c.f. https://stackoverflow.com/a/42938987/5971390

Hope that helps,

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Blank server administration window v17

2018-10-10 Thread Timothy Penner via 4D_Tech
If you are a member of the 4D Partner Program then I would suggest checking the 
nightly builds as this sounds like a bug that was fixed since the last hotfix:

Fixed Build: 227264
Fix Date: 13/09/2018
Bug #: ACI0098580
Description: 4D Server stops updating / refreshing the UI on the Server

https://bugs.4d.fr/fixedbugslist?Branch=17

The last hotfix was 226804 while this bug was fixed in 227264, so using the 
latest hotfix is not enough.

-Tim




**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: v13 - Relate One Selection issue

2018-10-03 Thread Timothy Penner via 4D_Tech
Hi Doug,

The latest post from Thomas Maul talking about Query By Formula that I find on 
the forums is from June:
http://forums.4d.com/Post/EN/24801062/1/24823734#24823734
^ this post is restricted to people with access to the R-releases.

Here is a full list: 
http://forums.4d.com/List_Message/EN:0/0/1/1/1/1/0/0/3985/1/-1/461451/1/0/0/0/0/352298223

Are you sure it wasn’t the blog post I referred to?

I am pretty sure you are referring to the blog post about driving with the 
parking brake on:
https://blog.4d.com/compatibility-settings-or-driving-with-the-parking-break-onpart-1/

-Tim


**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: v13 - Relate One Selection issue

2018-10-03 Thread Timothy Penner via 4D_Tech
> Thomas Maul posted a valuable, lengthy message about QbF on the 4D Forum that 
> extolled its virtues. IIRC, he suggested using QbF if your query had two or 
> more search clauses. (I've tried to find the posting recently and not been 
> able to — if anyone finds it, it would be a great post to link to.)

https://blog.4d.com/compatibility-settings-or-driving-with-the-parking-break-onpart-1/
https://blog.4d.com/compatibility-settings-use-period-and-comma-as-placeholders-part-2/

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Finally v17 PDF-Manuals

2018-09-28 Thread Timothy Penner via 4D_Tech
> link?

Here you go:
http://doc.4d.com

I like red arrows:
https://i.imgur.com/8pms9rd.png

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: How to get the current time in a specified time zone

2018-09-27 Thread Timothy Penner via 4D_Tech
There are a lot of nuances for timezone data; here are a few that I find 
interesting -

* Is "12:00:00 AM Tuesday" at the beginning of Tuesday or at the end of 
Tuesday? Depends on which year you are talking about and what country you are 
in.

* If you have a timestamp that originates in Russia between 1st and 13th of 
February 1918, is it a valid timestamp? This is the period of time Russia 
switched from Julian to Gregorian calendar thus skipping those days.

* Samoa changed their timezone offset by 25 hours in 2011 so, technically 
speaking, December 30th 2011 never happened in Samoa; a similar (yet opposite) 
occurrence happened in Samoa on July 4th 1892, where July 4th 1892 happened 
twice in Samoa.

The following article is both interesting and funny in how it explains some of 
these nuances:
https://zachholman.com/talk/utc-is-enough-for-everyone-right

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: How to get the current time in a specified time zone

2018-09-24 Thread Timothy Penner via 4D_Tech
> There is also the NET_TIME command in 4D Internet Commands:
> http://doc.4d.com/4Dv17/4D/17/NET-Time.301-3785509.en.html

Something like this:

C_TIME($vTime)
C_DATE($vNetDate)
C_LONGINT($vNetTime;$vOffset;$err)
$vOffset:=-7
$err:=NET_Time ("time.nist.gov";$vNetDate;$vNetTime;$vOffset)
If ($err=0)
$vTime:=Time(Time string($vNetTime))  //Convert the LongInt time to a 4D Time
 End if

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: How to get the current time in a specified time zone

2018-09-24 Thread Timothy Penner via 4D_Tech
Interesting approach; I also just found these:

UTC: http://worldclockapi.com/api/json/utc/now
PST: http://worldclockapi.com/api/json/pst/now
EST: http://worldclockapi.com/api/json/est/now

The output is JSON, so it should be easily parsed.

There is also the NET_TIME command in 4D Internet Commands:
http://doc.4d.com/4Dv17/4D/17/NET-Time.301-3785509.en.html



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: 4D User Blank

2018-09-19 Thread Timothy Penner via 4D_Tech
Hi Tom,

> Any ideas on what might cause this?

When a user is looking at the 4D login screen from a client, before they login 
to 4D the user information will be displayed on the server with a blank 
username (but with the other fields filled in); this is expected because the 
client has not yet logged in.

There was a bug (ACI0097341) where is a user clicks cancel from the user login 
window, that this session was never removed from the server, leaving the blank 
user in the list.

ACI0097341 is fixed in v17.0+ and 16.3+

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: 2 Factor Authentication

2018-09-19 Thread Timothy Penner via 4D_Tech
Hi Jim,

> Does anyone know of a method, plugin or component to implement 2 factor 
> authentication ?

Did you go to the 4D Summit?

If so, then you should have access to this:
http://kb.4d.com/assetid=78020

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Signing a MacOS Standalone Application - XCode version 9.2

2018-09-18 Thread Timothy Penner via 4D_Tech
Hi Jody,

> Launched XCode - yike! the interface is very much different. So no following 
> the step by step instructions like I thought I would be able to do.

What version of XCode and which tech note?

I ask because the most recent tech note about application signing doesn’t 
really include anything about the interface in Xcode (other than for obtaining 
the actual certificate from Apple) and the actual signing process would either 
be done in Temrinal or from 4D anyways (not from Xcode).

This is the tech note I am referring to: http://kb.4d.com/assetid=78116

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: v13 - SQL alter table, what is wrong?

2018-09-18 Thread Timothy Penner via 4D_Tech
Regarding v13 docs; we have this on the Doc Center doc.4d.com: 
https://i.imgur.com/czSO9xs.png

Hope that helps.

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Understanding a Runtime Error message

2018-09-17 Thread Timothy Penner via 4D_Tech
Hello,

> How do I
>a. Look up the details for that issue,

The details of bug reports are private so you cannot look up the bug details 
yourself.
If you are a member of the 4D Partner Program you can contact tech support and 
ask for additional details of a particular bug report and they will try to 
obtain additional context for you.
If you are not a member of the 4D Partner Program than you can contact your 
account/sales rep and get additional details on joining the program.

> b. Find these issues on my own?

As a member of the 4D Partner Program (Silver level and higher), you get access 
to hotfixes and nightly builds, each of these include a list of bug fixes. So 
if you have access to them then you could browse the lists to find the fixed 
issues yourself. However, there is no interface to search (other than find in 
page). On the other hand, 4D Tech Support has access to the database and can 
perform full text searches.

Hope that helps,

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Understanding a Runtime Error message

2018-09-17 Thread Timothy Penner via 4D_Tech
What version are you using?

It sounds like the following bug:

ACI0097564   Unexpected Runtime internal timer error #22 during a Backup.

This was fixed  in 16 R6 and 16.3

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: v13(+?) - Components and host processes

2018-09-14 Thread Timothy Penner via 4D_Tech
According to the docs, Processes are in the Unshared category of objects:
http://doc.4d.com/4Dv15/4D/15.6/Interaction-between-components-and-host-databases.300-3836723.en.html#516546

What you can do is this;

1) create a method in the host database that returns the data you are looking 
for
2) set the method properties to 'shared between host and component'
http://doc.4d.com/4Dv15/4D/15.6/Interaction-between-components-and-host-databases.300-3836723.en.html#516569

Then your component can call this method and obtain the information from the 
context of the host.

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: 4D Client as Web Server - Using same 4D Process if web access from diff. machines

2018-09-14 Thread Timothy Penner via 4D_Tech
When looking at the Web Server (Client) settings, are you using automatic 
session management?
http://doc.4d.com/4Dv15/4D/15.6/Web-Sessions-Management.300-3817755.en.html

Are you using the WEB CLOSE SESSION command?
http://doc.4d.com/4Dv15/4D/15.6/WEB-CLOSE-SESSION.301-3817719.en.html

Reminder, the Client Web Server has different settings than the Local (Server 
vs Desktop) Web Server.

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: PDF generation on Windows - Latest Thinking

2018-09-13 Thread Timothy Penner via 4D_Tech
> Discovered a couple of days ago that the Win10 printer creates huge pdf files 
> in comparison to pdfCreator.
> One report containing graph images is around 200KB from pdfCreator and is 
> over 8MB with Print to PDF.

This is a very interesting observation that I was previously unaware of (or 
forgot).

It seems that many people that use the Microsoft Print to PDF feature share the 
same view as you. The following page has an example of a PDF file that is saved 
as 411 Kb using PDFCreator and 3,148 KB using MS Print to PDF:
https://answers.microsoft.com/en-us/windows/forum/windows_10-hardware-winpc/print-to-pdf-files-too-large/52000742-6092-428e-836a-9329d043468a

It is also talked about there:
https://answers.microsoft.com/en-us/edge/forum/edge_other-edge_win10/how-to-reduce-file-size-when-print-to-pdf/6dd3505d-9b2f-44c3-9902-af684dcdd5ac
https://answers.microsoft.com/en-us/windows/forum/windows_10-performance-winpc/why-are-files-printed-with-print-to-pdf-so-huge/6c140441-00c0-4302-b903-3527f2f725b2
https://superuser.com/questions/1151957/how-to-reduce-file-size-produced-by-microsoft-print-to-pdf

From looking over the posts online, it seems that Microsoft may not offer any 
form of compression on their PDF file, while PDFCreator and Adobe do.





**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Help?

2018-09-11 Thread Timothy Penner via 4D_Tech
You can skip the on startup code via a 4dlink file as described here:


http://kb.4d.com/assetid=76553

-Tim


Sent from my Verizon, Samsung Galaxy smartphone




 Original message 
From: Kenneth Geiger via 4D_Tech <4d_tech@lists.4d.com>
Date: 9/10/18 4:55 PM (GMT-08:00)
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Kenneth Geiger 
Subject: Help?

Hi All,

I just made a really dumb mistake. Is there some magic key-stroke(s) (Windows 
10, 4D v16) to force 4D to Start in the Design Mode?

TIA,

Ken
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: What constitutes use of 4D View Pro?

2018-09-10 Thread Timothy Penner via 4D_Tech
> I would think a good solution would be to add some indicator to the Property 
> window in Design so that every feature that requires a 4D View Pro license is 
> obvious. Maybe you make those properties a different color like blue or 
> purple. At least then when you were building the listbox with the Form Editor 
> you’d know what you were getting into.

There is a somewhat related feature request:
http://forums.4d.com/Post/EN/21929354/1/21929847#21929355

It doesn't look like anyone has voted on it yet...

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: table/field token

2018-09-05 Thread Timothy Penner via 4D_Tech
Hi Richard,

> > * Starting with 4D v16 R4, "." and "[]" characters are no longer allowed in 
> > names of tokenized objects.
> I take that to mean they are no loner allowed in “new” names of tokenized 
> objects.

I take it to mean they are no longer allowed in tokenized objects, **existing 
or new**.  To be pedantic, I am interpreting the 'no longer' part of the 
sentence to apply to *existing* tokenized objects and then the overall sentence 
I am interpreting would also apply to *new* tokenized objects as well. I don't 
think it would make sense for this to apply to one and not the other.

I am not sure what would have been found by the MSC in your specific situation, 
but I am very curious...

Quote:
{
A specific MSC feature helps you detect names which are incompatible with 
object notation. Using this feature is highly recommended before enabling the 
option (see the Verify page section of the "MSC" chapter). As usual, it is 
recommended to work on a copy of the structure file.
}

Did you try running it through the MSC prior to enabling the feature?

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: table/field token

2018-09-05 Thread Timothy Penner via 4D_Tech
> Surely something to do with dot notation, but I wonder if it's a bug or 
> something I miss?

There is a section of the docs that talks about this:
http://doc.4d.com/4Dv16R4/4D/16-R4/Using-object-notation-preview.300-3303773.en.html#3304590

{
Activating the object notation
Over any versions, 4D has always accepted dots (.) and square brackets ([ and 
]) in tokenized database object names (tables, fields, variables, and methods).

However, these characters are used to identify language tokens in standard 
object notation. Thus, databases using names containing dots or square brackets 
are not compatible with the standard object notation since misinterpretations 
could break existing code. For example, if the following code is written:

a.b
a.b:=c[1]

...4D could not know if a.b and c[1] represent standard variable names or if b 
is a property of the a object and c the second element of a c collection.

Consequently:

* In converted databases, you have to select a specific option stating that you 
want to use the object notation. By selecting this option, you declare that 
your code is "object notation ready", that is, it does not use any names 
containing "." or "[]" characters.
* A specific MSC feature helps you detect names which are incompatible with 
object notation. Using this feature is highly recommended before enabling the 
option (see the Verify page section of the "MSC" chapter). As usual, it is 
recommended to work on a copy of the structure file.
* Enabling the object notation is a no-return option since it requires a 
retokenization of the code. Once enabled, it cannot be removed and the database 
cannot be reopened with a previous version.
* Starting with 4D v16 R4, "." and "[]" characters are no longer allowed in 
names of tokenized objects.
}

Hope that helps,

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Duplicate data in Key Field

2018-08-30 Thread Timothy Penner via 4D_Tech
How did you add the UUID primary key?

When you added the UUID field, did you use SQL, and if so, did you use the 
TRAILING keyword as shown here:
http://kb.4d.com/assetid=76991

-Tim





**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Sending PDFs to Chrome

2018-08-30 Thread Timothy Penner via 4D_Tech
More locally to the developer, it looks like there should also be a list of 
mime types (in XML format) stored within the application:

"Note: The list of MIME types supported by the 4D HTTP server is saved in the 
"MimeTypes.xml" file found in the following folder of the 4D application: 
[Contents]\Native components\HTTPServer.bundle\Contents\Resources."

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Sending PDFs to Chrome

2018-08-30 Thread Timothy Penner via 4D_Tech
> I just want to note that SEND HTML BLOB in tech note is now WEB SEND BLOB.

That is correct, the command was renamed in v13.

I should also note that the documentation for WEB SEND BLOB lists a bunch of 
known mime types as well:
http://livedoc.4d.com/4Dv17/help/Command/en/page654.html

Kind Regards,

Tim PENNER



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Sending PDFs to Chrome

2018-08-30 Thread Timothy Penner via 4D_Tech
This may be helpful also:

Tech Tip: How to send non-html files using SEND HTML BLOB
PRODUCT: 4D | VERSION: 11 | PLATFORM: Mac & Win
Published On: July 16, 2009
http://kb.4d.com/assetid=75828




**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Re(2): 4D Write Pro WP feature request - need your support

2018-08-29 Thread Timothy Penner via 4D_Tech
> When I click on the link from the original poster, I get into a list of 
> forums, not the request. What's the problem -- login?

You must be logged in to view the Feature Request forum.

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Team Developer - Do all developers need to be on same minor version?

2018-08-28 Thread Timothy Penner via 4D_Tech
Keep in mind that 4D QA does not test mixing and matching different versions of 
client and server - there are way too many permutations... QA only tests the 
same build of the client with the same build of the server. It is typically the 
expectation that the version of 4D Client will match 4D Server, although, it is 
only enforced when there are specific changes to the protocol.

I think the following tech note explains the situation and provides code 
examples of how you can handle it via 4D code:

Tech Note: Validation of Client Build Version
http://kb.4d.com/assetid=77112
PRODUCT: 4D Server | VERSION: 14.0 | PLATFORM: Mac & Win
Published On: July 24, 2014
This technical note will provide more insight on the changes between 4D 
releases and the difference and significance between the versions and build 
numbers. The code changes between different builds of 4D can cause errors and 
unexpected behaviors may occur when running mismatched builds between clients 
and servers. While 4D has a mechanism to prevent connection of mismatching 
Clients and Server, it isn't strongly enforced for builds of the same version. 
This Technical Note will also provide a technique and methods to address this 
problem.


-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: How to tie 4D to barcode readers?

2018-08-24 Thread Timothy Penner via 4D_Tech
If the barcode scanner is a USB-HID device then it just acts like a keyboard. 
If you have access to the summit content there was a session a while back:

http://kb.4d.com/assetid=77624

-Tim


Sent from my Verizon, Samsung Galaxy smartphone




 Original message 
From: mferguson--- via 4D_Tech <4d_tech@lists.4d.com>
Date: 8/24/18 6:51 AM (GMT-08:00)
To: 4D iNug Technical <4d_tech@lists.4D.com>
Cc: mfergu...@myofficelink.com
Subject: How to tie 4D to barcode readers?

Hi,

I am familiar with plugins to print barcodes, but don’t know what interface is 
needed to get 4D to read barcodes from barcode wands, etc. Does anyone have 
advice or recommendations?

Thanks,

Michael Ferguson
Objective Systems

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Remove Remembered Password

2018-08-23 Thread Timothy Penner via 4D_Tech
Tim,




-Original Message-
> And maybe someday, just maybe — 4D will add another build app XML key that 
> will “remove remember password” from the login screen and this will be just 
> another oddity in the world of 4D.

There is a similar feature requests for this, although it only has 2 votes (1 
of the 2 votes is my vote)
http://forums.4d.com/Post/EN/14360313/1/14360314#14360314

It doesn’t look like you have voted on this... so you could easily make it 3 
votes right now.

There are also these:
http://forums.4d.com/Post/EN/16226055/1/16245558#16245558
http://forums.4d.com/Post/EN/3954901/1/3954902#3954902 <- this may have a 
working solution for you?

-Tim


**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Remove Remembered Password

2018-08-23 Thread Timothy Penner via 4D_Tech
Hi Tim,

> There is an article in the 4D Knowledge Base about this, but it is for older 
> versions of 4D where the path to this saved “.mdp” file has different. I used 
> that as a starting point and the got it to work with the 4D v14 version that 
> I needed. Should work with 4D v14+.

It looks like your code is essentially the same as 
http://kb.4d.com/assetid=76632 accept that you are dynamically getting the 
current version of 4D and using that, while in the tech tip it hardcodes v12 in 
the pathname; otherwise it’s the same path... Am I missing something?


-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D 16.3HF4 Windows 64 bit?

2018-08-23 Thread Timothy Penner via 4D_Tech
The 64 bit Windows standalone/remote application is a feature of v17.

It was first available as a preview in 16.0 (release notes said it would not be 
in further 16.x releases)

The status changed from preview to final in 16R2; however it's still a feature 
of v17 (not v16).

-Tim



Sent from my Verizon, Samsung Galaxy smartphone




 Original message 
From: Ben Kershaw via 4D_Tech <4d_tech@lists.4d.com>
Date: 8/22/18 12:33 PM (GMT-08:00)
To: 4d_tech@lists.4d.com
Cc: Ben Kershaw <4d...@bonaire-diver.com>
Subject: 4D 16.3HF4 Windows 64 bit?

Is there a 64 bit version of v16.3HF4 for Windows? I don’t see any 64 bit 
Windows versions in the hotfix area on the forums. I see the server, but not 
the single user/client version.

If I need 64 bit Windows clients, am I forced into using an R release?

Thanks,
Ben Kershaw
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Creating Windows Taskbar Icons with 4D Version Numbers

2018-08-16 Thread Timothy Penner via 4D_Tech
Thanks Tim! I am working on publishing this info.

-Tim




-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Tim Nevels via 4D_Tech
Sent: Thursday, August 16, 2018 12:18 PM
To: 4d_tech@lists.4d.com
Cc: Tim Nevels 
Subject: Re: Creating Windows Taskbar Icons with 4D Version Numbers

On Aug 16, 2018, at 2:00 PM, Cannon Smith wrote:

> Thank, Tim. This is a great tip! In fact, it would make a good Tech Tip.

For what it’s worth — if is even necessary — I authorize 4D, Inc. to use this 
idea to create a Tech Tip. 

On macOS I do something different to get the same effect from the Dock. I 
rename the applications. So “4D.app” becomes “4D v17.0 HF1.app”. Then when you 
hover over the icon in the doc you see the version info instead of just “4D".

I didn’t mention this before because I assumed all the macOS developers already 
knew, but maybe not. So here it is for completeness.

Tim

*
Tim Nevels
Innovative Solutions
785-749-3444
timnev...@mac.com
*

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Some Older PCs Unable to run 4D Client in 64 bit

2018-08-14 Thread Timothy Penner via 4D_Tech
The chipset must support SSE4,1 in order to run 64 bit versions of 4D.
This requirement has existed for a while and is on the certification matrix of 
v14, 15, and 16:
{
(1) Instruction set SSE 4.1 must be available if using 64-bit 4D applications. 
SSE 4.1 exists in most Intel CPU’s starting 2008.
For details see: https://en.wikipedia.org/wiki/SSE4
}

I know you said you bought the machine in 2008 but maybe it doesn’t actually 
support the CPU instruction set, you can check your actual machine with a 
program called CPU-Z by CPUID or you can look up the CPU online to see if it 
should include the instruction set.

According to this:
https://www.dell.com/downloads/global/products/optix/en/opti_745techspecs.pdf
^ It looks like the Optiplex 745 used cPU's from 2006:
https://ark.intel.com/products/27249/Intel-Core2-Duo-Processor-E6400-2M-Cache-2_13-GHz-1066-MHz-FSB
https://ark.intel.com/products/27521/Intel-Pentium-D-Processor-950-4M-Cache-3_40-GHz-800-MHz-FSB
https://ark.intel.com/products/27115/Intel-Celeron-D-Processor-331-256K-Cache-2_66-GHz-533-MHz-FSB

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: v17.0 HF1 Bug Fix delayed process not waking fix

2018-08-14 Thread Timothy Penner via 4D_Tech
Hi Tim,

> ACI0098368 A delayed processes do not wake up if paused and then resumed: 
> it stays in pause mode.

The same bug fix is also in the following v16.x nightly build:
Version : 16.3
Change : 225762
https://bugs.4d.fr/fixedbugslist?branch=16

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: OFF - Reconditioning SSD Drives

2018-08-09 Thread Timothy Penner via 4D_Tech
I can't speak to the reliability of TRIM on mac, but I know it works great on 
Windows (and automatically).

It looks like you should be able to determine if the drive supports TRIM from 
the System Report (about my mac):
https://www.cnet.com/how-to/installing-ssd-on-mac-trim-mistake/

-Tim





-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Dave Nasralla via 
4D_Tech
Sent: Thursday, August 09, 2018 5:59 AM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Dave Nasralla 
Subject: Re: OFF - Reconditioning SSD Drives

Thanks Tim,

On the next system maintenance I'll look into the Samsung software.
I'm seeing mixed reports about TRIM on the Mac - everything from: "it does not 
work on external SSDs" to a command line 'trimforce' which has a disclaimer to 
not use it on production machines as it may cause data loss. This is an excerpt 
from my terminal command line with I attempt to use the trimforce command:

"IMPORTANT NOTICE:  This tool force-enables TRIM for all relevant attached 
devices, even though such devices may not have been validated for data 
integrity while using TRIM.  Use of this tool to enable TRIM may result in 
unintended data loss or data corruption.  It should not be used in a commercial 
operating environment or with important data. Before using this tool, you 
should back up all of your data and regularly back up data while TRIM is 
enabled.  This tool is provided on an “as is” basis. APPLE MAKES NO WARRANTIES, 
EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF 
NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, 
REGARDING THIS TOOL OR ITS USE ALONE OR IN COMBINATION WITH YOUR DEVICES, 
SYSTEMS, OR SERVICES. BY USING THIS TOOL TO ENABLE TRIM, YOU AGREE THAT, TO THE 
EXTENT PERMITTED BY APPLICABLE LAW, USE OF THE TOOL IS AT YOUR SOLE RISK AND 
THAT THE ENTIRE RISK AS TO SATISFACTORY QUALITY, PERFORMANCE, ACCURACY AND 
EFFORT IS WITH YOU."

I'm hesitant to try it in a production environment unless others have had a 
good experience with it.

dave

On Wed, Aug 8, 2018 at 10:41 AM, Timothy Penner via 4D_Tech 
<4d_tech@lists.4d.com> wrote:
>> Is TRIM enabled?
>> If not that would be my first step.
>
> Definitely look into running TRIM on a regular basis.
>
> Also, have you looked at the software provided by the manufacturer?
> https://www.samsung.com/semiconductor/minisite/ssd/download/tools/
>
> The manufacturer software usually has some stuff to check if all the settings 
> are correct and also benchmark the drive.
>
> -Tim
>
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: [warning?] v13 (+?) - Type(String Array) = Text array

2018-08-08 Thread Timothy Penner via 4D_Tech
Hi Chip,

This has been Standard Behavior since Unicode was introduced in v11.

Please see Page 260 of the 4D v11 upgrade manual:
ftp://ftp.4d.com/aci_product_reference_library/4D_PRODUCT_DOCUMENTATION/PDF_Docs_by_4D_Product_A-Z/4D/4D_v11_SQL/4D_v11_Upgrade.pdf

Kind Regards,

Tim PENNER



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Automatic updating of built apps

2018-08-08 Thread Timothy Penner via 4D_Tech
> I’m calling SET UPDATE FOLDER with the path to the folder containing the app, 
> like this:
> SET UPDATE FOLDER(“Macintosh 
> HD:Users:jeffgrann:Desktop:SuccessWare:AppUpdate”)
>Are you saying I should be supplying the path to the app package, like this:
> SET UPDATE FOLDER(“Macintosh 
> HD:Users:jeffgrann:Desktop:SuccessWare:AppUpdate:SuccessWare.app”)

Please look at the example in the docs:
http://doc.4d.com/4Dv15/4D/15.6/SET-UPDATE-FOLDER.301-3817918.en.html

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: OFF - Reconditioning SSD Drives

2018-08-08 Thread Timothy Penner via 4D_Tech
> Is TRIM enabled?
> If not that would be my first step.

Definitely look into running TRIM on a regular basis.

Also, have you looked at the software provided by the manufacturer?
https://www.samsung.com/semiconductor/minisite/ssd/download/tools/

The manufacturer software usually has some stuff to check if all the settings 
are correct and also benchmark the drive.

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Multi-Style Reference Toggle

2018-08-07 Thread Timothy Penner via 4D_Tech
Hi Tom,

I believe the correct answer (for Styled Text areas) was posted by Jeremy 
French -
Use the ST SET OPTIONS command to toggle the expression display between 
references and values:
http://doc.4d.com/4Dv17/4D/17/ST-SET-OPTIONS.301-3729984.en.html

The other answer provided by Chuck seems to be specific to 4D Write and will 
not work with a styled text area.

-Tim




-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Tom Dillon via 4D_Tech
Sent: Tuesday, August 07, 2018 11:12 AM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Tom Dillon 
Subject: Re: Multi-Style Reference Toggle

Doesn't this only work with 4D Write? I'm looking for this to work in a text 
variable set to multi-style.

Charles Miller via 4D_Tech wrote:

>WR EXECUTE COMMAND ( area ; cmdNumber )
>
>On Tue, Aug 7, 2018 at 12:18 PM Tom Dillon via 4D_Tech
><4d_tech@lists.4d.com>
>wrote:
>
>> In a multi-style text area, is it possible, like in 4D Write, to
>> toggle the display between showing References and Data?
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Query from C#?

2018-08-07 Thread Timothy Penner via 4D_Tech
There is a C library (C not C#) for connecting to 4D:
https://github.com/4d/SQLlib_4D

The C library is used for multiple different connectors including:
Python: https://github.com/ibrewster/p4d
PHP (pdo): https://github.com/famsf/pecl-pdo-4d

There is also a document describing the SQL Networking Protocol if you want to 
build something that speaks the native 4D SQL protocol:
http://sources.4d.com/trac/4d_pdo4d/raw-attachment/wiki/WikiStart/SQL%20networking%20protocol.doc

Hope that helps!

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: startup progress on server

2018-08-06 Thread Timothy Penner via 4D_Tech
> So what’s the recommendation on giving startup progress so they know that the 
> server hasn’t frozen at some point during the startup method?

To the best of my knowledge, we do not recommend any sort of UI on the server.
So, it is hard to make a recommendation for something we don’t recommend.

Trying to help even though we don’t recommend a UI on the server -

If this was on a client or standalone I would suggest the Progress component:
http://doc.4d.com/4Dv15/4D/15/Progress-New.301-2399698.en.html
http://doc.4d.com/4Dv15/4D/15/Progress-SET-TITLE.301-2399709.en.html
http://doc.4d.com/4Dv15/4D/15/Progress-QUIT.301-2399699.en.html

C_LONGINT($vlProg)
$vlProg:=Progress New
Progress SET TITLE($vlProg;"Title of window for doing stuff 1";-1;"description 
of stuff being done")
// do stuff 1
Progress SET TITLE($vlProg;"Title of window for doing stuff 2";-1;"description 
of stuff being done")
// do stuff 1
Progress QUIT($vlProg)

However, I don’t think that using the progress component would be appropriate 
for the server because it is still a UI and in general our documentation 
suggests against any sort of UI on the server..

Regarding notifying the administrator about ongoing startup tasks - what about 
using the DISPLAY NOTIFICATION command?
http://doc.4d.com/4Dv15/4D/15.6/DISPLAY-NOTIFICATION.301-3818361.en.html
-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

  1   2   3   4   5   >