Hello everyone --
Early bird DConf 2013 has ended yesterday, March 31st, so we made a
headcount at this milestone. Unfortunately we could not muster enough
attendance to keep the conference going - only 19 people confirmed aside
from speakers.
This forces us to cancel DConf 2013. We will
Cool... April's fool! :]
On Monday, 1 April 2013 at 20:44:04 UTC, Andrei Alexandrescu
wrote:
Hello everyone --
Early bird DConf 2013 has ended yesterday, March 31st, so we
made a headcount at this milestone. Unfortunately we could not
muster enough attendance to keep the conference going -
02-Apr-2013 00:44, Andrei Alexandrescu пишет:
Hello everyone --
Early bird DConf 2013 has ended yesterday, March 31st, so we made a
headcount at this milestone. Unfortunately we could not muster enough
attendance to keep the conference going - only 19 people confirmed aside
from speakers.
I know you are all Bieber fans, so you'll be please to know he will be doing the
Keynote. I happily cede the slot to him.
(P.S. Bieber has been an undercover D coder for quite a while, though he has
been posting under a pseudonym. You all know him as deadalnix.)
On 4/1/13 5:01 PM, Dmitry Olshansky wrote:
02-Apr-2013 00:44, Andrei Alexandrescu пишет:
Hello everyone --
Early bird DConf 2013 has ended yesterday, March 31st, so we made a
headcount at this milestone. Unfortunately we could not muster enough
attendance to keep the conference going - only
Oh, well, everyone can just stay at home enjoying their Gmail Blue[1],
hunting for treasure on Maps [2], and the never-ending reading of Best
YouTube nominees [3].
[1] http://www.youtube.com/watch?v=Zr4JwPb99qU
[2] https://maps.google.com/?t=8
[3] http://www.youtube.com/watch?v=HGeMGqVKD6A
On
On Monday, 1 April 2013 at 21:05:06 UTC, Walter Bright wrote:
I know you are all Bieber fans, so you'll be please to know he
will be doing the Keynote. I happily cede the slot to him.
while(true) write(baby, );
On Mon, 01 Apr 2013 14:05:06 -0700
Walter Bright newshou...@digitalmars.com wrote:
I know you are all Bieber fans, so you'll be please to know he will
be doing the Keynote. I happily cede the slot to him.
(P.S. Bieber has been an undercover D coder for quite a while, though
he has been
On 4/1/13 5:23 PM, Nick Sabalausky wrote:
On Mon, 01 Apr 2013 14:05:06 -0700
Walter Brightnewshou...@digitalmars.com wrote:
I know you are all Bieber fans, so you'll be please to know he will
be doing the Keynote. I happily cede the slot to him.
(P.S. Bieber has been an undercover D coder
On Monday, 1 April 2013 at 21:05:06 UTC, Walter Bright wrote:
I know you are all Bieber fans, so you'll be please to know he
will be doing the Keynote. I happily cede the slot to him.
Even this announce is an April Fool's prank, it made me down. :P
On Monday, 1 April 2013 at 21:07:30 UTC, Andrei Alexandrescu
wrote:
On 4/1/13 5:01 PM, Dmitry Olshansky wrote:
02-Apr-2013 00:44, Andrei Alexandrescu пишет:
Hello everyone --
Early bird DConf 2013 has ended yesterday, March 31st, so we
made a
headcount at this milestone. Unfortunately we
On Friday, 29 March 2013 at 08:58:06 UTC, kenji hara wrote:
http://wiki.dlang.org/DIP32
Kenji Hara
Why not square brackets?
int i;
string str;
[i, str] = [5, line];
Tuple as alias to Object[] or to Variant[].
On 2013-03-31 23:40, Kagamin wrote:
A MyArchive example can be useful too. The basic idea is to write a
minimal archive class with basic test code. All methods
assert(false,method archive(dchar) not implemented); the example
complies and runs, but asserts. So people take the example and fill
On 2013-04-01 07:15, Kagamin wrote:
It's a pull parser? Hmm... how reordered fields are supposed to be
handled? When the archiver is requested for a field, it will probably
need to look ahead for the field in the entire message. Also arrays can
be discontinuous both in xml and in pb. Also if the
On 2013-03-31 23:57, Kagamin wrote:
Well, the basic idea of EXI and similar standards is that you can have 2
types of serialization: built-in when you keep schema in the serialized
message - which value belongs to which field (this way you can read and
write any data structure) or
On 2013-04-01 01:39, Jesse Phillips wrote:
I'm not well versed in PB or Orange so I'd need to play around more with
both, but I'm pretty sure Orange would need changes made to be able to
make the claim PB is supported. It should be possible to create a binary
format based on PB.
Isn't PB
It's esoteric, which is bad, but concise, which is good. I
think perhaps the annoying aspect of this feature is how
attractive it would be to just get the power of the feature
implicitly without needing a new attribute or keyword.
Maybe you're right. But I like the idea that, if you want strict
I use OSX. I have about 20kloc of D code, and it all works :-) I
have occasionally seen wrong code bugs in the past, but I've
reported them all and from what I can remember they have all been
fixed.
I can repro your issue. The illegal instruction is a 'popq'
instruction called inside
On Sunday, 31 March 2013 at 20:02:40 UTC, monarch_dodra wrote:
This is a two part post.
First, I wanted to pol how many users out there were developing
under OSX? The threads seem to indicated users under windows or
Linux, but I've never heard of anybody under OSX. So who has or
is
On 2013-04-01 11:42, Paolo Invernizzi wrote:
Actually on OSX I'm using LDC, because simply I can't use objc bindings
with DMD (random stack corruptions), and I'm a little too under time
pressure to investigate the issue.
What kind of objc bindings are you using? Own implementation or some
It's time to clean up this mess.
http://wiki.dlang.org/DIP33
On Mon, 01 Apr 2013 09:08:47 +0200, Traveler noonekn...@example.com
wrote:
On Friday, 29 March 2013 at 08:58:06 UTC, kenji hara wrote:
http://wiki.dlang.org/DIP32
Kenji Hara
Why not square brackets?
int i;
string str;
[i, str] = [5, line];
Tuple as alias to Object[] or to Variant[].
By the way, {int,int} - is it a type or a value?
auto t={int,int};
t[1] a;
^what is this? 1-element array of {int,int} tuples or `int a;` ?
On Monday, 1 April 2013 at 11:08:16 UTC, Lars T. Kyllingstad
wrote:
It's time to clean up this mess.
http://wiki.dlang.org/DIP33
A quick comment about your Error section. You say:
In general, Errors should not be caught, primarily because they
indicate that the program logic is compromised,
On Monday, 1 April 2013 at 11:23:50 UTC, monarch_dodra wrote:
On Monday, 1 April 2013 at 11:08:16 UTC, Lars T. Kyllingstad
wrote:
It's time to clean up this mess.
http://wiki.dlang.org/DIP33
A quick comment about your Error section. You say:
In general, Errors should not be caught,
On Monday, 1 April 2013 at 11:33:57 UTC, Lars T. Kyllingstad
wrote:
On Monday, 1 April 2013 at 11:23:50 UTC, monarch_dodra wrote:
On Monday, 1 April 2013 at 11:08:16 UTC, Lars T. Kyllingstad
wrote:
It's time to clean up this mess.
http://wiki.dlang.org/DIP33
A quick comment about your Error
On Monday, 1 April 2013 at 11:52:47 UTC, monarch_dodra wrote:
On Monday, 1 April 2013 at 11:33:57 UTC, Lars T. Kyllingstad
wrote:
On Monday, 1 April 2013 at 11:23:50 UTC, monarch_dodra wrote:
On Monday, 1 April 2013 at 11:08:16 UTC, Lars T. Kyllingstad
wrote:
It's time to clean up this mess.
On Monday, 1 April 2013 at 10:32:09 UTC, Jacob Carlborg wrote:
On 2013-04-01 11:42, Paolo Invernizzi wrote:
Actually on OSX I'm using LDC, because simply I can't use objc
bindings
with DMD (random stack corruptions), and I'm a little too
under time
pressure to investigate the issue.
What
On Sun, 31 Mar 2013 06:00:53 -0400, Lars T. Kyllingstad
pub...@kyllingen.net wrote:
On Saturday, 30 March 2013 at 02:46:27 UTC, Steven Schveighoffer wrote:
On Fri, 29 Mar 2013 18:08:28 -0400, Jonathan M Davis
jmdavisp...@gmx.com wrote:
std.conv.to is the standard way to convert one type
On 2013-04-01 15:27, Paolo Invernizzi wrote:
They are a simple declarations of the main objc functions and types made
by ourself: nothing really special.
Ok, I see.
--
/Jacob Carlborg
01.04.2013 15:08, Lars T. Kyllingstad пишет:
It's time to clean up this mess.
http://wiki.dlang.org/DIP33
Personally I like current Error = die approach because of
opportunities it gives for `nothrow` in release build.
About `FormatError`: I'd like make formatting an error but... There is
On 2013-04-01 13:08, Lars T. Kyllingstad wrote:
It's time to clean up this mess.
http://wiki.dlang.org/DIP33
In general I think it looks good. I also think it's really needed.
Don't IOException and ProcessException need a kind field as well?
--
/Jacob Carlborg
01.04.2013 0:02, monarch_dodra пишет:
This is a two part post.
The reason I'm worried about this bug is that the only condition that
seems to trigger it passing an object that has a destructor. I find this
is very bothersome, because it can happen with perfectly safe code, and
its observable
On 4/1/13 11:21 AM, Denis Shelomovskij wrote:
01.04.2013 0:02, monarch_dodra пишет:
This is a two part post.
The reason I'm worried about this bug is that the only condition that
seems to trigger it passing an object that has a destructor. I find this
is very bothersome, because it can happen
On Monday, 1 April 2013 at 12:12:56 UTC, Lars T. Kyllingstad
wrote:
But if all cleanup code is bypassed, what is the point in using
the exception mechanism in the first place? Why not just
abort() and be done with it?
I can think of two reasons for throwing an Error rather than
aborting
On Mon, 01 Apr 2013 11:50:22 -0400
Andrei Alexandrescu seewebsiteforem...@erdani.org wrote:
On 4/1/13 11:21 AM, Denis Shelomovskij wrote:
01.04.2013 0:02, monarch_dodra пишет:
This is a two part post.
The reason I'm worried about this bug is that the only condition
that seems to
On Monday, 1 April 2013 at 08:53:51 UTC, Jacob Carlborg wrote:
On 2013-04-01 01:39, Jesse Phillips wrote:
I'm not well versed in PB or Orange so I'd need to play around
more with
both, but I'm pretty sure Orange would need changes made to be
able to
make the claim PB is supported. It should
On 04/01/2013 01:13 PM, Jesse Phillips wrote:
On Monday, 1 April 2013 at 08:53:51 UTC, Jacob Carlborg wrote:
On 2013-04-01 01:39, Jesse Phillips wrote:
I'm not well versed in PB or Orange so I'd need to play around more with
both, but I'm pretty sure Orange would need changes made to be able
On Mon, Apr 01, 2013 at 01:08:15PM +0200, Lars T. Kyllingstad wrote:
It's time to clean up this mess.
http://wiki.dlang.org/DIP33
I'd prefer NetworkException instead of NetworkingException (long
name with no added advantage).
About the use of enums in FilesystemException,
On Monday, 1 April 2013 at 11:08:16 UTC, Lars T. Kyllingstad
wrote:
It's time to clean up this mess.
http://wiki.dlang.org/DIP33
I like the idea, I think some specifics may need worked out
(already being discussed)
You're likely purposely avoiding this. But when the subject of a
Exception
AFAIK, it's opposite: an array serialized in chunks, and they are
concatenated on deserialization. Useful if you don't know how
much elements you're sending, so you send them in finite chunks
as the data becomes available. Client can also close connection,
so you don't have to see the end of
Oh, wait, it looks like a (possibly infinite) range rather than
an array.
On Friday, 29 March 2013 at 05:34:07 UTC, Kagamin wrote:
On Friday, 29 March 2013 at 01:18:03 UTC, Jonathan M Davis
wrote:
On Thursday, March 28, 2013 15:11:02 H. S. Teoh wrote:
Maybe it's time to introduce cast(signed) or cast(unsigned)
to the
language, as bearophile suggests?
It's not
01-Apr-2013 15:08, Lars T. Kyllingstad пишет:
It's time to clean up this mess.
http://wiki.dlang.org/DIP33
Overall neat.
1. Where to define this hierarchy.
Captain the obvious says std.exception, but can we fit all of them there?
2. ProcessException is IMHO a system exception. Plus some
On 04/01/2013 02:37 PM, Kagamin wrote:
AFAIK, it's opposite: an array serialized in chunks, and they are
concatenated on deserialization. Useful if you don't know how much
elements you're sending, so you send them in finite chunks as the data
becomes available. Client can also close connection,
On Monday, 1 April 2013 at 18:41:57 UTC, Matt Soucy wrote:
The packed repeated fields section explains it and breaks it
down with an example. If the client can close like that, you
probably don't want to use packed.
Why not? If you transfer a result of google search, the client
will be able
On Monday, 1 April 2013 at 12:12:56 UTC, Lars T. Kyllingstad
wrote:
I think OutOfMemory should not be restricted by nothrow, and I
propose to solve it as described above.
More precisely: In principle, I think OutOfMemory *should* be
restricted by nothrow, but it would break too much code,
On Monday, 1 April 2013 at 14:58:42 UTC, Jacob Carlborg wrote:
On 2013-04-01 13:08, Lars T. Kyllingstad wrote:
It's time to clean up this mess.
http://wiki.dlang.org/DIP33
In general I think it looks good. I also think it's really
needed.
Don't IOException and ProcessException need a kind
On Monday, 1 April 2013 at 17:28:11 UTC, H. S. Teoh wrote:
On Mon, Apr 01, 2013 at 01:08:15PM +0200, Lars T. Kyllingstad
wrote:
It's time to clean up this mess.
http://wiki.dlang.org/DIP33
I'd prefer NetworkException instead of NetworkingException
(long
name with no added advantage).
So as we see PB doesn't support arrays (and ranges). Hmm...
that's unfortunate.
On 04/01/2013 03:11 PM, Kagamin wrote:
On Monday, 1 April 2013 at 18:41:57 UTC, Matt Soucy wrote:
The packed repeated fields section explains it and breaks it down
with an example. If the client can close like that, you probably don't
want to use packed.
Why not? If you transfer a result of
01-Apr-2013 20:00, John Colvin пишет:
On Monday, 1 April 2013 at 12:12:56 UTC, Lars T. Kyllingstad wrote:
But if all cleanup code is bypassed, what is the point in using the
exception mechanism in the first place? Why not just abort() and be
done with it?
I can think of two reasons for
On Monday, 1 April 2013 at 18:40:48 UTC, Dmitry Olshansky wrote:
01-Apr-2013 15:08, Lars T. Kyllingstad пишет:
It's time to clean up this mess.
http://wiki.dlang.org/DIP33
Overall neat.
1. Where to define this hierarchy.
Captain the obvious says std.exception, but can we fit all of
them
Life has gotten a lot easier for me trying to manage multiple branches of D
since I've been using file compare/merge tools.
I use winmerge for Windows, and meld for Linux. They are both free, and work
great.
What do you use?
On Monday, 1 April 2013 at 17:42:07 UTC, Jesse Phillips wrote:
On Monday, 1 April 2013 at 11:08:16 UTC, Lars T. Kyllingstad
wrote:
It's time to clean up this mess.
http://wiki.dlang.org/DIP33
I like the idea, I think some specifics may need worked out
(already being discussed)
You're
On Monday, 1 April 2013 at 19:53:23 UTC, Walter Bright wrote:
Life has gotten a lot easier for me trying to manage multiple
branches of D since I've been using file compare/merge tools.
I use winmerge for Windows, and meld for Linux. They are both
free, and work great.
What do you use?
I
On 4/1/13 3:53 PM, Walter Bright wrote:
Life has gotten a lot easier for me trying to manage multiple branches
of D since I've been using file compare/merge tools.
I use winmerge for Windows, and meld for Linux. They are both free, and
work great.
What do you use?
It's a good discussion.
On 2013-04-01 21:22, Lars T. Kyllingstad wrote:
Maybe. The ones that have such fields will probably need more Kind enum
members too. What's in the DIP are simply the ones that I could think
of when I wrote it.
I was think of what you wrote in the text: failure to start a process,
failure
On Monday, 1 April 2013 at 19:53:23 UTC, Walter Bright wrote:
Life has gotten a lot easier for me trying to manage multiple
branches of D since I've been using file compare/merge tools.
I use winmerge for Windows, and meld for Linux. They are both
free, and work great.
What do you use?
I
On Monday, April 01, 2013 21:17:27 Lars T. Kyllingstad wrote:
On Monday, 1 April 2013 at 12:12:56 UTC, Lars T. Kyllingstad
wrote:
I think OutOfMemory should not be restricted by nothrow, and I
propose to solve it as described above.
More precisely: In principle, I think OutOfMemory
On Monday, April 01, 2013 13:23:49 monarch_dodra wrote:
On Monday, 1 April 2013 at 11:08:16 UTC, Lars T. Kyllingstad
wrote:
It's time to clean up this mess.
http://wiki.dlang.org/DIP33
A quick comment about your Error section. You say:
In general, Errors should not be caught,
I added a bug to the database, because the following code results
in a segfault (DMD v2.062, OS X 10.8.3, 64-bit):
#!/usr/local/bin/rdmd
@safe:
void main()
{
int[string] a;
a[foo] = 0;
a.remove(foo);
assert(a != null); // segfault (not
On 04/01/2013 12:44 PM, Dmitry Olshansky wrote: 01-Apr-2013 20:00, John
Colvin пишет:
Therefore, you're better off not trying to cleanup if program state
could be invalid.
Data is corrupted no matter if you just fail to write it in a consistent
state (sudden assertion in some 3-rd party
On Mon, 01 Apr 2013 12:53:23 -0700
Walter Bright newshou...@digitalmars.com wrote:
Life has gotten a lot easier for me trying to manage multiple
branches of D since I've been using file compare/merge tools.
I use winmerge for Windows, and meld for Linux. They are both free,
and work great.
On Monday, 1 April 2013 at 17:24:05 UTC, Matt Soucy wrote:
From what I got from the examples, Repeated fields are done
roughly as following:
auto msg = fields.map!(a=a.serialize())().reduce!(a,b=a~b)();
return ((id3)|2) ~ msg.length.toVarint() ~ msg;
Where msg is a ubyte[].
-Matt Soucy
I
On Monday, 1 April 2013 at 20:36:08 UTC, Nick Sabalausky wrote:
On Mon, 01 Apr 2013 12:53:23 -0700
Walter Bright newshou...@digitalmars.com wrote:
Life has gotten a lot easier for me trying to manage multiple
branches of D since I've been using file compare/merge tools.
I use winmerge for
On Monday, 1 April 2013 at 19:37:12 UTC, Matt Soucy wrote:
It's not really strange, because of how it actually does the
serialization. A message is recorded as length+serialized
members. Members can happen in any order. Packed repeated
messages would look like...what? How do you know when one
On 4/1/2013 4:08 AM, Lars T. Kyllingstad wrote:
It's time to clean up this mess.
About out-of-memory errors
--
These are considered non-recoverable exceptions for the following reasons:
1. I've almost never seen a program that could successfully recover from out of
On 04/01/2013 04:38 PM, Jesse Phillips wrote:
On Monday, 1 April 2013 at 17:24:05 UTC, Matt Soucy wrote:
From what I got from the examples, Repeated fields are done roughly as
following:
auto msg = fields.map!(a=a.serialize())().reduce!(a,b=a~b)();
return ((id3)|2) ~ msg.length.toVarint() ~
On 4/1/2013 4:08 AM, Lars T. Kyllingstad wrote:
It's time to clean up this mess.
As for why finally blocks are not executed for Error exceptions, the idea is to
minimize cases where the original error would now cause an abort during the
unwinding process. Catching an Error is useful for
02-Apr-2013 00:34, Ali Çehreli пишет:
On 04/01/2013 12:44 PM, Dmitry Olshansky wrote: 01-Apr-2013 20:00, John
Colvin пишет:
Therefore, you're better off not trying to cleanup if program state
could be invalid.
Data is corrupted no matter if you just fail to write it in a consistent
On 04/01/2013 04:54 PM, Kagamin wrote:
On Monday, 1 April 2013 at 19:37:12 UTC, Matt Soucy wrote:
It's not really strange, because of how it actually does the
serialization. A message is recorded as length+serialized members.
Members can happen in any order. Packed repeated messages would look
On Mon, 01 Apr 2013 22:34:39 +0200, Ali Çehreli acehr...@yahoo.com wrote:
A safe program must first guarantee that that cleanup is harmless, which
is not possible when the program is in an invalid state. Imagine sending
almost infinite number of cleanup commands to a device that can harm
But currently I have a problem with the implemenation of 'A'.
I do not know how to convey the fact that behind the type is a
''. IMO the correct D way is to create a new type like
TypePointer - TypeRvRef. But my attempts failed so far to
create such type.
Because of that I decided to declare a
On 4/1/13, Nick Sabalausky seewebsitetocontac...@semitwist.com wrote:
I've been using Beyond Compare http://www.scootersoftware.com/
Me too.
And the obligatory tip for anyone trying to use it with Git:
Add this to your .gitconfig file (and make sure you're setting the
path to BCompare.exe and
http://www.devart.com/codecompare/
It's hoggy, but has syntax highlighting and nice interface.
01-Apr-2013 23:46, Lars T. Kyllingstad пишет:
On Monday, 1 April 2013 at 18:40:48 UTC, Dmitry Olshansky wrote:
01-Apr-2013 15:08, Lars T. Kyllingstad пишет:
It's time to clean up this mess.
http://wiki.dlang.org/DIP33
Overall neat.
1. Where to define this hierarchy.
Captain the obvious
On Monday, April 01, 2013 21:33:22 Lars T. Kyllingstad wrote:
My problem with subclasses is that they are a rather heavyweight
addition to an API. If they bring no substance (such as extra
data), I think they are best avoided.
Except that they're extremely valuable when you need to catch them.
On 4/1/2013 2:20 PM, Simen Kjærås wrote:
I am reminded of Therac-25[1]. though the situation there was slightly
different, similar situations could arise from not turning off hardware.
Relying on a program running correctly in order to avoid disaster is a terrible
design. Even mathematically
On Mon, 01 Apr 2013 12:53:23 -0700, Walter Bright
newshou...@digitalmars.com wrote:
Life has gotten a lot easier for me trying to manage multiple branches
of D since I've been using file compare/merge tools.
I use winmerge for Windows, and meld for Linux. They are both free, and
work
On 04/01/2013 02:01 PM, Dmitry Olshansky wrote: 02-Apr-2013 00:34, Ali
Çehreli пишет:
The failed assertion may be the moment when the program detects that
something is wrong. A safe program should stop doing anything else.
And that's precisely the interesting moment. It should stop but the
On Monday, April 01, 2013 13:08:15 Lars T. Kyllingstad wrote:
It's time to clean up this mess.
http://wiki.dlang.org/DIP33
The basic idea is good, but of course, some details need to be sorted out. As
I explained in another response, I really think that we should have derived
exceptions for
On Mon, 01 Apr 2013 18:26:22 -0400, Jonathan M Davis jmdavisp...@gmx.com
wrote:
On Monday, April 01, 2013 21:33:22 Lars T. Kyllingstad wrote:
My problem with subclasses is that they are a rather heavyweight
addition to an API. If they bring no substance (such as extra
data), I think they are
On Monday, April 01, 2013 12:53:23 Walter Bright wrote:
Life has gotten a lot easier for me trying to manage multiple branches of D
since I've been using file compare/merge tools.
I use winmerge for Windows, and meld for Linux. They are both free, and work
great.
What do you use?
Being
On Monday, April 01, 2013 22:32:01 =?UTF-8?B?Ikx1w61z?=.Marques
luismarq...@gmail.com@puremagic.com wrote:
I added a bug to the database, because the following code results
in a segfault (DMD v2.062, OS X 10.8.3, 64-bit):
#!/usr/local/bin/rdmd
@safe:
void main()
{
int[string] a;
On Monday, April 01, 2013 19:02:52 Steven Schveighoffer wrote:
On Mon, 01 Apr 2013 18:26:22 -0400, Jonathan M Davis jmdavisp...@gmx.com
wrote:
On Monday, April 01, 2013 21:33:22 Lars T. Kyllingstad wrote:
My problem with subclasses is that they are a rather heavyweight
addition to an
I've pretty much finished up my work on the std.d.lexer module. I
am waiting for the review queue to make some progress on the
other (three?) modules being reviewed before starting a thread on
it.
In the meantime I've started some work on an AST module for
Phobos that contains the data types
On Mon, Apr 01, 2013 at 03:25:48PM -0700, Walter Bright wrote:
On 4/1/2013 2:20 PM, Simen Kjærås wrote:
I am reminded of Therac-25[1]. though the situation there was
slightly different, similar situations could arise from not turning
off hardware.
Relying on a program running correctly in
Oops, I knew that but totally forgot --;;
I shouldn't spend so much time without using D *shame*
Thanks!
On Mon, 01 Apr 2013 19:19:31 -0400, Jonathan M Davis jmdavisp...@gmx.com
wrote:
On Monday, April 01, 2013 19:02:52 Steven Schveighoffer wrote:
In general, this is not enough. Imagine having an exception type for
each
errno number. Someone may want that!
Obviously, there are limits. You
On Mon, 01 Apr 2013 19:12:52 -0400, Jonathan M Davis jmdavisp...@gmx.com
wrote:
On Monday, April 01, 2013 22:32:01 =?UTF-8?B?Ikx1w61z?=.Marques
luismarq...@gmail.com@puremagic.com wrote:
I added a bug to the database, because the following code results
in a segfault (DMD v2.062, OS X 10.8.3,
On Monday, 1 April 2013 at 23:56:08 UTC, Steven Schveighoffer
wrote:
No, AA's are not classes (which BTW have had that problem
fixed), they are pImpl structs. The equals operator should
check for null before comparing the contents. It is a valid
bug.
Baah, I had already closed the bug
Consider this (non-portable) code:
{
int[2] a;
int[2] b;
int[2] *c;
c = a;
c[0] = 7;
assert(a[0] == 7); // OK, as expected
c[1] = 42;
assert(b[0] == 42); // do we really want this semantics?
}
Because indexing c automatically dereferences the pointer, c[0]
= 7
Luís Marques:
Baah, I had already closed the bug while cowering in shame! ;-)
Don't be ashamed for mistakes like this.
Bye,
bearophile
On Tue, Apr 02, 2013 at 01:57:14AM +0200, digitalmars-d-boun...@puremagic.com
wrote:
On Monday, 1 April 2013 at 23:56:08 UTC, Steven Schveighoffer wrote:
No, AA's are not classes (which BTW have had that problem fixed),
they are pImpl structs. The equals operator should check for null
before
On Tuesday, 2 April 2013 at 00:10:51 UTC, H. S. Teoh wrote:
So reopen it.
bearophile already did. I just wanted the dust to settle, to see
if there was consensus about it being a bug.
Two different languages I've used in the distant past used @ for
expansion.
auto t1 = {1, hi};
auto t2 = {2, yo};
auto t3 = {t1, t2}; // == {{1, hi}, {2, yo}}
auto t4 = {@t1, @t2}; // == {1, hi, 2, yo}
Are there still unspecified plans for @, or is it now available
for something like this?
On Monday, 1 April 2013 at 23:52:52 UTC, Steven Schveighoffer
wrote:
contrived example:
class MyException : Exception {}
class MySpecificException1 : MyException {}
class MySpecificException2 : MyException {}
class MySpecificException3 : MyException {}
try
{
foo(); // can throw exception 1,
On Sunday, 31 March 2013 at 23:48:31 UTC, Zach the Mystic wrote:
On Sunday, 31 March 2013 at 18:31:33 UTC, Suliman wrote:
So, what the final decision about porting D to D?
It's not a final decision, but Daniel Murphy/yebblies has
already made so much progress with his automatic conversion
On 4/1/2013 4:18 PM, Brian Schott wrote:
I've pretty much finished up my work on the std.d.lexer module. I am waiting for
the review queue to make some progress on the other (three?) modules being
reviewed before starting a thread on it.
In the meantime I've started some work on an AST module
1 - 100 of 170 matches
Mail list logo