Re: Machine ID

2017-04-25 Thread Douglas von Roeder via 4D_Tech
"Heh, I'm trying' " :-) Agree completely about Miyako. Truly an unsung hero. -- Douglas von Roeder 949-336-2902 On Tue, Apr 25, 2017 at 8:54 PM, Sujit Shah via 4D_Tech < 4d_tech@lists.4d.com> wrote: > On Wed, Apr 26, 2017 at 1:46 PM, Douglas von Roeder via 4D_Tech < > 4d_tech@lists.4d.com>

Re: Machine ID

2017-04-25 Thread Sujit Shah via 4D_Tech
I think you can LEP as well. But this will do me for now. On Wed, Apr 26, 2017 at 1:54 PM, Sujit Shah wrote: > > > On Wed, Apr 26, 2017 at 1:46 PM, Douglas von Roeder via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> There's Current machine >>

Re: Machine ID

2017-04-25 Thread Sujit Shah via 4D_Tech
On Wed, Apr 26, 2017 at 1:46 PM, Douglas von Roeder via 4D_Tech < 4d_tech@lists.4d.com> wrote: > There's Current machine > but > that may not be an "ID". > > http://doc.4d.com/4Dv16/4D/16/Current-machine.301-3035973.en.html > > >

Re: Machine ID

2017-04-25 Thread Sujit Shah via 4D_Tech
When 4D does not provide a command look at Miyako's GitHub treasure of gold https://github.com/miyako/4d-plugin-media-access-control On Wed, Apr 26, 2017 at 1:46 PM, Douglas von Roeder via 4D_Tech < 4d_tech@lists.4d.com> wrote: > There's Current machine >

Machine ID

2017-04-25 Thread Sujit Shah via 4D_Tech
Which 4D command returns the machine ID? Was there one? TIA -- xxx "There must be ingenuity as well as intention, strategy as well as strength. " ** 4D Internet Users Group (4D iNUG) FAQ:

Re: Screen Redraw Issues v15.1

2017-04-25 Thread Sujit Shah via 4D_Tech
Has anyone been able to resolve this or is it just me. I am seeing this in 15.3 as well. On Tue, Apr 19, 2016 at 9:55 AM, Sujit Shah wrote: > I am having numerous screen redraw issues especially where subforms are > used. Parts of the subform are replicated on other pages. >

Re: Diff 4D Write Documents

2017-04-25 Thread Douglas von Roeder via 4D_Tech
David: Thank you for posting that. Did a fly by on the home page and, yes, muy bien. Downloading now. -- Douglas von Roeder 949-336-2902 On Tue, Apr 25, 2017 at 6:21 PM, David Adams via 4D_Tech < 4d_tech@lists.4d.com> wrote: > As a text editor on Windows, I like Notepad++, but I haven't

Re: Diff 4D Write Documents

2017-04-25 Thread David Adams via 4D_Tech
As a text editor on Windows, I like Notepad++, but I haven't revisited that choice in years. https://notepad-plus-plus.org/ ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive:

Re: Diff 4D Write Documents

2017-04-25 Thread Douglas von Roeder via 4D_Tech
Chuck: I've used both over the years (settled on BBEdit in the aughts) but they're Mac only and text only. What I am digging into is that both DeltaWalker and Beyond Compare are multi-platform and scriptable. My other option, and a personal preference, is to get MS Word involved. Word has a nice

Re: Diff 4D Write Documents

2017-04-25 Thread Charles Miller via 4D_Tech
Textwrangler and BBEdit have compare doc options as well Sent from my iPhone > On Apr 25, 2017, at 4:32 PM, Douglas von Roeder via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > Kirk: > > That's a sound approach. > > In addition to the hash, my thinking is to store changed documents as >

Re: Diff 4D Write Documents

2017-04-25 Thread Douglas von Roeder via 4D_Tech
Kirk: My current thinking is to store the entire document but a PDF is harder to futz with and it *would* save a bit of disk space. I'm leaning toward just setting up a folder for each quote and dropping a changed document in it. Disk space is copious and free and I don't need "chain of custody"

Re: Diff 4D Write Documents

2017-04-25 Thread Douglas von Roeder via 4D_Tech
Chuck: My thinking, at this point, is to store a modified document in its entirety - disk space on the server is significant and cheap. No problem setting up a folder hierarchy and moving documents around. The big open issue is how much automation to do a diff and review the deltas? Per Kirk's

Re: Diff 4D Write Documents

2017-04-25 Thread Charles Miller via 4D_Tech
I would not generate on demand, as you have no control re size of document. I might store differences between current version and previous with new table where doc is stored I would also store doc in record and not outside of data unless you are willing to create doc mgt system as well

Re: Diff 4D Write Documents

2017-04-25 Thread Kirk Brooks via 4D_Tech
Doug, On Tue, Apr 25, 2017 at 1:32 PM, Douglas von Roeder via 4D_Tech < 4d_tech@lists.4d.com> wrote: > In addition to the hash, my thinking is to store changed documents as > versions of the original ("reference") document instead overwriting the > original. > ​If the formatting isn't important

Re: Diff 4D Write Documents

2017-04-25 Thread Douglas von Roeder via 4D_Tech
Kirk: That's a sound approach. In addition to the hash, my thinking is to store changed documents as versions of the original ("reference") document instead overwriting the original. Next step is to find an app that will do a diff that I can display for the end user. -- Douglas von Roeder

Re: Diff 4D Write Documents

2017-04-25 Thread Kirk Brooks via 4D_Tech
Doug, I'd just grab the text of the document and hash it. MD5 is fine since it's not about security. Save the hash. If any text is changed the hash will change. Since it's in a record you can test for the modified record/ changed hash. On Tue, Apr 25, 2017 at 10:49 AM, Douglas von Roeder via

Re: Diff 4D Write Documents

2017-04-25 Thread Douglas von Roeder via 4D_Tech
Kirk: Each end user modifiable document is stored in a record. Based my new understanding of the requirement, I'm thinking that a "reference" copy of each document will be stored on the LAN in a folder hierarchy. I can flag a document as having been changed on the standalone and capture that as

Re: Diff 4D Write Documents

2017-04-25 Thread Chuck Miller via 4D_Tech
One other recommendation is to use generate digest to get a hash if hash is same docs are the same Regards Chuck Sent from my iPhone > On Apr 25, 2017, at 10:57 AM, Charles Miller via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > On Mon, Apr 24, 2017 at 5:20 PM, Douglas von Roeder via

Re: Diff 4D Write Documents

2017-04-25 Thread Kirk Brooks via 4D_Tech
Doug, Is the document stored in a record or just loose in a folder? On Mon, Apr 24, 2017 at 2:20 PM, Douglas von Roeder via 4D_Tech < 4d_tech@lists.4d.com> wrote: > I've been asked to update the code in an Audit Trail system so it will work > with 4D Write documents. Rather than simply tracking

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

2017-04-25 Thread Douglas von Roeder via 4D_Tech
Tim: There were delays in the code - for whatever reason, the original programer (not Brad!) had delays of up to 15 seconds in some of processes. I thought of kicking this out to multiple processes but that's involved. The data has to follow a strict FIFO sequence so I'd have to examine the

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

2017-04-25 Thread Randy Engle via 4D_Tech
Douglas, Synching is a wonderful thing. Most users think it's a magic bullet. ;-) Yes, it does have some "considerations" Randy Engle XC2 Software LLC -Original Message- From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Douglas von Roeder via 4D_Tech Sent: Tuesday,

Re: Diff 4D Write Documents

2017-04-25 Thread Douglas von Roeder via 4D_Tech
Chuck: Thanks for your thoughts. They want to track *any* change in the document. This is a classic case of the client telling me the "how" instead of telling me the "what" (*what* they want versus *how* to get it). I don't need a solution to run on multiple machines. Instead, I can track

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

2017-04-25 Thread Tim Nevels via 4D_Tech
On Apr 25, 2017, at 12:01 PM,Douglas von Roeder wrote: > Some payloads are pretty good sized but I don't recall if compression is > used. The transmission time is very reasonable - everything just goes in > the crapper when it comes to unbundling. I haven't timed the decoding vs > encoding and

v13 - how to get call chain

2017-04-25 Thread Chip Scheide via 4D_Tech
I have a method which is going to be called from many many places. I want to know the method name (or better entire call chain) of the calling method. how to go about this? ex: A calls B calls C calls D In D I want to know the name of the calling method (C) Thanks Chip --- Gas is

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

2017-04-25 Thread Douglas von Roeder via 4D_Tech
Randy: Good summary. This code is slightly more efficient on the transfer because it packs multiple records into a given BLOB but after reading your posting, this issue could be compounded by lack of server processing power. "Just gotta make sure the client "syncs" often." At times, some users

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

2017-04-25 Thread Randy Engle via 4D_Tech
Hi Douglas, I've been using Web Services (SOAP) for quite some time with our Synchronization module. I only pack the fields that have changed (or all if new record) Send an array of field numbers, and text array of string(values) Pack it all into a blob. Send 1 record per web service call. Seems

Re: Dynamic Method Creation & Content Changing

2017-04-25 Thread truegold via 4D_Tech
Hi All, So after a little reading of the docs and starting at the very first example (which initially seemed incomplete) and baby stepping with simple tests... I was able to auto create and update methods on the fly using "Method Get Code/Method Set Code” So I have been able to move from a

Re: Diff 4D Write Documents

2017-04-25 Thread Charles Miller via 4D_Tech
On Mon, Apr 24, 2017 at 5:20 PM, Douglas von Roeder via 4D_Tech < 4d_tech@lists.4d.com> wrote: > I've been asked to update the code in an Audit Trail system so it will work > with 4D Write documents. Rather than simply tracking that there's been a > change and showing the old document vs the new

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

2017-04-25 Thread Chip Scheide via 4D_Tech
install a UUID All records now have unique identifiers if the data is not there now, implement a 'site id' to determine/track where the data originated. use send record, or plain text, or xml to export/import your done! :) Chip On Mon, 24 Apr 2017 18:25:39 -0700, Douglas von Roeder via

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

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

Citrix and sys_GetEnv alternative for getting CLIENTNAME

2017-04-25 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, For a couple of years now we use the WIN32API command sys_GetEnv to get the CLIENTNAME However, we have found out that when an user is taking over his citrix session on another machine, the OLD CLIENTNAME is returned when using this command and not the name of the new machine My