Suggestion: New D front page

2011-01-29 Thread Christopher Bergqvist
Hi! I have been putting some free time into creating a "design skeleton" for a new http://d-programming-language.org front page: http://digitalpoetry.se/D%20website/D%20overview%20design.png My main concern is presenting newcomers with an inspiring and rele

Re: Suggestion: New D front page

2011-01-29 Thread bearophile
Christopher Bergqvist: > http://digitalpoetry.se/D%20website/D%20overview%20design.png It's nice and better than the current design. Some suggestions: - "Start downlading." Shorten this with "Download ..." - Edit button on the top right: remove it, and use an edit window, so you are already

Re: Suggestion: New D front page

2011-01-29 Thread Tomek Sowiński
Christopher Bergqvist napisał: > Hi! > > I have been putting some free time into creating a "design skeleton" for a > new http://d-programming-language.org > front > page: > http://digitalpoetry.se/D%20website/D%20overview%20design.png > > My main concern

Re: Suggestion: New D front page

2011-01-29 Thread Bernard Helyer
I like it. D's web presence needs work all-round.

Re: Suggestion: New D front page

2011-01-29 Thread Robert Clipsham
On 29/01/11 12:56, Christopher Bergqvist wrote: Hi! I have been putting some free time into creating a "design skeleton" for a new http://d-programming-language.org front page: http://digitalpoetry.se/D%20website/D%20overview%20design.png My main concern

Re: Suggestion: New D front page

2011-01-29 Thread spir
On 01/29/2011 01:56 PM, Christopher Bergqvist wrote: Hi! I have been putting some free time into creating a "design skeleton" for a new http://d-programming-language.org front page: http://digitalpoetry.se/D%20website/D%20overview%20design.png My main con

Re: Suggestion: New D front page

2011-01-29 Thread David Gileadi
On 1/29/11 5:56 AM, Christopher Bergqvist wrote: Hi! I have been putting some free time into creating a "design skeleton" for a new http://d-programming-language.org front page: http://digitalpoetry.se/D%20website/D%20overview%20design.png My main concer

Re: Suggestion: New D front page

2011-01-29 Thread spir
On 01/29/2011 04:04 PM, David Gileadi wrote: I like it. As the guy responsible for the rather "dark and foreboding" current look and feel of the current d-programming-language.org I'd be happy to work to make this fit the current look and feel as well as alter the look and feel to match this dir

Re: Suggestion: New D front page

2011-01-29 Thread Andrei Alexandrescu
On 1/29/11 9:04 AM, David Gileadi wrote: I'm currently a web dev guy and wouldn't mind contributing time to help develop the necessary code. Andrei or others, if you like this direction could you let us know what web technologies/languages your server supports? I like David's design, but it isn

Re: Suggestion: New D front page

2011-01-29 Thread Russel Winder
On Sat, 2011-01-29 at 08:04 -0700, David Gileadi wrote: [ . . . ] > I like it. As the guy responsible for the rather "dark and foreboding" > current look and feel of the current d-programming-language.org I'd be I think the current page style looks fine, actually I like it and do not consider i

Re: Suggestion: New D front page

2011-01-29 Thread Russel Winder
On Sat, 2011-01-29 at 16:14 +0100, spir wrote: [ . . . ] > I wish you would avoid white backgrounds (hurt eyes). Since probably many are > not fan of light-on-dark, pastel bg colors do the job nicely. (Then, it's a > question of taste... ;-) I absolutely abhor high contrast websites, i.e. ones w

Re: Suggestion: New D front page

2011-01-29 Thread Adam D. Ruppe
> Andrei or others, if you like this > direction could you let us know what web technologies/languages > your server supports? If you have native binary cgi support, it could run D! I started writing this site in D (imo this newsgroup has too much talk and too little action as a general rule). h

Re: Suggestion: New D front page

2011-01-29 Thread Tomek Sowiński
Russel Winder napisał: > I think the current page style looks fine, actually I like it and do not > consider it "dark and foreboding" (*). This is not though a vote for > not changing if there is something that is going to be more appealing to > a wider range of programmers. > > (*) Or maybe I a

Re: Suggestion: New D front page

2011-01-29 Thread Adam D. Ruppe
I wrote: > I started writing this site in D > http://arsdnet.net/d-web-site/ I continued with this a little more, and I'm starting to like it now. I added a relative time thing to the commits, for example, "1 day ago on druntime". This way, a visitor can tell at-a-glance that D is actively develo

Re: Suggestion: New D front page

2011-01-29 Thread bearophile
Adam D. Ruppe, quoting: > > I started writing this site in D > > http://arsdnet.net/d-web-site/ - The vertical alignment of the "D" and "language" are not right. - For the "Compile and run" button a "Run" button is enough, on the right. It may use the ideone API, but it uses an old D2 compiler...

Re: Suggestion: New D front page

2011-01-29 Thread Adam D. Ruppe
bearophile: > - The vertical alignment of the "D" and "language" are not right. hahaha, you sound like the designers I work with. I just spent a minute tweaking, though details like that can easily be changed later. I'm implementing the announcement reader now. I'm tempted to just write a full re

Re: Suggestion: New D front page

2011-01-29 Thread bearophile
Adam D. Ruppe: > hahaha, you sound like the designers I work with. I just spent > a minute tweaking, though details like that can easily be > changed later. You are right, I am silly, sorry. Regarding the Commits section, in this design they are very public, on the front page, so their text need

Re: Suggestion: New D front page

2011-01-29 Thread Andrei Alexandrescu
On 01/29/2011 02:14 PM, Adam D. Ruppe wrote: I wrote: I started writing this site in D http://arsdnet.net/d-web-site/ I continued with this a little more, and I'm starting to like it now. I love how errors propagate from D to HTML, just like from PHP. Here's what I just got: std.excep

Re: Suggestion: New D front page

2011-01-29 Thread Adam D. Ruppe
Andrei Alexandrescu wrote: > I love how errors propagate from D to HTML, just like from PHP. Yeah, a boring Internal Server Error would be hell to figure out what's going on, so it outputs the exception.toString. It can also be hooked to give a styled error screen too! But that's an interesting

Re: Suggestion: New D front page

2011-01-29 Thread Brad Roberts
On 1/29/2011 3:50 PM, Adam D. Ruppe wrote: > Andrei Alexandrescu wrote: >> I love how errors propagate from D to HTML, just like from PHP. > > Yeah, a boring Internal Server Error would be hell to figure > out what's going on, so it outputs the exception.toString. It > can also be hooked to give a

Re: Suggestion: New D front page

2011-01-29 Thread Adam D. Ruppe
Here's a summary of what the code does: The compile and run box in the upper left runs DMD through my build.d program from last week (meaning you have access to whatever modules are in my repository and it demangles output). It also checks for programs outputting CGI protocol headers and forwards

Re: Suggestion: New D front page

2011-01-29 Thread Adam D. Ruppe
Brad Roberts wrote: > Exposing those sorts of errors directly to users is easy and handy > during the early stages, but really ought to just be > in the website logs. Right, that's why you can move it to use only stderr (which Apache automatically logs) with a simple recompile. > For a site with

Re: Suggestion: New D front page

2011-01-29 Thread Brad Roberts
On 1/29/2011 4:11 PM, Adam D. Ruppe wrote: > Brad Roberts wrote: >> Exposing those sorts of errors directly to users is easy and handy >> during the early stages, but really ought to just be >> in the website logs. > > Right, that's why you can move it to use only stderr (which > Apache automatica

Re: Suggestion: New D front page

2011-01-29 Thread Adam D. Ruppe
> Sorry to harp on security issues, but what are you doing to protect > yourself from those compile and run arbitrary code > boxes? It runs a separate process which is suid'd to a single purpose restricted user that only has access to one directory and a number of ulimits in force. So they could i

Re: Suggestion: New D front page

2011-01-29 Thread Adam D. Ruppe
Brad Roberts wrote: > I'd pull the updating out of the user stream into a separate job > so that any delays or networking issues don't impact the user > experience. I moved it to a background process (spawned and killed on demand, simple one line change in the source). I dislike cron jobs since t

Re: Suggestion: New D front page

2011-01-29 Thread Nick Sabalausky
"Russel Winder" wrote in message news:mailman.1036.1296316027.4748.digitalmar...@puremagic.com... > >I absolutely abhor high contrast websites, i.e. ones with white >backgrounds, (take note Google) and navigate away from them as soon as >possible, or even immediately. I much prefer muted medium

Re: Suggestion: New D front page

2011-01-30 Thread Christopher Bergqvist
bearophile: - Thank you for making me aware of skywriter/Ace. I am all for using that as long as it doesn't incur significantly longer load-times for the page. - My opinion is that "D Zen" is something newcomers are interested in reading before delving any further into download & videos. Denis: -

Re: Suggestion: New D front page

2011-01-30 Thread Lutger Blijdestijn
Adam D. Ruppe wrote: >> Sorry to harp on security issues, but what are you doing to protect >> yourself from those compile and run arbitrary code >> boxes? > > It runs a separate process which is suid'd to a single purpose > restricted user that only has access to one directory and a > number of

Re: Suggestion: New D front page

2011-01-30 Thread Adam Ruppe
I have the code runner back up now. I tweaked the ulimits, moved it all to a restricted and firewalled VM, and put it on a separate domain (so if someone abuses the cgi passthrough, they can't really do too much there either) http://arsdnet.net/d-web-site/ Feel free to try to break it with arbitr