Re: What would you do... -> Extending std.concurrency

2011-12-08 Thread Andrew Wiley
On Thu, Dec 8, 2011 at 7:12 PM, Sean Kelly wrote: > On Dec 8, 2011, at 4:13 PM, Andrew Wiley wrote: >> >> This is somewhat of a threadjack, but I was looking at making a >> lighter actor-like abstraction for message passing, and possibly >> making it compatible with std.concurrency, and I saw this

Re: SCons support for D

2011-12-08 Thread Gour
On Fri, 09 Dec 2011 09:28:52 +0900 Mike Parker wrote: > Not out of the box, but it would be trivial to add as a custom Action. Thank you. All in all, premake looks very interesting & clean. Sincerely, Gour -- Bewildered by the modes of material nature, the ignorant fully engage themselves

Re: Comma operator = broken design

2011-12-08 Thread Kagamin
On Thursday, 8 December 2011 at 17:18:57 UTC, Joshua Reusch wrote: Ahem. So are you suggesting that (a,b) means a tuple everywhere but in a for loop, where it is used to separate two statements? If we use the comma operator only for tuples, there needn't to be a special case for loops: fo

Re: Comma operator = broken design

2011-12-08 Thread so
On Fri, 09 Dec 2011 06:26:27 +0200, Robert Jacques wrote: So it clashes with another thing about D, pragmatism. I'm not sure what you mean by that. It was/is one of the defining points of D AFAIK. More than being theoretical it chose to be pragmatic, to solve the problems we face day to

Re: ow Integers Should Work

2011-12-08 Thread bcs
On 12/08/2011 04:15 AM, Don wrote: On 08.12.2011 05:46, bcs wrote: On 12/06/2011 11:50 PM, Don wrote: He's talking about system languages. A system language has to have a close relationship to the architecture. By contrast, if you don't care about performance, it's easy -- just use BigInts fo

Re: Comma operator = broken design

2011-12-08 Thread Robert Jacques
On Thu, 08 Dec 2011 21:23:11 -0500, so wrote: On Fri, 09 Dec 2011 03:19:34 +0200, Robert Jacques wrote: On Thu, 08 Dec 2011 13:17:44 -0500, so wrote: On Thu, 08 Dec 2011 19:25:10 +0200, Dejan Lekic wrote: type a = a + 2; // compiles with no errors, no warnings, no explosions (that i kn

Re: Comma operator = broken design

2011-12-08 Thread so
On Fri, 09 Dec 2011 03:19:34 +0200, Robert Jacques wrote: On Thu, 08 Dec 2011 13:17:44 -0500, so wrote: On Thu, 08 Dec 2011 19:25:10 +0200, Dejan Lekic wrote: type a = a + 2; // compiles with no errors, no warnings, no explosions (that i know of) If "type" has the default initialiser,

Re: On garbage collection

2011-12-08 Thread Danny Wilson
deadalnix wrote: http://www.infoq.com/presentations/Understanding-Java-Garbage-Collection This is java focussed, but I think this is still very interesting for D people. So I'm sharing it here. The first half wasn't even java focussed at all :-) Great intro to most of the definitions and GC al

Re: Comma operator = broken design

2011-12-08 Thread Robert Jacques
On Thu, 08 Dec 2011 13:17:44 -0500, so wrote: On Thu, 08 Dec 2011 19:25:10 +0200, Dejan Lekic wrote: type a = a + 2; // compiles with no errors, no warnings, no explosions (that i know of) If "type" has the default initialiser, then what is the problem? What does it do in both C and D c

Re: Comma operator = broken design

2011-12-08 Thread Robert Jacques
On Thu, 08 Dec 2011 12:18:56 -0500, Joshua Reusch wrote:> Ahem. So are you suggesting that (a,b) means a tuple everywhere but in a for loop, where it is used to separate two statements? If we use the comma operator only for tuples, there needn't to be a special case for loops: for(x, y = 0 ,

Re: What would you do...

2011-12-08 Thread Sean Kelly
On Dec 8, 2011, at 4:13 PM, Andrew Wiley wrote: > > This is somewhat of a threadjack, but I was looking at making a > lighter actor-like abstraction for message passing, and possibly > making it compatible with std.concurrency, and I saw this: > "The general idea is that every messageable entity i

Re: Chinese characters printing issue under windows

2011-12-08 Thread Sam Hu
Bernard Helyer Wrote: > This is very useful information, so thank you for posting it, but > this looks like something that Phobos should pick up > automatically. I would note that the program works perfectly in > Linux without the need for setting the locale, so I'd imagine its > some encoding

Re: Chinese characters printing issue under windows

2011-12-08 Thread Sam Hu
On Friday, 9 December 2011 at 00:51:35 UTC, Sam Hu wrote: For those who would like to print Chinese characters in windows console properly,below information for your easy reference. After test,write works properly all the way,writeln only works properly when the args is no less than 2.writefln

Re: Haxe (From: Java > Scala -> new thread: GUI for D)

2011-12-08 Thread Nick Sabalausky
"Danny Wilson" wrote in message news:jbrjp6$n54$1...@digitalmars.com... > Nick Sabalausky wrote: > >> So anyway, with my own Haxe implementation, I can just add an optional >> "-sane" switch to enable either a runtime or compile-time check...And >> nobody >> can stop me!! Mwuuahahahaha!! AH HA H

Re: Chinese characters printing issue under windows

2011-12-08 Thread Bernard Helyer
This is very useful information, so thank you for posting it, but this looks like something that Phobos should pick up automatically. I would note that the program works perfectly in Linux without the need for setting the locale, so I'd imagine its some encoding issue? Not really my area of exp

Chinese characters printing issue under windows

2011-12-08 Thread Sam Hu
For those who would like to print Chinese characters in windows console properly,below information for your easy reference. After test,write works properly all the way,writeln only works properly when the args is no less than 2.writefln works properly all the way. [code] module cnsetlocale;

Re: SCons support for D

2011-12-08 Thread Mike Parker
On 12/9/2011 2:04 AM, Gour wrote: On Thu, 8 Dec 2011 20:13:29 +1100 Andrew Gough wrote: I have to point out that I have only added DMD+make support as that is all I needed at the time, but have plans (who doesn't :-D) to add support for LDC, GDC, and other build chains. Does premake support

Re: Haxe (From: Java > Scala -> new thread: GUI for D)

2011-12-08 Thread Danny Wilson
Nick Sabalausky wrote: So anyway, with my own Haxe implementation, I can just add an optional "-sane" switch to enable either a runtime or compile-time check...And nobody can stop me!! Mwuuahahahaha!! AH HA HA HA!!! BWAH HA HA HA!@!!! HAHhahahaAHHAAHA - As a long time haXe user I appreciate t

Re: What would you do...

2011-12-08 Thread Andrew Wiley
On Thu, Dec 8, 2011 at 5:53 PM, Sean Kelly wrote: > On Dec 8, 2011, at 8:23 AM, Manu wrote: >> >> Just digging through concurrence.d since the docs are pretty bare, and I've >> come across this pattern, which raises a pretty worrying alarm to me. I >> wonder if this is common in D libraries... >

Re: What would you do...

2011-12-08 Thread Timon Gehr
On 12/09/2011 12:21 AM, Manu wrote: No overload, receives a tuple, and assumes that static-if the first tuple item is IMPLICITLY CONVERTIBLE to a Duration, I must be calling the 'overload'... I guess this means I can never pass a Duration in a message to t

Re: What would you do...

2011-12-08 Thread Sean Kelly
On Dec 8, 2011, at 8:23 AM, Manu wrote: > > Just digging through concurrence.d since the docs are pretty bare, and I've > come across this pattern, which raises a pretty worrying alarm to me. I > wonder if this is common in D libraries... > > ... > > No overload, receives a tuple, and assumes

Re: What would you do...

2011-12-08 Thread Sean Kelly
On Dec 8, 2011, at 7:51 AM, Manu wrote: > > The std.concurrency documentation is pretty bad. > So is std.concurrency.spawn() just effectively a helper for spawning a thread > that has mailbox support? Yes. Plus some restrictions on arguments to the new thread to help prevent data races. > std

Re: What would you do...

2011-12-08 Thread Sean Kelly
On Dec 8, 2011, at 6:00 AM, Manu wrote: > > Quite seriously. I'm trying to work out how D's threading/thread safety > architecture can help me here.. Also since there's no collections, I'm using > the associative arrays. How do I manage thread safety when accessing those? > Is there a generic l

Re: What would you do...

2011-12-08 Thread Manu
> > No overload, receives a tuple, and assumes that static-if the first >> tuple item is IMPLICITLY CONVERTIBLE to a Duration, I must be calling >> the 'overload'... >> >> I guess this means I can never pass a Duration in a message to the >> non-timeout receive()... or anything that is implicitly c

Re: DMD 2.056 cannot find -lrt

2011-12-08 Thread Martin Nowak
On Thu, 08 Dec 2011 17:02:24 +0100, Steve Teale wrote: On Thu, 08 Dec 2011 07:18:48 -0500, Steven Schveighoffer wrote: On Thu, 08 Dec 2011 03:25:23 -0500, Steve Teale wrote: I just got round to upgrading from 2.055. I read about this error some time ago but now can't find a reference any

Re: How to stop DMD from linking against phobos

2011-12-08 Thread Martin Nowak
On Thu, 08 Dec 2011 18:50:36 +0100, Benjamin Thaut wrote: Is there a way to stop dmd from linking against phobos? (Most preferred would be some command line parameters to dmd) Kind Regards Benjamin Thaut We should fix defaultlib and debuglib to accept empty values. Can you make a bug repor

Re: A new web newsreader

2011-12-08 Thread maarten van damme
Beautiful newsgroup reader, makes a forum obselute but I am against making features only available on the web interface. Maybe smileys and code tags but no further then that.

Re: DustMite: Unwrap? Imports?

2011-12-08 Thread Vladimir Panteleev
On Thursday, 8 December 2011 at 21:39:20 UTC, dsimcha wrote: I've recently started using DustMite to reduce compiler errors in SciD, which instantiates an insane number of templates and is nightmarish to reduce by hand. Two questions: 1. What exactly does unwrap (as opposed to remove) do?

DustMite: Unwrap? Imports?

2011-12-08 Thread dsimcha
I've recently started using DustMite to reduce compiler errors in SciD, which instantiates an insane number of templates and is nightmarish to reduce by hand. Two questions: 1. What exactly does unwrap (as opposed to remove) do? 2. When there are multiple imports in a single statement, i.e.

Re: A new web newsreader

2011-12-08 Thread Walter Bright
On 12/8/2011 6:12 AM, Andrej Mitrovic wrote: Still, I love how fast it is. And it's written in D?! Sweet! If this were integrated to dpl.org it would kick the balls out of all the other proggy sites. Yes! I also think this forum software will be highly desirable for others to use, and can be

Re: A new web newsreader

2011-12-08 Thread Walter Bright
On 12/8/2011 7:05 AM, Robert Clipsham wrote: I'm not very excited about the idea of introducing formatting features that only users of this web interface will see. Frequent use of such features would annoy users of other interfaces, and there's the risk of accidentally activating them. I've see

Re: A new web newsreader

2011-12-08 Thread Vladimir Panteleev
On Thursday, 8 December 2011 at 20:15:38 UTC, Andrei Alexandrescu wrote: This is an absolutely fantastic development. It's exactly the kind of thing that D needs - using D to write something nontrivial and highly useful. I just got in touch with Walter about it, and as of now you have in us str

Re: A new web newsreader

2011-12-08 Thread Steven Schveighoffer
On Thu, 08 Dec 2011 15:15:37 -0500, Andrei Alexandrescu wrote: - Would you consider merging your codebase with d-programming-language.org? That way we'd have a simple deployment target and simpler unified maintenance. The downside would be that your project would have less individuality

Re: A new web newsreader

2011-12-08 Thread Jacob Carlborg
On 2011-12-08 21:15, Andrei Alexandrescu wrote: On 12/8/11 4:55 AM, Vladimir Panteleev wrote: As mentioned previously, I've been working on a web frontend for the DigitalMars NNTP server. I collected ideas and inspiration from the several threads on this topic in the last few weeks, and now I th

Re: A new web newsreader

2011-12-08 Thread Jacob Carlborg
On 2011-12-08 21:14, Vladimir Panteleev wrote: On Thursday, 8 December 2011 at 19:58:11 UTC, Jacob Carlborg wrote: On 2011-12-08 18:49, Vladimir Panteleev wrote: On Thursday, 8 December 2011 at 17:42:09 UTC, Jacob Carlborg wrote: On 2011-12-08 15:41, Vladimir Panteleev wrote: The "threaded" v

Re: A new web newsreader

2011-12-08 Thread Andrei Alexandrescu
On 12/8/11 4:55 AM, Vladimir Panteleev wrote: As mentioned previously, I've been working on a web frontend for the DigitalMars NNTP server. I collected ideas and inspiration from the several threads on this topic in the last few weeks, and now I think that the result is ready for beta testing and

Re: SCons support for D

2011-12-08 Thread Andrew Gough
On Thu, 8 Dec 2011 15:39:59 +0200 Manu wrote: > On 8 December 2011 15:27, Mike Parker wrote: > > > On 12/8/2011 6:29 PM, Andrew Gough wrote: > > > >> On Wed, 7 Dec 2011 22:39:34 +0200 > >> Manu wrote: > >> > >> premake supports D? I was planning to add D support to premake > >>> myself, but t

Re: A new web newsreader

2011-12-08 Thread Andrei Alexandrescu
On 12/8/11 2:15 PM, Andrei Alexandrescu wrote: On 12/8/11 4:55 AM, Vladimir Panteleev wrote: As mentioned previously, I've been working on a web frontend for the DigitalMars NNTP server. I collected ideas and inspiration from the several threads on this topic in the last few weeks, and now I thi

Re: A new web newsreader

2011-12-08 Thread Vladimir Panteleev
On Thursday, 8 December 2011 at 19:58:11 UTC, Jacob Carlborg wrote: On 2011-12-08 18:49, Vladimir Panteleev wrote: On Thursday, 8 December 2011 at 17:42:09 UTC, Jacob Carlborg wrote: On 2011-12-08 15:41, Vladimir Panteleev wrote: The "threaded" view mode should look the best on small screens.

Re: SCons support for D

2011-12-08 Thread Andrew Gough
On Thu, 08 Dec 2011 16:19:27 +0100 "Kagamin" wrote: > > No problem. I disagree and think that a cross platform build > > generator > > that leverages native build tools is a better approach and > > provides > > more flexibility in the long run. Particularly for Windows VS > > users or > > peo

Re: A new web newsreader

2011-12-08 Thread Vladimir Panteleev
On Thursday, 8 December 2011 at 19:43:04 UTC, Walter Bright wrote: I am very excited, this is freakin' awesome! I'm glad you like it :) One question: where/how is the user registration data stored? In a table in an SQLite database. Passwords are stored as salted hashes right now.

Re: A new web newsreader

2011-12-08 Thread Jacob Carlborg
On 2011-12-08 18:49, Vladimir Panteleev wrote: On Thursday, 8 December 2011 at 17:42:09 UTC, Jacob Carlborg wrote: On 2011-12-08 15:41, Vladimir Panteleev wrote: The "threaded" view mode should look the best on small screens. Yes, but try adding the following meta tag: OK, how does it look

Re: How to stop DMD from linking against phobos

2011-12-08 Thread Jacob Carlborg
On 2011-12-08 19:11, David Nadlinger wrote: On 12/8/11 6:50 PM, Benjamin Thaut wrote: Is there a way to stop dmd from linking against phobos? (Most preferred would be some command line parameters to dmd) Kind Regards Benjamin Thaut See the -defaultlib and -debuglib switches. druntime is hardc

Re: A new web newsreader

2011-12-08 Thread Steven Schveighoffer
On Thu, 08 Dec 2011 08:34:18 -0500, Vladimir Panteleev wrote: I think I'll just reverse the sorting of threads in the threaded view. Threads are already sorted differently than posts anyway (they're sorted by the time of the last reply, not by the original post's time). The new version i

Re: What would you do...

2011-12-08 Thread Timon Gehr
On 12/08/2011 05:23 PM, Manu wrote: On 8 December 2011 17:51, Manu mailto:turkey...@gmail.com>> wrote: On 8 December 2011 16:27, Jens Mueller mailto:jens.k.muel...@gmx.de>> wrote: Manu wrote: > On 8 December 2011 00:20, Manu mailto:turkey...@gmail.com>> wrote: >

Re: A new web newsreader

2011-12-08 Thread Walter Bright
On 12/8/2011 2:55 AM, Vladimir Panteleev wrote: As mentioned previously, I've been working on a web frontend for the DigitalMars NNTP server. I collected ideas and inspiration from the several threads on this topic in the last few weeks, and now I think that the result is ready for beta testing a

Re: Comma operator = broken design

2011-12-08 Thread Timon Gehr
On 12/08/2011 05:02 PM, Regan Heath wrote: On Thu, 08 Dec 2011 12:17:20 -, so wrote: On Thu, 08 Dec 2011 11:17:48 +0200, Dejan Lekic wrote: Why is this operator still kept around? No offense, but I find it strange/funny that you even ask why! :) Have you never used comma in for lo

[OT] opera code rendering

2011-12-08 Thread so
On Thu, 08 Dec 2011 18:23:55 +0200, Manu wrote: ... Sorry for hijacking your thread. Did you do some encoding in your post? Opera rendered your code with some nice syntax-highlighting.

Re: What would you do...

2011-12-08 Thread Manu
On 8 December 2011 17:51, Manu wrote: > On 8 December 2011 16:27, Jens Mueller wrote: > >> Manu wrote: >> > On 8 December 2011 00:20, Manu wrote: >> > >> > > Hey peoples, >> > > >> > > So this might be a bit off topic... but I'm trying to think about the >> best >> > > way to write a small prog

Re: Comma operator = broken design

2011-12-08 Thread so
On Thu, 08 Dec 2011 19:25:10 +0200, Dejan Lekic wrote: type a = a + 2; // compiles with no errors, no warnings, no explosions (that i know of) If "type" has the default initialiser, then what is the problem? What does it do in both C and D context? 1. It does different things. 2. C ver

Re: How to stop DMD from linking against phobos

2011-12-08 Thread David Nadlinger
On 12/8/11 6:50 PM, Benjamin Thaut wrote: Is there a way to stop dmd from linking against phobos? (Most preferred would be some command line parameters to dmd) Kind Regards Benjamin Thaut See the -defaultlib and -debuglib switches. druntime is hardcoded anyway, so you could e.g. use: dmd -d

Re: How to stop DMD from linking against phobos

2011-12-08 Thread Steven Schveighoffer
On Thu, 08 Dec 2011 12:50:36 -0500, Benjamin Thaut wrote: Is there a way to stop dmd from linking against phobos? (Most preferred would be some command line parameters to dmd) Just don't use dmd to link. I think there is a way to replace phobos, but not just make it disappear. -Steve

How to stop DMD from linking against phobos

2011-12-08 Thread Benjamin Thaut
Is there a way to stop dmd from linking against phobos? (Most preferred would be some command line parameters to dmd) Kind Regards Benjamin Thaut

Re: A new web newsreader

2011-12-08 Thread Vladimir Panteleev
On Thursday, 8 December 2011 at 17:42:09 UTC, Jacob Carlborg wrote: On 2011-12-08 15:41, Vladimir Panteleev wrote: The "threaded" view mode should look the best on small screens. Yes, but try adding the following meta tag: Then hopefully the page won't look zoomed out on mobile devices. O

Re: SCons support for D

2011-12-08 Thread Jacob Carlborg
On 2011-12-08 16:19, Kagamin wrote: No problem. I disagree and think that a cross platform build generator that leverages native build tools is a better approach and provides more flexibility in the long run. Particularly for Windows VS users or people tied to an IDE - configuration that generate

Re: A new web newsreader

2011-12-08 Thread Jacob Carlborg
On 2011-12-08 15:41, Vladimir Panteleev wrote: On Thursday, 8 December 2011 at 14:21:54 UTC, Jacob Carlborg wrote: Very nice. Although I would hope for a version that would work better in mobile phones. It's probably good to add a meta tag setting the scale for mobile phones. The "threaded" vi

Re: A new web newsreader

2011-12-08 Thread Jacob Carlborg
On 2011-12-08 15:39, Vladimir Panteleev wrote: On Thursday, 8 December 2011 at 14:35:46 UTC, Jacob Carlborg wrote: On 2011-12-08 15:06, Vladimir Panteleev wrote: On Thursday, 8 December 2011 at 13:51:21 UTC, Robert Clipsham wrote: * In the horizontal-split view if you scroll down too far in th

Re: A new web newsreader

2011-12-08 Thread Vladimir Panteleev
On Thursday, 8 December 2011 at 17:22:39 UTC, Andrei Alexandrescu wrote: On 12/8/11 8:41 AM, Vladimir Panteleev wrote: On Thursday, 8 December 2011 at 14:21:54 UTC, Jacob Carlborg wrote: This is a site that works good in basically all screen sizes: http://upperdog.se/ Yes, I learned about th

Re: Comma operator = broken design

2011-12-08 Thread Dejan Lekic
type a = a + 2; // compiles with no errors, no warnings, no explosions (that i know of) If "type" has the default initialiser, then what is the problem?

Re: What would you do...

2011-12-08 Thread Andrei Alexandrescu
On 12/8/11 9:51 AM, Manu wrote: The std.concurrency documentation is pretty bad. I think we should add a link to the TDPL chapter to the std.concurrency documentation page. Andrei

Re: A new web newsreader

2011-12-08 Thread Andrei Alexandrescu
On 12/8/11 8:41 AM, Vladimir Panteleev wrote: On Thursday, 8 December 2011 at 14:21:54 UTC, Jacob Carlborg wrote: Very nice. Although I would hope for a version that would work better in mobile phones. It's probably good to add a meta tag setting the scale for mobile phones. The "threaded" vie

Re: Comma operator = broken design

2011-12-08 Thread Joshua Reusch
Ahem. So are you suggesting that (a,b) means a tuple everywhere but in a for loop, where it is used to separate two statements? If we use the comma operator only for tuples, there needn't to be a special case for loops: for(x, y = 0 , 100; x < y ; x, y += 1,-1) { ... }

Re: SCons support for D

2011-12-08 Thread Nick Sabalausky
"Andrew Gough" wrote in message news:20111207202725.5adae...@goughy.org... > >It seems there is SCons support (python), CMake, Orbit (Ruby), DSSS >(D1 only?), xfbuild, dake, rdmd options - I've added preliminary D >support to premake. > xfbuild and rdmd are not really build managers. They're jus

Re: expression templates vs D arrays

2011-12-08 Thread Andrei Alexandrescu
On 12/8/11 6:16 AM, Timon Gehr wrote: Expression templates in D are syntactically more limited because it is impossible to overload the 'not' and comparison operators. I think all operators must be overloadable. The key is to overload them _properly_. C++ botched a few (&&, ||, comma, ++, --)

Re: SCons support for D

2011-12-08 Thread Gour
On Thu, 8 Dec 2011 20:29:20 +1100 Andrew Gough wrote: > If there is enough interest, I can fix up some loose ends and try and > get the ball rolling again... +1 -- In this endeavor there is no loss or diminution, and a little advancement on this path can protect one from the most dangerous t

Re: ow Integers Should Work

2011-12-08 Thread Andrei Alexandrescu
On 12/8/11 4:47 AM, Don wrote: The Loitsch paper is very interesting, it presents a simple very fast method which works in 99.5% of cases. Then, you fall back to the simple slow method for the remaining 0.5%. The slow case is rare enough that it's not worth optimizing it. I think a D implementa

Re: SCons support for D

2011-12-08 Thread Gour
On Thu, 8 Dec 2011 20:13:29 +1100 Andrew Gough wrote: > I have to point out that I have only added DMD+make support as that is > all I needed at the time, but have plans (who doesn't :-D) to add > support for LDC, GDC, and other build chains. Does premake support building SWIG extensions? Sinc

Re: expression templates vs D arrays

2011-12-08 Thread Andrei Alexandrescu
On 12/8/11 1:55 AM, Walter Bright wrote: I'll add that you can do expression templates in D, but there's no point to them. There is, just for other things such as dimensional analysis. Andrei

Re: DMD 2.056 cannot find -lrt

2011-12-08 Thread Steve Teale
On Thu, 08 Dec 2011 07:18:48 -0500, Steven Schveighoffer wrote: > On Thu, 08 Dec 2011 03:25:23 -0500, Steve Teale > wrote: > >> I just got round to upgrading from 2.055. I read about this error some >> time ago but now can't find a reference anywhere. >> >> What do I do to get round it. > > Ins

Re: Comma operator = broken design

2011-12-08 Thread so
On Thu, 08 Dec 2011 18:02:11 +0200, Regan Heath wrote: When I pointed this out, he said "how does that even compile" and was completely unaware of the existence of the comma operator, nor (once I explained it) did he realise it was in any way related to the comma used in for loops. Peop

Re: Comma operator = broken design

2011-12-08 Thread Regan Heath
On Thu, 08 Dec 2011 12:17:20 -, so wrote: On Thu, 08 Dec 2011 11:17:48 +0200, Dejan Lekic wrote: Why is this operator still kept around? No offense, but I find it strange/funny that you even ask why! :) Have you never used comma in for loops??? Not sure if it is that relevant

Re: DMD 2.056 cannot find -lrt

2011-12-08 Thread Steve Teale
On Thu, 08 Dec 2011 07:18:48 -0500, Steven Schveighoffer wrote: > On Thu, 08 Dec 2011 03:25:23 -0500, Steve Teale > wrote: > >> I just got round to upgrading from 2.055. I read about this error some >> time ago but now can't find a reference anywhere. >> >> What do I do to get round it. > > Ins

Re: A new web newsreader

2011-12-08 Thread Vladimir Panteleev
On Thursday, 8 December 2011 at 15:27:27 UTC, tn wrote: On Thursday, 8 December 2011 at 13:13:38 UTC, Vladimir Panteleev wrote: Generally, in a threaded discussion, replies always have to appear below their parents. Even though it's possible to sort siblings in the reverse order, it would be ra

Re: What would you do...

2011-12-08 Thread Manu
On 8 December 2011 16:27, Jens Mueller wrote: > Manu wrote: > > On 8 December 2011 00:20, Manu wrote: > > > > > Hey peoples, > > > > > > So this might be a bit off topic... but I'm trying to think about the > best > > > way to write a small program in the most D-ish way possible (just to > make

Re: A new web newsreader

2011-12-08 Thread Vladimir Panteleev
On Thursday, 8 December 2011 at 15:23:20 UTC, Jeff Nowakowski wrote: On 12/08/2011 07:27 AM, Steven Schveighoffer wrote: (Posted from the new web interface). Replies to posts should follow convention and prefix the subject with "Re: " if it doesn't already have one. That was a bug I fixed

Re: A new web newsreader

2011-12-08 Thread Dejan Lekic
On a mailing list yes. However, on the newsgroup it is IMHO totally redundant. A matter of taste I think...

Re: A new web newsreader

2011-12-08 Thread tn
On Thursday, 8 December 2011 at 13:13:38 UTC, Vladimir Panteleev wrote: On Thursday, 8 December 2011 at 12:27:44 UTC, Steven Schveighoffer wrote: you receive an A+ from me! BTW, is there any way to sort the threaded view so that the newest messages appear on top? Simply because, in a web page

Re: A new web newsreader

2011-12-08 Thread Jeff Nowakowski
On 12/08/2011 07:27 AM, Steven Schveighoffer wrote: (Posted from the new web interface). Replies to posts should follow convention and prefix the subject with "Re: " if it doesn't already have one.

Re: SCons support for D

2011-12-08 Thread Kagamin
No problem. I disagree and think that a cross platform build generator that leverages native build tools is a better approach and provides more flexibility in the long run. Particularly for Windows VS users or people tied to an IDE - configuration that generates to various IDE build scripts k

Re: A new web newsreader

2011-12-08 Thread Robert Clipsham
On 08/12/2011 14:06, Vladimir Panteleev wrote: On Thursday, 8 December 2011 at 13:51:21 UTC, Robert Clipsham wrote: * Support syntax highlighting for blocks enclosed with --- like DDoc does, maybe other types of blocks too such as {{{}}} that trac uses, or whatever github uses. I'm not very ex

Re: A new web newsreader

2011-12-08 Thread Vladimir Panteleev
On Thursday, 8 December 2011 at 14:21:54 UTC, Jacob Carlborg wrote: Very nice. Although I would hope for a version that would work better in mobile phones. It's probably good to add a meta tag setting the scale for mobile phones. The "threaded" view mode should look the best on small screens.

Re: A new web newsreader

2011-12-08 Thread Vladimir Panteleev
On Thursday, 8 December 2011 at 14:35:46 UTC, Jacob Carlborg wrote: On 2011-12-08 15:06, Vladimir Panteleev wrote: On Thursday, 8 December 2011 at 13:51:21 UTC, Robert Clipsham wrote: * In the horizontal-split view if you scroll down too far in the thread you can't see the current thread title,

Re: A new web newsreader

2011-12-08 Thread Jacob Carlborg
On 2011-12-08 15:06, Vladimir Panteleev wrote: On Thursday, 8 December 2011 at 13:51:21 UTC, Robert Clipsham wrote: * In the horizontal-split view if you scroll down too far in the thread you can't see the current thread title, it would be good to make that sticky until you reach the next thread

Re: A new web newsreader

2011-12-08 Thread Vladimir Panteleev
On Thursday, 8 December 2011 at 14:10:54 UTC, Dmitry wrote: It would allow you to view all of the topics which have new messages (replies) in since your last visit. Each the topic would contain the new messages only and, if it makes sense, the original messages too. (...) Alternatively, anothe

Re: What would you do...

2011-12-08 Thread Jens Mueller
Manu wrote: > On 8 December 2011 00:20, Manu wrote: > > > Hey peoples, > > > > So this might be a bit off topic... but I'm trying to think about the best > > way to write a small program in the most D-ish way possible (just to make > > sure I'm giving myself the most realistic experience with the

Re: SCons support for D

2011-12-08 Thread Jacob Carlborg
On 2011-12-08 12:18, Andrew Gough wrote: On Thu, 08 Dec 2011 11:23:18 +0100 Jacob Carlborg wrote: On 2011-12-08 10:13, Andrew Gough wrote: The reasons I chose premake were primarily: 1. No external dependencies (lua embedded in an executable) 2. Simple configuration 3. Cross platform 4. Gene

Re: A new web newsreader

2011-12-08 Thread Jacob Carlborg
On 2011-12-08 11:55, Vladimir Panteleev wrote: As mentioned previously, I've been working on a web frontend for the DigitalMars NNTP server. I collected ideas and inspiration from the several threads on this topic in the last few weeks, and now I think that the result is ready for beta testing an

Re: Haxe (From: Java > Scala -> new thread: GUI for D)

2011-12-08 Thread Adrian
Am 07.12.2011 15:16, schrieb Adam Ruppe: > Adrian Wrote: >> [OT] As a side point from a not yet D developer, but someone who looks >> at the language with great interest, but also someone with a commercial >> responsibility: I am missing big projects developed in D and the most >> logic project wou

Re: A new web newsreader

2011-12-08 Thread Dmitry
On Thursday, 8 December 2011 at 13:19:39 UTC, Vladimir Panteleev wrote: On Thursday, 8 December 2011 at 11:43:25 UTC, Dmitry wrote: It would be great to have a button "View New Posts". It could be very useful and I think it is only what we need actually. :) What would such a button do? It wo

Re: A new web newsreader

2011-12-08 Thread Andrej Mitrovic
Such a sexy NG interface! The only thing missing is ability to quickly switch between the main newsgroups in the horizontal-split view. I mean if I'm reading D.learn there doesn't seem to be an obvious way to switch to another group like D.announce. I can click on the title to go back, of course, b

Re: A new web newsreader

2011-12-08 Thread Vladimir Panteleev
On Thursday, 8 December 2011 at 13:51:21 UTC, Robert Clipsham wrote: * Support syntax highlighting for blocks enclosed with --- like DDoc does, maybe other types of blocks too such as {{{}}} that trac uses, or whatever github uses. I'm not very excited about the idea of introducing formatting

Re: What would you do...

2011-12-08 Thread Manu
On 8 December 2011 00:20, Manu wrote: > Hey peoples, > > So this might be a bit off topic... but I'm trying to think about the best > way to write a small program in the most D-ish way possible (just to make > sure I'm giving myself the most realistic experience with the language), > and I wanted

Re: A new web newsreader

2011-12-08 Thread Robert Clipsham
On 08/12/2011 13:51, Robert Clipsham wrote: On 08/12/2011 10:55, Vladimir Panteleev wrote: As mentioned previously, I've been working on a web frontend for the DigitalMars NNTP server. I collected ideas and inspiration from the several threads on this topic in the last few weeks, and now I think

Re: A new web newsreader

2011-12-08 Thread Robert Clipsham
On 08/12/2011 10:55, Vladimir Panteleev wrote: As mentioned previously, I've been working on a web frontend for the DigitalMars NNTP server. I collected ideas and inspiration from the several threads on this topic in the last few weeks, and now I think that the result is ready for beta testing an

Re: SCons support for D

2011-12-08 Thread Manu
On 8 December 2011 15:27, Mike Parker wrote: > On 12/8/2011 6:29 PM, Andrew Gough wrote: > >> On Wed, 7 Dec 2011 22:39:34 +0200 >> Manu wrote: >> >> premake supports D? I was planning to add D support to premake >>> myself, but that's wonderful news. I'll add support for VisualD if it >>> is no

Re: A new web newsreader

2011-12-08 Thread Vladimir Panteleev
On Thursday, 8 December 2011 at 13:23:53 UTC, Steven Schveighoffer wrote: Would a simple "scroll to bottom on page load" in javascript be possible? I know there are some nicks on this newsgroup who don't like JS, but their browser simply won't scroll. So what. JavaScript which alters page co

Re: SCons support for D

2011-12-08 Thread Mike Parker
On 12/8/2011 6:13 PM, Andrew Gough wrote: On Wed, 7 Dec 2011 20:56:17 +0100 Jens Mueller wrote: Andrew Gough wrote: On Tue, 06 Dec 2011 18:14:25 + Russel Winder wrote: SCons is a Python-based build tool to replace Make and much of the Autotools functionality. It has D support as part

Re: SCons support for D

2011-12-08 Thread Mike Parker
On 12/8/2011 6:29 PM, Andrew Gough wrote: On Wed, 7 Dec 2011 22:39:34 +0200 Manu wrote: premake supports D? I was planning to add D support to premake myself, but that's wonderful news. I'll add support for VisualD if it is not already done. GDC is also important. Great news! :) I'd be happ

Re: A new web newsreader

2011-12-08 Thread Steven Schveighoffer
On Thu, 08 Dec 2011 08:13:36 -0500, Vladimir Panteleev wrote: On Thursday, 8 December 2011 at 12:27:44 UTC, Steven Schveighoffer wrote: you receive an A+ from me! BTW, is there any way to sort the threaded view so that the newest messages appear on top? Simply because, in a web page, the

Re: A new web newsreader

2011-12-08 Thread Vladimir Panteleev
On Thursday, 8 December 2011 at 11:43:25 UTC, Dmitry wrote: It would be great to have a button "View New Posts". It could be very useful and I think it is only what we need actually. :) What would such a button do?

  1   2   >