meaning import order?

2011-11-13 Thread Alexey Veselovsky
= $ cat main.d import std = std.stdio; import std.socket; import std.array; import std.getopt; void main() { std.writeln("bar");} == compiles ok. But: import std.socket; import std.array; import std.getopt; import std = std.stdio; void main() { std.writel

Re: Website message overhaul

2011-11-13 Thread Jacob Carlborg
On 2011-11-14 02:50, Andrei Alexandrescu wrote: Walter and I have been working on the website for a while. We want to crystallize a clear message of what the D programming language is. Please take a look at http://d-programming-language.org/new/. The work is content-only (no significant changes

Re: Website message overhaul

2011-11-13 Thread Jude Young
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/13/2011 07:50 PM, Andrei Alexandrescu wrote: > Walter and I have been working on the website for a while. We want > to crystallize a clear message of what the D programming language > is. > > Please take a look at http://d-programming-language.o

Re: Apache redirect digitalmars.com/d/2.0 -> d-programming-language.org

2011-11-13 Thread Jude Young
On Sun 13 Nov 2011 06:43:31 PM CST, Andrei Alexandrescu wrote: > Turns out all .htaccess use was disabled by the admin (Jan Knepper). > He added the redirect straight to the config file of the server. > > Now everything with the prefix http://digitalmars.com/d/2.0/ or > http://www.digitalmars.com/d

Re: goto case warning

2011-11-13 Thread J Arrizza
I've been trying some other mods of this and it looks like it's somehow related to imports of files from another directory. First, I went back to a working version which still works. Then I did a couple of tests: 1) split off the two classes that used the Variant class. Still worked ok. That is:

Re: Website message overhaul

2011-11-13 Thread Jonathan M Davis
On Sunday, November 13, 2011 20:27:27 Andrei Alexandrescu wrote: > On 11/13/11 8:22 PM, Jonathan M Davis wrote: > > Nitpick: "all major D contrib tors, including..." should be "all major D > > contributors, including..." > > Not getting this... I see the right text. Looking at the html source for

Re: Website message overhaul

2011-11-13 Thread Andrei Alexandrescu
On 11/13/11 8:37 PM, bearophile wrote: Andrei Alexandrescu: Feedback is welcome. The overall look is nice, I like the foldable examples, but I think there's too much text for a home page. I think it's better to move lot of text in a "introduction" page. I suggest to avoid titles like "Mult

Re: Website message overhaul

2011-11-13 Thread bearophile
Andrei Alexandrescu: > Feedback is welcome. The overall look is nice, I like the foldable examples, but I think there's too much text for a home page. I think it's better to move lot of text in a "introduction" page. I suggest to avoid titles like "Multi-paradigm power", because they sound a

Re: Website message overhaul

2011-11-13 Thread Andrei Alexandrescu
On 11/13/11 8:22 PM, Jonathan M Davis wrote: Are there any major differences other than the main page and the links to TDPL and the documentation on Kindle? The main page is a definite improvement, though I think that you managed to end up giving links to gdc and ldc without giving a link to dmd

Re: Website message overhaul

2011-11-13 Thread Andrei Alexandrescu
On 11/13/11 8:22 PM, Jonathan M Davis wrote: On Sunday, November 13, 2011 19:50:04 Andrei Alexandrescu wrote: Walter and I have been working on the website for a while. We want to crystallize a clear message of what the D programming language is. Please take a look at http://d-programming-langu

Re: Website message overhaul

2011-11-13 Thread Jonathan M Davis
On Sunday, November 13, 2011 19:50:04 Andrei Alexandrescu wrote: > Walter and I have been working on the website for a while. We want to > crystallize a clear message of what the D programming language is. > > Please take a look at http://d-programming-language.org/new/. The work > is content-only

Re: Website message overhaul

2011-11-13 Thread so
On Mon, 14 Nov 2011 03:50:04 +0200, Andrei Alexandrescu wrote: Walter and I have been working on the website for a while. We want to crystallize a clear message of what the D programming language is. Please take a look at http://d-programming-language.org/new/. The work is content-only (

Website message overhaul

2011-11-13 Thread Andrei Alexandrescu
Walter and I have been working on the website for a while. We want to crystallize a clear message of what the D programming language is. Please take a look at http://d-programming-language.org/new/. The work is content-only (no significant changes in style, though collapsible examples and twit

Re: Apache redirect digitalmars.com/d/2.0 -> d-programming-language.org

2011-11-13 Thread Andrei Alexandrescu
Turns out all .htaccess use was disabled by the admin (Jan Knepper). He added the redirect straight to the config file of the server. Now everything with the prefix http://digitalmars.com/d/2.0/ or http://www.digitalmars.com/d/2.0/ should redirect to the respective page on d-programming-langua

Re: [D-Programming-Deimos] Review process?

2011-11-13 Thread Walter Bright
On 11/13/2011 1:30 PM, David Nadlinger wrote: On 11/13/11 11:13 AM, Walter Bright wrote: Make a subdirectory called C and store the C .h files there. What is the point of keeping the C headers in a separate subdirectory? So the user can compare the D ones with the correct C ones. Johannes

Re: assert(obj) is an atrocity

2011-11-13 Thread bearophile
Jonathan M Davis: > The fun part about assert(obj) though is that it doesn't work with structs - > not directly anyway. If obj is a struct, assert(obj) tries to convert it to > bool like it would do normally. However, assert(&obj) _does_ call the > invariant. Pointers to structs are treated exa

Re: [D-Programming-Deimos] Review process?

2011-11-13 Thread maarten van damme
will the bindings project from dsource be added?

Re: assert(obj) is an atrocity

2011-11-13 Thread Jonathan M Davis
On Sunday, November 13, 2011 18:52:35 Alex Rønne Petersen wrote: > I'd just like to add, regarding asserting invariants: Why not just *make > invariants callable*? I.e. obj.invariant() invokes the invariant > function. invariant is already a keyword, and invariants are declared > like functions, so

Re: RFC curl

2011-11-13 Thread Jonas Drewsen
Den 12-11-2011 13:17, Marco Leise skrev: Am 11.11.2011, 16:30 Uhr, schrieb Marco Leise : Ok, let's do an experiment. I don't think I've seen community polls yet, so I created one on a random online poll site: http://www.easypolls.net/poll.html?p=4ebd3219011eb0e4518d35ab When everyone has cast

Re: [D-Programming-Deimos] Review process?

2011-11-13 Thread David Nadlinger
On 11/13/11 11:13 AM, Walter Bright wrote: Make a subdirectory called C and store the C .h files there. What is the point of keeping the C headers in a separate subdirectory? Johannes' automatic merging suggestion on d.D.announce seemed much more elegant to me, what's your opinion on that?

Re: [OT] Re: Bartosz about Chapel

2011-11-13 Thread Daniel Gibson
Am 12.11.2011 18:20, schrieb bcs: On 11/11/2011 12:26 PM, Daniel Gibson wrote: Am 11.11.2011 19:54, schrieb Ali Çehreli: On 11/11/2011 09:56 AM, Daniel Gibson wrote: > (Also none-ascii chars in code outside of strings is bad IMHO) In English code, right? :) There are real problems of using t

Re: Bartosz about Chapel

2011-11-13 Thread Norbert Nemec
On 08.11.2011 05:40, Caligo wrote: On Mon, Nov 7, 2011 at 7:51 PM, bearophile wrote: Bartosz talks a bit about the very nicely designed Chapel language: http://bartoszmilewski.wordpress.com/2011/11/07/supercomputing-in-seattle/ (But my appreciation for Chapel design is on other things). Bye

Re: assert(obj) is an atrocity

2011-11-13 Thread Alex Rønne Petersen
On 13-11-2011 19:43, Andrej Mitrovic wrote: On 11/13/11, Alex Rønne Petersen wrote: I'd just like to add, regarding asserting invariants: Why not just *make invariants callable*? I.e. obj.invariant() invokes the invariant function. I think you would have to wrap it as debug() { obj.invariant(

Re: Bartosz about Chapel

2011-11-13 Thread Walter Bright
On 11/13/2011 8:15 AM, Sean Kelly wrote: That hasn't been my experience, even at a community college I attended. I think it's really up to the teacher though, barring a school like Caltech that actually has policies to encourage better teaching methods. Ironically, some very well-respected school

Re: assert(obj) is an atrocity

2011-11-13 Thread Andrej Mitrovic
On 11/13/11, Alex Rønne Petersen wrote: > I'd just like to add, regarding asserting invariants: Why not just *make > invariants callable*? I.e. obj.invariant() invokes the invariant > function. I think you would have to wrap it as debug() { obj.invariant(); }, otherwise you would end up calling t

Re: State of LDC

2011-11-13 Thread dsimcha
On 11/13/2011 10:58 AM, bioinfornatics wrote: Maybe i have miss understood . you want build a lib as 32 binary so for this before you need have phobos and druntime as 32 bits. for build a library as 32 bits with ldc2 build as 64 you need you flag -m32. by default: - ldc2 64 do like -m64 - ldc

Re: assert(obj) is an atrocity

2011-11-13 Thread Alex Rønne Petersen
On 08-11-2011 23:35, Alex Rønne Petersen wrote: Hi, As the title suggests, I'm going to be rather blunt about this. assert(obj) testing the invariant *without* doing a null check is insane for the following reasons: 1) It is not what a user expects. It is *unintuitive*. 2) assert(!obj) does an

Re: Bartosz about Chapel

2011-11-13 Thread Nick Sabalausky
"Timon Gehr" wrote in message news:j9oorj$obn$1...@digitalmars.com... > On 11/13/2011 03:13 PM, Nick Sabalausky wrote: >> >> And then, there's also complexities that are for the better. For example, >> C++ AFAIK doesn't have IFTI. IFTI *is* an additional set of >> rules/complexities *in the langu

Re: Bartosz about Chapel

2011-11-13 Thread Sean Kelly
That hasn't been my experience, even at a community college I attended. I think it's really up to the teacher though, barring a school like Caltech that actually has policies to encourage better teaching methods. Ironically, some very well-respected schools seem to be big offenders. Berkeley, fo

Re: State of LDC

2011-11-13 Thread bioinfornatics
Le dimanche 13 novembre 2011 à 09:35 -0500, dsimcha a écrit : > On 11/13/2011 8:14 AM, bioinfornatics wrote: > > Le dimanche 13 novembre 2011 à 13:47 +0100, bioinfornatics a écrit : > >> -DD_FLAGS="-g;-w;-d;-m32" > > > > $ CFLAGS="${CFLAGS: -o -g -m32}" > > $ cmake -DD_FLAGS="-g;-w;-d;-m32" . > > >

Re: Bartosz about Chapel

2011-11-13 Thread Timon Gehr
On 11/13/2011 03:13 PM, Nick Sabalausky wrote: "Timon Gehr" wrote in message news:j9mtth$d26$1...@digitalmars.com... On 11/12/2011 09:05 PM, Somedude wrote: Le 12/11/2011 17:27, Timon Gehr a écrit : I tend to believe D is conceptually more complex than C++. Which means it allows for more expr

Re: [D-Programming-Deimos] Review process?

2011-11-13 Thread Jacob Carlborg
On 2011-11-13 04:00, Walter Bright wrote: On 11/5/2011 2:28 AM, Johannes Pfau wrote: Now that deimos is an organization and we can't use pull requests, how do we get new bindings into deimos? I'd still like to get my liblzma bindings in there: https://github.com/jpf91/deimos/tree/liblzma http

Re: State of LDC

2011-11-13 Thread dsimcha
On 11/13/2011 8:14 AM, bioinfornatics wrote: Le dimanche 13 novembre 2011 à 13:47 +0100, bioinfornatics a écrit : -DD_FLAGS="-g;-w;-d;-m32" $ CFLAGS="${CFLAGS: -o -g -m32}" $ cmake -DD_FLAGS="-g;-w;-d;-m32" . it works ? Wouldn't that just cause the libs to be built as 32-bit only? I want

Re: Bartosz about Chapel

2011-11-13 Thread Nick Sabalausky
"Timon Gehr" wrote in message news:j9mtth$d26$1...@digitalmars.com... > On 11/12/2011 09:05 PM, Somedude wrote: >> Le 12/11/2011 17:27, Timon Gehr a écrit : I tend to believe D is conceptually more complex than C++. Which means it allows for more expressivity. >>> >>> What makes you thi

Re: Bartosz about Chapel

2011-11-13 Thread Nick Sabalausky
"Walter Bright" wrote in message news:j9mjc8$2rln$1...@digitalmars.com... > On 11/12/2011 9:15 AM, bcs wrote: >> The/a solution to the cheating problem at anything but the last set of >> classes >> is to make the next set of classes *painful* to take if you don't know >> the >> materiel from th

I'm sorryI come here and tell you bad thingss

2011-11-13 Thread JimB
I don't really do that. well I don't know. It's very hard. would I tell you about the girl that I grew up with or lament that she is now my age? and you're not bad how? I hate your. I'm going to bed and try to find. ni, I just hate you.

Re: State of LDC

2011-11-13 Thread bioinfornatics
Le dimanche 13 novembre 2011 à 13:47 +0100, bioinfornatics a écrit : > -DD_FLAGS="-g;-w;-d;-m32" $ CFLAGS="${CFLAGS: -o -g -m32}" $ cmake -DD_FLAGS="-g;-w;-d;-m32" . it works ?

I am, you're not

2011-11-13 Thread JimB
Proof positive: I couldn't land a girl in 4, 5, 6 hours online. It means I gotta put CDs in the computer by my bed and escape there. This is very bad. I know that. And I know it is very priviliged. I worry about living in th wild.

I know why

2011-11-13 Thread JimB
I wasted a lot of my time. I am glad I didn't have people following me and wasting their time too. I come here and cry because I wish it wasn't that. But I can't change that. I come here all the time and say the same thing. I cannnot guarantee I won't do this again. Right now I am trying to fin

Re: State of LDC

2011-11-13 Thread bioinfornatics
Le samedi 12 novembre 2011 à 10:24 -0500, dsimcha a écrit : > On 11/11/2011 1:32 PM, bioinfornatics wrote: > > did you have a conf file here: /etc/ldc2.conf > > if yes could you try this: > > # mv /etc/ldc2.conf /etc/ldc2.conf.back > > # mv /etc/ldc2.rebuild.conf /etc/ldc2.rebuild.conf.back > > and

that's it

2011-11-13 Thread JimB
so is what my drunkeness has found tonight, but I can find more with your donations and gifts of love.

there is no war

2011-11-13 Thread JimB
there is only rape

tomorrow we can talk about integers

2011-11-13 Thread JimB
or maybe today the president sacrificed his life so you can do that. Now go vote, and bring your fucking shine box.

I don't think the son of a bitch wants the job

2011-11-13 Thread JimB
So let it be written.

I don't think any son of a bitch wamts that job

2011-11-13 Thread JimB
If that's not the job, I just made it so. Death is not an option unless you are volunteering. Uh uh what...? You want the job or not: next person to die is you. Collect your fund. Are you sure you wanna be president?

If the "job" was next one dead is the President

2011-11-13 Thread JimB
would they be vying for the position?

Re: Non-Virtual Interface and Interface Implementation

2011-11-13 Thread Matthias Frei
On 11/11/2011 05:38 PM, Trass3r wrote: Am 11.11.2011, 17:16 Uhr, schrieb Matthias Frei : Hi, i had the seemingly innocent idea to use the "NVI idiom" in the following way: interface Foo { void foo(); } interface FooFoo : Foo { final void foo() { // do something with bar() } void bar(); } cl

Re: [D-Programming-Deimos] Review process?

2011-11-13 Thread Walter Bright
On 11/13/2011 1:56 AM, Johannes Pfau wrote: Walter Bright wrote: On 11/5/2011 2:28 AM, Johannes Pfau wrote: Now that deimos is an organization and we can't use pull requests, how do we get new bindings into deimos? I'd still like to get my liblzma bindings in there: https://github.com/jpf91/de

Re: [D-Programming-Deimos] Review process?

2011-11-13 Thread Johannes Pfau
Walter Bright wrote: >On 11/5/2011 2:28 AM, Johannes Pfau wrote: >> Now that deimos is an organization and we can't use pull requests, >> how do we get new bindings into deimos? >> >> I'd still like to get my liblzma bindings in there: >> https://github.com/jpf91/deimos/tree/liblzma > >https://gith