Re: DDOS Attack simulator - Some Results

2017-03-24 Thread Timothy Penner via 4D_Tech
I think for something like LOIC (or any DDOS) you will need to implement some 
sort of firewall protection. It is very likely the actual request being sent to 
the web server is malformed, which could explain why you are getting 5xx errors 
in the weblog.


From what i see online the best way to mitigate a Low Orbit Ion Cannon DDOS 
attack is with a firewall that is programmed to detect it:

See more here: 
https://www.trustwave.com/Resources/SpiderLabs-Blog/LOIC-DDoS-Analysis-and-Detection/

-Tim


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D Query error, Beware

2017-03-24 Thread Keisuke Miyako via 4D_Tech
there has been a couple of fixes related to the database engine (transactional 
query in particular) in recent nightly builds,
part of the reasons why some hot-fixes were released during a relatively short 
time span.

4D v16.0 Hotfix 2 (http://bugs.4d.fr/fixedbugslist?Version=16.0_HF2)

ACI0096496
ACI0096451

4D v16.0 Hotfix 1 (http://bugs.4d.fr/fixedbugslist?Version=16.0_HF1)

ACI0096430
ACI0096179

> 2017/03/25 0:32、Dennis, Neil via 4D_Tech <4d_tech@lists.4d.com> のメール:
> One thing I left out... be sure to index the date field.
> on in reliance on the contents of this information is strictly prohibited.



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: SVG Text Width and Height

2017-03-24 Thread Keisuke Miyako via 4D_Tech
in general, it is best to instruct the rendering engine to decide how to align 
objects,
rather than to compute the exact coordinates yourself.

"text-anchor" (start, middle, end) should take care of horizontal align in 
,
but vertical align is going to be difficult since 4D does not support 
"dominant-baseline" or "alignment-baseline".
if you decide to go down the "y" or "dy" route, well, I guess it's going to be 
an uphill struggle.

have you considered using  instead of ?

you have "display-align" (before, center, after) for vertical align and 
"text-align" (start, center, end) for horizontal align.

p.s.

I love how they say start/end, before/after instead of left/right (because of 
right to left scripts)
and decisively use middle instead of center with respect to the subject (align 
or anchor)...

2017/03/25 10:21、truegold via 4D_Tech 
<4d_tech@lists.4d.com> のメール:
If so then yes it is one of the parameters being sent into SVG_New_text command.


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: DDOS Attack simulator - Some Results

2017-03-24 Thread Randy Engle via 4D_Tech
Got some "movement" on this, though not a complete solution.

Using a DDOS Simulator (LOIC)
Using 4D v15.4  (Windows)

4D Server crashed, actually the entire machine froze completely after 8-10 
minutes
While it was running, 4D was running at about 90%+ of memory, until kaboom.
Needed to physically turn off machine
No mouse, no keyboard, nada.   Ooooh  very bad!

Changed to 15r5
4D ran at about 50%
Didn't crash after 20 minutes (about 1,000,000 hits)
Quickly went back to normal in a few seconds after stopping flooding.

But I'd like to keep this from happening at all.
Yes, we could put a proxy/firewall in the way.

But I need to make the Cybersecurity guys feel all warm and fuzzy about our 
product.

Any ideas what could be done in 4D alone.

Steve O's idea of stopping the web server was good, except that I'm not seeing 
these attacks go through ON WEB CONNECTION, so there's nothing to trap for.
4D does put them in the logweb.txt file though.

I appreciate all of your previous and future input.

Randy Engle
XC2 Software LLC



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: SVG Text Width and Height

2017-03-24 Thread truegold via 4D_Tech
Hi,

Ref: "could you not simply set text-anchor to middle?”

Do you mean:

$fontAlign_M:=Align center

If so then yes it is one of the parameters being sent into SVG_New_text command.

John...

> Hi All,
> 
> 4D v15.2 Mac/Win
> 
> I’m sure I’ve seen this recently but can’t find it (something about double 
> processing width/height). I recall reading but not quite understanding it. 
> What was it’s topic name? Anyway...
> 
> I am working on a project where I need to place short text strings exactly at 
> a various points within a circle. Easy enough using a little trig.
> 
> Even though my centering text on a point works, for the most part, I’m not 
> sure it’s exactly precise. I notice when changing the font and font size that 
> it’s off by a pixel or a few. And I can see it and it doesn’t look right to 
> me eyes.
> 
> So before I check my question:
> 
> Does anyone have routine that will reliably center an SVG text string on a 
> point? Here’s what I am using.
> 
> $Dom_Ref:=SVG_New 
> $tDom_Text:=SVG_New_text 
> ($Dom_Ref;$text_t;$ptr_W->;$ptr_H->;$fontName;$fontSize;$fontStyle;$fontAlign)
> $pic:=SVG_Export_to_picture ($tDom_Text)
> SVG_CLEAR ($Dom_Ref)
> 
> PICTURE PROPERTIES($pic;$ptr_W->;$ptr_H->)
> 
> Is this the best approach? Or is there a more precise algorithm like double 
> processing width/height?
> 
> Thanks,
> John...

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: DDOS Attack simulator

2017-03-24 Thread Timothy Penner via 4D_Tech
> I had a problem that needed a resolution (4D Server crashing) and I could 
> care less if anyone thinks it inappropriate, it fixed my problem and was not 
> meant to be a permanent fix.
> Judge all you want...

Steve,

No judgement here - but this "resolution" was really just a patch you put in 
v13. I believe you also found that the issue was no longer reproducible in 
v15R5 without any "patch" so the true "solution" was (or should be) upgrading 
the version of 4D, right?

I just want to make sure this is clear to anyone else reading along - you 
needed to patch v13 by turning off the web server, but in v15R5 it just worked 
without any patch...

-Tim






**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: SVG Text Width and Height

2017-03-24 Thread Keisuke Miyako via 4D_Tech
Hello,

could you not simply set text-anchor to middle?



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: DDOS Attack simulator

2017-03-24 Thread Stephen J. Orth via 4D_Tech
Lee,

Whatever...

I had a problem that needed a resolution (4D Server crashing) and I could care 
less if anyone thinks it inappropriate, it fixed my problem and was not meant 
to be a permanent fix.

Judge all you want...


Steve


-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Lee Hinde via 
4D_Tech
Sent: Friday, March 24, 2017 5:36 PM
To: 4D iNug Tech <4d_tech@lists.4d.com>
Cc: Lee Hinde 
Subject: Re: DDOS Attack simulator

Totally appropriate, IMHO. The problem is the test. When the problem is the 
problem, look at that. I’m guessing for 98% of websites powered by 4D, a DDOS 
is highly unlikely.

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: DDOS Attack simulator

2017-03-24 Thread Lee Hinde via 4D_Tech
Totally appropriate, IMHO. The problem is the test. When the problem is the 
problem, look at that. I’m guessing for 98% of websites powered by 4D, a DDOS 
is highly unlikely.


> On Mar 24, 2017, at 3:17 PM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Hi Steve,
> Isn't that just patching for the test instead of the problem the test is
> trying to identify? Or am I missing something - which is entirely possible?
> 
> On Fri, Mar 24, 2017 at 9:31 AM, Stephen J. Orth via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> 
>> To get around this, we did a rather simple "trick"
>> 
>> Since we know the format of every web request coming into our system, I
>> simply created a new method called "Utility_Web_Intrusion_Shutdown" which
>> looks like this:
>> 
>> $minutes:=5*3600
>> WEB STOP SERVER
>> DELAY PROCESS(Current process;$minutes)
>> WEB START SERVER
>> 
> 
> -- 
> Kirk Brooks
> San Francisco, CA
> ===

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: DDOS Attack simulator

2017-03-24 Thread Kirk Brooks via 4D_Tech
Hi Steve,
Isn't that just patching for the test instead of the problem the test is
trying to identify? Or am I missing something - which is entirely possible?

On Fri, Mar 24, 2017 at 9:31 AM, Stephen J. Orth via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> To get around this, we did a rather simple "trick"
>
> Since we know the format of every web request coming into our system, I
> simply created a new method called "Utility_Web_Intrusion_Shutdown" which
> looks like this:
>
>  $minutes:=5*3600
>  WEB STOP SERVER
>  DELAY PROCESS(Current process;$minutes)
>  WEB START SERVER
>

-- 
Kirk Brooks
San Francisco, CA
===
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D freezing on print preview

2017-03-24 Thread Keith Goebel via 4D_Tech
Keith, thanks for the info.
FYI, I’m also use 4Dv15.2 on OS X 10.10.5 + print preview without any problems.
Cheers, Keith

> On 25/03/2017, at 4:32 am, Keith Culotta  > wrote:
> Just to add a datapoint, 4D Mac v15.current seems to be the only app that 
> causes Preview to unexpectedly quit when getting a print preview.  It does 
> not affect 4D however.
> 
>> On Mar 23, 2017, at 4:07 PM, Keith Goebel via 4D_Tech <4d_tech@lists.4d.com 
>> > wrote:
>> 
>> So, nobody else in the world has encountered this?
>> That’s good for you but bad for me…
>> 
>>> Hi all.
>>> We are using 4D v15.2 on Win7, Win10, Win Server 2012 (or similar). All 
>>> good.
>>> 
>>> We have just tested 4D v15.4 and v15.4 HF1 and found both to freeze 
>>> whenever we print preview a report.

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

SVG Text Width and Height

2017-03-24 Thread truegold via 4D_Tech
Hi All,

4D v15.2 Mac/Win

I’m sure I’ve seen this recently but can’t find it (something about double 
processing width/height). I recall reading but not quite understanding it. What 
was it’s topic name? Anyway...

I am working on a project where I need to place short text strings exactly at a 
various points within a circle. Easy enough using a little trig.

Even though my centering text on a point works, for the most part, I’m not sure 
it’s exactly precise. I notice when changing the font and font size that it’s 
off by a pixel or a few. And I can see it and it doesn’t look right to me eyes.

So before I check my question:

Does anyone have routine that will reliably center an SVG text string on a 
point? Here’s what I am using.

$Dom_Ref:=SVG_New 
$tDom_Text:=SVG_New_text 
($Dom_Ref;$text_t;$ptr_W->;$ptr_H->;$fontName;$fontSize;$fontStyle;$fontAlign)
$pic:=SVG_Export_to_picture ($tDom_Text)
SVG_CLEAR ($Dom_Ref)

PICTURE PROPERTIES($pic;$ptr_W->;$ptr_H->)

Is this the best approach? Or is there a more precise algorithm like double 
processing width/height?

Thanks,
John...
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: v13 anyone printing 'raw' listboxes?

2017-03-24 Thread Chip Scheide via 4D_Tech

Thanks - good timing  :)

On Fri, 24 Mar 2017 12:29:09 -0700, Douglas von Roeder via 4D_Tech 
wrote:
> Chip:
> 
> Check out the home page - http://4dtoday.com
> 
> --
> Douglas von Roeder
> 949-336-2902
> 
> On Fri, Mar 24, 2017 at 12:22 PM, Chip Scheide via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> 
>> I am trying and getting nothing
>> 
>> any pointer appreciated
>> 
>> Thanks
>> ---
>> Gas is for washing parts
>> Alcohol is for drinkin'
>> Nitromethane is for racing
>> **
>> 4D Internet Users Group (4D iNUG)
>> FAQ:  http://lists.4d.com/faqnug.html
>> Archive:  http://lists.4d.com/archives.html
>> Options: http://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: v13 anyone printing 'raw' listboxes?

2017-03-24 Thread Douglas von Roeder via 4D_Tech
Chip:

Check out the home page - http://4dtoday.com

--
Douglas von Roeder
949-336-2902

On Fri, Mar 24, 2017 at 12:22 PM, Chip Scheide via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> I am trying and getting nothing
>
> any pointer appreciated
>
> Thanks
> ---
> Gas is for washing parts
> Alcohol is for drinkin'
> Nitromethane is for racing
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

v13 anyone printing 'raw' listboxes?

2017-03-24 Thread Chip Scheide via 4D_Tech
I am trying and getting nothing

any pointer appreciated

Thanks
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: DDOS Attack simulator

2017-03-24 Thread Randy Engle via 4D_Tech
Neil,

I can probably operate on the basis that my customer will want to test this 
without a firewall...

I just need to be prepared for everything.

;-O

Randy Engle
XC2 Software LLC


> Any and all information regarding the above will be accepted with much 
> gratitude!

I thought most firewall routers will stop a DDos attack before it hits your 4D 
server. Was this not the case for you or are you testing without a firewall?

Neil



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: DDOS Attack simulator

2017-03-24 Thread Randy Engle via 4D_Tech
Tim,

Most appreciated!

Randy Engle
XC2 Software LLC


-Original Message-
From: Timothy Penner [mailto:tpen...@4d.com] 
Sent: Friday, March 24, 2017 11:03 AM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Randy Engle <4d.l...@xc2.us>
Subject: RE: DDOS Attack simulator

> Anybody know a security scanning service that doesn't break the bank?

Nessus used to have a community edition that was able to get gotten and used 
for free in non-commercial environments... it looks like they renamed this 
option to "Nessus Home"
https://www.tenable.com/products/nessus/nessus-plugins/obtain-an-activation-code

Here is a large list of vulnerability scanners online: 
http://sectools.org/tag/vuln-scanners/

-Tim


Timothy Penner
Technical Services Engineer

4D Inc
95 S. Market Street, Suite #240
CA 95113 San Jose
United States

Telephone : +1-408-557-4600
Standard :  +1-408-557-4600
Fax :   +1-408-271-5080
Email : tpen...@4d.com
Web :   www.4D.com



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D v15r5 vs 16

2017-03-24 Thread Neil Dennis via 4D_Tech
Just v16, however I don't use the integrated web.

Either I or 4D wrote the plugins I use... I have seen no issues there.

Sent from my iPhone

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: 4D v15r5 vs 16

2017-03-24 Thread Stephen J. Orth via 4D_Tech
Neil,

Are you using the "R" release of V16?

I've run into all kinds of issues with the "R" release due to plugins and the 
new Blink integrated web engine.


Steve


-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Neil Dennis 
via 4D_Tech
Sent: Friday, March 24, 2017 1:05 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Neil Dennis 
Subject: Re: 4D v15r5 vs 16

As for 4D v16, I have used it a lot... seems just as solid as v15.4

Neil


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D v15r5 vs 16

2017-03-24 Thread Neil Dennis via 4D_Tech
As for 4D v16, I have used it a lot... seems just as solid as v15.4

Neil

Sent from my iPhone

> On Mar 24, 2017, at 11:05 AM, Randy Engle via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> OK... so I'm a little dense with understanding the "R" releases yet.
> 
> Does v16 have goodies that 15 R5 doesn't?  - vice versa
> 
> Is v16 ready for prime time?
> v15 R5 ready for prime time?
> 
> Randy Engle
> XC2 Software LLC
> 
> 
> 
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: DDOS Attack simulator

2017-03-24 Thread Timothy Penner via 4D_Tech
> Anybody know a security scanning service that doesn't break the bank?

Nessus used to have a community edition that was able to get gotten and used 
for free in non-commercial environments... it looks like they renamed this 
option to "Nessus Home"
https://www.tenable.com/products/nessus/nessus-plugins/obtain-an-activation-code

Here is a large list of vulnerability scanners online: 
http://sectools.org/tag/vuln-scanners/

-Tim



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: DDOS Attack simulator

2017-03-24 Thread Randy Engle via 4D_Tech
So... back to my original question:

Anybody know a security scanning service that doesn't break the bank?

Or a tried and true simulator that I can use to test.

I've been using "LOIC"  (Low Orbit Ion Cannon)
However, my app seems to handle this no problem.
Been running from 2 different systems for an hour.
Lobweb.txt file is growing... status of all calls are "200"

I need to know how to "break" it, so I can prevent it.

Any more input on this?

Thanks

Randy Engle
XC2 Software LLC




**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: 4D v15r5 vs 16

2017-03-24 Thread Randy Engle via 4D_Tech
Yes, thanks,

I'll need to read this ... "again"

3rd time's a charm.

;-)

Randy Engle
XC2 Software LLC


-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Timothy Penner 
via 4D_Tech
Sent: Friday, March 24, 2017 10:25 AM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Timothy Penner 
Subject: RE: 4D v15r5 vs 16

The following post from Thomas Maul describes the process for the R releases 
and why the bug fixes from .x may not be in the R release (sometimes the R 
release can be up to 3 months behind the .x release in terms of bug fixes):
http://forums.4d.fr/Post/EN/19187580/2/19195248#19195248

I encourage everyone to read that post above.

-Tim



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: 4D v15r5 vs 16

2017-03-24 Thread Randy Engle via 4D_Tech
Scott,

Thanks for the info.

I'm using 15.4 currently.

Seems I had some prob. With 15 r5 also.
Just don't remember what it was.

Randy Engle
XC2 Software LLC


-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Scott Staley 
via 4D_Tech
Sent: Friday, March 24, 2017 10:23 AM
To: 4d_tech@lists.4d.com
Cc: Scott Staley 
Subject: Re: 4D v15r5 vs 16

Randy,

I've had several issues with both 15 R5 and v16 (I don't have access to 16
HF2) and am therefore currently using v15r4 (which is certified for most 
systems).  I don't remember all the issues but I know I had several problems 
with menu management.


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: 4D v15r5 vs 16

2017-03-24 Thread Timothy Penner via 4D_Tech
The following post from Thomas Maul describes the process for the R releases 
and why the bug fixes from .x may not be in the R release (sometimes the R 
release can be up to 3 months behind the .x release in terms of bug fixes):
http://forums.4d.fr/Post/EN/19187580/2/19195248#19195248

I encourage everyone to read that post above.

-Tim



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D v15r5 vs 16

2017-03-24 Thread Scott Staley via 4D_Tech
Randy,

I've had several issues with both 15 R5 and v16 (I don't have access to 16
HF2) and am therefore currently using v15r4 (which is certified for most
systems).  I don't remember all the issues but I know I had several problems
with menu management.



--
View this message in context: 
http://4d.1045681.n5.nabble.com/4D-v15r5-vs-16-tp5750911p5750914.html
Sent from the 4D Tech mailing list archive at Nabble.com.
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: 4D v15r5 vs 16

2017-03-24 Thread Stephen J. Orth via 4D_Tech
Randy,

We are distributing production releases using V15R5 at the moment...no issues 
thus far.


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: Randy Engle [mailto:4d.l...@xc2.us] 
Sent: Friday, March 24, 2017 12:05 PM
To: '4D iNug Technical' <4d_tech@lists.4d.com>; s.o...@the-aquila-group.com
Cc: 'Timothy Penner' 
Subject: 4D v15r5 vs 16

OK... so I'm a little dense with understanding the "R" releases yet.

Does v16 have goodies that 15 R5 doesn't?  - vice versa

Is v16 ready for prime time?
v15 R5 ready for prime time?

Randy Engle
XC2 Software LLC





**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

4D v15r5 vs 16

2017-03-24 Thread Randy Engle via 4D_Tech
OK... so I'm a little dense with understanding the "R" releases yet.

Does v16 have goodies that 15 R5 doesn't?  - vice versa

Is v16 ready for prime time?
v15 R5 ready for prime time?

Randy Engle
XC2 Software LLC



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: DDOS Attack simulator

2017-03-24 Thread Timothy Penner via 4D_Tech
Hi Randy,

One of the things that the "security scan" is probably finding is that HTTP 
TRACE is enabled.

Starting with v16 this has been disabled by default and there is now an option 
to enable it.
http://livedoc.4d.com/4Dv16/help/Title/en/page8822.html#3101893

I suggest testing with v16 because there have been some improvements in that 
version... at the very least you will no longer be flagged for having HTTP 
TRACE enabled.

-Tim



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: [4DTidbits Blog] Epoch & Unix Timestamp Conversion

2017-03-24 Thread Arnaud de Montard via 4D_Tech

> Le 24 mars 2017 à 13:27, Herr Alexander Heintz via 4D_Tech 
> <4d_tech@lists.4d.com> a écrit :
> 
> Hi Y'all,
> 
> just a short one for the weekend, maybe someone can use it:
> 
> http://blog.heintz.net/a-quick-one-epoch-unix-timestamp-conversion/

Nice, thanks!

-- 
Arnaud de Montard 


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: DDOS Attack simulator

2017-03-24 Thread Randy Engle via 4D_Tech
Hi Tim,

RE: Didn’t v15R5 also cure the crashing during those scans?"

Thanks for chiming in.

I'm not finding any reference to crashing during scans in the v15R5 release 
notes/bug fixes.

Did I miss something?

Randy Engle
XC2 Software LLC



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: DDOS Attack simulator

2017-03-24 Thread Stephen J. Orth via 4D_Tech
Neil,

They will, unless it comes from internally, which was our case.

The Corporate IT team was running software to continually test all their 
servers, even though we explained our web server is behind the firewall and 
there was no pin-hole to the outside.  We argued any attack to our system would 
have to come from inside the company, they simply did not care.

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 Dennis, Neil 
via 4D_Tech
Sent: Friday, March 24, 2017 11:48 AM
To: '4D iNug Technical' <4d_tech@lists.4d.com>
Cc: Dennis, Neil 
Subject: RE: DDOS Attack simulator

> Any and all information regarding the above will be accepted with much 
> gratitude!

I thought most firewall routers will stop a DDos attack before it hits your 4D 
server. Was this not the case for you or are you testing without a firewall?

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)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: DDOS Attack simulator

2017-03-24 Thread Dennis, Neil via 4D_Tech
> Any and all information regarding the above will be accepted with much 
> gratitude!

I thought most firewall routers will stop a DDos attack before it hits your 4D 
server. Was this not the case for you or are you testing without a firewall?

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)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: DDOS Attack simulator

2017-03-24 Thread Stephen J. Orth via 4D_Tech
Tim,

Yes, this is why I stated it was 4D V13.

I was just trying to explain to Randy a Q way we resolved this problem, while 
we took the time to get our V15 release in production release state.


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: Timothy Penner [mailto:tpen...@4d.com] 
Sent: Friday, March 24, 2017 11:35 AM
To: s.o...@the-aquila-group.com; 4D iNug Technical <4d_tech@lists.4d.com>
Subject: RE: DDOS Attack simulator

Hi Steve,

Didn’t v15R5 also cure the crashing during those scans?

-Tim


Timothy Penner
Technical Services Engineer

4D Inc
95 S. Market Street, Suite #240
CA 95113 San Jose
United States

Telephone : +1-408-557-4600
Standard :  +1-408-557-4600
Fax :   +1-408-271-5080
Email : tpen...@4d.com
Web :   www.4D.com



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: DDOS Attack simulator

2017-03-24 Thread Timothy Penner via 4D_Tech
Hi Steve,

Didn’t v15R5 also cure the crashing during those scans?

-Tim



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: DDOS Attack simulator

2017-03-24 Thread Stephen J. Orth via 4D_Tech
Randy,

We have several customers who were using commercial scanning software to test 
web servers and one test was basically of DOS.  When this test was run, 4D 
Server (V13) would crash...not good.

To get around this, we did a rather simple "trick"

Since we know the format of every web request coming into our system, I simply 
created a new method called "Utility_Web_Intrusion_Shutdown" which looks like 
this:

 $minutes:=5*3600

 WEB STOP SERVER

 DELAY PROCESS(Current process;$minutes)

 WEB START SERVER

When an unknown request came in, we routed it to the method above.  This 
effectively killed their test and did not crash 4D Server.  In my example 
above, the web server was down for 5 minutes, no magic for that number.  
However, if the test was still running when the time limit was up, it would 
simply jump back into this routine.

Quick & Dirty, but it did work...


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 Randy Engle 
via 4D_Tech
Sent: Friday, March 24, 2017 11:19 AM
To: '4D iNug Technical' <4d_tech@lists.4d.com>
Cc: Randy Engle <4d.l...@xc2.us>
Subject: DDOS Attack simulator

A customer has "requested" us to do our own security scan of our web 
application.  (Using 4D Web Server v15.4/Windows... currently)

I'm a raw newbie at this stuff, so please be gentle.   ;-)

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

DDOS Attack simulator

2017-03-24 Thread Randy Engle via 4D_Tech
A customer has "requested" us to do our own security scan of our web 
application.  (Using 4D Web Server v15.4/Windows... currently)

I'm a raw newbie at this stuff, so please be gentle.   ;-)

They apparently did a security scan and said that our site "breaks" after 11 
minutes.

They aren't being very forthcoming with the results of that report except above.

FYI, I'm dealing with the IT dept of a major city.
They don't seem to be completely reasonable and have their "ways" of doing 
things

Only that they think we should do our own scan so "solve" the problem.

Subscribing to one of these security scanning services seems to be very 
expensive, and they do a LOT more than what we need.

So

What say y'all?

1.  Do you know of a good security scanning service that doesn't empty your 
bank account

2.  I downloaded and am trying out "LOIC" to emulate a DDOS attack
Do you know of anything better?

3.  To "remediate" the problem, I've made some changes in the Web Structure 
Settings

a.  set maximum concurrent web process to a much smaller number 
than 32000  (128/256/512/1024)
(It looks like this might be the best thing to do)
Number of hits per hour/minute/second should be minimal in a 
live situation
I'm think max hits/minute at peak time might be 100-200

b.  Turned off automatic session management
Not sure if this will affect things positively or otherwise.

4.  Any and all information regarding the above will be accepted with much 
gratitude!

Many thanks,

Randy Engle
XC2 Software LLC



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: repost : Printer selection issue

2017-03-24 Thread Arnaud de Montard via 4D_Tech

> Le 24 mars 2017 à 15:20, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> a 
> écrit :
> 
> [...]
> remarkably,
> the "Print object" command works with decimal coordinates,
> as does SVG (mm, pc, in, px, pt, em, etc).

???
Why x, y, length, height are mentioned as "These values must be expressed in 
pixels" and type as "longint" in doc? 

Working with Print object, I usually use metric values (cm, mm) and convert in 
rounded pixels before the call. Am I loosing my time?  :-(

-- 
Arnaud de Montard 



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: 4D Query error, Beware

2017-03-24 Thread Dennis, Neil via 4D_Tech
One thing I left out... be sure to index the date field.

-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Dennis, Neil 
via 4D_Tech
Sent: Friday, March 24, 2017 9:27 AM
To: '4D iNug Technical' <4d_tech@lists.4d.com>
Cc: Dennis, Neil 
Subject: 4D Query error, Beware

I have filed a case with 4D. I'm posting this message to make programmers aware 
of this issue. If you find that I'm mistaken, please let me know.

A Query within a transaction is returning incorrect results. To demonstrate 
create a new database with one table, add a date field to the table named 
"Date".
Create and execute a method with the code below:

$dDate:=Current date
START TRANSACTION
CREATE RECORD([Table_1])
[Table_1]Date:=$dDate
SAVE RECORD([Table_1])
QUERY([Table_1];[Table_1]Date<$dDate;*)
QUERY([Table_1]; & ;[Table_1]Date>Add to date($dDate;-1;0;0)) 
ALERT(String(Records in selection([Table_1]))+"\r\rSould be zero") CANCEL 
TRANSACTION

The query should return zero records because the records date is = $dDate not < 
$dDate. However the query shows 1 record found.

A bit of testing shows this problem exists in v15.3 as well as v16.0 (other 
versions of 4D not tested) The query also seems to work if there is no 
transaction. The query also seems to work if it is a single level query (just 
date<$dDate results in zero records)

I tested only on windows 7 and windows server 2008 R2.

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)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: repost : Printer selection issue

2017-03-24 Thread Keisuke Miyako via 4D_Tech
the label editor, as well as regular forms, only accepts integer units.

the label editor appears to accept decimal coordinates,
but it is only a unit converter,
internally the values are always stored in points (integer).

remarkably,
the "Print object" command works with decimal coordinates,
as does SVG (mm, pc, in, px, pt, em, etc).

...which is why this component 
(https://github.com/miyako/4d-component-label-editor)
can align object with more precision than the standard PRINT LABEL command.

> 2017/03/24 23:06、Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> のメール:
> Not only does the information being printed (total of 8 characters in 2
> lines (max)) have to align EXACTLY - but the users want/need to be able
> to reuse a partially printed page, as each sheet costs $3(usd).




**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: repost : Printer selection issue

2017-03-24 Thread Chip Scheide via 4D_Tech
yeah... not so much
for most of the printing done in my system it is not to much of a 
problem;
but for the specialty labels
Using Print Objectat least not without:
- a major rewrite of existing printing routines
- likely a major issue for the end user.

these specialty labels do not use an avery format.
for example, there are labels for the top of a 2ml sample tube, AND 
still stay attached in a freezer which is -80 degrees C.

These labels are 0.95 cm in diameter (3/8 inch), and there are 192 on a 
one laser print page.
Not only does the information being printed (total of 8 characters in 2 
lines (max)) have to align EXACTLY - but the users want/need to be able 
to reuse a partially printed page, as each sheet costs $3(usd). 

There are 4 other similar lab specific labels that need to be printed, 
the others are a bit larger but the all sheets need to be reused, and 
the data printing form needs to match.

And yes - I force the system to print an 'alignment' page, and verify 
label alignment with the printout along with a mechanism to adjust the 
positioning if needed (using move object), before they get to choose 
the data they are going to print.


On Fri, 24 Mar 2017 09:38:37 +0100, Arnaud de Montard via 4D_Tech wrote:
> 
>> Le 23 mars 2017 à 16:49, Chip Scheide via 4D_Tech 
>> <4d_tech@lists.4d.com> a écrit :
>> 
>> I am having an issue with printer selection.
>> [...]
>> The users know, or at least should know by now, to select a specific 
>> printer in the page setup dialog; however, often they don't, and this 
>> screws up label printing.
> 
> Another approach would be to adapt the printing whatever the 
> printer/paper/margins. This can be done with 'Print object', you can 
> position objects in the page knowing margins and page surface. I ran 
> into that last year to allow A4 or legal us for the same printing. 
> 
> -- 
> Arnaud de Montard 
> 
> 
> 
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: repost : Printer selection issue

2017-03-24 Thread Chip Scheide via 4D_Tech
Thanks Keisuke and others,

I'm sorry I didn't put version number in - usually I do.
this is version 13 - and yes it would be 32 bit.

due to version - there is no Blob to print settings.
I do not have 4D pack, so no joy there.
I will look at the github bit and see if there is something there that 
might work.
I do have 4D Write, so I will also look at that, I do not use it for 
anything currently, but if it will force a printer selection.. 

Thanks all


On Fri, 24 Mar 2017 10:33:37 +, Keisuke Miyako via 4D_Tech wrote:
> I think what you describe is a "32-bit" thing.
> 
> the code
> 
> SET CURRENT PRINTER("_192_168_1_33")
> PRINT SETTINGS(Page setup dialog)
> 
> shows "any printer" on v16 32-bit,
> the default printer on v16 64-bit.
> 
> -
> 
> even using 32-bit,
> once you have chosen the printer in the page setup dialog,
> and stored that settings on disk, you can do something like
> 
> DOCUMENT TO BLOB(Get 4D folder(Current resources 
> folder)+"_192_168_1_33";$settings)
> BLOB to print settings($settings)
> PRINT SETTINGS(Page setup dialog)
> 
> to get the printer name show up the first time.
> 
> -
> 
> I guess 4D Pack can do something similar pre v15.
> maybe PAGE SETUP, maybe not.
> 
> or even,
> 
> https://github.com/miyako/4d-plugin-core-printing
> 
>> 2017/03/24 0:49、Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> のメール:
>> 
>> any help??
> 
> 
> 
> 
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

[4DTidbits Blog] Epoch & Unix Timestamp Conversion

2017-03-24 Thread Herr Alexander Heintz via 4D_Tech
Hi Y'all,

just a short one for the weekend, maybe someone can use it:

http://blog.heintz.net/a-quick-one-epoch-unix-timestamp-conversion/

Cheers
Alex
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: repost : Printer selection issue

2017-03-24 Thread Keisuke Miyako via 4D_Tech
I think what you describe is a "32-bit" thing.

the code

SET CURRENT PRINTER("_192_168_1_33")
PRINT SETTINGS(Page setup dialog)

shows "any printer" on v16 32-bit,
the default printer on v16 64-bit.

-

even using 32-bit,
once you have chosen the printer in the page setup dialog,
and stored that settings on disk, you can do something like

DOCUMENT TO BLOB(Get 4D folder(Current resources 
folder)+"_192_168_1_33";$settings)
BLOB to print settings($settings)
PRINT SETTINGS(Page setup dialog)

to get the printer name show up the first time.

-

I guess 4D Pack can do something similar pre v15.
maybe PAGE SETUP, maybe not.

or even,

https://github.com/miyako/4d-plugin-core-printing

> 2017/03/24 0:49、Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> のメール:
>
> any help??




**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: repost : Printer selection issue

2017-03-24 Thread Bernd Fröhlich via 4D_Tech
Chip Scheide:

> I have found that the margins(?) or Page Size(?), are different than 
> the Xerox printers that are used here, and probably different than any 
> actual printer. This affects printing, usually by causing an extra 
> blank page to be printed.  In some instances the blank page is first, 
> and others it is after. Either way, when working with printing 
> precisely aligned forms (customized label forms) this causes a problem.
> 
> The users know, or at least should know by now, to select a specific 
> printer in the page setup dialog; however, often they don't, and this 
> screws up label printing.


I had a similar problem over here. (Users almost never remember to change the 
printer. And to be honest: they shouldn´t have to.)
Solution:
I have a record with user preferences.
In the input form for those preferences I have a button for the user to select 
the print settings.

Those settings are stored via
[User]WR_PrintSettings:=WR Print settings to BLOB ($lArea)

Before I start a printjob I call BLOB to print settings
WR BLOB TO PRINT SETTINGS ($lArea;[User]WR_PrintSettings;wr layout and print 
settings)

As you can see from my example I do most of my printing with 4D Write but I 
guess the same should work with
Print settings to BLOB
and
BLOB TO PRINT SETTINGS

Greetings from Germany,
Bernd Fröhlich
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**