On Mon, Apr 24, 2017 at 8:30 PM, 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
> 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
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
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
> 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
Oh yes, big fan of API Pack! I've used B2R and there's also JSON and a few
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
> 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
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.
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.
Thanks both Peter and Garri
Apparently, I copied, rather aliased the component into the test
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
On 24 Apr 2017, at 22:50, Chip Scheide via 4D_Tech <email@example.com> wrote:
> I opened another method to publication.
When you made the change the first time, was the host structure still open ?
• open the component structure only
• un-publish the method
• re-publish it
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
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
On Mon, Apr 24, 2017 at 12:14 PM, Tim Nevels via 4D_Tech <
> 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...
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
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
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
That’s simple and and elegant!
> This is one possible solution we us a lot in our own applications:
> Kind Regards
> I must be missing something.
You are probably missing a call to the NOTIFY RESOURCES FOLDER MODIFICATION
The NOTIFY RESOURCES FOLDER MODIFICATION command "forces" 4D Server to send a
notification to all the
python -c 'import uuid; print uuid.uuid4()'
Not that that’s canonical, just offering another sample.
> On Apr 23, 2017, at 10:03 PM, Keisuke Miyako via 4D_Tech
> <firstname.lastname@example.org> wrote:
> I wasn't aware of the argument that they should
This is one possible solution we us a lot in our own applications:
View this message in context:
Sent from the 4D Tech mailing list archive at
> 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
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
Mail list logo