Re: Mago Debugger

2010-09-02 Thread Aldo Nunez
It's geared to D 2. To target D 1, you would need to make a few changes to the expression evaluator. Aldo On Tue, 31 Aug 2010 00:50:28 -0700, Nick B nick_nospam_.barbal...@gmail.com wrote: Hi Do you plan to support D1 or is this for D2 only ? cheers Nick B. On 23/08/2010 7:16 a.m.,

Re: [Slight OT] TDPL in Russia

2010-09-02 Thread Nick Sabalausky
Walter Bright newshou...@digitalmars.com wrote in message news:i5ndre$1e0...@digitalmars.com... Nick Sabalausky wrote: I only rarely see them now. I don't have any of that DVR stuff (never thought it made sense to buy a device, as opposed to a service, on a subscription model), so not only

Re: [Slight OT] TDPL in Russia

2010-09-02 Thread Nick Sabalausky
Walter Bright newshou...@digitalmars.com wrote in message news:i5ncem$1bp...@digitalmars.com... Nick Sabalausky wrote: Walter Bright newshou...@digitalmars.com wrote in message news:i5n87k$14u...@digitalmars.com... Jonathan M Davis wrote: I hear that this sort of thing tends to happen with

Re: [Slight OT] TDPL in Russia

2010-09-02 Thread Nick Sabalausky
Brad Roberts bra...@puremagic.com wrote in message news:mailman.60.1283405205.858.digitalmar...@puremagic.com... On 9/1/2010 6:56 PM, BCS wrote: OTOH try and write a play that no one will watch. I'd be very surprised if it can be done. There's a book that was purposely written (by a

Re: [Slight OT] TDPL in Russia

2010-09-02 Thread Kagamin
Steven Schveighoffer Wrote: I was just employing irony and sarcasm to demonstrate why your arguments were meaningless :) The only measurable factor for good art is how many people use it/buy it. Well... commercial quality doesn't have any value for me in the context of art :)

Re: [Slight OT] TDPL in Russia

2010-09-02 Thread Nick Sabalausky
Brad Roberts bra...@puremagic.com wrote in message news:mailman.60.1283405205.858.digitalmar...@puremagic.com... On 9/1/2010 6:56 PM, BCS wrote: OTOH try and write a play that no one will watch. I'd be very surprised if it can be done. There's a book that was purposely written (by a

Re: [Challenge] implementing the ambiguous operator in D

2010-09-02 Thread Pelle
On 09/01/2010 11:49 PM, Peter Alexander wrote: On 1/09/10 9:08 PM, Philippe Sigaud wrote: Peter, can we discuss your solution here? Sure, I'd be interested to hear any improvements. Like I said in my answer, I'm still learning D so I'm sure there's many issues. For example, I made no attempt

Re: [Slight OT] TDPL in Russia

2010-09-02 Thread Kagamin
Walter Bright Wrote: Someone once told me that capitalism doesn't support the arts. I asked him how the Beatles got rich. Oops! Yes, art does manage to cope with capitalism, it's just the result doesn't look like a lot of fun. Glen Cook said I get salary for the number of pages.

Re: [Slight OT] TDPL in Russia

2010-09-02 Thread Brad Roberts
On 9/1/2010 11:28 PM, Nick Sabalausky wrote: Brad Roberts bra...@puremagic.com wrote in message news:mailman.60.1283405205.858.digitalmar...@puremagic.com... On 9/1/2010 6:56 PM, BCS wrote: OTOH try and write a play that no one will watch. I'd be very surprised if it can be done. There's

Miscellaneous memory management questions

2010-09-02 Thread Peter Alexander
Hi, I've not been staying up to date on the new/delete discussions and related memory management issues, so I have a few questions. 1. How do I disable the GC? 2. Can I override new? 3. Is the best (only?) way to do manual memory management to use scoped and emplace in conjunction with

Re: [Challenge] implementing the ambiguous operator in D

2010-09-02 Thread Peter Alexander
On 2/09/10 7:34 AM, Pelle wrote: It needs opEquals :-) Yeah, it needs a lot of things :) You could easily add unary operators as well (e.g. so that -amb([1, 2]) == [-1, -2]. I didn't bother adding more than I did because it would make the post too large, and wouldn't really add anything (I

Please comment on http://d-programming-language.org/

2010-09-02 Thread Andrei Alexandrescu
Time to zero in on the overall design and start working on the content. Please give the design one more round of comments. Thanks, Andrei

Re: [OT] Dark Star (1974) - the platinum age of movies

2010-09-02 Thread Nick Sabalausky
Walter Bright newshou...@digitalmars.com wrote in message news:i5ndnb$1e0...@digitalmars.com... Nick Sabalausky wrote: I don't really see that. To me, the original trilogy at least, seemed like action flicks in sci-fi clothing (Nothing wrong with that!) Now the Battlestar Galactica remake,

Re: Please comment on http://d-programming-language.org/

2010-09-02 Thread Nick Sabalausky
Andrei Alexandrescu seewebsiteforem...@erdani.org wrote in message news:i5ni8j$1nk...@digitalmars.com... Time to zero in on the overall design and start working on the content. Please give the design one more round of comments. I think I would try just getting rid of the red flare in the

Re: Please comment on http://d-programming-language.org/

2010-09-02 Thread Nick Sabalausky
Nick Sabalausky a...@a.a wrote in message news:i5nkrn$1tf...@digitalmars.com... Andrei Alexandrescu seewebsiteforem...@erdani.org wrote in message news:i5ni8j$1nk...@digitalmars.com... Time to zero in on the overall design and start working on the content. Please give the design one more

Re: [Slight OT] TDPL in Russia

2010-09-02 Thread Nick Sabalausky
Brad Roberts bra...@puremagic.com wrote in message news:mailman.61.1283409922.858.digitalmar...@puremagic.com... On 9/1/2010 11:28 PM, Nick Sabalausky wrote: I hope it started with It was a dark and stormy night :) Sadly no.. that'd be cliched but not bad enough. Hopefully this doesn't

Re: [D.typesystem] Suggestion for improving OO inheritance models

2010-09-02 Thread Jacob Carlborg
On 2010-09-01 23:39, Andrej Mitrovic wrote: You mean like this?: module add_virtual_functions; import std.stdio : writeln; void main() { test(); } mixin template Foo() { void func() { writeln(Foo.func()); } } class Bar { void func() {

Re: Please comment on http://d-programming-language.org/

2010-09-02 Thread Jonathan M Davis
On Thursday 02 September 2010 00:03:33 Andrei Alexandrescu wrote: Time to zero in on the overall design and start working on the content. Please give the design one more round of comments. Thanks, Andrei Overall, it looks good, though I have to agree with Nick that the flare should go.

Re: Please comment on http://d-programming-language.org/

2010-09-02 Thread Jacob Carlborg
On 2010-09-02 09:48, Nick Sabalausky wrote: Andrei Alexandrescuseewebsiteforem...@erdani.org wrote in message news:i5ni8j$1nk...@digitalmars.com... Time to zero in on the overall design and start working on the content. Please give the design one more round of comments. I think I would try

Re: [OT] Dark Star (1974) - the platinum age of movies

2010-09-02 Thread Walter Bright
Nick Sabalausky wrote: What do you think about Solaris? I've heard reviewers praising it for being real science fiction, so I've been tempted to try it out of sheer curiosity, but I've never felt confident enough about it to actually give it a try. I watched the original russian one. It's

Re: Please comment on http://d-programming-language.org/

2010-09-02 Thread Arth Lloyd Flores
It looks neat :D Much better than the old one IMHO.. On Thu, Sep 2, 2010 at 3:03 PM, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: Time to zero in on the overall design and start working on the content. Please give the design one more round of comments. Thanks, Andrei --

do D support something like C# 4.0 co/contra-variance?

2010-09-02 Thread dennis
http://blog.t-l-k.com/dot-net/2009/c-sharp-4-covariance-and-contravariance

Re: do D support something like C# 4.0 co/contra-variance?

2010-09-02 Thread bearophile
dennis: http://blog.t-l-k.com/dot-net/2009/c-sharp-4-covariance-and-contravariance I think D2 doesn't support those things yes. But they are useful and may be added to D3. Bye, bearophile

Re: Please comment on http://d-programming-language.org/

2010-09-02 Thread Michal Minich
On Thu, 02 Sep 2010 02:03:33 -0500, Andrei Alexandrescu wrote: Time to zero in on the overall design and start working on the content. Please give the design one more round of comments. Thanks, Andrei Few opinions and observations: 1. It is common practice that clicking on site logo

Re: Please comment on http://d-programming-language.org/

2010-09-02 Thread filgood
Andrei Alexandrescu Wrote: Time to zero in on the overall design and start working on the content. Please give the design one more round of comments. Thanks, Andrei Hi, I think fonts are slightly too big and the text maybe spaced too much. Also, I don't feel you should place the

Re: Please comment on http://d-programming-language.org/

2010-09-02 Thread Gareth Charnock
On 02/09/10 09:46, Jacob Carlborg wrote: On 2010-09-02 09:48, Nick Sabalausky wrote: Andrei Alexandrescuseewebsiteforem...@erdani.org wrote in message news:i5ni8j$1nk...@digitalmars.com... Time to zero in on the overall design and start working on the content. Please give the design one more

Re: Please comment on http://d-programming-language.org/

2010-09-02 Thread retard
Thu, 02 Sep 2010 07:36:43 -0400, bearophile wrote: Andrei Alexandrescu: Time to zero in on the overall design and start working on the content. Please give the design one more round of comments. My opinions: - The menu on the left is too much wide horizontally - I don't like the window

Re: Please comment on http://d-programming-language.org/

2010-09-02 Thread Gareth Charnock
PS: Google Chrome on a 1680x1050 resolution display. I'm afraid I really like the red flare; it makes the website look more visually appealing. A solid background colour would just look blander. However, I agree with the comments about the c1.gif and d3.gif images. They don't really fit with

Re: [Slight OT] TDPL in Russia

2010-09-02 Thread retard
Wed, 01 Sep 2010 21:14:20 -0700, Walter Bright wrote: BCS wrote: And there are people who will buy $5 a cup coffee when they really do like the $.50 stuff better. They are called snobs. I had fun at a wine tasting when I picked the cheapest wine of the lot as my favorite. Hilarity ensued.

Re: do D support something like C# 4.0 co/contra-variance?

2010-09-02 Thread Michal Minich
On Thu, 02 Sep 2010 07:38:24 -0400, bearophile wrote: dennis: http://blog.t-l-k.com/dot-net/2009/c-sharp-4-covariance-and- contravariance I think D2 doesn't support those things yes. But they are useful and may be added to D3. Bye, bearophile I did not explored this area much, but it

Re: Please comment on http://d-programming-language.org/

2010-09-02 Thread retard
Thu, 02 Sep 2010 13:31:03 +0100, Gareth Charnock wrote: PS: Google Chrome on a 1680x1050 resolution display. I'm afraid I really like the red flare; it makes the website look more visually appealing. A solid background colour would just look blander. However, I agree with the comments about

Re: [Slight OT] TDPL in Russia

2010-09-02 Thread Steven Schveighoffer
On Thu, 02 Sep 2010 01:53:41 -0400, Nick Sabalausky a...@a.a wrote: Walter Bright newshou...@digitalmars.com wrote in message news:i5nco0$1bp...@digitalmars.com... Nick Sabalausky wrote: That's all I can think of. Certainly nothing from Apple since Woz left, and that's the company most people

Re: [D.typesystem] Static (CT) enforce anybody?

2010-09-02 Thread Steven Schveighoffer
On Wed, 01 Sep 2010 17:11:50 -0400, Jonathan M Davis jmdavisp...@gmail.com wrote: On Wednesday, September 01, 2010 13:54:15 Philippe Sigaud wrote: On Wed, Sep 1, 2010 at 22:37, bearophile bearophileh...@lycos.com wrote: Philippe Sigaud: Yes, Steve is right. Also, you cannot throw

Re: Bug 3999 and 4261

2010-09-02 Thread Steven Schveighoffer
On Wed, 01 Sep 2010 17:12:04 -0400, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: On 9/1/10 15:35 CDT, bearophile wrote: so: Another taste discussion? Nope. - Steven Schveighoffer: And I think if you have an idea to try and fix it, you might as well know

Re: Please comment on http://d-programming-language.org/

2010-09-02 Thread Alexander Malakhov
Andrei Alexandrescu seewebsiteforem...@erdani.org писал(а) в своём письме Thu, 02 Sep 2010 14:03:33 +0700: Time to zero in on the overall design and start working on the content. Please give the design one more round of comments. Thanks, Andrei 1. There should be Contibute section on

Re: Miscellaneous memory management questions

2010-09-02 Thread Simen kjaeraas
Peter Alexander peter.alexander...@gmail.com wrote: Hi, I've not been staying up to date on the new/delete discussions and related memory management issues, so I have a few questions. 1. How do I disable the GC? In a way, you don't. You can, however, replace it with a stub GC. According

Re: Miscellaneous memory management questions

2010-09-02 Thread Steven Schveighoffer
On Thu, 02 Sep 2010 09:31:22 -0400, Simen kjaeraas simen.kja...@gmail.com wrote: Peter Alexander peter.alexander...@gmail.com wrote: Hi, I've not been staying up to date on the new/delete discussions and related memory management issues, so I have a few questions. 1. How do I disable

Re: do D support something like C# 4.0 co/contra-variance?

2010-09-02 Thread Michal Minich
On Thu, 02 Sep 2010 07:38:24 -0400, bearophile wrote: dennis: http://blog.t-l-k.com/dot-net/2009/c-sharp-4-covariance-and- contravariance I think D2 doesn't support those things yes. But they are useful and may be added to D3. Bye, bearophile I just found...

Re: Please comment on http://d-programming-language.org/

2010-09-02 Thread Andrei Alexandrescu
On 09/02/2010 02:50 AM, Nick Sabalausky wrote: Nick Sabalauskya...@a.a wrote in message news:i5nkrn$1tf...@digitalmars.com... Andrei Alexandrescuseewebsiteforem...@erdani.org wrote in message news:i5ni8j$1nk...@digitalmars.com... Time to zero in on the overall design and start working on the

Re: [OT] Dark Star (1974) - the platinum age of movies

2010-09-02 Thread Andrei Alexandrescu
On 09/02/2010 04:47 AM, Walter Bright wrote: Nick Sabalausky wrote: What do you think about Solaris? I've heard reviewers praising it for being real science fiction, so I've been tempted to try it out of sheer curiosity, but I've never felt confident enough about it to actually give it a try.

Re: Please comment on http://d-programming-language.org/

2010-09-02 Thread Andrej Mitrovic
Is this site going to replace the D2 pages on digitalmars.com? E.g.: http://www.digitalmars.com/d/2.0/index.html In any case, I'm fine with the design.. well except that red flare which I'll never understand. Luckily I can just adblock an image and the site looks nice then. :p But we might as

Re: Please comment on http://d-programming-language.org/

2010-09-02 Thread klickverbot
On http://d-programming-language.org/memory-safe-d.html, the menu sidebar (which is a bit on the long side for the language reference in my mind) extends below the footer, which looks awkward. Also, I personally think that the logo header in its current state is plain ugly – maybe making the

Overloading + on points

2010-09-02 Thread Eduardo Cavazos
Eduardo Cavazos wayo.cavazos at gmail.com wrote: Here's a short program which creates a type for points and overloads '+' to do element wise addition as well as addition to floats, however it produces an error: -- import

Re: [D.typesystem] Static (CT) enforce anybody?

2010-09-02 Thread Don
Steven Schveighoffer wrote: On Wed, 01 Sep 2010 17:11:50 -0400, Jonathan M Davis jmdavisp...@gmail.com wrote: On Wednesday, September 01, 2010 13:54:15 Philippe Sigaud wrote: On Wed, Sep 1, 2010 at 22:37, bearophile bearophileh...@lycos.com wrote: Philippe Sigaud: Yes, Steve is right.

Re: [D.typesystem] Suggestion for improving OO inheritance models

2010-09-02 Thread Andrej Mitrovic
Yeah, my mistake. I missread your post. :) But, you can use mixin expressions to add overloaded methods. E.g.: import std.stdio; class Bar { void func() { writeln(Bar.func()); } mixin(void func(string x) { writeln(x); }); } void main() { Bar bar = new Bar;

Re: Overloading + on points

2010-09-02 Thread Simen kjaeraas
Eduardo Cavazos wayo.cava...@gmail.com wrote: Pt opBinary( string op : +, T : Pt )( T a ) {...} Pt opBinary( string op : +, T : float )( T a ) {...} Pt opBinary( string op, T )( T a ) if ( ( op == + ) is( T == Pt ) ) {...} Pt opBinary( string op, T )( T a ) if ( ( op == + ) is( T == float

Re: [D.typesystem] Static (CT) enforce anybody?

2010-09-02 Thread bearophile
Don: Writing the compiler in D would be great, but it's a long way off. This will happen a lot sooner than that. Is is possiblegood to rewrite in D just the D interpreter used for CTFE? Bye, bearophile

Re: [D.typesystem] Static (CT) enforce anybody?

2010-09-02 Thread Denis Koroskin
On Thu, 02 Sep 2010 18:55:14 +0400, Don nos...@nospam.com wrote: Steven Schveighoffer wrote: On Wed, 01 Sep 2010 17:11:50 -0400, Jonathan M Davis jmdavisp...@gmail.com wrote: On Wednesday, September 01, 2010 13:54:15 Philippe Sigaud wrote: On Wed, Sep 1, 2010 at 22:37, bearophile

Re: [D.typesystem] Static (CT) enforce anybody?

2010-09-02 Thread dsimcha
== Quote from Denis Koroskin (2kor...@gmail.com)'s article DDMD advances pretty fast, it can already compile druntime, phobos and some of the applications. We also started updating it to newer versions, so it's catching up (ddmd is at 2.036 atm). GC is disabled atm due to memory corruptions

Re: [D.typesystem] Static (CT) enforce anybody?

2010-09-02 Thread dsimcha
== Quote from dsimcha (dsim...@yahoo.com)'s article BTW, is DDMD targeting D1 or D2? Clarification of an ambiguous question: I know DDMD is supposed to compile D2. Is the code to DDMD itself written in D1 or D2?

Re: [D.typesystem] Static (CT) enforce anybody?

2010-09-02 Thread Andrej Mitrovic
According to this it's DMD2: http://www.dsource.org/projects/ddmd/wiki/BuildInstructions/Windows 2010/9/2 dsimcha dsim...@yahoo.com: == Quote from dsimcha (dsim...@yahoo.com)'s article BTW, is DDMD targeting D1 or D2? Clarification of an ambiguous question:  I know DDMD is supposed to compile

Re: Please comment on http://d-programming-language.org/

2010-09-02 Thread Kevin Watters
I definitely agree--the Digital Mars logo shouldn't be so prominent. Also that clicking it takes you to digitalmars.com is weird--a user will definitely expect to be taken back to / instead. As for thoughts on a logo itself, just something simple with a unique font like the one at

Re: do D support something like C# 4.0 co/contra-variance?

2010-09-02 Thread Olivier Pisano
Le 02/09/2010 13:38, bearophile a écrit : dennis: http://blog.t-l-k.com/dot-net/2009/c-sharp-4-covariance-and-contravariance I think D2 doesn't support those things yes. But they are useful and may be added to D3. Bye, bearophile I was sure D did support covariance for the return types of

Re: Please comment on http://d-programming-language.org/

2010-09-02 Thread Nick Sabalausky
Nick Sabalausky a...@a.a wrote in message news:i5nkrn$1tf...@digitalmars.com... Andrei Alexandrescu seewebsiteforem...@erdani.org wrote in message news:i5ni8j$1nk...@digitalmars.com... Time to zero in on the overall design and start working on the content. Please give the design one more

Re: [OT] Dark Star (1974) - the platinum age of movies

2010-09-02 Thread Walter Bright
Andrei Alexandrescu wrote: On 09/02/2010 04:47 AM, Walter Bright wrote: Nick Sabalausky wrote: What do you think about Solaris? I've heard reviewers praising it for being real science fiction, so I've been tempted to try it out of sheer curiosity, but I've never felt confident enough about it

Re: [Slight OT] TDPL in Russia

2010-09-02 Thread Walter Bright
retard wrote: In more expensive countries the same quality costs 5..20 times as much. Import duties and liquor taxes may play a role in that.

Re: [Slight OT] TDPL in Russia

2010-09-02 Thread Walter Bright
Steven Schveighoffer wrote: iPhone is hands down the best phone I've ever used. I thought when I got it, I would have a hard time accessing small things like the on-screen keyboard keys, but I'm surprised at how accurate I am with it, even after only having it for a few months. I regularly

Re: [D.typesystem] Static (CT) enforce anybody?

2010-09-02 Thread Don
Denis Koroskin wrote: On Thu, 02 Sep 2010 18:55:14 +0400, Don nos...@nospam.com wrote: Steven Schveighoffer wrote: On Wed, 01 Sep 2010 17:11:50 -0400, Jonathan M Davis jmdavisp...@gmail.com wrote: On Wednesday, September 01, 2010 13:54:15 Philippe Sigaud wrote: On Wed, Sep 1, 2010 at

Re: Please comment on http://d-programming-language.org/

2010-09-02 Thread Nick Sabalausky
Nick Sabalausky a...@a.a wrote in message news:i5nkrn$1tf...@digitalmars.com... Andrei Alexandrescu seewebsiteforem...@erdani.org wrote in message news:i5ni8j$1nk...@digitalmars.com... Time to zero in on the overall design and start working on the content. Please give the design one more

Re: do D support something like C# 4.0 co/contra-variance?

2010-09-02 Thread Nick Sabalausky
Olivier Pisano olivier.pis...@laposte.net wrote in message news:i5oq50$1i0...@digitalmars.com... Le 02/09/2010 13:38, bearophile a écrit : dennis: http://blog.t-l-k.com/dot-net/2009/c-sharp-4-covariance-and-contravariance I think D2 doesn't support those things yes. But they are useful and

D Compiler for .NET

2010-09-02 Thread William Irwin
Hi All I downloaded and had a play with this. It's a good start. It seems the last commit at http://dnet.codeplex.com/ was this time last year. There also have been no updates at http://the-free-meme.blogspot.com/ for the last year. It seems a little bit abandoned, I think maybe we need to

Re: [OT] Dark Star (1974) - the platinum age of movies

2010-09-02 Thread BLS
On 02/09/2010 09:28, Nick Sabalausky wrote: What do you think about Solaris? I've heard reviewers praising it for being real science fiction, so I've been tempted to try it out of sheer curiosity, but I've never felt confident enough about it to actually give it a try. The movies both the

Re: [Challenge] implementing the ambiguous operator in D

2010-09-02 Thread Philippe Sigaud
On Thu, Sep 2, 2010 at 09:06, Peter Alexander peter.alexander...@gmail.comwrote: On 2/09/10 7:34 AM, Pelle wrote: It needs opEquals :-) Yeah, it needs a lot of things :) You could easily add unary operators as well (e.g. so that -amb([1, 2]) == [-1, -2]. I didn't bother adding more than

Re: [OT] Dark Star (1974) - the platinum age of movies

2010-09-02 Thread Andrei Alexandrescu
On 9/2/10 14:01 CDT, Walter Bright wrote: Andrei Alexandrescu wrote: On 09/02/2010 04:47 AM, Walter Bright wrote: Nick Sabalausky wrote: What do you think about Solaris? I've heard reviewers praising it for being real science fiction, so I've been tempted to try it out of sheer curiosity, but

Re: [Slight OT] TDPL in Russia

2010-09-02 Thread Nick Sabalausky
Steven Schveighoffer schvei...@yahoo.com wrote in message news:op.vieozxaleav...@localhost.localdomain... On Thu, 02 Sep 2010 01:53:41 -0400, Nick Sabalausky a...@a.a wrote: The pre-release iterations are completely irrelevant. If the end result is something with nearly-zero tactile

Re: [OT] Dark Star (1974) - the platinum age of movies

2010-09-02 Thread Nick Sabalausky
Andrei Alexandrescu seewebsiteforem...@erdani.org wrote in message news:i5ov2v$2c0...@digitalmars.com... On 9/2/10 14:01 CDT, Walter Bright wrote: Andrei Alexandrescu wrote: On 09/02/2010 04:47 AM, Walter Bright wrote: Nick Sabalausky wrote: What do you think about Solaris? I've heard

Re: [Slight OT] TDPL in Russia

2010-09-02 Thread Nick Sabalausky
Nick Sabalausky a...@a.a wrote in message news:i5ov60$2c5...@digitalmars.com... Steven Schveighoffer schvei...@yahoo.com wrote in message news:op.vieozxaleav...@localhost.localdomain... Love my iPhone. Love it. My last two phones were a Palm Treo and a Samsung touch-screen (w/stylus)

Re: [OT] Dark Star (1974) - the platinum age of movies

2010-09-02 Thread Andrei Alexandrescu
On 9/2/10 14:55 CDT, Nick Sabalausky wrote: Andrei Alexandrescuseewebsiteforem...@erdani.org wrote in message news:i5ov2v$2c0...@digitalmars.com... On 9/2/10 14:01 CDT, Walter Bright wrote: Andrei Alexandrescu wrote: On 09/02/2010 04:47 AM, Walter Bright wrote: Nick Sabalausky wrote: What

Re: [OT] Dark Star (1974) - the platinum age of movies

2010-09-02 Thread bearophile
BLS: But if you like SF, buy the book from Stanislaw Lem. IMO the best SF author and philosopher ever. The SF author I like most is Greg Egan. Any group of ten of his short stories contain more ideas than the whole career of an average SF author :-) Bye, bearophile

Re: [OT] Dark Star (1974) - the platinum age of movies

2010-09-02 Thread Nick Sabalausky
Andrei Alexandrescu seewebsiteforem...@erdani.org wrote in message news:i5p06p$2dq...@digitalmars.com... On 9/2/10 14:55 CDT, Nick Sabalausky wrote: Andrei Alexandrescuseewebsiteforem...@erdani.org wrote in message news:i5ov2v$2c0...@digitalmars.com... The scene was of the main character

Re: [OT] Dark Star (1974) - the platinum age of movies

2010-09-02 Thread Max Samukha
On 09/02/2010 11:07 PM, Andrei Alexandrescu wrote: Difference is, The Bicentennial Man and The Man Who Fell To Earth don't hold a candle to Solaris. Interestingly, Lem didn't like the movie at all: http://en.wikipedia.org/wiki/Solaris_%281972_film%29#Reception_and_legacy

Re: [OT] Dark Star (1974) - the platinum age of movies

2010-09-02 Thread Andrei Alexandrescu
On 9/2/10 15:31 CDT, Max Samukha wrote: On 09/02/2010 11:07 PM, Andrei Alexandrescu wrote: Difference is, The Bicentennial Man and The Man Who Fell To Earth don't hold a candle to Solaris. Interestingly, Lem didn't like the movie at all:

Re: Bug 3999 and 4261

2010-09-02 Thread so
Does this mean no more defining bits as enums? Now that would be brutal, it is one of the best use cases of enum if not the best... -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

Re: [OT] Dark Star (1974) - the platinum age of movies

2010-09-02 Thread so
On Thu, 02 Sep 2010 12:47:01 +0300, Walter Bright newshou...@digitalmars.com wrote: Nick Sabalausky wrote: What do you think about Solaris? I've heard reviewers praising it for being real science fiction, so I've been tempted to try it out of sheer curiosity, but I've never felt confident

Re: Bug 3999 and 4261

2010-09-02 Thread bearophile
Steven Schveighoffer: enum myBits { flag1 = 1; flag2 = 2; flag3 = 4; } void fn(int flags); fn(myBits.flag1 | myBits.flag2); That was the one case where I really like the implicit conversion. Thank you for that important use case. enum is used for three different

Re: Bug 3999 and 4261

2010-09-02 Thread Don
so wrote: Does this mean no more defining bits as enums? Now that would be brutal, it is one of the best use cases of enum if not the best... Yes. I reckon, if an enum doesn't explicitly define the value of each member, it shouldn't implicitly convert to int -- and it should not be

Re: Please comment on http://d-programming-language.org/

2010-09-02 Thread Kagamin
Andrei Alexandrescu Wrote: Time to zero in on the overall design and start working on the content. Please give the design one more round of comments. Doesn't scale well when I increase font size.

Re: Bug 3999 and 4261

2010-09-02 Thread bearophile
Don: OTOH if each member has an explicitly defined value, it's reasonable to perform logical operations on it. See my recent answer to Schveighoffer. I think that's not a fully good idea because when you define an enum like that and you use its values as powers-of-two flags, the type system

Re: [Challenge] implementing the ambiguous operator in D

2010-09-02 Thread Nick Sabalausky
Philippe Sigaud philippe.sig...@gmail.com wrote in message news:mailman.42.1283371696.858.digitalmar...@puremagic.com... Hey, this question on SO makes for a good challenge: http://stackoverflow.com/questions/3608834/is-it-possible-to-generically-implement-the-amb-operator-in-d The amb

Re: Bug 3999 and 4261

2010-09-02 Thread Nick Sabalausky
bearophile bearophileh...@lycos.com wrote in message news:i5p63u$2pl...@digitalmars.com... Don: OTOH if each member has an explicitly defined value, it's reasonable to perform logical operations on it. See my recent answer to Schveighoffer. I think that's not a fully good idea because when

Re: Bug 3999 and 4261

2010-09-02 Thread bearophile
the type system doesn't help you enforce it is a true combination of the flags instead of a generic number I have used std.bitmanip.bitfields some time, and in my opinion its best quality is its overflow tests. They have caught few of my bugs (it's easy to overflow such little numbers).

Re: [OT] Dark Star (1974) - the platinum age of movies

2010-09-02 Thread Walter Bright
Nick Sabalausky wrote: Well that's good to hear then. Although in the case of The Man Who Fell To Earth, I got the impression that even really artsy-film fans probably wouldn't have liked it either. Even for what it was trying to be, it didn't seem very well done. Zardoz can never be

Re: [OT] Dark Star (1974) - the platinum age of movies

2010-09-02 Thread Walter Bright
Andrei Alexandrescu wrote: The scene was of the main character driving on a busy highway into a crowded metropolis. The meaning was to question the veracity and meaning of perception, existence, and human interaction - all of which are central themes in the movie. This sounds more like an

Re: [OT] Dark Star (1974) - the platinum age of movies

2010-09-02 Thread bearophile
Walter Bright: Zardoz can never be topped! http://craptastictv.com/wp-content/uploads/zardoz.jpg I think Sean Connery is having nightmares still about that carnivalesque look :-) Bye, bearophile

Re: [OT] Dark Star (1974) - the platinum age of movies

2010-09-02 Thread Nick Sabalausky
Walter Bright newshou...@digitalmars.com wrote in message news:i5p72r$2r7...@digitalmars.com... Nick Sabalausky wrote: Well that's good to hear then. Although in the case of The Man Who Fell To Earth, I got the impression that even really artsy-film fans probably wouldn't have liked it

Re: Please comment on http://d-programming-language.org/

2010-09-02 Thread Michel Fortin
On 2010-09-02 03:03:33 -0400, Andrei Alexandrescu seewebsiteforem...@erdani.org said: Time to zero in on the overall design and start working on the content. Please give the design one more round of comments. Andrei, if your system language (or browser language) is set to something other

Re: Please comment on http://d-programming-language.org/

2010-09-02 Thread Michel Fortin
On 2010-09-02 15:10:52 -0400, Nick Sabalausky a...@a.a said: Nick Sabalausky a...@a.a wrote in message news:i5nkrn$1tf...@digitalmars.com... Andrei Alexandrescu seewebsiteforem...@erdani.org wrote in message news:i5ni8j$1nk...@digitalmars.com... Time to zero in on the overall design and start

Re: [OT] Dark Star (1974) - the platinum age of movies

2010-09-02 Thread Walter Bright
Andrei Alexandrescu wrote: The scene was of the main character driving on a busy highway into a crowded metropolis. The meaning was to question the veracity and meaning of perception, existence, and human interaction - all of which are central themes in the movie. But if I showed you 15

Re: [Challenge] implementing the ambiguous operator in D

2010-09-02 Thread Nick Sabalausky
Nick Sabalausky a...@a.a wrote in message news:i5p68t$2pt...@digitalmars.com... Philippe Sigaud philippe.sig...@gmail.com wrote in message news:mailman.42.1283371696.858.digitalmar...@puremagic.com... Hey, this question on SO makes for a good challenge:

Re: [OT] Dark Star (1974) - the platinum age of movies

2010-09-02 Thread Nick Sabalausky
Walter Bright newshou...@digitalmars.com wrote in message news:i5pa6s$316...@digitalmars.com... Andrei Alexandrescu wrote: The scene was of the main character driving on a busy highway into a crowded metropolis. The meaning was to question the veracity and meaning of perception, existence,

Re: Please comment on http://d-programming-language.org/

2010-09-02 Thread Nick Sabalausky
Michel Fortin michel.for...@michelf.com wrote in message news:i5pa3l$318...@digitalmars.com... On 2010-09-02 15:10:52 -0400, Nick Sabalausky a...@a.a said: Nick Sabalausky a...@a.a wrote in message news:i5nkrn$1tf...@digitalmars.com... Andrei Alexandrescu seewebsiteforem...@erdani.org wrote

Re: [Slight OT] TDPL in Russia

2010-09-02 Thread retard
Thu, 02 Sep 2010 16:03:59 -0400, Nick Sabalausky wrote: J. What happens when the battery gets old and won't hold a charge? You buy a new one, of course. Why this will never happen is that once a new model of the iShit comes out, as a die hard Apple fan you simply MUST buy it and get rid of

Re: [Slight OT] TDPL in Russia

2010-09-02 Thread Nick Sabalausky
retard r...@tard.com.invalid wrote in message news:i5pc2e$2l...@digitalmars.com... Thu, 02 Sep 2010 16:03:59 -0400, Nick Sabalausky wrote: J. What happens when the battery gets old and won't hold a charge? You buy a new one, of course. Why this will never happen is that once a new model of

Re: [OT] Dark Star (1974) - the platinum age of movies

2010-09-02 Thread Andrei Alexandrescu
On 9/2/10 17:03 CDT, Walter Bright wrote: Andrei Alexandrescu wrote: The scene was of the main character driving on a busy highway into a crowded metropolis. The meaning was to question the veracity and meaning of perception, existence, and human interaction - all of which are central themes in

Re: [OT] Dark Star (1974) - the platinum age of movies

2010-09-02 Thread Andrei Alexandrescu
On 9/2/10 17:58 CDT, Walter Bright wrote: Andrei Alexandrescu wrote: The scene was of the main character driving on a busy highway into a crowded metropolis. The meaning was to question the veracity and meaning of perception, existence, and human interaction - all of which are central themes in

Re: [Slight OT] TDPL in Russia

2010-09-02 Thread Michel Fortin
On 2010-09-02 15:05:26 -0400, Walter Bright newshou...@digitalmars.com said: Steven Schveighoffer wrote: iPhone is hands down the best phone I've ever used. I thought when I got it, I would have a hard time accessing small things like the on-screen keyboard keys, but I'm surprised at how

Re: Please comment on http://d-programming-language.org/

2010-09-02 Thread Michel Fortin
On 2010-09-02 19:24:41 -0400, Nick Sabalausky a...@a.a said: Michel Fortin michel.for...@michelf.com wrote in message news:i5pa3l$318...@digitalmars.com... On 2010-09-02 15:10:52 -0400, Nick Sabalausky a...@a.a said: Another thing: At the bottom of the left-nav column it says Translate this

Re: Please comment on http://d-programming-language.org/

2010-09-02 Thread Stewart Gordon
On 02/09/2010 23:56, Michel Fortin wrote: On 2010-09-02 15:10:52 -0400, Nick Sabalausky a...@a.a said: Nick Sabalausky a...@a.a wrote in message news:i5nkrn$1tf...@digitalmars.com... Andrei Alexandrescu seewebsiteforem...@erdani.org wrote in message news:i5ni8j$1nk...@digitalmars.com... Time

Re: [OT] Dark Star (1974) - the platinum age of movies

2010-09-02 Thread Walter Bright
Andrei Alexandrescu wrote: That you didn't find anything in it doesn't automatically make it crappy. Yes it does!

Re: [Slight OT] TDPL in Russia

2010-09-02 Thread Walter Bright
Michel Fortin wrote: Basically, you wanted to do what I did with my website. What was the problem exactly? Creating a style sheet that displays the contents well when read linearly? Or was it about how to trigger this particular style sheet for iPhone and iPods? The later's quite simple, just

  1   2   >