Re: Stefan Koch: New CTFE fix

2017-08-14 Thread Johnson via Digitalmars-d
On Tuesday, 15 August 2017 at 01:31:13 UTC, Moritz Maxeiner wrote: On Monday, 14 August 2017 at 22:51:04 UTC, Johnson Jones wrote: string do() { string x; x = "adsf"; pragma(msg, x); return x; } "do" is a keyword in D, you can't use it as an identifier. wow, way to fail to real

Named multi-imports

2017-08-14 Thread Johnson via Digitalmars-d
Why can't we name multiple imports? import x = a, b, c; only a is part of x, b and c are not named! this can cause some major problems(or the lack of a correctly solution). For example, gdk and gtk both have window. Both imports are needed and both define many public imports that create a

Re: Named multi-imports

2017-08-14 Thread Johnson via Digitalmars-d
Not only that, but it requires adding more files to the command line. I currently have 3 import files to separate the gtk from gdk that and the only reason they exist is to combine them in to one named import ;/ Doesn't seem like much but that's 3 extra files that don't really need to exis

Re: Stefan Koch: New CTFE fix

2017-08-15 Thread Johnson via Digitalmars-d
I'm sorry, but you are obviously someone in *need* to prove something. No need to respond, ever.

Re: Named multi-imports

2017-08-15 Thread Johnson via Digitalmars-d
On Tuesday, 15 August 2017 at 03:37:39 UTC, rikki cattermole wrote: On 15/08/2017 2:59 AM, Johnson wrote: Not only that, but it requires adding more files to the command line. I currently have 3 import files to separate the gtk from gdk that and the only reason they exist is to combine them i

Re: Named multi-imports

2017-08-16 Thread Johnson via Digitalmars-d
On Wednesday, 16 August 2017 at 09:54:41 UTC, aberba wrote: On Tuesday, 15 August 2017 at 21:12:24 UTC, jmh530 wrote: On Tuesday, 15 August 2017 at 20:33:18 UTC, Johnson wrote: Or instead of a new language feature, the gtk-d guys could have package files ;) But then that only helps with one

Re: Stefan Koch: New CTFE fix

2017-08-16 Thread Johnson via Digitalmars-d
On Wednesday, 16 August 2017 at 10:03:56 UTC, Moritz Maxeiner wrote: On Wednesday, 16 August 2017 at 07:24:36 UTC, Biotronic wrote: When Moritz commented on your use of 'do' as a function name, that may have been unnecessary for a discussion of your problem. I would contend that when discus

Re: Stefan Koch: New CTFE fix

2017-08-16 Thread Johnson via Digitalmars-d
On Wednesday, 16 August 2017 at 07:24:36 UTC, Biotronic wrote: On Tuesday, 15 August 2017 at 16:10:40 UTC, Johnson wrote: I'm sorry, but you are obviously someone in *need* to prove something. No need to respond, ever. You need to grow up. When Moritz commented on your use of 'do' as a functi

in for testing

2017-08-26 Thread Johnson via Digitalmars-d
while(str[i] in [' ', '\r', ...]) rather than having to do each test individually.

Re: Symbols missing, unmangle!

2017-08-30 Thread Johnson via Digitalmars-d
On Wednesday, 30 August 2017 at 21:51:51 UTC, Moritz Maxeiner wrote: On Wednesday, 30 August 2017 at 20:23:18 UTC, Johnson Jones wrote: It would be nice if, when symbols are missing, they are unmangled! Error 42: Symbol Undefined _D12mMunchhousin12iMunchhousin11__T4GoTsZ4GoMFS12mMunchhousin18

Re: Symbols missing, unmangle!

2017-08-30 Thread Johnson via Digitalmars-d
On Wednesday, 30 August 2017 at 22:07:29 UTC, lobo wrote: On Wednesday, 30 August 2017 at 20:23:18 UTC, Johnson Jones wrote: It would be nice if, when symbols are missing, they are unmangled! Error 42: Symbol Undefined _D12mMunchhousin12iMunchhousin11__T4GoTsZ4GoMFS12mMunchhousin18__T10Munchh

Re: DMD VS2017 Support

2017-04-30 Thread Mike B Johnson via Digitalmars-d
On Sunday, 30 April 2017 at 16:52:52 UTC, Igor wrote: On Sunday, 30 April 2017 at 16:31:13 UTC, John Chapman wrote: Here are mine, if it helps: I tried but still the same problem. I also tried reinstalling VisualD after changing sc.ini in DMD but that didn't help either. You are going to

Re: [OT] Algorithm question

2017-05-01 Thread Mike B Johnson via Digitalmars-d
On Monday, 1 May 2017 at 04:15:35 UTC, H. S. Teoh wrote: I'm been thinking about the following problem, and thought I'd pick the brains of the bright people around these parts... [...] Since most real world problems would require selecting elements more than once it may be far more efficien

Re: D is really cool

2017-05-12 Thread Mike B Johnson via Digitalmars-d
On Friday, 12 May 2017 at 22:05:54 UTC, Faux Amis wrote: On 2017-05-10 07:24, nkm1 wrote: So I spent last week (or so) learning D, and it's a great language. Initially I was apprehensive about GC (non generational, conservative...), but now I realize that I can use D as an improved C (combinin

Re: Weak Eco System?

2017-05-16 Thread Mike B Johnson via Digitalmars-d
On Tuesday, 16 May 2017 at 21:08:34 UTC, Benro wrote: On Tuesday, 16 May 2017 at 17:14:49 UTC, Basile B. wrote: For example the build.bat fix could have been made and merged in 10 min. if you would have took the time to report it! First of all. ! is not appreciated. This is considered yelling.

Re: Weak Eco System?

2017-05-22 Thread Mike B Johnson via Digitalmars-d
On Wednesday, 17 May 2017 at 08:19:43 UTC, Benro wrote: On Tuesday, 16 May 2017 at 23:17:10 UTC, Mike B Johnson wrote: Grow up! ! is not yelling. It makes no sound, has no meaning, and only exists to insert in to tight anuses that have no life. Thank you for your helpful comment. I won

Re: Any video editing folks n da house?

2017-05-27 Thread Mike B Johnson via Digitalmars-d
On Saturday, 27 May 2017 at 22:28:13 UTC, Nick Sabalausky (Abscissa) wrote: On 05/27/2017 06:19 PM, Era Scarecrow wrote: On Wednesday, 24 May 2017 at 10:04:03 UTC, Wulfklaue wrote: Working on a compressed video to create another compressed video, simply result in lower quality video ( and less

Re: Phobos 2

2017-06-02 Thread Mike B Johnson via Digitalmars-d
On Thursday, 1 June 2017 at 20:58:52 UTC, H. S. Teoh wrote: On Thu, Jun 01, 2017 at 06:40:05PM +, Brad Anderson via Digitalmars-d wrote: A (surely controversial) idea popped into my head while talking in #d on Freenode. The C++ guys are making an STL2 (the highlight of it being that it is r

Re: Typecasting delegates

2017-06-03 Thread Mike B Johnson via Digitalmars-d
On Friday, 2 June 2017 at 21:42:57 UTC, Moritz Maxeiner wrote: On Friday, 2 June 2017 at 21:14:29 UTC, Seiji Emery wrote: [...] assume that they're implemented as a pair of pointers; Ah, and uh... one last thing. What's the worst that could happen from calling a `ref Foo` signature through a

Re: DIP66 - Multiple alias this

2017-06-04 Thread Mike B Johnson via Digitalmars-d
On Friday, 10 October 2014 at 17:09:08 UTC, IgorStepanov wrote: I've created DIP for my pull request. DIP: http://wiki.dlang.org/DIP66 PR: https://github.com/D-Programming-Language/dmd/pull/3998 Please, comment it. Well, nearly 3 years later and nothing!

Why does phobos have collisions?

2017-06-07 Thread Mike B Johnson via Digitalmars-d
Error: template std.algorithm.mutation.strip cannot deduce function from argument types !()(string), candidates are: src\phobos\std\algorithm\mutation.d(2280): std.algorithm.mutation.strip(Range, E)(Range range, E element) if (isBidirectionalRange!Range && is(typeof(range.front == element

better string

2017-06-07 Thread Mike B Johnson via Digitalmars-d
Why not alias string so that one can easily switch from the old string or wstring, etc? e.g., rename string internally to sstring or whatever. then globally define alias string = sstring; Which can be over realiased to wstring to affect the whole program alias string = wstring; Or use a com

Re: better string

2017-06-07 Thread Mike B Johnson via Digitalmars-d
On Wednesday, 7 June 2017 at 10:58:06 UTC, Mike B Johnson wrote: Why not alias string so that one can easily switch from the old string or wstring, etc? e.g., rename string internally to sstring or whatever. then globally define alias string = sstring; Which can be over realiased to wstring

Re: better string

2017-06-07 Thread Mike B Johnson via Digitalmars-d
On Wednesday, 7 June 2017 at 21:32:25 UTC, ag0aep6g wrote: On 06/07/2017 12:58 PM, Mike B Johnson wrote: Why not alias string so that one can easily switch from the old string or wstring, etc? e.g., rename string internally to sstring or whatever. then globally define alias string = sstring;

Re: better string

2017-06-07 Thread Mike B Johnson via Digitalmars-d
On Thursday, 8 June 2017 at 00:59:06 UTC, Stanislav Blinov wrote: On Wednesday, 7 June 2017 at 23:57:44 UTC, Mike B Johnson wrote: Or will simply setting "alias string = wstring;" at the top of my program end up having the entire program, regardless of what it is, use wstring's instead of stri

Re: Isn't it about time for D3?

2017-06-10 Thread Mike B Johnson via Digitalmars-d
On Sunday, 11 June 2017 at 00:37:09 UTC, ketmar wrote: Adam D. Ruppe wrote: On Sunday, 11 June 2017 at 00:06:13 UTC, Joakim wrote: Dev resources are stretched thin as it is, I doubt the core team would go for it. I think dev resources are thin because of mismanagement by the core team faili

Re: Isn't it about time for D3?

2017-06-11 Thread Mike B Johnson via Digitalmars-d
On Sunday, 11 June 2017 at 06:14:43 UTC, ketmar wrote: Mike B Johnson wrote: Yeah, sounds good, because to make progress, progress has to be made. Most people are very shortsighted and live in a fear based mentality. Mention any type of change and they nearly shit themselves and never actuall

D needs to get its shit together!

2017-06-15 Thread Mike B Johnson via Digitalmars-d
Seriously! D is starting to gain momentum and if things are not stabilized it's going to slow D down. 1 ==>> The VERY FIRST order of business is very simple: When a new user goes to start using D for the first time, D is a PITA to get working! Don't believe me?!?! Just try getting D installe

Re: D needs to get its shit together!

2017-06-16 Thread Mike B Johnson via Digitalmars-d
DVM [1] is doing some of this. Cool, does it keep things well organized and deals with windows issues(link.exe., dlls, etc) or just uses the "D way" which is a hairball?

Re: D needs to get its shit together!

2017-06-16 Thread Mike B Johnson via Digitalmars-d
On Friday, 16 June 2017 at 17:10:41 UTC, Jacob Carlborg wrote: On 2017-06-16 09:53, Mike B Johnson wrote: DVM [1] is doing some of this. Cool, does it keep things well organized It depends on what you definition of organized. DVM is a tool that allows you to easily install D compilers. It a

Official D Contributors

2017-06-17 Thread Mike B Johnson via Digitalmars-d
It would be nice to see all the hard workers who have helped D become what has become and are helping it become what it will be get noticed for there hard work(effectively they have given money to the D foundation through their time). Is this being done? I think the regulars that have been aro

Re: D needs to get its shit together!

2017-06-17 Thread Mike B Johnson via Digitalmars-d
On Saturday, 17 June 2017 at 08:27:33 UTC, Sebastien Alaiwan wrote: On Friday, 16 June 2017 at 03:53:18 UTC, Mike B Johnson wrote: When a new user goes to start using D for the first time, D is a PITA to get working! Don't believe me?!?! I'm running Debian GNU/Linux (testing). Here's the insta

Re: D needs to get its shit together!

2017-06-17 Thread Mike B Johnson via Digitalmars-d
On Saturday, 17 June 2017 at 13:23:06 UTC, Mike Parker wrote: On Saturday, 17 June 2017 at 06:06:53 UTC, Mike B Johnson wrote: [...] This isn't as severe as you make it sound. If the latest version of VS doesn't work, the one before will. It's easy to prevent such issues in the future. Sinc

Re: D needs to get its shit together!

2017-06-18 Thread Mike B Johnson via Digitalmars-d
On Saturday, 17 June 2017 at 15:01:34 UTC, Mike Parker wrote: On Saturday, 17 June 2017 at 14:01:38 UTC, Mike B Johnson wrote: You realize your mentality is like a dead rat? It just stinks. Your solutions are not solutions. They are patches. I wouldn't hire you to fix my plumbing because in

Re: Replacing Make for the DMD build

2017-06-18 Thread Mike B Johnson via Digitalmars-d
On Saturday, 17 June 2017 at 19:20:54 UTC, Walter Bright wrote: On 6/15/2017 11:30 PM, Russel Winder via Digitalmars-d wrote: A direct question to Walter and Andrei really. If someone, let us say Russel Winder, create a CMake/Ninja and/or Meson/Ninja build for DMD, is there any chance of it be

Re: D and Meson

2017-06-19 Thread Mike B Johnson via Digitalmars-d
On Wednesday, 14 June 2017 at 15:25:55 UTC, Russel Winder wrote: Using Meson for D projects is so wonderful. If SCons is to catch up a lot of work is needed, and I am increasingly worrying it isn't worth it. So much so that I am wondering if adding Dub package getting support to Meson should be

Re: DMD VS2017 Support

2017-04-19 Thread Mike B Johnson via Digitalmars-d
On Wednesday, 19 April 2017 at 20:47:51 UTC, Jolly James wrote: I cannot even fix it myself because DMD is looking for "bin\link.exe". But with VS2017 the path would actually be something like "\bin\HostX64\x64". Edit your sc.ini in the dmd\windows\bin dir or use junctions to map directories.

Re: DMD VS2017 Support

2017-04-20 Thread Mike B Johnson via Digitalmars-d
On Thursday, 20 April 2017 at 00:13:29 UTC, Meta wrote: On Wednesday, 19 April 2017 at 20:47:51 UTC, Jolly James wrote: I cannot even fix it myself because DMD is looking for "bin\link.exe". But with VS2017 the path would actually be something like "\bin\HostX64\x64". Please ignore Mike's ans