Re: define class xx twice

2016-11-18 Thread Gene Wirchenko

At 15:31 2016-11-18, "Fernando D. Bozzo"  wrote:

[snip]


"do someproc in locationx" or "NewObject" does not use nothing "in memory",
because they load from the indicated resource directly, hence, does not
apply,


 You do not know that.  You are guessing.  It may be a perfectly 
reasonable guess, but it is still just a guess.


 How VFP decides to cache code is nothing I have seen 
documented.  I have occasionally gotten into trouble with this to the 
point where I have simply closed VFP and restarted it, because I 
could not get the cache dropped.  This includes using clear 
program.  A bug in VFP?  Maybe.  A bug in my code?  Quite 
possibly.  But I have been unable to clear the cache short of closing VFP.


[snip]

Sincerely,

Gene Wirchenko


___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/9aabd014b4286b3ca161431efce95a63@mtlp85
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


RE: Setting >1 Page Orientation in PDFs

2016-11-18 Thread Gene Wirchenko

At 00:48 2016-11-17, Dave Crozier  wrote:
Fineprint PDF writer does it all automatically plus much, much more 
and is not expensive.


 How do you do it with Fineprint, please?

 I have code that I think ought to work.  It does set the 
orientation correctly for the first time the orientation is set in a 
print job.  It does not work for subsequent orientation settings in a 
print job.  It fails the same way with two different PDF generators.


 It is quite possible that I am doing something wrong.  (No one 
has replied with a correct way of how to do it, but that does not 
guarantee I am correct.  (I wish.))  I would rather not get mixed up 
with yet another PDF generator without a reasonable assurance that it 
will work.  (Besides, the company I am working for already uses 
Bullzip in other areas.)


 And maybe seeing your code will give me an idea.

[snipped previous]

Sincerely,

Gene Wirchenko


___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/8e102644922de61c90407560736505a1@mtlp87
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: define class xx twice

2016-11-18 Thread Fernando D. Bozzo
Hi Gene:


2016-11-18 19:14 GMT+01:00 Gene Wirchenko :

> At 00:57 2016-11-18, "Fernando D. Bozzo"  wrote:
>
>> Yes, this is the same behaviour as for procedures, the last defined or
>> loaded overwrites the previous.
>>
>
>  Maybe.  It is undefined behaviour so you can not count on it being
> one way or the other.
>
> This is because there can't be more than one procedure/class with the same
>> name on memoty at the same time.
>>
>
>  A questionable assumption.  What about
>   do someproc in locationa
>   do someproc in locationb
> Since it is not defined exactly what VFP stores in memory codewise, it is
> not impossible that both could be.
>

That is precisely why I've talked about "procedure/class on memory",
because the only way to have them loaded on memory is with SET PROCEDURE
and SET CLASSLIB, and in this cases the last one is the winner.

"do someproc in locationx" or "NewObject" does not use nothing "in memory",
because they load from the indicated resource directly, hence, does not
apply,




>
> In the case of classes you can use NewObject to select from which library
>> instantiate a class definition, but for multiple objects this is more
>> slower than createobject.
>>
>
>
>  Having been bit by a duplicate method name some months back, I think
> there really should be a compiler error message for duplicates.
>
> [snipped previous]
>
> Sincerely,
>
> Gene Wirchenko
>
>
[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/cagq_juncedvffmvo9etnhzpopyg4n1izjh-22hxyvk9c0oc...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


RE: [NF] EXTERNAL SSD hard drives

2016-11-18 Thread Gene Wirchenko

At 05:01 2016-11-18, Dave Crozier  wrote:
CTRL/ALT and if I remember correctly on the plus version it was both 
shift keys together...


These along with Wordstar control keys are indelibly engrained in my brain!

How sad is that!


 Not sad at all.  The WordStar keys are very useful.  I use a 
WordStar-compatible editor for my programming.  IME, no GUI editor 
has ever compared faintly as well for general programming editing.


[snipped previous]

Sincerely,

Gene Wirchenko


___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/ec69591d34a5da6b152edfafd0b3a87e@mtlp83
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: define class xx twice

2016-11-18 Thread Gene Wirchenko

At 00:57 2016-11-18, "Fernando D. Bozzo"  wrote:

Yes, this is the same behaviour as for procedures, the last defined or
loaded overwrites the previous.


 Maybe.  It is undefined behaviour so you can not count on it 
being one way or the other.



This is because there can't be more than one procedure/class with the same
name on memoty at the same time.


 A questionable assumption.  What about
  do someproc in locationa
  do someproc in locationb
Since it is not defined exactly what VFP stores in memory codewise, 
it is not impossible that both could be.



In the case of classes you can use NewObject to select from which library
instantiate a class definition, but for multiple objects this is more
slower than createobject.



 Having been bit by a duplicate method name some months back, I 
think there really should be a compiler error message for duplicates.


[snipped previous]

Sincerely,

Gene Wirchenko


___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/53b9181cdfcb7b82ebe52b51c4179e0e@mtlp86
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: [NF] EXTERNAL SSD hard drives

2016-11-18 Thread AndyHC

Both shift keys!
Used it with Clipper - used Sidekick as editor - saved and ^^ compile 
and execute - Brilliant!

  AndyD

On 18-Nov-2016 4:34 PM, Peter Cushing wrote:

On 17/11/2016 15:04, Dave Crozier wrote:
Chatting about old technology reminded me of the old days when we had 
to use TSR programs like Borland Sidekick to get around the 640Mb 
memory limit. Oh how times have changed!!


Yeah, but can you remember (without looking on the internet) the 
shortcut key to activate it?


Peter


This communication is intended for the person or organisation to whom 
it is addressed. The contents are confidential and may be protected in 
law. Unauthorised use, copying or disclosure of any of it may be 
unlawful. If you have received this message in error, please notify us 
immediately by telephone or email.

www.whisperingsmith.com

Whispering Smith Ltd Head Office:61 Great Ducie Street, Manchester M3 
1RR. Tel:0161 831 3700 Fax:0161 831 3715

London Office:17-19 Foley Street, London W1W 6DW Tel:0207 299 7960



[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/2966d445-4e76-d5c0-01a8-cec5ece0e...@hawthorncottage.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: [NF] Police are using software to predict crime

2016-11-18 Thread Vince Teachout

On 11/18/2016 4:48 AM, Man-wai Chang wrote:

They are NOT predicting crimes. They are using the software a crystal
ball or a magic mirror. They are trusting and believing in the logic
of the software. The proper name for this is astrology, *NOT* crime
prediction! :)


+1


___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/fa3eadf5-b26c-35ff-08af-2b0eff892...@taconic.net
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


RE: [NF] EXTERNAL SSD hard drives

2016-11-18 Thread Richard Kaye
I still use JP Software's (creator/publisher of 4DOS, 4NT, 4OS2) command shell 
replacement.

--

rk
-Original Message-
From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Fernando D. 
Bozzo
Sent: Friday, November 18, 2016 1:27 AM
To: profoxt...@leafe.com
Subject: RE: [NF] EXTERNAL SSD hard drives

I remember that :)

And what about popcalc/pop* programs or 4dos with history recall, aliases
and word colouring?

El 17/11/2016 4:04 p. m., "Dave Crozier"  escribió:

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/bn4pr10mb0913963914f6d16d89259ca2d2...@bn4pr10mb0913.namprd10.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Re: [NF] EXTERNAL SSD hard drives

2016-11-18 Thread Jean Laeremans
Same here but with WP.

On Fri, Nov 18, 2016 at 2:01 PM, Dave Crozier  wrote:

> CTRL/ALT and if I remember correctly on the plus version it was both shift
> keys together...
>
> These along with Wordstar control keys are indelibly engrained in my brain!
>
> How sad is that!
>
> Dave
>
> -Original Message-
> From: ProFox [mailto:profox-boun...@leafe.com] On Behalf Of Peter Cushing
> Sent: 18 November 2016 11:04
> To: profox@leafe.com
> Subject: Re: [NF] EXTERNAL SSD hard drives
>
> On 17/11/2016 15:04, Dave Crozier wrote:
> > Chatting about old technology reminded me of the old days when we had to
> use TSR programs like Borland Sidekick to get around the 640Mb memory
> limit. Oh how times have changed!!
> >
> Yeah, but can you remember (without looking on the internet) the shortcut
> key to activate it?
>
> Peter
>
>
> This communication is intended for the person or organisation to whom it
> is addressed. The contents are confidential and may be protected in law.
> Unauthorised use, copying or disclosure of any of it may be unlawful. If
> you have received this message in error, please notify us immediately by
> telephone or email.
>
> www.whisperingsmith.com
>
> Whispering Smith Ltd Head Office:61 Great Ducie Street, Manchester M3 1RR.
> Tel:0161 831 3700
> Fax:0161 831 3715
>
> London Office:17-19 Foley Street, London W1W 6DW Tel:0207 299 7960
>
>
[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/capqlobxq+pz5krtw9cfoymzxpdnfnx8xesj99hgu6shsavq...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


RE: [NF] EXTERNAL SSD hard drives

2016-11-18 Thread Dave Crozier
CTRL/ALT and if I remember correctly on the plus version it was both shift keys 
together...

These along with Wordstar control keys are indelibly engrained in my brain!

How sad is that!

Dave

-Original Message-
From: ProFox [mailto:profox-boun...@leafe.com] On Behalf Of Peter Cushing
Sent: 18 November 2016 11:04
To: profox@leafe.com
Subject: Re: [NF] EXTERNAL SSD hard drives

On 17/11/2016 15:04, Dave Crozier wrote:
> Chatting about old technology reminded me of the old days when we had to use 
> TSR programs like Borland Sidekick to get around the 640Mb memory limit. Oh 
> how times have changed!!
>
Yeah, but can you remember (without looking on the internet) the shortcut key 
to activate it?

Peter


This communication is intended for the person or organisation to whom it is 
addressed. The contents are confidential and may be protected in law. 
Unauthorised use, copying or disclosure of any of it may be unlawful. If you 
have received this message in error, please notify us immediately by telephone 
or email. 

www.whisperingsmith.com

Whispering Smith Ltd Head Office:61 Great Ducie Street, Manchester M3 1RR. 
Tel:0161 831 3700
Fax:0161 831 3715 

London Office:17-19 Foley Street, London W1W 6DW Tel:0207 299 7960


[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/18725b8cd2d5d247873a2baf401d4ab2a43b9...@ex2010-a-fpl.fpl.LOCAL
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: [NF] EXTERNAL SSD hard drives

2016-11-18 Thread Peter Cushing

On 17/11/2016 15:04, Dave Crozier wrote:

Chatting about old technology reminded me of the old days when we had to use 
TSR programs like Borland Sidekick to get around the 640Mb memory limit. Oh how 
times have changed!!

Yeah, but can you remember (without looking on the internet) the 
shortcut key to activate it?


Peter


This communication is intended for the person or organisation to whom it is addressed. The contents are confidential and may be protected in law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email. 


www.whisperingsmith.com

Whispering Smith Ltd Head Office:61 Great Ducie Street, Manchester M3 1RR. 
Tel:0161 831 3700 
Fax:0161 831 3715 


London Office:17-19 Foley Street, London W1W 6DW Tel:0207 299 7960


___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/f21b4425-f95a-5516-f3b1-ec73d604d...@whisperingsmith.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: [NF] Police are using software to predict crime

2016-11-18 Thread Man-wai Chang
They are NOT predicting crimes. They are using the software a crystal
ball or a magic mirror. They are trusting and believing in the logic
of the software. The proper name for this is astrology, *NOT* crime
prediction! :)

On Fri, Nov 18, 2016 at 2:08 PM, Michael Madigan  wrote:
> https://www.washingtonpost.com/local/public-safety/police-are-using-software-to-predict-crime-is-it-a-holy-grail-or-biased-against-minorities/2016/11/17/525a6649-0472-440a-aae1-b283aa8e5de8_story.html
>
-- 
 .~. Might, Courage, Vision. SINCERITY!
/ v \ 64-bit Ubuntu 9.10 (Linux kernel 2.6.39.3)
/( _ )\ http://sites.google.com/site/changmw
^ ^ May the Force and farces be with you!

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CAGv=MJBX_vYe+CNCWZWS3qMUuowEGVufa7CPgH5YG1aW=9w...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: [NF] EXTERNAL SSD hard drives

2016-11-18 Thread Mike Copeland
The jury is still out, for me, but I agree with your understanding and 
so far SSDs have been more reliable.


Mike

Jim Brotz wrote:

I guess I am missing something here.  Why wouldn't SSDs last longer than
disk drives,  since they are solid state?
Also, my understanding is that they use leveling algorithms to avoid the
problem of wearing out due to multiple writes to the same addresses.

On Nov 17, 2016 10:19 AM, 
wrote:


On 2016-11-17 04:37, Paul Hill wrote:


On 16 November 2016 at 21:01,
 wrote:


How long do you normally use a laptop hard drive before replacing it
(before
disaster strikes it)?


I don't think I've ever had a drive I personally own die.
Still got a 9Gb SCSI drive running in my Amiga 4000 :-)



Well I always heard that the SCSI drives lasted the longest (as opposed to
the IDE drives)!  They say these SSD drives are super fast (yes!) but they
don't have the longevity like your SCSI either though...supposedly.


[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/7c48e86b-2362-861a-d5dd-d6e812095...@ggisoft.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: Do you rebuild your indexes every night or do you leave them alone.

2016-11-18 Thread Alan Bourke
I've never even encountered this CDX bloat thing, so for me I wouldn't
bother really.

-- 
  Alan Bourke
  alanpbourke (at) fastmail (dot) fm

On Fri, 18 Nov 2016, at 06:12 AM, Michael Madigan wrote:
> My question was, "Is it a waste of time", but cutting down on CDX bloat
> means that it isn't a waste
> 
> 
> - Original Message -
> From: Ted Roche 
> To: "profox@leafe.com" 
> Sent: Friday, November 11, 2016 7:54 AM
> Subject: Re: Do you rebuild your indexes every night or do you leave them
> alone.
> 
> On Fri, Nov 11, 2016 at 2:41 AM, Michael Madigan 
> wrote:
> > I don't get corruption, I just do it anyway.
> 
> So, what was your question again?
> 
[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/1479460689.1337978.791914529.1670b...@webmail.messagingengine.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: define class xx twice

2016-11-18 Thread Fernando D. Bozzo
Yes, this is the same behaviour as for procedures, the last defined or
loaded overwrites the previous.

This is because there can't be more than one procedure/class with the same
name on memoty at the same time.

In the case of classes you can use NewObject to select from which library
instantiate a class definition, but for multiple objects this is more
slower than createobject.




2016-11-18 9:34 GMT+01:00 Thierry Nivelet :

> Hi,
>
> Just to be sure, would this behavior always be true wherever both DEFINE
> CLASS are located?
>
> dupClassTest = CreateObject('dupClassTest')
>
> ? dupClassTest.dupClassTest && 'duplicate'
>
> DEFINE CLASS dupClassTest as Custom
>   dupClassTest = 'original'
> enddefine
>
> DEFINE CLASS dupClassTest as Custom
>   dupClassTest = 'duplicate'
> enddefine
>
> --
>
> Thierry Nivelet
> FoxInCloud
> Give your VFP app a second life in the cloud
> http://foxincloud.com/
>
>
[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CAGQ_Ju=s0b87f1nmdnmvvaqnzdgym+wooep+_w2cwuazl0u...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


define class xx twice

2016-11-18 Thread Thierry Nivelet

Hi,

Just to be sure, would this behavior always be true wherever both DEFINE 
CLASS are located?


dupClassTest = CreateObject('dupClassTest')

? dupClassTest.dupClassTest && 'duplicate'

DEFINE CLASS dupClassTest as Custom
  dupClassTest = 'original'
enddefine

DEFINE CLASS dupClassTest as Custom
  dupClassTest = 'duplicate'
enddefine

--

Thierry Nivelet
FoxInCloud
Give your VFP app a second life in the cloud
http://foxincloud.com/


___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/1c89176c-f329-b483-95c9-86042c884...@foxincloud.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.