Re: Is it possible to avoid call to destructor for structs?

2017-09-27 Thread Elronnd via Digitalmars-d-learn
Here's a simple solution. Just make Bar a pointer and free it before it can be destructed! import std.stdio; struct Bar { ~this() { writeln("~bar"); } } struct Foo { Bar *bar; this(int why_the_fuck_dont_structs_have_default_constructors) { bar = new Bar;

Re: Is it possible to avoid call to destructor for structs?

2017-09-27 Thread Elronnd via Digitalmars-d-learn
Here's a simple solution. Just make Bar a pointer and free it before it can be destructed! import std.stdio; struct Bar { ~this() { writeln("~bar"); } } struct Foo { Bar *bar; this(int why_the_fuck_dont_structs_have_default_constructors) { bar = new Bar;

Re: Should we add `a * b` for vectors?

2017-09-27 Thread Walter Bright via Digitalmars-d
On 9/27/2017 4:21 PM, Manu wrote: D does not have ADL, Thank gawd! :-) which will almost certainly lead to _very_ nasty surprises in behaviour. ADL was always a hack to get around the wretched overloading symbol lookup behavior in C++. I see it has somehow morphed into a feature :-( but I

Re: std.reflection prototype

2017-09-27 Thread bitwise via Digitalmars-d
On Wednesday, 27 September 2017 at 20:38:51 UTC, Gheorghe Gabriel wrote: On Monday, 30 March 2015 at 01:11:55 UTC, bitwise wrote: [...] Hi, your link is not working any more and I really need your implementation. Gabriel I took the code down because there were design flaws I had to work

Re: Compile-time reflection and templates

2017-09-27 Thread jmh530 via Digitalmars-d
On Wednesday, 27 September 2017 at 21:18:54 UTC, Jean-Louis Leroy wrote: I am aware of these but TemplateArgsOf takes a template *instantiation* and returns the arguments. I want to reflect the *template*. Yeah, I had kind of realized the point about instantiate mid-post.

Re: Should we add `a * b` for vectors?

2017-09-27 Thread jmh530 via Digitalmars-d
On Wednesday, 27 September 2017 at 23:25:34 UTC, Manu wrote: Again, sadly, D has no ADL, and this will be an unmitigated disaster as a result! Instantiations of templates will use the default elementwise operator instead of the one you specified in your module, and nobody will understand

Re: Is it possible to specify the address returned by the address of operator?

2017-09-27 Thread DreadKyller via Digitalmars-d-learn
On Wednesday, 27 September 2017 at 23:24:58 UTC, user1234 wrote: On Wednesday, 27 September 2017 at 21:01:36 UTC, Jesse Phillips wrote: On Wednesday, 27 September 2017 at 16:35:54 UTC, DreadKyller wrote: My question is about overloading, several operators can be overloaded in D, one of the

Re: Should we add `a * b` for vectors?

2017-09-27 Thread Manu via Digitalmars-d
On 27 September 2017 at 17:41, Ilya Yaroshenko via Digitalmars-d < digitalmars-d@puremagic.com> wrote: > On Wednesday, 27 September 2017 at 04:59:10 UTC, Manu wrote: > >> On 26 September 2017 at 21:41, Atila Neves via Digitalmars-d < >> digitalmars-d@puremagic.com> wrote: >> >> On Friday, 22

Re: Should we add `a * b` for vectors?

2017-09-27 Thread Manu via Digitalmars-d
On 27 September 2017 at 22:01, jmh530 via Digitalmars-d < digitalmars-d@puremagic.com> wrote: > On Wednesday, 27 September 2017 at 07:41:23 UTC, Ilya Yaroshenko wrote: > >> >> I would prefer outer operator overloading be added to D instead of type >> wrappers. So a user can import a library for

Re: Silicon Valley D Meetup - September 28, 2017 - "Open Methods: From C++ to D" by Jean-Louis Leroy

2017-09-27 Thread Ali Çehreli via Digitalmars-d-announce
On 09/26/2017 09:27 PM, Ali Çehreli wrote: > As always, I will post the Google Meet link here. The Google Meet link is (will be) https://meet.google.com/zie-vuec-jao but the meeting is in about 26 hours from this posting. You may want to make sure Google Meet works with your browser; I had

Re: Is it possible to specify the address returned by the address of operator?

2017-09-27 Thread user1234 via Digitalmars-d-learn
On Wednesday, 27 September 2017 at 21:01:36 UTC, Jesse Phillips wrote: On Wednesday, 27 September 2017 at 16:35:54 UTC, DreadKyller wrote: My question is about overloading, several operators can be overloaded in D, one of the ones that can't apparently is the address of operator (). My

[Issue 13568] Support compile-time format strings in std.format

2017-09-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13568 --- Comment #11 from b2.t...@gmx.com --- There's https://issues.dlang.org/show_bug.cgi?id=17381 that could be handled the day std.format will be refact. The strategy used to check statically the specifier (call format() and look if there's been an

[Issue 17381] Checked format string is permissive after floating point argument

2017-09-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17381 b2.t...@gmx.com changed: What|Removed |Added CC||b2.t...@gmx.com OS|Linux

Re: What does ! mean?

2017-09-27 Thread Arun Chandrasekaran via Digitalmars-d-learn
On Wednesday, 27 September 2017 at 14:34:06 UTC, Eugene Wissner wrote: On Wednesday, 27 September 2017 at 14:23:01 UTC, Ky-Anh Huynh wrote: See also the following chapter in Ali's book: http://ddili.org/ders/d.en/templates.html This chapter is what hooked me with D. Naming that chapter as

[Issue 17857] T.alignof ignores explicit align(N) type alignment

2017-09-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17857 --- Comment #1 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/9e3fad9ea3e955b10ec80439247e50fc9417f77d T.alignof: Respect explicit align(N) type alignment It was

Re: I need runtime reflection

2017-09-27 Thread Jordan Wilson via Digitalmars-d
On Wednesday, 27 September 2017 at 20:03:27 UTC, Gheorghe Gabriel wrote: Hi, I have a 3D scene editor. I need my scripts to be dynamically loaded in the scene. In c# or java I can use reflections to do that. How can I do that with D? I know that std.traits only works in compile time. Please,

Re: What does ! mean?

2017-09-27 Thread Mengu via Digitalmars-d-learn
On Wednesday, 27 September 2017 at 17:58:27 UTC, Ali Çehreli wrote: On 09/27/2017 08:33 AM, Ky-Anh Huynh wrote: > [...] Wissner wrote: > [...] The fact that such an important operator is explained so late in the book is due to the book's strong desire to have a linear flow. [...] ustad,

Re: What does ! mean?

2017-09-27 Thread Ali Çehreli via Digitalmars-d-learn
On 09/27/2017 03:06 PM, Mengu wrote: ustad, guess you can still write the new ed. :-) Since you're still around, one of these days... :) Ali

Re: Is it possible to specify the address returned by the address of operator?

2017-09-27 Thread DreadKyller via Digitalmars-d-learn
On Wednesday, 27 September 2017 at 21:18:50 UTC, nkm1 wrote: On Wednesday, 27 September 2017 at 20:24:24 UTC, DreadKyller wrote: The attitude of "some people use this feature incorrectly, so let's ban it's use entirely" is honestly ridiculous to me, but oh well, that's apparently the modern

Re: Allocating byte aligned array

2017-09-27 Thread timvol via Digitalmars-d-learn
On Wednesday, 27 September 2017 at 21:44:48 UTC, Ali Çehreli wrote: On 09/27/2017 02:39 PM, timvol wrote: [...] void main() { auto mem = new ubyte[1024+15]; auto ptr = cast(ubyte*)(cast(ulong)(mem.ptr + 15) & ~0x0FUL); auto arr = ptr[0..1024]; } Ali Works perfect. Thank you!

Re: Allocating byte aligned array

2017-09-27 Thread Ali Çehreli via Digitalmars-d-learn
On 09/27/2017 02:39 PM, timvol wrote: Hi guys, how can I allocate an (e.g. 16) byte aligned array? In C I can do the following: void *mem = malloc(1024+15); void *ptr = ((uintptr_t)mem+15) & ~ (uintptr_t)0x0F; memset_16aligned(ptr, 0, 1024); free(mem); I think in D it looks

Allocating byte aligned array

2017-09-27 Thread timvol via Digitalmars-d-learn
Hi guys, how can I allocate an (e.g. 16) byte aligned array? In C I can do the following: void *mem = malloc(1024+15); void *ptr = ((uintptr_t)mem+15) & ~ (uintptr_t)0x0F; memset_16aligned(ptr, 0, 1024); free(mem); I think in D it looks similar to this: auto mem = new

Re: Is it possible to specify the address returned by the address of operator?

2017-09-27 Thread nkm1 via Digitalmars-d-learn
On Wednesday, 27 September 2017 at 20:24:24 UTC, DreadKyller wrote: The attitude of "some people use this feature incorrectly, so let's ban it's use entirely" is honestly ridiculous to me, but oh well, that's apparently the modern philosophy. Not even modern, see Java :) ("I left out operator

Re: Compile-time reflection and templates

2017-09-27 Thread Jean-Louis Leroy via Digitalmars-d
On Wednesday, 27 September 2017 at 20:04:42 UTC, jmh530 wrote: On Wednesday, 27 September 2017 at 19:47:32 UTC, Jean-Louis Leroy wrote: I'd like to go further: find the template arguments and the function arguments and return types. Looking at __traits and std.traits, it doesn't seem

Re: Is it possible to specify the address returned by the address of operator?

2017-09-27 Thread DreadKyller via Digitalmars-d-learn
On Wednesday, 27 September 2017 at 21:01:36 UTC, Jesse Phillips wrote: For example, if you store your Matrix in a custom container it could try to store pointer rather than the struct itself, if & is overloaded the generic implementation would be broken because it would no longer be a pointer

[Issue 17085] Documentation for all traits under SomethingTypeOf missing

2017-09-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17085 b2.t...@gmx.com changed: What|Removed |Added Summary|[std.traits] Documentation |Documentation for all

Re: Is it possible to specify the address returned by the address of operator?

2017-09-27 Thread Jesse Phillips via Digitalmars-d-learn
On Wednesday, 27 September 2017 at 16:35:54 UTC, DreadKyller wrote: My question is about overloading, several operators can be overloaded in D, one of the ones that can't apparently is the address of operator (). My question is have I simply missed it or does it actually not exist, and if it's

Re: std.reflection prototype

2017-09-27 Thread Gheorghe Gabriel via Digitalmars-d
On Monday, 30 March 2015 at 01:11:55 UTC, bitwise wrote: I came across this post a while back and decided to implement it: http://forum.dlang.org/thread/juf7sk$16rl$1...@digitalmars.com My implementation: https://github.com/bitwise-github/D-Reflection The above conversation seemed to stop

Re: goinsu - Switch user, group and execute a program - a tiny betterC program

2017-09-27 Thread Anton Fediushin via Digitalmars-d-announce
On Wednesday, 27 September 2017 at 12:49:16 UTC, jamonahn wrote: On Saturday, 16 September 2017 at 19:56:14 UTC, Anton Fediushin wrote: Hey-hey-hey, I am so excited to announce a brand-new program I just wrote: goinsu! Just built on my Raspberry Pi 3. Kudos - very fast, not even a warning!

Re: Is it possible to specify the address returned by the address of operator?

2017-09-27 Thread DreadKyller via Digitalmars-d-learn
On Wednesday, 27 September 2017 at 19:55:07 UTC, nkm1 wrote: On Wednesday, 27 September 2017 at 16:35:54 UTC, DreadKyller wrote: Been using D for a couple years now, however one problem I've had, more so recently since I've been dealing a lot with OpenGL is related to pointers. I have a

Re: Compile-time reflection and templates

2017-09-27 Thread jmh530 via Digitalmars-d
On Wednesday, 27 September 2017 at 19:47:32 UTC, Jean-Louis Leroy wrote: I'd like to go further: find the template arguments and the function arguments and return types. Looking at __traits and std.traits, it doesn't seem feasible, but maybe I overlooked something? You can use

I need runtime reflection

2017-09-27 Thread Gheorghe Gabriel via Digitalmars-d
Hi, I have a 3D scene editor. I need my scripts to be dynamically loaded in the scene. In c# or java I can use reflections to do that. How can I do that with D? I know that std.traits only works in compile time. Please, help me Gabriel

Re: Compile-time reflection and templates

2017-09-27 Thread jmh530 via Digitalmars-d
On Wednesday, 27 September 2017 at 19:47:32 UTC, Jean-Louis Leroy wrote: I'd like to go further: find the template arguments and the function arguments and return types. Looking at __traits and std.traits, it doesn't seem feasible, but maybe I overlooked something? You can use

Re: Is it possible to specify the address returned by the address of operator?

2017-09-27 Thread nkm1 via Digitalmars-d-learn
On Wednesday, 27 September 2017 at 16:35:54 UTC, DreadKyller wrote: Been using D for a couple years now, however one problem I've had, more so recently since I've been dealing a lot with OpenGL is related to pointers. I have a matrix object to aid with the matrix math required for working

Compile-time reflection and templates

2017-09-27 Thread Jean-Louis Leroy via Digitalmars-d
I can identify the templates in a module: module modtemp; import std.stdio; import std.traits; void foo(T)(T x) {} void main() { foreach (m; __traits(allMembers, modtemp)) { if (__traits(isTemplate, mixin(m))) { mixin("alias F = " ~ m ~ ";"); writeln(m);

[Issue 17860] some code exaples from site doesn't build on Visual Studio 2010 (and probably at all)

2017-09-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17860 greenify changed: What|Removed |Added CC||greeen...@gmail.com ---

Inter-module symbol resolution error of template type-parameter when using mixins

2017-09-27 Thread Nordlöw via Digitalmars-d-learn
At https://github.com/nordlow/phobos-next/blob/03b4736fdd65ef84c6fc583eddee4196629cea81/src/variant_arrays.d I've implemented a lightweight-polymorphic array container I call `VariantArrays(Types...)` indexed by a corresponding polymorphic index I call `VariantIndex(Types...)`. It uses

Re: What does ! mean?

2017-09-27 Thread Ali Çehreli via Digitalmars-d-learn
On 09/27/2017 08:33 AM, Ky-Anh Huynh wrote: > On Wednesday, 27 September 2017 at 14:34:06 UTC, Eugene Wissner wrote: >> >> See also the following chapter in Ali's book: >> http://ddili.org/ders/d.en/templates.html > > Thanks a lot. I will keep reading :) The fact that such an important operator

Is it possible to specify the address returned by the address of operator?

2017-09-27 Thread DreadKyller via Digitalmars-d-learn
Been using D for a couple years now, however one problem I've had, more so recently since I've been dealing a lot with OpenGL is related to pointers. I have a matrix object to aid with the matrix math required for working with 3D transforms. However OpenGL (I'm using DerelictGL3 bindings)

Re: Can I skip sub directories with file.dirEntries() ?

2017-09-27 Thread Ky-Anh Huynh via Digitalmars-d-learn
On Wednesday, 27 September 2017 at 10:05:34 UTC, Nicholas Wilson wrote: I'd just use dirEntries with SpanMode.shallow in combination with filter either in a loop or a recursive function like below. void foo(string path = "path") { foreach(e;

Re: What does ! mean?

2017-09-27 Thread Gary Willoughby via Digitalmars-d-learn
On Wednesday, 27 September 2017 at 14:23:01 UTC, Ky-Anh Huynh wrote: Can you please explain and give any link where I can learn more about these things? Thanks a lot. http://nomad.so/2013/07/templates-in-d-explained/

Re: What does ! mean?

2017-09-27 Thread Ky-Anh Huynh via Digitalmars-d-learn
On Wednesday, 27 September 2017 at 14:34:06 UTC, Eugene Wissner wrote: See also the following chapter in Ali's book: http://ddili.org/ders/d.en/templates.html Thanks a lot. I will keep reading :)

Re: DlangIDE v0.8.0 released

2017-09-27 Thread bitwise via Digitalmars-d-announce
On Wednesday, 27 September 2017 at 13:22:20 UTC, Vadim Lopatin wrote: On Tuesday, 26 September 2017 at 22:35:09 UTC, bitwise wrote: On Tuesday, 26 September 2017 at 15:20:54 UTC, Vadim Lopatin wrote: New DlangIDE version is released. I've only had time to take a quick look, but this IDE

Re: mir-random: major additions

2017-09-27 Thread jmh530 via Digitalmars-d-announce
On Wednesday, 27 September 2017 at 12:21:24 UTC, Ilya Yaroshenko wrote: Thanks! And looking forward to find you PR in Lubeck! --Ilya It's what prompted eachLower/eachUpper. I was like, there's gotta be a pretty way of doing this and got completely distracted from cholesky!

Re: What does ! mean?

2017-09-27 Thread Eugene Wissner via Digitalmars-d-learn
On Wednesday, 27 September 2017 at 14:23:01 UTC, Ky-Anh Huynh wrote: Hi, I am from Ruby world where I can have `!` (or `?`) in method names: `!` indicates that a method would modify its object (`foo.upcase!` means `foo = foo.upcase`). ( I don't know if there is any official Ruby

Re: What does ! mean?

2017-09-27 Thread rikki cattermole via Digitalmars-d-learn
There are two types of arguments in D. The runtime one (which you are well aware of) and the compile time one. A compile time argument is a constant passed in during construction of a symbol. But here is the thing, it isn't just limited to functions, you can have it on classes as well. ---

Re: Finding class template instantiations via runtime reflection (for openmethods)

2017-09-27 Thread Jacob Carlborg via Digitalmars-d
On 2017-09-26 18:08, Jean-Louis Leroy wrote: Ah, I suspected that. I don't want to go down that path, what of Windows? But thanks anyway... It's possible to do the same on Windows (using LoadLibrary instead of dlopen). You would need to have separate code for each binary format. On Windows

What does ! mean?

2017-09-27 Thread Ky-Anh Huynh via Digitalmars-d-learn
Hi, I am from Ruby world where I can have `!` (or `?`) in method names: `!` indicates that a method would modify its object (`foo.upcase!` means `foo = foo.upcase`). ( I don't know if there is any official Ruby documentation on this convention though. ) In D I see `!` quite a lot. I have

Re: DlangIDE v0.8.0 released

2017-09-27 Thread Vadim Lopatin via Digitalmars-d-announce
On Wednesday, 27 September 2017 at 08:00:21 UTC, Traktor Toni wrote: Code completion isnt working for me on windows, no clue what's missing. Did you try Ctrl+Space?

Re: DlangIDE v0.8.0 released

2017-09-27 Thread Vadim Lopatin via Digitalmars-d-announce
On Tuesday, 26 September 2017 at 22:35:09 UTC, bitwise wrote: On Tuesday, 26 September 2017 at 15:20:54 UTC, Vadim Lopatin wrote: New DlangIDE version is released. I've only had time to take a quick look, but this IDE seems pretty good. I was surprised at how fast it loaded up, and how it

[Issue 11188] std.math.abs fails for shared BigInt type

2017-09-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11188 Simen Kjaeraas changed: What|Removed |Added Status|NEW |RESOLVED

Re: goinsu - Switch user, group and execute a program - a tiny betterC program

2017-09-27 Thread jamonahn via Digitalmars-d-announce
On Saturday, 16 September 2017 at 19:56:14 UTC, Anton Fediushin wrote: Hey-hey-hey, I am so excited to announce a brand-new program I just wrote: goinsu! Just built on my Raspberry Pi 3. Kudos - very fast, not even a warning! Now to get some Docker images and go crazy. BTW, I got a 14,116

Re: DlangIDE v0.8.0 released

2017-09-27 Thread Dmitry via Digitalmars-d-announce
On Wednesday, 27 September 2017 at 08:00:21 UTC, Traktor Toni wrote: The shortcuts should be identical to Visual Studio, anything else is a waste of time to learn and configure. Visual Studio? Why not Vim? Why not Xamarin Studio? Why not IDEA? Why not Sublime or tons of other popular

Re: mir-random: major additions

2017-09-27 Thread Ilya Yaroshenko via Digitalmars-d-announce
On Wednesday, 27 September 2017 at 11:52:32 UTC, jmh530 wrote: On Wednesday, 27 September 2017 at 05:24:50 UTC, Ilya Yaroshenko wrote: private Cholesky decomposition, which has not unittests yet. PRs are welcome. My fork of lubeck has a branch where I was doing some work on adding

Re: Should we add `a * b` for vectors?

2017-09-27 Thread jmh530 via Digitalmars-d
On Wednesday, 27 September 2017 at 07:41:23 UTC, Ilya Yaroshenko wrote: I would prefer outer operator overloading be added to D instead of type wrappers. So a user can import a library for operations, rather then library of wrappers. --Ilya This might be a step in the right direction. It

Sectioned variables?

2017-09-27 Thread Arav Ka via Digitalmars-d-learn
GCC supports a `__attribute((section("...")))` for variables to put them in specific sections in the final assembly. Is there any way this can be achieved in D? Does GDC support this?

Re: mir-random: major additions

2017-09-27 Thread jmh530 via Digitalmars-d-announce
On Wednesday, 27 September 2017 at 05:24:50 UTC, Ilya Yaroshenko wrote: private Cholesky decomposition, which has not unittests yet. PRs are welcome. My fork of lubeck has a branch where I was doing some work on adding cholesky that has some unittests if you want to borrow them (probably

Re: Should we add `a * b` for vectors?

2017-09-27 Thread jmh530 via Digitalmars-d
On Wednesday, 27 September 2017 at 04:59:10 UTC, Manu wrote: An alternative solution might be to introduce a wrapper of ndslice called 'matrix' that supports matrix mul...? That's exactly how Numpy works with array and matrix types. It's confusing. That being said, mir has

Re: Should we add `a * b` for vectors?

2017-09-27 Thread John Colvin via Digitalmars-d
On Friday, 22 September 2017 at 17:11:56 UTC, Ilya Yaroshenko wrote: Should we add `a * b` to ndslice for 1d vectors? Discussion at https://github.com/libmir/mir-algorithm/issues/91 Unless it's always just simple element-wise, make it a different type. N-dimensional rectangular data

Re: Can I skip sub directories with file.dirEntries() ?

2017-09-27 Thread Nicholas Wilson via Digitalmars-d-learn
On Wednesday, 27 September 2017 at 09:00:55 UTC, Ky-Anh Huynh wrote: Hi, Can I have a `break` option when using `dirEntries()` (similar to `break` in a loop)? I want to study sub-directories but if any sub-directory matches my criteria I don't to look further into their subdirectories ```

Re: Should we add `a * b` for vectors?

2017-09-27 Thread tn via Digitalmars-d
On Friday, 22 September 2017 at 17:11:56 UTC, Ilya Yaroshenko wrote: Should we add `a * b` to ndslice for 1d vectors? Discussion at https://github.com/libmir/mir-algorithm/issues/91 If it is for element-wise product, then possibly yes. If it is for dot product (as suggested by the github

Can I skip sub directories with file.dirEntries() ?

2017-09-27 Thread Ky-Anh Huynh via Digitalmars-d-learn
Hi, Can I have a `break` option when using `dirEntries()` (similar to `break` in a loop)? I want to study sub-directories but if any sub-directory matches my criteria I don't to look further into their subdirectories ``` A/ -> matches criteria, stop here, go to next directory (B)

Re: DlangIDE v0.8.0 released

2017-09-27 Thread Traktor Toni via Digitalmars-d-announce
On Wednesday, 27 September 2017 at 07:23:30 UTC, Vadim Lopatin wrote: 1. Ctrl+F5 does. You can change shortcuts in ~/.dlangide/shortcuts.json (on Windows - in currentUser/AppData/.dlangide/shortcuts.json 2. Why should IDE include compiler. It's easy to download it from official site. 3. Is

Re: Should we add `a * b` for vectors?

2017-09-27 Thread Ilya Yaroshenko via Digitalmars-d
On Wednesday, 27 September 2017 at 04:59:10 UTC, Manu wrote: On 26 September 2017 at 21:41, Atila Neves via Digitalmars-d < digitalmars-d@puremagic.com> wrote: On Friday, 22 September 2017 at 17:11:56 UTC, Ilya Yaroshenko wrote: Should we add `a * b` to ndslice for 1d vectors? Discussion

Re: DlangIDE v0.8.0 released

2017-09-27 Thread Vadim Lopatin via Digitalmars-d-announce
On Wednesday, 27 September 2017 at 02:37:41 UTC, Traktor Toni wrote: On Tuesday, 26 September 2017 at 15:20:54 UTC, Vadim Lopatin wrote: New DlangIDE version is released. Now I'm considering DlangIDE as mostly usable. well don't. I just tested the windows build. 1. F5 doesnt build+run the

Re: Visual D does not always break in function that threw.

2017-09-27 Thread Psychological Cleanup via Digitalmars-d-debugger
On Wednesday, 27 September 2017 at 04:40:59 UTC, Psychological Cleanup wrote: It usually breaks at the calling site. The error message gives the correct module and line number but this is not the line number show in visual studio. The function does not show up in the call stack either making

[Issue 17862] New: std.random.XorshiftEngine.min is wrong when bits == 32

2017-09-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17862 Issue ID: 17862 Summary: std.random.XorshiftEngine.min is wrong when bits == 32 Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: minor