|
|
|
|
|
|
| |
| |
|
|
From: Darren New
Subject: Re: Why is Povray 3.7 for Windows installed in such a stupid place?
Date: 5 Jan 2009 00:23:45
Message: <49619961$1@news.povray.org>
|
|
|
| |
| |
|
|
nemesis wrote:
> Darren New <dne### [at] sanrrcom> wrote:
>> nemesis wrote:
>> Windows has both of those. :-)
>
> Of course. But registry simply kills it in the name of ease for users, at the
> expense of making it difficult and annoying to "fine-tune" your system.
I'm not sure what that sentence means. If you mean the registry is harder
to edit, I'd have to disagree. YMMV.
>> The registry is just a more general solution.
> Is it really worth the pain?
Yes. When you start writing programs that need to (for example) set
environment variables for every user in a particular list, or to modify the
configuration of something already there, you realize that having a standard
way of storing configuration is a benefit.
Compare code to (say) list all configured document roots in Apache with all
configured document roots in IIS. Compare code that installs a new web-app
to an Apache configuration to an IIS configuration, without disturbing
what's already set up. Include the effort required to write a parser for
Apache configuration. Now include the effort to write the parser for MySql
configuration, PHP configuration, and half a dozen other configurations.
Include the code to *find* the appropriate configuration files, without
assuming they're necessarily in the default places.
Compare code to (say) set the POVRAY_BETA environment variable to a new
value at the next login for everyone in the Administrators group on the
entire domain of Windows machines compared to setting it for everyone in the
wheel group for an entire company in a Linux-based company.
Write code to find all the machines within your domain with the old version
of a particular COM component installed, and replace it with the new
version. (That's why it's called the "registry" after all.) Now do the same
for your favorite X-Windows widget you wrote and that you compiled from your
own sources.
It's not always worth the "pain" as you say, but when you're writing
professional-grade software, it makes things a lot easier to manage if all
your configuration information is in a standard format. Substituting "some
text file somewhere under /etc, or maybe /sys, or maybe /proc" doesn't
really compare.
> At work we use Delphi and now and then when we
> have to install or update plugins it's always a terrible annoyance involving
> manual and stupid registry editing.
Well, that's stupid software. There are ways of avoiding that, but if one
doesn't know what they are, one's software probably won't do things right.
> Ease of use is to simply go /searchthis, edit it in whatever way you like, copy
> it around as many times you want and delete it with a simple dd. Nothing like
> a plain list of key=value strings...
Well, yeah, if all your configuration is in .INI files, that might make
sense. (I never used dd to delete files, at least not selectively. ;-) If
you have complex structured configuration, then you need a more complex
interface to the registry, which is usually easy-to-trivial to implement in
the event that your software is broken.
Follow-ups yet again redirected. :-)
--
Darren New, San Diego CA, USA (PST)
Why is there a chainsaw in DOOM?
There aren't any trees on Mars.
Post a reply to this message
|
|
| |
| |
|
|
From: Francois Labreque
Subject: Re: Why is Povray 3.7 for Windows installed in such a stupid place?
Date: 9 Jan 2009 07:39:07
Message: <4967456b$1@news.povray.org>
|
|
|
| |
| |
|
|
Darren New a écrit :
> nemesis wrote:
>> Darren New <dne### [at] sanrrcom> wrote:
>
>> and delete it with a simple dd.
>
> (I never used dd to delete files, at least not selectively. ;-)
I think he meant the vi command "dd" to delete a line of text, not the
binary of the same name.
--
/*Francois Labreque*/#local a=x+y;#local b=x+a;#local c=a+b;#macro P(F//
/* flabreque */L)polygon{5,F,F+z,L+z,L,F pigment{rgb 9}}#end union
/* @ */{P(0,a)P(a,b)P(b,c)P(2*a,2*b)P(2*b,b+c)P(b+c,<2,3>)
/* gmail.com */}camera{orthographic location<6,1.25,-6>look_at a }
Post a reply to this message
|
|
| |
| |
|
|
From: Darren New
Subject: Re: Why is Povray 3.7 for Windows installed in such a stupid place?
Date: 9 Jan 2009 12:32:35
Message: <49678a33@news.povray.org>
|
|
|
| |
| |
|
|
Francois Labreque wrote:
> Darren New a écrit :
>> nemesis wrote:
>>> Darren New <dne### [at] sanrrcom> wrote:
>>
>>> and delete it with a simple dd.
>>
>> (I never used dd to delete files, at least not selectively. ;-)
>
> I think he meant the vi command "dd" to delete a line of text, not the
> binary of the same name.
D'oh! :-)
--
Darren New, San Diego CA, USA (PST)
Why is there a chainsaw in DOOM?
There aren't any trees on Mars.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|