Re: Is D overly complex?

2025-08-12 Thread Kagamin via Digitalmars-d-learn
On Tuesday, 5 August 2025 at 12:32:53 UTC, Brother Bill wrote: Every language has its "nits", even Eiffel. The concern is whether that is a straight forward approach to get things done, avoid the "dragons", and work with existing libraries without needing a "wizard" to cast some spells. I th

Re: Mir blas keeps giving an error

2025-08-12 Thread Marc via Digitalmars-d-learn
On Tuesday, 12 August 2025 at 10:05:59 UTC, Serg Gini wrote: On Tuesday, 12 August 2025 at 09:44:07 UTC, Nice. I've checked your repos - you probably also could be interested in projects: - Mojo lang, where tensors are integrated into the language https://docs.modular.com/max/api/c/tensor/ -

Re: Mir blas keeps giving an error

2025-08-12 Thread Serg Gini via Digitalmars-d-learn
On Tuesday, 12 August 2025 at 09:44:07 UTC, Marc wrote: I have updated the examples by adding a subconfiguration of mi-blas. Now it works. Nice. I've checked your repos - you probably also could be interested in projects: - Mojo lang, where tensors are integrated into the language https://doc

Re: Mir blas keeps giving an error

2025-08-12 Thread Marc via Digitalmars-d-learn
I have updated the examples by adding a subconfiguration of mi-blas. Now it works.

Re: How to plot a simple scatter plot using ggplotd

2025-08-12 Thread Marc via Digitalmars-d-learn
On Tuesday, 12 August 2025 at 07:18:45 UTC, Serg Gini wrote: ```d auto gg = xs.zip(ys) .map!((t) => aes!("x","y")(t[0], t[1])) .geomPoint.putIn(GGPlotD()); ``` Some examples can be found here: https://blackedder.github.io/ggplotd/example.html https://blackedder.github.io/

Re: Mir blas keeps giving an error

2025-08-12 Thread Marc via Digitalmars-d-learn
On Tuesday, 12 August 2025 at 07:13:58 UTC, Serg Gini wrote: BLAS can be a tricky-to-install library. Please provide your OS, dub.json/sdl and check that BLAS is installed. The examples dub.sdl is available here: https://github.com/istmarc/mir-examples/blob/main/dub.sdl . I've Archlinux inst

Re: Mir blas keeps giving an error

2025-08-12 Thread Serg Gini via Digitalmars-d-learn
On Tuesday, 12 August 2025 at 03:24:33 UTC, Marc wrote: Using mir-blas is fundamental for implementing linear models in D. However it keeps giving an error, other mir libraries work fine. I get the following error ```shell /usr/bin/ld: -f may not be used without -shared clang: error: linker c

Re: How to plot a simple scatter plot using ggplotd

2025-08-12 Thread Serg Gini via Digitalmars-d-learn
On Tuesday, 12 August 2025 at 02:23:49 UTC, Marc wrote: Hello everyone, I am trying to use ggplotd to visualize a data set before and after fitting a linear model. how ever i'm struggling to get it to work with a simple example. I tried the following and i get errors for boths: ```d import m