Re: Fetching licensing info for all dependencies of a DUB project

2022-06-28 Thread Guillaume Piolat via Digitalmars-d-learn
On Monday, 27 June 2022 at 21:36:31 UTC, Christian Köstlin wrote: I played around with the idea and came up with a small dub package, that is not (yet) uploaded to the dub registry. Source is available at https://github.com/gizmomogwai/packageinfo, feedback very welcome. I've done somethin

ePub/Mobi/AZW3/PDF of Phobos Runtime Library

2022-06-28 Thread Marcone via Digitalmars-d-learn
Beloved, I love programming in D. D is my favorite programming language. I'm not a professional programmer, but I love to program. I would like to learn D deeply. Most programming languages have a PDF/CHM/MOBI/ePub version of the standard library. But D still doesn't have such a portable ver

Re: ePub/Mobi/AZW3/PDF of Phobos Runtime Library

2022-06-28 Thread Steven Schveighoffer via Digitalmars-d-learn
On 6/28/22 2:42 PM, Marcone wrote: I love programming in D. D is my favorite programming language. I'm not a professional programmer, but I love to program. I would like to learn D deeply. Most programming languages have a PDF/CHM/MOBI/ePub version of the standard library. But D still doesn't h

Re: ePub/Mobi/AZW3/PDF of Phobos Runtime Library

2022-06-28 Thread forkit via Digitalmars-d-learn
On Tuesday, 28 June 2022 at 18:42:11 UTC, Marcone wrote: Beloved, I love programming in D. D is my favorite programming language. I'm not a professional programmer, but I love to program. I would like to learn D deeply. Most programming languages have a PDF/CHM/MOBI/ePub version of the stand

Re: ePub/Mobi/AZW3/PDF of Phobos Runtime Library

2022-06-28 Thread Marcone via Digitalmars-d-learn
On Tuesday, 28 June 2022 at 19:06:48 UTC, Steven Schveighoffer wrote: On 6/28/22 2:42 PM, Marcone wrote: [...] We used to have this, it wasn't used, and keeping it building was a drain on resources. What is wrong with the online docs? What dissemination do you think could happen if we had it

Re: ePub/Mobi/AZW3/PDF of Phobos Runtime Library

2022-06-28 Thread Marcone via Digitalmars-d-learn
On Tuesday, 28 June 2022 at 20:38:10 UTC, forkit wrote: On Tuesday, 28 June 2022 at 18:42:11 UTC, Marcone wrote: [...] So assuming i understand what you're asking for here, it already exists. When you download D, you get a directory named 'html'. In that directory is a file named 'index.ht

Re: ePub/Mobi/AZW3/PDF of Phobos Runtime Library

2022-06-28 Thread Marcone via Digitalmars-d-learn
Is there any way to do this automatically like Python? https://docs.python.org/3/download.html

Re: ePub/Mobi/AZW3/PDF of Phobos Runtime Library

2022-06-28 Thread forkit via Digitalmars-d-learn
On Tuesday, 28 June 2022 at 21:14:42 UTC, Marcone wrote: Is there any way to do this automatically like Python? https://docs.python.org/3/download.html Of course there is. But someone has to volunteer their time and effort to do it ;-)

Re: DIP1000

2022-06-28 Thread Loara via Digitalmars-d-learn
On Friday, 24 June 2022 at 18:31:14 UTC, Ola Fosheim Grøstad wrote: The objects are in the calling function, not in the connect() function. So they are not destroyed when the connect() function returns. When `connect()` returns may happen that `b` is destroyed but `a` not, so `a.next` contain

Re: DIP1000

2022-06-28 Thread Ola Fosheim Grøstad via Digitalmars-d-learn
On Tuesday, 28 June 2022 at 21:40:44 UTC, Loara wrote: When `connect()` returns may happen that `b` is destroyed but `a` not, so `a.next` contains a dangling pointer that Not when connect returns, but the scope that connect was called from. Still, this can be deduced, you just have to give the

Re: DIP1000

2022-06-28 Thread bauss via Digitalmars-d-learn
On Tuesday, 28 June 2022 at 21:58:48 UTC, Ola Fosheim Grøstad wrote: not-scoped variable (`a.next` is not `scope` since this attribute is not transitive) Well, that is a flaw, if the object is stack allocated then the fields are too. Not necessarily, especially if the fields aren't value