Re: We need an internal keyword.

2018-10-22 Thread Jonathan M Davis via Digitalmars-d
On Monday, October 22, 2018 2:30:21 AM MDT Basile B. via Digitalmars-d wrote: > On Monday, 22 October 2018 at 08:25:17 UTC, Andrea Fontana wrote: > > Moreover: you're the author of the module so you're supposed to > > know how it works and which members you should call or not. > > - team > - maint

Re: We need an internal keyword.

2018-10-21 Thread Jonathan M Davis via Digitalmars-d
On Saturday, October 20, 2018 9:17:23 PM MDT 12345swordy via Digitalmars-d wrote: > So that classes can share some of their variables but not others > in a module. > > IE. > > class A > { > internal int A; //This is shared in the module > private int B; // But not this. > } > > No need to reintrod

Re: D Logic bug

2018-10-11 Thread Jonathan M Davis via Digitalmars-d
On Thursday, October 11, 2018 8:35:34 AM MDT James Japherson via Digitalmars-d wrote: > Took me about an hour to track this one down! > > A + (B == 0) ? 0 : C; > > D is evaluating it as > > (A + (B == 0)) ? 0 : C; > > > The whole point of the parenthesis was to associate. > > I usually explicitly

Re: D Logic bug

2018-10-11 Thread Jonathan M Davis via Digitalmars-d
On Thursday, October 11, 2018 1:09:14 PM MDT Jonathan Marler via Digitalmars-d wrote: > On Thursday, 11 October 2018 at 14:35:34 UTC, James Japherson > > wrote: > > Took me about an hour to track this one down! > > > > A + (B == 0) ? 0 : C; > > > > D is evaluating it as > > > > (A + (B == 0)) ? 0

Re: Farewell (of sorts)

2018-10-10 Thread Jonathan M Davis via Digitalmars-d
On Thursday, October 4, 2018 7:15:23 AM MDT Shachar Shemesh via Digitalmars- d wrote: > Hello everyone, > > First of all, I know I've had a shorter than usual fuse of late. I'd > like to apologize to everyone about this. It is the culmination of quite > a few things increasing the load I'm under. >

Re: std.data.json formal review

2018-10-09 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, October 9, 2018 5:45:02 PM MDT Nicholas Wilson via Digitalmars-d wrote: > On Tuesday, 9 October 2018 at 18:07:44 UTC, Márcio Martins wrote: > > On Tuesday, 28 July 2015 at 14:07:19 UTC, Atila Neves wrote: > >> Start of the two week process, folks. > >> > >> Code: https://github.com/s-l

Re: Deep nesting vs early returns

2018-10-05 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, October 2, 2018 12:14:55 PM MDT Andrei Alexandrescu via Digitalmars-d wrote: > Kate Gregory makes a good argument on something I've often commented in > code reviews: https://youtu.be/n0Ak6xtVXno?t=2682 It's one of those things that I would have thought would just be obvious with expe

Re: DIP 1014

2018-10-02 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, October 2, 2018 11:54:57 AM MDT Manu via Digitalmars-d wrote: > On Tue, Oct 2, 2018 at 2:40 AM Walter Bright via Digitalmars-d > > wrote: > > On 10/2/2018 2:17 AM, Walter Bright wrote: > > > 1. Don't allow moving of C++ structs > > > 2. Add a struct attribute that means "not moveable"

Re: Warn on unused imports?

2018-10-01 Thread Jonathan M Davis via Digitalmars-d
On Monday, October 1, 2018 8:03:39 PM MDT Nick Sabalausky (Abscissa) via Digitalmars-d wrote: > On 10/01/2018 04:58 PM, Jonathan M Davis wrote: > > On Monday, October 1, 2018 2:44:32 PM MDT Nick Sabalausky (Abscissa) via > > > > Digitalmars-d wrote: > >> Nobody said anything about making them part

Re: Warn on unused imports?

2018-10-01 Thread Jonathan M Davis via Digitalmars-d
On Monday, October 1, 2018 2:44:32 PM MDT Nick Sabalausky (Abscissa) via Digitalmars-d wrote: > On 10/01/2018 03:32 PM, Jonathan M Davis wrote: > > On Monday, October 1, 2018 12:36:49 PM MDT Nick Sabalausky (Abscissa) > > via > > > > Digitalmars-d wrote: > >> Yes, that's exactly what warnings are

Re: Warn on unused imports?

2018-10-01 Thread Jonathan M Davis via Digitalmars-d
On Monday, October 1, 2018 12:36:49 PM MDT Nick Sabalausky (Abscissa) via Digitalmars-d wrote: > On 09/25/2018 09:13 PM, Jonathan M Davis wrote: > > IMHO, the only time that anything along the lines of a warning > > makes sense is when the programmer is proactively running a tool to > > specifical

Re: `shared`...

2018-10-01 Thread Jonathan M Davis via Digitalmars-d
On Monday, October 1, 2018 3:55:41 AM MDT ag0aep6g via Digitalmars-d wrote: > On 10/01/2018 08:47 AM, Nicholas Wilson wrote: > > In order to be safe, a mutable parameter can be implicitly cast to > > shared iff the parameter is also scope (that includes the `this` > > reference`). With an implicit

Re: DIP 1014

2018-09-30 Thread Jonathan M Davis via Digitalmars-d
On Sunday, September 30, 2018 1:35:28 AM MDT Shachar Shemesh via Digitalmars-d wrote: > On 30/09/18 10:26, Manu wrote: > > Other implementations make much better use of that built-in space by > > not wasting 8 bytes on an interior pointer for small-strings. > > I will point out that a pointer that

Re: DIP 1014

2018-09-29 Thread Jonathan M Davis via Digitalmars-d
On Saturday, September 29, 2018 10:34:20 PM MDT Manu via Digitalmars-d wrote: > Who knows about DIP 1014? (struct move hook) > Is it well received? Is it likely to be accepted soon? > > I'm working on the std::string binding, it's almost finished... but > then I hit a brick wall. > GNU's std::stri

Re: Warn on unused imports?

2018-09-28 Thread Jonathan M Davis via Digitalmars-d
On Friday, September 28, 2018 6:50:01 AM MDT Olivier FAURE via Digitalmars-d wrote: > Warnings often catch real problems, even categories of warnings > with high amounts of false positives like unused variables. > > But yeah, I get your point. Warning lose their interest when they > start to pile

Re: OT: Bad translations

2018-09-26 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, September 26, 2018 11:15:01 PM MDT Ali Çehreli via Digitalmars-d wrote: > A delicious Turkish desert is "kabak tatlısı", made of squash. Now, it > so happens that "kabak" also means "zucchini" in Turkish. Imagine my > shock when I came across that desert recipe in English that used >

Re: Updating D beyond Unicode 2.0

2018-09-26 Thread Jonathan M Davis via Digitalmars-d
On Sunday, September 23, 2018 2:49:39 PM MDT Walter Bright via Digitalmars-d wrote: > There's a reason why dmd doesn't have international error messages. My > experience with it is that international users don't want it. They prefer > the english messages. It reminds me of one of the reasons that

Re: Warn on unused imports?

2018-09-26 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, September 26, 2018 4:46:23 AM MDT Laurent Tréguier via Digitalmars-d wrote: > From dmd's help: > ``` >-dsilently allow deprecated features >-dw show use of deprecated features as warnings > (default) >-de show use of deprecated

Re: Warn on unused imports?

2018-09-26 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, September 26, 2018 2:26:20 AM MDT Laurent Tréguier via Digitalmars-d wrote: > On Wednesday, 26 September 2018 at 01:13:11 UTC, Jonathan M Davis > > wrote: > > The way that C++ handles warnings is how I've seen most > > languages handle warnings. IMHO, the only time that anything > >

Re: Warn on unused imports?

2018-09-25 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, September 25, 2018 1:21:50 PM MDT Nick Sabalausky (Abscissa) via Digitalmars-d wrote: > On 09/25/2018 09:14 AM, Jonathan M Davis wrote: > > On Tuesday, September 25, 2018 7:03:30 AM MDT FeepingCreature via > > > > Digitalmars-d wrote: > >> I'm playing with a branch of DMD that would wa

Re: Warn on unused imports?

2018-09-25 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, September 25, 2018 7:03:30 AM MDT FeepingCreature via Digitalmars-d wrote: > I'm playing with a branch of DMD that would warn on unused > imports: > > https://github.com/FeepingCreature/dmd/tree/feature/Issue-3507-warn-on-unu > sed-imports > > Two problems have arisen. > > First: > > i

Re: How to correctly deal with dmd.conf with multiple dmd installations - [ref osx, brew, digger]

2018-09-25 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, September 25, 2018 4:34:17 AM MDT aliak via Digitalmars-d wrote: > Alo, > > I'm wondering what’s the deal with dmd.conf and what’s the > correct way to handle it with dmd installations. > > Scenario: `brew install dmd` puts dmd in `/usr/local/bin/dmd` > (symlink) and sets the `SYSCONFDI

Re: Updating D beyond Unicode 2.0

2018-09-24 Thread Jonathan M Davis via Digitalmars-d
On Monday, September 24, 2018 4:19:31 AM MDT Dennis via Digitalmars-d wrote: > On Monday, 24 September 2018 at 01:32:38 UTC, Walter Bright wrote: > > D the language is well suited to the development of Unicode > > apps. D source code is another matter. > > But in the article you specifically talk a

Re: Rather D1 then D2

2018-09-22 Thread Jonathan M Davis via Digitalmars-d
On Saturday, September 22, 2018 7:34:55 PM MDT rikki cattermole via Digitalmars-d wrote: > On 23/09/2018 2:31 AM, Jonathan Marler wrote: > > On Saturday, 22 September 2018 at 13:25:27 UTC, rikki cattermole wrote: > >> Then D isn't the right choice for you. > > > > I think it makes for a better com

Re: Updating D beyond Unicode 2.0

2018-09-22 Thread Jonathan M Davis via Digitalmars-d
On Saturday, September 22, 2018 10:07:38 AM MDT Neia Neutuladh via Digitalmars-d wrote: > On Saturday, 22 September 2018 at 08:52:32 UTC, Jonathan M Davis > > wrote: > > Unicode identifiers may make sense in a code base that is going > > to be used solely by a group of developers who speak a > > p

Re: Updating D beyond Unicode 2.0

2018-09-22 Thread Jonathan M Davis via Digitalmars-d
On Saturday, September 22, 2018 6:37:09 AM MDT Steven Schveighoffer via Digitalmars-d wrote: > On 9/22/18 4:52 AM, Jonathan M Davis wrote: > >> I was laughing out loud when reading about composing "family" > >> emojis with zero-width joiners. If you told me that was a tech > >> parody, I'd have be

Re: Updating D beyond Unicode 2.0

2018-09-22 Thread Jonathan M Davis via Digitalmars-d
On Saturday, September 22, 2018 4:51:47 AM MDT Thomas Mader via Digitalmars- d wrote: > On Saturday, 22 September 2018 at 10:24:48 UTC, Shachar Shemesh > > wrote: > > Thank Allah that someone said it before I had to. I could not > > agree more. Encoding whole words as single Unicode code points > >

Re: Updating D beyond Unicode 2.0

2018-09-22 Thread Jonathan M Davis via Digitalmars-d
On Friday, September 21, 2018 10:54:59 PM MDT Joakim via Digitalmars-d wrote: > I'm torn. I completely agree with Adam and others that people > should be able to use any language they want. But the Unicode > spec is such a tire fire that I'm leery of extending support for > it. Unicode identifier

Re: Rather D1 then D2

2018-09-21 Thread Jonathan M Davis via Digitalmars-d
On Friday, September 21, 2018 2:33:01 PM MDT new via Digitalmars-d wrote: > hi, > is it possible to get a bug fixed x64 compiling D1? > I don't want to start some rant, but i don't like D2. D1 is > compact and not so overloaded with funny attributes. Official support of D1 was dropped nearly 6 yea

Re: Truly @nogc Exceptions?

2018-09-21 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, September 19, 2018 3:16:00 PM MDT Steven Schveighoffer via Digitalmars-d wrote: > Given dip1008, we now can throw exceptions inside @nogc code! This is > really cool, and helps make code that uses exceptions or errors @nogc. > Except... I pointed out this problem when the DIP was or

Re: extern(C++, ns) is wrong

2018-09-19 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, September 19, 2018 7:26:07 AM MDT Steven Schveighoffer via Digitalmars-d wrote: > On 9/18/18 9:49 PM, Jonathan M Davis wrote: > > On Tuesday, September 18, 2018 6:22:55 PM MDT Manu via Digitalmars-d wrote: > >> https://github.com/dlang/dmd/pull/8667 > >> > >> O_O > >> > >> Thank you

Re: extern(C++, ns) is wrong

2018-09-18 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, September 18, 2018 6:22:55 PM MDT Manu via Digitalmars-d wrote: > On Mon, 17 Sep 2018 at 06:00, Atila Neves via Digitalmars-d > > wrote: > > On Sunday, 16 September 2018 at 17:46:26 UTC, Steven > > > > Schveighoffer wrote: > > > On 9/14/18 6:41 PM, Neia Neutuladh wrote: > > >> Specific

Re: phobo's std.file is completely broke!

2018-09-18 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, September 18, 2018 7:28:43 PM MDT Nick Sabalausky (Abscissa) via Digitalmars-d wrote: > On 09/15/2018 08:14 PM, Jonathan M Davis wrote: > > The issue was reported in bugzilla quite some time ago. > > > > https://issues.dlang.org/show_bug.cgi?id=8967 > > > > However, while Walter's resp

Re: phobo's std.file is completely broke!

2018-09-15 Thread Jonathan M Davis via Digitalmars-d
On Saturday, September 15, 2018 7:19:46 PM MDT tide via Digitalmars-d wrote: > On Sunday, 16 September 2018 at 00:53:45 UTC, Jonathan M Davis > > wrote: > > On Saturday, September 15, 2018 6:28:20 PM MDT Vladimir > > > > Panteleev via Digitalmars-d wrote: > >> On Sunday, 16 September 2018 at 00:14:

Re: DIP 1015--removal of integer & character literal conversion to bool--Final Review

2018-09-15 Thread Jonathan M Davis via Digitalmars-d
On Saturday, September 15, 2018 2:07:06 PM MDT Steven Schveighoffer via Digitalmars-d wrote: > On 9/14/18 6:41 AM, Mike Parker wrote: > > DIP 1015, "Deprecation and removal of implicit conversion from integer > > and character literals to bool", is now ready for Final Review. This is > > a last ch

Re: phobo's std.file is completely broke!

2018-09-15 Thread Jonathan M Davis via Digitalmars-d
On Saturday, September 15, 2018 6:28:20 PM MDT Vladimir Panteleev via Digitalmars-d wrote: > On Sunday, 16 September 2018 at 00:14:12 UTC, Jonathan M Davis > > wrote: > > As for figuring out who is "officially" part of the dlang org > > (or at least has the rights to merge PRs from at least one >

Re: phobo's std.file is completely broke!

2018-09-15 Thread Jonathan M Davis via Digitalmars-d
On Saturday, September 15, 2018 5:47:08 PM MDT tide via Digitalmars-d wrote: > On Saturday, 15 September 2018 at 18:33:52 UTC, bachmeier wrote: > > On Saturday, 15 September 2018 at 13:54:45 UTC, tide wrote: > >> On Friday, 14 September 2018 at 19:17:58 UTC, bachmeier wrote: > >>> On Friday, 14 Sep

Re: phobo's std.file is completely broke!

2018-09-15 Thread Jonathan M Davis via Digitalmars-d
On Saturday, September 15, 2018 6:54:50 AM MDT Josphe Brigmo via Digitalmars-d wrote: > On Saturday, 15 September 2018 at 12:38:41 UTC, Adam D. Ruppe > > wrote: > > On Saturday, 15 September 2018 at 10:57:56 UTC, Josphe Brigmo > > > > wrote: > >> Phobos *NEEDS* to be modified to work with these ne

Re: More fun with autodecoding

2018-09-15 Thread Jonathan M Davis via Digitalmars-d
On Saturday, September 15, 2018 9:31:00 AM MDT Steven Schveighoffer via Digitalmars-d wrote: > On 9/13/18 3:53 PM, H. S. Teoh wrote: > > On Thu, Sep 13, 2018 at 06:32:54PM -0400, Nick Sabalausky (Abscissa) via Digitalmars-d wrote: > >> On 09/11/2018 09:06 AM, Steven Schveighoffer wrote: > >>> The

Re: extern(C++, ns) is wrong

2018-09-14 Thread Jonathan M Davis via Digitalmars-d
On Friday, September 14, 2018 10:56:45 AM MDT Manu via Digitalmars-d wrote: > On Fri, 14 Sep 2018 at 07:55, 12345swordy via Digitalmars-d > > wrote: > > On Friday, 14 September 2018 at 13:10:07 UTC, Atila Neves wrote: > > > On Friday, 14 September 2018 at 09:56:52 UTC, Zot wrote: > > >> [...] > >

Re: Proposal: __not(keyword)

2018-09-14 Thread Jonathan M Davis via Digitalmars-d
On Friday, September 14, 2018 12:44:11 PM MDT Neia Neutuladh via Digitalmars-d wrote: > On Friday, 14 September 2018 at 18:13:49 UTC, Eugene Wissner > > wrote: > > Makes the code unreadable. You have to count all attributes in > > the file, then negate them. Nobody should write like this and > > t

Re: extern(C++, ns) is wrong

2018-09-13 Thread Jonathan M Davis via Digitalmars-d
On Thursday, September 13, 2018 4:43:47 PM MDT Manu via Digitalmars-d wrote: > On Thu, 13 Sep 2018 at 13:01, Jonathan M Davis via Digitalmars-d > > wrote: > > Walter's concerns seem to center around the idea that we somehow need to > > model C++ namespaces in D, so that

Re: extern(C++, ns) is wrong

2018-09-13 Thread Jonathan M Davis via Digitalmars-d
On Thursday, September 13, 2018 5:45:56 AM MDT Danni Coy via Digitalmars-d wrote: > On Thu, Sep 13, 2018 at 5:14 PM Jonathan M Davis via Digitalmars-d < > > digitalmars-d@puremagic.com> wrote: > > The entire point of having extern(C++, "NS") would be to make it s

Re: Proposal to make "shared" (more) useful

2018-09-13 Thread Jonathan M Davis via Digitalmars-d
On Thursday, September 13, 2018 7:53:49 AM MDT Arafel via Digitalmars-d wrote: > Hi all, > > I know that many (most?) D users don't like using classes or old, > manually controlled, concurrency using "shared" & co., but still, since > they *are* in the language, I think they should at least be usa

Re: extern(C++, ns) is wrong

2018-09-13 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, September 12, 2018 11:29:42 PM MDT Danni Coy via Digitalmars-d wrote: > On Thu, Sep 13, 2018, 07:06 Manu via Digitalmars-d < > > digitalmars-d@puremagic.com> wrote: > > On Tue, 11 Sep 2018 at 20:59, Danni Coy via Digitalmars-d > > > > wrote: > > > So my understanding is that the mai

Re: extern(C++, ns) is wrong

2018-09-12 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, September 12, 2018 3:06:23 PM MDT Manu via Digitalmars-d wrote: > On Tue, 11 Sep 2018 at 20:59, Danni Coy via Digitalmars-d > > wrote: > > So my understanding is that the main issue with extern(C++,"ns") is > > functions that have different C++ name-spaces overriding each other in >

Re: extern(C++, ns) is wrong

2018-09-11 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, September 11, 2018 9:59:30 PM MDT Danni Coy via Digitalmars-d wrote: > So my understanding is that the main issue with extern(C++,"ns") is > functions that have different C++ name-spaces overriding each other in > unexpected ways. > How feasible is to simply disallow functions/variable

Re: @safe pointer value modification

2018-09-11 Thread Jonathan M Davis via Digitalmars-d
On Saturday, September 8, 2018 11:06:20 AM MDT Neia Neutuladh via Digitalmars-d wrote: > On Saturday, 8 September 2018 at 17:01:33 UTC, Jacob Shtokolov > > wrote: > > So, modification of pointer values is prohibited (if I > > understand this sentence correctly). > > @safe code can't manipulate the

Re: John Regehr on "Use of Assertions"

2018-09-10 Thread Jonathan M Davis via Digitalmars-d
On Monday, September 10, 2018 1:44:22 PM MDT H. S. Teoh via Digitalmars-d wrote: > On Sun, Sep 09, 2018 at 12:27:52AM -0600, Jonathan M Davis via > Digitalmars-d wrote: [...] > > > IIRC, Weka has different types of assertions to differentiate between > > these two approache

Re: More fun with autodecoding

2018-09-10 Thread Jonathan M Davis via Digitalmars-d
On Monday, September 10, 2018 2:45:27 AM MDT Chris via Digitalmars-d wrote: > After a while your code will be cluttered with absurd stuff like > this. `.byCodeUnit`, `.byGrapheme`, `.array` etc. Due to my > experience with `splitter` et. al. I tried to create my own > parser to have better control

Re: More fun with autodecoding

2018-09-10 Thread Jonathan M Davis via Digitalmars-d
On Saturday, September 8, 2018 9:36:25 AM MDT Steven Schveighoffer via Digitalmars-d wrote: > On 8/9/18 2:44 AM, Walter Bright wrote: > > On 8/8/2018 2:01 PM, Steven Schveighoffer wrote: > >> Here's where I'm struggling -- because a string provides indexing, > >> slicing, length, etc. but Phobos i

Re: Will the core.stdc module be updated for newer versions of C?

2018-09-10 Thread Jonathan M Davis via Digitalmars-d
On Sunday, September 9, 2018 11:37:54 AM MDT Laurent Tréguier via Digitalmars-d wrote: > On Saturday, 8 September 2018 at 01:12:30 UTC, solidstate1991 > > wrote: > > While for the most part it still works very well, however when > > porting Mago I found a few functions that are not present in > >

Re: Will the core.stdc module be updated for newer versions of C?

2018-09-10 Thread Jonathan M Davis via Digitalmars-d
On Friday, September 7, 2018 7:12:30 PM MDT solidstate1991 via Digitalmars-d wrote: > While for the most part it still works very well, however when > porting Mago I found a few functions that are not present in C99 > (most notably wcsncpy_s). > > While I can write my own functions to do the same

Re: code.dlang.org package list

2018-09-08 Thread Jonathan M Davis via Digitalmars-d
On Saturday, September 8, 2018 8:36:26 PM MDT void via Digitalmars-d wrote: > On Sunday, 9 September 2018 at 01:30:14 UTC, Neia Neutuladh wrote: > > On Sunday, 9 September 2018 at 00:20:04 UTC, void wrote: > >> How do I get a list of all packages (Github URL) available at > >> code.dlang.org? > >>

Re: John Regehr on "Use of Assertions"

2018-09-08 Thread Jonathan M Davis via Digitalmars-d
On Saturday, September 8, 2018 5:31:43 PM MDT Nick Sabalausky (Abscissa) via Digitalmars-d wrote: > On 09/05/2018 03:35 PM, Meta wrote: > > I think the only sane way to use asserts as an > > optimization guide is when the program will abort if the condition does > > not hold. That, to me, makes pe

Re: Dicebot on leaving D: It is anarchy driven development in all its glory.

2018-09-08 Thread Jonathan M Davis via Digitalmars-d
On Saturday, September 8, 2018 8:05:04 AM MDT Laeeth Isharc via Digitalmars- d wrote: > On Thursday, 6 September 2018 at 20:15:22 UTC, Jonathan M Davis > > wrote: > > On Thursday, September 6, 2018 1:04:45 PM MDT aliak via > > > > Digitalmars-d wrote: > >> D makes the code-point case default and he

Re: Dicebot on leaving D: It is anarchy driven development in all its glory.

2018-09-08 Thread Jonathan M Davis via Digitalmars-d
On Thursday, September 6, 2018 3:15:59 PM MDT aliak via Digitalmars-d wrote: > On Thursday, 6 September 2018 at 20:15:22 UTC, Jonathan M Davis > > wrote: > > On Thursday, September 6, 2018 1:04:45 PM MDT aliak via > > > > Digitalmars-d wrote: > >> D makes the code-point case default and hence that

Re: Source changes should include date of change

2018-09-08 Thread Jonathan M Davis via Digitalmars-d
On Saturday, September 8, 2018 6:35:32 AM MDT tide via Digitalmars-d wrote: > Dates won't help, if you have a comment with a date that states > everything under it was modified at that date. What happens when > there's a split of 3-4 lines between modifications? Just how many > of these comments ar

Re: This is why I don't use D.

2018-09-08 Thread Jonathan M Davis via Digitalmars-d
On Saturday, September 8, 2018 7:28:53 AM MDT Nicholas Wilson via Digitalmars-d wrote: > On Thursday, 6 September 2018 at 16:50:32 UTC, H. S. Teoh wrote: > > Again, this strongly suggests the idea I've mentioned a few > > times now: *all* packages on code.dlang.org needs to be run > > through a CI

Re: This is why I don't use D.

2018-09-08 Thread Jonathan M Davis via Digitalmars-d
On Saturday, September 8, 2018 7:44:09 AM MDT Nicholas Wilson via Digitalmars-d wrote: > On Friday, 7 September 2018 at 19:15:21 UTC, Jonathan M Davis > > wrote: > > Honestly, I wouldn't rely on anything beyond dub build working > > in a consistent manner across projects. As far as I can tell, > >

Re: This is why I don't use D.

2018-09-07 Thread Jonathan M Davis via Digitalmars-d
On Friday, September 7, 2018 10:35:29 AM MDT H. S. Teoh via Digitalmars-d wrote: > On Fri, Sep 07, 2018 at 09:24:13AM -0600, Jonathan M Davis via > Digitalmars-d wrote: [...] > > What's somewhat more of an open question is how new compiler releases > > should be handled. As

Re: This is why I don't use D.

2018-09-07 Thread Jonathan M Davis via Digitalmars-d
On Friday, September 7, 2018 8:36:11 AM MDT 0xEAB via Digitalmars-d wrote: > On Thursday, 6 September 2018 at 20:08:08 UTC, Jonathan M Davis > > wrote: > > On Thursday, September 6, 2018 12:35:06 PM MDT Joakim via > > > > Digitalmars-d wrote: > >> Ah, but would you actually pay for such a service t

Re: Messing with betterC and string type.

2018-09-07 Thread Jonathan M Davis via Digitalmars-d
On Thursday, September 6, 2018 11:09:34 AM MDT SrMordred via Digitalmars-d wrote: > > void foo(string s) {} > > > > foo("this"); > > > > won't compile, since it won't make a String out of that > > immutable(char)[] literal without an explicit initialization of > > some sort. > > //cannot pass argu

Re: Dicebot on leaving D: It is anarchy driven development in all its glory.

2018-09-06 Thread Jonathan M Davis via Digitalmars-d
On Thursday, September 6, 2018 1:04:45 PM MDT aliak via Digitalmars-d wrote: > D makes the code-point case default and hence that becomes the > simplest to use. But unfortunately, the only thing I can think of > that requires code point representations is when dealing > specifically with unicode al

Re: This is why I don't use D.

2018-09-06 Thread Jonathan M Davis via Digitalmars-d
On Thursday, September 6, 2018 12:35:06 PM MDT Joakim via Digitalmars-d wrote: > Ah, but would you actually pay for such a service to be set up? > > https://forum.dlang.org/thread/acxedxzzesxkyomrs...@forum.dlang.org > > It's all well and good to hope for such services, but they're > unlikely to h

Re: Dicebot on leaving D: It is anarchy driven development in all its glory.

2018-09-06 Thread Jonathan M Davis via Digitalmars-d
On Thursday, September 6, 2018 10:44:11 AM MDT H. S. Teoh via Digitalmars-d wrote: > On Thu, Sep 06, 2018 at 02:42:58PM +, Dukc via Digitalmars-d wrote: > > On Thursday, 6 September 2018 at 14:17:28 UTC, aliak wrote: > > > // D > > > auto a = "á"; > > > auto b = "á"; > > > auto c = "\u200B";

Re: Static foreach bug?

2018-09-06 Thread Jonathan M Davis via Digitalmars-d
On Thursday, September 6, 2018 3:11:14 AM MDT Dechcaudron via Digitalmars-d wrote: > On Wednesday, 5 September 2018 at 11:39:31 UTC, Jonathan M Davis > > wrote: > > Conceptually, what Timon is talking about doing here is to add > > an attribute to symbols declared within a static foreach where > >

Re: Random thought: Alternative stuct

2018-09-05 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, September 5, 2018 1:34:40 PM MDT 12345swordy via Digitalmars-d wrote: > On Tuesday, 4 September 2018 at 04:03:19 UTC, Mike Franklin wrote: > > In my opinion, we shouldn't add a third option. Rather, we > > should deprecate classes, and make and expand the capabilities > > of structs

Re: Random thought: Alternative stuct

2018-09-05 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, September 5, 2018 1:49:31 PM MDT H. S. Teoh via Digitalmars-d wrote: > On Wed, Sep 05, 2018 at 07:21:51PM +, kinke via Digitalmars-d wrote: > > On Tuesday, 4 September 2018 at 04:03:19 UTC, Mike Franklin wrote: > [...] > > > > Rather, we should deprecate classes, and make and exp

Re: andrei - better breakdown of statistics for downloads by region, OS, kind of site (academic/large corporate/large financial/etc)

2018-09-05 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, September 5, 2018 4:30:15 AM MDT rikki cattermole via Digitalmars-d wrote: > On 05/09/2018 10:19 PM, Jonathan M Davis wrote: > > On Wednesday, September 5, 2018 1:44:33 AM MDT Suliman via Digitalmars-d > > > > wrote: > >> On Tuesday, 8 May 2018 at 07:54:15 UTC, Suliman wrote: > >>> S

Re: This is why I don't use D.

2018-09-05 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, September 5, 2018 9:28:38 AM MDT H. S. Teoh via Digitalmars-d wrote: > On Wed, Sep 05, 2018 at 09:18:24AM -0600, Jonathan M Davis via > Digitalmars-d wrote: [...] > > > 3rd party libraries are usually the real problem if there is one. They > > need to be maintai

Re: This is why I don't use D.

2018-09-05 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, September 5, 2018 9:05:29 AM MDT SashaGreat via Digitalmars-d wrote: > On Wednesday, 5 September 2018 at 14:45:25 UTC, Jonathan M Davis > > wrote: > > On Wednesday, September 5, 2018 8:18:03 AM MDT SashaGreat via > > Digitalmars-d wrote: > > ... > > Thanks for replying and I think I'

Re: This is why I don't use D.

2018-09-05 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, September 5, 2018 8:18:03 AM MDT SashaGreat via Digitalmars-d wrote: > On Wednesday, 5 September 2018 at 13:27:48 UTC, Steven > > Schveighoffer wrote: > > 3ddemo has one commit. In February 2016. I think it would be an > > amazing feat indeed if a project with one version builds for

Re: extern(C++, ns) is wrong

2018-09-05 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, September 5, 2018 7:03:26 AM MDT Nicholas Wilson via Digitalmars-d wrote: > This is a prime example of an industry blocker if ever there was. > Yes there has been a lot of talking past each other, but surely > you understand _what_ Manu is wanting even if you seem to think > that yo

Re: D IDE

2018-09-05 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, September 5, 2018 6:35:59 AM MDT ShadoLight via Digitalmars-d wrote: > On Tuesday, 4 September 2018 at 22:38:08 UTC, Nick Sabalausky > > (Abscissa) wrote: > > On 09/04/2018 04:00 PM, Jonathan M Davis wrote: > >> On Tuesday, September 4, 2018 5:56:54 AM MDT ShadoLight via > >> Digital

Re: Static foreach bug?

2018-09-05 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, September 5, 2018 5:19:04 AM MDT Dechcaudron via Digitalmars-d wrote: > On Wednesday, 5 September 2018 at 10:45:20 UTC, Jonathan M Davis > > wrote: > > Too many people already think that the point of static is to > > just make something be done at compile time (which is actually > >

Re: Static foreach bug?

2018-09-05 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, September 5, 2018 4:29:32 AM MDT Dechcaudron via Digitalmars-d wrote: > On Tuesday, 4 September 2018 at 19:50:27 UTC, Timon Gehr wrote: > > The only blocker is finding a good syntax. > > How does "static enum" sound? Like it would be really, really confusing. Too many people already

Re: andrei - better breakdown of statistics for downloads by region, OS, kind of site (academic/large corporate/large financial/etc)

2018-09-05 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, September 5, 2018 1:44:33 AM MDT Suliman via Digitalmars-d wrote: > On Tuesday, 8 May 2018 at 07:54:15 UTC, Suliman wrote: > > Stat out of date... Plz update it. > > And once again plz Just FYI, responding to a thread that's several months old is a good way for a lot of folks to not

Re: This is why I don't use D.

2018-09-05 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, September 5, 2018 3:54:17 AM MDT Everlast via Digitalmars-d wrote: > On Wednesday, 5 September 2018 at 08:21:48 UTC, Kagamin wrote: > > On Wednesday, 5 September 2018 at 00:49:36 UTC, Everlast wrote: > >> This attitude of "It's your problem" is going to kill D. > > > > Well, if you h

Re: extern(C++, ns) is wrong

2018-09-05 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, September 5, 2018 2:30:25 AM MDT Walter Bright via Digitalmars-d wrote: > On 9/4/2018 10:16 PM, Manu wrote: > > I'm serious, you can have your cake, and potentially, I could have my > > cake too, and everybody would be happy... nobody would be sad. > > If it is the same, I provided s

Re: This is why I don't use D.

2018-09-04 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, September 4, 2018 8:37:16 PM MDT Dylan Graham via Digitalmars-d wrote: > On Wednesday, 5 September 2018 at 02:10:27 UTC, Jonathan M Davis > > wrote: > > [...] > > Sure, yeah, but if you're using a package that hasn't been > maintained in 2-3 years you need to take whether it will work

Re: Engine of forum

2018-09-04 Thread Jonathan M Davis via Digitalmars-d
On Saturday, September 1, 2018 5:46:55 PM MDT Walter Bright via Digitalmars- d wrote: > On 9/1/2018 3:58 PM, Adam D. Ruppe wrote: > > On Saturday, 1 September 2018 at 22:10:27 UTC, Nick Sabalausky wrote: > >> I've used StackOverflow. It's NOT a place for asking and answering > >> questions.> > > I

Re: Engine of forum

2018-09-04 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, August 21, 2018 1:25:14 PM MDT Walter Bright via Digitalmars-d wrote: > On 8/21/2018 7:18 AM, Seb wrote: > >> some rely on stackoverflow, some have an active wiki > > > > There are a few good points to move D.learn to Stack Overflow and that's > > actually one thing that we have talked

Re: Engine of forum

2018-09-04 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, August 21, 2018 8:40:32 AM MDT Steven Schveighoffer via Digitalmars-d wrote: > On the contrary, many of the regular contributors here, don't give a > lick about the forum software, as long as it's primarily backed by the > newsgroup server. Many, including myself use the NG server, man

Re: This is why I don't use D.

2018-09-04 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, September 4, 2018 7:54:49 PM MDT Dylan Graham via Digitalmars-d wrote: > On Wednesday, 5 September 2018 at 00:49:36 UTC, Everlast wrote: > > I downloaded 3ddemo, extracted, built and I get these errors: > > > > logger 2.66.0: building configuration "library"... > > \dub\packages\logger

Re: This is why I don't use D.

2018-09-04 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, September 4, 2018 7:18:17 PM MDT James Blachly via Digitalmars-d wrote: > On Wednesday, 5 September 2018 at 00:49:36 UTC, Everlast wrote: > > I downloaded 3ddemo, extracted, built and I get these errors: > ... > > > This is typical with most of my trials with D... something is > > alwa

Re: D IDE

2018-09-04 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, September 4, 2018 2:45:53 PM MDT H. S. Teoh via Digitalmars-d wrote: > Those who've learned LaTeX swear by it. Those who are learning LaTeX swear > at it. -- Pete Bleackley Well, that's a weirdly appropriate quote. The primary reason that I've done as much with latex as I have is so t

Re: D IDE

2018-09-04 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, September 4, 2018 5:56:54 AM MDT ShadoLight via Digitalmars-d wrote: > We work full-time for employers which, in my case, employs > thousands of engineers - and as a result engineering principles > are applied to everything - including tools. So all SW dev teams > here use standardized

Re: D is dead (was: Dicebot on leaving D: It is anarchy driven development in all its glory.)

2018-09-03 Thread Jonathan M Davis via Digitalmars-d
On Monday, September 3, 2018 12:26:57 PM MDT Chris via Digitalmars-d wrote: > There is no real plan and > only problems that someone deems interesting or challenging at a > given moment are tackled. If they solve a problem for a lot of > users, it's only a side effect. The advent of a D Foundation

Re: D IDE

2018-09-03 Thread Jonathan M Davis via Digitalmars-d
On Monday, September 3, 2018 12:55:01 PM MDT Joakim via Digitalmars-d wrote: > On Monday, 3 September 2018 at 16:55:10 UTC, Jonathan M Davis > > wrote: > > But if you're ever expecting IDE support to be a top priority > > of many of the contributors, then you're going to be sorely > > disappointed.

Re: D is dead (was: Dicebot on leaving D: It is anarchy driven development in all its glory.)

2018-09-03 Thread Jonathan M Davis via Digitalmars-d
On Monday, September 3, 2018 11:15:03 AM MDT Laurent Tréguier via Digitalmars-d wrote: > It just baffles me a bit to see the state of D in this > department, when languages like Go or Rust (hooray for yet > another comparison to Go and Rust) are a lot younger, but already > have what looks like ve

Re: D is dead (was: Dicebot on leaving D: It is anarchy driven development in all its glory.)

2018-09-03 Thread Jonathan M Davis via Digitalmars-d
On Monday, September 3, 2018 9:41:48 AM MDT Laurent Tréguier via Digitalmars-d wrote: > On Monday, 3 September 2018 at 15:23:12 UTC, Chris wrote: > > On Monday, 3 September 2018 at 14:26:46 UTC, Laeeth Isharc > > > > wrote: > >> On Monday, 3 September 2018 at 11:32:42 UTC, Chris wrote: > >>> [...]

Re: Static foreach bug?

2018-09-03 Thread Jonathan M Davis via Digitalmars-d
n Monday, September 3, 2018 12:39:17 AM MDT Neia Neutuladh via Digitalmars-d wrote: > On Monday, 3 September 2018 at 04:43:30 UTC, bauss wrote: > > On Sunday, 2 September 2018 at 20:01:08 UTC, Neia Neutuladh > > > > wrote: > >> On Sunday, 2 September 2018 at 19:42:20 UTC, bauss wrote: > >>> Woud b

Re: This thread on Hacker News terrifies me

2018-09-02 Thread Jonathan M Davis via Digitalmars-d
On Sunday, September 2, 2018 11:54:57 PM MDT Nick Sabalausky (Abscissa) via Digitalmars-d wrote: > On 09/03/2018 12:46 AM, H. S. Teoh wrote: > > Anything less is unsafe, because being > > in an invalid state means you cannot predict what the program will do > > when you try to recover it. Your st

Re: John Regehr on "Use of Assertions"

2018-09-02 Thread Jonathan M Davis via Digitalmars-d
On Sunday, September 2, 2018 1:52:34 PM MDT John Colvin via Digitalmars-d wrote: > > If the compiler can add @safe optimizations based on > > assertions, then that's fine with me (though I know that some > > others don't agree), but they have to be @safe even when the > > assertion would have fail

Re: Static foreach bug?

2018-09-02 Thread Jonathan M Davis via Digitalmars-d
On Sunday, September 2, 2018 7:21:05 AM MDT bauss via Digitalmars-d wrote: > Is there a reason why you cannot create a separate scope within a > static foreach? > > The below will not compile: > > ``` > enum a = ["a" : "a", "b" : "b", "c" : "c"]; > > static foreach (k,v; a) > { > { >

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Jonathan M Davis via Digitalmars-d
On Saturday, September 1, 2018 10:44:57 PM MDT Nick Sabalausky (Abscissa) via Digitalmars-d wrote: > On 09/01/2018 01:51 AM, rikki cattermole wrote: > > But in saying that, we had third year students starting out not > > understanding how cli arguments work so... > > How I wish that sort of thing

Re: This thread on Hacker News terrifies me

2018-09-01 Thread Jonathan M Davis via Digitalmars-d
On Saturday, September 1, 2018 9:18:17 PM MDT Nick Sabalausky (Abscissa) via Digitalmars-d wrote: > On 08/31/2018 03:50 PM, Walter Bright wrote: > [From your comment in that thread] > > > fill up your system disk to near capacity, then try to run various > > apps and system utilities. > > I've ha

Re: John Regehr on "Use of Assertions"

2018-09-01 Thread Jonathan M Davis via Digitalmars-d
On Saturday, September 1, 2018 2:15:15 PM MDT Walter Bright via Digitalmars- d wrote: > https://blog.regehr.org/archives/1091 > > As usual, John nails it in a particularly well-written essay. > > "ASSERT(expr) > Asserts that an expression is true. The expression may or may not be > evaluated. If th

Re: D is dead

2018-09-01 Thread Jonathan M Davis via Digitalmars-d
On Saturday, September 1, 2018 8:31:36 AM MDT H. S. Teoh via Digitalmars-d wrote: > This change may also address the current hackish implementation of > subclass contracts (which involves catching Errors, an arguably > dangerous thing to do), though I'm not 100% sure. AFAIK, there's absolutely no

  1   2   3   4   5   6   7   8   9   10   >