Re: dmd 1.061 and 2.046 release

2010-05-17 Thread Nathan Tuggy

On 2010-05-16 21:47, Nick Sabalausky wrote:

Walter Brightnewshou...@digitalmars.com  wrote in message
news:hsqhhg$fm...@digitalmars.com...

Nick Sabalausky wrote:

I recently completed a revamp of the digitalmars site that got rid of
the table based layout in favor of using floating CSS layout. The result
looks a bit nicer, and the printing should be much better.



Speaking as a web developer, I've found that floating CSS is irritatingly
gimped compared to tables when trying to adjust how things flow upon
resizing. (Speaker as a web user, I've never cared one bit whether a site
used floating CSS vs tables.)


Doing them as floating CSS makes it possible to nodisplay the navigation
sections when formatting for print.



Ahh, good point.


The whole HTML/CSS design is such a horrific kludge it's a wonder it works
at all.


That's exactly how I feel about 99% of internet technologies (including
HTML/CSS, of course). And they're all horrific kludges *on top* of horrific
kludges - I almost wish I never learned how ethernet, *ahem*...works. It's
a wonder I have any sanity left.



There's this idea called Worse is Better, which you've no doubt heard 
of... sometimes when I am feeling gloomy I agree with it wholeheartedly. ;-)


--
~ Due to cutbacks, the light at the end of the tunnel is temporarily out 
of service. ~ http://tagzilla.mozdev.org v0.066


Re: dmd 1.061 and 2.046 release

2010-05-17 Thread bearophile
linux user:
Zip supports the executable flag but for some reason the compiler has negative 
attitude towards Linux users. Maybe it's supposed to boost the sales of the 
Windows port?

The situation is different. It's for LLVM and GCC that Windows users look like 
third-class citizens. What you are seeing is just DMD being a bit more fair.

Bye,
bearophile


Re: dmd 1.061 and 2.046 release

2010-05-17 Thread bearophile
But it seems true that the Linux version of dmd has come after the Windows 
one... So the situation is not perfectly balanced.

Bye,
bearophile


Re: dmd 1.061 and 2.046 release

2010-05-17 Thread Bernard Helyer

On 17/05/10 15:16, linux user wrote:
 for some reason the compiler has negative attitude towards Linux

Maybe it's supposed to boost the sales of the Windows port?


hahahahahahahahahahahahahahahahahahahahahahahah

*gasp*

hahahahahahahahahahahahahahahahahahahahahahahaahahahahah


As bearophile says, the experience we get with DMD on Linux is by _far_ 
the best out of {Windows,Mac,Linux}.


Re: dmd 1.061 and 2.046 release

2010-05-17 Thread Andrej Mitrovic
Charles Hixson Wrote:

 The D web pages are a marvel of clarity and utility.  Compare them to 
 the Python web pages, which I rate a second best.  
OT:

The funny thing about the Python website, is that I never managed to find a 
direct link to the package repo (pypi) from the main site.

And yet if I google PyPI, and follow a link to pypi.python.org, a Package Index 
tab suddenly appears on the top left. If I click on another tab, it dissapears 
again. Needlessly inconsistent imo. (+ how are newbies supossed to find the 
libraries if they're not linked from the main site?)


Re: dmd 1.061 and 2.046 release

2010-05-17 Thread Walter Bright

Steven Schveighoffer wrote:
On Mon, 17 May 2010 13:29:19 -0400, Andrej Mitrovic 
andrej.mitrov...@gmail.com wrote:



Charles Hixson Wrote:


The D web pages are a marvel of clarity and utility.  Compare them to
the Python web pages, which I rate a second best.

OT:

The funny thing about the Python website, is that I never managed to 
find a direct link to the package repo (pypi) from the main site.


And yet if I google PyPI, and follow a link to pypi.python.org, a 
Package Index tab suddenly appears on the top left. If I click on 
another tab, it dissapears again. Needlessly inconsistent imo. (+ how 
are newbies supossed to find the libraries if they're not linked from 
the main site?)


The D website's navigation bar suffers the same problems.


 I cannot reproduce such bad behavior.


Re: dmd 1.061 and 2.046 release

2010-05-17 Thread Nick Sabalausky
bearophile bearophileh...@lycos.com wrote in message 
news:hsqv52$18c...@digitalmars.com...
 linux user:
Zip supports the executable flag but for some reason the compiler has 
negative attitude towards Linux users. Maybe it's supposed to boost the 
sales of the Windows port?

 The situation is different. It's for LLVM and GCC that Windows users look 
 like third-class citizens. What you are seeing is just DMD being a bit 
 more fair.


I'm of the firm optinion that any app that requires MSYS or MinGW to work on 
Windows is no more cross-platform than an app that requires Wine to run on 
Linux. Less so, in fact, since MSYS and MinGW are a royal f**^% pain in 
the ass, and Wine isn't (not to the same degree, anyway).

And then with LLVM, it goes another step further what with Windows 
exceptions continuing to be ignored. paranoia and fudWell, it *is* backed 
by Apple.../paranoia and fud




Re: dmd 1.061 and 2.046 release

2010-05-17 Thread Nick Sabalausky
linux user nos...@for.me wrote in message 
news:hsqcdg$4c...@digitalmars.com...

 Maybe it's supposed to boost the sales of the Windows port?


...sales?
...of DMD?
...???




Re: dmd 1.061 and 2.046 release

2010-05-17 Thread Steven Schveighoffer
On Mon, 17 May 2010 14:08:05 -0400, Walter Bright  
newshou...@digitalmars.com wrote:



Steven Schveighoffer wrote:
On Mon, 17 May 2010 13:29:19 -0400, Andrej Mitrovic  
andrej.mitrov...@gmail.com wrote:



Charles Hixson Wrote:


The D web pages are a marvel of clarity and utility.  Compare them to
the Python web pages, which I rate a second best.

OT:

The funny thing about the Python website, is that I never managed to  
find a direct link to the package repo (pypi) from the main site.


And yet if I google PyPI, and follow a link to pypi.python.org, a  
Package Index tab suddenly appears on the top left. If I click on  
another tab, it dissapears again. Needlessly inconsistent imo. (+ how  
are newbies supossed to find the libraries if they're not linked from  
the main site?)

 The D website's navigation bar suffers the same problems.


 I cannot reproduce such bad behavior.


I meant that the bar is not consistent, clicking on different items makes  
the bar change inexcusibly.


For example, from the page http://www.digitalmars.com/d/2.0/index.html,  
click on All Forums and see the bar change completely.  The bar should  
remain consistent throughout the section.


There are other cases, like click on 'const and immutable' from this page:  
http://www.digitalmars.com/d/2.0/lex.html


The end result is, sometimes I can't find a link I clicked on before,  
because I'm no longer on the exact right page -- the nav bar is totally  
dependent on the current page!


-Steve


Re: dmd 1.061 and 2.046 release

2010-05-17 Thread Jérôme M. Berger
Andrej Mitrovic wrote:
 Charles Hixson Wrote:
 
 The D web pages are a marvel of clarity and utility.  Compare them to 
 the Python web pages, which I rate a second best.  
 OT:
 
 The funny thing about the Python website, is that I never managed to find a 
 direct link to the package repo (pypi) from the main site.
 
There's a Package Index line in the left-hand menu on
http://python.org/ that links to http://pypi.python.org/pypi

Jerome
-- 
mailto:jeber...@free.fr
http://jeberger.free.fr
Jabber: jeber...@jabber.fr



signature.asc
Description: OpenPGP digital signature


Re: dmd 1.061 and 2.046 release

2010-05-17 Thread Walter Bright

Steven Schveighoffer wrote:
The end result is, sometimes I can't find a link I clicked on before, 
because I'm no longer on the exact right page -- the nav bar is totally 
dependent on the current page!


I agree, the nav bar changes from page to page. Not sure that's a problem, 
though.


Re: dmd 1.061 and 2.046 release

2010-05-17 Thread Andrej Mitrovic
Jérôme M. Berger Wrote:

 Andrej Mitrovic wrote:
  Charles Hixson Wrote:
  
  The D web pages are a marvel of clarity and utility.  Compare them to 
  the Python web pages, which I rate a second best.  
  OT:
  
  The funny thing about the Python website, is that I never managed to find a 
  direct link to the package repo (pypi) from the main site.
  
   There's a Package Index line in the left-hand menu on
 http://python.org/ that links to http://pypi.python.org/pypi
 
   Jerome
 -- 
 mailto:jeber...@free.fr
 http://jeberger.free.fr
 Jabber: jeber...@jabber.fr
 
 

I've no idea how I missed that. Still, I wish they added a button on the left, 
it's much easier to notice.



Re: dmd 1.061 and 2.046 release

2010-05-17 Thread Simen kjaeraas

Robert Jacques sandf...@jhu.edu wrote:

On Mon, 17 May 2010 21:03:02 -0400, Steven Schveighoffer  
schvei...@yahoo.com wrote:



Walter Bright Wrote:


Steven Schveighoffer wrote:
 The end result is, sometimes I can't find a link I clicked on before,
 because I'm no longer on the exact right page -- the nav bar is  
totally

 dependent on the current page!

I agree, the nav bar changes from page to page. Not sure that's a  
problem, though.


In theory it's not, but when links just mysteriously disappear even  
though other links in the same group remain, it doesn't make any sense.


Yes, I agree that the nav bar should change to reflect the section you  
are in, but that's not what I'm talking about.  It's trying to play  
mind tricks on me :)


-Steve


I find the biggest problem with the website is the Phobos documentation  
menu. For example, core.memory is listed as std.gc. And some modules  
aren't listed at all (like std.perf).


There is also the issue of the Phobos documentation not having the
updated top box. D 2.0 Home is labeled D, Library Reference is
Phobos, etc.

Once you've gotten to the library documentation, it being labeled
Phobos is not that important, though.

--
Simen


Re: dmd 1.061 and 2.046 release

2010-05-17 Thread Nick Sabalausky
Simen kjaeraas simen.kja...@gmail.com wrote in message 
news:op.vcvnwvmkvxi...@biotronic-pc.home...

 There is also the issue of the Phobos documentation not having the
 updated top box. D 2.0 Home is labeled D, Library Reference is
 Phobos, etc.

 Once you've gotten to the library documentation, it being labeled
 Phobos is not that important, though.


As long as we're on the topic of minor issues on the digital mars site, 
there seems to be a stray '' floating around in the header of the D1 
Language Reference pages (also D1 Home and D1 Comparisons).