Re: New home page

2010-10-11 Thread Stephan Soller

On 10.10.2010 22:42, Nick Sabalausky wrote:

Stephan Sollerstephan.sol...@helionweb.de  wrote in message
news:i8sh5u$2ij...@digitalmars.com...

On 07.10.2010 23:59, Nick Sabalausky wrote:

Stephan Sollerstephan.sol...@helionweb.de   wrote in message
news:i8kmuc$15...@digitalmars.com...

On 07.10.2010 14:56, Nick Sabalausky wrote:

Stephan Sollerstephan.sol...@helionweb.dewrote in message
news:i8k8k9$230...@digitalmars.com...


[1]: http://arkanis.de/



Not to complain, just FYI, this is what that page looks like for me:

http://www.semitwist.com/download/arkanis1.png
http://www.semitwist.com/download/arkanis2.png
http://www.semitwist.com/download/arkanis3.png

Interestingly, if I turn JS on, than it'll look a lot better *until* it
finishes loading, at which point it goes back to looking just like
those
screenshots.



Thanks for the screenshots. May I ask which version of Firefox (if I see
that correctly) your're using


v2.0.0.20

Which actually kinda surprises me because I could have sworn I was on a
much
later version of the 2.x line. I *know* there was a period where it kept
updating itself seemingly all the time (which got quite irritating when I
just wanted to go to a particular URL). But I guess that must have been
the
only 2.x version I was able to find after giving up on FF3. And IIRC, the
built-in update won't let me update to anything less than FF3.

And yea, I know FF2 is really old, but I tried 3.0 and 3.5 and the JS was
only marginally faster, it doesn't seem to fix any of the rendering bugs
I've come across in FF2 (I have 3.5 on my Linux box, just for site
testing),
and every other change they made I hated and downloaded extentions to
undo...until I realized there was no extention to un-unify the unified
forward/back buttons (which I had thought was a good idea when IE7 came
out -- until I actually used IE7), and realized the only winestripe-like
things for FF3 weren't nearly as good as the real winestripe. So I
figured
Why bog it down with even *more* addons just to turn it into a
half-baked
FF2, when I can just use the real FF2? YouTube bitches to me about it,
but
well, fuck YouTube; never liked having over-compressed videos
pre-embedded
into a web-based player anyway.



Maybe you should consider looking into some other browsers? Opera, Chrome
and other Gecko based browsers might give you a better experience that the
newer Firefox versions. This is the reason why there are different
browsers after all.



- Safari is ruled out because it's a blurry mess (all for the sake of making
it look more like the printed version? WTF?) and forces useless background
processes, has zero respect for my system's look-and-feel, and has no
Adblock Plus, NoScript, or BetterPrivacy (Three FF add-ons that
provide functionality that, for me, are absolutely 100% essential).

- IE7+ is out because it has no Adblock Plus, NoScript, or
BetterPrivacy, and I don't like the unified forward/back buttons.

- Iron is out because I *hate* absolutely everything about it's UI, and it
doesn't have NoScript (I've heard it has AdBlock Plus, but I didn't see
it when I first looked so I don't know). Also, configurability seems to be
practically non-existent compared to FF.

- Chrome is out because of all the reasons for which Iron was created in the
first place. I won't even allow Chrome (or Safari) on my computer at all.

- Opera is ruled out because it costs money and every time I tried the demos
it seemed to combine the worst aspects of all the other browsers, plus had
by far the most rendering problems.

- And everything else like IE6-, Netscape, WebTV, Lynx, etc are all ruled
out for obvious reasons.



Adblock Plus, NoScript and BetterPrivacy are a combination that's hard 
to find in other browsers. I suppose you have to do some manual 
configuration to get that done.


Many browsers today compress the UI in order to free more horizontal 
space for the websites. There is an ongoing development towards wider 
displays that shrink in height and the new browser UIs are a logical 
counter development to that. In Opera however it's just the default 
configuration and with a few clicks you can bring every toolbar back 
(and add or remove buttons, etc.). Never found a way to revert that in 
Firefox or Chrome but I haven't searched every about:config option.


Regarding configuration Opera is on pair with Firefox if not even more 
flexible, therefore they don't have extensions.


Opera giving the most rendering bugs is actually a funny story. They had 
the most advanced quirks mode (IE 5 compatibility mode). It changed 
quite a bit in the rendering of websites and was very close to IE 5 (I 
really doubt they had fun programming this). However many developers 
didn't know how to trigger standard compliant mode back then (these 
strange DTDs...) and forced Opera (and IE 6 and Firefox) into quirks 
mode. But since Firefox looked more or less the same in quirks mode 
people of course regarded the Opera and IE rendering as 

Re: D 2.0 Stacktrace

2010-10-11 Thread Benjamin Thaut

Am 10.10.2010 21:31, schrieb Denis Koroskin:

On Wed, 06 Oct 2010 15:50:25 +0400, Benjamin Thaut
c...@benjamin-thaut.de wrote:


I wrote a small piece of sourcecode that generates stacktraces in D
2.0 under
windows. It works both with the pdb and cv debug symbol format. For
Exceptions
that are derived from the Error class the trace information is
automatically
appended, this causes all builtin D errors to get a stacktrace
information.
The only point where this does not work is the Access Vioaltion error,
as it
does not call the stacktrace callback function for some reason.

It is very easy to use, just copy the two files from the zip archive
to your
root source directory and import the stacktrace module inside your
main file.
For more informaiton and the download go to:
http://3d.benjamin-thaut.de

Let me know what you think.

Kind Regards
Benjamin Thaut


I noticed your stacktraces should symbols but no file name/line numbers.

I've sent another Stacktracer implementation to Phobos mailing list
recently that primarily shows file name/line number while manually
parsing .map file for symbolic info and shows none if .map file is
absent. That was being criticized, and I agree with it. It also doesn't
depend on dbghelp.dll and is able to show sane results even when the
said .dll is missing.

I think we could merge our projects, taking advantages from both. What
do you think?


My stackwalker does show filenames and line numbers but you need to 
compile with -g -debug so that there is line/file information in the 
symbols.


If you look at the example stacktrace at 
http://3d.benjamin-thaut.de/?p=15 you can see filenames and line numbers


--
Kind Regards
Benjamin Thaut


Re: New home page

2010-10-11 Thread Nick Sabalausky
Stephan Soller stephan.sol...@helionweb.de wrote in message 
news:i8ufto$17d...@digitalmars.com...

 Adblock Plus, NoScript and BetterPrivacy are a combination that's hard to 
 find in other browsers.

Yup. And that's speaks very poorly for the overall state of web browsers. 
It's amazing that with so many offerings there's none that are actually any 
good.

 Many browsers today compress the UI in order to free more horizontal 
 space for the websites. There is an ongoing development towards wider 
 displays that shrink in height

Which, of course, is an absolutely rediculous trend that's been created 
almost entirely on faulty notions, but that's a whole other rant...

 and the new browser UIs are a logical counter development to that. In 
 Opera however it's just the default configuration and with a few clicks 
 you can bring every toolbar back (and add or remove buttons, etc.). Never 
 found a way to revert that in Firefox or Chrome but I haven't searched 
 every about:config option.

Yea, about:config is truly awful. I consider any setting that's only in 
there to be non-existant (unless I just happend to come across someone 
mentioning a specific one, as was the case with turning off animating images 
and favicons (I turned off favicons only because FF's no animate setting 
doesn't work for favicons)).


 ps.: Opera is free since over 5 years, so you might want to take a look 
 since much has changed since then.


Just gave the latest version a try (turns out the last I tried was 9.x and 
was about three years old, although I know that wasn't the first time I had 
tried it). I haven't spent much time with it yet, but my initial 
impressions:

When it first started, first thing I did was get rid of that awful menu 
button. Then I balked at how incredibly ugly the real menu and tabs are. I 
went to find a way to disable themes, but then discovered that it was 
*already* on the supposed Windows Native Skin, which is quite obviously 
anything but. Looks exactly like GTK to me. There's the tell-tale GTK 
Rediculously Excessive Padding, and the almost-equally tell-tale 
Invisible text for light-on-dark users (black-on-black). And then as if 
that wasn't bad enough, there's this really amateur-ish hover/pressed 
highlight on the top-level menu items, which 1. is obviously non-native 
since native has no hover effect and *I* have my selection color set to 
blue, but this uses white instead, and 2. results in even *more* invisi-text 
(white-on-white).

The tabs don't even try to be tabs at all, just GTK buttons acting like 
tabs. And the menus appear with a fade-in that's clearly *intended* to look 
like the subtle fade-in native stuff uses, except unlike the native apps 
they're jarringly...well, choppy is the only way I can think to describe 
it. And there seems to be some weird drawing-conflict between them and the 
tabs during that fade-in. It looks really really bad, and disabling 
effects doesn't get rid of it.

The whole UI is just a complete amateur job (which is pretty much what I 
remember from every other time I tried it, now that I think of it). Haven't 
tried any actual pages or any sort of AdBlock/NoScript/BetterPrivacy sort of 
functionality yet.





Re: New home page

2010-10-11 Thread Stephan Soller

On 11.10.2010 13:01, Nick Sabalausky wrote:

Stephan Sollerstephan.sol...@helionweb.de  wrote in message
news:i8ufto$17d...@digitalmars.com...


Adblock Plus, NoScript and BetterPrivacy are a combination that's hard to
find in other browsers.


Yup. And that's speaks very poorly for the overall state of web browsers.
It's amazing that with so many offerings there's none that are actually any
good.



Not only browsers but more general the understanding of privacy on the 
Internet among its users.



Many browsers today compress the UI in order to free more horizontal
space for the websites. There is an ongoing development towards wider
displays that shrink in height


Which, of course, is an absolutely rediculous trend that's been created
almost entirely on faulty notions, but that's a whole other rant...



I absolutely agree on that.


and the new browser UIs are a logical counter development to that. In
Opera however it's just the default configuration and with a few clicks
you can bring every toolbar back (and add or remove buttons, etc.). Never
found a way to revert that in Firefox or Chrome but I haven't searched
every about:config option.


Yea, about:config is truly awful. I consider any setting that's only in
there to be non-existant (unless I just happend to come across someone
mentioning a specific one, as was the case with turning off animating images
and favicons (I turned off favicons only because FF's no animate setting
doesn't work for favicons)).



ps.: Opera is free since over 5 years, so you might want to take a look
since much has changed since then.



Just gave the latest version a try (turns out the last I tried was 9.x and
was about three years old, although I know that wasn't the first time I had
tried it). I haven't spent much time with it yet, but my initial
impressions:

When it first started, first thing I did was get rid of that awful menu
button. Then I balked at how incredibly ugly the real menu and tabs are. I
went to find a way to disable themes, but then discovered that it was
*already* on the supposed Windows Native Skin, which is quite obviously
anything but. Looks exactly like GTK to me. There's the tell-tale GTK
Rediculously Excessive Padding, and the almost-equally tell-tale
Invisible text for light-on-dark users (black-on-black). And then as if
that wasn't bad enough, there's this really amateur-ish hover/pressed
highlight on the top-level menu items, which 1. is obviously non-native
since native has no hover effect and *I* have my selection color set to
blue, but this uses white instead, and 2. results in even *more* invisi-text
(white-on-white).

The tabs don't even try to be tabs at all, just GTK buttons acting like
tabs. And the menus appear with a fade-in that's clearly *intended* to look
like the subtle fade-in native stuff uses, except unlike the native apps
they're jarringly...well, choppy is the only way I can think to describe
it. And there seems to be some weird drawing-conflict between them and the
tabs during that fade-in. It looks really really bad, and disabling
effects doesn't get rid of it.

The whole UI is just a complete amateur job (which is pretty much what I
remember from every other time I tried it, now that I think of it). Haven't
tried any actual pages or any sort of AdBlock/NoScript/BetterPrivacy sort of
functionality yet.



Ok, I'll stop recommending browsers then. Maybe you should just grab 
WebKit or Gecko and build your own UI around it. This will also give you 
(almost) all the privacy control you want. ;)


Just to give the Opera guys some credit: technically their UI is pretty 
well done and fast (it's based on Qt and they skipped hardware 
acceleration for this release because it wasn't the bottleneck). The 
default design is a different story but I personally think they hit what 
the masses currently would call a nice design.


Happy programming
Stephan


Re: D 2.0 Stacktrace

2010-10-11 Thread Kagamin
Sean Kelly Wrote:

 Pretty slick.  I've been thinking about generating traces when the throw 
 occurs instead of when the exception is constructed, and this change allows 
 that as well.  I'll add it to the queue.

Then may be we should have Throwable.OnThrow function? One can make a good use 
of it. For example what if I want to do custom logging on throw?


Re: New home page

2010-10-11 Thread Nick Sabalausky
Stephan Soller stephan.sol...@helionweb.de wrote in message 
news:i8v03a$293...@digitalmars.com...

 Maybe you should just grab WebKit or Gecko and build your own UI around 
 it. This will also give you (almost) all the privacy control you want. ;)


Yea, that's been my intent, but who knows when I'll have a chance to get to 
it :/ 




Re: New home page

2010-10-11 Thread Kagamin
Walter Bright Wrote:

 http://www.digitalmars.com
 
 Yes, I should add some color and style sheets, but at the moment I am just 
 trying to get the layout right and make it much simpler to get to what I 
 think 
 are the most useful links.

What is an easy way to get to changelog?


Re: New home page

2010-10-11 Thread Walter Bright

Kagamin wrote:

Walter Bright Wrote:


http://www.digitalmars.com

Yes, I should add some color and style sheets, but at the moment I am just 
trying to get the layout right and make it much simpler to get to what I think 
are the most useful links.


What is an easy way to get to changelog?


[Documentation] = [D Change Log]


Re: New home page

2010-10-11 Thread Walter Bright

Stephan Soller wrote:

here's the link to the presentation of a talk I gave about D1:


http://events.mi.hdm-stuttgart.de/archive/2010-04-13-d-einf%C3%BChrung/der-coole-stoff/Pr%C3%A4sentation%20(HTML).html 


Too good not to share! http://twitter.com/D_Programming