https://issues.dlang.org/show_bug.cgi?id=15598
Ketmar Dark changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=10406
b2.t...@gmx.com changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=15598
Issue ID: 15598
Summary: core.atomicFence is not @nogc on x86
Product: D
Version: D2
Hardware: x86
OS: Linux
Status: NEW
Severity: minor
Priority: P1
On Friday, 22 January 2016 at 14:19:30 UTC, rsw0x wrote:
On Friday, 22 January 2016 at 13:28:00 UTC, maik klein wrote:
On Friday, 22 January 2016 at 13:21:11 UTC, rsw0x wrote:
On Friday, 22 January 2016 at 12:57:54 UTC, maik klein wrote:
...
You're looking for AliasSeq in std.meta, it's a
On Friday, 22 January 2016 at 01:04:50 UTC, Dibyendu Majumdar
wrote:
On Friday, 22 January 2016 at 01:03:09 UTC, Dibyendu Majumdar
wrote:
On Friday, 22 January 2016 at 00:52:59 UTC, W.J. wrote:
Counter question: What's so bad about the D std library ?
I am trying to create bindings for
https://issues.dlang.org/show_bug.cgi?id=14804
b2.t...@gmx.com changed:
What|Removed |Added
See Also||https://issues.dlang.org/sh
https://issues.dlang.org/show_bug.cgi?id=10771
b2.t...@gmx.com changed:
What|Removed |Added
See Also||https://issues.dlang.org/sh
Hi, I have a problem with creating proper inheritance chain with
templates. First i will give some background about my problem.
I'm trying to create a validator for math calculation
expressions. I don't want to use regexps as this is approach
gives me headache and probably will not allow
https://issues.dlang.org/show_bug.cgi?id=15376
--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/635cecee557bf5e82b2f614dd19e41383505c3f7
Fix for issue# 15376.
On 01/22/2016 04:07 AM, abad wrote:
Let's say I have an array like this:
int[][][] array;
And I want to generate a linear int[] based on its data. Is there a
standard library method for achieving this, or must I iterate over the
array manually?
What I'm thinking of is something like this:
On 2016-01-22 00:46, anonymous wrote:
http://i.imgur.com/eJaKFtx.png
The first one is the current logo. The last one shows just the core
shape (D + moons), of course.
I vote the last one as the official out of context logo. I vote the
third one for the web site.
--
/Jacob Carlborg
On 2016-01-23 02:31, Anon wrote:
Ideally, by whether the `extern()` forms a block or it is attached
directly to the symbol. I understand that wouldn't work with existing
implementation in the compiler, but hopefully it wouldn't be too
difficult to do. But I know nothing of compiler internals so
On 23.01.2016 12:44, tcak wrote:
https://dlang.org/phobos/core_thread.html#.Thread
final nothrow Thread.start()
Looking at the code, no "throw new ..." is seen, but the function
"onThreadError" is called
which has "throw" in it.
Most weird thing is that "onThreadError" function is marked as
https://issues.dlang.org/show_bug.cgi?id=10882
b2.t...@gmx.com changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
On Thursday, 21 January 2016 at 14:04:58 UTC, Andrei Alexandrescu
wrote:
On 01/21/2016 08:42 AM, Era Scarecrow wrote:
I'd almost say lowestCount and highestCount would almost be
better, but I am not sure.
minCount is already a given. -- Andrei
I have a slight problem where I'm not already
https://issues.dlang.org/show_bug.cgi?id=15597
Issue ID: 15597
Summary: error messages in mixins should show context
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
On Saturday, 23 January 2016 at 12:13:16 UTC, maik klein wrote:
On Friday, 22 January 2016 at 14:19:30 UTC, rsw0x wrote:
[...]
I think that should work but it only works because you do an
implicit conversion with get which is quite nice.
[...]
I forgot to show what `tref` was in my last
https://issues.dlang.org/show_bug.cgi?id=8382
b2.t...@gmx.com changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://dlang.org/phobos/core_thread.html#.Thread
final nothrow Thread.start()
Looking at the code, no "throw new ..." is seen, but the function
"onThreadError" is called
which has "throw" in it.
Most weird thing is that "onThreadError" function is marked as
"nothrow" but it still throws.
This is mostly to prevent ugly hacks like Flag [1].
http://wiki.dlang.org/DIP88
[1] https://dlang.org/phobos/std_typecons.html#.Flag
--
/Jacob Carlborg
On Saturday, 23 January 2016 at 01:23:20 UTC, H. S. Teoh wrote:
This is not the governance of a country. If you don't like the
way the decisions are being made, you always have the freedom
to take the source code (except for the proprietary backend),
fork it, and build your own community.
I always wanted it to be a gif so the planet would appear to be subtly rotating
and the edge of Deimos might twinkle slightly :-)
On 23.01.2016 12:30, Voitech wrote:
Ok so i want to hold different types in LogicRule maybe Algebraic
implementation would do?
private alias ControllTemplate(T) =Rule!(T,ControllFlag);
private alias SymbolRule =ControllTemplate!(SymbolType);
private alias StringRule
On Sunday, 17 January 2016 at 10:43:55 UTC, Sean Campbell wrote:
On Sunday, 17 January 2016 at 10:34:19 UTC, locco wrote:
Hi :)
I found this example:
==
import std.file: write;
import std.string: representation;
void main()
{
On 2016-01-23 17:35, Mathias Lang via Digitalmars-d wrote:
About the rationale:
> Supporting named parameters directly in the language prevents the
need to add workarounds with weird looking syntax like Flag
That's going the opposite way of the current trend, which is shift as
much feature to
On Saturday, 23 January 2016 at 14:19:03 UTC, Jacob Carlborg
wrote:
This is mostly to prevent ugly hacks like Flag [1].
http://wiki.dlang.org/DIP88
[1] https://dlang.org/phobos/std_typecons.html#.Flag
I already see confusing code like:
foo(10, 20, width: ((big) ? 600 : 200), height: ((big) ?
On Saturday, 23 January 2016 at 14:19:03 UTC, Jacob Carlborg
wrote:
This is mostly to prevent ugly hacks like Flag [1].
http://wiki.dlang.org/DIP88
[1] https://dlang.org/phobos/std_typecons.html#.Flag
Some comments:
1) Default values
You should specify how to use both the `:` syntax and a
You can try to write a trusted wrapper for one of curl functions
and ask for a review on forum. Maybe it will be fruitful.
On Saturday, 23 January 2016 at 14:19:03 UTC, Jacob Carlborg
wrote:
This is mostly to prevent ugly hacks like Flag [1].
http://wiki.dlang.org/DIP88
[1] https://dlang.org/phobos/std_typecons.html#.Flag
Without making things any complex, the simplest thought of mine
is:
Keep everything
On 2016-01-23 16:34, tcak wrote:
Without making things any complex, the simplest thought of mine is:
Keep everything same. But allow caller to put name of parameter front
its value wherever desired.
Let's say,
Rect createRect(int x, int y, int width, int height);
So you could call it like:
On 01/23/16 02:11, ronaldmc via Digitalmars-d wrote:
>
> What happens if a technical feature is vetoed by someone is charge even if it
> has merit?
Every wrong decision affects the project negatively.
> Linux Foundation has a board members to approve or not new features or
> changes, and
On Saturday, 16 January 2016 at 03:14:01 UTC, Adam D. Ruppe wrote:
On Saturday, 16 January 2016 at 01:27:32 UTC, Andre Polykanine
wrote:
Does anyone have an actual example of, say, a simple form with
a set of radio buttons or check boxes to start with?
Thanks in advance!
Sort of. I still
I'm thinking of implementation std.simd in fashion different to
https://github.com/TurkeyMan/simd
since it looks dead and too sophisticated.
My proposal is:
- std.simd - processor independent intrinsics and some high
level stuff.
You only depend on different sizes of SIMD vector.
On 01/22/2016 09:48 AM, Marc Schütz wrote:
On Thursday, 21 January 2016 at 20:42:17 UTC, Jack Stouffer wrote:
On Thursday, 21 January 2016 at 19:31:19 UTC, Andrei Alexandrescu wrote:
* Do NOT alias Flag!"frob" to a new name. This is unnecessary,
unhelpful, and wasteful.
I disagree. Making an
https://issues.dlang.org/show_bug.cgi?id=15592
Ivan Kazmenko changed:
What|Removed |Added
CC||ga...@mail.ru
--
On 2016-01-23 15:54, Marc Schütz wrote:
Some comments:
1) Default values
You should specify how to use both the `:` syntax and a default
parameter value, including an example. They are often going to be used
together, and it needs to be clear how they interact.
I can add an example.
2)
On 01/22/2016 09:48 AM, Marc Schütz wrote:
On Thursday, 21 January 2016 at 20:42:17 UTC, Jack Stouffer wrote:
On Thursday, 21 January 2016 at 19:31:19 UTC, Andrei Alexandrescu wrote:
* Do NOT alias Flag!"frob" to a new name. This is unnecessary,
unhelpful, and wasteful.
I disagree. Making an
On Saturday, 23 January 2016 at 08:25:49 UTC, Walter Bright wrote:
I always wanted it to be a gif so the planet would appear to be
subtly rotating and the edge of Deimos might twinkle slightly
:-)
If it was meant to be a git then it makes more sense why it was
as it is originally (but
On Friday, 22 January 2016 at 20:28:57 UTC, anonymous wrote:
On 22.01.2016 20:53, ronaldmc wrote:
I don't want to start a war, but this isn't community? I mean
aren't we
trying to make things better, because the way you said it
seems like a
dictatorship.
It's dictatorship insofar as Walter
On 2016-01-22 23:00, Ilya wrote:
DIP please! --Ilya
http://forum.dlang.org/post/n8024o$dlj$1...@digitalmars.com
--
/Jacob Carlborg
On Saturday, 23 January 2016 at 00:38:45 UTC, Dibyendu Majumdar
wrote:
On Friday, 22 January 2016 at 22:06:35 UTC, Dibyendu Majumdar
wrote:
Hi
I am trying to create a simple shared library that exports a D
function, but when I try to link to it I get errors such as:
error LNK2001:
On Saturday, 23 January 2016 at 01:23:20 UTC, H. S. Teoh wrote:
...
And besides, calling something a "dictatorship" is again
confusing the development of a programming language with
running a government. I still fail to see the connection
between the two.
Because maybe you don't read too
On Sat, 23 Jan 2016 15:19:03 +0100, Jacob Carlborg wrote:
> This is mostly to prevent ugly hacks like Flag [1].
>
> http://wiki.dlang.org/DIP88
Please add proposals to http://wiki.dlang.org/List_of_DIP in the future.
(I just did it for you.) There's a DIP category, but nobody includes a
On Saturday, 23 January 2016 at 15:41:43 UTC, ronaldmc wrote:
On Saturday, 23 January 2016 at 01:23:20 UTC, H. S. Teoh wrote:
[...]
Because maybe you don't read too much (outside programming),
you can easily find the term being used on open source. i.e:
Hi all,
While trying to interface C++ and D, I have to new a few D
objects in C++ code. I am doing this using a D function: "XXX
createXXX(...) { return new XXX(...); }".
I am sure there must be some great way to automatically generate
these creator functions, but I don't know how to do it.
On Saturday, 23 January 2016 at 15:34:00 UTC, tcak wrote:
On Saturday, 23 January 2016 at 14:19:03 UTC, Jacob Carlborg
wrote:
This is mostly to prevent ugly hacks like Flag [1].
http://wiki.dlang.org/DIP88
[1] https://dlang.org/phobos/std_typecons.html#.Flag
Without making things any
2016-01-23 15:19 GMT+01:00 Jacob Carlborg via Digitalmars-d <
digitalmars-d@puremagic.com>:
> This is mostly to prevent ugly hacks like Flag [1].
>
> http://wiki.dlang.org/DIP88
>
> [1] https://dlang.org/phobos/std_typecons.html#.Flag
>
> --
> /Jacob Carlborg
>
About the rationale:
> Supporting
https://issues.dlang.org/show_bug.cgi?id=11500
Adam D. Ruppe changed:
What|Removed |Added
CC|
On Friday, 22 January 2016 at 04:30:33 UTC, tsbockman wrote:
On Friday, 22 January 2016 at 02:13:56 UTC, Ola Fosheim Grøstad
wrote:
[...]
I don't necessarily disagree with your overall point, but I
think the question of whether a few attributes have an @
attached to them or not ranks pretty
On Saturday, 23 January 2016 at 16:38:13 UTC, Jacob Carlborg
wrote:
void foo(int a:, string b:);
void foo(string b:, int a:);
void main()
{
foo(a: 3, b: "asd");
}
What should happen in the above example? Error or which
function should be called?
I hadn't take this into consideration;
On 18 January 2016 at 23:26, Walter Bright via Digitalmars-d-announce <
digitalmars-d-announce@puremagic.com> wrote:
> at least for 64 bit Linux. Other platforms to follow.
>
> https://github.com/D-Programming-Language/dmd/pull/5342
>
> This is what Andrei and I call "enabling" technology, as
On Saturday, 23 January 2016 at 20:07:48 UTC, karabuta wrote:
On Friday, 22 January 2016 at 04:30:33 UTC, tsbockman wrote:
I don't necessarily disagree with your overall point, but I
think the question of whether a few attributes have an @
attached to them or not ranks pretty low on the list
On Saturday, 23 January 2016 at 21:03:21 UTC, Josh Phillips wrote:
I tried this but it will return A not B
Are you sure you correctly casted first?
The installer should be modernized and provide path information
and resolve dependencies properly before installing. It is
clear that dmd was not designed for windows use.
Also, sc.ini global variables should be at the top most section:
[Environment]
DFLAGS="-I%@P%\..\..\src\phobos"
https://issues.dlang.org/show_bug.cgi?id=15599
Issue ID: 15599
Summary: Broken link here: https://dlang.org/features2.html
Product: D
Version: D2
Hardware: Other
OS: Other
Status: NEW
Severity: minor
On Saturday, 23 January 2016 at 21:03:21 UTC, Josh Phillips wrote:
On Friday, 22 January 2016 at 23:44:34 UTC, Adam D. Ruppe wrote:
There's a .classinfo property that works on Objects.
If you have an interface, cast to Object first, and check for
null, then get .classinfo off that.
I tried
On Saturday, 23 January 2016 at 14:19:03 UTC, Jacob Carlborg
wrote:
This is mostly to prevent ugly hacks like Flag [1].
http://wiki.dlang.org/DIP88
[1] https://dlang.org/phobos/std_typecons.html#.Flag
To be pedantic, this would be adding named arguments, not named
parameters. The parameters
On Friday, 22 January 2016 at 23:44:34 UTC, Adam D. Ruppe wrote:
There's a .classinfo property that works on Objects.
If you have an interface, cast to Object first, and check for
null, then get .classinfo off that.
I tried this but it will return A not B
On Saturday, 23 January 2016 at 22:47:35 UTC, Walter Bright wrote:
On 1/23/2016 1:38 PM, Igor wrote:
As of now I personally cannot use dmd to build windows apps.
You know, sc.ini is editable by you!
Yes, But why do you expect me to be so smart or have a desire to
waste my time looking for
On Friday, 21 June 2013 at 14:08:43 UTC, Sergei Nosov wrote:
Hi!
I've been thinking about how alias template parameters work and
I'm really confused =)
It makes perfect sense for literals, names, etc. But what I
can't get is how does it work for delegates.
If I have a function
auto
On Friday, 22 January 2016 at 20:19:55 UTC, Ali Çehreli wrote:
https://www.reddit.com/r/programming/comments/426pwq/a_language_is_more_than_a_language/
Would someone from the D community add D to his project:
http://bruceeckel.github.io/Language-Evaluation-Checklist/
Ali
Meh. Doesn't
On Fri, Jan 22, 2016 at 10:04:58PM +, data pulverizer via
Digitalmars-d-learn wrote:
[...]
> I guess the next step is allowing Tuple rows with mixed types.
Alright. I threw together a new CSV parsing function that loads CSV data
into an array of structs. Currently, the implementation is not
On Saturday, 23 January 2016 at 19:42:29 UTC, Johan Engelen wrote:
Hi all,
While trying to interface C++ and D, I have to new a few D
objects in C++ code. I am doing this using a D function: "XXX
createXXX(...) { return new XXX(...); }".
I am sure there must be some great way to
On Saturday, 23 January 2016 at 20:54:36 UTC, develop32 wrote:
On Saturday, 23 January 2016 at 20:24:05 UTC, Igor wrote:
Some simple extensions to dub are required for proper windows
support:
1. The Ability to generate full build selections for Visual D.
I only get Win32 when using `dub
On 1/23/2016 3:49 PM, Igor wrote:
Yes, But why do you expect me to be so smart or have a desire to waste my time
looking for paths and such when YOU can write about 100 lines of code in about
the same time it would take me to get sc.ini to work properly?
There is a multiplicative factor here.
On Saturday, 23 January 2016 at 20:11:35 UTC, tsbockman wrote:
On Saturday, 23 January 2016 at 20:07:48 UTC, karabuta wrote:
On Friday, 22 January 2016 at 04:30:33 UTC, tsbockman wrote:
I don't necessarily disagree with your overall point, but I
think the question of whether a few attributes
Some simple extensions to dub are required for proper windows
support:
1. The Ability to generate full build selections for Visual D. I
only get Win32 when using `dub generate VisualD`. Win64 support
should be added, along with alternate compiler support. (GDC and
LDC)
2. The ability to
On 1/23/2016 1:38 PM, Igor wrote:
As of now I personally cannot use dmd to build windows apps.
You know, sc.ini is editable by you!
On Sat, 23 Jan 2016 19:42:29 +, Johan Engelen wrote:
> // Somehow define these guys automatically, "genCreateCtors!(XXX)" ?
>XXX createXXX(int a, int b) { return new XXX(a, b); }
>XXX createXXX(bool flag) { return new XXX(flag); }
Check out http://dpaste.dzfl.pl/430dabf25935
I used
On Saturday, 23 January 2016 at 20:24:05 UTC, Igor wrote:
Some simple extensions to dub are required for proper windows
support:
1. The Ability to generate full build selections for Visual D.
I only get Win32 when using `dub generate VisualD`. Win64
support should be added, along with
I feel like I am in the cave man times. I installed Dmd2 from
scratch. VisualD x64 project would not compile due to libucrt.lib
not being found.
Using Process Monitor, it seems that dmd is looking all over the
place for libucrt.lib but can't find it. Check out sci.ini has
some weird
On 1/23/2016 11:47 AM, karabuta wrote:
On Saturday, 23 January 2016 at 08:25:49 UTC, Walter Bright wrote:
I always wanted it to be a gif so the planet would appear to be subtly
rotating and the edge of Deimos might twinkle slightly :-)
If it was meant to be a git then it makes more sense why
On Saturday, 23 January 2016 at 21:24:27 UTC, Igor wrote:
No, I am talking about adding the different build options
inside the visual studio project. When one generates the
project, it should add the 64bit build options regardless. It
is a standard with all Visual Studio projects in C++, C#,
On Saturday, 23 January 2016 at 23:49:23 UTC, Igor wrote:
Yes, But why do you expect me to be so smart or have a desire
to waste my time looking for paths and such when YOU can write
about 100 lines of code in about the same time it would take me
to get sc.ini to work properly?
There is a
On Sunday, 24 January 2016 at 05:16:06 UTC, Igor wrote:
Please don't parrot! I, Of course, used the installer and it
didn't work, else why would I be here? The installer is
obviously flawed, if you looked in to this you would see that
it is the case.
When you said, "I installed Dmd2 from
On Saturday, 23 January 2016 at 21:38:19 UTC, Igor wrote:
I feel like I am in the cave man times. I installed Dmd2 from
scratch. VisualD x64 project would not compile due to
libucrt.lib not being found.
Sorry you are having trouble. The Universal CRT and Visual Studio
2015 are very new and
Source code:
https://alexvincent.us/d-language/samples/intervalmap-rev1.d.txt
After reading Ali Çehreli's book, "Programming in D", I wrote
this little sample up as a starting point for my explorations
into D. I've long admired the D language, but I've never
actually tried to write practical
On Sunday, 24 January 2016 at 01:57:11 UTC, H. S. Teoh wrote:
- Ummm... make it ready for integration with std.csv maybe? ;-)
T
My suggestion is to take the unittests used in std.csv and try to
get your code working with them. As fastcsv limitations would
prevent replacing the std.csv
On Sunday, 24 January 2016 at 00:46:32 UTC, Walter Bright wrote:
Sucking the life force from D users is all the sustenance I
need.
Lol, ok! ;) Well, Sorry, I don't have much life force to give!
On Saturday, 23 January 2016 at 14:19:03 UTC, Jacob Carlborg
wrote:
This is mostly to prevent ugly hacks like Flag [1].
http://wiki.dlang.org/DIP88
[1] https://dlang.org/phobos/std_typecons.html#.Flag
Someone on another thread made a comment that it wasn't clear
what : does in D. I suspect
On Sunday, 24 January 2016 at 00:24:27 UTC, develop32 wrote:
On Saturday, 23 January 2016 at 21:24:27 UTC, Igor wrote:
Ah, yeah, that makes sense.
To me personally setting project working directory to $(OUTDIR)
when generating would be nice. Doesn't sound like a hard thing
to do, I'll try
On Sunday, 24 January 2016 at 02:59:02 UTC, Mike Parker wrote:
On Saturday, 23 January 2016 at 23:49:23 UTC, Igor wrote:
If editing a configuration file is so difficult, you should use
the installer. It will find your Microsoft tool installations
and configure everything for you.
Please
82 matches
Mail list logo