Re: Netflix opensources its first D library: Vectorflow

2017-10-19 Thread Walter Bright via Digitalmars-d-announce
On 10/18/2017 1:49 PM, Stephan Dilly wrote: On 2017-08-02 21:31:19 +, Walter Bright said: https://www.reddit.com/r/programming/comments/6r6dwp/netflix_opensources_its_first_d_library_vectorflow/ D got another mention in Netflix's popular tech blog:

[Issue 6895] std.traits.isCovariantWith doesn't work for function, function pointer and delegate

2017-10-19 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6895 RazvanN changed: What|Removed |Added Keywords||bootcamp

Re: My first experience as a D Newbie

2017-10-19 Thread Ecstatic Coder via Digitalmars-d
On Thursday, 19 October 2017 at 07:04:14 UTC, Moritz Maxeiner wrote: On Thursday, 19 October 2017 at 06:32:10 UTC, Ecstatic Coder wrote: [...] OK actually my initial proposal was this one : http://forum.dlang.org/post/mailman.6425.1503876081.31550.digitalmars-d-b...@puremagic.com [...] And

Re: My first experience as a D Newbie

2017-10-19 Thread Moritz Maxeiner via Digitalmars-d
On Thursday, 19 October 2017 at 06:32:10 UTC, Ecstatic Coder wrote: [...] OK actually my initial proposal was this one : http://forum.dlang.org/post/mailman.6425.1503876081.31550.digitalmars-d-b...@puremagic.com [...] And the definitive answer about that is of course something like "Hey

[Issue 6515] Support for a basic BinaryHeap operation

2017-10-19 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6515 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 17900] FreeBSD 10.3 runnable/cpp_abi_tests.d(94): Assertion failure (test suite)

2017-10-19 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17900 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

Re: Containers and arrays with custom memory allocators

2017-10-19 Thread Per Nordlöw via Digitalmars-d-learn
On Tuesday, 17 October 2017 at 14:14:19 UTC, Ivan wrote: Hi, I am a C/C++ programmer interested in using D as a replacement for C/C++. I do care a lot about performance and memory management, so I want to use my own (or from std.experimental) memory allocators. Are there any good tutorials

Re: My first experience as a D Newbie

2017-10-19 Thread codephantom via Digitalmars-d
On Thursday, 19 October 2017 at 08:17:04 UTC, Ecstatic Coder wrote: On Thursday, 19 October 2017 at 07:04:14 UTC, Moritz Maxeiner And please stop the personal attacks, thanks. That's because of this kind of "harrassment" that potential volunteers like me are demotivated and prefer to let kind

Re: My first experience as a D Newbie

2017-10-19 Thread Ecstatic Coder via Digitalmars-d
Btw maybe the simplest way to achieve what I suggest would be to ask Basil to allow the CoEdit windows installer to optionally download and install the D compiler. This way you download only one setup.exe, and you are ready to go... Just put a big obvious download link button towards this

Re: Containers and arrays with custom memory allocators

2017-10-19 Thread Per Nordlöw via Digitalmars-d-learn
On Thursday, 19 October 2017 at 08:47:09 UTC, Per Nordlöw wrote: explicit via .dup member and when you want to copy or pass by should be: explicit via .dup member and when you want to _move_ from one l-value to another l-value or pass by move

Re: Containers and arrays with custom memory allocators

2017-10-19 Thread Per Nordlöw via Digitalmars-d-learn
On Thursday, 19 October 2017 at 08:47:09 UTC, Per Nordlöw wrote: The file hashmap.d provides both a HashSet and HashMap implementation in one go using D's compile-time-code-branching-mechanism `static if`. Correction: I've now broken it up into -

Re: Containers and arrays with custom memory allocators

2017-10-19 Thread Per Nordlöw via Digitalmars-d-learn
On Thursday, 19 October 2017 at 08:47:09 UTC, Per Nordlöw wrote: These are all very performant containers, but currently lack support for std.experimental.allocator. Support for std.experimental.allocator is planned but currently not a priority. EMSI-containers have an elegant integration and

Re: My first experience as a D Newbie

2017-10-19 Thread Nicholas Wilson via Digitalmars-d
On Thursday, 19 October 2017 at 02:08:13 UTC, Laeeth Isharc wrote: I can easily think of a dozen extensions to D, that need to be part of the standard library or extended library of D, like DCompute, mir-algorithm, ... Yes, well we sponsor mir-algorithm, and would like to sponsor dcompute

Re: My first experience as a D Newbie

2017-10-19 Thread Ecstatic Coder via Digitalmars-d
On Thursday, 19 October 2017 at 08:22:17 UTC, codephantom wrote: On Thursday, 19 October 2017 at 06:32:10 UTC, Ecstatic Coder wrote: And the definitive answer about that is of course something like "Hey man, it's open source, it's all made by volunteers on their free time, so it must be

Re: My first experience as a D Newbie

2017-10-19 Thread Ecstatic Coder via Digitalmars-d
On Thursday, 19 October 2017 at 08:46:58 UTC, codephantom wrote: On Thursday, 19 October 2017 at 08:17:04 UTC, Ecstatic Coder wrote: On Thursday, 19 October 2017 at 07:04:14 UTC, Moritz Maxeiner And please stop the personal attacks, thanks. That's because of this kind of "harrassment" that

Re: My first experience as a D Newbie

2017-10-19 Thread Ecstatic Coder via Digitalmars-d
On Thursday, 19 October 2017 at 08:46:58 UTC, codephantom wrote: On Thursday, 19 October 2017 at 08:17:04 UTC, Ecstatic Coder wrote: On Thursday, 19 October 2017 at 07:04:14 UTC, Moritz Maxeiner And please stop the personal attacks, thanks. That's because of this kind of "harrassment" that

Re: My first experience as a D Newbie

2017-10-19 Thread codephantom via Digitalmars-d
On Thursday, 19 October 2017 at 08:36:55 UTC, Ecstatic Coder wrote: I agree. I had this mindset once, but now I'm completely demotivated, and you now know because of what and who. Well it happend to me too... I turned to Windows after my first experiences with linux and freebsd in the

[Issue 17878] Add __traits(isFuture, ...)

2017-10-19 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17878 --- Comment #1 from RazvanN --- PR : https://github.com/dlang/dmd/pull/7232 --

[Issue 17900] FreeBSD 10.3 runnable/cpp_abi_tests.d(94): Assertion failure (test suite)

2017-10-19 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17900 --- Comment #5 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/85f76f9963ffd81b0a02361dc6dc05a6eb2df5c8 fix Issue 17900 - FreeBSD 10.3 runnable/cpp_abi_tests.d(94):

Re: My first experience as a D Newbie

2017-10-19 Thread codephantom via Digitalmars-d
On Thursday, 19 October 2017 at 06:32:10 UTC, Ecstatic Coder wrote: And the definitive answer about that is of course something like "Hey man, it's open source, it's all made by volunteers on their free time, so it must be complicated, what did you expect ?" and "Make all the changes by

Re: My first experience as a D Newbie

2017-10-19 Thread Ecstatic Coder via Digitalmars-d
On Thursday, 19 October 2017 at 08:46:58 UTC, codephantom wrote: On Thursday, 19 October 2017 at 08:17:04 UTC, Ecstatic Coder wrote: On Thursday, 19 October 2017 at 07:04:14 UTC, Moritz Maxeiner And please stop the personal attacks, thanks. That's because of this kind of "harrassment" that

Re: My first experience as a D Newbie

2017-10-19 Thread Ecstatic Coder via Digitalmars-d
But in any case, you really need to check both your attitude, and expectations. Good luck. And I do hope you choose to become a 'contributor' at some point. Here is the list of D tools that I've open sourced so that PHP, JS and Go web developers may at least have a first experiment with D

[Issue 17748] extern(C) do nothing on struct methods

2017-10-19 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17748 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED

Re: My first experience as a D Newbie

2017-10-19 Thread Ecstatic Coder via Digitalmars-d
On Thursday, 19 October 2017 at 01:32:14 UTC, codephantom wrote: On Wednesday, 18 October 2017 at 18:02:24 UTC, Ecstatic Coder wrote: But make the installation and learning curve as smooth as possible for less-skilled developers, by allowing them to download an all-in-one bundled installer

Re: My two cents

2017-10-19 Thread Fra Mecca via Digitalmars-d
On Wednesday, 18 October 2017 at 16:45:33 UTC, Ali wrote: On Wednesday, 18 October 2017 at 08:56:21 UTC, Satoshi wrote: For me, it seems like Walter is solving edge case problems like return ref parameters and return functions but is unable to add some basic stuff. Thanks for your time. -

Re: Containers and arrays with custom memory allocators

2017-10-19 Thread Fra Mecca via Digitalmars-d-learn
On Tuesday, 17 October 2017 at 14:14:19 UTC, Ivan wrote: Hi, I am a C/C++ programmer interested in using D as a replacement for C/C++. I do care a lot about performance and memory management, so I want to use my own (or from std.experimental) memory allocators. Are there any good tutorials

Re: Netflix opensources its first D library: Vectorflow

2017-10-19 Thread Per Nordlöw via Digitalmars-d-announce
On Tuesday, 8 August 2017 at 18:51:26 UTC, Nordlöw wrote: To clarify here's an incomplete snippet that should clarify: auto add(A, B)(A a, B b) should be auto add(A, B)(auto ref A a, auto ref B b)

Re: Why Physicists Still Use Fortran

2017-10-19 Thread Kagamin via Digitalmars-d
Also: https://losc.ligo.org/software/

Re: My first experience as a D Newbie

2017-10-19 Thread jmh530 via Digitalmars-d
On Thursday, 19 October 2017 at 08:36:55 UTC, Ecstatic Coder wrote: I agree. I had this mindset once, but now I'm completely demotivated, and you now know because of what and who. You seem passionate. There are never enough people working on things. There's a lot of ways you can help

Re: iopipe alpha 0.0.1 version

2017-10-19 Thread Martin Nowak via Digitalmars-d-announce
On 10/13/2017 08:39 PM, Steven Schveighoffer wrote: > What would be nice is a mechanism to detect this situation, since the > above is both un-@safe and incorrect code. > > Possibly you could instrument a window with a mechanism to check to see > if it's still correct on every access, to be used

[Issue 17916] New: @__future does nothing for AggregateDeclarations

2017-10-19 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17916 Issue ID: 17916 Summary: @__future does nothing for AggregateDeclarations Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: normal

Re: Back to SDL question

2017-10-19 Thread Sönke Ludwig via Digitalmars-d
Am 19.10.2017 um 20:39 schrieb jmh530: On Thursday, 19 October 2017 at 18:16:12 UTC, Sönke Ludwig wrote: I wouldn't want to change the default back at this point, as the landscape of opinions on this matter is far too heterogeneous. But if at some point it should turn out that there is a

Re: My two cents

2017-10-19 Thread Adam Wilson via Digitalmars-d
On 10/18/17 23:50, Fra Mecca wrote: [snip] The problem in my opinion is the ecosystem. We miss a build system that is tailored towards enterprises and there is so much work to do with libraries (even discovery of them) and documentation by examples. Indeed ... :) -- Adam Wilson IRC:

Re: My first experience as a D Newbie

2017-10-19 Thread H. S. Teoh via Digitalmars-d
On Thu, Oct 19, 2017 at 05:13:01PM +, Ecstatic Coder via Digitalmars-d wrote: [...] > If something is wrong on your local D installation (library bug etc) > and you fix it, you benefit from it, so the work is useful even if the > change is refused on the public codebase, so no problem with

Weird behavior with "this T"

2017-10-19 Thread bauss via Digitalmars-d
Can someone explain the behavior of the following to me? With a base class like this: abstract class Foo { string[] members; final: this(this T)(T child) { import std.conv : to; foreach (member;

Re: Back to SDL question

2017-10-19 Thread jmh530 via Digitalmars-d
On Thursday, 19 October 2017 at 18:16:12 UTC, Sönke Ludwig wrote: I wouldn't want to change the default back at this point, as the landscape of opinions on this matter is far too heterogeneous. But if at some point it should turn out that there is a clear majority for SDLang, then it could

Re: Back to SDL question

2017-10-19 Thread Sönke Ludwig via Digitalmars-d
Am 19.10.2017 um 15:40 schrieb rikki cattermole: On 19/10/2017 2:34 PM, Suliman wrote: First of all I would like to say sorry for Ludwig, that 2 years ago I was initiator to making JSON back by default for dub config. It was really my mistake. Only some time later I understand that it was big

London senior DevOps job and two London [D-ish] developer roles

2017-10-19 Thread Laeeth Isharc via Digitalmars-d-announce
Hi. Symmetry Investments is looking to hire one senior platform engineering / devops person in London (and also looking for two developers - one for building native/Jupyter GUI front-end of tools, and the other to work with our research team). So far, I've only had time to write and post

Re: My first experience as a D Newbie

2017-10-19 Thread Rion via Digitalmars-d
On Thursday, 19 October 2017 at 18:10:04 UTC, H. S. Teoh wrote: Told by whom? The responses here seem to be a good indicator that he is wasting his time. The past responses in similar topics. Even Andrei or Walter can be convinced over time, if one is persistent enough. :-D There have

Back to SDL question

2017-10-19 Thread Suliman via Digitalmars-d
First of all I would like to say sorry for Ludwig, that 2 years ago I was initiator to making JSON back by default for dub config. It was really my mistake. Only some time later I understand that it was big error. So I would like to ask community about if all agree to make .sdl format to dub

Re: Back to SDL question

2017-10-19 Thread rikki cattermole via Digitalmars-d
On 19/10/2017 2:34 PM, Suliman wrote: First of all I would like to say sorry for Ludwig, that 2 years ago I was initiator to making JSON back by default for dub config. It was really my mistake. Only some time later I understand that it was big error. So I would like to ask community about if

Re: what means... auto ref Args args?

2017-10-19 Thread Dave Jones via Digitalmars-d
On Thursday, 19 October 2017 at 01:05:28 UTC, Jonathan M Davis wrote: On Thursday, October 19, 2017 00:00:54 Dave Jones via That's likely the main reason in this case, since losing the ref-ness could definitely cause issues with some constructors, but auto ref is frequently used simply to

Re: What is the Philosophy of D?

2017-10-19 Thread Dukc via Digitalmars-d
On Wednesday, 18 October 2017 at 12:25:57 UTC, Ola Fosheim Grøstad wrote: I don't think C# force you to use object oriented modelling? Clearly the GC and the standard library skews what you end up doing. Perhaps. Well, contrasted to .Net and JVM standard libraries then? Ironically there is

Re: My first experience as a D Newbie

2017-10-19 Thread codephantom via Digitalmars-d
On Thursday, 19 October 2017 at 09:20:11 UTC, Ecstatic Coder wrote: Here is the list of D tools that I've open sourced so that PHP, JS and Go web developers may at least have a first experiment with D : https://github.com/senselogic?tab=repositories I hope that making them aware of the

Re: What is the Philosophy of D?

2017-10-19 Thread codephantom via Digitalmars-d
On Wednesday, 18 October 2017 at 13:26:52 UTC, Ali wrote: C#, without the runtime void main() { assert("C#, without the runtime" == "D"); // assertion failure to stderr }

Re: Back to SDL question

2017-10-19 Thread jmh530 via Digitalmars-d
On Thursday, 19 October 2017 at 13:34:31 UTC, Suliman wrote: First of all I would like to say sorry for Ludwig, that 2 years ago I was initiator to making JSON back by default for dub config. It was really my mistake. Only some time later I understand that it was big error. So I would like to

Re: Back to SDL question

2017-10-19 Thread Dmitry via Digitalmars-d
On Thursday, 19 October 2017 at 13:34:31 UTC, Suliman wrote: Only some time later I understand that it was big error. Why do you think so? So I would like to ask community about if all agree to make .sdl format to dub by default? Personally, I prefer JSON.

Re: My first experience as a D Newbie

2017-10-19 Thread Ecstatic Coder via Digitalmars-d
and ...remember... "Don’t Let The Perfect Be The Enemy Of The Good" True saying. I should apply it more often...

Re: iopipe alpha 0.0.1 version

2017-10-19 Thread Steven Schveighoffer via Digitalmars-d-announce
On 10/19/17 7:13 AM, Martin Nowak wrote: On 10/13/2017 08:39 PM, Steven Schveighoffer wrote: What would be nice is a mechanism to detect this situation, since the above is both un-@safe and incorrect code. Possibly you could instrument a window with a mechanism to check to see if it's still

Re: My first experience as a D Newbie

2017-10-19 Thread codephantom via Digitalmars-d
On Thursday, 19 October 2017 at 21:18:43 UTC, Rion wrote: But this is my last response on this. Moving on to a different language because from my point of view, D will not be very open / marketing focused to non C++ developers. And some people seem very willing to push people there buttons

[Issue 17918] New: Segmentation fault dmd failed with exit code 139.

2017-10-19 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17918 Issue ID: 17918 Summary: Segmentation fault dmd failed with exit code 139. Product: D Version: D2 Hardware: All URL: http://dlang.org/ OS: All Status: NEW

Re: My two cents

2017-10-19 Thread bauss via Digitalmars-d
On Wednesday, 18 October 2017 at 08:56:21 UTC, Satoshi wrote: conditional dereferencing and stuff about that (same as in C#) foo?.bar; foo?[bar]; return foo ?? null; Tbh. these are some I really wish were in D, because it becomes tedious having to write something like this all the time:

Re: Weird behavior with "this T"

2017-10-19 Thread bauss via Digitalmars-d
On Thursday, 19 October 2017 at 17:53:43 UTC, bauss wrote: Can someone explain the behavior of the following to me? [...] I figured this out. It was simply the constructor that was called recursive.

Re: My first experience as a D Newbie

2017-10-19 Thread Moritz Maxeiner via Digitalmars-d
On Thursday, 19 October 2017 at 08:17:04 UTC, Ecstatic Coder wrote: On Thursday, 19 October 2017 at 07:04:14 UTC, Moritz Maxeiner wrote: On Thursday, 19 October 2017 at 06:32:10 UTC, Ecstatic Coder wrote: [...] OK actually my initial proposal was this one :

Re: My first experience as a D Newbie

2017-10-19 Thread Moritz Maxeiner via Digitalmars-d
On Thursday, 19 October 2017 at 09:10:04 UTC, Ecstatic Coder wrote: For instance, here I say that I don't agree that the "easy" way to use D is by using FreeBSD instead of Windows. Here is the answer : "I remember those events very differently, so here they are for posterity: That post

[Issue 17910] Can't have UFCS in aggregate types

2017-10-19 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17910 --- Comment #3 from Steven Schveighoffer --- You have a choice, make your extension methods global, or don't use UFCS to call them: clear(b); This is a perfectly reasonable tradeoff. D usually frowns upon having the same code

Re: How do I convert a LPVOID (void*) to string?

2017-10-19 Thread Igor via Digitalmars-d-learn
On Monday, 16 October 2017 at 22:54:32 UTC, Adam D. Ruppe wrote: On Monday, 16 October 2017 at 21:48:35 UTC, Nieto wrote: How do I convert/create a D string from LPVOID (void*)? There is no one answer to this, but for the specific function are are looking at, the ALLOCATE_BUFFER argument

[Issue 17910] Can't have UFCS in aggregate types

2017-10-19 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17910 --- Comment #2 from anonymous4 --- This destroys encapsulation: what has no business at global scope shouldn't be there. --

Re: My first experience as a D Newbie

2017-10-19 Thread Ecstatic Coder via Digitalmars-d
I remember those events very differently, so here they are for posterity: http://forum.dlang.org/thread/llreleiqxjllthmlg...@forum.dlang.org?page=1 http://forum.dlang.org/post/cxunwfnhdrlpujjxz...@forum.dlang.org That's exactly what I said. Thanks for confirming what I have written. This

[Issue 17917] New: Wrong code gen with "-O -cov"

2017-10-19 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17917 Issue ID: 17917 Summary: Wrong code gen with "-O -cov" Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: major Priority: P1

Re: Back to SDL question

2017-10-19 Thread Steven Schveighoffer via Digitalmars-d
On 10/19/17 9:34 AM, Suliman wrote: First of all I would like to say sorry for Ludwig, that 2 years ago I was initiator to making JSON back by default for dub config. It was really my mistake. Only some time later I understand that it was big error. So I would like to ask community about if

Re: My two cents

2017-10-19 Thread Adam D. Ruppe via Digitalmars-d
On Friday, 20 October 2017 at 00:26:19 UTC, bauss wrote: return foo ? foo : null; where return foo ?? null; would be so much easier. return getOr(foo, null); That's really easy to do generically with a function. I wouldn't object to the ?? syntax, but if it really is something you write

Re: My two cents

2017-10-19 Thread bauss via Digitalmars-d
On Friday, 20 October 2017 at 02:20:31 UTC, Adam D. Ruppe wrote: On Friday, 20 October 2017 at 00:26:19 UTC, bauss wrote: In dom.d, since I use this kind of thing somewhat frequently, I wrote a function called `optionSelector` which returns a wrapper type that is never null on the outside,

Re: My two cents

2017-10-19 Thread Jonathan M Davis via Digitalmars-d
On Friday, October 20, 2017 02:20:31 Adam D. Ruppe via Digitalmars-d wrote: > On Friday, 20 October 2017 at 00:26:19 UTC, bauss wrote: > > return foo ? foo : null; > > > > where > > > > return foo ?? null; would be so much easier. > > return getOr(foo, null); > > That's really easy to do

Re: How do I convert a LPVOID (void*) to string?

2017-10-19 Thread Mike Parker via Digitalmars-d-learn
On Monday, 16 October 2017 at 21:48:35 UTC, Nieto wrote: How do I convert/create a D string from LPVOID (void*)? string GetLastErrorMessage() { LPVOID lpMsgBuf; DWORD errorMessageID = GetLastError(); FormatMessageA( FORMAT_MESSAGE_ALLOCATE_BUFFER |

Static if on release build

2017-10-19 Thread Fra Mecca via Digitalmars-d-learn
I can't find any documentation regarding conditional compilation in release and debug mode. I have read the page regarding the topicon dlang.org but adding the snippet below makes no difference when compiling with dub -b release { version(full) { //do something } else { //do something else

Re: Static if on release build

2017-10-19 Thread bauss via Digitalmars-d-learn
On Friday, 20 October 2017 at 02:36:37 UTC, Fra Mecca wrote: I can't find any documentation regarding conditional compilation in release and debug mode. I have read the page regarding the topicon dlang.org but adding the snippet below makes no difference when compiling with dub -b release {

Re: Static if on release build

2017-10-19 Thread rikki cattermole via Digitalmars-d-learn
On 20/10/2017 3:36 AM, Fra Mecca wrote: I can't find any documentation regarding conditional compilation in release and debug mode. I have read the page regarding the topicon dlang.org but adding the snippet below makes no difference when compiling with dub -b release { version(full) {  

Re: Static if on release build

2017-10-19 Thread b4s1l3 via Digitalmars-d-learn
On Friday, 20 October 2017 at 02:36:37 UTC, Fra Mecca wrote: I can't find any documentation regarding conditional compilation in release and debug mode. I have read the page regarding the topicon dlang.org but adding the snippet below makes no difference when compiling with dub -b release {

Re: My first experience as a D Newbie

2017-10-19 Thread H. S. Teoh via Digitalmars-d
On Thu, Oct 19, 2017 at 11:43:11AM +, jmh530 via Digitalmars-d wrote: [...] > In some sense, though, you can pick your battles. The longer you've > been reading the forums, the better you may have a sense of it. When I > first started reading them, I was gung-ho and excited about some >

[Issue 17269] formattedWrite of struct with Nullable value fails

2017-10-19 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17269 Thibaut CHARLES changed: What|Removed |Added CC||cro...@gmail.com ---

Re: My first experience as a D Newbie

2017-10-19 Thread Ecstatic Coder via Digitalmars-d
On Thursday, 19 October 2017 at 16:43:51 UTC, H. S. Teoh wrote: On Thu, Oct 19, 2017 at 11:43:11AM +, jmh530 via Digitalmars-d wrote: [...] In some sense, though, you can pick your battles. The longer you've been reading the forums, the better you may have a sense of it. When I first

[Issue 17901] FreeBSD 10.3: AssertError@std/experimental/allocator/building_blocks/region.d(652)

2017-10-19 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17901 Eduard Staniloiu changed: What|Removed |Added CC||edi33...@gmail.com

Re: Back to SDL question

2017-10-19 Thread Antonio Corbi via Digitalmars-d
On Thursday, 19 October 2017 at 13:34:31 UTC, Suliman wrote: First of all I would like to say sorry for Ludwig, that 2 years ago I was initiator to making JSON back by default for dub config. It was really my mistake. Only some time later I understand that it was big error. So I would like to

[Issue 17915] [REG 2.073] core.exception.AssertError@ddmd/optimize.d(614): Assertion failure

2017-10-19 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17915 Ketmar Dark changed: What|Removed |Added CC|

[Issue 17917] Wrong code gen with "-O -cov"

2017-10-19 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17917 Ketmar Dark changed: What|Removed |Added CC|

Re: Back to SDL question

2017-10-19 Thread Jonathan M Davis via Digitalmars-d
On Thursday, October 19, 2017 13:34:31 Suliman via Digitalmars-d wrote: > First of all I would like to say sorry for Ludwig, that 2 years > ago I was initiator to making JSON back by default for dub > config. It was really my mistake. > Only some time later I understand that it was big error. > >

Re: How do I convert a LPVOID (void*) to string?

2017-10-19 Thread Kagamin via Digitalmars-d-learn
string GetLastErrorMessage() { wchar* lpMsgBuf; DWORD errorMessageID = GetLastError(); uint len=FormatMessageW( FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS,

Re: My first experience as a D Newbie

2017-10-19 Thread lobo via Digitalmars-d
On Thursday, 19 October 2017 at 21:18:43 UTC, Rion wrote: On Thursday, 19 October 2017 at 18:10:04 UTC, H. S. Teoh wrote: Told by whom? The responses here seem to be a good indicator that he is wasting his time. The past responses in similar topics. Even Andrei or Walter can be convinced