- $1300 for the flight.
--
Derek Parnell
by the application code and the package code.
--
Derek Parnell
Melbourne, Australia
literals will not be so aligned any more. That might not be an issue but
I'm just curious.
--
Derek Parnell
Melbourne, Australia
); // is equivalent to
bar!(int, int, int).bar(a, b, c);
--
Derek Parnell
Melbourne, Australia
On Sun, 18 Mar 2012 19:16:02 +1100, Andrej Mitrovic
andrej.mitrov...@gmail.com wrote:
On 3/18/12, Derek ddparn...@bigpond.com wrote:
What would be useful is ...
bar!(a, b, c); // is equivalent to
bar!(int, int, int).bar(a, b, c);
You mean like this?
template bar(T...)
{
void bar
On Sun, 18 Mar 2012 21:40:10 +1100, FeepingCreature
default_357-l...@yahoo.de wrote:
On 03/18/12 11:39, FeepingCreature wrote:
On 03/18/12 11:36, FeepingCreature wrote:
On 03/18/12 11:29, Derek wrote:
On Sun, 18 Mar 2012 19:16:02 +1100, Andrej Mitrovic
andrej.mitrov...@gmail.com wrote
is wrong with auto add(T)(T t) { return t[0] + t[1]; }
It doesn't work.
--
Derek Parnell
Melbourne, Australia
On Sun, 18 Mar 2012 22:00:06 +1100, Derek ddparn...@bigpond.com wrote:
The 'adding' is not the point; it could be any functionality. The point
I was trying to get across was that it would be useful if the compiler
could infer the type parameters of a template instantiation from the
types
= a;
__tmp.Fb = b;
a = __tmp.Fb;
b = __tmp.Fa;
--
Derek Parnell
Melbourne, Australia
--
Derek
and magic here.
--
Derek
to signify omission was
the compromise we came up with.
--
Derek Parnell
-Update.
--
Derek Parnell
Melbourne, Australia
* shortening) so I think the criteria
for publicly exposed function names should hinge on the consistency of
naming conventions rather than focus on abbrv. vs. FullySpelledOutWords.
--
Derek Parnell
Melbourne, Australia
abbreviations.
--
Derek Parnell
Melbourne, Australia
On Wed, 07 Mar 2012 03:38:09 +1100, Adam D. Ruppe
destructiona...@gmail.com wrote:
Why aren't we using real words here? Real words are easier
to remember and easier to type.
Should we use American or English spelling? Color verses Colour, for
example?
--
Derek Parnell
Melbourne
cope with a NQR product for now.
--
Derek Parnell
Melbourne, Australia
or the console's or printer's either for that matter.
The issue is how to /display/ code in a reader-friendly manner.
--
Derek Parnell
Melbourne, Australia
for tall AND long-haired people
or are you looking for relative ranking of tallness and hairiness?
--
Derek Parnell
Melbourne, Australia
.
--
Derek Parnell
Melbourne, Australia
to what some of us can tolerate and it has been surpassed.
I live to make IRC users suffer. It's dessert after eating babies.
How appropriate, considering the title.
ThatsTheJoke.
H ... not so sure that Brad should give up his day job just yet.
--
Derek Parnell
Melbourne, Australia
On Tue, 24 Jan 2012 12:57:16 +1100, Brad Anderson e...@gnuk.net wrote:
Recently there has been explosion in bug closures.
Damn ... things are getting fixed ... we better put a stop to that sort of
thing before it gets totally out of hand.
--
Derek Parnell
Melbourne, Australia
it has two meanings
depending on the context. std. refers to it being in the standard
library and stdio refers the the members *of that module* being standard
i/o stuff and not special i/o stuff.
--
Derek Parnell
Melbourne, Australia
On Fri, 20 Jan 2012 10:33:33 +1100, F i L witte2...@gmail.com wrote:
Derek wrote:
I thought that the name std.stdio reflected ...
Then why isn't std.math not std.stdmath?
Please don't misunderstand me. I wasn't defending the name, just stating
what I thought the rationale behind
then
writeln(You wrote 2)
fallthru
case 3 then
writeln(You wrote 3)
fallthru
else case then
writeln(I said: 1 or 2 or 3!)
end switch
--
Derek Parnell
Melbourne, Australia
can
affect the future maintainability of code.
--
Derek Parnell
Melbourne, Australia
);}
dmd -run test
-- killed by signal 11
Is this a regression or a problem with my setup (DMD 2.057 on Ubuntu
11.10 64 bit)?
Can anyone reproduce this?
--
Derek Parnell
Melbourne, Australia
On Mon, 02 Jan 2012 14:36:37 +1100, Derek ddparn...@bigpond.com wrote:
Can anyone reproduce this?
May I did have one too many beers today ...
--
Derek Parnell
Melbourne, Australia
parameters or was it optional?
--
Derek Parnell
Melbourne, Australia
to choose between whatever *they* felt
was appropriate.
--
Derek Parnell
Melbourne, Australia
for applications to handle strings of characters would be to internally
store and manipulate them as utf-32 (dchar[]) and only when doing I/O use
the other utf forms. So converting from the different forms is very
helpful.
--
Derek Parnell
Melbourne, Australia
);
Actually, names do matter.
--
Derek Parnell
Melbourne, Australia
are arbitrary in
mathematics.
Why is that? I just assumed that it was because mathematicians did a lot
of repetitive handwriting and thus brevity was important to them.
--
Derek Parnell
Melbourne, Australia
readers.
--
Derek Parnell
Melbourne, Australia
the unnecessary use of
one-character parameter names, LOL.
--
Derek Parnell
Melbourne, Australia
feature of any programming language.
--
Derek Parnell
Melbourne, Australia
...
z += (x y ? 1 : 0);
--
Derek Parnell
Melbourne, Australia
On Sun, 25 Dec 2011 00:09:08 +1100, bearophile bearophileh...@lycos.com
wrote:
Derek Parnell:
In my code such mistakes are uncommon.
But not impossible.
Designing an engineering system like a programming language is often a
matter of trade-offs. If in my code I find a problem (like
understand Walter's viewpoints
on the desire for C compatibility and on the use of reserved words.
--
Derek Parnell
Melbourne, Australia
?
--
Derek Parnell
Melbourne, Australia
that use 0 for
FALSE (all bits off) and -1 for TRUE (all bits on).
--
Derek Parnell
Melbourne, Australia
On Sun, 25 Dec 2011 07:19:47 +1100, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
On 12/24/11 9:54 AM, Derek wrote:
I'm sure you are totally correct; I'm not really a C++ coder. And I'm
sure you also process the specialist/expert level of D knowledge to make
reading contemporary D
must be
used when one wants a boolean to behave as an integer allows the coder's
intent to become more apparent when reading their source code. This has
nothing to do with machine code generation, just source code legibility.
--
Derek Parnell
Melbourne, Australia
On Sat, 24 Dec 2011 09:19:26 +1100, bearophile bearophileh...@lycos.com
wrote:
Derek Parnell:
I'm with Don on this one because a boolean and an integer are not the
same
concept, and even though many programming languages implement booleans
using integers, it still doesn't make them
form?
--
Derek Parnell
Melbourne, Australia
- Convenience, Power, Efficiency or even The D
programming language.
Yes!
--
Derek Parnell
Melbourne, Australia
:
D naturally compiles to efficient native code.
To:
D compiles naturally to efficient native code.
Nice catch. It does indeed sound better your way.
I think naturally can be removed altogether.
D compiles to efficient machine code.
--
Derek Parnell
Melbourne, Australia
are going with that now; it wasn't obvious to me. So
rephrasing it and using more words, - the nature of D makes it simple to
generate efficient machine code.
--
Derek Parnell
Melbourne, Australia
On Sun, 20 Nov 2011 11:02:14 +1100, Walter Bright
newshou...@digitalmars.com wrote:
... all variables being immutable ...
LOL, nice oxymoron.
--
Derek Parnell
Melbourne, Australia
talking and
engaging.
--
Derek Parnell
Melbourne, Australia
On Sat, 19 Nov 2011 02:12:15 +1100, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
On 11/18/11 2:16 AM, Derek wrote:
On Fri, 18 Nov 2011 17:38:49 +1100, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
DPL has a large memory footprint.
Compared to what?
When
On Thu, 06 Oct 2011 07:46:44 +1100, Walter Bright
newshou...@digitalmars.com wrote:
On 10/5/2011 12:54 PM, Jacob Carlborg wrote:
Does Scala have the same problem?
I don't know enough about Scala to answer.
Forth does.
--
Derek Parnell
Melbourne, Australia
I've been out of the 'loop' with D for quite awhile now so I haven't been
keeping up with current developments.
I will have a need for a decent 64-bit compiled language soon and I was
wondering how close D is away from this.
--
Derek Parnell
Melbourne, Australia
On Tue, 17 Nov 2009 09:05:48 +0100, Don wrote:
Your other two comments aren't worth responding to.
I apologize. I also don't know what I said to offend you. I've taken steps
to make sure it doesn't happen again.
--
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell
but forgot the code.
--
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell
, or is there a
set of systems involved here?
In the set of systems concept, is it possible that a failure of one
system can have no impact on another system in the set, or must it be
assumed that every system is reliant on all other systems in the same set?
--
Derek Parnell
Melbourne, Australia
On Sat, 14 Nov 2009 23:06:10 -0600, AJ wrote:
I'm a prick, of course
By George! I think he's right.
--
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell
or the old standby, static LOL.
--
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell
. A small change, but an wonderfully liberating change. A bit
like the effect of using [$] rather than [length].
--
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell
.
Your suggestions implies that only active incomplete projects (or ones that
are constantly being beautified) are worthwhile. Projects that are
complete, or at least stable in terms of bug fixing, would drop off the
list even though they maybe still a worthwhile product.
--
Derek Parnell
Melbourne
devised by academics during the days when
data transmission times were slow and only they looked at source code.
--
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell
unsafe in this regard, and
that is not news to anyone. The D programming language does not have to
follow this paradigm.
I'm still not ready to use D for anything, but I watch it in hope.
--
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell
On Mon, 06 Jul 2009 21:29:43 -0700, Walter Bright wrote:
Derek Parnell wrote:
However, that aside, the syntax you have chosen will have a rational
explanation for its superiority. So can you explain in simple terms why
CaseLabelInt .. CaseLabelInt eg. case 1: .. case 9:
is superior
On Tue, 07 Jul 2009 20:13:45 +0200, Jérôme M. Berger wrote:
Andrei Alexandrescu wrote:
Derek Parnell wrote:
It seems that D would benefit from having a standard syntax format for
expressing various range sets;
a. Include begin Include end, i.e. []
b. Include begin Exclude end, i.e. [)
c
On Tue, 07 Jul 2009 14:05:33 -0400, Robert Jacques wrote:
Well, how often does everyone else use bytes?
Cryptography, in my case.
--
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell
On Tue, 07 Jul 2009 13:16:14 -0500, Andrei Alexandrescu wrote:
Safe D is concerned with memory safety only.
That's a pity. Maybe it should be renamed to Partially-Safe D, or Safe-ish
D, Memory-Safe D, or ... well you get the point. Could be misleading for
the great unwashed.
--
Derek
On Tue, 07 Jul 2009 21:20:42 +0200, Jérôme M. Berger wrote:
Andrei Alexandrescu wrote:
Jérôme M. Berger wrote:
Andrei Alexandrescu wrote:
Jérôme M. Berger wrote:
Andrei Alexandrescu wrote:
Derek Parnell wrote:
It seems that D would benefit from having a standard syntax format
overflow) has been an
issue since at least 2003.
http://www.digitalmars.com/d/archives/19850.html
At this rate, D v2 will be released some time after C++0X :-)
--
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell
On Tue, 07 Jul 2009 04:35:56 -0400, Mike James wrote:
Or you introduce a new keyword :-)
Ooooh you said the 'k' word, naughty boy.
--
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell
2,5,7,10 .. 17, 24, 32: funcB(); break;
case 3,6,8,18 .. 23: funcC(); break;
}
In other words, allowing a range of value inside a list of values.
How is this possible in today's D?
--
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell
On Tue, 07 Jul 2009 10:50:08 -0700, Walter Bright wrote:
I like:
a .. b+1
to mean inclusive range.
LOL, now that *is* funny.
And I like the Euphoria language's version ...
case X to Y
but so what, eh?
--
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell
by
the coder.
Walter's example, using a function call, could be useful as the function
can have side-effects that influence the next sub-expression x + 3.
--
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell
On Wed, 8 Jul 2009 07:48:07 +1000, Derek Parnell wrote:
On Tue, 07 Jul 2009 10:50:08 -0700, Walter Bright wrote:
I like:
a .. b+1
to mean inclusive range.
LOL, now that *is* funny.
And I like the Euphoria language's version ...
case X to Y
but so what, eh?
OMG
?
By the way, I don't like triple-dot either, but just making a point.
--
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell
)
Logically, ('a' .. 'z')
--
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell
disallowed.
--
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell
On Tue, 07 Jul 2009 19:42:00 -0500, Andrei Alexandrescu wrote:
Derek Parnell wrote:
On Tue, 07 Jul 2009 19:29:21 -0500, Andrei Alexandrescu wrote:
There is no need for a right-closed range in the language. It can be
defined with ease as a library, although I'm not finding myself in need
of curiosity, I suppose. Good
luck and thanks for all the fish.
--
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell
, simplifying the paths by resolving the .. and . would be nice.
eg.
!std.stdio!c:\dmd\dmd\src\phobos\std\stdio.d!public!std.format!c:\dmd\dmd\src\phobos\std\format.d!
If this is ok can I submit a patch?
--
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell
= 250;
iii = uuu;
writefln(%s %s, iii, uuu);
}
---
Output is ...
-6 250
But I expected the compiler to complain that an unsigned value cannot by
implicitly converted to a signed value as that results in loss of
*significant* bits.
--
Derek Parnell
Melbourne, Australia
skype
On Sun, 05 Jul 2009 23:35:24 -0700, Walter Bright wrote:
Derek Parnell wrote:
One of the very much appreciated updates here is Implicit integral
conversions that could result in loss of significant bits are no longer
allowed.. An excellent enhancement, thank you.
Thank Andrei for that, he
On Mon, 06 Jul 2009 00:11:26 -0700, Walter Bright wrote:
Derek Parnell wrote:
I'm struggling to see why the compiler cannot just disallow any
signed-unsigned implicit conversion? Is it a matter of backward
compatibility again?
What's the signed-ness of 5?
Positive. A positive number can
On Mon, 06 Jul 2009 03:13:45 -0700, Walter Bright wrote:
Derek Parnell wrote:
On Mon, 06 Jul 2009 00:11:26 -0700, Walter Bright wrote:
Derek Parnell wrote:
I'm struggling to see why the compiler cannot just disallow any
signed-unsigned implicit conversion? Is it a matter of backward
On Mon, 6 Jul 2009 15:03:20 + (UTC), BCS wrote:
Hello Derek,
The -deps= switch is helpful, but can we also have a -nogen switch
so that a compile is done but no object files are created.
look at: -o-
Thanks, I've never noticed that switch before. Excellent.
--
Derek Parnell
On Mon, 06 Jul 2009 11:02:12 -0700, Walter Bright wrote:
Derek Parnell wrote:
Safety is supposed to be enhance by using D, is it not?
See my post to Denis. Requiring too many casts reduces safety by
essentially disabling the static type checking system.
I totaly agree that cast() should
On Mon, 06 Jul 2009 22:10:20 -0400, bearophile wrote:
Derek Parnell:
is valid syntax! Why is that?
To allow train-wrecks like this one:
version(Tango) import tango.stdc.stdio;
void main(char[][] args) {
if (args.length 1)
switch (args[1]) {
int x = 1
an output file. Is this a D1 bug?
I get exactly the same thing. Running with D1 gives an empty file and
running with D2 gives a file with content. I'd say it looks like a bug, so
bugzilla, here I come :-)
--
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell
On Mon, 6 Jul 2009 17:17:27 + (UTC), d-bugm...@puremagic.com wrote:
I'm not sure how this change escaped from the changelog ...
May I suggest ... manual process?
--
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell
shipped without having to spend 200% of
the money available.
--
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell
On Sun, 05 Jul 2009 18:55:57 -0700, David B. Held wrote:
I just upgraded
to 2.029 and now I have this problem:
I have this too, and I'm using 2.030. It works fine with v1.045.
--
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell
you think the
patches are bad?
Sometimes, but not usually. I doubted anyone cared as long as they got
fixed one way or another.
Bzzzt ... wrong answer.
--
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell
in the future
Ok then ... so optlink is going to be rewritten in D - excellent! And good
luck to the brave developer too.
--
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell
the docs. I'm attempting to remove all hardcoded HTML tags from
the .dd files. To what address do I send the updated files?
--
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell
On Tue, 30 Jun 2009 23:08:02 + (UTC), BCS wrote:
Reply to Derek,
On Fri, 26 Jun 2009 01:12:34 -0700, Walter Bright wrote:
Robert Clipsham wrote:
I'd like to know what you think on each of these matters, and
hopefully inspire us to take some action to make sure D succeeds.
Pick
On Tue, 30 Jun 2009 23:08:02 + (UTC), BCS wrote:
Reply to Derek,
On Fri, 26 Jun 2009 01:12:34 -0700, Walter Bright wrote:
Robert Clipsham wrote:
I'd like to know what you think on each of these matters, and
hopefully inspire us to take some action to make sure D succeeds.
Pick
On Tue, 30 Jun 2009 23:37:56 + (UTC), BCS wrote:
Hello Derek,
By the way, I'm using Windows so I don't know how to do a 'patch'
file. I don't know of any Microsoft supplied tool distributed with XP
that creates patch files. Any idea of how I can do this?
Use SVN. I'm assuming you
a moderated NG than ask Walter to create one. This is *not*
such a NG and people *will* discuss whatever they want, whether you like
it or not.
I agree with both of you.
--
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell
On Mon, 29 Jun 2009 23:05:29 +0200, Tom S wrote:
thirdly, D has a dictator, Walter Bright, which decides its fate and we
have almost zero influence on this.
I thought The needs and contributions of the D programming community
form the direction it goes..
LOL ... yeah, right.
--
Derek
On Thu, 25 Jun 2009 20:44:04 +0100, Robert Clipsham wrote:
Bud hasn’t
been updated in a long time, which is annoying, since there are some
really irritating bugs.
Like what? Have these been reported?
--
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell
On Thu, 25 Jun 2009 18:28:53 -0400, Jarrett Billingsley wrote:
All of the bugs I've run into in bud have already been reported by
others.
I think I know what I'm doing this weekend ;-)
--
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell
1 - 100 of 244 matches
Mail list logo