Re: Parameters declared as the alias of a template won't accept the arguments of the same type.

2022-05-01 Thread Mike Parker via Digitalmars-d-learn
On Monday, 2 May 2022 at 00:54:40 UTC, Elfstone wrote: Thanks. This breaks a lot of things. I don't know the reason behind the postponing, but who would expect one can't declare a parameter with an alias if it's a template?! Speaking of inconsistency. At the bottom of the DIP you can find a

Re: Parameters declared as the alias of a template won't accept the arguments of the same type.

2022-05-01 Thread Mike Parker via Digitalmars-d-learn
On Sunday, 1 May 2022 at 12:39:08 UTC, Elfstone wrote: Great, I'm using the constraint, until it's fixed. Will it be fixed though? The DIP that Tejas linked is from 2020!!! The DIP was postponed. I can contact the author to see if he intends to pick it up again. If not, anyone interested

Re: How do I get the screen resolution?

2022-04-28 Thread Mike Parker via Digitalmars-d-learn
On Thursday, 28 April 2022 at 11:35:46 UTC, Mike Parker wrote: go through the same system APIs. For example, on Windows you can use two calls to `GetSystemMetrics` (one for the width, one for the height). (https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getsystemmetrics)

Re: How do I get the screen resolution?

2022-04-28 Thread Mike Parker via Digitalmars-d-learn
On Thursday, 28 April 2022 at 11:22:15 UTC, Alexander Zhirov wrote: Are there any methods to get the screen resolution? On C/C++ from under X11, it is not possible to do this on the command line via SSH, since the display is not defined. And is it possible to do this somehow by means of D,

Re: std.typecons Typedef initializers?

2022-04-25 Thread Mike Parker via Digitalmars-d-learn
On Monday, 25 April 2022 at 08:54:52 UTC, Chris Katko wrote: D struct pair { float x,y; } alias sPair = Typedef!pair; // pair of xy in screen space coordinates alias vPair = Typedef!pair; // pair of xy in viewport space coordinates //etc How do you initialize a typedef'd struct? ``d

Re: Variables & kind of memory

2022-04-23 Thread Mike Parker via Digitalmars-d-learn
On Saturday, 23 April 2022 at 05:01:51 UTC, Alain De Vos wrote: On Saturday, 23 April 2022 at 04:52:39 UTC, Alain De Vos wrote: On Saturday, 23 April 2022 at 03:41:17 UTC, Alain De Vos wrote: I wrote a simple test program: ``` import std.stdio:writefln; [...] BBB: is probably the

Re: Variables & kind of memory

2022-04-23 Thread Mike Parker via Digitalmars-d-learn
On Saturday, 23 April 2022 at 03:41:17 UTC, Alain De Vos wrote: int [] GLV=[1,2]; int [2] GLF=[1,2]; static int [] GSLV=[1,2]; static int [2] GSLF=[1,2]; FYI, `static` has no effect at module scope.

Re: Adding Modules to C in 10 Lines of Code

2022-04-19 Thread Mike Parker via Digitalmars-d-announce
On Tuesday, 19 April 2022 at 12:41:18 UTC, jmh530 wrote: On Sunday, 17 April 2022 at 20:12:38 UTC, Walter Bright wrote: https://nwcpp.org/ An online presentation. Monday at 7PM PST. Will there be a recording available? Talks from past NWCPP meetups are on their YouTube channel here:

Re: DUB issues

2022-04-19 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 19 April 2022 at 08:58:02 UTC, bauss wrote: On Monday, 18 April 2022 at 13:41:04 UTC, Mike Parker wrote: On Monday, 18 April 2022 at 05:27:32 UTC, Danny Arends wrote: Any ideas how to get into contact/fix this issue ? I've emailed Sönke and pointed him to this thread. Wouldn't

Re: DUB issues

2022-04-18 Thread Mike Parker via Digitalmars-d-learn
On Monday, 18 April 2022 at 05:27:32 UTC, Danny Arends wrote: Any ideas how to get into contact/fix this issue ? I've emailed Sönke and pointed him to this thread.

Re: Nested function requires forward declaration?

2022-04-14 Thread Mike Parker via Digitalmars-d-learn
On Thursday, 14 April 2022 at 08:55:25 UTC, Chris Katko wrote: I imagine this is a really odd edge case but it's piqued my interest. Consider this: ```d void main() { void foo() { initRuntimeState(i); } foo(); if(!modifyRutimeState()) return; int i = getRandomValue(); i =

DIP 1035, "@system Variables", Accepted; DIP 1037, "Add Unary Operator ...", Abandoned

2022-04-13 Thread Mike Parker via Digitalmars-d-announce
Walter and Atila have informed me that they have approved DIP 1035, "@system Variables", on the grounds that it identifies a loophole in the `@safe` checks and provides a reasonable solution. Walter said it's a good DIP. https://github.com/dlang/DIPs/blob/master/DIPs/accepted/DIP1035.md

Re: On the D Blog: News for Jan-Mar, 2022

2022-04-10 Thread Mike Parker via Digitalmars-d-announce
On Thursday, 7 April 2022 at 13:02:26 UTC, Mike Parker wrote: Korpel. I'll have the video version published on our YouTube channel within the next couple of days, and I'll link to it in this thread. The video version is available here: https://youtu.be/rdHWTfi9-3M Before someone points

On the D Blog: News for Jan-Mar, 2022

2022-04-07 Thread Mike Parker via Digitalmars-d-announce
I've written a bit for the blog about the major announcements that many of you will already have seen here over the course of January to March: the conclusion of SAOC 2021, the release of DMD 2.099.0, the DConf announcements, and the hiring of Dennis Korpel. I'll have the video version

Re: Conversion from ANSI 1252 to unicode

2022-04-07 Thread Mike Parker via Digitalmars-d-learn
On Thursday, 7 April 2022 at 07:24:03 UTC, Johann wrote: Hi all, anybody knows if there are functions (preferably) in Phobos, that translate from unicode to other encodings and vice versa? Johann https://dlang.org/phobos/std_encoding.html

Re: How to use an existing D package in Visual D?

2022-04-05 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 5 April 2022 at 09:26:54 UTC, realhet wrote: Hello, I have all my D packages in the c:\D\libs\ directory. I added this path to the PropertyPages/Compiler/Additional Import Paths field. In the project source file I imported a module from my package using "import het.utils;" Also

Re: DConf '22 Early-bird Registration is Open!

2022-04-04 Thread Mike Parker via Digitalmars-d-announce
On Monday, 4 April 2022 at 12:53:32 UTC, Brian Callahan wrote: Will the conference be livestreamed? I know previous events have been recorded. I can't make it out to London, but I'd happily pay some amount of money for a "livestream" seat. ~Brian Yes, it will be livestreamed. We do that

Re: D Language Foundation Monthly Meeting Summary for March 2022

2022-04-04 Thread Mike Parker via Digitalmars-d-announce
On Monday, 4 April 2022 at 10:59:39 UTC, Mike Parker wrote: ### DIP 1008 and Phobos Razvan has opened these two issues for this: https://issues.dlang.org/show_bug.cgi?id=22985 https://issues.dlang.org/show_bug.cgi?id=22986

D Language Foundation Monthly Meeting Summary for March 2022

2022-04-04 Thread Mike Parker via Digitalmars-d-announce
The monthly meeting for March 2022 took place on March 4 at 15:00 UTC. The following foundation staff and contributors were present: * Andrei Alexandrescu * Walter Bright * Iain Buclaw * Ali * Martin Kinkelin * Dennis Korpel * Mathias Lang * Razvan Nitu * Mike Parker This was a three-hour

Re: DConf '22 Early-bird Registration is Open!

2022-03-26 Thread Mike Parker via Digitalmars-d-announce
On Friday, 25 March 2022 at 19:31:28 UTC, Mike Parker wrote: At the moment, I've enabled payments only through Flipcause. I should have USD and GBP options for PayPal live by the end of the weekend for those who prefer it. But I encourage you to pay through Flipcause, as it will save us a

DConf '22 Early-bird Registration is Open!

2022-03-25 Thread Mike Parker via Digitalmars-d-announce
Get yer DConf '22 Early-Bird Registration right here: http://dconf.org/2022/index.html#register And while you're at it, learn more about our venue and some nearby hotels: http://dconf.org/2022/index.html#venue Early-bird registration is $352.75, a 15% discount off of the general rate of

Reducing Template Compile Times

2022-03-24 Thread Mike Parker via Digitalmars-d-announce
Sometimes, simple looking template interfaces and implementations have a hidden cost in increased compile times. In his latest blog post, Max Haughton shows some of those cases, explains what causes the increase, and shows how to rewrite your templates when possible to alleviate the problem.

DIP 1035, "@system Variables", Formal Assessment Has Begun

2022-03-23 Thread Mike Parker via Digitalmars-d-announce
Dennis Korpel, the author of DIP 1035, "@system Variables", has revised the DIP in response to feedback from the Final Review. I have submitted it to Walter and Atila to officially begin the Formal Assessment period. Barring a request from them for further revision, we should expect a final

Re: I like dlang but i don't like dub

2022-03-22 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 22 March 2022 at 14:44:59 UTC, Marcone wrote: Why is dmd unable to import modules installed by dub using the import command like it does with the Phobos library? He can't send these modules to Linker? Needing to be passed to dmd via command line. I think it could be all automatic.

Re: static init c struct with array filed

2022-03-16 Thread Mike Parker via Digitalmars-d-learn
On Wednesday, 16 March 2022 at 07:27:06 UTC, test wrote: ```c struct Test { int32_t a; } struct Test2 { int32_t a; Test arr[]; } ``` I need static const init Test2, then pass it to c library late(third library, can not change the type def). Any time you see a '[]' in C, the

Re: D Language Foundation Monthly Meeting for February 2022

2022-03-07 Thread Mike Parker via Digitalmars-d-announce
On Monday, 7 March 2022 at 08:07:11 UTC, forkit wrote: "If it ain't broke, don't fix it!" Well.. There's 'fixing it' and there's 'improving it'. They are not the same thing. In my opinion, gitlab is not an improvement.

Re: D Language Foundation Monthly Meeting for February 2022

2022-03-05 Thread Mike Parker via Digitalmars-d-announce
On Saturday, 5 March 2022 at 12:39:39 UTC, Bastiaan Veelo wrote: On Saturday, 5 March 2022 at 01:21:06 UTC, Mike Parker wrote: But we have no reason to move the D projects away from GitHub to GitLab. GitLab has never entered the conversation. Two reasons would be that 1) It already offers [an

Google Summer of Code -- An Apology

2022-03-04 Thread Mike Parker via Digitalmars-d-announce
Several weeks ago, I received an email from Google informing me that the application period for the 2022 Summer of Code was approaching. I made a mental note, then went back to whatever I was in the middle of at the time without making any other kind of note. Then I completely forgot about it.

Re: D Language Foundation Monthly Meeting for February 2022

2022-03-04 Thread Mike Parker via Digitalmars-d-announce
On Friday, 4 March 2022 at 21:44:56 UTC, Arun wrote: On Friday, 4 March 2022 at 07:10:05 UTC, Mike Parker wrote: On Friday, 4 March 2022 at 06:00:06 UTC, Arun wrote: Just curious if we looked at GitLab as an alternative to both GitHub and Bugzilla. We're happy on GitHub and have no plans

Re: D Language Foundation Monthly Meeting for February 2022

2022-03-03 Thread Mike Parker via Digitalmars-d-announce
On Friday, 4 March 2022 at 06:00:06 UTC, Arun wrote: Just curious if we looked at GitLab as an alternative to both GitHub and Bugzilla. We're happy on GitHub and have no plans to move to GitLab.

Re: D Language Foundation Monthly Meeting for February 2022

2022-03-03 Thread Mike Parker via Digitalmars-d-announce
On Monday, 28 February 2022 at 22:00:09 UTC, Bastiaan Veelo wrote: On Sunday, 27 February 2022 at 11:53:18 UTC, Mike Parker wrote: ## Monthly Meeting Just letting you know that it is posts like these that I look forward to the most, and I very much appreciate the work that goes into them.

Re: How do I create a package?

2022-03-02 Thread Mike Parker via Digitalmars-d-learn
On Wednesday, 2 March 2022 at 16:38:58 UTC, M wrote: There doesn't seem to be any docs on how to actually create packages. Is there a description anywhere? In case you're talking about a language-level package and not a dub package, just create a directory in your source tree with the name

Re: Colors in Raylib

2022-03-01 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 1 March 2022 at 13:15:09 UTC, meta wrote: enum Color { GRAY } void setColor(Color color); setColor(GRAY); Then that defeats the purpose of having named enums.

Re: Cannot Call Super-Class Overloaded Function If Class has Function Override?

2022-03-01 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 1 March 2022 at 09:10:46 UTC, Vijay Nayar wrote: I'm a bit surprised at this behavior though. Do you happen to know why it is considered bad to take into account the overloads of a super-class when resolving a call in a derived-class? https://dlang.org/articles/hijack.html

Re: opCast in class prevents destroy

2022-03-01 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 1 March 2022 at 07:16:11 UTC, bauss wrote: Right now if you want to add an additional cast then you have to implement ALL the default behaviors and then add your custom cast. It's two template functions like the OP used: one for T to catch everything, and one specialization.

Re: opCast in class prevents destroy

2022-02-28 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 1 March 2022 at 04:59:49 UTC, Mike Parker wrote: You could also specialize on `void*`, as that's the type that was failing to compile I meant "instead", not also.

Re: opCast in class prevents destroy

2022-02-28 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 1 March 2022 at 04:29:56 UTC, cc wrote: ```d struct A {} class B { A opCast(T : A)() { return A(); } } void main() { auto b = new B(); destroy(b); } ``` fails with ``` dmd2\windows\bin\..\..\src\druntime\import\object.d(4209): Error:

Re: Colors in Raylib

2022-02-28 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 1 March 2022 at 02:42:52 UTC, Steven Schveighoffer wrote: On 2/28/22 6:48 AM, Salih Dincer wrote: In general, the raylib enumerations are overly verbose for D, e.g. `KeyboardKey.KEY_X`, instead of just `KeyboardKey.X`. I'd love to provide "better enums". In Derelict, I

Re: https://run.dlang.io/ vs All dmd compilers (2.060 - latest)

2022-02-28 Thread Mike Parker via Digitalmars-d-learn
On Monday, 28 February 2022 at 17:44:57 UTC, Matheus wrote: On Monday, 28 February 2022 at 02:31:57 UTC, Mike Parker wrote: ... Hey Parker, I think my IP still under surveillance, everytime I post I get: "Your message has been saved, and will be posted after being approved by a

Re: Colors in Raylib

2022-02-28 Thread Mike Parker via Digitalmars-d-learn
On Monday, 28 February 2022 at 11:48:59 UTC, Salih Dincer wrote: Hi All, Is there a namespace I should implement in Raylib? For example, I cannot compile without writing Colors at the beginning of the colors: ```Colors.GRAY``` SDB@79 Assuming you mean the raylib-d binding, it implements

Re: https://run.dlang.io/ vs All dmd compilers (2.060 - latest)

2022-02-27 Thread Mike Parker via Digitalmars-d-learn
On Monday, 28 February 2022 at 01:51:52 UTC, meta wrote: Is the source of 'run.dlang.io' available somewhere? The link to the github repository is at the top of the run.dlang.io page: https://github.com/dlang-tour/core Issues should be reported there.

D Language Foundation Monthly Meeting for February 2022

2022-02-27 Thread Mike Parker via Digitalmars-d-announce
## Monthly Meeting The D Language Foundation's monthly meeting for February 2022 took place on February 4 and lasted around 1.5 hours. The following foundation members, contractors, and contributors attended: Walter Bright Iain Buclaw Ali Çehreli Max Haughton Martin Kinkelin Mathias Lang

Re: Our New Pull-Request and Issue Manager

2022-02-24 Thread Mike Parker via Digitalmars-d-announce
On Thursday, 24 February 2022 at 13:16:09 UTC, Tejas wrote: Is this a full-time position or part-time? I remember Razvan's was part-time when he started, don't know whether that got elevated to full-time either Part-time.

Our New Pull-Request and Issue Manager

2022-02-24 Thread Mike Parker via Digitalmars-d-announce
In January, I announced that we were looking to fill the vacant Pull-Request and Issue Manager position sponsored by Symmetry Investments. We received some applications, Symmetry evaluated them, and we agreed on a candidate we believe is perfect for the job. He is a frequent contributor and

Re: Why writeln can't be converted to nothrow with just catching of StdioException

2022-02-21 Thread Mike Parker via Digitalmars-d-learn
On Monday, 21 February 2022 at 11:07:55 UTC, Basile B. wrote: Yeah there must be another one then. Something actionnable is the documentation. This has nothing to do with which exceptions types a function throws. The compiler doesn't dig into that. You have to catch `Exception`. ```D

Re: Why writeln can't be converted to nothrow with just catching of StdioException

2022-02-21 Thread Mike Parker via Digitalmars-d-learn
On Monday, 21 February 2022 at 11:11:28 UTC, partypooper wrote: So with such behavior there is no reason at all to make make function nothrow, if it uses throw functions in its body? I'm not sure what you mean. If a function throws an exception, it can't be nothrow. And as much as I

Re: Why writeln can't be converted to nothrow with just catching of StdioException

2022-02-21 Thread Mike Parker via Digitalmars-d-learn
On Monday, 21 February 2022 at 10:49:13 UTC, partypooper wrote: Do I completely not understand what is `nothrow` or why I can't make function nothrow with just catching StdioException? D does not have checked exceptions like Java, so the compiler doesn't have anyway to verify that any

Re: DConf '22 Call for Submissions (the web is now live)

2022-02-20 Thread Mike Parker via Digitalmars-d-announce
On Monday, 21 February 2022 at 07:32:48 UTC, ezneh wrote: Just small a type as well: perihpery -> periphery Thanks. The mobile version should be fixed now, too.

Re: DConf '22 Call for Submissions (the web is now live)

2022-02-20 Thread Mike Parker via Digitalmars-d-announce
On Monday, 21 February 2022 at 06:24:45 UTC, Mike Parker wrote: I've just deployed the DConf '22 web page with the details on how to submit a talk: https://dconf.org/2022/ I've managed to goof up the small-screen version of the site. I'm working on it, so you might want to wait to view it

DConf '22 Call for Submissions (the web is now live)

2022-02-20 Thread Mike Parker via Digitalmars-d-announce
I've just deployed the DConf '22 web page with the details on how to submit a talk: https://dconf.org/2022/ In the Call for Submissions, I quoted Ali's remark from DConf Online 2020 because he's absolutely right. In the run up to every DConf I've been involved in organizing, there have

Re: Teaching D at a Russian University

2022-02-20 Thread Mike Parker via Digitalmars-d-announce
On Sunday, 20 February 2022 at 11:04:45 UTC, Patrick Schluter wrote: I read that the "for" as an equivalent of "because" was indeed almost extinct but was more or less resurrected by Tolkien as he used it throughout Lord of the Rings and the

Re: Teaching D at a Russian University

2022-02-20 Thread Mike Parker via Digitalmars-d-announce
On Sunday, 20 February 2022 at 10:58:57 UTC, Mike Parker wrote: On Sunday, 20 February 2022 at 09:58:39 UTC, Ogi wrote: On Sunday, 20 February 2022 at 03:23:03 UTC, Walter Bright wrote: So do I. I enjoy the unusual phrasings some ESL people use. Translator here. Actually, that was our

Re: Teaching D at a Russian University

2022-02-20 Thread Mike Parker via Digitalmars-d-announce
On Sunday, 20 February 2022 at 09:58:39 UTC, Ogi wrote: On Sunday, 20 February 2022 at 03:23:03 UTC, Walter Bright wrote: So do I. I enjoy the unusual phrasings some ESL people use. Translator here. Actually, that was our collective effort towards weird wording. The original translation I

Teaching D at a Russian University

2022-02-19 Thread Mike Parker via Digitalmars-d-announce
A while back, Grigorii Smorkalov shared on these forums [a blog post he had written] in Russian describing his experience teaching D at a Humanities university in Russia. He has since updated the post to cover the intervening years, and Georgy Markov translated it into English for the D blog.

Re: DIP 1035--@system Variables--Final Review Begins

2022-02-19 Thread Mike Parker via Digitalmars-d-announce
On Saturday, 19 February 2022 at 12:46:34 UTC, Guillaume Piolat wrote: On Saturday, 19 February 2022 at 12:30:03 UTC, Mike Parker wrote: The Final Review for DIP 1035, "@nodiscard", has begun. Erratum: The Final Review for DIP 1035, "@system variables", has begun. Thanks.

DIP 1035--@system Variables--Final Review Begins

2022-02-19 Thread Mike Parker via Digitalmars-d-announce
The Final Review for DIP 1038, "@nodiscard", has begun. The Final Review is the last check to make sure everything is in good shape. Generally, we aren't looking for major revisions to the DIP unless someone notices something critical. This is a chance for any revisions made in the previous

SAOC 2021 Results

2022-02-19 Thread Mike Parker via Digitalmars-d-announce
SAOC 2021 ended on January 15th. Only two participants made it to the fourth milestone this year: Teodor Dutu (replace DRuntime hooks with templates) and Luís Ferreira (LLDB integration with D). We had an unusual result with from the judges this time. Two of them split, and the third couldn't

Re: DConf 2022 in London?

2022-02-16 Thread Mike Parker via Digitalmars-d-announce
On Tuesday, 15 February 2022 at 12:22:05 UTC, Mike Parker wrote: Yes! Thanks to Symmetry Investments, DConf 2022 is happening in London Aug 1-4. I'll have the web site up soon (waiting to make sure there's no issue with our logo), but I wanted to get the news out ASAP since I have permission

Re: DConf 2022 in London?

2022-02-16 Thread Mike Parker via Digitalmars-d-announce
On Wednesday, 16 February 2022 at 12:48:33 UTC, Robert Schadek wrote: Yes please, sign me up My flights are booked as of 15 minutes ago. Making a three-week trip out of it.

DConf 2022 in London?

2022-02-15 Thread Mike Parker via Digitalmars-d-announce
Yes! Thanks to Symmetry Investments, DConf 2022 is happening in London Aug 1-4. I'll have the web site up soon (waiting to make sure there's no issue with our logo), but I wanted to get the news out ASAP since I have permission now to announce it. Once the site is up, you'll find the details

Re: Offline D documentation/tutorial

2022-02-12 Thread Mike Parker via Digitalmars-d-learn
On Sunday, 13 February 2022 at 00:16:02 UTC, LorenDB wrote: Is there a way to download tour.dlang.org, the D spec, and/or the Phobos spec as an offline HTML site? I like the ability of cppreference.com to be saved as an offline HTML archive and I'd like to have that for D as well. If you’ve

DIP 1043--Shortened Method Syntax--Community Review Round 1 Begins

2022-02-04 Thread Mike Parker via Digitalmars-d-announce
The first round of Community Review for DIP 1043, "Shortened Method Syntax", is now underway. Please discuss the DIP (its merits, its implementation, peripheral topics, etc.) in the Discussion Thread and save all review feedback (critiques on the content of the DIP: what to change, how to

Re: DIP 1038--"@mustUse" (formerly "@noDiscard")--Accepted

2022-02-02 Thread Mike Parker via Digitalmars-d-announce
On Wednesday, 2 February 2022 at 21:23:16 UTC, Dukc wrote: So this explains why the DIP lingered so long in formal assessment. I think the reason for the delay is good in itself, but it would have been better to update us a bit more on why the assessment is taking so long. From the outside

On the D Blog: A Gas Dynamics Toolkit in D

2022-02-02 Thread Mike Parker via Digitalmars-d-announce
The University of Queensland's Centre for Hypersonics has [a gas dynamics toolkit](https://gdtk.uqcloud.net/) that, since 1994, has evolved from C, to C++, and now to D. Peter Jacobs, Rowan Gallon, and Kyle Damm wrote a little about it for the D Blog. The blog:

DIP 1038--"@mustUse" (formerly "@noDiscard")--Accepted

2022-01-28 Thread Mike Parker via Digitalmars-d-announce
Congratulations to Paul Backus. DIP 1038, "@mustUse" has been accepted after he implemented changes to address concerns from Walter. https://github.com/dlang/DIPs/blob/master/DIPs/accepted/DIP1038.md During the Formal Assessment, Walter and Paul discussed a few aspects of the original

From the D Blog: The Binary Language of Moisture Vaporators

2022-01-24 Thread Mike Parker via Digitalmars-d-announce
Some of you may be aware that Walter recently added a disassembler to DMD. He writes about it in his latest post for the D blog. The blog: https://dlang.org/blog/2022/01/24/the-binary-language-of-moisture-vaporators/ Reddit:

Re: DConf Online 2021 Q & A Videos

2022-01-24 Thread Mike Parker via Digitalmars-d-announce
On Sunday, 5 December 2021 at 11:01:05 UTC, Mike Parker wrote: I'll likely be working on this for the remainder of this month. I'll try to get them out every three or four days, and I'll continue to update this thread with the new links. I've finally wrapped up Max's Q & A video. You can

D Language Quarterly Meeting Summary for January 2021

2022-01-21 Thread Mike Parker via Digitalmars-d-announce
I had a severe case of user error going into our January meeting. I had previously disabled audio input in OBS Studio for a project I was working on. I then forgot to enable it when I recorded the meeting. The text chat in Jitsi Meet, which I always make a point to keep open when recording,

On the D Blog: Using the GCC Static Analyzer on the D Programming Language

2022-01-14 Thread Mike Parker via Digitalmars-d-announce
If you saw Max Haughton's [DConf Online 2021 presentation](https://youtu.be/6TDZa5LUBzY) (Q & A video coming soon), or followed his remarks here in the forums or the D Community Discord, you know that profiling and static analysis are among his major interests. The DConf Online video was all

Re: D Language Foundation Monthly Meeting Summary (September 24, 2021)

2022-01-13 Thread Mike Parker via Digitalmars-d-announce
On Friday, 14 January 2022 at 06:12:51 UTC, Konstantin wrote: Hello, Max! Are there any news or estimates about the roadmap? I posted a note about it in a meeting summary or a blog post (can't remember where) a few weeks ago. But the short of it: in the process of revising it, I realized

Re: DConf Online 2021 Q & A Videos

2022-01-12 Thread Mike Parker via Digitalmars-d-announce
On Sunday, 5 December 2021 at 11:01:05 UTC, Mike Parker wrote: I'll try to get them out every three or four days, and I'll continue to update this thread with the new links. Robert's Q & A is here: https://youtu.be/Et5Bs4WtEp0 And his talk ('GraphQL for D: Do the Boring Things'):

DIP 1042--ProtoObject--Community Review Round 1 Begins

2022-01-10 Thread Mike Parker via Digitalmars-d-announce
The first round of Community Review for DIP 1042, "ProtoObject", is now underway. Please discuss the DIP (its merits, its implementation, peripheral topics, etc.) in the Discussion Thread and save all review feedback (critiques on the content of the DIP: what to change, how to improve it,

New Year DLang News: Hello 2022

2022-01-05 Thread Mike Parker via Digitalmars-d-announce
My latest post on the D Blog summarizes some of the many little things that added up to make 2021 an overall good year for D, provides some updates on current happenings, and lists a few things we can expect to see in 2022. https://dlang.org/blog/2022/01/05/new-year-dlang-news-hello-2022/ If

Re: DConf Online 2021 Q & A Videos

2022-01-02 Thread Mike Parker via Digitalmars-d-announce
On Sunday, 5 December 2021 at 11:01:05 UTC, Mike Parker wrote: I'll likely be working on this for the remainder of this month. I'll try to get them out every three or four days, and I'll continue to update this thread with the new links. Elijah's Q & A is here:

Re: DConf Online 2021 Q & A Videos

2021-12-29 Thread Mike Parker via Digitalmars-d-announce
On Sunday, 5 December 2021 at 11:01:05 UTC, Mike Parker wrote: I'll likely be working on this for the remainder of this month. I'll try to get them out every three or four days, and I'll continue to update this thread with the new links. Walter's Q & A is available here:

Re: D Language Foundation Monthly Meeting, December 2021

2021-12-28 Thread Mike Parker via Digitalmars-d-announce
On Monday, 27 December 2021 at 20:36:01 UTC, Dennis wrote: On Monday, 27 December 2021 at 06:40:30 UTC, Mike Parker wrote: He then talked about a discovery he had made when playing around with the DMD internals which he isn't yet ready to publicize. Is this something good or bad? It not a

D Language Foundation Monthly Meeting, December 2021

2021-12-26 Thread Mike Parker via Digitalmars-d-announce
This meeting was originally supposed to take place on the fourth Friday in November, but given that the day before that was Thanksgiving Day in America (and is so every November), we moved it to the first Friday in December. Then given that the fourth Friday in December this year was Christmas

On the D Blog -- Teaching D from Scratch: Is it a viable first language?

2021-12-23 Thread Mike Parker via Digitalmars-d-announce
Steven Schveighoffer has been using D to teach a group of children to program. He wrote about his experience for the D blog. Is D a viable first language? See what Steve has to say about it :-) The blog: https://dlang.org/blog/2021/12/23/teaching-d-from-scratch-is-it-a-viable-first-language/

Re: DConf Online 2021 Q & A Videos

2021-12-20 Thread Mike Parker via Digitalmars-d-announce
On Monday, 20 December 2021 at 10:49:14 UTC, Mike Parker wrote: His talk, 'Metaprogramming in D', is here: https://youtu.be/4Uu96MEoHqk Sorry, that's Brian's talk. Brad's is here: https://youtu.be/0lo-FOeWecA

Re: DConf Online 2021 Q & A Videos

2021-12-20 Thread Mike Parker via Digitalmars-d-announce
On Sunday, 5 December 2021 at 11:01:05 UTC, Mike Parker wrote: I'll likely be working on this for the remainder of this month. I'll try to get them out every three or four days, and I'll continue to update this thread with the new links. Amendment to the above: every three or four or

Re: ImportC: Should this compile?

2021-12-18 Thread Mike Parker via Digitalmars-d-learn
On Sunday, 19 December 2021 at 03:27:50 UTC, Tejas wrote: Oh wow, the executable gets named `stuff` if that's the first file passed... always thought it would name it the same name as that file which contained `main` If the name of the file with `main` were used, you'd have to have a

Re: ImportC: Should this compile?

2021-12-18 Thread Mike Parker via Digitalmars-d-learn
On Saturday, 18 December 2021 at 22:31:38 UTC, bachmeier wrote: I've been trying to get the stb header library to compile. There's a single remaining failure: ``` typedef struct { unsigned char c[4]; } stb_easy_font_color; stb_easy_font_color c = { 255,255,255,255 }; // use structure

Re: Passing a derived class where base class is defined as ref parameter

2021-12-13 Thread Mike Parker via Digitalmars-d-learn
On Monday, 13 December 2021 at 22:06:45 UTC, chopchop wrote: If I remove the ref, it works as expected, that is to say I can give a derived class as parameter. I have an idea why it does not work, but I think a c++ reference would work, ie incr(A& console) would accept a B as parameter. What

Re: DConf Online 2021 Q & A Videos

2021-12-13 Thread Mike Parker via Digitalmars-d-announce
On Sunday, 5 December 2021 at 11:01:05 UTC, Mike Parker wrote: I'll likely be working on this for the remainder of this month. I'll try to get them out every three or four days, and I'll continue to update this thread with the new links. Brian's Q & A video is here:

He Wrote a High-Frequency Trading Platform in D

2021-12-11 Thread Mike Parker via Digitalmars-d-announce
Georges Toutoungis shared his D user experience on the D blog. He went from being excited, to dismissive, to using D to implement an HFT and never looking back. The blog: https://dlang.org/blog/2021/12/11/i-wrote-a-high-frequency-trading-platform-in-d/ Reddit:

Re: DConf Online 2021 Q & A Videos

2021-12-08 Thread Mike Parker via Digitalmars-d-announce
On Sunday, 5 December 2021 at 11:01:05 UTC, Mike Parker wrote: Stefan's Q & A session is next. Stefan's Q & A video is here: https://youtu.be/dO9X33OadSU And his talk is here: https://youtu.be/05j8EHSyGSc

DConf Online 2021 Q & A Videos

2021-12-05 Thread Mike Parker via Digitalmars-d-announce
I took a week off from nearly all things D after DConf Online 2021. I got back to work at the beginning of this week. After I got caught up on a few things, I started in on editing the Q & A livestream into slimmed down independent videos. The first one, the Q & A with Átila, has been

Re: A pass() identity range?

2021-12-02 Thread Mike Parker via Digitalmars-d-learn
On Thursday, 2 December 2021 at 15:03:47 UTC, D Lark wrote: Because it does not seem like that from the tone of responses I have gotten: I did my due diligence, I believe, before posting my original reply to the old question. I had looked at the docs and also searched the forum. There is no

Re: How to deploy single exe application (?)

2021-11-28 Thread Mike Parker via Digitalmars-d-learn
On Sunday, 28 November 2021 at 22:45:29 UTC, Willem wrote: // load sdl string uuid = randomUUID().toString(); string filename = format("SDL2-%s.dll", uuid); string depacked = buildPath(tempDir(), filename); std.file.write(depacked, sdlBytes); DerelictSDL2.load(depacked);

The Winners of the Last Two Prizes and Q & A Videos

2021-11-21 Thread Mike Parker via Digitalmars-d-announce
Apologies again for the SNAFU at the end of the Q & A livestream. I managed to leave off a quotation mark from one of the strings in my names array for the daily prize. Then after I successfully ran it, I found I had an *extra* quotation mark in the names array for the grand prize. Had I

Re: DConf Online 2021 Links

2021-11-21 Thread Mike Parker via Digitalmars-d-announce
On Sunday, 21 November 2021 at 20:18:59 UTC, Brian Callahan wrote: Congrats to Mike on a job well done as our MC for the weekend! ~Brian Thanks, Brian!

Re: DConf Online 2021 Links

2021-11-21 Thread Mike Parker via Digitalmars-d-announce
On Sunday, 21 November 2021 at 13:52:56 UTC, zjh wrote: On Sunday, 21 November 2021 at 13:46:06 UTC, Mike Parker wrote: The Day Two Q & A Livestream starts soon! Is there a text version of the video? Sorry, no.

Re: DConf Online 2021 Links

2021-11-21 Thread Mike Parker via Digitalmars-d-announce
On Friday, 19 November 2021 at 10:10:11 UTC, Mike Parker wrote: * [Day Two Q & A Livestream](https://youtu.be/QbGGLoXwIf0) - opens at 13:45 UTC The Day Two Q & A Livestream starts soon!

DConf Online 2021 Links

2021-11-19 Thread Mike Parker via Digitalmars-d-announce
The DConf Online 2021 talks and livestreams are set and ready to go at their appointed times this weekend. All the links [are available on dconf.org](https://dconf.org/2021/online/index.html), but I'm also posting them here for convenience. Don't forget: * each speaker will each join the Q

Re: Are templated functions always re-constructed?

2021-11-16 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 16 November 2021 at 21:14:50 UTC, rempas wrote: Let's say that I have the following function: ``` void add(T)(T val, T val2) { return val + val2; } // Classic example, lol ``` Now let's say that I call the function passing an `int` parameter. The function will get built with an

Re: DConf Online 2021 T-Shirts

2021-11-15 Thread Mike Parker via Digitalmars-d-announce
On Monday, 15 November 2021 at 08:25:21 UTC, aberba wrote: On Wednesday, 20 October 2021 at 09:55:32 UTC, Mike Parker wrote: During DConf Online, we hand out prizes to random questioners, one per talk, and provide swag to each speaker. Each of the speakers will receive a DConf Online 2021

How to Get Your Groove On at DConf Online 2021

2021-11-14 Thread Mike Parker via Digitalmars-d-announce
We've got less than a week to go until DConf Online 2021! Since a few people last year weren't sure what they should be watching when, I decided this time to put out a brief video guide that describes all four components of DConf Online and provides a recommendation on how to participate. Of

Re: D modules

2021-11-13 Thread Mike Parker via Digitalmars-d-learn
On Saturday, 13 November 2021 at 22:52:55 UTC, pascal111 wrote: When I'm searching for "toUpper" and "toLower" functions that string type uses, I confused when I reached the module "std.string". In the first section of its page "https://dlang.org/phobos/std_string.html; I didn't found

Re: Time to setup D's wallet

2021-11-10 Thread Mike Parker via Digitalmars-d-announce
On Wednesday, 10 November 2021 at 07:57:59 UTC, workman wrote: I am not sure D has that kind users. https://github.com/bosagora

Re: Beerconf for Dconf

2021-11-08 Thread Mike Parker via Digitalmars-d-announce
On Monday, 8 November 2021 at 12:18:49 UTC, Steven Schveighoffer wrote: However, before/after the main events, it was a pretty good hangout space. Given that we've got breaks of 15 - 20+ minutes incorporated into the schedule this year, there'll be time for anyone who wants to jump into

<    1   2   3   4   5   6   7   8   9   10   >