Re: std.data.json formal review

2015-09-28 Thread Marco Leise via Digitalmars-d
Am Tue, 18 Aug 2015 09:05:32 + schrieb "Marc Schütz" : > Or, as above, leave it to the end user and provide a `to(T)` > method that can support built-in types and `BigInt` alike. You mean the user should write a JSON number parsing routine on their own? Then which part is responsible for val

Re: DIP82: static unittest blocks

2015-09-28 Thread Jacob Carlborg via Digitalmars-d
On 2015-09-27 07:01, Jonathan M Davis wrote: This DIP provides a way to handle unittest blocks inside of templates which works with ddoc without compiling the unittest blocks into each instantiation. http://wiki.dlang.org/DIP82 I assume you won't have access to the template parameters? -- /Ja

Re: DIP82: static unittest blocks

2015-09-28 Thread Jonathan M Davis via Digitalmars-d
On Monday, 28 September 2015 at 09:06:52 UTC, Jacob Carlborg wrote: On 2015-09-27 07:01, Jonathan M Davis wrote: This DIP provides a way to handle unittest blocks inside of templates which works with ddoc without compiling the unittest blocks into each instantiation. http://wiki.dlang.org/DIP

Re: Moving back to .NET

2015-09-28 Thread Chris via Digitalmars-d
On Friday, 25 September 2015 at 21:03:12 UTC, Laeeth Isharc wrote: And sensible mercantile consideration of what might go wrong and what you are going to do if that happens - that's a very different thing from what Chris was speaking about. Because in enterprises it's often the case that soci

Re: std.experimental.testing formal review

2015-09-28 Thread Robert burner Schadek via Digitalmars-d
Review of std.experimental.testing formal review the two weeks of the formal review phase are over. The review thread was very shallow. Dicebot again expressed this disaffection with the assert function names "should(BeTrue|BeFalse|...)" No agreement could be found. Personally, I'm not sure if

Re: Pathing in the D ecosystem is generally broken (at least on windows)

2015-09-28 Thread Manu via Digitalmars-d
On 28 September 2015 at 09:51, Walter Bright via Digitalmars-d wrote: > On 9/27/2015 12:54 AM, Manu via Digitalmars-d wrote: >> >> They simply don't recognise its existence. It's a piece of antiquated >> detritus, only used by strange people who wear woolen shirts >> pretending to be *nix users wh

Re: Pathing in the D ecosystem is generally broken (at least on windows)

2015-09-28 Thread John Colvin via Digitalmars-d
On Monday, 28 September 2015 at 11:23:25 UTC, Manu wrote: On 28 September 2015 at 09:51, Walter Bright via Digitalmars-d wrote: On 9/27/2015 12:54 AM, Manu via Digitalmars-d wrote: They simply don't recognise its existence. It's a piece of antiquated detritus, only used by strange people who

Re: Pathing in the D ecosystem is generally broken (at least on windows)

2015-09-28 Thread Tourist via Digitalmars-d
On Sunday, 27 September 2015 at 06:34:29 UTC, Walter Bright wrote: On 9/26/2015 10:20 AM, Brad Anderson wrote: Just a little aside tip, Windows search these days is actually really excellent for settings like this (and programs). Windows Key + "env" + Enter is enough to get you to the dialog.

Re: running code on the homepage

2015-09-28 Thread ixid via Digitalmars-d
On Thursday, 17 September 2015 at 14:48:07 UTC, nazriel wrote: On Wednesday, 16 September 2015 at 20:52:08 UTC, Andrei Alexandrescu wrote: On 09/16/2015 09:49 AM, nazriel wrote: 1-2 days more and we will be done with it so IMHO no need take any additionals steps for it right now. That's grea

Re: Moving back to .NET

2015-09-28 Thread Chris via Digitalmars-d
On Saturday, 26 September 2015 at 00:28:19 UTC, Jonathan M Davis wrote: A lot of folks write code because they want to get something done and simply because they like coding. Publicizing it isn't necessarily particularly important to them. They may want to make it open source so that others c

Re: std.experimental.testing formal review

2015-09-28 Thread Atila Neves via Digitalmars-d
On Monday, 28 September 2015 at 10:03:14 UTC, Robert burner Schadek wrote: Review of std.experimental.testing formal review the two weeks of the formal review phase are over. The review thread was very shallow. Dicebot again expressed this disaffection with the assert function names "should(Be

Re: Pathing in the D ecosystem is generally broken (at least on windows)

2015-09-28 Thread Wyatt via Digitalmars-d
On Sunday, 27 September 2015 at 06:34:29 UTC, Walter Bright wrote: That all conspires to ensure that you CANNOT SEE what the longer values even are! It's pathetic. Well they finally fixed that, at least. A week ago. http://www.ghacks.net/2015/09/22/microsoft-improves-environment-variables-edi

Re: Pathing in the D ecosystem is generally broken (at least on windows)

2015-09-28 Thread Jonathan M Davis via Digitalmars-d
On Monday, 28 September 2015 at 15:08:55 UTC, Wyatt wrote: On Sunday, 27 September 2015 at 06:34:29 UTC, Walter Bright wrote: That all conspires to ensure that you CANNOT SEE what the longer values even are! It's pathetic. Well they finally fixed that, at least. A week ago. http://www.ghacks

Re: Moving back to .NET

2015-09-28 Thread Bruno Medeiros via Digitalmars-d
On 25/09/2015 14:43, Laeeth Isharc wrote: On Friday, 25 September 2015 at 11:24:04 UTC, Bruno Medeiros wrote: On 23/09/2015 22:02, Ola Fosheim Grøstad wrote: IDE is not just a nice interface to write code. It's a way to organize files, AST based file browsing, github integration, and - the most

Re: Pathing in the D ecosystem is generally broken (at least on windows)

2015-09-28 Thread Walter Bright via Digitalmars-d
On 9/28/2015 4:47 AM, John Colvin wrote: The alternative view is that MS messed it up so bad that it became nearly impossible to use manually, so they gave up and just wrote complicated automation to deal with it, making 3rd party development harder than it should be. Of course, it doesn't really

Re: Pathing in the D ecosystem is generally broken (at least on windows)

2015-09-28 Thread Walter Bright via Digitalmars-d
On 9/28/2015 4:23 AM, Manu via Digitalmars-d wrote: MS would never require that of a user. I find it user unfriendly that I can only use MS command tools from a special command prompt.

Re: Pathing in the D ecosystem is generally broken (at least on windows)

2015-09-28 Thread Walter Bright via Digitalmars-d
On 9/28/2015 8:08 AM, Wyatt wrote: On Sunday, 27 September 2015 at 06:34:29 UTC, Walter Bright wrote: That all conspires to ensure that you CANNOT SEE what the longer values even are! It's pathetic. Well they finally fixed that, at least. A week ago. http://www.ghacks.net/2015/09/22/microsoft

Re: Pathing in the D ecosystem is generally broken (at least on windows)

2015-09-28 Thread Adam D. Ruppe via Digitalmars-d
On Monday, 28 September 2015 at 19:27:52 UTC, Walter Bright wrote: Except that copy/paste does not work in the dialog box (or any Windows dialog box). Yes it does, you can ctrl+c or right click and get to it from that menu. It works in all Windows edit boxes. You just hit the edit button fir

Re: Pathing in the D ecosystem is generally broken (at least on windows)

2015-09-28 Thread Walter Bright via Digitalmars-d
On 9/28/2015 12:36 PM, Adam D. Ruppe wrote: On Monday, 28 September 2015 at 19:27:52 UTC, Walter Bright wrote: Except that copy/paste does not work in the dialog box (or any Windows dialog box). Yes it does, you can ctrl+c or right click and get to it from that menu. It works in all Windows ed

Re: Pathing in the D ecosystem is generally broken (at least on windows)

2015-09-28 Thread jmh530 via Digitalmars-d
On Monday, 28 September 2015 at 11:23:25 UTC, Manu wrote: Maybe you're objecting with the suggestion that normal users really do actively use environment variables? If so, your example refers to auto-configured stuff that's completely invisible to average users, as it should be in windows. I'

Help from the compiler when debugging failing template constraints - a pull request

2015-09-28 Thread Atila Neves via Digitalmars-d
I've mentioned this many times before: template constraints are like unittest blocks with asserts in D: great that they're built-in easy to use. But when they fail, there's no help in figuring out why. I've had many a debugging session (with pragma(msg) of course, since my bugs were of the co

Idioms you use

2015-09-28 Thread Freddy via Digitalmars-d
Are any D idioms you use that you like to share? Heres one of mine --- enum ctfe = { return 0xdead & 0xbad; }(); ---

Re: Pathing in the D ecosystem is generally broken (at least on windows)

2015-09-28 Thread rumbu via Digitalmars-d
On Monday, 28 September 2015 at 19:44:11 UTC, Walter Bright wrote: On 9/28/2015 12:36 PM, Adam D. Ruppe wrote: On Monday, 28 September 2015 at 19:27:52 UTC, Walter Bright wrote: Except that copy/paste does not work in the dialog box (or any Windows dialog box). Yes it does, you can ctrl+c or

Re: Pathing in the D ecosystem is generally broken (at least on windows)

2015-09-28 Thread rumbu via Digitalmars-d
On Monday, 28 September 2015 at 21:41:27 UTC, rumbu wrote: On Monday, 28 September 2015 at 19:44:11 UTC, Walter Bright wrote: On 9/28/2015 12:36 PM, Adam D. Ruppe wrote: On Monday, 28 September 2015 at 19:27:52 UTC, Walter Bright wrote: Except that copy/paste does not work in the dialog box (or

Re: Pathing in the D ecosystem is generally broken (at least on windows)

2015-09-28 Thread Walter Bright via Digitalmars-d
On 9/28/2015 2:41 PM, rumbu wrote: Pressing Ctrl-C in any *standard* dialog will copy the text to clipboard since Windows 2000, even captions and buttons. Nope. Doesn't work in the Environment Variables dialog box. Doesn't work in the Thunderbird about box. Doesn't work in the Notepad about bo

Re: Pathing in the D ecosystem is generally broken (at least on windows)

2015-09-28 Thread Jonathan M Davis via Digitalmars-d
On Monday, 28 September 2015 at 23:44:55 UTC, Walter Bright wrote: On 9/28/2015 2:41 PM, rumbu wrote: Pressing Ctrl-C in any *standard* dialog will copy the text to clipboard since Windows 2000, even captions and buttons. Nope. Doesn't work in the Environment Variables dialog box. Doesn't wo

Re: Help from the compiler when debugging failing template constraints - a pull request

2015-09-28 Thread Jack Stouffer via Digitalmars-d
On Monday, 28 September 2015 at 20:25:21 UTC, Atila Neves wrote: I prefer the first one. How about you? Atila Absolutely. The tedious hunt down with pragma(msg) needs to go. One thing your example doesn't show is the next step after the static assert fails: copy all of the asserts from the i

Re: Idioms you use

2015-09-28 Thread lobo via Digitalmars-d
On Monday, 28 September 2015 at 21:40:45 UTC, Freddy wrote: Are any D idioms you use that you like to share? Heres one of mine --- enum ctfe = { return 0xdead & 0xbad; }(); --- What does this do and where would it be useful in my code? For D idioms I usually go here...you may want to submi

GuiDub

2015-09-28 Thread Jacob via Digitalmars-d
Idea: A gui app for dub that you run, it downloads the package info from the repository and you can select a project or create a new one and it will automatically add or remove dependencies? I'm having to browse the repository then manually add the dependencies to the dub.json file... so old

Re: GuiDub

2015-09-28 Thread Rikki Cattermole via Digitalmars-d
On 29/09/15 3:47 PM, Jacob wrote: Idea: A gui app for dub that you run, it downloads the package info from the repository and you can select a project or create a new one and it will automatically add or remove dependencies? I'm having to browse the repository then manually add the dependencies

Re: Pathing in the D ecosystem is generally broken (at least on windows)

2015-09-28 Thread Walter Bright via Digitalmars-d
On 9/28/2015 6:42 PM, Jonathan M Davis wrote: On Monday, 28 September 2015 at 23:44:55 UTC, Walter Bright wrote: On 9/28/2015 2:41 PM, rumbu wrote: Pressing Ctrl-C in any *standard* dialog will copy the text to clipboard since Windows 2000, even captions and buttons. Nope. Doesn't work in the

Re: GuiDub

2015-09-28 Thread Jacob via Digitalmars-d
On Tuesday, 29 September 2015 at 03:28:41 UTC, Rikki Cattermole wrote: On 29/09/15 3:47 PM, Jacob wrote: Idea: A gui app for dub that you run, it downloads the package info from the repository and you can select a project or create a new one and it will automatically add or remove dependenci

Re: GuiDub

2015-09-28 Thread Jacob via Digitalmars-d
On Tuesday, 29 September 2015 at 04:01:18 UTC, Jacob wrote: On Tuesday, 29 September 2015 at 03:28:41 UTC, Rikki Cattermole wrote: On 29/09/15 3:47 PM, Jacob wrote: Idea: A gui app for dub that you run, it downloads the package info from the repository and you can select a project or create a

zip packages to pack modules

2015-09-28 Thread tcak via Digitalmars-d
I brought this feature front before in the forum in someone else's post, but it didn't take much attention probably at that time. I want to propose a feature for front-end of the compiler. The basic definition of feature === ZIP pack the D module files, and while c

Re: zip packages to pack modules

2015-09-28 Thread Rikki Cattermole via Digitalmars-d
On 29/09/15 6:24 PM, tcak wrote: I brought this feature front before in the forum in someone else's post, but it didn't take much attention probably at that time. I want to propose a feature for front-end of the compiler. The basic definition of feature === ZIP pack

Re: Moving back to .NET

2015-09-28 Thread Ola Fosheim Grøstad via Digitalmars-d
On Monday, 28 September 2015 at 09:35:53 UTC, Chris wrote: Yep. What I was talking about was not the fear of a commercial failure because of having picked the wrong tool (management). I was talking about my impression that D might intimidate programmers/coders. This logic is very difficult to

Re: Moving back to .NET

2015-09-28 Thread Ola Fosheim Grøstad via Digitalmars-d
On Tuesday, 29 September 2015 at 05:52:13 UTC, Ola Fosheim Grøstad wrote: What tools can D successfully replace? Give a focused answer to that and you can improve on D to a level where it becomes attractive. But keep it real. Fear among programmers is not D's main issue. That's just an excuse

Re: Pathing in the D ecosystem is generally broken (at least on windows)

2015-09-28 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, 29 September 2015 at 03:33:20 UTC, Walter Bright wrote: On 9/28/2015 6:42 PM, Jonathan M Davis wrote: On Monday, 28 September 2015 at 23:44:55 UTC, Walter Bright wrote: On 9/28/2015 2:41 PM, rumbu wrote: Pressing Ctrl-C in any *standard* dialog will copy the text to clipboard since

Re: GuiDub

2015-09-28 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, 29 September 2015 at 02:47:32 UTC, Jacob wrote: Idea: A gui app for dub that you run, it downloads the package info from the repository and you can select a project or create a new one and it will automatically add or remove dependencies? I'm having to browse the repository then