On Thursday, 6 October 2016 at 21:21:33 UTC, Karabuta wrote:
On Thursday, 6 October 2016 at 07:10:29 UTC, Vadim Lopatin
wrote:
Hello,
I've published two new DUB packages.
derelict-wintab: derelict binding of WinTab32.DLL - API for
Wacom digitizer tablets.
wasapi: translation of Windows
https://issues.dlang.org/show_bug.cgi?id=16589
--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/34213361ec3cd13485db7eb4044e93b85178397c
fix Issue 16589 - Taking address of stack variables in @safe
On 7 October 2016 at 12:55, Manu wrote:
> On 7 October 2016 at 12:38, Manu wrote:
>> On 7 October 2016 at 12:25, Chris Wright via Digitalmars-d
>> wrote:
>>> On Fri, 07 Oct 2016 11:42:08 +1000, Manu via Digitalmars-d wrote:
On 7 October 2016 at 12:38, Manu wrote:
> On 7 October 2016 at 12:25, Chris Wright via Digitalmars-d
> wrote:
>> On Fri, 07 Oct 2016 11:42:08 +1000, Manu via Digitalmars-d wrote:
>>> I think throwing is the precedented action in that failure
On 7 October 2016 at 12:25, Chris Wright via Digitalmars-d
wrote:
> On Fri, 07 Oct 2016 11:42:08 +1000, Manu via Digitalmars-d wrote:
>> I think throwing is the precedented action in that failure case...
>> what would you suggest?
>
> In C# 1.0, the standard pattern
On 7 October 2016 at 11:42, Manu wrote:
> On 7 October 2016 at 03:03, Ilya Yaroshenko via Digitalmars-d
> wrote:
>> On Thursday, 6 October 2016 at 14:53:52 UTC, Manu wrote:
>>>
>>> I've done another pass incorporating prior feedback, mostly
On Fri, 07 Oct 2016 11:42:08 +1000, Manu via Digitalmars-d wrote:
> I think throwing is the precedented action in that failure case...
> what would you suggest?
In C# 1.0, the standard pattern was to throw on errors. Later, they
revised their preferred mechanism and started offering methods
On 7 October 2016 at 05:58, Jinx via Digitalmars-d
wrote:
> On Thursday, 6 October 2016 at 15:00:56 UTC, Manu wrote:
>>
>> On 6 October 2016 at 00:29, Manu wrote:
>>>
>>> On 4 October 2016 at 11:15, Manu wrote:
On 7 October 2016 at 04:48, Random D user via Digitalmars-d
wrote:
> On Thursday, 6 October 2016 at 14:53:52 UTC, Manu wrote:
>>
>> I've done another pass incorporating prior feedback, mostly focusing on
>> documentation.
>
>
> Just a quick minor comment on:
> A8
On 10/6/16 12:53 PM, Ilya Yaroshenko wrote:
Effective work with std.experimental.ndslice and and mir.ndslice.array
requires half of std.math be an exactly aliases to LLVM intrinsics (for
LDC).
Why?
To enable vectorization for mir.ndslice.algorithm I created internal
math module [1] in Mir.
On 7 October 2016 at 03:03, Ilya Yaroshenko via Digitalmars-d
wrote:
> On Thursday, 6 October 2016 at 14:53:52 UTC, Manu wrote:
>>
>> I've done another pass incorporating prior feedback, mostly focusing on
>> documentation.
>>
>>
>>
https://issues.dlang.org/show_bug.cgi?id=9391
--- Comment #2 from Dmitry Olshansky ---
Pull:
https://github.com/dlang/phobos/pull/4286
--
On Thursday, 6 October 2016 at 20:55:55 UTC, Ilya Yaroshenko
wrote:
So, I don't see a reason why this change break something, hehe
No, Iain is right. These LLVM intrinsics are most often simple
forwarders to the C runtime functions; I was rather negatively
surprised to find out a while ago.
On 6 October 2016 at 22:55, Ilya Yaroshenko via Digitalmars-d
wrote:
> On Thursday, 6 October 2016 at 20:45:24 UTC, Iain Buclaw wrote:
>>
>> On 6 October 2016 at 22:31, Ilya Yaroshenko via Digitalmars-d
>> wrote:
>>>
>>> On Thursday, 6
On Wednesday, 5 October 2016 at 12:42:14 UTC
On Wednesday, 5 October 2016 at 12:42:14 UTC, Jacob Carlborg
wrote:
No. There's a difference between DMD 2.070.0 and 2.071.0:
OK, I'll retry on OSX, the bug report said Linux though. Seems
like we're dragging in all of the _Dmain stuff. IIRC
On Tuesday, 4 October 2016 at 11:08:51 UTC, Dejan Lekic wrote:
On Sunday, 2 October 2016 at 22:46:17 UTC, Wild wrote:
Congratulations!! It definitely looks promising, even though I
really do not like the coding style, but that is just a matter
of taste I guess.
:) The coding convention is
On Thursday, 6 October 2016 at 07:10:29 UTC, Vadim Lopatin wrote:
Hello,
I've published two new DUB packages.
derelict-wintab: derelict binding of WinTab32.DLL - API for
Wacom digitizer tablets.
wasapi: translation of Windows Core Audio interfaces (Core
Audio interfaces: MMDevice, WASAPI,
On Thursday, 6 October 2016 at 20:45:24 UTC, Iain Buclaw wrote:
On 6 October 2016 at 22:31, Ilya Yaroshenko via Digitalmars-d
wrote:
On Thursday, 6 October 2016 at 20:07:19 UTC, Iain Buclaw wrote:
On 6 October 2016 at 18:53, Ilya Yaroshenko via Digitalmars-d
On 6 October 2016 at 22:31, Ilya Yaroshenko via Digitalmars-d
wrote:
> On Thursday, 6 October 2016 at 20:07:19 UTC, Iain Buclaw wrote:
>>
>> On 6 October 2016 at 18:53, Ilya Yaroshenko via Digitalmars-d
>> wrote:
>>>
>>> [...]
>>
>>
>> If
I is
https://issues.dlang.org/show_bug.cgi?id=16574
--- Comment #5 from b2.t...@gmx.com ---
In a first time the good new is that I have a reduction:
interface Desc {}
class Bug(T): Desc
if (is(T : Desc))
{}
alias Type = Bug!Bar;
class Bar: Desc
{
Type a;
void test(){}
}
class Baz: Bar
{
On Thursday, 6 October 2016 at 20:07:19 UTC, Iain Buclaw wrote:
On 6 October 2016 at 18:53, Ilya Yaroshenko via Digitalmars-d
wrote:
[...]
If you can prove that llvm intrinsics are pure (gcc math
intrinsics are not) and that llvm intrinsics pass the unittest
Send pictures
https://issues.dlang.org/show_bug.cgi?id=16574
Walter Bright changed:
What|Removed |Added
CC|
On 10/06/2016 09:54 PM, TheGag96 wrote:
Interestingly enough, I found that using .each() actually compiles
without the []
[...]
why can the compiler consider it a range here but not
.sort()?
each is not restricted to ranges. It accepts other `foreach`-ables, too.
The documentation says that
On 6 October 2016 at 18:53, Ilya Yaroshenko via Digitalmars-d
wrote:
> Effective work with std.experimental.ndslice and and mir.ndslice.array
> requires half of std.math be an exactly aliases to LLVM intrinsics (for
> LDC).
>
> To enable vectorization for
On Thursday, 6 October 2016 at 15:00:56 UTC, Manu wrote:
On 6 October 2016 at 00:29, Manu wrote:
On 4 October 2016 at 11:15, Manu wrote:
[...]
I'm really struggling with this issue.. multiple times a day.
I can't find a reasonable workaround.
On Wednesday, 5 October 2016 at 19:30:01 UTC, Jonathan M Davis
wrote:
It doesn't even make conceptual sense for a static array to be
a range, because you can't remove elements from it.
- Jonathan M Davis
Interestingly enough, I found that using .each() actually
compiles without the [] but
https://issues.dlang.org/show_bug.cgi?id=16574
--- Comment #3 from b2.t...@gmx.com ---
What happens is that an alias declaration inside a class creates a silent error
(this is a second issue). When the alias is put out of the class the "real"
error appears before those related to overriding.
On Wednesday, October 05, 2016 21:10:01 Begah via Digitalmars-d-learn wrote:
> Although the triple buffer seems a good idea, there is one
> problem.
> I will need three time as much ram than what i currently need.
> Not to mention, every time i switch buffer i will need to copy
> all changes made
On Thursday, 6 October 2016 at 18:43:14 UTC, Luís Marques wrote:
On Thursday, 6 October 2016 at 16:43:56 UTC, WebFreak001 wrote:
code-d runs dub to get the compiler errors and display them,
just press the errors/warnings button at the bottom left.
Nope, the errors/warnings is always empty for
On Thursday, 6 October 2016 at 16:43:56 UTC, WebFreak001 wrote:
Debugging is also implemented if you install my second
extension if you search for `webfreak.debug` in the extension
search. Then using the code-d debug button in the statusbar you
can debug your app. Works on linux, windows and
On Thursday, 6 October 2016 at 14:53:52 UTC, Manu wrote:
I've done another pass incorporating prior feedback, mostly
focusing on documentation.
Just a quick minor comment on:
A8 RGB!("a",ubyte,false,0) 8 bit alpha-only color type.
-->
Reads like, "False what ???". Also "What is 0 ???".
-->
https://issues.dlang.org/show_bug.cgi?id=16600
Issue ID: 16600
Summary: Wrong error message for ambiguous mutable/immutable
constructor
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
On Thursday, 6 October 2016 at 16:43:56 UTC, WebFreak001 wrote:
code-d runs dub to get the compiler errors and display them,
just press the errors/warnings button at the bottom left.
Nope, the errors/warnings is always empty for me. I'm on a Mac.
On 10/06/2016 05:18 PM, Chalix wrote:
On Thursday, 6 October 2016 at 13:35:01 UTC, Mike Parker wrote:
So, change DerelictGL3.load to DerelictGL.load, then add a call to
DerelictGL.reload after creating and activating the context.
Thank you! That fixed the segmentation fault problem and the
On 10/06/2016 07:44 PM, ag0aep6g wrote:
https://dlang.org/phobos/std_container_util.html#.make
More specifically, the second overload is where it's at:
https://dlang.org/phobos/std_container_util.html#.make.2
On 10/06/2016 04:32 PM, Nordlöw wrote:
Is there a concept in D similar to Rust's `collect`:
https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.collect
If not, I'm eager to implement it to support D-style containers.
What would the desired interface look like?
Perhaps:
On Thursday, 6 October 2016 at 17:22:10 UTC, Dicebot wrote:
On Thursday, 6 October 2016 at 16:56:26 UTC, Nordlöw wrote:
Is there a way to do this, or do we need something similar to
`collect` in Phobos? Something like
import std.container.array : Array;
0.iota(n).collect!Array
You mean
On Thursday, 6 October 2016 at 16:56:26 UTC, Nordlöw wrote:
Is there a way to do this, or do we need something similar to
`collect` in Phobos? Something like
import std.container.array : Array;
0.iota(n).collect!Array
You mean semantics like this?
Container collect(Container, Range) (Range
On Thursday, October 06, 2016 16:56:26 Nordlöw via Digitalmars-d-learn wrote:
> On Thursday, 6 October 2016 at 16:14:33 UTC, Dicebot wrote:
> > If an entity (i.e. container) implements OutputRange API, you
> > can already do it:
> >
> > 0.iota(n).copy(container);
>
> Ahh, not quite what I
On Thursday, 6 October 2016 at 14:53:52 UTC, Manu wrote:
I've done another pass incorporating prior feedback, mostly
focusing on documentation.
On Thursday, 6 October 2016 at 16:53:54 UTC, Ilya Yaroshenko
wrote:
Effective work with std.experimental.ndslice and and
mir.ndslice.array requires half of std.math be an exactly
EDIT: mir.ndslice.algorithm
On Thursday, 6 October 2016 at 16:14:33 UTC, Dicebot wrote:
If an entity (i.e. container) implements OutputRange API, you
can already do it:
0.iota(n).copy(container);
Ahh, not quite what I wanted... I want to mimic the functional
style Rust provides, where the `container` is constructed
Effective work with std.experimental.ndslice and and
mir.ndslice.array requires half of std.math be an exactly aliases
to LLVM intrinsics (for LDC).
To enable vectorization for mir.ndslice.algorithm I created
internal math module [1] in Mir. But this is weird, because third
side packages
On Thursday, 6 October 2016 at 16:14:33 UTC, Dicebot wrote:
If an entity (i.e. container) implements OutputRange API, you
can already do it:
0.iota(n).copy(container);
Thanks, that's what I was looking for.
On Thursday, 6 October 2016 at 11:39:17 UTC, Luís Marques wrote:
On Tuesday, 4 October 2016 at 19:28:27 UTC, WebFreak001 wrote:
I've been working a lot on the new features for code-d to
improve the user experience for new users and lower the
barrier of creating D projects.
What I really wish
https://issues.dlang.org/show_bug.cgi?id=16574
--- Comment #2 from b2.t...@gmx.com ---
The culprit is this PR https://github.com/dlang/dmd/pull/5690
--
On Thursday, 6 October 2016 at 14:32:44 UTC, Nordlöw wrote:
Is there a concept in D similar to Rust's `collect`:
https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.collect
If not, I'm eager to implement it to support D-style containers.
What would the desired interface look like?
On Thursday, 6 October 2016 at 14:58:34 UTC, Nordlöw wrote:
On Thursday, 6 October 2016 at 14:33:59 UTC, rikki cattermole
wrote:
So an input range to array?
Sure std.array : array.
No, we want a generic alternative that fills any kind of
container, typically non-GC allocated.
Sounds like
On Thursday, 6 October 2016 at 13:35:01 UTC, Mike Parker wrote:
So, change DerelictGL3.load to DerelictGL.load, then add a call
to DerelictGL.reload after creating and activating the context.
Thank you! That fixed the segmentation fault problem and the
crash :)
But I still struggle with the
On Thursday, 6 October 2016 at 15:00:00 UTC, Pham wrote:
string s is multi-lines (CRLF as line break)
The write function will write extra CR character for each CRLF
pair -> why (bug?)
import std.file;
import std.stdio;
string s = ...;
auto fHandle = File("f:\\text.txt", "w"); // open for
string s is multi-lines (CRLF as line break)
The write function will write extra CR character for each CRLF
pair -> why (bug?)
import std.file;
import std.stdio;
string s = ...;
auto fHandle = File("f:\\text.txt", "w"); // open for writing
fHandle.write(s);
fHandle.close();
On 6 October 2016 at 00:29, Manu wrote:
> On 4 October 2016 at 11:15, Manu wrote:
>> On 4 October 2016 at 10:50, Timon Gehr via Digitalmars-d
>> wrote:
>>> On 03.10.2016 05:06, Manu via Digitalmars-d wrote:
Okay,
On Thursday, 6 October 2016 at 14:33:59 UTC, rikki cattermole
wrote:
So an input range to array?
Sure std.array : array.
No, we want a generic alternative that fills any kind of
container, typically non-GC allocated.
I've done another pass incorporating prior feedback, mostly focusing
on documentation.
http://dtest.thecybershadow.net/artifact/website-b6e2e44dd40dd7c70eb45829c02060b99ae3937b-57272ccdf902fa3f0c050d522129f2be/web/library-prerelease/std/experimental/color.html
Can interested parties please give
On 07/10/2016 3:32 AM, Nordlöw wrote:
Is there a concept in D similar to Rust's `collect`:
https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.collect
If not, I'm eager to implement it to support D-style containers.
What would the desired interface look like?
Perhaps:
Is there a concept in D similar to Rust's `collect`:
https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.collect
If not, I'm eager to implement it to support D-style containers.
What would the desired interface look like?
Perhaps:
0.iota(n).collect!Array
Or can/should we just
https://issues.dlang.org/show_bug.cgi?id=16599
uplink.co...@googlemail.com changed:
What|Removed |Added
CC||uplink.co...@googlemail.com
https://issues.dlang.org/show_bug.cgi?id=16599
Issue ID: 16599
Summary: Allow Template Constraint in Untemplated Function in
Templated Struct
Product: D
Version: D2
Hardware: All
URL: http://dlang.org/
On Thursday, 6 October 2016 at 10:49:40 UTC, Chalix wrote:
glMatrixMode(GL_MODELVIEW); /*Here the program crashes with
There are two things wrong with your use of Derelict.
First, though you are correctly importing derelict.opengl3.gl to
get the deprecated functions (which the gl3
So, Alexandru (our first n00b) has made his first contribution, see
https://github.com/dlang/dlang.org/pull/1493. Yay!
In order to continue his onboarding process, I'll look for a few bugs of
varying degrees of difficulty that should offer him good exposure to
various areas of our toolset. If
On Thursday, 6 October 2016 at 08:56:43 UTC, Alexandru Razvan
Caciulescu wrote:
On Tuesday, 4 October 2016 at 23:01:37 UTC, Andrei Alexandrescu
wrote:
Hello everyone,
It is with great joy and honor to announce that Alexandru
Razvan Caciulescu will work with the D Language Foundation
https://issues.dlang.org/show_bug.cgi?id=16592
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
On Wednesday, 5 October 2016 at 00:09:39 UTC, Walter Bright wrote:
Welcome, Alexandru!
+1 :-)
https://dlang.org/phobos/std_concurrency.html#.receive
https://issues.dlang.org/show_bug.cgi?id=16566
--- Comment #3 from anonymous4 ---
(In reply to Jonathan M Davis from comment #2)
> http://forum.dlang.org/post/nsn75s$v8q$1...@digitalmars.com
Looks like he considers non-numeric types for length. Numeric types have no
On Wednesday, 5 October 2016 at 02:11:14 UTC, Meta wrote:
- Video games, such as referring to the player character's body
Many years ago I did a D port of the C-Dogs game from C to D and
it was quite annoying to have to rename all the body variables to
body_. It has happened in other
On Wednesday, 5 October 2016 at 05:53:06 UTC, Suliman wrote:
Please, add Sublime support
+1 for Sublime Support :)
On Thursday, 6 October 2016 at 10:09:24 UTC, Andrea Fontana wrote:
On Thursday, 6 October 2016 at 09:51:20 UTC, Alexander Milushev
wrote:
On Thursday, 6 October 2016 at 09:45:03 UTC, Andrea Fontana
wrote:
On Thursday, 6 October 2016 at 09:31:43 UTC, Alexander
Milushev wrote:
Hi all,
Is there
On Thursday, 6 October 2016 at 03:48:22 UTC, Mike Parker wrote:
On Thursday, 6 October 2016 at 03:05:18 UTC, Patric Dexheimer
wrote:
[...]
There's a difference between initialization and assignment.
[...]
On Thursday, 6 October 2016 at 03:48:22 UTC, Mike Parker wrote:
On Thursday, 6
On Tuesday, 4 October 2016 at 17:00:34 UTC, Mike Wey wrote:
Replace "import glgdk.GLContext;" with "import gdk.GLContext;"
Hey Mike, you've been a great help so far! Thank you :)
I thought now I am ready to draw something, but I struggle with
the GLContext and GdkGlContext. Where do I get a
On Thursday, 6 October 2016 at 09:51:20 UTC, Alexander Milushev
wrote:
On Thursday, 6 October 2016 at 09:45:03 UTC, Andrea Fontana
wrote:
On Thursday, 6 October 2016 at 09:31:43 UTC, Alexander
Milushev wrote:
Hi all,
Is there any good IDE for DLang for macOS? I have used
Xamarin Studio with
On Thursday, 6 October 2016 at 09:45:03 UTC, Andrea Fontana wrote:
On Thursday, 6 October 2016 at 09:31:43 UTC, Alexander Milushev
wrote:
Hi all,
Is there any good IDE for DLang for macOS? I have used Xamarin
Studio with D Language Addin but currently it does not
supported by developer. Also
On Thursday, 6 October 2016 at 09:31:43 UTC, Alexander Milushev
wrote:
Hi all,
Is there any good IDE for DLang for macOS? I have used Xamarin
Studio with D Language Addin but currently it does not
supported by developer. Also I have tried Idea with D Language
plugin but autocomplete did not
Hi all,
Is there any good IDE for DLang for macOS? I have used Xamarin
Studio with D Language Addin but currently it does not supported
by developer. Also I have tried Idea with D Language plugin but
autocomplete did not work.
https://issues.dlang.org/show_bug.cgi?id=16592
Vladimir Panteleev changed:
What|Removed |Added
Keywords||pull
On Thursday, 6 October 2016 at 09:17:08 UTC, pineapple wrote:
On Wednesday, 5 October 2016 at 19:30:01 UTC, Jonathan M Davis
wrote:
Would just like to point out that this is design weirdness on
Phobos' part - the library I've been writing does not have
this problem.
It doesn't even make
On Thursday, 6 October 2016 at 09:17:08 UTC, pineapple wrote:
On Wednesday, 5 October 2016 at 19:30:01 UTC, Jonathan M Davis
wrote:
Would just like to point out that this is design weirdness on
Phobos' part - the library I've been writing does not have
this problem.
It doesn't even make
On Wednesday, 5 October 2016 at 19:30:01 UTC, Jonathan M Davis
wrote:
Would just like to point out that this is design weirdness on
Phobos' part - the library I've been writing does not have
this problem.
It doesn't even make conceptual sense for a static array to be
a range, because you
On Thursday, 6 October 2016 at 06:38:06 UTC, Jonathan M Davis
wrote:
Yeah, the fact that the body keyword is not required normally
but is when you have in/out contracts is annoying, completely
aside from what the keyword used is. I don't care much about
losing the name body to a keyword, but I
On Tuesday, 4 October 2016 at 23:01:37 UTC, Andrei Alexandrescu
wrote:
Hello everyone,
It is with great joy and honor to announce that Alexandru
Razvan Caciulescu will work with the D Language Foundation
starting today. Please join me in welcoming him to the
community.
[...]
Hi everyone
https://issues.dlang.org/show_bug.cgi?id=14068
anonymous4 changed:
What|Removed |Added
See Also|
https://issues.dlang.org/show_bug.cgi?id=16597
anonymous4 changed:
What|Removed |Added
Keywords||ice-on-invalid-code
https://issues.dlang.org/show_bug.cgi?id=16592
Alexandru Razvan Caciulescu changed:
What|Removed |Added
CC|
Please, could someone post here, or provide a link to, some
simple, debugged examples.
Best regards
Hello,
I've published two new DUB packages.
derelict-wintab: derelict binding of WinTab32.DLL - API for Wacom
digitizer tablets.
wasapi: translation of Windows Core Audio interfaces (Core Audio
interfaces: MMDevice, WASAPI, EndpointVolume API).
I'm using them in my SoundTab project -
On Thursday, October 06, 2016 05:25:19 Patrick Schluter via Digitalmars-d
wrote:
> Sorry, I find the actual body without body keyword much more
> natural (i.e. intuitive) than having the body requiring it only
> when there are contracts. It would be even consistent with the
> template syntax
On Wednesday, October 05, 2016 02:11:14 Meta via Digitalmars-d wrote:
> I'm currently writing up a DIP to propose removing `body` as a
> keyword to allow it to be used for variable names, functions,
> etc. I'm looking for examples and contexts where `body` would
> normally be used as a variable,
89 matches
Mail list logo