May 10, 2023

On Wednesday, 10 May 2023 at 03:57:59 UTC, anonymouse wrote:

>

I think that worked for you because although you have set mirstat as a dependency, you are not actually linking against it. Try import mir.stat; into app.d and rebuild.

-- anonymouse

Ignore that... Just saw your comment regard editing app.d

May 10, 2023

On Wednesday, 10 May 2023 at 02:48:02 UTC, anonymouse wrote:

>

On Tuesday, 2 May 2023 at 00:34:45 UTC, Iain Buclaw wrote:

>

Glad to announce the first beta for the 2.104.0 release, ♥ to the 36 contributors.

A couple days ago I ran into an issue that was solved by https://issues.dlang.org/show_bug.cgi?id=23846 so I upgraded to this beta. I just initialized a dub project to try to use mir.stat

[snip]

Does it matter if instead of importing mir-stat you use mir-algorithm or std.math?

mir-stat also doesn't include mac os as part of the test suite (mir-algorithm does). PRs are welcome.

May 10, 2023

On Tuesday, 2 May 2023 at 00:34:45 UTC, Iain Buclaw wrote:

>

This release comes with 11 major changes, including:

  • In the standard library, std.typecons.Rebindable now supports all types

Tiny note of warning: Rebindable supports all types that it did not previously support, including structs. However, the previous Rebindable had a special logic where if you passed it an array, it would simply alias itself to Unqual!ElementType[]. So you cannot rely that if you write Rebindable!T foo;, that you can then do foo.get.

I'm trying to fix that, but it's a bit controversial. My main argument is that ~nobody used to use it anyway, so we may as well fix it now as it's actually becoming useful.

May 10, 2023

This reminds me of an LDC bug fixed recently. I bet DMD suffers from a similar problem: https://github.com/ldc-developers/ldc/issues/3864

-Steve

May 10, 2023

On Wednesday, 10 May 2023 at 12:34:00 UTC, Steven Schveighoffer wrote:

>

This reminds me of an LDC bug fixed recently. I bet DMD suffers from a similar problem: https://github.com/ldc-developers/ldc/issues/3864

-Steve

MACOSX_DEPLOYMENT_TARGET fixed it for me recently when I was getting the "not aligned" problems with rosetta dmd on macos.

May 10, 2023

On Wednesday, 10 May 2023 at 10:22:23 UTC, jmh530 wrote:

>

mir-stat also doesn't include mac os as part of the test suite (mir-algorithm does). PRs are welcome.

Actually, it happens even when you don't import anything. As for PRs, I would if I could. Although I've been around the community for a while, I'm definitely the most unskilled member here. Just got ticked off at myself over the weekend and picked up my first stats book ever with the intent to build a solid foundation and gain the skills necessary to help out.

--anonymouse

May 10, 2023

On Wednesday, 10 May 2023 at 12:34:00 UTC, Steven Schveighoffer wrote:

>

This reminds me of an LDC bug fixed recently. I bet DMD suffers from a similar problem: https://github.com/ldc-developers/ldc/issues/3864

-Steve

And it is. Just tried the workaround proposed (export MACOSX_DEPLOYMENT_TARGET=11) and it resolved the issue. Thank you.

-- anonymouse

1 2
Next ›   Last »