How an Engineering Company Chose to Migrate to D

2018-06-20 Thread Mike Parker via Digitalmars-d-announce
If you saw Bastiaan Veelo's DConf 2017 presentation, you'll know that his employer was evaluating D as a candidate for migrating their code base away from Extended Pascal. Recently, the decision was made and D was the coice. In this post, Bastiaan tells the story of how that came to be and how

DIP 1015--removal of implicit conversion from integer and character literals to bool--Community Review Round 1 Begins

2018-06-20 Thread Mike Parker via Digitalmars-d-announce
The first round of Community Review for DIP 1015, "Deprecation and removal of implicit conversion from integer and character literals to bool", has begun. To participate, please visit the review thread for the details: https://forum.dlang.org/post/xfhfmvyloruiikrej...@forum.dlang.org *Please

DIP 1015--removal of implicit conversion from integer and character literals to bool--Community Review Round 1

2018-06-20 Thread Mike Parker via Digitalmars-d
This is the feedback thread for the first round of Community Review for DIP 1015, "Deprecation and removal of implicit conversion from integer and character literals to bool": https://github.com/dlang/DIPs/blob/7c2c39243d0d747191f05fb08f87e1ebcb575d84/DIPs/DIP1015.md All review-related

Seoul D Meetup

2018-06-11 Thread Mike Parker via Digitalmars-d-announce
Woohoo! I'm extremely pleased to announce the first Seoul D Meetup! The three known D enthusiasts currently in Seoul (me, Mike Franklin, and Mathias Lang), and at least one potential enthusiast, are getting together at Charlie's (the hot dog shop my wife and I started a few years ago) to

Re: DasBetterC: Converting make.c to D

2018-06-11 Thread Mike Parker via Digitalmars-d-announce
On Monday, 11 June 2018 at 14:33:00 UTC, Andrea Fontana wrote: Link to "completed conversion" doesn't work. https://github.com/DigitalMars/Compiler/blob/master/dm/src/make/make.c Andrea Fixed. Thanks!

DasBetterC: Converting make.c to D

2018-06-11 Thread Mike Parker via Digitalmars-d-announce
Walter's latest post on -betterC is now on the blog. Here, he shows step-by-step an example of using -betterC to convert a real-world program, one small enough to describe in a blog post, from C to D. The blog: https://dlang.org/blog/2018/06/11/dasbetterc-converting-make-c-to-d/ Reddit:

Re: Passing C++ class to DLL for callbacks from D (Steam)

2018-06-07 Thread Mike Parker via Digitalmars-d-learn
On Friday, 8 June 2018 at 00:55:35 UTC, cc wrote: class CImpl : CCallbackBase { extern(C++) { If anyone has any insight to provide it would be greatly appreciated, thanks! I've not used any of the C++ interfacing features yet, but my understanding is the extern(C++) has to apply

Re: Using stdin/out in a windows application bugs only when compiled to 64bit.

2018-06-07 Thread Mike Parker via Digitalmars-d-learn
On Thursday, 7 June 2018 at 19:19:55 UTC, realhet wrote: Hi, The following narrow test program works fine when compiled with DMD to 32bit target: import std.stdio, core.sys.windows.windows, core.runtime; extern(Windows) int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR

DIP 1013--The Deprecation Process--Final Review Begins

2018-06-07 Thread Mike Parker via Digitalmars-d-announce
The last chance for community feedback on DIP 1013, "The Deprecation Process", is now underway. Please do not leave any feedback in this thread, but rather in the review thread in the General forum: https://forum.dlang.org/post/hwscnvmtrzfcfnppd...@forum.dlang.org Also, please be sure to

DIP 1013--The Deprecation Process--Final Review

2018-06-07 Thread Mike Parker via Digitalmars-d
DIP 1013, "The Deprecation Process", is now ready for final review. This is a last chance for community feedback before the DIP is handed off to Walter and Andrei for the Formal Assessment. Please read the procedures document for details on what is expected in this review stage:

Re: Configuring DerelictGL3

2018-06-06 Thread Mike Parker via Digitalmars-d-learn
On Thursday, 7 June 2018 at 02:47:12 UTC, Entity325 wrote: I added the line, "mixin glContext!(GLVersion.gl33);" after the import statement. I didn't do anything with the context because I assumed SDL2 handled that, and creating my own would likely break the code. You aren't mixing

Re: DIP Draft Review News

2018-06-04 Thread Mike Parker via Digitalmars-d-announce
On Monday, 4 June 2018 at 05:46:04 UTC, rikki cattermole wrote: On 04/06/2018 5:01 PM, Mike Parker wrote: Named arguments lite I'm concerned about this DIP (keep in mind I wrote a referenced WIP DIP). The place for this sort of feedback is in the PR comments, not here :-)

DIP Draft Review News

2018-06-03 Thread Mike Parker via Digitalmars-d-announce
In the near future, I'll be prepping Mike Franklin's DIP, "Deprecation and removal of implicit integer and character literal conversion to bool" for community review. We need some more eyes on it for Draft Review first. For those of you whore are interested:

Driving Continuous Improvement in D

2018-06-02 Thread Mike Parker via Digitalmars-d-announce
In this post for the D Blog, Jack Stouffer details how dscanner is used in the Phobos development process to help improve code quality and fight entropy. The blog: https://dlang.org/blog/2018/06/02/driving-continuous-improvement-in-d/ reddit:

Re: DConf 2018 Ex Post Facto

2018-05-31 Thread Mike Parker via Digitalmars-d-announce
On Thursday, 31 May 2018 at 17:29:08 UTC, Arredondo wrote: On Thursday, 31 May 2018 at 17:23:56 UTC, Arredondo wrote: Now Vang Le's picture is the one not showing :) Actually Vang Le's picture shows in Chrome but not in Firefox for me. Maybe it's because of the file extension: .jpg_large

Re: DConf 2018 Ex Post Facto

2018-05-31 Thread Mike Parker via Digitalmars-d-announce
On Thursday, 31 May 2018 at 16:32:06 UTC, Joakim wrote: On Thursday, 31 May 2018 at 15:49:47 UTC, Ali Çehreli wrote: Only the Vang's picture shows for me. All the others show the "no entry" icon with both Firefox and Chrome. Permissions issue? Yep, same here. Thanks, guys. Should work now.

DConf 2018 Ex Post Facto

2018-05-31 Thread Mike Parker via Digitalmars-d-announce
Since I returned home from my extended trip to Germany, it's been a slog trying to ramp back up into my usual routine. It was a week before I could find any words at all for a retrospective on the conference, and it very nearly took another week to get the post in readable form. I'm still not

Re: question about keeeping reference to toStringz()

2018-05-30 Thread Mike Parker via Digitalmars-d-learn
On Thursday, 31 May 2018 at 01:12:34 UTC, Dr.No wrote: is foo() is being called from a thread, how I am supposed to keep cstring "alive"? As Jonathan explained, you don't have to worry about it if foo() itself doesn't assign the pointer to anything internally. That will be the case for

Re: using wkhtmltopdf with D

2018-05-28 Thread Mike Parker via Digitalmars-d-learn
On Monday, 28 May 2018 at 21:05:00 UTC, Dr.No wrote: On Monday, 28 May 2018 at 02:10:48 UTC, sarn wrote: On Monday, 28 May 2018 at 01:28:10 UTC, Dr.No wrote: What's likely the reason of the crash? mismatch between D and C memory alignment? From an ABI point of view, the raw pointers won't

Re: On Forum Moderation

2018-05-26 Thread Mike Parker via Digitalmars-d
On Saturday, 26 May 2018 at 11:30:24 UTC, Tony wrote: On Saturday, 26 May 2018 at 11:12:29 UTC, Rubn wrote: What about self moderation? If I make an unprofessional comment and want to delete it? Will this be allowed now? I guess it's more of a feature request. The lack of an edit feature

Re: Draft for DIP concerning destroy is up.

2018-05-25 Thread Mike Parker via Digitalmars-d
On Saturday, 26 May 2018 at 01:20:44 UTC, Mike Parker wrote: ments. I'm going to close the PR for now and ask that all feedback either be here or in the forked repository. https://github.com/12345swordy/DIPs/blob/master/DIPs/DIP1xxx-attributefriendlydestroy.md

Re: Draft for DIP concerning destroy is up.

2018-05-25 Thread Mike Parker via Digitalmars-d
On Friday, 25 May 2018 at 20:08:23 UTC, 12345swordy wrote: https://github.com/dlang/DIPs/pull/120 Feedback would be very appreciated. From https://github.com/dlang/DIPs/blob/master/PROCEDURE.md#development-stage: "The DIP Repository is not the place for the initial development of a DIP.

Re: extend foreach to work on non-arrays

2018-05-24 Thread Mike Parker via Digitalmars-d
On Friday, 25 May 2018 at 03:24:32 UTC, IntegratedDimensions wrote: Show me where I asked you to do any work for me. You are an imbecile. Just trying to stir up trouble because you obviously don't know how to read. You didn't like my response and so you are being a dick... simple as that.

DIP Draft Reviews

2018-05-22 Thread Mike Parker via Digitalmars-d-announce
Manu's rvalue DIP has gotten quite a bit of feedback already, but I'll soon be prepping it for community review. If you'd like to get some comments in before we get there, now's the time to do so. https://github.com/dlang/DIPs/pull/111 Also, Walter has a draft DIP for adding a bottom type

Re: DConf 2018 Videos

2018-05-21 Thread Mike Parker via Digitalmars-d
On Monday, 21 May 2018 at 22:09:08 UTC, SrMordred wrote: There is some place where I can find this year conference videos with or without slides? Thanks! Day 1: https://www.youtube.com/watch?v=HvqsUO77FGI (the stream of the first three talks was lost, so it starts after lunch) Day 2:

Re: Complicated Types: Prefer “alias this” Over “alias” For Easier-To-Read Error Messages

2018-05-21 Thread Mike Parker via Digitalmars-d-announce
On Monday, 21 May 2018 at 20:22:05 UTC, Nick Sabalausky (Abscissa) wrote: On 05/21/2018 12:36 PM, Arredondo wrote: > One typo: > >> 1. Although the alias this means MyType... >> 2. Although the alias this means MyType... Sheesh. I stared at this for a bit, thinkking, "But that's the same

Complicated Types: Prefer “alias this” Over “alias” For Easier-To-Read Error Messages

2018-05-21 Thread Mike Parker via Digitalmars-d-announce
Nick Sabaluasky's first post to the D Blog is a tip on how to create an aliased type that keeps its name in error messages. The blog: https://dlang.org/blog/2018/05/21/complicated-types-prefer-alias-this-over-alias-for-easier-to-read-error-messages/ Reddit:

Re: Sealed classes - would you want them in D? (v2)

2018-05-18 Thread Mike Parker via Digitalmars-d
On Friday, 18 May 2018 at 12:42:05 UTC, KingJoffrey wrote: How hard is it to convince people, that being able to have the compiler detect semantic errors that break your defined interface is actually a good thing. I mean really. I've had this capability in major languages for decades. Let

Re: Sealed classes - would you want them in D? (v2)

2018-05-18 Thread Mike Parker via Digitalmars-d
On Friday, 18 May 2018 at 12:16:55 UTC, aliak wrote: You may not need a new word at all. You can also enhance private to take arguments. Package already does this. You can give private a symbol list that says which symbols this is private for. So: class A { private int x; private(A) int

DIP 1014: Hooking D's struct move semantics -- Community Review Round 1 Begins

2018-05-17 Thread Mike Parker via Digitalmars-d-announce
The first round of Community Review for DIP 1014, "Hooking D's struct move semantics", has begun. To participate, please visit the review thread for the details and leave all feedback there rather than here: https://forum.dlang.org/post/zfyfhqczkrfdpfkca...@forum.dlang.org

DIP 1014:Hooking D's struct move semantics--Community Review Round 1

2018-05-17 Thread Mike Parker via Digitalmars-d
This is the review thread for the first Community Review round for DIP 1014, "Hooking D's struct move semantics". All review-related feedback on and discussion of the DIP should occur in this thread. The review period will end at 11:59 PM ET on May 31, or when I make a post declaring it

Re: DIP 1014:Hooking D's struct move semantics--Community Review Round 1

2018-05-17 Thread Mike Parker via Digitalmars-d
On Thursday, 17 May 2018 at 08:12:50 UTC, Mike Parker wrote: This is the review thread for the first Community Review round for DIP 1014, "Hooking D's struct move semantics". And the link to the DIP: https://github.com/dlang/DIPs/blob/38cec74a7471735559e3b8a7553f55102d289d28/DIPs/DIP1014.md

Re: Sealed classes - would you want them in D?

2018-05-15 Thread Mike Parker via Digitalmars-d
On Tuesday, 15 May 2018 at 10:19:58 UTC, KingJoffrey wrote: Actually, I kinda get it for unit tests. Surely there's more?? I use it all the time. One way is to replace what would have been a "Manager" class in Java or elsewhere. module foo.window; class Window { private WindowHandle

Re: Sealed classes - would you want them in D?

2018-05-15 Thread Mike Parker via Digitalmars-d
(and don't tell me it does - cause the code below clearly demonstrates that it does not) === module test; void foo() { Person p = new Person("King Joffrey"); // this completely bypasses my interface // (i.e. the boundary that I set up between the class and the module)

Re: Sealed classes - would you want them in D?

2018-05-14 Thread Mike Parker via Digitalmars-d
On Tuesday, 15 May 2018 at 02:32:05 UTC, KingJoffrey wrote: - Object independence - Do not violate encapsulation - Respect the interface This is what I don't get from your position. What is encapsulation? Here's what Wikipedia says [1]: "Encapsulation is used to hide the values or state

Re: The #dbugfix Campaign Round 1 Report

2018-05-14 Thread Mike Parker via Digitalmars-d-announce
On Monday, 14 May 2018 at 17:22:11 UTC, 12345swordy wrote: Be sure to post it in r/programming This sort of community-centric post doesn't belong there. We have to be careful not to reinforce the perception that we're spamming the sub.

The #dbugfix Campaign Round 1 Report

2018-05-14 Thread Mike Parker via Digitalmars-d-announce
I planned an extended vacation with my wife around DConf this year and, despite my intentions before we left, fell quite far behind on my D duties. I'm in the process of getting caught up with everything, and that includes publishing the results of the first round of the #dbugfix campaign.

Re: Sealed classes - would you want them in D?

2018-05-12 Thread Mike Parker via Digitalmars-d
On Saturday, 12 May 2018 at 15:48:53 UTC, KingJoffrey wrote: Actually, that is not true. If it were true, then I could do: module test; void main() { i = 2; } // sorry, but i belongs to another unit of encapsulation void foo() { int i = 1; } D only breaks the

Re: Sealed classes - would you want them in D?

2018-05-11 Thread Mike Parker via Digitalmars-d
On Friday, 11 May 2018 at 19:45:10 UTC, rumbu wrote: The first example is unit testing. Having access to the private members of a class inside the same module is a mistake because it breaks the idea of encapsulation. Unit testing must be done exclusively on public members of a class. If you

Re: Sealed classes - would you want them in D?

2018-05-11 Thread Mike Parker via Digitalmars-d
On Friday, 11 May 2018 at 14:05:25 UTC, KingJoffrey wrote: private is not private at all in D, and because of this, classes are fundamentally broken in D (by design apparently). Now.. I really do have better ways to spend my time. I've made my point. Nobody who uses D seems to think in a

Re: Funding for code-d/serve-d

2018-05-11 Thread Mike Parker via Digitalmars-d-announce
On Sunday, 6 May 2018 at 16:31:02 UTC, Meta wrote: I'm a little unclear how OpenCollective works. Do you have to specifically donate to this goal, or does every donation made just go to that? Furthermore, I don't really want to create an OpenCollective account just to donate; I'd prefer to do

Re: Funding for code-d/serve-d

2018-05-05 Thread Mike Parker via Digitalmars-d-announce
On Saturday, 5 May 2018 at 23:29:52 UTC, Rubn wrote: Any roadmap for what improvements will be made? It seems like it might have been a better choice to support dcd/dscanner/dfix. Most of the functionality is provided by those utilities for pretty much every IDE toolset out there,

Funding for code-d/serve-d

2018-05-05 Thread Mike Parker via Digitalmars-d-announce
This morning at the Hackathon I announced that the D Foundation is raising money for code-d/serve-d, the plugin for Visual Studio Code and its companion Microsoft Language Server Protocol implementation for D. We've set up a goal of $3000 at our Open Collective page:

Re: Derelict on Ubuntu with CODE::BLOCKS

2018-05-03 Thread Mike Parker via Digitalmars-d-learn
On Thursday, 3 May 2018 at 18:36:04 UTC, RegeleIONESCU wrote: And here is the error I get when I execute dub run: christian@Christians:~/D_Projects$ dub run Performing "debug" build using /usr/bin/dmd for x86_64. derelict-util 2.0.6: target for configuration "library" is up to date.

Re: DConf 2018 Livestream

2018-05-03 Thread Mike Parker via Digitalmars-d-announce
On Thursday, 3 May 2018 at 07:14:51 UTC, Timoses wrote: Will the videos of the talks etc. be available online later? That's the plan. As Bastiaan Veelo wrote it appears that something went wrong with the youtube recordings. Hope this gets resolved and at least the upcoming talks, if not

Re: Derelict on Ubuntu with CODE::BLOCKS

2018-05-03 Thread Mike Parker via Digitalmars-d-learn
On Thursday, 3 May 2018 at 03:18:02 UTC, RegeleIONESCU wrote: The only problem I have with DUB is that all added dependencies are "old". For example added dependency "derelict-sdl2" is version="~>2.1.4" while on DUB site the last version is 3.1.0-alpha.3. I tried the --upgrade plus

DConf Twitter

2018-05-02 Thread Mike Parker via Digitalmars-d-announce
Unfortunately, we are unable at the moment to use the @dlangconf Twitter handle for DConf updates. So please watch the standard @D_Programming feed instead. Thanks!

DConf 2018 Livestream

2018-05-02 Thread Mike Parker via Digitalmars-d-announce
For those of you unable to join us in Munich, you can watch the fun online via the following link: https://www.youtube.com/user/hlmceventsgmbh If you have any questions for the speakers, we'll have someone monitoring the D IRC and Slack. I'll have more info on which Slack channel shortly.

Re: Follow @dlangconf and use #dconf on twitter

2018-05-02 Thread Mike Parker via Digitalmars-d-announce
On Wednesday, 2 May 2018 at 00:26:05 UTC, Juan wrote: On Tuesday, 1 May 2018 at 03:57:25 UTC, Walter Bright wrote: Unfortunately, some other conference is using #dconf2018, so don't use that. By the way, it will be live streamed? Yes, it will be. I'll post the link as soon as I know it.

Re: Program exited with code 1

2018-04-19 Thread Mike Parker via Digitalmars-d-learn
On Thursday, 19 April 2018 at 11:21:52 UTC, Andrey wrote: On Thursday, 19 April 2018 at 08:37:19 UTC, Andrey wrote: What will be a solution? It seems to me that I found a solution - just replace WinMain() with main(). That's fine when you want a console app, but it leaves you with a

DConf and DIPs

2018-04-16 Thread Mike Parker via Digitalmars-d-announce
With DConf for all of us and a short vacation for me just around the corner, I'm not going to be initiating any DIP reviews until mid-May. It's looking like the DIP, "Hooking D's struct move semantics" [1], will become DIP 1014 and I currently intend to launch the Community Review on May

Re: #dbugfix 18493

2018-04-16 Thread Mike Parker via Digitalmars-d
On Monday, 16 April 2018 at 13:40:55 UTC, jmh530 wrote: On Monday, 16 April 2018 at 13:01:44 UTC, Radu wrote: A blocker for more advanced 'betterC' usage. https://issues.dlang.org/show_bug.cgi?id=18493 Noted!

The 10k Twitter Target

2018-04-16 Thread Mike Parker via Digitalmars-d-announce
Lately, we've seen a steadily increasing trend of new followers on Twitter. We're closing in on the totally arbitrary yet emotionally significant number of 10,000. I was just thinking how cool it would be to hit that number before or during DConf. Now that my move is behind me and I'm

Communal Benevolence Required

2018-04-07 Thread Mike Parker via Digitalmars-d-announce
If you've been considering helping out the D Language Foundation with a donation, right now is a beneficial time to do it. With DConf just around the corner, every dime counts! Blog https://dlang.org/blog/2018/04/07/communal-benevolence-required/ Reddit

D Goes Business -- Usign D with SAP

2018-04-06 Thread Mike Parker via Digitalmars-d-announce
Kai Nacke has submitted another post to the D Blog. This one demonstrates how to get started with his D bindings to the SAP NetWeaver Remote Function Call SDK. The blog: https://dlang.org/blog/2018/04/06/d-goes-business/ Reddit:

DIP 1009 (Add Expression-Based Contract Syntax) Accepted

2018-04-06 Thread Mike Parker via Digitalmars-d-announce
Congratulations to Zach Tollen and everyone who worked on DIP 1009. It took a painful amount of time to get it through the process, but it had finally come out of the other side with an approval. The proposal itself was approved early on, but it needed quite a bit of revision to get to an

DIP 1013: The Deprecation Process -- Community Review Round 1

2018-04-02 Thread Mike Parker via Digitalmars-d
DIP 1013 is titled "The Deprecation Process". https://github.com/dlang/DIPs/blob/d8f6bfa1810c9774bd7d3b3dc6a7a6776ed5e17e/DIPs/DIP1013.md All review-related feedback on and discussion of the DIP should occur in this thread. The review period will end at 11:59 PM ET on April 26 (3:59 AM GMT),

DIP 1013: The Deprecation Process -- Community Review Round 1 Begins

2018-04-02 Thread Mike Parker via Digitalmars-d-announce
The first round of Community Review for DIP 1013, "The Deprecation Process", has begun. See the following thread in the General Forum for details: https://forum.dlang.org/post/rxlbdijkbhanwvbks...@forum.dlang.org

Re: DIP Draft Review: ref const(T) should receive r-values

2018-04-01 Thread Mike Parker via Digitalmars-d-announce
On Monday, 2 April 2018 at 05:09:29 UTC, Mike Parker wrote: On Monday, 2 April 2018 at 05:06:21 UTC, Mike Parker wrote: Please keep feedback on the DIP in the PR thread. Thanks in advance to all who participate. https://github.com/dlang/DIPs/pull/109 Sorry everyone. Got my links mixed up.

Re: DIP Draft Review: Hooking D's struct move semantics

2018-04-01 Thread Mike Parker via Digitalmars-d-announce
On Monday, 2 April 2018 at 05:07:25 UTC, Mike Parker wrote: On Monday, 2 April 2018 at 04:34:03 UTC, Mike Parker wrote: Please keep feedback on the DIP in the PR thread. Thanks in advance to all who participate. https://github.com/dlang/DIPs/pull/111 Sorry everyone. Got my links mixed

DIP Draft Review: ref const(T) should receive r-values

2018-04-01 Thread Mike Parker via Digitalmars-d-announce
This DIP is a candidate to become DIP 1014. There's already been some discussion about this in the forums and some feedback on the PR, but more Draft Review feedback is needed. The intent of the Draft Review is primarily to find obvious flaws with the DIP, e.g. structural faults, uncovered

DIP Draft Review: Hooking D's struct move semantics

2018-04-01 Thread Mike Parker via Digitalmars-d-announce
This DIP is a candidate to become DIP 1014. There has been light feedback already, but there's room for more. Everyone is invited to participate. The intent of the Draft Review is primarily to find obvious flaws with DIP, e.g. structural faults, uncovered bases, lack of clarity, etc.. At

Re: std.variant Is Everything Cool About D

2018-03-29 Thread Mike Parker via Digitalmars-d-announce
On Friday, 30 March 2018 at 02:46:13 UTC, jmh530 wrote: On Friday, 30 March 2018 at 00:37:27 UTC, Meta wrote: Unfortunately, this turned out to be the worst possible day for me to try to actively monitor the thread and respond to questions. I'm surprised that people latched onto my little

Re: How would you create this construct?

2018-03-29 Thread Mike Parker via Digitalmars-d-learn
On Friday, 30 March 2018 at 02:30:01 UTC, Chris Katko wrote: What I'm trying to do is through this experimental API, is both eliminate the user needing to call a clean-up function explicitly, and, make the "right way" to use the API basically... the only way... to use it. The way I have

std.variant Is Everything Cool About D

2018-03-29 Thread Mike Parker via Digitalmars-d-announce
Jared Hanson (a.k.a Meta and MetaLang around these parts) was inspired by an article titled "std::visit is everything wrong with modern C++" to contrast it with D's std.variant.visit. The result is this well-written post for the D Blog. The blog:

Re: Could someone take a look at DIP PR 109?

2018-03-28 Thread Mike Parker via Digitalmars-d
On Wednesday, 28 March 2018 at 06:43:15 UTC, Shachar Shemesh wrote: https://github.com/dlang/DIPs/pull/109 I submitted it 12 days ago. So far, except for two thumbs up, I got no official reaction of any kind for it. I did get an unofficial list of suggestions from Andrei, which I have now

DConf 2018 Hackathon -- now open to the public free of charge

2018-03-27 Thread Mike Parker via Digitalmars-d-announce
Yesterday, I made the announcement that the Hackathon would be open to anyone willing to pay $100 to get in. That idea has now been nixed. Instead, anyone can come in for the full day completely free. It's like a big Munich Meetup! So, if you are in the area and can't make the conference, now

Announcing the DConf 2018 Hackathon Pass

2018-03-26 Thread Mike Parker via Digitalmars-d-announce
In the vicinity of Munich May 2-5 but can't make it to the full four days of DConf 2018? Now you can come join us for the Hackathon on Saturday, May 5 with a Hackathon Pass. Those who sign up will be able to spend the day with the rest of us talking about, hacking on, and learning D. And we

DIP: The Deprecation Process

2018-03-25 Thread Mike Parker via Digitalmars-d-announce
This is another candidate to become DIP 1013. It standardizes the deprecation process for DMD, DRuntime and Phobos. It is currently in Draft Review and has had some discussion already, but I'd like to get a few more eyes on it before moving forward. Please familiarize yourself with the intent

Re: Building Derelict based application under windows

2018-03-22 Thread Mike Parker via Digitalmars-d-learn
On Thursday, 22 March 2018 at 20:51:36 UTC, ANtlord wrote: Thanks in advance. Please feel free to ask any question Your errors with the derelict libs are linker errors, with the early ones being this one: "warning LNK4003: invalid library format; library ignored" At the top of the output,

Re: #import mapi.h

2018-03-22 Thread Mike Parker via Digitalmars-d-learn
On Thursday, 22 March 2018 at 21:45:40 UTC, Martin Tschierschke wrote: On Thursday, 22 March 2018 at 17:42:46 UTC, Paul Backus wrote: On Wednesday, 21 March 2018 at 16:22:45 UTC, Martin Tschierschke wrote: Is there an step by step introduction how to convert a C header of an external lib into

Re: "mydll" sample from C:\D\dmd2\samples\d\mydll\ doesn't compile. DMD 2.079.0, Windows 7

2018-03-21 Thread Mike Parker via Digitalmars-d
On Wednesday, 21 March 2018 at 08:44:15 UTC, Mike Parker wrote: On Wednesday, 21 March 2018 at 08:30:54 UTC, Vitalii wrote: In earlier version 2.073.3 of DMD compiler 32-bit version of "mydll" builds successfully, but 64-bit get the same error messages as above. I use 64-bit path settings.

Re: "mydll" sample from C:\D\dmd2\samples\d\mydll\ doesn't compile. DMD 2.079.0, Windows 7

2018-03-21 Thread Mike Parker via Digitalmars-d
On Wednesday, 21 March 2018 at 08:30:54 UTC, Vitalii wrote: In earlier version 2.073.3 of DMD compiler 32-bit version of "mydll" builds successfully, but 64-bit get the same error messages as above. I use 64-bit path settings. DMD compiler version 2.079.0, Windows 7 Pro (6.1, build 7601:

Re: #dbugfix 17592

2018-03-21 Thread Mike Parker via Digitalmars-d
On Tuesday, 20 March 2018 at 21:27:53 UTC, 12345swordy wrote: This is very important to me as I am very interested in using the language for game development. Yes I know that it's marked as "Duplicated", but I strongly disagree as it is different enough to consider is own issue. Alex

Re: Draft Review DIP: Enum and Function Parameter Attributes

2018-03-21 Thread Mike Parker via Digitalmars-d-announce
On Wednesday, 21 March 2018 at 02:26:02 UTC, Meta wrote: Low hanging fruit: Thanks for the feedback, but Draft Review comments should go in the PR thread. I'll add a link over there to the post, but when you get a chance, it would help to paste your remarks into a comment there.

Draft Review DIP: Enum and Function Parameter Attributes

2018-03-20 Thread Mike Parker via Digitalmars-d-announce
As it stands, this DIP [1] is currently the candidate to become DIP 1013. Any an all feedback for Draft Review is welcome. Please read the intent [2] behind the Draft Review before participating. Thanks! [1] https://github.com/dlang/DIPs/pull/105 [2]

Re: #dbugfix Issue 5710

2018-03-19 Thread Mike Parker via Digitalmars-d
On Tuesday, 20 March 2018 at 03:55:24 UTC, Mike Franklin wrote: On Tuesday, 20 March 2018 at 02:45:34 UTC, Jonathan M Davis wrote: IMHO, it would be _huge_ if this issue could be fixed. Mike Parker, I think that means +1. Yeah, got it :-) Also counted the other one. Thanks!

Re: #dbugfix Issue 5710

2018-03-19 Thread Mike Parker via Digitalmars-d
On Tuesday, 20 March 2018 at 00:00:22 UTC, ciechowoj wrote: Digging out and old yet important issue. Noted!

DConf 2018 Munich Registration is Open!

2018-03-19 Thread Mike Parker via Digitalmars-d-announce
The D Language Foundation is thrilled to announce that registration for DConf 2018, May 2-5 in Munich, is now open. The programme is set, the speakers are crafting their slides, and we're counting down the days. In addition to the traditional keynotes from D language stewards Walter Bright

Re: The D Language Foundation at Open Collective

2018-03-15 Thread Mike Parker via Digitalmars-d-announce
On Thursday, 15 March 2018 at 12:36:24 UTC, Meta wrote: On Wednesday, 14 March 2018 at 12:00:42 UTC, Seb wrote: Yeah, the idea is that 5$ a month isn't much (~ one coffee in most countries), but if 500 people donate one coffee a month, you get the entire coffee machine with a warp engine :)

Re: Readonly field for class type

2018-03-15 Thread Mike Parker via Digitalmars-d-learn
On Thursday, 15 March 2018 at 10:16:49 UTC, Andrey wrote: Hello, is there way to declare read only field for class type with ability to call inner non constant methods? i.e.: class A { int value = 12; void updateValue() { value = 13; } } class B { const A a;

Re: Readonly field for class type

2018-03-15 Thread Mike Parker via Digitalmars-d-learn
On Thursday, 15 March 2018 at 10:55:16 UTC, Mike Parker wrote: class A { private int _value = 12; int value() @property { return _value; } void updateValue() { value = 13; } } ... auto a = new A(); writeln(a.value); a.updateValue(); writeln(a.value); Sorry. I overlooked that

User Stories: Funkwerk

2018-03-14 Thread Mike Parker via Digitalmars-d-announce
The final post in the series on Funkwerk is the first in a new series of User Stories. Three Funkwerk developers share some of their enthusiasm about D. Michael Schnelle talks about the power of ranges, Ronny Spiegel tells us how generated code is better code, and Stefan Rohe shows off some of

Re: The D Language Foundation at Open Collective

2018-03-13 Thread Mike Parker via Digitalmars-d-announce
On Tuesday, 13 March 2018 at 15:26:24 UTC, Martin Tschierschke wrote: The Website needs the link, too!: https://dlang.org/foundation/donate.html Yes, there's a PR for it waiting to be merged. https://github.com/dlang/dlang.org/pull/2272

Re: how to make private class member private

2018-03-13 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 13 March 2018 at 09:14:26 UTC, psychoticRabbit wrote: That's make a little uncomfortable, given how long and complex modules can easily become(and aleady are) Is there a practical difference between a) a module that contains a class with 20 member functions all accessing

Re: how to make private class member private

2018-03-13 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 13 March 2018 at 06:58:08 UTC, psychoticRabbit wrote: What you're saying, is in D, class encapsulation is really 'module' encapsulation. I get it. Fine. It's an intersting design decision. "Enapsulation" in D means the same as it does in every other language -- hidden from

Re: how to make private class member private

2018-03-13 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 13 March 2018 at 05:11:48 UTC, psychoticRabbit wrote: 1st - D has broken the concept of class encapsulation, simply for convenience at the module level. Not good in my opinion. No, it hasn't broken encapsulation. Encapsulation is at the module level. A class or struct and any

Re: how to make private class member private

2018-03-12 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 13 March 2018 at 05:35:30 UTC, Amorphorious wrote: There is another problem: 3rd: You are a brainwashed monkey who can't think for himself. No need for personal attacks. Let's keep it civil.

Re: how to make private class member private

2018-03-12 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 13 March 2018 at 02:06:57 UTC, psychoticRabbit wrote: Mmm.. I don't think I like it. I feel you should be able to make a member of a class, private, regardless of where the class is located. This seems to break the concept of class encapsulation. No. I don't like it at all.

Re: The D Language Foundation at Open Collective

2018-03-12 Thread Mike Parker via Digitalmars-d-announce
On Monday, 12 March 2018 at 14:37:40 UTC, rikki cattermole wrote: Can you guys add another donation package, which is basically pay what you want towards a more long term issue? To incentivize fixing. Monetary wise I shouldn't donate but I do care about shared library support enough that I

The D Language Foundation at Open Collective

2018-03-12 Thread Mike Parker via Digitalmars-d-announce
Today, the D Language Foundation has launched a page at Open Collective: https://opencollective.com/dlang. This brings some transparency to the process and opens new opportunities for how the Foundation handles donations. The blog post:

Re: Question over C++ to D conversion

2018-03-11 Thread Mike Parker via Digitalmars-d
On Monday, 12 March 2018 at 01:10:41 UTC, Richard wrote: I was wondering if there are any other ways that are known about for translating C++ into D, or accessing C++ libraries. If you have access to a Windows box, this might help get you there:

Re: Vision document for H1 2018

2018-03-10 Thread Mike Parker via Digitalmars-d-announce
On Sunday, 11 March 2018 at 01:36:51 UTC, Dylan Graham wrote: The D Language Foundation, being the leading body of D, should hold some responsibility to the interests of the majority. Please read my post from earlier: https://forum.dlang.org/post/chsqspkoxbcdqjcqb...@forum.dlang.org The

Re: Vision document for H1 2018

2018-03-10 Thread Mike Parker via Digitalmars-d-announce
On Saturday, 10 March 2018 at 10:05:49 UTC, rumbu wrote: According to the State of D Survey, 71% of the respondents don't care about betterC. Why is betterC on the priority list? 1. The vision document was started before the survey and the survey isn't closed, so the survey results don't

Re: DConf hotel poor QoS

2018-03-09 Thread Mike Parker via Digitalmars-d
On Friday, 9 March 2018 at 18:08:58 UTC, Ali Çehreli wrote: Off topic, booking all legs of your flight individually may be much much cheaper at least on Expedia. They first quoted I think $1800 for the multi-city San Francisco - Istanbul - Munich and back. The same trip was about $1100 when

Re: DConf hotel poor QoS

2018-03-09 Thread Mike Parker via Digitalmars-d
On Saturday, 10 March 2018 at 04:24:49 UTC, Adam Wilson wrote: I booked online. I need a different room than the Conference Rate. But while I was there I did notice that the online rate for the conference room was the same as quoted on the conference site (89EUR). I booked via nh-hotels.com,

The New New DIP Process

2018-03-09 Thread Mike Parker via Digitalmars-d-announce
When I took on the role of DIP Manager last year, I didn't realize how much I had to learn. Most of the DIPs made it through just fine, but there were a few errors along the way. And there were some inefficiencies built into the system that weren't so obvious in the beginning. Recently, my new

DIP: Binary assignment operators for properties -- Draft Review

2018-03-08 Thread Mike Parker via Digitalmars-d-announce
The DIP process is on again. I'll be publishing a blog post soon describing the changes and their motivation. In the meantime, the primary candidate to become DIP 1013 [1] needs a good going over for the Draft Review to shake out any structural or technical issues. Please see the new Procedure

Re: #dbugfix: Unclear error message when trying to inherit from multiple classes

2018-03-07 Thread Mike Parker via Digitalmars-d
On Wednesday, 7 March 2018 at 22:23:59 UTC, Meta wrote: https://issues.dlang.org/show_bug.cgi?id=18574 Noted!

Re: Diamond Full-stack MVC / Template Engine - v2.7.0 Released!

2018-03-07 Thread Mike Parker via Digitalmars-d-announce
On Wednesday, 7 March 2018 at 22:37:36 UTC, bauss wrote: I finally got around and fixed the last corners here and there. If you wonder what Diamond is, then it's a library for developing full-stack MVC web-applications based on vibe.d. It contains a lot of features (Which you can see in the

<    9   10   11   12   13   14   15   16   17   18   >