Re: length's type.

2024-02-09 Thread Gary Chike via Digitalmars-d-learn
On Friday, 9 February 2024 at 16:49:37 UTC, Gary Chike wrote: The underlying architecture of the language will often times dictate how certain constructs or design decisions are made. For example in Ada, every array has a `Length` attribute and it returns an `integer` type. And since Ada is

Re: How to unpack a tuple into multiple variables?

2024-02-09 Thread Gary Chike via Digitalmars-d-learn
On Thursday, 8 February 2024 at 06:09:29 UTC, Menjanahary R. R. wrote: Refactored it a bit to have a ready to run and easy to grasp code. Enjoy! Thank you Menjanahary R.! I've saved the code to review and learn from! :>

Re: Vibe D: Get access to files

2024-02-09 Thread Alexander Zhirov via Digitalmars-d-learn
In the files, dt specified the path to the files from the root `/style.css` and now, with any path from the root, files are loaded into the page, instead of `style.css`. My mistake.

Re: length's type.

2024-02-09 Thread Danilo via Digitalmars-d-learn
On Friday, 9 February 2024 at 12:15:29 UTC, Sergey wrote: Rust, Nim, Zig, Odin…? Here is the Forum for D(lang). ;) But it is fine to see what others have.. Teach on their experience is useful This is how research is going Sorry, I probably got confused by the use of different languages in

Re: length's type.

2024-02-09 Thread Gary Chike via Digitalmars-d-learn
On Friday, 9 February 2024 at 12:15:29 UTC, Sergey wrote: On Friday, 9 February 2024 at 08:04:56 UTC, Danilo wrote: Rust, Nim, Zig, Odin…? Here is the Forum for D(lang). ;) But it is fine to see what others have.. Teach on their experience is useful This is how research is going Thank you

Re: length's type.

2024-02-09 Thread Kevin Bailey via Digitalmars-d-learn
On Friday, 9 February 2024 at 11:00:09 UTC, thinkunix wrote: First off I, I am just a beginner with D. I joined this list to try to learn more about the language not to but heads with experts. I'm sorry if you took my response that way. Hi thinkunix, I did interpret your post as

Re: length's type.

2024-02-09 Thread bachmeier via Digitalmars-d-learn
On Friday, 9 February 2024 at 11:00:09 UTC, thinkunix wrote: If your issue is that the compiler didn't catch this, shouldn't you raise the issue on a compiler internals list? Maybe I've misunderstood the purpose of d-learn "Questions about learning and using D". It's been discussed many,

Re: std.uni CodepointSet toString

2024-02-09 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
On 09/02/2024 9:04 PM, Danilo wrote: Instead of bug fixing and stabilization, people concentrate on getting new stuff like ˋ:blubˋ into the language. Umm, I take it that you didn't know that one of the reasons we spent the past year focusing on bug fixing and stabilization is because of my

Re: length's type.

2024-02-09 Thread Sergey via Digitalmars-d-learn
On Friday, 9 February 2024 at 08:04:56 UTC, Danilo wrote: Rust, Nim, Zig, Odin…? Here is the Forum for D(lang). ;) But it is fine to see what others have.. Teach on their experience is useful This is how research is going

Re: length's type.

2024-02-09 Thread thinkunix via Digitalmars-d-learn
Kevin Bailey via Digitalmars-d-learn wrote: On Thursday, 8 February 2024 at 08:23:12 UTC, thinkunix wrote: I would never write code like this. By all means, please share with us how you would have written that just as elegantly but "correct". First off I, I am just a beginner with D. I

Re: How to get the client's MAC address in Vibe

2024-02-09 Thread Alexander Zhirov via Digitalmars-d-learn
On Thursday, 8 February 2024 at 01:05:57 UTC, Mengu wrote: On Wednesday, 7 February 2024 at 22:16:54 UTC, Alexander Zhirov wrote: Is there a way to identify a client by MAC address when using the Vibe library? The `NetworkAddress` [structure](https://vibed.org/api/vibe.core.net/NetworkAddress)

Re: How to get the client's MAC address in Vibe

2024-02-09 Thread Alexander Zhirov via Digitalmars-d-learn
On Thursday, 8 February 2024 at 14:21:13 UTC, Steven Schveighoffer wrote: On Wednesday, 7 February 2024 at 22:16:54 UTC, Alexander Zhirov wrote: Is there a way to identify a client by MAC address when using the Vibe library? The `NetworkAddress`

Re: std.uni CodepointSet toString

2024-02-09 Thread Danilo via Digitalmars-d-learn
On Thursday, 8 February 2024 at 18:43:09 UTC, H. S. Teoh wrote: 11 years and we still haven't fixed all the problems?! That's ... wow. Incredible! Seems like D is experiencing featuritis. Priorities may be wrong. Instead of bug fixing and stabilization, people concentrate on getting new