POV-Ray : Newsgroups : povray.off-topic : An annoying thing in Windows (which mostly doesn't happen in Linux) Server Time
9 Oct 2024 00:22:46 EDT (-0400)
  An annoying thing in Windows (which mostly doesn't happen in Linux) (Message 49 to 58 of 78)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: clipka
Subject: Re: An annoying thing in Windows (which mostly doesn't happen inLinux)
Date: 20 Sep 2009 19:03:19
Message: <4ab6b4b7$1@news.povray.org>
Orchid XP v8 schrieb:
> 
> Weirdly, most software you compile from scratch has an uncanny ability 
> to figure out what libraries are installed, no matter whether you're 
> using RPM or DEB or EMERGE or...

Have you ever had a look how that actually works?

Just look at the "configure" script for POV-Ray for an example.

That script actually goes ahead and generates source code for tiny test 
programs, and checks if they compile, link and run. For instance, if the 
script manages to compile and run a program that tries to call 
png_access_version_number(), it knows that libpng is there - and also 
what version number it is.

Of course the script first verifies that the shell is compatible with 
the command syntax used in the script, goes on to find out what compiler 
to use, and so on...


Post a reply to this message

From: Darren New
Subject: Re: An annoying thing in Windows (which mostly doesn't happen inLinux)
Date: 20 Sep 2009 20:14:39
Message: <4ab6c56f@news.povray.org>
clipka wrote:
> Yes, but I *can* roll my own installer to do it.

And you can in Debian too, at least. It's just annoying to have to do it, 
but that's what you get when you are compiling source. Basically, you make 
up a fake package description and say "here, I just installed this."

> And it's standardized. It's not like I'd need to make an installer for 
> Debian, another for Ubuntu, yet another for what-have-you-not...

Nah. One for XP, one for Vista, one for Win7... ;-)

-- 
   Darren New, San Diego CA, USA (PST)
   I ordered stamps from Zazzle that read "Place Stamp Here".


Post a reply to this message

From: Darren New
Subject: Re: An annoying thing in Windows (which mostly doesn't happen inLinux)
Date: 20 Sep 2009 20:15:41
Message: <4ab6c5ad$1@news.povray.org>
clipka wrote:
> Of course the script first verifies that the shell is compatible with 
> the command syntax used in the script, goes on to find out what compiler 
> to use, and so on...

Yes, it's one of those lovely systems where you write code to describe the 
code that describes the code that gets compiled, because otherwise it's just 
too much a PITA.

-- 
   Darren New, San Diego CA, USA (PST)
   I ordered stamps from Zazzle that read "Place Stamp Here".


Post a reply to this message

From: clipka
Subject: Re: An annoying thing in Windows (which mostly doesn't happen inLinux)
Date: 20 Sep 2009 21:02:40
Message: <4ab6d0b0$1@news.povray.org>
Darren New schrieb:
> Yes, it's one of those lovely systems where you write code to describe 
> the code that describes the code that gets compiled, because otherwise 
> it's just too much a PITA.

Yup.

So much for portability :-P


Post a reply to this message

From: Darren New
Subject: Re: An annoying thing in Windows (which mostly doesn't happen inLinux)
Date: 20 Sep 2009 22:16:56
Message: <4ab6e218@news.povray.org>
clipka wrote:
> So much for portability :-P

C isn't portable. C just lets you put several versions of the source code 
into the same file. :-)

-- 
   Darren New, San Diego CA, USA (PST)
   I ordered stamps from Zazzle that read "Place Stamp Here".


Post a reply to this message

From: scott
Subject: Re: An annoying thing in Windows (which mostly doesn't happen in Linux)
Date: 21 Sep 2009 03:26:29
Message: <4ab72aa5$1@news.povray.org>
>  Something like a half year ago I had 10 GB of free space in my C: drive.
> Today I had less than 4 GB,

I think the moral of the story is that nowadays you can't really survive 
with only 4GB or 10GB of free space on the C drive without performing 
regular clean-ups.  I guess most developers assume way bigger hard drive 
space so don't care about leaving around odd MBs here and there.

OOC why such a small C partition?  HDs are really cheap, I don't think you 
can even buy anything under 120GB now.


Post a reply to this message

From: clipka
Subject: Re: An annoying thing in Windows (which mostly doesn't happen inLinux)
Date: 21 Sep 2009 07:58:36
Message: <4ab76a6c$1@news.povray.org>
Darren New schrieb:

> C isn't portable. C just lets you put several versions of the source 
> code into the same file. :-)

Yeah, I guess that's a fitting description :-)


Post a reply to this message

From: Warp
Subject: Re: An annoying thing in Windows (which mostly doesn't happen in Linux)
Date: 21 Sep 2009 11:54:10
Message: <4ab7a1a2@news.povray.org>
scott <sco### [at] scottcom> wrote:
> OOC why such a small C partition?  HDs are really cheap, I don't think you 
> can even buy anything under 120GB now.

  Even if a 100 TB disk was free, I am still not eager to reinstall Windows.

-- 
                                                          - Warp


Post a reply to this message

From: Darren New
Subject: Re: An annoying thing in Windows (which mostly doesn't happen in Linux)
Date: 21 Sep 2009 14:19:49
Message: <4ab7c3c5@news.povray.org>
Warp wrote:
> scott <sco### [at] scottcom> wrote:
>> OOC why such a small C partition?  HDs are really cheap, I don't think you 
>> can even buy anything under 120GB now.
> 
>   Even if a 100 TB disk was free, I am still not eager to reinstall Windows.

Depending on the version of Windows, you could get a new disk and just move 
the partitions over, one way or another.  It's really no harder than 
recovering from a HD crash.  Let me know if you are interested.

-- 
   Darren New, San Diego CA, USA (PST)
   I ordered stamps from Zazzle that read "Place Stamp Here".


Post a reply to this message

From: Patrick Elliott
Subject: Re: An annoying thing in Windows (which mostly doesn't happen in Linux)
Date: 21 Sep 2009 18:06:41
Message: <4ab7f8f1@news.povray.org>
scott wrote:
>>  Something like a half year ago I had 10 GB of free space in my C: drive.
>> Today I had less than 4 GB,
> 
> I think the moral of the story is that nowadays you can't really survive 
> with only 4GB or 10GB of free space on the C drive without performing 
> regular clean-ups.  I guess most developers assume way bigger hard drive 
> space so don't care about leaving around odd MBs here and there.
> 
> OOC why such a small C partition?  HDs are really cheap, I don't think 
> you can even buy anything under 120GB now.
> 
> 
Older versions of Windows, prior to XP, you could do it, since a) 
settings didn't get saved into c:\documents and settings\, and neither 
did documents. I don't think there is any *obvious* way to move 
settings, and if you did, you would break things that assume they will 
be in the same place, instead of checking the current path for it, and 
while you can move the documents, **I know** personally that this breaks 
some applications which expect the document path to remain the same, 
after detecting they are in XP or higher.

What this means in practice is, you can't **clean up** anything, because 
any programs that store settings outside the registry, or anything else 
they need, will end up on C, even if you install them on Q, or 
something. The more things you have installed, the more caches, 
settings, data, etc. get shoved into C anyway, and the less and less 
room you have for anything else. So, under XP, if you don't do it the 
stupid way, which is, "Install everything in the same massive 
partition", you eventually run out of room, and not just because half 
the shit, including MS' own patches/installers are often too stupid to 
clean up after themselves either, never mind anyone else's.

-- 
void main () {

     if version = "Vista" {
       call slow_by_half();
       call DRM_everything();
     }
     call functional_code();
   }
   else
     call crash_windows();
}

<A HREF='http://www.daz3d.com/index.php?refid=16130551'>Get 3D Models, 
3D Content, and 3D Software at DAZ3D!</A>


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.