Re: Note from a donor

2017-10-28 Thread codephantom via Digitalmars-d
On Sunday, 29 October 2017 at 03:46:35 UTC, codephantom wrote: It's D I'm interested in. Not VS. btw. since this thread has gone way off topic... I'd suggest this one instead: https://forum.dlang.org/thread/xwuxfcdaqkcealxzg...@forum.dlang.org

Re: Note from a donor

2017-10-28 Thread codephantom via Digitalmars-d
On Sunday, 29 October 2017 at 02:09:31 UTC, 12345swordy wrote: It seems to me that you have a major case of anti-windows bias here, as I never have any issues on my main windows machine. Actually, it's the very opposite...I'm strongly arguing 'for' D on Windows. (otherwise I wouldn't have wa

Re: Note from a donor

2017-10-28 Thread codephantom via Digitalmars-d
On Saturday, 28 October 2017 at 07:39:21 UTC, codephantom wrote: It's the *minimum* 'selection set' you'll need (with regards to the Visual Studio Build Tools 2017) in order to get DMD to sucessfully compile a 64bit exe (-m64) Now to be fair, this is assuming you **don't** want and **don't**

Re: Note from a donor

2017-10-28 Thread codephantom via Digitalmars-d
On Sunday, 29 October 2017 at 02:09:31 UTC, 12345swordy wrote: It seems to me that you have a major case of anti-windows bias here, as I never have any issues on my main windows machine. Well, throughout this discussion, I have documented *my* experience (not yours) of getting 64bit D on a f

Re: Note from a donor

2017-10-28 Thread 12345swordy via Digitalmars-d
On Sunday, 29 October 2017 at 01:43:46 UTC, codephantom wrote: On Sunday, 29 October 2017 at 01:07:17 UTC, Jerry wrote: So why do you care about something that doesn't even affect you? Well, if you had been following the discussion, instead of just trying to troll, then you would know tha

Re: Note from a donor

2017-10-28 Thread Jerry via Digitalmars-d
On Sunday, 29 October 2017 at 01:43:46 UTC, codephantom wrote: So I'm executing my right to free speech, and I'm saying that I don't like it, and I wish it was better. Is that so bad? You are doing more than saying you don't like it. You are requesting and advocating for the removal of a featu

Re: Note from a donor

2017-10-28 Thread Adam Wilson via Digitalmars-d
On 10/28/17 12:46, Jerry wrote: On Saturday, 28 October 2017 at 15:36:38 UTC, codephantom wrote: But if you really are missing my point..then let me state it more clearly... (1) I don't like waiting 4 hours to download gigabytes of crap I don't actually want, but somehow need (if I want to comp

Re: Note from a donor

2017-10-28 Thread codephantom via Digitalmars-d
On Sunday, 29 October 2017 at 01:07:17 UTC, Jerry wrote: So why do you care about something that doesn't even affect you? Well, if you had been following the discussion, instead of just trying to troll, then you would know that I was essentially doing an experiment. AIM: If I was using Wi

Re: Note from a donor

2017-10-28 Thread Jerry via Digitalmars-d
On Sunday, 29 October 2017 at 00:45:08 UTC, codephantom wrote: On Saturday, 28 October 2017 at 19:46:00 UTC, Jerry wrote: Start the download when you go to sleep, when you wake up it will be finished. I did this as a kid when I had internet that was probably even slower than yours right now. It

Re: Note from a donor

2017-10-28 Thread Jerry via Digitalmars-d
On Sunday, 29 October 2017 at 00:17:10 UTC, codephantom wrote: On Saturday, 28 October 2017 at 19:46:00 UTC, Jerry wrote: It's probably why you shouldn't be on Windows to begin with.. I'm not. I'm on FreeBSD. So why do you care about something that doesn't even affect you? Talk about being

Re: Note from a donor

2017-10-28 Thread codephantom via Digitalmars-d
On Saturday, 28 October 2017 at 19:46:00 UTC, Jerry wrote: Start the download when you go to sleep, when you wake up it will be finished. I did this as a kid when I had internet that was probably even slower than yours right now. It'll be like those 4 hours never even happened. That's grea

Re: Note from a donor

2017-10-28 Thread codephantom via Digitalmars-d
On Saturday, 28 October 2017 at 19:46:00 UTC, Jerry wrote: It's probably why you shouldn't be on Windows to begin with.. I'm not. I'm on FreeBSD. Talk about being narcissistic ;) I wasn't talking about narcissism, I was talking about trolling. Narcissism was not correlated with trolling en

Re: hacky way to get explicit default constructor on struct :P

2017-10-28 Thread Jonathan M Davis via Digitalmars-d
On Saturday, October 28, 2017 16:59:03 LunaticWare via Digitalmars-d wrote: > Event if there is no default constructor on struct we can still > make one that work as well as if it were implemented, here is my > example n__n This idiom gets suggested from time to time, and I'm sure that it gets use

Re: Required Reading: "Functional Programming in C++"

2017-10-28 Thread Jonathan M Davis via Digitalmars-d
On Saturday, October 28, 2017 21:51:50 Ola Fosheim Grøstad via Digitalmars-d wrote: > On Wednesday, 25 October 2017 at 22:19:21 UTC, Walter Bright > > wrote: > > for core D devs. Of course, this is much easier in D than in > > C++ because of D's const and pure attributes. > > Nah, the type system

Re: druntime unittest failing under wine

2017-10-28 Thread Jonathan M Davis via Digitalmars-d
On Saturday, October 28, 2017 19:06:29 Dmitry Olshansky via Digitalmars-d wrote: > On Saturday, 28 October 2017 at 18:58:50 UTC, Andrei Alexandrescu > > wrote: > > I am using wine to build our Windows toolchain on Linux per > > https://wiki.dlang.org/Building_under_Posix. After building > > dmd, I

Re: delete & its deprecation

2017-10-28 Thread 12345swordy via Digitalmars-d
On Friday, 27 October 2017 at 19:03:01 UTC, Jonathan M Davis wrote: On Friday, October 27, 2017 12:30:58 bauss via Digitalmars-d wrote: Are there any plans to completely remove the delete keyword so members of ex. a class can be called delete? Or is there still code within DMD or Phobos that us

Re: Required Reading: "Functional Programming in C++"

2017-10-28 Thread Ola Fosheim Grøstad via Digitalmars-d
On Wednesday, 25 October 2017 at 22:19:21 UTC, Walter Bright wrote: for core D devs. Of course, this is much easier in D than in C++ because of D's const and pure attributes. Nah, the type system isn't critical for doing functional style programming. People who want to do functional programmin

Re: Note from a donor

2017-10-28 Thread Jerry via Digitalmars-d
On Saturday, 28 October 2017 at 15:36:38 UTC, codephantom wrote: But if you really are missing my point..then let me state it more clearly... (1) I don't like waiting 4 hours to download gigabytes of crap I don't actually want, but somehow need (if I want to compile 64bit D that is). Start

Re: Note from a donor

2017-10-28 Thread Jerry via Digitalmars-d
On Saturday, 28 October 2017 at 14:43:38 UTC, codephantom wrote: I explicitly mentioned that I did ***NOT*** want VS installed. So? If you don't want to use it, then don't use D, or don't use Windows. There's simple solution to your problem. Rust requires VS, you can't build on Window

Re: druntime unittest failing under wine

2017-10-28 Thread Dmitry Olshansky via Digitalmars-d
On Saturday, 28 October 2017 at 18:58:50 UTC, Andrei Alexandrescu wrote: I am using wine to build our Windows toolchain on Linux per https://wiki.dlang.org/Building_under_Posix. After building dmd, I tried to unittest druntime: wine make -f win32.mak and got this: core.exception.AssertError@

druntime unittest failing under wine

2017-10-28 Thread Andrei Alexandrescu via Digitalmars-d
I am using wine to build our Windows toolchain on Linux per https://wiki.dlang.org/Building_under_Posix. After building dmd, I tried to unittest druntime: wine make -f win32.mak and got this: core.exception.AssertError@src\core\sync\mutex.d(380): unittest failure Is this reproducible? Does a

Re: D for microservices

2017-10-28 Thread Dmitry Olshansky via Digitalmars-d
On Saturday, 28 October 2017 at 14:55:25 UTC, aberba wrote: On Sunday, 22 October 2017 at 02:48:57 UTC, Joakim wrote: I just read the following two week-old comment on the ldc issue tracker, when someone tried to run D on Alpine linux: "For now everything works(?) but I think the process could

Re: Project Elvis

2017-10-28 Thread Daniel Kozak via Digitalmars-d
Wait? You are saying D does not support this yet? Wow :D. I have been using this so often in work (PHP) so I can beleive I have not miss this On Sat, Oct 28, 2017 at 2:39 PM, bauss via Digitalmars-d < digitalmars-d@puremagic.com> wrote: > On Saturday, 28 October 2017 at 11:38:52 UTC, Andrei Alexa

Re: Note from a donor

2017-10-28 Thread codephantom via Digitalmars-d
On Saturday, 28 October 2017 at 16:23:13 UTC, Adam D. Ruppe wrote: The beauty of it is they work basically the same. Especially on Windows, where 32 bit programs just work on almost any installation, 32 or 64 bit. yes. i have dmd on one of my old laptops (it runs XP 32bit) ...works just f

hacky way to get explicit default constructor on struct :P

2017-10-28 Thread LunaticWare via Digitalmars-d
Event if there is no default constructor on struct we can still make one that work as well as if it were implemented, here is my example n__n -- import std.format; import std.stdio; struct Player { string name = "Baz"; float[2] position = [0, 0]; // Adding an explicit constru

Re: Note from a donor

2017-10-28 Thread codephantom via Digitalmars-d
On Saturday, 28 October 2017 at 15:20:05 UTC, Mengu wrote: my code that worked amazing on linux and mac os x failed miserably on freebsd which is my server os whenever and wherever possible. i did not have the luxury of days to fix stuff so i simply switched to debian. Would be interested to

Re: Note from a donor

2017-10-28 Thread Adam D. Ruppe via Digitalmars-d
On Saturday, 28 October 2017 at 16:03:15 UTC, codephantom wrote: I like seeing how code works in different environments. The beauty of it is they work basically the same. Especially on Windows, where 32 bit programs just work on almost any installation, 32 or 64 bit. The DMar's C compiler i

Re: Note from a donor

2017-10-28 Thread codephantom via Digitalmars-d
On Saturday, 28 October 2017 at 15:42:00 UTC, Adam D. Ruppe wrote: Why do you want 64 bit? I very rarely do 64 bit builds on Windows (mostly just to make sure my crap actually works) since there's not actually that many advantages to it anyway! I'm more of an experimenter than a programmer. I

Re: Note from a donor

2017-10-28 Thread Adam D. Ruppe via Digitalmars-d
On Saturday, 28 October 2017 at 15:36:38 UTC, codephantom wrote: (if I want to compile 64bit D that is). (being a recreational programmer Why do you want 64 bit? I very rarely do 64 bit builds on Windows (mostly just to make sure my crap actually works) since there's not actually that many ad

Re: Note from a donor

2017-10-28 Thread codephantom via Digitalmars-d
On Saturday, 28 October 2017 at 15:18:07 UTC, Mengu wrote: with mac os x, we have to download gbs of command line tools library before getting started with any development. if we want to build anything for ios or mac we have to download 5gb xcode. with a fast internet, you get that in a matter

Re: Note from a donor

2017-10-28 Thread Mengu via Digitalmars-d
On Saturday, 28 October 2017 at 02:50:39 UTC, codephantom wrote: On Saturday, 28 October 2017 at 01:08:57 UTC, Mengu wrote: looks like d has a long way to go on freebsd as well. I've had no issues with D in FreeBSD at all... ...and it's been a really smooth transition to D...so far... I have

Re: Note from a donor

2017-10-28 Thread Mengu via Digitalmars-d
On Saturday, 28 October 2017 at 14:43:38 UTC, codephantom wrote: On Saturday, 28 October 2017 at 14:00:14 UTC, Jerry wrote: On Saturday, 28 October 2017 at 07:39:21 UTC, codephantom wrote: btw. (and I do realise we've gone way of the topic of this original thread)...but... if it interests any

Re: Note from a donor

2017-10-28 Thread codephantom via Digitalmars-d
On Saturday, 28 October 2017 at 14:50:25 UTC, codephantom wrote: I think I meant troll, not trawl ;-) btw... A scientific research paper, titled 'Trolls just want to have fun' found that: - Sadism and Machiavellianism were unique predictors of trolling enjoyment.. - Found clear evidence th

Re: D for microservices

2017-10-28 Thread aberba via Digitalmars-d
On Sunday, 22 October 2017 at 02:48:57 UTC, Joakim wrote: I just read the following two week-old comment on the ldc issue tracker, when someone tried to run D on Alpine linux: "For now everything works(?) but I think the process could be improved.. Would be really cool to have LDC easily build

Re: Note from a donor

2017-10-28 Thread codephantom via Digitalmars-d
On Saturday, 28 October 2017 at 14:43:38 UTC, codephantom wrote: Nice one Jerry. Go trawl somewhere else! I think I meant troll, not trawl ;-)

Re: Note from a donor

2017-10-28 Thread codephantom via Digitalmars-d
On Saturday, 28 October 2017 at 14:00:14 UTC, Jerry wrote: On Saturday, 28 October 2017 at 07:39:21 UTC, codephantom wrote: btw. (and I do realise we've gone way of the topic of this original thread)...but... if it interests anyone, this is the outcome of yesterday, where I wasted my whole da

Re: Note from a donor

2017-10-28 Thread Jerry via Digitalmars-d
On Saturday, 28 October 2017 at 07:39:21 UTC, codephantom wrote: btw. (and I do realise we've gone way of the topic of this original thread)...but... if it interests anyone, this is the outcome of yesterday, where I wasted my whole day trying to get DMD to compile a 64bit .exe on a fresh inst

Re: So why double to float conversion is implicit ?

2017-10-28 Thread aberba via Digitalmars-d
On Sunday, 22 October 2017 at 14:59:41 UTC, Andrei Alexandrescu wrote: On 10/22/17 9:41 AM, User wrote: Is there a list of such quirks or gotchas in dlang? The ones I know of are 1. Implicit conversion from double to float 2. Integer division results in integer result truncation the fraction

Re: AWS SDK

2017-10-28 Thread aberba via Digitalmars-d
On Wednesday, 18 October 2017 at 23:02:27 UTC, Stephan Dilly wrote: On 2017-10-18 22:25:23 +, ikod said: On Wednesday, 18 October 2017 at 20:51:48 UTC, Stephan Dilly wrote: On 2017-10-18 20:19:20 +, ikod said: [...] Are you going to take over the task? --Stephan I'd like, but I

Re: Note from a donor

2017-10-28 Thread Jerry via Digitalmars-d
On Saturday, 28 October 2017 at 00:05:53 UTC, codephantom wrote: Is is it problem that D should accept, and just impose on it's users? Or should D find a better way? Which is the worse mentality? There is an afterlife with god. There is nothingness after death. Which is the worse mentality?

Re: Note from a donor

2017-10-28 Thread Jerry via Digitalmars-d
On Saturday, 28 October 2017 at 00:05:53 UTC, codephantom wrote: Rubbish! And get you facts straight! Where did I advocate from the removal of the ability for D to generate 64-bit binaries? So you are saying to not use the platform's tools to generate binaries. That's like saying not to the

Re: Note from a donor

2017-10-28 Thread MrSmith via Digitalmars-d
On Saturday, 28 October 2017 at 09:20:40 UTC, MrSmith wrote: error: test.obj: The file was not recognized as a valid object file Ah, forgot to pass -m64 to dmd

Re: Note from a donor

2017-10-28 Thread Jacob Carlborg via Digitalmars-d
On 2017-10-28 08:11, Brad Roberts wrote: The issues weren't compiling dmd but passing the full test suite. Both are required. Yes, I've run the test suite as well, DMD, druntime and Phobos. -- /Jacob Carlborg

Re: Project Elvis

2017-10-28 Thread bauss via Digitalmars-d
On Saturday, 28 October 2017 at 11:38:52 UTC, Andrei Alexandrescu wrote: Walter and I decided to kick-off project Elvis for adding the homonym operator to D. [...] This is honestly going to be a great addition.

Project Elvis

2017-10-28 Thread Andrei Alexandrescu via Digitalmars-d
Walter and I decided to kick-off project Elvis for adding the homonym operator to D. Razvan Nitu has already done a good part of the work: https://github.com/dlang/dmd/pull/7242 https://github.com/dlang/dlang.org/pull/1917 https://github.com/dlang/dlang.org/pull/1918 What's needed is a precise

Re: Note from a donor

2017-10-28 Thread MrSmith via Digitalmars-d
On Friday, 27 October 2017 at 16:05:10 UTC, Kagamin wrote: With this the only missing piece will be the C startup code (mainCRTStartup in crtexe.c), though not sure where it's compiled. How do I get lld-link to link .obj files? Clang itself emits .o files, and those link successfully. For .obj

Re: Note from a donor

2017-10-28 Thread codephantom via Digitalmars-d
On Thursday, 26 October 2017 at 20:44:49 UTC, Adam Wilson wrote: The XCode installer DMG is 5GB, before unpacking. And unlike VS17, I can't pick and choose. :) btw. (and I do realise we've gone way of the topic of this original thread)...but... if it interests anyone, this is the outcome of

Re: Note from a donor

2017-10-28 Thread Jonathan M Davis via Digitalmars-d
On Saturday, October 28, 2017 07:12:13 Paulo Pinto via Digitalmars-d wrote: > Visual Studio 2017 has native support for cmake as project format. > > It is also the new official format for Android NDK development. > > So we are quite ok with using cmake. :) That definitely sounds like an improvemen

Re: Note from a donor

2017-10-28 Thread Paulo Pinto via Digitalmars-d
On Saturday, 28 October 2017 at 03:00:16 UTC, Jonathan M Davis wrote: On Saturday, October 28, 2017 02:48:00 evilrat via Digitalmars-d wrote: On Saturday, 28 October 2017 at 02:30:50 UTC, codephantom wrote: > On Saturday, 28 October 2017 at 01:42:52 UTC, evilrat wrote: >> Since you already on t