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

2017-04-26 Thread David Adams via 4D_Tech
> The app is in V13 now and will be moving to V15 over the Summer so there's no 4D Object available yet. Gotcha. I've got my main code base in V13 still and like it fine. I still feel behind on this thread...what turned out to be the source of the slowdown? Packing? Unpacking? Transmission? Some

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

2017-04-26 Thread Douglas von Roeder via 4D_Tech
On Wed, Apr 26, 2017 at 3:49 PM, David Adams via 4D_Tech < 4d_tech@lists.4d.com> wrote: > I just went back to the top of this thread and scanned down...and I think > that I'm not understanding a key detail. Douglas, you're saying that the > packed records have 'meta-data', but it sounds like that

Re: Diff 4D Write Documents

2017-04-26 Thread Douglas von Roeder via 4D_Tech
Kirk: Thanks for your comments (and everyone else). I'll post an update when it's all done. -- Douglas von Roeder 949-336-2902 On Wed, Apr 26, 2017 at 6:03 PM, Kirk Brooks via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Doug, > > ​Yeah that's a completely different universe from ours. At that

Re: Diff 4D Write Documents

2017-04-26 Thread Kirk Brooks via 4D_Tech
Doug, ​Yeah that's a completely different universe from ours. At that point it makes sense to pay someone ​to go over the contract and synch the database to it. Let me know what your final solution to this is. It's an interesting problem. On Wed, Apr 26, 2017 at 1:54 PM, Douglas von Roeder via

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

2017-04-26 Thread David Adams via 4D_Tech
I just went back to the top of this thread and scanned down...and I think that I'm not understanding a key detail. Douglas, you're saying that the packed records have 'meta-data', but it sounds like that data is a map to the packing. So, packed data types and offsets, something of that sort.

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

2017-04-26 Thread Douglas von Roeder via 4D_Tech
On Tue, Apr 25, 2017 at 10:12 AM, Tim Nevels via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Here’s an idea. I’m assuming all the record processing is done in a single > process. How much work would it be to modify the code so that it spawns > multiple processes that can run at the same time? I

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

2017-04-26 Thread Douglas von Roeder via 4D_Tech
Jim: SSD - I'm a big believer in SSD's, no question of that. I'm using a MacBook Pro with a 500 GB SSD. It's a "late 2013" model so it's not as fast as the newer ones (450 MB/s vs > 1000). The server machine is using SSD's running Win Server 2008 with a single i7-4770 CPU running at 3.4 GHz. RAM

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

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

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

2017-04-26 Thread Douglas von Roeder via 4D_Tech
On Tue, Apr 25, 2017 at 6:36 AM, James Crate via 4D_Tech < 4d_tech@lists.4d.com> wrote: > If you can easily modify the code, you could try commenting the SAVE > RECORD command(s), and replace any queries for an existing record with > REDUCE SELECTION($tablePtr->;0). That should be quick and easy

v13 - 4D tool bar visible?

2017-04-26 Thread Chip Scheide via 4D_Tech
Is it possible to programmatically determine if the 4D toolbar is currently displayed? Thanks Chip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ** 4D Internet Users Group (4D iNUG)

Re: Diff 4D Write Documents

2017-04-26 Thread Douglas von Roeder via 4D_Tech
Kirk: I understand your rationale. That's an ingenious solution - driving the content of the order based on what's in the XML - and, given your product mix, that's a good way to ensure that things stay in synch. For this client, the furthest they need to go is to flag changed documents and have

Re: Diff 4D Write Documents

2017-04-26 Thread Douglas von Roeder via 4D_Tech
Bernard: What's available in 4D Write Pro that would make this easier? My current thinking is that we're going to archive these documents when there's s change in the hash value and then compare them with Beyond Compare. BC costs $30, can be run from the command line, and produces a decent

GET FIELD TITLES

2017-04-26 Thread Paul Chernoff via 4D_Tech
I apologize if I have posted this question before but I've been getting bounces previously. I run GET FIELD TITLES([Contacts];$afieldTitle;$afieldNums) ​and only the first 2 fields are returned instead of 17.​ This line used to work fine. I realize there are other places in the database where

Re: QR code

2017-04-26 Thread Chuck Miller via 4D_Tech
It is also built into hm reports. Regards Chuck Chuck Miller Voice: (617) 739-0306 Informed Solutions, Inc. Fax: (617) 232-1064 mailto:cjmillerinformed-solutions.com Brookline, MA 02446

RE: QR code

2017-04-26 Thread Stephen J. Orth via 4D_Tech
I'll second the use of hmBarcode, it's a nice product. Steve * Stephen J. Orth The Aquila Group, Inc. Office: (608) 834-9213 P.O. Box 690 Mobile: (608) 347-6447

Re: QR code

2017-04-26 Thread Lee Hinde via 4D_Tech
I’m using https://www.hmplugins.com/en/hmBarcode/Features-133.html in production. > On Apr 26, 2017, at 1:23 AM, Paul Lovejoy via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hi, > > I spent some time on the partner section looking

Re: Diff 4D Write Documents

2017-04-26 Thread bernard--- via 4D_Tech
Doug, It would be better to migrate to Write Pro before creating a diff for Write documents. As Chuck pointed, you could compare plain text. If written in 4D, you could adjust your features ; not too difficult (I have written one for comparing methods). Bernard Escaich > Le 25 avr. 2017 à

Re: 4D Write Pro CSS

2017-04-26 Thread Jeremy French via 4D_Tech
Hi Pat, Programmatically, my workaround for style sheets is to use the new capabilities to: • define bookmarks. • define templates. • build ranges. • create temporary WritePro areas from a single bookmark. • insert temporary WritePro areas into the final WritePro document. In this scheme, the

Re: [4D Tidbits] - phonetic searches, replacement for SOUNDEX

2017-04-26 Thread Chip Scheide via 4D_Tech
THANKS! and I love the humor of the page :) CHip On Wed, 26 Apr 2017 13:17:25 +0200, Herr Alexander Heintz via 4D_Tech wrote: > Hi everyone, > in case someone has struggled with phonetic searches, especially > trying to get SOUNDEX to work on those pesky foreign names, I may > have something

Re: QR code

2017-04-26 Thread Koen Van Hooreweghe via 4D_Tech
Hi Paul, Check: https://github.com/miyako/4d-plugin-qrencode Kind regards, Koen Op 26-apr.-2017, om 10:23 heeft Paul Lovejoy via 4D_Tech <4d_tech@lists.4d.com> het volgende geschreven: > I spent some time on the partner section looking but I couldn’t find anything > on QR codes. Does

Re: QR code

2017-04-26 Thread Paul Lovejoy via 4D_Tech
Thanks to all of you for your help. Cheers! > Le 26 avr. 2017 à 11:27, Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > Check Miyako GitHub as well > > > On Wed, 26 Apr 2017 at 6:33 pm, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> > wrote: > >> Check out the barcode plugin

Re: [4D Tidbits] - phonetic searches, replacement for SOUNDEX

2017-04-26 Thread David Adams via 4D_Tech
Thanks! It's great of you to take the time and trouble to prepare this for public consumption and to share it with us all. Much appreciated. ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive:

[4D Tidbits] - phonetic searches, replacement for SOUNDEX

2017-04-26 Thread Herr Alexander Heintz via 4D_Tech
Hi everyone, in case someone has struggled with phonetic searches, especially trying to get SOUNDEX to work on those pesky foreign names, I may have something for you today: http://blog.heintz.net/soundex-shmockdex/ Its free, there is no support, if

Re: 4D Write Pro CSS

2017-04-26 Thread Pat Bensky via 4D_Tech
OK, thanks for clarifying that :) So ... I want to create Write Pro documents entirely through programming, but there seem to be some vital options missing. For example: How to create a new Stylesheet? You can apply an existing stylesheet with WP SET ATTRIBUTES but I don't see a way to create

Re: QR code

2017-04-26 Thread Sujit Shah via 4D_Tech
Check Miyako GitHub as well On Wed, 26 Apr 2017 at 6:33 pm, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> wrote: > Check out the barcode plugin from HM Plugins > https://www.hmplugins.com/en/hmBarcode/Features-133.html > > On 26 April 2017 at 09:23, Paul Lovejoy via 4D_Tech

Re: QR code

2017-04-26 Thread Pat Bensky via 4D_Tech
Check out the barcode plugin from HM Plugins https://www.hmplugins.com/en/hmBarcode/Features-133.html On 26 April 2017 at 09:23, Paul Lovejoy via 4D_Tech <4d_tech@lists.4d.com> wrote: > Hi, > > I spent some time on the partner section looking but I couldn’t find > anything on QR codes. Does

Re: QR code

2017-04-26 Thread James Wright via 4D_Tech
Paul, I use this command line app, works great... https://fukuchi.org/works/qrencode/ James. On 26 April 2017 at 09:23, Paul Lovejoy via 4D_Tech <4d_tech@lists.4d.com> wrote: > Hi, > > I spent some time on the partner section looking but I couldn’t find > anything on QR codes. Does anything

QR code

2017-04-26 Thread Paul Lovejoy via 4D_Tech
Hi, I spent some time on the partner section looking but I couldn’t find anything on QR codes. Does anything exist to produce these things? Thanks in advance, Paul ** 4D Internet Users Group (4D iNUG) FAQ:

Re: Diff 4D Write Documents

2017-04-26 Thread Kirk Brooks via 4D_Tech
Doug, On Tue, Apr 25, 2017 at 3:50 PM, Douglas von Roeder via 4D_Tech < 4d_tech@lists.4d.com> wrote: > ​... > The issue that my client is dealing with is that some of the > sales reps have futzed with some of the quote documents. By adding this > feature the sales reps will know that their 4D