Re: 2 Factor Authentication

2018-09-19 Thread Peter Bozek via 4D_Tech
On Wed, Sep 19, 2018 at 10:10 PM Arnaud de Montard via 4D_Tech <
4d_tech@lists.4d.com> wrote:

>
>
> >> If so, then you should have access to this:
> >> http://kb.4d.com/assetid=78020
> >
> > Hmm, I went to Summit in Paris and do not have access to the article.
>
> Do you have many mail adresses?
> If I use the registered email, it works.
>
>
yes, there may be problem there. Seems my partner login was not paired with
my Summit attendance, will clear it with 4D.

--

Peter Bozek
**
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 v17 pause when printing to Canon ImageRunner printer

2018-09-19 Thread Wayne Stewart via 4D_Tech
You can also set up a pool of clients, to share the workload or to
make certain at least one is available.

Regards,

Wayne



On Thu, 20 Sep 2018 at 11:24, Kirk Brooks via 4D_Tech
<4d_tech@lists.4d.com> wrote:
>
> James,
>
> On Wed, Sep 19, 2018 at 5:26 PM James Brown via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
> > The reason we have the server do the printing is because we have people
> > pick orders using iPads with barcode scanners. When they have finished
> > picking, the server processes the order and prints out the invoice and
> > packing slip.
> >
> If it happens to be the case that printer is accessible from a machine
> running 4D client you could pass the printing jobs to it easily. If you
> don't already use it check out Register Client.
>
> http://doc.4d.com/4Dv15/4D/15.6/REGISTER-CLIENT.301-3818306.en.html
>
> When registered any other client or the server can run methods on it. This
> would eliminate the issues of attempting to print on the server.
>
> The only downside is the need for that machine to be on and logged in.
>
>
>
> --
> 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
> **
**
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 v17 pause when printing to Canon ImageRunner printer

2018-09-19 Thread Kirk Brooks via 4D_Tech
James,

On Wed, Sep 19, 2018 at 5:26 PM James Brown via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> The reason we have the server do the printing is because we have people
> pick orders using iPads with barcode scanners. When they have finished
> picking, the server processes the order and prints out the invoice and
> packing slip.
>
If it happens to be the case that printer is accessible from a machine
running 4D client you could pass the printing jobs to it easily. If you
don't already use it check out Register Client.

http://doc.4d.com/4Dv15/4D/15.6/REGISTER-CLIENT.301-3818306.en.html

When registered any other client or the server can run methods on it. This
would eliminate the issues of attempting to print on the server.

The only downside is the need for that machine to be on and logged in.



-- 
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
**

Re: 4D v17 pause when printing to Canon ImageRunner printer

2018-09-19 Thread James Brown via 4D_Tech
Wow, thanks everyone for your replies - I wasn’t sure if I would get any!

We were running v15 server in 64-bit mode (clients were 32-bit of course).

We changed some of the web processors to pre-emptive, no change.

Will ask the developer to answer some of the more technical questions you 
asked. 

Some good suggestions - thank you.

It is just strange that we don’t have the problem when we print to the Xerox 
printer (although it is a slow printer, at least only the 1 user is waiting). 
Current server is an iMac Pro, but we can reproduce the problem on a late-2013 
Mac Pro.

The reason we have the server do the printing is because we have people pick 
orders using iPads with barcode scanners. When they have finished picking, the 
server processes the order and prints out the invoice and packing slip.

Thanks again for all your help.

James.

> On 20 Sep 2018, at 9:38 am, Wayne Stewart via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Printing is not available preemptive. So it probably wouldn't be any faster ;)
> 
> An alternative would be to register a client at startup as a print machine?
> 
> Regards,
> 
> Wayne
> 
> 
> On Thu, 20 Sep 2018 at 09:23, Keisuke Miyako via 4D_Tech
> <4d_tech@lists.4d.com> wrote:
>> 
>> pure speculation, but I will put it out there just in case:
>> 
>> first, v15 is 32-bits and carbon, v17 is 64-bits and cocoa.
>> so there is a massive difference there.
>> 
>> then, evidently the print option "Hide printing progress option" is no 
>> longer supported in 64-bits,
>> http://doc.4d.com/4Dv17/4D/17/SET-PRINT-OPTION.301-3730865.en.html
>> which makes one wonder if interactive or progressive (from code perspective) 
>> printing is not allowed by the system.
>> not sure if running in a background preemptive thread can make any 
>> difference.
>> 
>> in general, printing on the server is not recommended,
>> which is why Microsoft intentionally ships the server edition of their OS 
>> without printing features.
>> 
>> back to Mac, would it work if you first produced PDF on disk and then send 
>> that file to the printer (maybe using CLI/CUPS) in question?
>> 
>> 2018/09/19 22:37、James Brown via 4D_Tech 
>> <4d_tech@lists.4d.com>のメール:
>> Has anyone had a similar experience? Any idea what could be causing this 
>> with v17?
>> 
>> 
>> 
>> **
>> 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 v17 pause when printing to Canon ImageRunner printer

2018-09-19 Thread Keisuke Miyako via 4D_Tech
right.

maybe it's a network thing.

what if the web processes were preemptive?
would they be spared the alleged global hang?

2018/09/20 8:38、Wayne Stewart via 4D_Tech 
<4d_tech@lists.4d.com>のメール:
Printing is not available preemptive. So it probably wouldn't be any faster ;)



**
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: Strange XML problem

2018-09-19 Thread Keisuke Miyako via 4D_Tech
I think it would be more practical if you could elaborate how exactly you 
"import" the XML (it could mean so many different things)
as well as what you mean when you say "some" of the data is missing.

we are happy to help,
but a piece of XML included in an email does not feel like the right way to 
look at this problem.
(for one thing, the original data can be altered in transmission).

perhaps a small, self contained reproducible 4DB would be more useful.

2018/09/18 18:39、Pat Bensky via 4D_Tech 
<4d_tech@lists.4d.com>のメール:
If I import the whole file, some of the data for that one entity is not 
imported.


**
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 v17 pause when printing to Canon ImageRunner printer

2018-09-19 Thread Wayne Stewart via 4D_Tech
Printing is not available preemptive. So it probably wouldn't be any faster ;)

An alternative would be to register a client at startup as a print machine?

Regards,

Wayne


On Thu, 20 Sep 2018 at 09:23, Keisuke Miyako via 4D_Tech
<4d_tech@lists.4d.com> wrote:
>
> pure speculation, but I will put it out there just in case:
>
> first, v15 is 32-bits and carbon, v17 is 64-bits and cocoa.
> so there is a massive difference there.
>
> then, evidently the print option "Hide printing progress option" is no longer 
> supported in 64-bits,
> http://doc.4d.com/4Dv17/4D/17/SET-PRINT-OPTION.301-3730865.en.html
> which makes one wonder if interactive or progressive (from code perspective) 
> printing is not allowed by the system.
> not sure if running in a background preemptive thread can make any difference.
>
> in general, printing on the server is not recommended,
> which is why Microsoft intentionally ships the server edition of their OS 
> without printing features.
>
> back to Mac, would it work if you first produced PDF on disk and then send 
> that file to the printer (maybe using CLI/CUPS) in question?
>
> 2018/09/19 22:37、James Brown via 4D_Tech 
> <4d_tech@lists.4d.com>のメール:
> Has anyone had a similar experience? Any idea what could be causing this with 
> v17?
>
>
>
> **
> 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 v17 pause when printing to Canon ImageRunner printer

2018-09-19 Thread Keisuke Miyako via 4D_Tech
pure speculation, but I will put it out there just in case:

first, v15 is 32-bits and carbon, v17 is 64-bits and cocoa.
so there is a massive difference there.

then, evidently the print option "Hide printing progress option" is no longer 
supported in 64-bits,
http://doc.4d.com/4Dv17/4D/17/SET-PRINT-OPTION.301-3730865.en.html
which makes one wonder if interactive or progressive (from code perspective) 
printing is not allowed by the system.
not sure if running in a background preemptive thread can make any difference.

in general, printing on the server is not recommended,
which is why Microsoft intentionally ships the server edition of their OS 
without printing features.

back to Mac, would it work if you first produced PDF on disk and then send that 
file to the printer (maybe using CLI/CUPS) in question?

2018/09/19 22:37、James Brown via 4D_Tech 
<4d_tech@lists.4d.com>のメール:
Has anyone had a similar experience? Any idea what could be causing this with 
v17?



**
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: Do I want to use SELECTION TO ARRAY instead of GOTO SELECTED RECORD server-side in V17

2018-09-19 Thread David Adams via 4D_Tech
Just for the record, my 160x speed improvement came with pretty naive code.
I loop to a record, build the text I need for that row, append the block to
the BLOB, clear the text and hit the next row. All-in-all, only a couple of
lines of extra code.

After what everyone has contributed and suggested, along with my own local
testing, my summary goes like this:

*Build a text var*
Yeah, don't do that. In my case, the final block size is ~3MB, not
huge...but the resizing is pretty aggressive.

*Build a BLOB var*
Works great. The downside is that if you ultimately need text, you (even if
briefly) need to double the amount of RAM you're consuming. I'm defaulting
to a max BLOB of 5MB and change, so this should never be a problem.

*Write to a text file*
This should never slow down, no matter how big the file gets. This has
always been true, the limiting factor being the speed of the drive. Drives
are fast now. Memory is also fine because you take no RAM to store the
document and can load it into RAM in one go very easily.

I'm going with a BLOB instead of documents. Why? Old prejudice, and I like
avoiding the file system. Permissions, file contention issues in 4D (been
there not long ago...and after *more than a year*, there's reportedly a
fix), data leakage. Plus, old prejudice. In my specific case, a BLOB should
be fine as I'm not pushing the envelope on memory usage. Under other
circumstances, I can easily see documents as being the best bet.
Particularly if you have other reasons to want the data in documents for
dispatching, archiving, etc.

Thanks for the help!
**
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: Volume Shadow Copy

2018-09-19 Thread Keith Goebel via 4D_Tech
Vincent and Tom, thanks for your answers - just what I wanted to know.

> You can read this blog post : 
> https://blog.4d.com/enterprise-virtual-machine-snapshot-support/
> Hope it helps

> Prior to 4D v17, Volume Shadow Copy was something to definitely avoid on a 4D 
> server. It could crash/corrupt 4D. Under v17 4D has joined the 20th Century 
> and added support for it. I haven't read the details, but I think it will 
> help 4D adoption in the enterprise world. And it could come in handy.

>> The 64bit compiled/built server application shows "Volume Shadow Copy up and 
>> running” on the first page of the server admin window.
**
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 Rob Laveaux via 4D_Tech


> On 19 Sep 2018, at 16:59, Jim Medlen via 4D_Tech <4d_tech@lists.4d.com> wrote:
> 
> Does anyone know of a method, plugin or component to implement 2 factor 
> authentication ?
> 
> I am interested in using 2 factor authentication and generating the OTP key 
> URI to be used
> with Authenticator apps available for smart phones.

Hi Jim,

Yes, I can help you. The next version of NTK Plugin contains full support for 
One Time Passwords. Both TOTP and HTOP are supported.
It can generate them, validate them and create a URI for you.

If you like more information, please contact me by private e-mail.

Kind regards,

- Rob Laveaux


Pluggers Software
Scholekstersingel 48
2496 MP  Den Haag
The Netherlands

Email: rob.lave...@pluggers.nl 
Website: http://www.pluggers.nl 





**
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
**

[Tip/Gotcha] - Pasteboards

2018-09-19 Thread Chip Scheide via 4D_Tech
There are 2 pasteboards - the docs mention this...

There is the pasteboard = clipboard -- accessible all time EXCEPT 
during drag n drop
There is the pasteboard # clipboard -- accessible ONLY during drag n 
drop

The 2 do not cross.

If you put something on the pasteboard during form events:
On begin drag over
On drag over
On drop

it is NOT available during other form events -- or more importantly -- 
in other processes!

How I found this out - yes it is in the docs, but (at least to me) was 
not clear.
- I have an requisition form, the user drags an item to order from 
another process, and drops it on the requisition form.
- after the drop completes, I want to check to see if the item has 
already been requisitioned, BUT has not yet been ordered.
 -- I (wanted) to pass item information to a separate process to do a 
query and present the user with any open requisitions for the item.
  --- the passing of data was occurring in the On Drop form event, 
after processing the drop had completed. I could NOT figure out why the 
data was not showing up on the pasteboard in the query process... many 
hours later
  --- The data i was trying to pass into the query process was on the 
Drag N Drop pasteboard, and not on the 'general' pasteboard  so the 
query process could not see it...

hope this helps someone else..
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
**

Re: 2 Factor Authentication

2018-09-19 Thread Arnaud de Montard via 4D_Tech

> Le 19 sept. 2018 à 20:39, Peter Bozek via 4D_Tech <4d_tech@lists.4d.com> a 
> écrit :
> 
> On Wed, Sep 19, 2018 at 7:49 PM Timothy Penner via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> 
>> Did you go to the 4D Summit?
>> 
>> If so, then you should have access to this:
>> http://kb.4d.com/assetid=78020
> 
> Hmm, I went to Summit in Paris and do not have access to the article.

Do you have many mail adresses?
If I use the registered email, it works. 

-- 
Arnaud de Montard 




**
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 Peter,

> Hmm, I went to Summit in Paris and do not have access to the article.

Hmm, are you able to access the Paris Sessions?

For example, this is a Paris session:
http://kb.4d.com/assetid=78072

Also, are you logged into KB using the same email address that was associated 
with the Summit Ticket?

-Tim




From: Peter Bozek 
Sent: Wednesday, September 19, 2018 11:40 AM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Timothy Penner ; j.med...@functionaldevices.com
Subject: Re: 2 Factor Authentication


On Wed, Sep 19, 2018 at 7:49 PM Timothy Penner via 4D_Tech 
<4d_tech@lists.4d.com> wrote:

Did you go to the 4D Summit?

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

-


Hmm, I went to Summit in Paris and do not have access to the article.

--

Peter Bozek
**
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 Jim Crate via 4D_Tech
When all recent logins are blank, that is a good indication that the server has 
encountered the DELAY PROCESS bug where delayed processes never wake up. We 
have no way of knowing what all is affected by this, so even if you have no 
processes running on the server that would be affected by the bug it’s probably 
a good idea to restart 4D Server.

Jim Crate


> On Sep 18, 2018, at 2:16 PM, Tom Dillon via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> On two 4D servers running on a Mac Mini the 4D User is occasionally blank. 
> Most of the time they're either all there or mostly not.  The Machine name, 
> Session name, etc. columns are always populated, just not the 4D User.
> 
> Any ideas on what might cause this?
> 
> Thanks
> 
> -- 
>   --
>   Tom Dillon  375 S Main St #405
>   DataCraft   Moab, UT 84532
>   tomdil...@datacraft-inc.com   720/209-6502
>   --
> Those who only see in black and white lose their way when they
> find themselves in gray areas. --- Sunastar
>   --
> 
> 
> **
> 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: 2 Factor Authentication

2018-09-19 Thread Jim Dorrance via 4D_Tech
America first


On Wed, Sep 19, 2018 at 8:39 PM Peter Bozek via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> On Wed, Sep 19, 2018 at 7:49 PM Timothy Penner via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
> >
> > Did you go to the 4D Summit?
> >
> > If so, then you should have access to this:
> > http://kb.4d.com/assetid=78020
> >
> > -
>
>
>
> Hmm, I went to Summit in Paris and do not have access to the article.
>
> --
>
> Peter Bozek
> **
> 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
> **



-- 
Jim Dorrance
jim.dorra...@gmail.com
4...@dorrance.eu
www.4d.dorrance.eu

PS: If you know of anyone that needs an experienced 4D programmer to add
energy and experience to their team, please let me know. I have
experience in many areas. Reasonable rates. Remote or Paris only.
**
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 Peter Bozek via 4D_Tech
On Wed, Sep 19, 2018 at 7:49 PM Timothy Penner via 4D_Tech <
4d_tech@lists.4d.com> wrote:

>
> Did you go to the 4D Summit?
>
> If so, then you should have access to this:
> http://kb.4d.com/assetid=78020
>
> -



Hmm, I went to Summit in Paris and do not have access to the article.

--

Peter Bozek
**
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
**

Win32 API Enable/Disable Window Control Issue

2018-09-19 Thread Douglas von Roeder via 4D_Tech
Per the subject, I'm running into problems trying to control ability to
minimize, maximize, etc. when using Win32 API 8.2.2 with 4D 17.0 on Win 10.

gui_SetWindowStyleEx and gui_SetWindowLongEx are working correctly
but gui_RestrictWindowEx always returns an error code of -2.

Is anyone using gui_RestrictWindowEx successfully in V17.0 + Win 10?

--
Douglas von Roeder
949-336-2902
**
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: Volume Shadow Copy

2018-09-19 Thread Benedict, Tom via 4D_Tech
Keith writes:



>The 64bit compiled/built server application shows "Volume Shadow Copy up and 
>running" on the first page of the server admin window.

>Googling "Volume Shadow Copy" shows it to be a system that allows backups 
>while an application is running.

>I suspect this is not something we need or should have running aimed at 4D.



Prior to 4D v17, Volume Shadow Copy was something to definitely avoid on a 4D 
server. It could crash/corrupt 4D. Under v17 4D has joined the 20th Century and 
added support for it. I haven't read the details, but I think it will help 4D 
adoption in the enterprise world. And it could come in handy.



Tom Benedict

Optum

This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.
**
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-09-19 Thread Dennis, Neil via 4D_Tech
> Anyone got any pointers on how to identify the correct port to use 
> with SET CHANNEL (I assume this is the way we have to
> go) and general advice with getting this working?

Did you check out the documentation... 
http://doc.4d.com/4Dv16/4D/16.4/SET-CHANNEL.301-3979404.en.html

If you are writing files use 10, 12, or 13 to open/create a file 10 to close 
it. I'm assuming you are not using a modem.


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: How to tie 4D to barcode readers?

2018-09-19 Thread Jeffrey Kain via 4D_Tech
Port 101/201/301 etc is COM1, 102/202/302 is COM2, etc.  No real need for GET 
SERIAL PORT MAPPING on Windows.

> On Sep 19, 2018, at 8:20 AM, Gary Willetts via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Anyone got any pointers on how to identify the
> correct port to use with SET CHANNEL (I assume this is the way we have to
> go) and general advice with getting this working?

**
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-09-19 Thread Stephen J. Orth via 4D_Tech
Gary,

Hello...

You statement that the scanner needs to be independent of where the user is in 
the GUI does not make sense to me, so can you explain what you are trying to 
achieve?

We have done quite a bit of scanner work using USB/Wedge readers, RS-232 
readers, and IP based readers via web services.  Each is unique in how it 
works, and has specific implications on how you develop your software.

Maybe you can elaborate a bit more on what you are trying to achieve by using 
bar code readers?


Best,


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc. Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*
-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Gary Willetts 
via 4D_Tech
Sent: Wednesday, September 19, 2018 7:21 AM
To: 4d_tech@lists.4d.com
Cc: Gary Willetts 
Subject: Re: How to tie 4D to barcode readers?

Hi Tony and others,
Interesting that this subject should come up now, we're also looking at
adding barcode reading to our software. Our application needs to be
independent of where the user is in the GUI and we're looking at low
resource settings so we need to stay away from IP scanners if we can. Which
I guess leaves us with RS232 or serial emulation via USB with appropriate
driver. We're in a Windows environment so GET SERIAL PORT MAPPING isn't so
useful for us I think. Anyone got any pointers on how to identify the
correct port to use with SET CHANNEL (I assume this is the way we have to
go) and general advice with getting this working?

Thanks,
Gary 


**
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-09-19 Thread Gary Willetts via 4D_Tech
Hi Tony and others,
Interesting that this subject should come up now, we're also looking at
adding barcode reading to our software. Our application needs to be
independent of where the user is in the GUI and we're looking at low
resource settings so we need to stay away from IP scanners if we can. Which
I guess leaves us with RS232 or serial emulation via USB with appropriate
driver. We're in a Windows environment so GET SERIAL PORT MAPPING isn't so
useful for us I think. Anyone got any pointers on how to identify the
correct port to use with SET CHANNEL (I assume this is the way we have to
go) and general advice with getting this working?

Thanks,
Gary 



--
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
**

v13 - Pasteboard size

2018-09-19 Thread Chip Scheide via 4D_Tech
I am getting the following result:
Pasteboard data size($Transfer_Sig) = -102 

$Transfer_Sig = "com.4d.private.Data.Transfer"

I am trying to transfer data from 1 process to another using the 
pasteboard.
I use semaphores to protect writing and reading from the pasteboard

Source process:
I use a 'transfer signature' which allows me to insure that I am 
getting what I expect.
I build a blob, using Variable to Blob 
 - 'data type' (text) internal to my code, in this instance "Longint 
Array".
 - a longint array

Blob is 76 bytes
I clear the pasteboard (Clear Pasteboard)
Append to Pasteboard ($Transfer_Sig; Blob)

In destination process
- I insure the writing has completed (above)
- Then check the size of the data on the pasteboard (Pasteboard Data 
size($transfer_sig))
this returns -102 which is an error - no data of that type

debugging:
Source process
- after appending the blob to the pasteboard, Pasteboard Data size = 
size of the blob (76bytes)

Destination process:
Pasteboard Data size = -102

yes, I have checked that the transfer signatures is correct, 
copy/pasting between running processes.
I have modified the signature, shortening it.


Any help or insight into what is (or more likely not) happening?
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
**

2 Factor Authentication

2018-09-19 Thread Jim Medlen via 4D_Tech

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

I am interested in using 2 factor authentication and generating the OTP key URI 
to be used
with Authenticator apps available for smart phones.

https://mattrubin.me/authenticator/

https://mattrubin.me/

Thanks,

Jim Medlen
Computer & Information Systems
Functional Devices, Inc.
j.med...@functionaldevices.com
phone (765) 883-5538 x 428
fax (765) 883-4262
http://www.functionaldevices.com

This email was transmitted on 100 percent recycled electrons


**
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 v17 pause when printing to Canon ImageRunner printer

2018-09-19 Thread Jeffrey Kain via 4D_Tech
How are you doing the printing on the server? If it's 64-bit and compiled have 
you tried doing the printing from a preemptive worker?

> On Sep 19, 2018, at 9:37 AM, James Brown via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> We have a Xerox Phaser printer - printing to that does not have the issue. 
> 
> The server is running High Sierra.
> 
> Has anyone had a similar experience? Any idea what could be causing this with 
> v17?

**
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 v17 pause when printing to Canon ImageRunner printer

2018-09-19 Thread James Brown via 4D_Tech
Client-Server compiled, 64-bit Mac server. We had no problems with 4D v15 and 
earlier.

Ever since upgrading to v17, we’ve had an issue where 4D Server printing to our 
Canon ImageRUNNER Advance 5250 causes all clients and web clients to hang for a 
few seconds. Once the print job has been sent to the printer, everything 
continues as normal.

No change after upgrading to Hot Fix 2.

We have a Xerox Phaser printer - printing to that does not have the issue. 

The server is running High Sierra.

Has anyone had a similar experience? Any idea what could be causing this with 
v17?

Thanks

James.
**
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 topic: small office laser printer Mac OS

2018-09-19 Thread Mike Kerner via 4D_Tech
For heavy-duty use (multiple feed trays, 60+PPM, etc.), we use HP's, and
have had very few service calls with them.  For MFP's we have had good luck
with Cannon, both desktop and stand-up front-office type.  For the lighter
workloads (like a workstation printer), Brother is boss.  We might have 10
or 15 of them deployed and they are great.
**
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: Do I want to use SELECTION TO ARRAY instead of GOTO SELECTED RECORD server-side in V17

2018-09-19 Thread Arnaud de Montard via 4D_Tech

> Le 18 sept. 2018 à 18:50, Dani Beaubien  a 
> écrit :
> 
> This has been a very interesting discussion. I decided to test the various 
> techniques using the code I pasted below.
> [...]

Thanks for testing  :-) 

Some thoughts… 
- I had surprises with tests using a single string of the same length 
($textToAdd:="123456789") vs "true" samples (various length)
- the more you concatenate, the slower it is
- the longer the string you add too, the slower it is
 
- I use the "growing blob" in 32bits since a while now, no blob size problem
- I don't remember of a situation were strings to concatenate were not in a 
text array before, this is some code to test filling such an array:
 $textToAdd:="123456789"*100  //changing length here does not seem to change 
the speed; try random too…
 $end_l:=Tickcount+(60*10)
 $i_l:=0
 $ms_l:=Milliseconds
 ARRAY TEXT($concat_at;0)
 ARRAY LONGINT($ms_al;0)
 Repeat
$i_l:=$i_l+1
APPEND TO ARRAY($concat_at;$textToAdd)
If ($i_l%2000=0)
APPEND TO ARRAY($ms_al;Milliseconds-$ms_l)
$ms_l:=Milliseconds
End if
 Until (Tickcount>$end_l)
 $average_r:=Average($ms_al)
 $max_r:=Max($ms_al)
 $min_r:=Min($ms_al)
 TRACE
- SSD disks are great if memory can be a problem 
 loop
   add to text array
   if(text array size is more than xxx)
 concatenate text array into text  //using blob of course  ;-)
 append text to file
 set text array to zero
   end if
 end loop
- see also >http://forums.4d.com/Post/FR/19466463/1/19466704#19466704>, I 
didn't test 

-- 
Arnaud de Montard 



**
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: Volume Shadow Copy

2018-09-19 Thread Vincent de Lachaux via 4D_Tech
Hello,

You can read this blog post : 
https://blog.4d.com/enterprise-virtual-machine-snapshot-support/
Hope it helps

Vincent




> On 19 Sep 2018, at 07:56, Keith Goebel via 4D_Tech <4D_Tech@lists.4d.com> 
> wrote:
>
> Hi all.
> We are testing 4D v17 on a Winserver 2016 virtual machine.
> The 64bit compiled/built server application shows "Volume Shadow Copy up and 
> running” on the first page of the server admin window.
> Googling "Volume Shadow Copy” shows it to be a system that allows backups 
> while an application is running.
> I suspect this is not something we need or should have running aimed at 4D.
>
> A KnowledgeBase search doesn’t find it so can anyone tell me if we need to do 
> something about it and, if so, what?
> TIA, Keith
> **
> 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
**