Re: D forums now live!

2012-02-15 Thread Jacob Carlborg
On 2012-02-15 22:34, Nick Sabalausky wrote: "Ludovic Silvestre" wrote in message news:lgmfvnqiiwxuctpgq...@dfeed.kimsufi.thecybershadow.net... In any case, this is one of the reasons I hate the modern web. On the user's side, content and view have become completely married together. That's a *

Re: dmd 1.073 and 2.058 release

2012-02-15 Thread Caligo
On Wed, Feb 15, 2012 at 2:26 AM, Jonathan M Davis wrote: > On Tuesday, February 14, 2012 23:38:33 Bill Baxter wrote: >> > On Tuesday, February 14, 2012 20:47:27 Walter Bright wrote: >> > * Allow 1.userproperty syntax >> >> Where is this odd-sounding beast documented? >> >> And what is UFCS? > > Un

Re: dmd 1.073 and 2.058 release

2012-02-15 Thread Jonathan M Davis
On Wednesday, February 15, 2012 23:52:54 Timon Gehr wrote: > On 02/15/2012 01:45 PM, Andrej Mitrovic wrote: > > On 2/15/12, Jonathan M Davis wrote: > >> @property auto prop(int value) { ... } > >> auto value = 7.prop; > >> > >> So, > >> I have no idea what exactly has been implemented for that one

Re: dmd 1.073 and 2.058 release

2012-02-15 Thread Timon Gehr
On 02/15/2012 01:45 PM, Andrej Mitrovic wrote: On 2/15/12, Jonathan M Davis wrote: @property auto prop(int value) { ... } auto value = 7.prop; So, I have no idea what exactly has been implemented for that one line in the changelog - hence my question. That doesn't seem to work. So does anyon

Re: dmd 1.073 and 2.058 release

2012-02-15 Thread Ali Çehreli
On 02/15/2012 07:49 AM, bearophile wrote: Andrej Mitrovic: That doesn't seem to work. So does anyone know what exactly is implemented? I don't know. See: https://github.com/D-Programming-Language/dmd/pull/582 Bye, bearophile Is UFCS DOA? Here is my experiment: struct S {} @property int f

Re: D forums now live!

2012-02-15 Thread Nick Sabalausky
"Walter Bright" wrote in message news:jhh0dg$1ah0$1...@digitalmars.com... > On 2/15/2012 2:55 AM, Vladimir Panteleev wrote: >> That's a tough one... This behavior is part of an effort to make the >> interface >> look good on any screen size. This doesn't include just PCs, but also >> mobile >>

Re: D forums now live!

2012-02-15 Thread Nick Sabalausky
"Ludovic Silvestre" wrote in message news:lgmfvnqiiwxuctpgq...@dfeed.kimsufi.thecybershadow.net... >> >> In any case, this is one of the reasons I hate the modern web. On the >> user's side, content and view have become completely married together. >> That's a *huge* step backwards. Thanks to a

Re: D forums now live!

2012-02-15 Thread Jacob Carlborg
On 2012-02-15 20:08, Nick Sabalausky wrote: "Jacob Carlborg" wrote in message news:jhgu3t$15th$1...@digitalmars.com... This site is a great example of a design that reflows when resizing the window: http://upperdog.se/ . It works great on both desktop browsers and mobile devices. Heh, leave

Re: D forums now live!

2012-02-15 Thread torhu
On 15.02.2012 11:55, Vladimir Panteleev wrote: On Wednesday, 15 February 2012 at 00:33:29 UTC, torhu wrote: Nice! One suggestion for improvement: don't change the font size based on the browser window size. I'm not a web programmer, but I'm sure someone here can suggest a better way of set

Re: D forums now live!

2012-02-15 Thread Vladimir Panteleev
On Wednesday, 15 February 2012 at 20:43:57 UTC, Sean Kelly wrote: On Feb 14, 2012, at 2:00 PM, Walter Bright wrote: http://forum.dlang.org/ This should replace the old miserable web interface to the forums. Thanks to Vladimir Panteleev for an awesome job writing this! Nice work! The only

Re: D forums now live!

2012-02-15 Thread Vladimir Panteleev
On Wednesday, 15 February 2012 at 19:53:48 UTC, Adam D. Ruppe wrote: One thing that can be done instead, is to move said panel at the top of the post (like you can see in the threaded / horizontal-split views). This can't be done with just CSS without also duplicating the HTML, though. You sh

Re: D forums now live!

2012-02-15 Thread Sean Kelly
On Feb 14, 2012, at 2:00 PM, Walter Bright wrote: > http://forum.dlang.org/ > > This should replace the old miserable web interface to the forums. > > Thanks to Vladimir Panteleev for an awesome job writing this! Nice work! The only thing I see as an immediate barrier for my regular use is th

Re: D forums now live!

2012-02-15 Thread Ludovic Silvestre
On Wednesday, 15 February 2012 at 15:59:48 UTC, Nick Sabalausky wrote: That's not good (and I don't mean because of the JS - it's always possible to have non-JS fallback). This is a classic case of narrowly optimizing for one specific metric (ie, getting a consistent words-per-line) instead of

Re: D forums now live!

2012-02-15 Thread Adam D. Ruppe
One thing that can be done instead, is to move said panel at the top of the post (like you can see in the threaded / horizontal-split views). This can't be done with just CSS without also duplicating the HTML, though. You shouldn't have used tables... this would be pretty easy without them. It

Re: D forums now live!

2012-02-15 Thread Vladimir Panteleev
On Wednesday, 15 February 2012 at 18:47:08 UTC, Jacob Carlborg wrote: On 2012-02-14 23:00, Walter Bright wrote: http://forum.dlang.org/ This should replace the old miserable web interface to the forums. Thanks to Vladimir Panteleev for an awesome job writing this! I got another idea. When

Re: D forums now live!

2012-02-15 Thread Walter Bright
On 2/15/2012 2:55 AM, Vladimir Panteleev wrote: That's a tough one... This behavior is part of an effort to make the interface look good on any screen size. This doesn't include just PCs, but also mobile devices. Working well on mobile devices is essential. I was pleased to find that dfeed wor

Re: D forums now live!

2012-02-15 Thread Nick Sabalausky
"Jacob Carlborg" wrote in message news:jhgu3t$15th$1...@digitalmars.com... > > This site is a great example of a design that reflows when resizing the > window: http://upperdog.se/ . It works great on both desktop browsers and > mobile devices. > Heh, leave it to me to come up with this: http

Re: dmd 1.073 and 2.058 release

2012-02-15 Thread Robert McGinley
More @Andrei Does anyone keep an updated version of "The D Programming Language" as changes are made? I don't know what your publishing agreement was like but could you keep the text of the book in say github. On Feb 14, 2012, at 11:47 PM, Walter Bright wrote: > Anyone care to count up the

Re: D forums now live!

2012-02-15 Thread Jacob Carlborg
On 2012-02-14 23:00, Walter Bright wrote: http://forum.dlang.org/ This should replace the old miserable web interface to the forums. Thanks to Vladimir Panteleev for an awesome job writing this! I got another idea. When shrinking the window you're removing the menu to the left. It might also

Re: D forums now live!

2012-02-15 Thread Jacob Carlborg
On 2012-02-15 18:16, Vladimir Panteleev wrote: On Wednesday, 15 February 2012 at 15:19:59 UTC, Jacob Carlborg wrote: I'm wary of magical characters because they may end up in text copied by the user. For example, what if someone posts a code sample that contains a long string of alphanumerics?

Re: D forums now live!

2012-02-15 Thread Jacob Carlborg
On 2012-02-15 16:57, Nick Sabalausky wrote: "Ludovic Silvestre" wrote in message news:yuepxdfcgjebpkkhj...@dfeed.kimsufi.thecybershadow.net... I was wondering why the text seemed to be a completely different size on different browsers! First of all, I recommend to use % for the body's font

Re: D forums now live!

2012-02-15 Thread Vladimir Panteleev
On Wednesday, 15 February 2012 at 15:59:48 UTC, Nick Sabalausky wrote: First of all, shrinking the window *should* re-flow the text, not cause it to be too small to read. A shorter line length is *much* better than tiny text. The problem is that a lot of mail and news software prewrap message

Re: D forums now live!

2012-02-15 Thread Vladimir Panteleev
On Wednesday, 15 February 2012 at 15:19:59 UTC, Jacob Carlborg wrote: I'm wary of magical characters because they may end up in text copied by the user. For example, what if someone posts a code sample that contains a long string of alphanumerics? It depends on where you paste it. Copying a st

Mono-D 0.2.9

2012-02-15 Thread alex
Changelog: - New policy option which toggles insertion of a * or + if in a comment block was pressed. - New policy option which toggles treating files' standard headers as raw text / code which shall be commented out - Internal parser refactoring - Made parser dmd v2.058 ready - Completion o

Re: D forums now live!

2012-02-15 Thread Nick Sabalausky
"Steven Schveighoffer" wrote in message news:op.v9qbmosueav7ka@localhost.localdomain... > > No, I didn't mean that. But NNTP is not a forum. Note that on other > pages (notably forum.dlang.org), the "Forums" link goes to forum.dlang.org > > I think the right solution is to create a new page fo

Re: D forums now live!

2012-02-15 Thread Steven Schveighoffer
On Wed, 15 Feb 2012 11:09:17 -0500, Nick Sabalausky wrote: "Steven Schveighoffer" wrote in message news:op.v9p5j6jaeav7ka@localhost.localdomain... On Tue, 14 Feb 2012 17:00:05 -0500, Walter Bright wrote: http://forum.dlang.org/ This should replace the old miserable web interface to the fo

Re: dmd 1.073 and 2.058 release

2012-02-15 Thread Robert Clipsham
On 15/02/2012 04:47, Walter Bright wrote: Anyone care to count up the number of bug fixes here? http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.073.zip http://www.digitalmars.com/d/2.0/changelog.html https://github.com/downloads/D-Programming-Language/dmd/dmd.2.

Re: D forums now live!

2012-02-15 Thread Nick Sabalausky
"Nick Sabalausky" wrote in message news:jhgleu$f1n$1...@digitalmars.com... > > ...This is just for people who'd rather use a web interface... > Fixed.

Re: D forums now live!

2012-02-15 Thread Nick Sabalausky
"Steven Schveighoffer" wrote in message news:op.v9p5j6jaeav7ka@localhost.localdomain... > On Tue, 14 Feb 2012 17:00:05 -0500, Walter Bright > wrote: > >> http://forum.dlang.org/ >> >> This should replace the old miserable web interface to the forums. >> >> Thanks to Vladimir Panteleev for an aw

Re: D forums now live!

2012-02-15 Thread Nick Sabalausky
"Vladimir Panteleev" wrote in message news:bxpaxijwipktuqxzb...@dfeed.kimsufi.thecybershadow.net... > On Wednesday, 15 February 2012 at 02:11:45 UTC, Nick Sabalausky wrote: >> One issue I noticed though is that newlines don't seem to work: >> >> http://www.semitwist.com/download/img/shots/dforum.

Re: D forums now live!

2012-02-15 Thread Nick Sabalausky
"Ludovic Silvestre" wrote in message news:yuepxdfcgjebpkkhj...@dfeed.kimsufi.thecybershadow.net... > I was wondering why the text seemed to be a completely different size on different browsers! > First of all, I recommend to use % for the body's font-size (which you are > already using) and t

Re: dmd 1.073 and 2.058 release

2012-02-15 Thread bearophile
Andrej Mitrovic: > That doesn't seem to work. So does anyone know what exactly is implemented? I don't know. See: https://github.com/D-Programming-Language/dmd/pull/582 Bye, bearophile

Re: D forums now live!

2012-02-15 Thread Jacob Carlborg
On 2012-02-15 15:06, Vladimir Panteleev wrote: On Wednesday, 15 February 2012 at 12:44:22 UTC, Jacob Carlborg wrote: I really like this behavior but noted a couple of things. Take this for example: http://imageshack.us/f/140/dfeediphone.png/ This is an image from the iPhone simulator. As you c

Re: D forums now live!

2012-02-15 Thread Sönke Ludwig
Am 15.02.2012 15:52, schrieb Sönke Ludwig: Am 15.02.2012 11:55, schrieb Vladimir Panteleev: On Wednesday, 15 February 2012 at 00:33:29 UTC, torhu wrote: On 14.02.2012 23:00, Walter Bright wrote: http://forum.dlang.org/ This should replace the old miserable web interface to the forums. Thanks

Re: D forums now live!

2012-02-15 Thread Sönke Ludwig
Am 15.02.2012 11:55, schrieb Vladimir Panteleev: On Wednesday, 15 February 2012 at 00:33:29 UTC, torhu wrote: On 14.02.2012 23:00, Walter Bright wrote: http://forum.dlang.org/ This should replace the old miserable web interface to the forums. Thanks to Vladimir Panteleev for an awesome job wr

Re: D forums now live!

2012-02-15 Thread Steven Schveighoffer
On Tue, 14 Feb 2012 17:00:05 -0500, Walter Bright wrote: http://forum.dlang.org/ This should replace the old miserable web interface to the forums. Thanks to Vladimir Panteleev for an awesome job writing this! The "Forums" link on the left points at http://digitalmars.com/NewsGroup.html

Re: D forums now live!

2012-02-15 Thread Vladimir Panteleev
On Wednesday, 15 February 2012 at 12:44:22 UTC, Jacob Carlborg wrote: I really like this behavior but noted a couple of things. Take this for example: http://imageshack.us/f/140/dfeediphone.png/ This is an image from the iPhone simulator. As you can see, the text in the top post overflows the

Re: dmd 1.073 and 2.058 release

2012-02-15 Thread Piotr Szturmaj
Bill Baxter wrote: On Tuesday, February 14, 2012 20:47:27 Walter Bright wrote: * Allow 1.userproperty syntax Where is this odd-sounding beast documented? And what is UFCS? Ultimate Fighting Championship of Syntaxes

Re: dmd 1.073 and 2.058 release

2012-02-15 Thread Piotr Szturmaj
Walter Bright wrote: Anyone care to count up the number of bug fixes here? http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.073.zip http://www.digitalmars.com/d/2.0/changelog.html https://github.com/downloads/D-Programming-Language/dmd/dmd.2.058.zip Great! Keep

Re: dmd 1.073 and 2.058 release

2012-02-15 Thread Andrej Mitrovic
On 2/15/12, Jonathan M Davis wrote: > @property auto prop(int value) { ... } > auto value = 7.prop; > > So, > I have no idea what exactly has been implemented for that one line in the > changelog - hence my question. That doesn't seem to work. So does anyone know what exactly is implemented?

Re: D forums now live!

2012-02-15 Thread Jacob Carlborg
On 2012-02-15 11:55, Vladimir Panteleev wrote: On Wednesday, 15 February 2012 at 00:33:29 UTC, torhu wrote: On 14.02.2012 23:00, Walter Bright wrote: http://forum.dlang.org/ This should replace the old miserable web interface to the forums. Thanks to Vladimir Panteleev for an awesome job writ

Re: D forums now live!

2012-02-15 Thread Ludovic Silvestre
Using @media and different CSS settings for different screens was a smart move, but you are not using it correctly. By setting the font-size in pixels, you completely forgot about the screen density, and the forum might end up with really small text for mobile or desktop. Obviously, you can set

Re: dmd 1.073 and 2.058 release

2012-02-15 Thread deadalnix
Le 15/02/2012 05:47, Walter Bright a écrit : Anyone care to count up the number of bug fixes here? http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.073.zip http://www.digitalmars.com/d/2.0/changelog.html https://github.com/downloads/D-Programming-Language/dmd/dmd

Re: D forums now live!

2012-02-15 Thread Jordan Miner
On Tuesday, 14 February 2012 at 22:00:06 UTC, Walter Bright wrote: http://forum.dlang.org/ This should replace the old miserable web interface to the forums. Thanks to Vladimir Panteleev for an awesome job writing this! This is great. I stopped using the old web interface years ago and was

Re: dmd 1.073 and 2.058 release

2012-02-15 Thread Leandro Lucarella
Walter Bright, el 14 de febrero a las 21:08 me escribiste: > On 2/14/2012 8:54 PM, Jonathan M Davis wrote: > >On Tuesday, February 14, 2012 20:52:23 Jonathan M Davis wrote: > >>On Tuesday, February 14, 2012 20:47:27 Walter Bright wrote: > >>>Anyone care to count up the number of bug fixes here? > >

Re: dmd 1.073 and 2.058 release

2012-02-15 Thread deadalnix
Le 15/02/2012 09:11, Jacob Carlborg a écrit : On 2012-02-15 08:38, Bill Baxter wrote: On Tuesday, February 14, 2012 20:47:27 Walter Bright wrote: * Allow 1.userproperty syntax Where is this odd-sounding beast documented? And what is UFCS? --bb Uniform Function Call Syntax. Which basicall

Re: D forums now live!

2012-02-15 Thread Vladimir Panteleev
On Wednesday, 15 February 2012 at 02:11:45 UTC, Nick Sabalausky wrote: One issue I noticed though is that newlines don't seem to work: http://www.semitwist.com/download/img/shots/dforum.png I've added a fallback CSS property for browsers that don't support CSS 3. Does it look better now?

Re: D forums now live!

2012-02-15 Thread Vladimir Panteleev
On Wednesday, 15 February 2012 at 00:33:29 UTC, torhu wrote: On 14.02.2012 23:00, Walter Bright wrote: http://forum.dlang.org/ This should replace the old miserable web interface to the forums. Thanks to Vladimir Panteleev for an awesome job writing this! Nice! One suggestion for improveme

Re: dmd 1.073 and 2.058 release

2012-02-15 Thread Jacob Carlborg
On 2012-02-15 05:47, Walter Bright wrote: Anyone care to count up the number of bug fixes here? http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.073.zip http://www.digitalmars.com/d/2.0/changelog.html https://github.com/downloads/D-Programming-Language/dmd/dmd.2.

Re: D forums now live!

2012-02-15 Thread Walter Bright
Made it to Hacker News: http://news.ycombinator.com/item?id=3592769

Re: dmd 1.073 and 2.058 release

2012-02-15 Thread Jonathan M Davis
On Tuesday, February 14, 2012 23:38:33 Bill Baxter wrote: > > On Tuesday, February 14, 2012 20:47:27 Walter Bright wrote: > > * Allow 1.userproperty syntax > > Where is this odd-sounding beast documented? > > And what is UFCS? Universal Function Call Syntax. The idea is that any function can be

Re: dmd 1.073 and 2.058 release

2012-02-15 Thread Jacob Carlborg
On 2012-02-15 08:38, Bill Baxter wrote: On Tuesday, February 14, 2012 20:47:27 Walter Bright wrote: * Allow 1.userproperty syntax Where is this odd-sounding beast documented? And what is UFCS? --bb Uniform Function Call Syntax. Which basically means you can call free functions as