Re: Uninstalling DMG file

2019-10-15 Thread Joel via Digitalmars-d-learn
On Wednesday, 16 October 2019 at 02:30:58 UTC, Joel wrote: How would I go about uninstalling D's DMG file, (as I'm weary of installing it)? I usually, use Home Brew, but the lastest on that doesn't work (macOS Catalina). I guess I can just wipe off the executable files that DMG produces,

Uninstalling DMG file

2019-10-15 Thread Joel via Digitalmars-d-learn
How would I go about uninstalling D's DMG file, (as I'm weary of installing it)? I usually, use Home Brew, but the lastest on that doesn't work (macOS Catalina). I guess I can just wipe off the executable files that DMG produces, aye?

Re: Blog Post #79: Notebook, Part III - Customized Tabs, Part I

2019-10-15 Thread WebFreak001 via Digitalmars-d-learn
On Tuesday, 15 October 2019 at 20:03:00 UTC, Ron Tarrant wrote: On Tuesday, 15 October 2019 at 14:00:32 UTC, WebFreak001 wrote: thank you so much for these tutorials! I love how they are progressing. Thanks, WebFreak001. Small, simple and concise topics with good images, nice drawings, and

Re: Blog Post #79: Notebook, Part III - Customized Tabs, Part I

2019-10-15 Thread Ron Tarrant via Digitalmars-d-learn
On Tuesday, 15 October 2019 at 14:00:32 UTC, WebFreak001 wrote: thank you so much for these tutorials! I love how they are progressing. Thanks, WebFreak001. Small, simple and concise topics with good images, nice drawings, and most importantly, paragraphs explaining the logic along with

Re: Permission to Use Comments?

2019-10-15 Thread Ron Tarrant via Digitalmars-d-learn
On Monday, 14 October 2019 at 15:36:44 UTC, Jesse Phillips wrote: Pretty sure since this is a public forum, legally you just need to reference your sources (if even that). Asking permission is just polite. Well, yes and no. According to the FTC (U.S.) and the Federal Competition Bureau

Re: Permission to Use Comments?

2019-10-15 Thread Ron Tarrant via Digitalmars-d-learn
On Tuesday, 15 October 2019 at 14:33:27 UTC, Russel Winder wrote: Not I. I am happy for comments I make regarding GtkDCoding on this email list to be used above my name on the GtkDCoding website. Thanks, Russel.

Re: Mixin and introspection ordering

2019-10-15 Thread Paul Backus via Digitalmars-d-learn
On Tuesday, 15 October 2019 at 19:19:58 UTC, Sebastiaan Koppe wrote: You would expect 2 to print `tuple(a)` as well, but it doesn't. Don't know if it is a bug. Any time you use a construct that mutates the AST (template mixin, string mixin, static if, static foreach), it's possible to catch

Mixin and introspection ordering

2019-10-15 Thread Sebastiaan Koppe via Digitalmars-d-learn
Sometimes ordering is important when combining mixins and introspection, this is another such case: ``` import std.traits; enum myuda; mixin template Slot(string name) { mixin("@myuda int "~name~";"); } struct OuterOption { mixin Slot!"a"; } struct App { pragma(msg,

Re: Get variable symbol name that was passed to a paramater?

2019-10-15 Thread Arredondo via Digitalmars-d-learn
So, 6 years later, what is the idiomatic way of doing this? Has there been any progress on this matter? As far as I can tell from this thread, all proposed solutions are imperfect in some way, which is a shame for a language with "Second to none reflection". Arredondo. On Saturday, 9

Re: Permission to Use Comments?

2019-10-15 Thread Russel Winder via Digitalmars-d-learn
On Mon, 2019-10-14 at 15:36 +, Jesse Phillips via Digitalmars-d-learn wrote: […] > Pretty sure since this is a public forum, legally you just need > to reference your sources (if even that). Asking permission is > just polite. […] But the forum/email list does not have terms of use that

Re: A proper WAT moment

2019-10-15 Thread Paul Backus via Digitalmars-d-learn
On Tuesday, 15 October 2019 at 09:34:41 UTC, Simen Kjærås wrote: void fun() { pragma(msg, __LINE__, " ", __traits(compiles,__traits(getMember, S, "e"))); } __traits(compiles) is lying to you again. If you replace it with __traits(getMember, S, "e") ...you'll get an error.

Re: Permission to Use Comments?

2019-10-15 Thread Russel Winder via Digitalmars-d-learn
On Mon, 2019-10-14 at 11:14 +, Ron Tarrant via Digitalmars-d-learn wrote: […] > 1) Does anyone know how copyright laws stand regarding reuse of > comments on a forum? IANAL, but… I believe emails, and I suspect forum posts, are copyright since they are literary works. Quoting them with

Re: Blog Post #79: Notebook, Part III - Customized Tabs, Part I

2019-10-15 Thread WebFreak001 via Digitalmars-d-learn
On Tuesday, 15 October 2019 at 12:07:22 UTC, Ron Tarrant wrote: Well, if that title isn't confusing, I'm not doing my job right. Today's post starts a three-part mini-series within the Notebook series on building customized tabs in a DrawingArea. There's a ton of stuff to go over; that's why

Re: Blog Post #77: Notebook, Part I

2019-10-15 Thread Ron Tarrant via Digitalmars-d-learn
On Wednesday, 9 October 2019 at 03:13:48 UTC, GreatSam4sure wrote: Is there any way to detect the size of my screen using gtkd? So that incan calculate the size of my screen and center my window on the screen using move(x, y). I was distracted last time I replied to this thread and so

Blog Post #79: Notebook, Part III - Customized Tabs, Part I

2019-10-15 Thread Ron Tarrant via Digitalmars-d-learn
Well, if that title isn't confusing, I'm not doing my job right. Today's post starts a three-part mini-series within the Notebook series on building customized tabs in a DrawingArea. There's a ton of stuff to go over; that's why it's in three parts. Anyway, the fun begins right here:

Re: A proper WAT moment

2019-10-15 Thread Simen Kjærås via Digitalmars-d-learn
On Tuesday, 15 October 2019 at 07:06:35 UTC, John Colvin wrote: On Monday, 14 October 2019 at 19:45:11 UTC, Paul Backus wrote: On Monday, 14 October 2019 at 17:00:56 UTC, John Colvin wrote: Different ability to access a property depending if I'm inside something else when I look? [snip]

Re: Undefined symbol: _dyld_enumerate_tlv_storage (OSX)

2019-10-15 Thread Joel via Digitalmars-d-learn
On Monday, 14 October 2019 at 18:49:04 UTC, Jacob Carlborg wrote: On 2019-10-14 07:36, Joel wrote: I use Home Brew (brew upgrade dmd, and brew upgrade dub) Brew is only up to 2.087.1 at the moment - John Colvin seems to be the man that mantains dmd with brew. You can use DVM [1] to install

Re: Undefined symbol: _dyld_enumerate_tlv_storage (OSX)

2019-10-15 Thread Joel via Digitalmars-d-learn
On Monday, 14 October 2019 at 18:49:04 UTC, Jacob Carlborg wrote: On 2019-10-14 07:36, Joel wrote: I use Home Brew (brew upgrade dmd, and brew upgrade dub) Brew is only up to 2.087.1 at the moment - John Colvin seems to be the man that mantains dmd with brew. You can use DVM [1] to install

Re: A proper WAT moment

2019-10-15 Thread John Colvin via Digitalmars-d-learn
On Monday, 14 October 2019 at 19:45:11 UTC, Paul Backus wrote: On Monday, 14 October 2019 at 17:00:56 UTC, John Colvin wrote: Different ability to access a property depending if I'm inside something else when I look? [snip] You're attempting to call one of S's member functions without an