First beta for the 2.071.1 point release.
A few issues remain to be fixed before the next beta.
http://dlang.org/download.html#dmd_beta
http://dlang.org/changelog/2.071.1.html
Please report any bugs at https://issues.dlang.org
-Martin
On Friday, 13 May 2016 at 22:13:50 UTC, QAston wrote:
Mainstream PL syntax is extremely unintuitive and poorly
designed by known pedagogical, epistemological, and
communicative science standards. The vast majority people who
are introduced to programming do not pursue it (likely true of
many
On Saturday, 14 May 2016 at 21:59:48 UTC, Stiff wrote:
Here's the code that doesn't compile:
import std.stdio, std.experimental.ndslice, std.range,
std.algorithm;
void main()
{
auto alloslice = [1, 2, 3, 4].sliced(1,4);
auto sandwich = chain(alloslice,
On Saturday, 14 May 2016 at 17:48:48 UTC, Andrej Mitrovic wrote:
So anyway, I think perhaps the simplest solution is to make
ddoc inject the writeln calls (or possibly replace assertions
altogether in the output).
The problem with replacing the assert is the loss of information.
On Sunday, 15 May 2016 at 01:59:15 UTC, cy wrote:
I take callbacks on occasion, and I don't really care if
they're a delegate, or a function, or a callable object, and I
can assert that in a template:
void foo(Callable)(Callable callback)
if(isSomeFunction!Callable || isCallable!Callable) {
I take callbacks on occasion, and I don't really care if they're
a delegate, or a function, or a callable object, and I can assert
that in a template:
void foo(Callable)(Callable callback) if(isSomeFunction!Callable
|| isCallable!Callable) {
...
}
That works, but it doesn't show you what
On Friday, 13 May 2016 at 09:28:45 UTC, Chris wrote:
PS I wonder does Bill Hicks know you're using his name? But I
guess he's lost interest in this planet and happily lives on
Mars now.
Maybe I'm using the name to avoid being harassed. Or maybe,
there are thousands of people in the world
On Monday, 7 March 2016 at 09:18:37 UTC, ciechowoj wrote:
I'm using `dub` to build project. And every time I run `dub` it
seems to check if dependencies are up to date, which takes some
time. Is there a way to switch of that checking? Or any other
way to speed up building process? It really
On Sunday, 15 May 2016 at 01:13:34 UTC, Bill Hicks wrote:
[...snip]
The problem with OT tags is that they require the poster to put
them there.
On Friday, 13 May 2016 at 07:26:53 UTC, poliklosio wrote:
Also, you are missing the point by claiming that a technical
problem is sure to kill D. Note that very successful languages
like C++, python and so on also have undergone heated
discussions about various features, and often live
On Sunday, 15 May 2016 at 01:13:34 UTC, Bill Hicks wrote:
[...]
https://www.youtube.com/watch?v=0ECbHJhqn6M
On Friday, 13 May 2016 at 21:10:09 UTC, Jonathan M Davis wrote:
I definitely think that having a visible presence on sites like
stackoverflow and github is good, and if they have your real
name (or something close to it) with your real photo, it's a
lot easier to show that it's really you.
On Saturday, 14 May 2016 at 23:42:33 UTC, Joe Duarte wrote:
By "pointless" I mean they do no useful work.
I agree, I like programs that are actually somewhat interesting.
For example, for my simpledisplay.d, the two examples I shows are:
Found on Reddit:
https://www.reddit.com/r/programming/comments/4jawhk/cosche_a_dependencybased_coroutine_scheduler_c/
The project:
https://github.com/matovitch/cosche#cosche
The author says "I got the idea of building this by watching an amazing
conference from Amaury Sechet on the Stupid
On Tuesday, 10 May 2016 at 13:40:30 UTC, Chris wrote:
On Monday, 9 May 2016 at 19:09:35 UTC, Joe Duarte wrote:
[snip]
Let me give you a sense of the sorts of issues I'm thinking
of. Here is a C sample from ProgrammingSimplified.com. It
finds the frequency of characters in a string:
int
On 05/15/2016 01:01 AM, Joe Duarte wrote:
Good point that line-ending semicolons carry no information if they're
on every line (I assume you meant semicolons instead of commas).
[...]
By the way, anyone should be able to create a version of C, D, or Go
that doesn't use curly braces or
On Tuesday, 3 May 2016 at 22:17:18 UTC, cym13 wrote:
In my opinion putting commas at the end of a line is useless:
if it happens at the end of each line (not counting
closing-braces ones) then the effective quantity of information
brought is null, and in more than one case chaining
Here's the code that doesn't compile:
import std.stdio, std.experimental.ndslice, std.range,
std.algorithm;
void main()
{
auto alloslice = [1, 2, 3, 4].sliced(1,4);
auto sandwich = chain(alloslice,
(0).repeat(8).sliced(2,4),
alloslice);
On Monday, 9 May 2016 at 11:26:55 UTC, Walter Bright wrote:
I wonder what's the difference between 1.30f and
cast(float)1.30.
There isn't one.
I always saw type casting happening @ run-time and "literals"
(pardon if that's not the correct term) to happen during
compilation. I know that
rc.1 has been tagged and is available for download. Contains only a
single fix regarding targetType none packages over beta.3. If no issues
come up, this will be tagged as 0.9.25 next Sunday.
On Saturday, 14 May 2016 at 20:54:44 UTC, Binarydepth wrote:
On Saturday, 14 May 2016 at 20:41:12 UTC, Era Scarecrow wrote:
writeln(f == 1.30f);
writeln(cf == 1.30f);
writeln(If == 1.30f);
I guess this returned True ?
I only noted the ones that returned false, since those are
https://issues.dlang.org/show_bug.cgi?id=16022
--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/dd3e980ca418b15d0e508ed3506276040f71e774
fix Issue 16022 - dmd assertion failure due to misplaced
On Saturday, 14 May 2016 at 20:41:12 UTC, Era Scarecrow wrote:
writeln(f == 1.30f);
writeln(cf == 1.30f);
writeln(If == 1.30f);
I guess this returned True ?
https://issues.dlang.org/show_bug.cgi?id=16022
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
On Saturday, 14 May 2016 at 01:26:18 UTC, Walter Bright wrote:
On 5/13/2016 5:49 PM, Timon Gehr wrote:
And even if higher precision helps, what good is a
"precision-boost" that e.g.
disappears on 64-bit builds and then creates inconsistent
results?
That's why I was thinking of putting in 128
On Saturday, 14 May 2016 at 04:34:06 UTC, Andrei Alexandrescu
wrote:
On 5/13/16 2:27 PM, Russel Winder via Digitalmars-d wrote:
On Thu, 2016-05-12 at 18:25 +, Jesse Phillips via
Digitalmars-d
wrote:
[…]
unknown flags harder and displaying help challenging. So I'd
like
to see getopt merge
On 5/14/2016 11:46 AM, Walter Bright wrote:
I used to design and build digital electronics out of TTL chips. Over time, TTL
chips got faster and faster. The rule was to design the circuit with a minimum
signal propagation delay, but never a maximum. Therefore, putting in faster
parts will never
On Saturday, 14 May 2016 at 18:58:35 UTC, Walter Bright wrote:
Kahan designed the x87 and wrote the IEEE 754 standard, so I'd
do my homework before telling him he is wrong about basic
floating point stuff.
You don't have to tell me who Kahan is. I don't see the
relevance. You are trying to
On 5/13/16, Walter Bright via Digitalmars-d wrote:
> I'll ask again that the active Github users use their own name, and add to
> that
> if you could have a selfie as your github image.
With some web apps like Slack (team chat software) each user can pick
whether the
On 5/14/2016 9:31 AM, Jonathan M Davis via Digitalmars-d wrote:
On Saturday, May 14, 2016 13:27:17 ZombineDev via Digitalmars-d wrote:
Or just unsubscribe those groups from github. dmd, for example,
doesn't get messages from github anymore.
I actually like having a mailing list that gets all
On Saturday, 14 May 2016 at 13:17:05 UTC, Andrei Alexandrescu
wrote:
I showed a fellow programmer std.getopt. We were both on
laptops. He wanted to show me how good Python's argparse is and
how D should copy it. By the end of the chat it was obvious
argparse was much more verbose and less
On 5/13/2016 10:08 PM, Andrei Alexandrescu wrote:
Your name is your brand.
Probably the most obvious example of this is Trump. Long before he got into
politics, he understood his name was his brand, and never lost an opportunity
promote his brand (and profit off of it).
In fact, I stopped
https://issues.dlang.org/show_bug.cgi?id=16025
ag0ae...@gmail.com changed:
What|Removed |Added
CC||ag0ae...@gmail.com
--- Comment #1 from
https://issues.dlang.org/show_bug.cgi?id=16025
Issue ID: 16025
Summary: mixin myTemplate should throw an error
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
On 5/13/2016 10:52 PM, jmh530 wrote:
I like the idea of a float type that is effectively the largest precision on
your machine (the D real type). However, I could be convinced by the argument
that you should have to opt-in for this and that internal calculations should
not implicitly use it.
On 5/14/2016 3:16 AM, John Colvin wrote:
This is all quite discouraging from a scientific programmers point of view.
Precision is important, more precision is good, but reproducibility and
predictability are critical.
I used to design and build digital electronics out of TTL chips. Over time,
On Saturday, 14 May 2016 at 16:59:32 UTC, Chris wrote:
I think Adam's suggestion is good. Just ignore things you're
not interested in (although it can sometimes cost you €73, if
you ignore threads ;)
73€ ? Do you talk about the free book ?
On Saturday, 14 May 2016 at 15:57:43 UTC, Jonathan M Davis wrote:
There's always a risk of someone seeing what you post, not
liking it, and reacting badly too it, and if that's your
employer, you could be in trouble. But in general, when we're
talking about stuff that relates to your
On Monday, 7 March 2016 at 21:56:11 UTC, Seb wrote:
Use ld.gold - it will speed up your linking quite dramatically!
https://code.dawg.eu/reducing-vibed-turnaround-time-part-1-faster-linking.html
Thanks, it improves things a little. However I've just had idea
that it should be possible to
On Saturday, May 14, 2016 13:27:17 ZombineDev via Digitalmars-d wrote:
> Or just unsubscribe those groups from github. dmd, for example,
> doesn't get messages from github anymore.
I actually like having a mailing list that gets all of those messages,
though it really doesn't work to have it then
On Friday, May 13, 2016 18:41:16 Jamal via Digitalmars-d-learn wrote:
> Warning D newb here.
>
> Is it possible to define a member function outside of the
> class/struct like in C++;
>
> class x { body
> void foo(int* i);
> };
>
> void x::foo(int* i){
> *i++;
> }
>
> Or is it just D-like
On Sat, May 14, 2016 at 03:32:45PM +0200, Andrej Mitrovic via Digitalmars-d
wrote:
[...]
> Add a new compiler switch (or better yet use a built-in version
> switch) which makes all assertions chatty.
>
> So for a unittest like this:
>
>
> auto sum (a, b) => a + b;
>
> ///
> unittest {
On 2016-05-13 19:02, Walter Bright wrote:
I'll ask again that the active Github users use their own name, and add
to that if you could have a selfie as your github image.
I think it's confusing with inconsistency. For example, committing with
an email address that doesn't match the ones
On Sat, 2016-05-14 at 15:14 +, Adam D. Ruppe via Digitalmars-d
wrote:
>
[…]
> Indeed, D's getopt is almost nothing like C's getopt aside from
> the name - it is a from-scratch implementation more inspired by
> Perl than by C.
I claim then that Andrei misdirected me by asking about C
On Saturday, 14 May 2016 at 13:07:56 UTC, Andrei Alexandrescu
wrote:
The thread "Github names & avatars" is not related to the D
language, and adds much traffic to the forum.
I have a better idea: add an ignore thread button to dfeed. If
you see a thread or a post you don't care about, you
On Saturday, 14 May 2016 at 14:29:04 UTC, Russel Winder wrote:
However if your use of getopt is different from that above, I
can see that this argument is taking place by two people
observing two completely different things, and is therefore not
a discussion or an argument, but a point for a
On Saturday, 14 May 2016 at 12:49:19 UTC, Abdulhaq wrote:
there's a keyboard for those types of programs ;-)
http://www.dyalog.com/uploads/images/Business/products/us_rc.jpg
One of the things I do with my custom terminal emulator and text
scripts is make those common unicode characters
On Saturday, 14 May 2016 at 14:41:06 UTC, ZombineDev wrote:
On Saturday, 14 May 2016 at 14:32:03 UTC, Mike James wrote:
On Saturday, 14 May 2016 at 13:07:56 UTC, Andrei Alexandrescu
wrote:
The thread "Github names & avatars" is not related to the D
language, and adds much traffic to the forum.
On 2016-05-13 20:41, Jamal wrote:
Or is it just D-like to define everything inside the class/struct body?
Yes, the D-way is to define everything directly inside the class/struct.
--
/Jacob Carlborg
On Saturday, 14 May 2016 at 14:32:03 UTC, Mike James wrote:
On Saturday, 14 May 2016 at 13:07:56 UTC, Andrei Alexandrescu
wrote:
The thread "Github names & avatars" is not related to the D
language, and adds much traffic to the forum. Please place
[OT] in title when posting anything that is
On Saturday, 14 May 2016 at 13:07:56 UTC, Andrei Alexandrescu
wrote:
The thread "Github names & avatars" is not related to the D
language, and adds much traffic to the forum. Please place [OT]
in title when posting anything that is not releated to the D
language.
Thanks,
Andrei
A lot of
On Sat, 2016-05-14 at 16:17 +0300, Andrei Alexandrescu via Digitalmars-
d wrote:
[…]
> I showed a fellow programmer std.getopt. We were both on laptops. He
> wanted to show me how good Python's argparse is and how D should
> copy
> it. By the end of the chat it was obvious argparse was much
On 5/13/16, Steven Schveighoffer via Digitalmars-d
wrote:
> I'm wondering if we can have a mechanism for documented unit tests to
> have a slightly different showing inside the docs vs. the actual unit test.
>
> For example, let's say we have a function writelnAssert.
On Saturday, 14 May 2016 at 13:22:09 UTC, Seb wrote:
On Saturday, 14 May 2016 at 13:16:56 UTC, ZombineDev wrote:
On Saturday, 14 May 2016 at 13:07:56 UTC, Andrei Alexandrescu
wrote:
The thread "Github names & avatars" is not related to the D
language, and adds much traffic to the forum. Please
On Saturday, 14 May 2016 at 13:16:56 UTC, ZombineDev wrote:
On Saturday, 14 May 2016 at 13:07:56 UTC, Andrei Alexandrescu
wrote:
The thread "Github names & avatars" is not related to the D
language, and adds much traffic to the forum. Please place
[OT] in title when posting anything that is
On 5/14/16 4:16 PM, ZombineDev wrote:
What do you think about promoting the Study group to the level of
General, so we can use it for technical discussions and leave General
for the rest?
It has become clear to me we need to create one more forum. -- Andrei
On 5/14/16 10:44 AM, Russel Winder via Digitalmars-d wrote:
On Sat, 2016-05-14 at 07:34 +0300, Andrei Alexandrescu via Digitalmars-
d wrote:
[…]
What are those and how are they better? -- Andrei
C: argp, GNOME CLP
C++ Clara, gtkmm CLP
Python: argparse
Groovy: Commons CLI wrapper
…
the list
On Saturday, 14 May 2016 at 13:07:56 UTC, Andrei Alexandrescu
wrote:
The thread "Github names & avatars" is not related to the D
language, and adds much traffic to the forum. Please place [OT]
in title when posting anything that is not releated to the D
language.
Thanks,
Andrei
What do
The thread "Github names & avatars" is not related to the D language,
and adds much traffic to the forum. Please place [OT] in title when
posting anything that is not releated to the D language.
Thanks,
Andrei
On Saturday, 14 May 2016 at 03:19:51 UTC, Joe Duarte wrote:
I've been going through a lot of Unicode, icon fonts, and the
Noun Project, looking for clean and concise representations for
program logic. One of the ideas I've been working with is to
leverage Unicode arrows. In most cases it's
On Saturday, 14 May 2016 at 12:25:30 UTC, Lodovico Giaretta wrote:
I wrote this small module (
https://github.com/lodo1995/polymorph.d ), taking inspiration
from Amaury Sechet's great talk at DConf (
http://dconf.org/2016/talks/sechet.html ).
Somewhat related are my lightweight variant
On 15/05/2016 12:25 AM, Lodovico Giaretta wrote:
Hi,
I wrote this small module ( https://github.com/lodo1995/polymorph.d ),
taking inspiration from Amaury Sechet's great talk at DConf (
http://dconf.org/2016/talks/sechet.html ).
I plan to use it in std.experimental.xml (
Hi,
I wrote this small module (
https://github.com/lodo1995/polymorph.d ), taking inspiration
from Amaury Sechet's great talk at DConf (
http://dconf.org/2016/talks/sechet.html ).
I plan to use it in std.experimental.xml (
https://github.com/lodo1995/experimental.xml ) for the DOM
Website designing or development is one of source through which
it known what is your business about. It even lets other to know
about your business through the Internet. If you are looking for
web designing company in Patna, then it is better to get from
Ewebtonic Services Pvt. Ltd. However,
On Friday, 13 May 2016 at 21:01:17 UTC, Meta wrote:
On Friday, 13 May 2016 at 18:56:15 UTC, Walter Bright wrote:
If some company won't hire you because you contributed code to
D, I'd say you dodged a bullet working for such!
When I was young, I worried about what other people thought
of
On Saturday, 14 May 2016 at 04:34:06 UTC, Andrei Alexandrescu
wrote:
On 5/13/16 2:27 PM, Russel Winder via Digitalmars-d wrote:
getopt is a 1970s C solution to the problem of command line
parsing.
Most programming languages have moved on from getopt and
created
language-idiomatic solutions to
On Saturday, 14 May 2016 at 09:59:47 UTC, Chris wrote:
So why then do we have Go, C# and Rust?
I believe we have Go because C++ was stagnant, but C++14 and
beyond has become more favourable and Go is pushed into a
speciality niche: light weight servers.
We have C# because Java was taking
On Friday, 13 May 2016 at 21:27:25 UTC, Steven Schveighoffer
wrote:
A potential way to fix this may be marking a unit test as being
a complete example program that assumes the user has installed
proper access to the library. Then it won't compile unless you
add the correct imports, and it's
On Saturday, 14 May 2016 at 01:26:18 UTC, Walter Bright wrote:
Sometimes reproducibility/predictability is more important
than maybe making
fewer rounding errors sometimes. This includes reproducibility
between CTFE and
runtime.
A more accurate answer should never cause your algorithm to
On Saturday, 14 May 2016 at 07:09:00 UTC, Ola Fosheim Grøstad
wrote:
On Friday, 13 May 2016 at 09:57:16 UTC, Chris wrote:
"basing themselves on interpreted, slow languages that
favoured ‘easy to learn’ over ‘easy to maintain’."
"Easy to learn" often correlates with "easy to maintain". I
I stick with my pseudonym. I don't go to great lengths to protect
my identity. You could probably figure out my name and address if
you really wanted to. The concern isn't so much the government,
but other individuals doing harm to you.
We live in a world which is very politically correct,
On Saturday, 14 May 2016 at 09:11:49 UTC, QAston wrote:
On Saturday, 14 May 2016 at 05:46:38 UTC, Ola Fosheim Grøstad
wrote:
In Java all compile time constants are done using strict
settings and it provides a keyword «strictfp» to get strict
behaviour for a particular class/function.
In java
On Saturday, 14 May 2016 at 05:46:38 UTC, Ola Fosheim Grøstad
wrote:
In Java all compile time constants are done using strict
settings and it provides a keyword «strictfp» to get strict
behaviour for a particular class/function.
In java everything used to be strictfp (and there was no
On Saturday, 14 May 2016 at 08:24:32 UTC, Joakim wrote:
taken it to now. It just means, "Stick to the technical
topics," particularly in this forum, which is mostly feasible,
but people have other interests too and discussions wander to
the connected world.
Without a clear moderation policy
On 13 May 2016 at 19:18, Steven Schveighoffer via Digitalmars-d
wrote:
> On 5/13/16 1:02 PM, Walter Bright wrote:
>>
>> I'll ask again that the active Github users use their own name, and add
>> to that if you could have a selfie as your github image.
>
>
> Sorry,
On Saturday, 14 May 2016 at 05:08:29 UTC, Andrei Alexandrescu
wrote:
I honestly think this concern is overrated, sometimes to the
extent it becomes a fallacy. The converse benefits of anonymity
are also exaggerated in my opinion.
You have nothing to fear because you didn't (and hopefully
On Friday, 13 May 2016 at 22:18:18 UTC, Walter Bright wrote:
On 5/13/2016 1:54 PM, Xinok wrote:
I've known a couple people who had to apply for over 200-300
positions before
they finally got a job in their field. Life isn't so
convenient that we can pick
and choose which job we want.
On Sat, 2016-05-14 at 07:34 +0300, Andrei Alexandrescu via Digitalmars-
d wrote:
> […]
> What are those and how are they better? -- Andrei
C: argp, GNOME CLP
C++ Clara, gtkmm CLP
Python: argparse
Groovy: Commons CLI wrapper
…
the list is quite lengthy.
A table of data declaring all the things.
On Friday, 13 May 2016 at 09:57:16 UTC, Chris wrote:
"basing themselves on interpreted, slow languages that favoured
‘easy to learn’ over ‘easy to maintain’."
"Easy to learn" often correlates with "easy to maintain". I think
you are referring more to static typing vs dynamic typing.
Sure,
On Wednesday, 16 December 2015 at 15:27:22 UTC, Marc Schütz wrote:
On Wednesday, 16 December 2015 at 14:47:26 UTC, Dragos Carp
wrote:
On Wednesday, 16 December 2015 at 14:18:28 UTC, Borislav
Kosharov wrote:
I want to split a string using multiple separators. In
std.array the split function has
On 05/13/2016 03:18 PM, Walter Bright wrote:
Ironically, hiding contributions under a pseudonym may make one a less
desirable candidate because nobody will know that you're any good.
This.
Being a well-known contributor to a prestigious
project is a shortcut to better things.
Yep.
Ali
81 matches
Mail list logo