April 23, 2007
BCS wrote:
> Reply to Bill,
> 
>> Walter Bright wrote:
>>
>>> ricky wrote:
>>>
>>>> I downloaded the 1.013 release but when i execute dmd.exe on a winxp
>>>> commandline shell, it says it's version 1.010. Or am I missing
>>>> something?
>>>>
>>> Use this download link:
>>>
>>> http://ftp.digitalmars.com/dmd.1.013.zip
>>>
>> This is Reason Number 1 why the handy dmd.zip link is a bad idea.
>>
>> <quote voice="Forrest Gump">
>> My momma always said, "dmd.zip was like a box of chocolates. You
>> never know what you're gonna get."
>> </quote>
>>
>> --bb
>>
> 
> I think that dmd.zip == dmd.1.010.zip is not a mistake. the idea is that dmd.zip is a "last stable version" link.

I know it's deliberate.  I'm just saying it's not such a great idea because you end up not being sure which version(s) of DMD you have.  You have to unpack the zip and run dmd to actually see which you got. Hence, a lot like a box of chocolates.

--bb
April 23, 2007
BCS a écrit :
> Reply to Bill,
> 
>> Walter Bright wrote:
>>
>>> ricky wrote:
>>>
>>>> I downloaded the 1.013 release but when i execute dmd.exe on a winxp
>>>> commandline shell, it says it's version 1.010. Or am I missing
>>>> something?
>>>>
>>> Use this download link:
>>>
>>> http://ftp.digitalmars.com/dmd.1.013.zip
>>>
>> This is Reason Number 1 why the handy dmd.zip link is a bad idea.
>>
>> <quote voice="Forrest Gump">
>> My momma always said, "dmd.zip was like a box of chocolates. You
>> never know what you're gonna get."
>> </quote>
>>
>> --bb
>>
> 
> I think that dmd.zip == dmd.1.010.zip is not a mistake. the idea is that dmd.zip is a "last stable version" link.

Then it should be named as such dmd_stable.zip or something like that.

I agree that the dmd.zip is not a good idea.

renoX

April 24, 2007
renoX wrote:
> BCS a écrit :
>> Reply to Bill,
>>
>>> Walter Bright wrote:
>>>
>>>> ricky wrote:
>>>>
>>>>> I downloaded the 1.013 release but when i execute dmd.exe on a winxp
>>>>> commandline shell, it says it's version 1.010. Or am I missing
>>>>> something?
>>>>>
>>>> Use this download link:
>>>>
>>>> http://ftp.digitalmars.com/dmd.1.013.zip
>>>>
>>> This is Reason Number 1 why the handy dmd.zip link is a bad idea.
>>>
>>> <quote voice="Forrest Gump">
>>> My momma always said, "dmd.zip was like a box of chocolates. You
>>> never know what you're gonna get."
>>> </quote>
>>>
>>> --bb
>>>
>>
>> I think that dmd.zip == dmd.1.010.zip is not a mistake. the idea is that dmd.zip is a "last stable version" link.
> 
> Then it should be named as such dmd_stable.zip or something like that.
> 
> I agree that the dmd.zip is not a good idea.

That's not so useful either.  I've got a dmd_stable.zip sitting on my HD or file server that I downloaded a while ago.  I don't remember when. So is it the latest stable version or not?  The only way to know is to unzip it to a temp location, see what's inside.

Why not just make the link for dmd stable on the changelog directly point to dmd.1.010.zip, instead of a symlink to it?  Why deliberately throw away useful information?

--bb
April 24, 2007
Reply to Bill,
> 
> Why not just make the link for dmd stable on the changelog directly
> point to dmd.1.010.zip, instead of a symlink to it?  Why deliberately
> throw away useful information?
> 
> --bb
> 

you can automate things that way.

wget http://ftp.digitalmars.com/dmd.zip


April 24, 2007
BCS wrote:
> Reply to Bill,
>>
>> Why not just make the link for dmd stable on the changelog directly
>> point to dmd.1.010.zip, instead of a symlink to it?  Why deliberately
>> throw away useful information?
>>
>> --bb
>>
> 
> you can automate things that way.
> 
> wget http://ftp.digitalmars.com/dmd.zip

I'm talking about a link on a web page.  If you're looking at the web page then presumably you are a human and not an automaton. :-)

The existence of a symlink is fine and dandy.  Just it shouldn't be main hyperlink for stable dmd on the web page.

--bb
April 24, 2007
Well, the link text could be something like "stable DMD version"
and still point to a file like, e.g., dmd-1.010.zip....

Rgeards, Frank

April 24, 2007
0ffh wrote:
> 
> Well, the link text could be something like "stable DMD version"
> and still point to a file like, e.g., dmd-1.010.zip....
> 
> Rgeards, Frank

Exactly.  The page now reads:

  Download latest stable (1.010) <a href="dmd.zip">D compiler<A> for Win32 and x86 linux

It should instead be:

  Download latest stable (1.010) <a href="dmd.1.010.zip">D compiler<A> for Win32 and x86 linux

--bb
April 24, 2007
0ffh wrote:
> 
> Well, the link text could be something like "stable DMD version" and still point to a file like, e.g., dmd-1.010.zip....
> 
> Rgeards, Frank
> 

A compromise:

dmd-stable.zip -> dmd.1.010.zip
dmd-stable.1.010.zip -> dmd.1.010.zip
dmd-unstable.zip or dmd.zip -> dmd.1.013.zip

The versions with numbers for humans, the other two for the automata.
Then the download/changelog web page could point to the latest file
(with version number) of both "branches". Symlinking doesn't cost anything.
1 2 3 4
Next ›   Last »