On 2015-06-11 11:51, Brian Schott wrote:
Would it? Coedit is written in Pascal.
Really? I had no idea. I just assumed it was written in D. If it's
written in Pascal then there's no excuses [1] :)
Anyway, it wouldn't hurt :)
[1] http://wiki.freepascal.org/FPC_PasCocoa
--
/Jacob Carlborg
On Thursday, 11 June 2015 at 07:57:47 UTC, Per Nordlöw wrote:
On Wednesday, 10 June 2015 at 22:03:52 UTC, Ali Çehreli wrote:
Another option:
void main()
{
auto a2 = new ubyte[5];
But this causes an extra zero-initialization of a2.
a2[] = 0xAA;// -- Assign to all elements
Is
On Thu, 11 Jun 2015 09:01:04 +
Yuxuan Shui via Digitalmars-d-learn digitalmars-d-learn@puremagic.com
wrote:
A x = scoped!A(10);
use auto x = scoped!A(10);
On Thursday, 11 June 2015 at 10:17:26 UTC, Ola Fosheim Grøstad
wrote:
People here often request features you can only ask for after
years of programming experience. This shows that there is a
lot of experience in the D community. Without experience D
wouldn't be where it is, having only
Whee, $99/year.
On Thursday, 11 June 2015 at 07:08:02 UTC, Ola Fosheim Grøstad
wrote:
On Thursday, 11 June 2015 at 03:04:50 UTC, Rikki Cattermole
wrote:
The biggest difference between the D community in general and
other communities is actually quite simple.
Experience.
Indeed! The world has never seen a
On Wednesday, 10 June 2015 at 17:04:56 UTC, Dennis Ritchie wrote:
It seems to me that many still do not understand what the Rust
:) Many have not seen Lisp, so they think that Rust is
something innovative. At least from the syndrome of angle
brackets and other syntactic shaluhi its developers
On Thursday, 11 June 2015 at 09:14:00 UTC, Chris wrote:
Now, now. It is true that bad and frustrating experience with
other languages drove me (and probably others) to D.
Suggesting that a language like D is based on experience in
comparison to Go is... not right... given the experienced
On Thursday, 11 June 2015 at 07:11:33 UTC, rsw0x wrote:
actually making a good GC for D is difficult because the only
type of barrier you can use it hardware protection faults. The
performance dropoff isn't _that_ bad from what I've read in
various papers.
I should have an article up in a
On Thursday, 11 June 2015 at 10:52:08 UTC, weaselcat wrote:
heavily disagree honestly.
Ken Thompson - B?
Rob Pike - Limbo? Joking?
Not your kind of experience? But still experience...
So there is a limit to how far experience can take you.
Anyway, language designers that do multiple
On Thursday, 11 June 2015 at 10:17:26 UTC, Ola Fosheim Grøstad
wrote:
On Thursday, 11 June 2015 at 09:14:00 UTC, Chris wrote:
Now, now. It is true that bad and frustrating experience with
other languages drove me (and probably others) to D.
Suggesting that a language like D is based on
On Thursday, 11 June 2015 at 10:52:06 UTC, Chris wrote:
vaguely familiar but I cannot put my finger on it. Usually I
don't follow an idea that somehow sounds familiar.
Well, in this case it might sound familiar to me because it is
based manipulated sample of another tune I made... But I
Is there a way to encapsulate return value into scoped?
Say I have a function that returns a new object:
X new_x(T t...) {
//Super complex input processing
return new X(something);
}
And I want to encapsulate the result using scoped, is that
possible? Can I just do:
return
https://issues.dlang.org/show_bug.cgi?id=14683
Issue ID: 14683
Summary: atomicop comparison returntype incorrect
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: minor
On Thursday, 11 June 2015 at 08:48:22 UTC, Yuxuan Shui wrote:
Is there a way to encapsulate return value into scoped?
Say I have a function that returns a new object:
X new_x(T t...) {
//Super complex input processing
return new X(something);
}
And I want to encapsulate the result
On Thursday, 11 June 2015 at 06:28:08 UTC, Jacob Carlborg wrote:
On 2015-06-10 08:57, Andrei Alexandrescu wrote:
I can haz OSX pliz pliz ok thx bye -- Andrei
Having D/Objective-C merged [1] would make it a lot easier.
[1] https://github.com/D-Programming-Language/dmd/pull/4321
+1000
I really wish people would stop complaining about other
languages having the same features as D without giving credit.
It is impossible to figure out exactly where ideas from
features come from, but most features predate even C++ if being
first is the main point.
Hear, hear, is it so
On Thursday, 11 June 2015 at 08:33:46 UTC, Daniel Kozák wrote:
On Wed, 10 Jun 2015 20:22:17 +
Adel Mamin via Digitalmars-d-learn
digitalmars-d-learn@puremagic.com
wrote:
ubyte[5] a = 0xAA; // Fine. Five 0xAA bytes.
auto a2 = new ubyte[5]; // Fine. Five 0 bytes.
Now, let's say, I want to
On Thursday, 11 June 2015 at 08:24:25 UTC, Dmitry Olshansky wrote:
On 11-Jun-2015 11:18, w0rp wrote:
A thought just came to me. When I'm implementing foreach for a
container, I'm left with the choice of using a range for a
container or
opApply. I've found often that I prefer the ranges, as
On Wednesday, 10 June 2015 at 22:01:22 UTC, Dennis Ritchie wrote:
No bounds checking of arrays.
Huh? Whatever gave you that impression?
Well, if Rust created for huge projects, why these macros? I
fear that macros are simply not needed in C-family languages.
The macros help in D? Write
On Wednesday, 10 June 2015 at 19:57:15 UTC, Russel Winder wrote:
Please note, OED (which is the definition of the English
language
As Tofu Ninja said, a dictionary only (partly) reflects the
current usage of a language. Look up the word sophisticated and
you'll find out that it had a
On Thursday, 11 June 2015 at 06:28:08 UTC, Jacob Carlborg wrote:
On 2015-06-10 08:57, Andrei Alexandrescu wrote:
I can haz OSX pliz pliz ok thx bye -- Andrei
Having D/Objective-C merged [1] would make it a lot easier.
[1] https://github.com/D-Programming-Language/dmd/pull/4321
Would it?
On Thursday, 11 June 2015 at 10:17:26 UTC, Ola Fosheim Grøstad
wrote:
On Thursday, 11 June 2015 at 09:14:00 UTC, Chris wrote:
Now, now. It is true that bad and frustrating experience with
other languages drove me (and probably others) to D.
Suggesting that a language like D is based on
On Wednesday, 10 June 2015 at 18:55:27 UTC, Adam D. Ruppe wrote:
I'm still tempted to grab a used Mac so I can port my display
stuff to Cocoa and test it, but Macs are outrageously expensive
and I hate them, so want to spend as little as possible.
What does dmd minimally require on a mac? If
On Thursday, 11 June 2015 at 11:20:12 UTC, Kagamin wrote:
Then brainfuck wins.
Always.
On Thursday, 11 June 2015 at 08:54:54 UTC, Marc Schütz wrote:
On Wednesday, 10 June 2015 at 22:01:22 UTC, Dennis Ritchie
wrote:
No bounds checking of arrays.
Huh? Whatever gave you that impression?
Well, if Rust created for huge projects, why these macros? I
fear that macros are simply not
On Wednesday, 10 June 2015 at 18:13:53 UTC, Dave wrote:
Another backwards annotation is nothrow. I don't really care if
something doesn't throw, I care when it throws, because then I
have to do
something (or my program may crash unexpectedly).
I recently debugged such no crash bug: the code
On 10/06/2015 12:38, Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?=
ola.fosheim.grostad+dl...@gmail.com wrote:
I think Rust has an advantage over Go in the name Mozilla alone, they
are more idealistic than Google.
Agreed. In concrete terms, Mozilla is a non-profit, whereas Google is
not. Google can
On Thu, 11 Jun 2015 11:43:25 +
via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote:
On Thursday, 11 June 2015 at 08:33:46 UTC, Daniel Kozák wrote:
On Wed, 10 Jun 2015 20:22:17 +
Adel Mamin via Digitalmars-d-learn
digitalmars-d-learn@puremagic.com
wrote:
ubyte[5]
On Thursday, 11 June 2015 at 09:14:00 UTC, Chris wrote:
Because this hurts some people. The D crowd doesn't snob other
languages, in fact, people here often point at features of
other languages saying Da', can I have this, pleze?.
https://issues.dlang.org/show_bug.cgi?id=14682
--- Comment #5 from Vladimir Panteleev thecybersha...@gmail.com ---
I think it should be fixed, because if you want to append [], you can do so
explicitly, but if you want to append an empty array, there is no convenient
syntax for it.
I ran into it
On 6/11/15 7:04 AM, Steven Schveighoffer wrote:
On 6/11/15 8:21 AM, Vladimir Panteleev wrote:
I've put together a CI system of sorts that builds the documentation for
all pull requests. Hopefully this should avoid the dlang.org build
breaking again in the future. It integrates with GitHub as
https://issues.dlang.org/show_bug.cgi?id=14675
--- Comment #2 from Steven Schveighoffer schvei...@yahoo.com ---
Well, if T: T* isn't going to be removed, and we cannot use IFTI with it, we
should at least update the documentation. The documentation doesn't seem
accurate, since specializations do
On 6/11/15 8:21 AM, Vladimir Panteleev wrote:
I've put together a CI system of sorts that builds the documentation for
all pull requests. Hopefully this should avoid the dlang.org build
breaking again in the future. It integrates with GitHub as well, and on
repositories covered by Brad's
On Saturday, 23 May 2015 at 10:58:33 UTC, Kagamin wrote:
On Saturday, 23 May 2015 at 02:36:14 UTC, Dennis Ritchie wrote:
For example, the code in Python looks quite natural:
a = [[int(j) for j in input().split()] for i in range(n)]
About D-code, I can not say:
auto a = stdin
.byLine
On 6/10/15 6:43 PM, Tofu Ninja wrote:
On Thursday, 11 June 2015 at 01:30:08 UTC, weaselcat wrote:
'he' has been a gender neutral pronoun for centuries, and as far as
I'm aware this has its roots in latin using 'man'(vir?) as a gender
neutral pronoun.
I am just saying that personally it sounds
https://issues.dlang.org/show_bug.cgi?id=14289
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=14288
--- Comment #2 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/3024e3d3be066a055031264ad4381c6117c3425d
fix Issue 14288 -
On Thursday, 11 June 2015 at 13:35:25 UTC, QAston wrote:
For me simple templates + simple macros are clearer than
complicated templates + ctfe + mixins. There are tradeoffs
there, with ctfe being an optimization at the expense of build
time. On the other hand dmd is much much faster than the
https://issues.dlang.org/show_bug.cgi?id=14682
--- Comment #7 from Kenji Hara k.hara...@gmail.com ---
(In reply to Vladimir Panteleev from comment #5)
I think it should be fixed, because if you want to append [], you can do
so explicitly, but if you want to append an empty array, there is no
https://issues.dlang.org/show_bug.cgi?id=14681
--- Comment #2 from Kenji Hara k.hara...@gmail.com ---
The ':' prefix allows the compiler to tell apart import paths and key/value
pairs.
I think it's not good. Indeed in most platform `:` cannot be in file name, but
it actually depends on the
On Thursday, 11 June 2015 at 14:07:10 UTC, weaselcat wrote:
On Thursday, 11 June 2015 at 14:01:12 UTC, Temtaime wrote:
Hi all !
I wonder why there's no option to tell dub split files into
groups of equal size and then run N instances of dmd ?
I think it can greatly reduce compile time.
dub
On Thursday, 11 June 2015 at 13:35:25 UTC, QAston wrote:
It's a matter of taste and I won't advocate for Rust on D
forums.
It is not required. But it would be nice if you could post a
topic in DLearn like this just about Rust :)
Hi all !
I wonder why there's no option to tell dub split files into
groups of equal size and then run N instances of dmd ?
I think it can greatly reduce compile time.
On Thursday, 11 June 2015 at 14:01:12 UTC, Temtaime wrote:
Hi all !
I wonder why there's no option to tell dub split files into
groups of equal size and then run N instances of dmd ?
I think it can greatly reduce compile time.
dub options are a bit hidden.
dub build --help
https://issues.dlang.org/show_bug.cgi?id=14682
Steven Schveighoffer schvei...@yahoo.com changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=14684
Issue ID: 14684
Summary: Circular import cases Must be imported as FileName
error
Product: D
Version: D2
Hardware: x86_64
OS: Mac OS X
Status: NEW
On Thursday, 11 June 2015 at 13:16:13 UTC, Dennis Ritchie wrote:
Do templates Rust is better than D?
Those are considerably less powerful:
- can only have type arguments
- no variadic argument list support
- no arbitrary condition constraints (thus only partial duck
typing support)
On the
On 6/11/15 7:51 AM, Daniel Kozák via Digitalmars-d-learn wrote:
On Thu, 11 Jun 2015 11:43:25 +
via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote:
On Thursday, 11 June 2015 at 08:33:46 UTC, Daniel Kozák wrote:
On Wed, 10 Jun 2015 20:22:17 +
Adel Mamin via
https://issues.dlang.org/show_bug.cgi?id=14675
--- Comment #3 from Steven Schveighoffer schvei...@yahoo.com ---
(In reply to Steven Schveighoffer from comment #2)
I feel like it's shorthand for this:
foo(U : T*, T)(U *t)
But U isn't actually listed or accessible. BTW, the above has the
On Thursday, 11 June 2015 at 09:11:47 UTC, Daniel Kozák wrote:
On Thu, 11 Jun 2015 09:01:04 +
Yuxuan Shui via Digitalmars-d-learn
digitalmars-d-learn@puremagic.com
wrote:
A x = scoped!A(10);
use auto x = scoped!A(10);
Thanks!
Curious question, why doesn't compiler reject
On 6/11/15 1:28 PM, Yuxuan Shui wrote:
On Thursday, 11 June 2015 at 09:11:47 UTC, Daniel Kozák wrote:
On Thu, 11 Jun 2015 09:01:04 +
Yuxuan Shui via Digitalmars-d-learn digitalmars-d-learn@puremagic.com
wrote:
A x = scoped!A(10);
use auto x = scoped!A(10);
Thanks!
Curious
On Thursday, 11 June 2015 at 17:34:56 UTC, Steven Schveighoffer
wrote:
On 6/11/15 1:28 PM, Yuxuan Shui wrote:
On Thursday, 11 June 2015 at 09:11:47 UTC, Daniel Kozák wrote:
On Thu, 11 Jun 2015 09:01:04 +
Yuxuan Shui via Digitalmars-d-learn
digitalmars-d-learn@puremagic.com
wrote:
A
On 06/11/2015 11:43 AM, Yuxuan Shui wrote:
On Thursday, 11 June 2015 at 17:34:56 UTC, Steven Schveighoffer wrote:
On 6/11/15 1:28 PM, Yuxuan Shui wrote:
On Thursday, 11 June 2015 at 09:11:47 UTC, Daniel Kozák wrote:
On Thu, 11 Jun 2015 09:01:04 +
Yuxuan Shui via Digitalmars-d-learn
On Thursday, 11 June 2015 at 19:23:49 UTC, Ali Çehreli wrote:
On 06/11/2015 11:43 AM, Yuxuan Shui wrote:
On Thursday, 11 June 2015 at 17:34:56 UTC, Steven
Schveighoffer wrote:
On 6/11/15 1:28 PM, Yuxuan Shui wrote:
On Thursday, 11 June 2015 at 09:11:47 UTC, Daniel Kozák
wrote:
On Thu, 11
Hi;
To learn D better and challanging myself I am tring code
computation's with D.
There is a question which is about reading a line of integer
which consist of 20 elements.
My solution fails because Time limit exceeded, I thought it is
because of my algorithm first. I realize time
import std.stdio;
void main()
{
ubyte[] a1 = new ubyte[65];
ubyte[65] a2;
writeln(a1.sizeof = , a1.sizeof); // prints 16
writeln(a2.sizeof = , a2.sizeof); // prints 65
}
Why a1.sizeof is 16?
On Thursday, 11 June 2015 at 20:09:38 UTC, Adel Mamin wrote:
Why a1.sizeof is 16?
sizeof is tied to *type*, not a variable. (I kinda wish a1.sizeof
was prohibited, forcing you to say typeof(a1).sizeof so it is
clear but whatever).
A dynamic array's size is the length variable plus the
On Thursday, 11 June 2015 at 20:09:38 UTC, Adel Mamin wrote:
import std.stdio;
void main()
{
ubyte[] a1 = new ubyte[65];
ubyte[65] a2;
writeln(a1.sizeof = , a1.sizeof); // prints 16
writeln(a2.sizeof = , a2.sizeof); // prints 65
}
Why a1.sizeof is 16?
ubyte[] is a slice,
On 06/11/2015 06:52 AM, Chris wrote:
In your case, the song reminds me of:
Wouldn't It Be Good - Nik Kershaw
https://www.youtube.com/watch?v=AYMAtbq0bjY
(God, I'm so old!) :-)
Oh man, that takes me back. 80's had the best pop music, IMHO. Miss that
stuff. Although, I still have trouble
On Thursday, 11 June 2015 at 15:03:39 UTC, Dicebot wrote:
Those are considerably less powerful:
- can only have type arguments
- no variadic argument list support
- no arbitrary condition constraints (thus only partial duck
typing support)
On the other hand they have one important advantage:
On Thursday, 11 June 2015 at 15:08:48 UTC, Dicebot wrote:
My experience of explaining those concepts to other people
indicates otherwise. D templates and mixins are dirty but also
very simple concepts that pretty much any new programmers gets
quickly and intuitively, learning how to do more
On 06/11/2015 07:31 AM, Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?=
ola.fosheim.grostad+dl...@gmail.com wrote:
On Thursday, 11 June 2015 at 11:20:12 UTC, Kagamin wrote:
Then brainfuck wins.
Always.
It *is* very fun to implement. I'm more partial to this one though:
On 06/11/2015 07:37 AM, Bruno Medeiros wrote:
On 10/06/2015 12:38, Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?=
ola.fosheim.grostad+dl...@gmail.com wrote:
I think Rust has an advantage over Go in the name Mozilla alone, they
are more idealistic than Google.
Agreed. In concrete terms, Mozilla is a
On Thursday, 11 June 2015 at 13:21:27 UTC, Dave wrote:
Exceptions are not meant to force handling errors at he source.
This attitude is why so many exceptions go unhandled at the
upper
layers. When you have a top level that calls a function that
calls 50 other functions, each that throw a
On 6/11/15 5:17 AM, Steven Schveighoffer wrote:
On 6/11/15 4:15 AM, Marc =?UTF-8?B?U2Now7x0eiI=?= schue...@gmx.net
wrote:
On Wednesday, 10 June 2015 at 20:31:52 UTC, Steven Schveighoffer wrote:
OK, thanks for the explanation. I'd do it the other way around:
Flag!threadlocal, since we should be
On 6/11/15 9:33 AM, Dennis Ritchie wrote:
On Thursday, 11 June 2015 at 15:03:39 UTC, Dicebot wrote:
Those are considerably less powerful:
- can only have type arguments
- no variadic argument list support
- no arbitrary condition constraints (thus only partial duck typing
support)
On the other
On Thursday, 11 June 2015 at 16:49:15 UTC, Nick Sabalausky wrote:
On 06/11/2015 07:31 AM, Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?=
ola.fosheim.grostad+dl...@gmail.com wrote:
On Thursday, 11 June 2015 at 11:20:12 UTC, Kagamin wrote:
Then brainfuck wins.
Always.
It *is* very fun to implement.
On Thursday, 11 June 2015 at 17:41:49 UTC, Andrei Alexandrescu
wrote:
It is possible that Walter and Andrei against macro because of
this:
macro_rules! o_O {
(
$(
$x:expr; [ $( $y:expr ),* ]
);*
) = {
[ $($( $x + $y ),*),* ]
}
}
fn main()
On Thursday, 11 June 2015 at 17:42:48 UTC, Ola Fosheim Grøstad
wrote:
On Thursday, 11 June 2015 at 16:49:15 UTC, Nick Sabalausky
wrote:
On 06/11/2015 07:31 AM, Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?=
ola.fosheim.grostad+dl...@gmail.com wrote:
On Thursday, 11 June 2015 at 11:20:12 UTC, Kagamin
On Thursday, 11 June 2015 at 17:45:32 UTC, weaselcat wrote:
https://gist.github.com/sprain/be75c6c456146b272178
Ah, that's awsome! Instead of using true and false you get to use
thumbs-up and thumbs-down...
On 06/09/2015 01:53 PM, Jacob Carlborg wrote:
I vote for databases. I also vote for an interface that is independent
of ODBC, but ODBC could be one of the drivers that implements this
interface. I know that there's a native implementation of the MySQL
protocol on code.dlang.org.
This is kind
On 6/11/15 10:59 AM, Nick Sabalausky wrote:
2. There's also question about async I/O. A *LOT* of DB users are also
going to be Vibe.d users, so we cannot afford to have problems in this
area. Perhaps what we need to look at is getting Vibe's async I/O (or at
least some low-level portion of it,
Exceptions are for when something went wrong. Returned errors
are for when the function can't do what you asked it to do, but
that doesn't mean that something went wrong.
You seem to be implying this as a fact, when traditionally this
is not how things are done.
For example, if you try to
On Thursday, 11 June 2015 at 12:33:55 UTC, Steven Schveighoffer
wrote:
On 6/10/15 8:52 AM, John Colvin wrote:
On Tuesday, 9 June 2015 at 17:43:18 UTC, Steven Schveighoffer
wrote:
On 6/9/15 4:06 AM, Brian Schott wrote:
On Tuesday, 9 June 2015 at 07:49:24 UTC, Shachar Shemesh
wrote:
Also, you
I’m actively working on the low level interface and I’m making
good progress. My goal is to have a high quality interface
definition with working reference drivers for top tier databases.
The current references drivers are ODBC, sqlite, mysql, and
Oracle.
I think it’s important to
On 6/11/2015 8:03 AM, Dicebot wrote:
On the other hand they have one important advantage: all type arguments must
comply to one or more trairs and thus bodies of generics are checked before
institation. You are only allowed to call methods and operations of generic
arguments that are defined in
On Thursday, 11 June 2015 at 13:12:17 UTC, Steven Schveighoffer
wrote:
On 6/11/15 9:04 AM, John Colvin wrote:
it doesn't seem to have triggered/finished yet for that one,
but older
pulls have a link in them
Yeah, hah! I seemed to have picked the only one that doesn't :)
It was the siren of
On Thursday, 11 June 2015 at 11:40:55 UTC, Abdulhaq wrote:
It's quite a nice twist that the thread discussing which
language is better branched into what version of English is the
right one - as if such a thing is meaningful. Arguing about
definitions and terminology is surely such a useless
On Thursday, 11 June 2015 at 18:17:01 UTC, Dave wrote:
Disagree. Traditionally also handled by throwing exceptions. C#
throws a Format exception if a parse fails.
https://msdn.microsoft.com/en-us/library/f02979c7%28v=vs.110%29.aspx
https://issues.dlang.org/show_bug.cgi?id=11370
Maxim Fomin maxim-fo...@outlook.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=13628
Maxim Fomin maxim-fo...@outlook.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=14685
Issue ID: 14685
Summary: Silent incorrect behavior with enforce and custom
exception
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
https://issues.dlang.org/show_bug.cgi?id=13628
--- Comment #3 from Marco Leise marco.le...@gmx.de ---
You can't just close this without further discussion. That is disrespectful
given the three questions I had refer to my failed attempts at doing what you
propose as a solution.
--
On 6/11/15 4:15 AM, Marc =?UTF-8?B?U2Now7x0eiI=?= schue...@gmx.net
wrote:
On Wednesday, 10 June 2015 at 20:31:52 UTC, Steven Schveighoffer wrote:
OK, thanks for the explanation. I'd do it the other way around:
Flag!threadlocal, since we should be safe by default.
`RefCounted!T` is also
On 6/11/15 4:24 AM, Dmitry Olshansky wrote:
Already works. Just define opSlice for container that returns a range
and then:
foreach(elem; container) {}
is lowered to:
foreach(elem; container[]) {}
I think you want to do opIndex which takes no parameters. opSlice is no
longer supposed to
I've put together a CI system of sorts that builds the
documentation for all pull requests. Hopefully this should avoid
the dlang.org build breaking again in the future. It integrates
with GitHub as well, and on repositories covered by Brad's
auto-tester, will create a second status for the
On 6/11/15 8:21 AM, Vladimir Panteleev wrote:
I've put together a CI system of sorts that builds the documentation for
all pull requests. Hopefully this should avoid the dlang.org build
breaking again in the future. It integrates with GitHub as well, and on
repositories covered by Brad's
It seems to be a controversial subject:
https://github.com/D-Programming-Language/phobos/pull/1090#issuecomment-12737986
As the topic has been argued for the past 50 years. No one ever
agrees
on the best way to handle errors. But I think most of this is
because programmers tend to be the most
https://issues.dlang.org/show_bug.cgi?id=14289
--- Comment #2 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/a2102aa66c2145a4dfe2ec2dfd1c171530d2e3a7
fix Issue 14289 -
On Thursday, 11 June 2015 at 11:40:55 UTC, Abdulhaq wrote:
Hear, hear, is it so unlikely that one footstep should fall in
the footprint of another?
We all stand on the shoulders of giants, etc.
This is it. Great languages (IMO) have condensed their features
down to the smallest set of
On 12/06/2015 12:21 a.m., Vladimir Panteleev wrote:
I've put together a CI system of sorts that builds the documentation for
all pull requests. Hopefully this should avoid the dlang.org build
breaking again in the future. It integrates with GitHub as well, and on
repositories covered by Brad's
On Thursday, 11 June 2015 at 12:11:49 UTC, Ola Fosheim Grøstad
wrote:
As a norwegian I can't make up my mind as to whether I should
write color or colour. I suspect it will be taken as some
kind of political statement. Hey, I am neutral! I use color
in source code and colour in writing. :)
On 6/9/15 6:05 PM, Jonathan M Davis wrote:
On Tuesday, 9 June 2015 at 18:49:04 UTC, Brad Anderson wrote:
We also have map in the form of RedBlackTree. I think you might be
able to use RedBlackTree for a set too but I haven't tried it.
You can, but it's a bit of a pain, because you have to
I should also mention that D has essentially enabled this
philosophy that I am speaking about concerning errors by using
the 'scope' keyword. I believe handling errors with scope
literally translates to try\catch blocks behind the scenes. I
also believe this is an encouraged way of dealing with
https://issues.dlang.org/show_bug.cgi?id=14664
--- Comment #3 from John Colvin john.loughran.col...@gmail.com ---
(In reply to Vladimir Panteleev from comment #2)
(In reply to John Colvin from comment #0)
It's linked from http://dlang.org/phobos-prerelease/index.html but is 404.
What is?
On 12/06/2015 12:28 a.m., Vladimir Panteleev wrote:
On Thursday, 11 June 2015 at 12:27:29 UTC, Rikki Cattermole wrote:
So for a PR it puts up a URL on the request?
Because this would be pretty awesome in that context!
Yes, just click Details at the bottom of the PR page to go to the test
On 12/06/2015 12:44 a.m., Steven Schveighoffer wrote:
On 6/11/15 8:21 AM, Vladimir Panteleev wrote:
I've put together a CI system of sorts that builds the documentation for
all pull requests. Hopefully this should avoid the dlang.org build
breaking again in the future. It integrates with GitHub
D is really unique in the sense that it's open enough for
people not to feel that they have to role their own. D also has
enough features to satisfy many different users, although - and
this is often forgotten - you don't _have_ to use them all.
People like Go and Rust, because it tells them
On Thursday, 11 June 2015 at 12:44:32 UTC, Steven Schveighoffer
wrote:
On 6/11/15 8:21 AM, Vladimir Panteleev wrote:
[...]
This sounds really cool!
So given I have a PR, for example,
https://github.com/D-Programming-Language/druntime/pull/1301
How do I find the ddoc build for it?
-Steve
1 - 100 of 260 matches
Mail list logo