dbTalk Databases Forums  

brain-teaser for d3 gurus... playing with file-variables

comp.databases.pick comp.databases.pick


Discuss brain-teaser for d3 gurus... playing with file-variables in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Tom deL
 
Posts: n/a

Default Re: brain-teaser for d3 gurus... playing with file-variables - 09-20-2006 , 01:39 PM






Hi Dave,

Quote:
How about: fullpathname = fileinfo(file.handle, FL$PATH) plus a couple
dozen other useful pieces of information directly from a file handle. A
couple of these give information about alternate key indices - which
actually work and won't trash your filesystem. Oops, that's openQM ...
you can see more items that might be simply "wishlist" bits in other
systems here: http://www.openqm.com/docs/
Tom, hi!
You know, since you made it SO darn easy to follow the link, I did...
and once there I had to chase others... -- NOT baaadddd! I'm
impressed!
Ladybridge and openQM have put the fun back in MV for me (and several
others that I know of).

Martin does an excellent balancing act between keeping the traditional
MV feel and workability and adding modern functionality. This has
impressed me greatly.

Quote:
Chasing this, one has to chase the letter of the GPL... as it applies
to OpenQM (also available at http://www.gnu.org/copyleft/gpl.html) and
This has been discussed at length (beaten to death?) in every venue
from private e-mail to the openQM mailing list, CDP and Debian Legal.
The consensus from those in the know has been that the GPL is being
followed better here than it is in many projects.

Quote:
I wonder if this is really being adhered to properly via the
quote>"commercial"</quote> version and its differentiation as a
First, a common misconception is that FLOSS in general and the GPL in
particular prohibit sale and/or profit - this is simply not the case.

Quote:
derrived work. On first pass, it seems as if the spirit of the GPL is
being substantially violated.
Perhaps a bit of confusion here: The "derived work" concept applies to
code which embodies or is reliant upon GPL'd libraries and API's.
Ladybridge's approach appears to me to be following in the footsteps of
the original mySQL dual licensing.

Now I guess I need my old disclaimer:
I am not now nor have ever wished to be a lawyer. <g>
-Tom

P.S.
<SHAMELESS PLUG>
Leaving the whole GPL issue out of the mix, IMHO (the commercial
version of) openQM is a much superior product to many of the current
offerings - and at a much lower cost of ownership.

This coupled with the ease of migration makes me wonder why folks would
consider re-writing something like D3 a bit at a time ... wouldn't it
be easier and less expensive to simply migrate to a live and breathing
DBMS like openQM?

Given the ease of web connectivity and other modern concepts embodied
in openQM, these savings continue into the future.
</SHAMELESS PLUG>



Reply With Quote
  #12  
Old   
dzigray
 
Posts: n/a

Default Re: brain-teaser for d3 gurus... playing with file-variables - 09-20-2006 , 02:21 PM






Quote:
First, a common misconception is that FLOSS in general and the GPL in
particular prohibit sale and/or profit - this is simply not the case.
sure, i understood this... especially for copy services and/or support

derrived work. On first pass, it seems as if the spirit of the GPL is
being substantially violated.

Perhaps a bit of confusion here: The "derived work" concept applies to
code which embodies or is reliant upon GPL'd libraries and API's.
Ladybridge's approach appears to me to be following in the footsteps of
the original mySQL dual licensing.
Tom,

i thought if an entity desired to umbrella under the "API -or- library"
approach... it should have been performed under the "LGPL" versus the
"GPL": http://www.gnu.org/licenses/lgpl.html

no? (i trust this has probably been beat to death as you stated... so
don't feel compelled to chase this... the only reason i surfaced it is
that it was the crux of a tiny redflag when reviewing a personal
"return on commitment", ie. chasing a marketing lure of socialism
while being confronted with a cash-register in the background. for
some reason there's a troublesome dichotomy. if one gets past this,
then it simply reduces to
convenience/functionality/standards/reliability/price/performance.
based upon the modest snapshot that i did, I have to imagine
substantial energy has gone towards each of these. i'll definitely
give this a closer look sometime.)

dave



Reply With Quote
  #13  
Old   
Kevin Powick
 
Posts: n/a

Default Re: brain-teaser for d3 gurus... playing with file-variables - 09-20-2006 , 02:56 PM




dzigray wrote:

Quote:
convenience/functionality/standards/reliability/price/performance.
based upon the modest snapshot that i did, I have to imagine
substantial energy has gone towards each of these. i'll definitely
give this a closer look sometime.)
It's well worth your time to take a good look at OpenQM.

--
Kevin Powick



Reply With Quote
  #14  
Old   
dzigray
 
Posts: n/a

Default Re: brain-teaser for d3 gurus... playing with file-variables - 09-20-2006 , 03:22 PM




Tony Gravagno wrote:
Quote:
Dave wrote:
i'm the first to admit the above is a cludge... but when you need the
functionality...

This is only needed in poorly written code - and there's a lot of that
around. Proper coding takes precedence in the long haul, if possible.
tony, such is an invalid generalization. the ability to derrive an
object's properties from an object's handle is generally fundamental
and shouldn't require explanation -- it's also fundamental to concepts
of encapsulation -- so as not to require "insider" knowledge of
underlying structures.

Quote:
As well as considering adding a one-line Call to a routine that gets
your filename for you, consider a longer-term solution of putting
filenames with corresponding file descriptors in a dimensioned array.
laughing... tony... do i sound like i'm building my first pick
application? in fact, there are countless techniques for performing
the efficient management of opening files and implicitly binding
relationships between a file's name and the filevariable.

if coding an application-level program, i would definitely make certain
to utilize such a technique (as you suggest) should the filename be of
any importance to me -- and then shame on me if i didn't! --
especially in a D3 system.

HOWEVER... if you were implementing a generalized utility/support
program/remote-debugger... would a debugger know which file-variable is
tied to which file-name-variable? no... especially given all the
creative tony's out there with their own file-open techniques.
(granted, if you were writing a system-debugger for pick... you could
easily get the filename from the FCB... but that's a different story.)

i'm sorry... i could disclose more of what i'm doing to provide greater
justification for my need... but the above should suffice.

Quote:
The name should always match the contents of the descriptor.
(i agree... solid naming conventions are good! )

Quote:
T


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.