Re: Object visualize / browse

2017-04-24 Thread 4dgeek via 4D_Tech
This is one possible solution we us a lot in our own applications: https://github.com/4dgeek/4d-component-jsonEditor Kind Regards Rolf -- View this message in context: http://4d.1045681.n5.nabble.com/Object-visualize-browse-tp5751523p5751585.html Sent from the 4D Tech mailing list archive at

Re: Why does 4D have uppercase UUIDs?

2017-04-24 Thread Lee Hinde via 4D_Tech
python -c 'import uuid; print uuid.uuid4()' returns: 8f1dad2d-2eec-4da7-b484-63a7e7549824 Not that that’s canonical, just offering another sample. > On Apr 23, 2017, at 10:03 PM, Keisuke Miyako via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > I wasn't aware of the argument that they should

Re: Object visualize / browse

2017-04-24 Thread truegold via 4D_Tech
Hey Rolf, 4d web area and javascript! That’s simple and and elegant! Very cool! Appreciate, John… > This is one possible solution we us a lot in our own applications: > https://github.com/4dgeek/4d-component-jsonEditor > > Kind Regards > Rolf

RE: Question about synching Resources folder from 4D Server

2017-04-24 Thread Timothy Penner via 4D_Tech
Hi Kirk, > I must be missing something. You are probably missing a call to the NOTIFY RESOURCES FOLDER MODIFICATION command - http://livedoc.4d.com/4Dv16-R2/help/Command/en/page1052.html The NOTIFY RESOURCES FOLDER MODIFICATION command "forces" 4D Server to send a notification to all the

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

2017-04-24 Thread Wayne Stewart via 4D_Tech
Doug, I do something similar. I use Web services (lazy option). The sync records are in JSON (v13 so I used NTK later versions use C_OBJECT commands) for the "small" fields and pack big fields into a Blob. I can send code if you're interested. Regards, Wayne [image: --] Wayne Stewart

Re: Getting component to update

2017-04-24 Thread Garri Ogata via 4D_Tech
Hi Chip, Is it possible you have the component in multiple places? Heres from the manuals. Not sure if this is your issue though. Location of PlugIns and Components folder You can put the PlugIns and Components folders in two different places: * At the level of the 4D executable

Re: Getting component to update

2017-04-24 Thread Peter Jakobsson via 4D_Tech
On 24 Apr 2017, at 22:50, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> wrote: > I opened another method to publication. Hi Chip When you made the change the first time, was the host structure still open ? TRY: • open the component structure only • un-publish the method • re-publish it

Re: Question about synching Resources folder from 4D Server

2017-04-24 Thread Kirk Brooks via 4D_Tech
Hi Tim, Thanks very much for picking up on this. I did look at the server guide, which is where I saw the 2 minute lag between changes and updating. I'm just not seeing that updating taking place when files in the Resources folder are changed manually. This may be a bit of an odd instance - I'm

Re: Why does 4D have uppercase UUIDs?

2017-04-24 Thread Tim Nevels via 4D_Tech
On Apr 24, 2017, at 11:37 AM, Kirk Brooks wrote: > I was looking up something else yesterday and came across some comments and > directions regarding UUIDs and saying that they should always be lowercase. > But this isn't a hard rule, apparently. And 4D prefers to uppercase them - > which I find

Re: Why does 4D have uppercase UUIDs?

2017-04-24 Thread Kirk Brooks via 4D_Tech
Tim, On Mon, Apr 24, 2017 at 12:14 PM, Tim Nevels via 4D_Tech < 4d_tech@lists.4d.com> wrote: > I’m curious why you want to “read” a UUID? I can’t read one and remember > it with or without lowercase characters. It’s just too long. > ​Well, we all seem to have our favorite little data fetishes...

Re: Getting component to update

2017-04-24 Thread Chip Scheide via 4D_Tech
Thanks both Peter and Garri Apparently, I copied, rather aliased the component into the test host I am locating the component in the package of the test host. so it is only available to the test host. The testing host is an empty database with no tables and only one method, strangely

Getting component to update

2017-04-24 Thread Chip Scheide via 4D_Tech
I have a test host database and a nascant matrix database (component) I can get the component to load. I can not get it to update... In the components folder of the host is an alias to the actual component - I can see the 1 method I am sharing - I can run it I made a change to the component code

Re: Question about synching Resources folder from 4D Server

2017-04-24 Thread Tim Nevels via 4D_Tech
On Apr 24, 2017, at 2:00 PM,Kirk Brooks wrote: > But would 4D server recognize the files changed? As I think about it I > suppose there's no particular 4D event that would trigger is there? Or does > 4D server have some built in process that monitors the resources folder for > changes and

Re: 4D Write Pro CSS

2017-04-24 Thread Pat Bensky via 4D_Tech
Hi Keisuke, Thanks for your reply. Perhaps it would make more sense if I explain what I'm trying to do ... I want to create HTML files and open them in 4D Write Pro. So I need to know which CSS attributes 4D Write Pro supports. Also, is it even possible to do this? The docs state that the .4wp

RE: Why does 4D have uppercase UUIDs?

2017-04-24 Thread Dennis, Neil via 4D_Tech
> uppercase-non-hyphenated seems like a reasonable cross-platform solution Nicely put :) Upper/Lower with or without dashes, under the hood it is a 128 bit integer, the letters and numbers are just the number in Hex (i.e. it doesn't make a difference on the case) Even Wiki says upper or lower

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

2017-04-24 Thread David Adams via 4D_Tech
> The current approach has got to be quite inefficient. The problem I've got > is that I can't come up with anything other than a WAG as to how much > faster it will be. It's been some time since I tested out size v. speed relationships in a similar setup. And, of course, it depends on your

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

2017-04-24 Thread Douglas von Roeder via 4D_Tech
Ron: Oh yes, big fan of API Pack! I've used B2R and there's also JSON and a few other approaches. The issue I need to resolve is how much, if at all, will a different encoding/deciding approach impact performance? The current approach has got to be quite inefficient. The problem I've got is

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

2017-04-24 Thread Wayne Stewart via 4D_Tech
Mine performs similarly slowly (5-6 records per second) but it sends only one record per web service call. A smarter and less lazy person than me would bunch a few records into the one call, use compression etc. One day I might implement this but you never can tell, I think beer is more

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

2017-04-24 Thread Douglas von Roeder via 4D_Tech
David: The transmission time is very manageable — these folks send in data from very remote locations and the payload always arrives at the server. The BLOB's are sent via web services and, IIRC, the BLOB's are pretty good sized, some being over 100k. The deal breaker is that the code is only

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

2017-04-24 Thread Ronald Rosell via 4D_Tech
Doug, I may be misunderstanding your application, but wouldn’t API Pack’s Record to Blob and Blob to Record functions work? (It’s from pluggers.nl) We use that, first compressing then converting the Blob that contains the entire record to text before sending it as a variable via an HTTP Post.

Re: 4D Write Pro CSS

2017-04-24 Thread Keisuke Miyako via 4D_Tech
Hello, > I want to create HTML files and open them in 4D Write Pro. > The docs state that the .4wp format is HTML, but if I try to import even a > very simple HTML document, it fails. I am sorry to say this won't work. 4D Write Pro is not a Web Browser, it so happens that a 4D Write Pro

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

2017-04-24 Thread David Adams via 4D_Tech
> The deal breaker is that the code is only updating about 3 records per > second it can sometimes takes days for the server to catch up. Ouch, that is slow. I haven't followed closely...if your'e using SOAP, it has to escape binaries to Base64...which is an absolutely hideous wire format. If

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

2017-04-24 Thread Douglas von Roeder via 4D_Tech
On Mon, Apr 24, 2017 at 8:30 PM, Wayne Stewart via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Mine performs similarly slowly (5-6 records per second) but it sends only > one record per web service call. > > A smarter and less lazy person than me would bunch a few records into the > one call, use