Re: Wed Oct 17 - Avoiding Code Smells by Walter Bright

2018-11-05 Thread Mike Parker via Digitalmars-d-announce
On Monday, 5 November 2018 at 09:43:06 UTC, FooledDonor wrote: Get off your pedestal, and drop into the real life of those who program in D with colleagues not as perfect as you are. So where are these teams of imperfect D programmers who are plagued by accidental modifications of private

Re: Release D 2.083.0

2018-11-02 Thread Mike Parker via Digitalmars-d-announce
On Friday, 2 November 2018 at 00:12:29 UTC, Martin Nowak wrote: Glad to announce D 2.083.0, ♥ to the 51 contributors. This release comes with betterC support in dub, new CppRuntime_* version identifiers, an isZeroInit trait, and an exported environment variable DUB_PACKAGE_VERSION during dub

Re: BindBC -- The successor to Derelict

2018-10-30 Thread Mike Parker via Digitalmars-d-announce
On Tuesday, 30 October 2018 at 12:17:52 UTC, Danny Arends wrote: Nice work on the new loader, I'm a big user of the Derelict loader, and I agree that having a betterC / @nogc loader is a big win, so thanks in advance for working on it. Which libraries are going to be supported ? In my

Re: DirectX bindings

2018-10-30 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 30 October 2018 at 10:30:48 UTC, John Burton wrote: I want to do some graphics using direct3d11 on windows. There are some bindings that I used once before https://github.com/evilrat666/directx-d However they are marked as [discontinued] While I'm sure they will continue to work so

smile.amazon.com Promotion

2018-10-29 Thread Mike Parker via Digitalmars-d-announce
One of the easiest ways to support the D Language Foundation is using smile.amazon.com when you make a purchase. Until Nov 2, they're running a special where they're donating 5% (10 times the usual amount) you buy through AmazonSmile. smile.amazon.com/ch/47-5352856

Add D front-end, libphobos library, and D2 testsuite... to GCC

2018-10-28 Thread Mike Parker via Digitalmars-d-announce
Congratulations are in order for Iain Buclaw. His efforts have been rewarded in a big way. Last Friday, he got the greenlight to move forward with submitting his changes into GCC: https://gcc.gnu.org/ml/gcc-patches/2018-10/msg01676.html That's now a reality.

Re: D T-Shirts

2018-10-21 Thread Mike Parker via Digitalmars-d
On Monday, 22 October 2018 at 01:08:11 UTC, Manu wrote: FWIW, I'm disappointed with the quality of my dman shirt; I've put it through the wash no more than 3-4 times and the print is aggressively deteriorating with each wash. I don't tend to wear it because it's disintegrating so fast. I'm

Re: D T-Shirts

2018-10-21 Thread Mike Parker via Digitalmars-d
On Sunday, 21 October 2018 at 20:04:02 UTC, Fleel wrote: It would be awesome if there were T-Shirts with D-man on them. I would totally buy one, and would help to support the foundation too... We've got a store coming, with t-shirts and other items. D-man shirts will not be there, though.

Re: Truly @nogc Exceptions?

2018-10-20 Thread Mike Parker via Digitalmars-d
On Saturday, 20 October 2018 at 13:48:32 UTC, Paolo Invernizzi wrote: If `@nogc` could be relaxed for `new Error` exactly for that reason, pieces of Phobos could be turned `@nogc`... But I admit that that change would be controversial...

BindBC -- The successor to Derelict

2018-10-19 Thread Mike Parker via Digitalmars-d-announce
In the 14.5 (!) years I've been maintaining the Derelict bindings, I've restructured the source tree a few times (Derelict 1 - 3 to DerelictOrg), had three implementations of the loader (that I can remember), switched from Subversion to Git, and supported a few different approaches to building

Re: Why is dynamic array length required here?

2018-10-18 Thread Mike Parker via Digitalmars-d-learn
On Friday, 19 October 2018 at 02:04:37 UTC, Samir wrote: I would have thought that since this is a dynamic array, I don't need to pre-assign its length. Thanks Just to expand on the previous answers, a dynamic array declaration with no initializer is an empty array: int[] arr;

Interfacing D with C: Arrays Part 1

2018-10-17 Thread Mike Parker via Digitalmars-d-announce
I had intended to publish the next GC series post early this month, but after many revisions and discussions with a couple of reviewers, I've decided to put it on hold until something gets worked out about the conflation of destruction and finalization in D (something I'll be pushing for

Re: Noob question about structs allocation

2018-10-15 Thread Mike Parker via Digitalmars-d-learn
On Monday, 15 October 2018 at 04:14:24 UTC, IM wrote: What is the effect of calling destroy? - calling the destructor? - deallocating the memory? - both? It calls the destructor. The GC will deallocate the object's memory later. However, you need to be careful about how you use

Re: LDC2 -I option results in unresolved externals

2018-10-12 Thread Mike Parker via Digitalmars-d-learn
On Friday, 12 October 2018 at 06:01:12 UTC, spikespaz wrote: I'm using the latest LDC2 beta, and when running the compiler with -I (Look for imports also in ) it fails with unresolved externals. These are my commands. = $ ldc2

Re: Why are 2-D arrays reversed?

2018-10-10 Thread Mike Parker via Digitalmars-d-learn
On Wednesday, 10 October 2018 at 13:22:41 UTC, Chris Katko wrote: int[][] data = [ [1, 0, 1, 0, 0], [1, 0, 1, 0, 0], [1, 0, 1, 1, 1], [1, 0, 0, 1, 0], [5, 1, 1, 1, 0] ]; when drawn with data[i][j],

Re: Does the WInMain function is mandatory ?

2018-09-30 Thread Mike Parker via Digitalmars-d-learn
On Sunday, 30 September 2018 at 14:06:20 UTC, Vinod K Chandran wrote: Thanks. It worked. I would like to compile this as a gui. Now it starts with the cmd. Google search didn't gave me the link i want. Any help ? With the default OPTLINK linker: dmd -L/SUBSYSTEM:windows app.d In this

Re: DIP 1014

2018-09-30 Thread Mike Parker via Digitalmars-d
On Sunday, 30 September 2018 at 04:34:20 UTC, Manu 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::string implementation stores an

Re: Can I create static c callable library?

2018-09-26 Thread Mike Parker via Digitalmars-d-learn
On Wednesday, 26 September 2018 at 09:54:22 UTC, John Burton wrote: Is there any documentation anywhere that deals with calling D from C? I could find plenty the other way round. I think I'll give up on the idea though, and rewrite the whole thing in D :) Rewriting it in D is a great idea

Re: BetterC + Windows + setjmp longjmp

2018-09-17 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 18 September 2018 at 00:24:23 UTC, SrMordred wrote: Yes, i'm using signal(SIGSEGV, sigfn_t func), it catches correctly, but end the execution after. I find the alternatives of setjmp/longjmp and sigaction, but none are avaliable on windows afaik. setjmp/longjmp are available on

Re: Is it possible to translate this API's C headers?

2018-09-17 Thread Mike Parker via Digitalmars-d-learn
On Monday, 17 September 2018 at 03:16:33 UTC, spikespaz wrote: There is a project that I wish to use from D (https://ultralig.ht). It's Electron, but with forked WebKit and the samples are very, very fast. This is a great compromise between wanting to have a very custom interface and not

A Brief Intro to the SAoC Projects

2018-09-15 Thread Mike Parker via Digitalmars-d-announce
I've posted to the blog a brief introduction to the projects that were selected for the Symmetry Autumn of Code. As the event goes on, I hope to provide more details about the projects and the individuals working on them. The blog:

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

2018-09-14 Thread Mike Parker via Digitalmars-d-announce
The last chance for community feedback on DIP 1015, "Deprecation and removal of implicit conversion from integer and character literals to bool", is now underway. Please do not leave any feedback in this thread, but rather in the review thread in the General forum:

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

2018-09-14 Thread Mike Parker via Digitalmars-d
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 chance for community feedback before the DIP is handed off to Walter and Andrei for the Formal Assessment. Please read the procedures document

Re: linking trouble

2018-09-06 Thread Mike Parker via Digitalmars-d-learn
On Friday, 7 September 2018 at 02:44:24 UTC, hridyansh thakur wrote: On Thursday, 6 September 2018 at 16:59:43 UTC, rikki cattermole wrote: On 07/09/2018 4:03 AM, hridyansh thakur wrote: [...] That definition isn't complete. Missing at the very least ``();`` to make it a function

Re: DIP Draft Reviews

2018-09-06 Thread Mike Parker via Digitalmars-d-announce
On Thursday, 6 September 2018 at 10:22:47 UTC, Nicholas Wilson wrote: Put it this way: DIP1017 should not go to formal without change, as it did from draft to community (which I don't think should have happened without at least some acknowledgement or refutation of the points raised in

Re: Rename sloppy "Install .exe"

2018-09-05 Thread Mike Parker via Digitalmars-d
On Thursday, 6 September 2018 at 05:47:56 UTC, Mike Parker wrote: I'll check back on it later when the tests have finished to make sure it rendered properly. And I just realized it won't render properly because I overlooked one line. Bah.

Re: Rename sloppy "Install .exe"

2018-09-05 Thread Mike Parker via Digitalmars-d
On Thursday, 6 September 2018 at 05:07:16 UTC, Bauss wrote: On Thursday, 6 September 2018 at 01:25:51 UTC, 0xEAB wrote: On Tuesday, 4 September 2018 at 16:59:38 UTC, Tourist wrote: The "Install .exe" on the main page looks sloppy to me. My brain wants to read it as "Install.exe" and wonders

Re: DIP Draft Reviews

2018-09-05 Thread Mike Parker via Digitalmars-d-announce
On Thursday, 6 September 2018 at 04:51:23 UTC, Manu wrote: Out of curiosity... what's going on with mine? Is there something I'm meant to have done? It's kinda just hanging out no? Yours is in the Post-Community review stage [1]: "A DIP may remain in the Post-Community Round N status for a

Re: DIP Draft Reviews

2018-09-05 Thread Mike Parker via Digitalmars-d-announce
On Wednesday, 5 September 2018 at 14:30:14 UTC, rikki cattermole wrote: Last time I checked, it should be me and yshui's named parameter DIP's next, they really need to be reviewed together though, at least initially. I'm not at all thrilled by the idea of running two DIPs through the

Re: DIP Draft Reviews

2018-09-05 Thread Mike Parker via Digitalmars-d-announce
On Wednesday, 5 September 2018 at 14:20:38 UTC, Nicholas Wilson wrote: pull/101 was closed. What's happening now? I'm not going to start another Community Review until I get some space in the latter end of the queue. But soon I'll be asking for Draft Review feedback on the next

Re: Release D 2.082.0

2018-09-04 Thread Mike Parker via Digitalmars-d-announce
On Sunday, 2 September 2018 at 01:05:10 UTC, Martin Nowak wrote: Glad to announce D 2.082.0. This release comes with more efficient update functions for associative arrays, unsafe code in debug blocks, UDAs for function parameters, an improved dependency resolution and avoidance of online

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

2018-09-03 Thread Mike Parker via Digitalmars-d
On Monday, 3 September 2018 at 18:26:57 UTC, Chris wrote: I think this sort of misunderstanding is the source of a lot of friction on this forum. Some users think (or in my case: thought) that D will be a sound and stable language one day, a language they can use for loads of stuff, while

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

2018-08-28 Thread Mike Parker via Digitalmars-d
On Tuesday, 28 August 2018 at 08:44:26 UTC, Chris wrote: Last but not least, if it's true that the D Foundation has raised only 3.2K, then there's something seriously wrong. The Foundation has significantly more than 3.2k. The Open Collective account is relatively new and is but one

Re: Looking for a mentor for SAoC

2018-08-27 Thread Mike Parker via Digitalmars-d
On Monday, 27 August 2018 at 07:45:03 UTC, Manu wrote: I think one of the only people qualified to help you is Rainer Schutze. I think he knows the details of Mago better than anyone. Rainer is unable to participate in SAoC as a mentor this time around. So we're looking for anyone with

Re: Is @safe still a work-in-progress?

2018-08-21 Thread Mike Parker via Digitalmars-d
On Wednesday, 22 August 2018 at 02:18:15 UTC, Mike Franklin wrote: Furthermore, I find it hypocritical that some of us are put through a disproportionately burdensome DIP process requiring thorough documentation, multiple peer reviews, excessive delays, and judgement that defaults to "no" for

Re: Deduce type of struct in function arguments

2018-08-21 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 21 August 2018 at 14:56:21 UTC, Seb wrote: I'm aware, but we don't have any other process for people to show their support for a DIP, do we? And for DMD/Druntime/Phobos etc. having a bunch of +1 helps a PR to move faster as we as reviewers can thus realize that this is sth.

Re: Deduce type of struct in function arguments

2018-08-21 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 21 August 2018 at 08:32:17 UTC, Seb wrote: How and where to vote? At the pull request via +1 and the upcoming "official" discussion of the PR. Except that there's no voting process for DIPs. The Community Review is not intended as a way to vote, simply to provide feedback

Re: Auto keyword and when to use it

2018-08-20 Thread Mike Parker via Digitalmars-d-learn
On Monday, 20 August 2018 at 17:24:19 UTC, QueenSvetlana wrote: I'm struggling to understand what the auto keyword is for and it's appropriate uses. From research, it seems to share the same capabilities as the var keyword in C#. auto is one of the most misunderstood understood features in

DIP Draft Reviews

2018-08-20 Thread Mike Parker via Digitalmars-d-announce
I'm getting ready to start prepping one of the DIPs in the PR queue for community review. It proposes adding an `in` operator for arrays. I haven't gone through it in detail yet, so I invite anyone with time on their hands to provide feedback on the Draft so we can more speedily get in shape

Re: [OT] Leverage Points

2018-08-20 Thread Mike Parker via Digitalmars-d
On Monday, 20 August 2018 at 08:31:15 UTC, Dave Jones wrote: n production. Im not trying to be negative but if Nim or Rust released a blog post saying "We made find faster" is it going to get you to try them out? Is it enough of an enticement to get over you preconceptions about those

Re: [OT] Leverage Points

2018-08-19 Thread Mike Parker via Digitalmars-d
On Sunday, 19 August 2018 at 19:52:44 UTC, Dave Jones wrote: What you need a blog post saying the GC has been made 4x faster. Stuff like that, hey we made D much better now, not stuff about some corporate user who does targeted advertising. If you look through the blog, you'll find posts

Re: [OT] Leverage Points

2018-08-19 Thread Mike Parker via Digitalmars-d
On Sunday, 19 August 2018 at 18:49:53 UTC, Joakim wrote: they got their team trained up on D. We could stand to talk more about Sociomantic, D's biggest corporate success so far, I'll put out an email to Don. I've got a series on Sociomantic in the works for the blog.

SAoC Applications

2018-08-15 Thread Mike Parker via Digitalmars-d-announce
Thanks to everyone who sent in a SAoC application or volunteered as a mentor. If you haven't yet received an acknowledgement of your application, you should hear from me in the next 12 hours. If you haven't heard from me by Saturday, contact me at aldac...@gmail.com to check in and make sure

Re: Linking a C program with D library

2018-08-15 Thread Mike Parker via Digitalmars-d-learn
On Wednesday, 15 August 2018 at 02:40:22 UTC, Joe wrote: I understand that, Mike. However if I'm not mistaken given something in C like char* strs[] = { "This", "is a", "test"}; AFAIK, even with -betterC and an extern (C), the literals will still be understood by D as type "string", and

Re: Linking a C program with D library

2018-08-14 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 14 August 2018 at 23:05:26 UTC, Joe wrote: I'm attempting a piecemeal conversion of some C programs. I've converted a few that depend on C modules that are in a library and now I'm sort of in the middle of converting those C modules. One of them has an array of strings, i.e., array

Write for the D Blog!

2018-08-13 Thread Mike Parker via Digitalmars-d-announce
You may have noticed the blog is relatively quiet right now. That's not from a lack of trying. I am in a dry spell with my own writing at the moment. I've got two posts in progress that shouldn't be difficult to write, but the words haven't been coming out the way I want them to nor as easily

Re: Importing struct

2018-08-13 Thread Mike Parker via Digitalmars-d-learn
On Monday, 13 August 2018 at 13:09:24 UTC, Andrey wrote: On Monday, 13 August 2018 at 13:05:28 UTC, evilrat wrote: however the best option is simply avoid naming anything with same name as module. Hmm, I thought that name of class should match name of file... And how to name a file that

Re: Reimplementing software building blocks like malloc and free in D

2018-08-12 Thread Mike Parker via Digitalmars-d
On Sunday, 12 August 2018 at 11:23:55 UTC, Aruna Maurya wrote: So I'll be taking Eugene's code as reference to try and implement malloc free and realloc in dlang. Be sure to send your proposal in by August 15!

Re: dmd64 on Windows: how?

2018-08-11 Thread Mike Parker via Digitalmars-d-learn
On Saturday, 11 August 2018 at 19:50:30 UTC, Ivan Kazmenko wrote: n This was most close to solving my problem. Thanks! I've installed the components shown in wiki image: v141 tools and the SDKs. VS 2017 Community includes everything you need. There's no reason to install the SDK

Re: Could you anybody using DerelictSDL2 on Android?

2018-08-11 Thread Mike Parker via Digitalmars-d-learn
On Saturday, 11 August 2018 at 14:36:59 UTC, zhani wrote: On Saturday, 11 August 2018 at 08:47:59 UTC, Mike Parker wrote: On Tuesday, 7 August 2018 at 12:05:33 UTC, zhani wrote: [...] I don't do any sort of Android development, so I've never tested any Derelict packages on the platform. A

Re: Could you anybody using DerelictSDL2 on Android?

2018-08-11 Thread Mike Parker via Digitalmars-d-learn
On Saturday, 11 August 2018 at 15:46:47 UTC, tide wrote: extern(C) is a feature, Derelict are libraries. https://dlang.org/spec/interfaceToC.html You can use Derelict "static" to the same effect I think, but they way they achieve it doesn't play well with auto completion and such. All of

Re: Could you anybody using DerelictSDL2 on Android?

2018-08-11 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 7 August 2018 at 12:05:33 UTC, zhani wrote: howdy :-) can anybody use sdl2 on android? first, i got a ldc2 for android. i just followed here on windows: https://wiki.dlang.org/Build_D_for_Android#Windows so i could compile a sieve.d but didnt run it on android yet. then next?

Re: [SAoC'18]: Intergration of HTTP/2

2018-08-11 Thread Mike Parker via Digitalmars-d
On Friday, 10 August 2018 at 15:18:31 UTC, Aniketh Girish wrote: Over the past few months, I have been working on learning about different protocols and about their implementation. I understand the concept of HTTP/2 and I have a basic understanding of its implementation. I would like to be

Development Stage for new DIPs

2018-08-08 Thread Mike Parker via Digitalmars-d-announce
I would like to remind everyone to please read the procedures document regarding the development stage for a new DIP [1] before submitting one. DIPs *should not be developed in the PR queue*. Doing so has the potential to result in a long thread of comments on minor details before we're ready

DIP 1017--Add Bottom Type--Community Review Round 1 Begins

2018-08-08 Thread Mike Parker via Digitalmars-d-announce
The first round of Community Review for DIP 1017, "Add Bottom Type", has begun. To participate, please visit the review thread for the details: https://forum.dlang.org/post/bvyzkatgwlkiserqr...@forum.dlang.org *Please leave all feedback in the review thread rather than here!* Thanks!

DIP 1017--Add Bottom Type--Community Review Round 1

2018-08-08 Thread Mike Parker via Digitalmars-d
This is the feedback thread for the first round of Community Review for DIP 1017, "Add Bottom Type": https://github.com/dlang/DIPs/blob/8274b0f600075e4553b41c31f4b77be2d917bb40/DIPs/DIP1017.md All review-related feedback on and discussion of the DIP should occur in this thread. The review

Re: Seoul D Meetup - Aug 9 - BlockchainOS & Learn Teach Code Seoul

2018-08-08 Thread Mike Parker via Digitalmars-d-announce
On Thursday, 12 July 2018 at 14:46:15 UTC, Mike Parker wrote: I'm very happy to announce the next Seoul D meetup on August 9 at 7:00 pm. We're partnering with local company BlockchainOS and the Meetup group 'Learn Teach Code Seoul' for an interactive 'Introduction to D' presentation/tutorial

Re: Symmetry Autumn of Code

2018-08-05 Thread Mike Parker via Digitalmars-d-announce
On Sunday, 5 August 2018 at 08:01:47 UTC, Ecstatic Coder wrote: Btw I *had* ("And I'd be glad to mentor you on this :)", here on July 24th). Thanks for remembering me why I now better enjoy the Crystal community... Sorry, I seem to have missed that. But to quote from the SAoC page [1]:

Re: Implement a file system for use in embedded systems

2018-08-04 Thread Mike Parker via Digitalmars-d
On Saturday, 4 August 2018 at 18:24:28 UTC, B Krishnan Iyer wrote: Hello everyone, I am Newbie here and I am interested in " Implement a FAT/FAT32/EXFAT file system for use in embedded systems" project which is part of SAOC. For past a year I have been working on embedded systems and invested

Re: Symmetry Autumn of Code

2018-08-04 Thread Mike Parker via Digitalmars-d-announce
On Sunday, 5 August 2018 at 04:47:42 UTC, tanner00 wrote: [...] Hi, I’m interested in working on this project and just wanted to touch base. Is there any word on who will be mentoring this project? I’m entering college this fall but I’ve been programming since a very young age and enjoy

Re: How to force console

2018-08-01 Thread Mike Parker via Digitalmars-d-learn
On Wednesday, 1 August 2018 at 20:57:30 UTC, Everlast wrote: I can create a console for a dll using AllocConsole and special Write functions but this is a pain. How do I get all standard input and output to either use this console or for the app to create the console automatically? The

Re: SAoC Updates

2018-07-31 Thread Mike Parker via Digitalmars-d-announce
On Tuesday, 31 July 2018 at 20:05:28 UTC, 12345swordy wrote: Would it be easier to submit a approved conflict of interest paper with the application? All I'm saying is that each applicant is responsible for making sure they are free and clear to participate. If you have an employment

Re: SAoC Updates

2018-07-31 Thread Mike Parker via Digitalmars-d-announce
On Tuesday, 31 July 2018 at 13:36:13 UTC, bachmeier wrote: On Tuesday, 31 July 2018 at 03:23:41 UTC, Mike Parker wrote: Second, it is incumbent upon non-student applicants who are currently employed by a software development firm to ensure there are no contractual barriers to participating.

SAoC Updates

2018-07-30 Thread Mike Parker via Digitalmars-d-announce
I've updated the SAoC page to reflect the decision to accept applications from non-university students. I want to make two things very clear. First, preference will be given to university students who can provide proof of enrollment. That's not to say that their applications will

Re: Whence came UFCS?

2018-07-27 Thread Mike Parker via Digitalmars-d
On Friday, 27 July 2018 at 14:31:24 UTC, Mike Parker wrote: This is the earliest thread I could find in the archives, based solely on searching for "array" in the title. I almost fell down the rabbit hole reading some of those old threads, as the ones I did look at tickled my memory.

Re: Whence came UFCS?

2018-07-27 Thread Mike Parker via Digitalmars-d
On Friday, 27 July 2018 at 14:12:53 UTC, Mike Parker wrote: On Friday, 27 July 2018 at 14:09:02 UTC, Simen Kjærås wrote: From what I recall, UFCS for arrays were essentially a bug - an unintended side effect of how the properties were implemented. But it's been 15 years, so I can't really

Re: Whence came UFCS?

2018-07-27 Thread Mike Parker via Digitalmars-d
On Friday, 27 July 2018 at 14:09:02 UTC, Simen Kjærås wrote: From what I recall, UFCS for arrays were essentially a bug - an unintended side effect of how the properties were implemented. But it's been 15 years, so I can't really trust my memory. :p You're not alone! That's how I

Re: Whence came UFCS?

2018-07-27 Thread Mike Parker via Digitalmars-d
On Friday, 27 July 2018 at 13:38:26 UTC, Steven Schveighoffer wrote: Reverse and sort were properties (compiler built-ins), not extensions. If it existed in 2002, it's safe to say it was there pretty much from the beginning. -Steve I came to D in 2003. I recall this coming up in the

Re: Windows 7 x64. Prevent appearing of console with GUI application

2018-07-24 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 24 July 2018 at 08:09:33 UTC, ANtlord wrote: Hello! I'm trying run my GUI application getting a console hidden. The application is on top of GTKD, compiled with dmd 2.081.1 in Windows 7 x64. I read a few threads on the forum and StackOverflow and I got that I need to add a module

Re: Windows 7 x64. Prevent appearing of console with GUI application

2018-07-24 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 24 July 2018 at 08:48:54 UTC, Mike Franklin wrote: Here's my test extern (Windows) int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int iCmdShow) When using WinMain, subsystem:windows is the default. The OP wants to use main as the entry point,

Re: Symmetry Autumn of Code

2018-07-23 Thread Mike Parker via Digitalmars-d-announce
On Monday, 23 July 2018 at 13:02:33 UTC, Zheng (Vic) Luo wrote: Another issue of this program is that me, as an incoming graduate in the U.S., are prohibited to "work" in my first school year. (that law doesn't affect GSoC since summer is considered as the second school year). I'm not sure

Re: Template variable not reach at compile

2018-07-21 Thread Mike Parker via Digitalmars-d-learn
On Saturday, 21 July 2018 at 12:17:54 UTC, Greatsam4sure wrote: Sorry for the typo. This is the problem auto arithmetic(T, V, U)(T a, V b, U op){ return mixin("a"~op~"b"); } //call like this arithmetic(1.5,2.5,"+"); Compiler says the variable op is not reach at compile time. So how

DIP1016--ref T accepts r-values--Community Review Round 1 Begins

2018-07-19 Thread Mike Parker via Digitalmars-d-announce
The first round of Community Review for DIP 1016, "ref T accepts r-values", has begun. To participate, please visit the review thread for the details: https://forum.dlang.org/post/xoiyfeudgibxtbywx...@forum.dlang.org *Please leave all feedback in the review thread rather than here!* Thanks!

DIP 1016--ref T accepts r-values--Community Review Round 1

2018-07-19 Thread Mike Parker via Digitalmars-d
This is the feedback thread for the first round of Community Review for DIP 1016, "ref T accepts r-values": https://github.com/dlang/DIPs/blob/725541d69149bc85a9492f7df07360f8e2948bd7/DIPs/DIP1016.md All review-related feedback on and discussion of the DIP should occur in this thread. The

Re: Windows 64-bit import library

2018-07-19 Thread Mike Parker via Digitalmars-d-learn
On Friday, 20 July 2018 at 04:31:38 UTC, Jordan Wilson wrote: I don't have MSVC, so I built it using mingw, which generated a .a lib. I shall google some more, as I understand it DMD -m64 uses Mingw libs as a fall back when MSVC not found, I compiled Lua using mingw, I can't be too much

Re: Windows 64-bit import library

2018-07-19 Thread Mike Parker via Digitalmars-d-learn
On Thursday, 19 July 2018 at 21:43:35 UTC, Jordan Wilson wrote: Is there any way I can generate the appropriate lib? Else I think I'll need to get hold of the proper import libs that come with the Lua distribution. Lua is extremely easy to build. That will generate the import lib for

Re: Configuring DerelictGL3

2018-07-19 Thread Mike Parker via Digitalmars-d-learn
On Thursday, 19 July 2018 at 00:27:58 UTC, Entity325 wrote: So I'm using the standard process: DerelictGL3.load(); glContext = SDL_GL_CreateContext(sdlWindow); GLVersion glVersion = DerelictGL3.reload(); About 1/3 of the time, the program hangs on the 3rd line and never gets past it.

Symmetry Autumn of Code

2018-07-14 Thread Mike Parker via Digitalmars-d-announce
Thanks to the sponsorship of Symmetry Investments, the D Language Foundation is happy to announce the Symmetry Autumn of Code! We're looking for three university students to hack on D this autumn, from September - January. We're also in search of potential mentors and ideas for student

Funding code-d

2018-07-13 Thread Mike Parker via Digitalmars-d-announce
As promised in my tweet of June 30 (and to the handful of people who emailed me), the cloud of mystery surrounding the use of the money raised for code-d and its supporting tools has now been (partially) lifted! In this post, I lay out the details of how the first $1000 will be paid out to

Seoul D Meetup - Aug 9 - BlockchainOS & Learn Teach Code Seoul

2018-07-12 Thread Mike Parker via Digitalmars-d-announce
I'm very happy to announce the next Seoul D meetup on August 9 at 7:00 pm. We're partnering with local company BlockchainOS and the Meetup group 'Learn Teach Code Seoul' for an interactive 'Introduction to D' presentation/tutorial followed by an hour of coding challenges. BlockchainOS is

Re: donations

2018-07-11 Thread Mike Parker via Digitalmars-d
On Wednesday, 11 July 2018 at 22:46:02 UTC, Ali wrote: there is not two options to donate online 1. Donate through OpenCollective 2. Donate through PayPal are they the same thing, does the money, end up going to the same group, same activities or are they different It all goes to the same

Re: Why is it hard to make Qt bindings?

2018-07-05 Thread Mike Parker via Digitalmars-d-learn
On Thursday, 5 July 2018 at 12:52:49 UTC, Steven Schveighoffer wrote: I remember there being a project for qt for D a long time ago. I think this is it: http://www.dsource.org/projects/qtd You may find some way to resurrect this. And QtE5 is still active. He announced support for QML not

Re: Release D 2.081.0

2018-07-04 Thread Mike Parker via Digitalmars-d-announce
On Wednesday, 4 July 2018 at 10:03:57 UTC, Martin Nowak wrote: Glad to announce D 2.081.0. This release comes with... http://dlang.org/download.html http://dlang.org/changelog/2.081.0.html - -Martin The blog announcement: https://dlang.org/blog/2018/07/04/dmd-2-081-0-released/ Reddit:

Re: how to create an array of scoped objects ?

2018-07-03 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 3 July 2018 at 14:42:58 UTC, Flaze07 wrote: On Tuesday, 3 July 2018 at 14:32:01 UTC, Mike Parker wrote: Resources allocated for the process will be released on exit. I see...but it is dependant on the OS right ? because I have seen other stuff relating to malloc as well, there

Re: Issues with undefined symbols when using Vibe on Windows

2018-07-03 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 3 July 2018 at 13:32:21 UTC, Chris M. wrote: After hashing it out with some people on the Discord, I'm fairly certain we narrowed it down to the 64-bit user32.lib from mingw missing these functions. https://issues.dlang.org/show_bug.cgi?id=19051 So are the mingw libs only

Re: how to create an array of scoped objects ?

2018-07-03 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 3 July 2018 at 10:56:26 UTC, Flaze07 wrote: hmm, I assume you know about DSFML, so... i.e void main( string args[] ) { auto win = new RenderWindow( VideoMode( 400, 400 ), "resource leak ?" ); win.close(); } //in this context, is there any memory leak ? because I saw

Re: how to create an array of scoped objects ?

2018-07-03 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 3 July 2018 at 07:29:12 UTC, Flaze07 wrote: class RenderWindow { private sfRenderWindow* _window; public { this() { _window = sfRenderWindow_create(/*parameters*/); } //couple of other functions ~this() {

Re: I have a plan.. I really DO

2018-07-03 Thread Mike Parker via Digitalmars-d-announce
On Tuesday, 3 July 2018 at 05:52:40 UTC, Ecstatic Coder wrote: I mean, you should offer a short panel of D enhancement projects, with their precise goal, minimum bugdet and investment time limit (for instance one year to reach the required budget), plus an ordered list of additional

Re: Issues with undefined symbols when using Vibe on Windows

2018-07-02 Thread Mike Parker via Digitalmars-d-learn
On Monday, 2 July 2018 at 23:00:08 UTC, Chris M. wrote: On Monday, 2 July 2018 at 21:20:26 UTC, Seb wrote: I thought for 64-bit the bundled lld linker and mingw runtime are used? https://dlang.org/changelog/2.079.0.html#lld_mingw So in fact you shouldn't even need DMC? Ah, okay. I'm mostly

Re: Delegating constructor and call to super

2018-07-02 Thread Mike Parker via Digitalmars-d-learn
On Monday, 2 July 2018 at 09:42:36 UTC, Robert M. Münch wrote: I think it's because of "If a constructor's code contains a delegate constructor call, all possible execution paths through the constructor must make exactly one delegate constructor call" But, how am I supposed to call the

Re: Is it possible to set up DConf Asia?

2018-06-29 Thread Mike Parker via Digitalmars-d
On Friday, 29 June 2018 at 11:54:48 UTC, Joakim wrote: I don't, I think it would be a huge improvement. There are very few benefits to getting people together in person in our hyperconnected age, and while "key developers in the same place" may be one of those, that excludes almost everybody

Re: Is it possible to set up DConf Asia?

2018-06-29 Thread Mike Parker via Digitalmars-d
On Friday, 29 June 2018 at 10:18:01 UTC, Michael wrote: On Friday, 29 June 2018 at 10:12:28 UTC, Mike Parker wrote: I can tell you that DConf Asia is something the Foundation is interested in. It's also something I plan to work toward making happen eventually. We discussed this at our Seoul

Re: Is it possible to set up DConf Asia?

2018-06-29 Thread Mike Parker via Digitalmars-d
On Friday, 29 June 2018 at 09:58:50 UTC, 鲜卑拓跋枫 wrote: Yes, the Sponsors should be the major problem for holding DConf Asia. I will try to collect the info if any Chinese programmer organizations or companies are interested in it. Please people from other countries in Asia help to do the

Re: DIP 1014--Hooking D's struct move semantics--Final Review Begins

2018-06-27 Thread Mike Parker via Digitalmars-d-announce
On Wednesday, 27 June 2018 at 07:28:07 UTC, Mike Parker wrote: On Wednesday, 27 June 2018 at 07:26:20 UTC, Mike Parker wrote: https://forum.dlang.org/post/hwscnvmtrzfcfnppd...@forum.dlang.org And I've pasted the wrong link here. The correct thread link is this one:

Re: DIP 1014--Hooking D's struct move semantics--Final Review Begins

2018-06-27 Thread Mike Parker via Digitalmars-d-announce
On Wednesday, 27 June 2018 at 07:26:20 UTC, Mike Parker wrote: https://forum.dlang.org/post/hwscnvmtrzfcfnppd...@forum.dlang.org And I've pasted the wrong link here. The correct thread link is this one: https://forum.dlang.org/post/ipidsodqhgazrfvzh...@forum.dlang.org Thanks!

DIP 1014--Hooking D's struct move semantics--Final Review Begins

2018-06-27 Thread Mike Parker via Digitalmars-d-announce
The last chance for community feedback on DIP 1014, "Hooking D's struct move semantics", 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

Re: DIP 1014--Hooking D's struct move semantics--Final Review

2018-06-27 Thread Mike Parker via Digitalmars-d
On Wednesday, 27 June 2018 at 07:13:14 UTC, Mike Parker wrote: Thanks in advance for your participation. For those of you using the NNTP or mailing list interfaces, this is the thread to respond in. Thanks!

DIP 1014--Hooking D's struct move semantics--Final Review

2018-06-27 Thread Mike Parker via Digitalmars-d
DIP 1014, "Hooking D's struct move semantics", 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:

DIP 1014--Hooking D's struct move semantics--Final Review

2018-06-27 Thread Mike Parker via Digitalmars-d
DIP 1014, "Hooking D's struct move semantics", 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: DIP 1013--The Deprecation Process--Final Review

2018-06-22 Thread Mike Parker via Digitalmars-d
On Thursday, 7 June 2018 at 06:22:04 UTC, Mike Parker wrote: 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

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