Re: The DIID series (Do It In D)

2022-01-28 Thread Ola Fosheim Grøstad via Digitalmars-d-announce

On Friday, 28 January 2022 at 13:27:33 UTC, WebFreak001 wrote:
If there are people that would get upset from removing it, it's 
something that shouldn't be removed. (as there are people who 
are still interested in the project and might still use it)


I hear what you are saying, but maybe there is value in some of 
those abandoned projects for people who want to get ideas, so who 
am I to judge? I can only judge what I would look for…


One thing I like about the micro-examples approach that p0nce has 
taken is that they can be automatically tested against the latest 
compiler, so that makes the whole "outdated" question objective. 
:-)




Re: The DIID series (Do It In D)

2022-01-28 Thread WebFreak001 via Digitalmars-d-announce
On Thursday, 27 January 2022 at 23:56:55 UTC, Ola Fosheim Grøstad 
wrote:

On Thursday, 27 January 2022 at 08:52:32 UTC, WebFreak001 wrote:
the list is being maintained, feel free to open PRs to update 
links and remove old stuff.


It is probably better that the current maintainers remove 
stuff, I think people would get upset if someone else started 
to wipe out projects that haven’t recieved updates in a year or 
that are just not ready for consumption.


I don't think that's the case - just open a PR removing old 
stuff, the maintainers will check that the links are indeed old 
and no longer necessary or they will tell you that it's kept 
because of reason XYZ.


If there are people that would get upset from removing it, it's 
something that shouldn't be removed. (as there are people who are 
still interested in the project and might still use it)


Re: The DIID series (Do It In D)

2022-01-27 Thread Ola Fosheim Grøstad via Digitalmars-d-announce

On Thursday, 27 January 2022 at 08:52:32 UTC, WebFreak001 wrote:
the list is being maintained, feel free to open PRs to update 
links and remove old stuff.


It is probably better that the current maintainers remove stuff, 
I think people would get upset if someone else started to wipe 
out projects that haven’t recieved updates in a year or that are 
just not ready for consumption.





Re: The DIID series (Do It In D)

2022-01-27 Thread WebFreak001 via Digitalmars-d-announce
On Wednesday, 26 January 2022 at 15:53:44 UTC, Ola Fosheim 
Grøstad wrote:
On Wednesday, 26 January 2022 at 13:14:49 UTC, Guillaume Piolat 
wrote:
Precisely I opened this thread because it's hard to know about 
everything that exist in the D ecosystem. I expected tips for 
this or that library.


Is this list out of date?

https://github.com/dlang-community/awesome-d

Anyway, the short examples you provide is a good format. Full 
tutorials can often be too time consuming…


the list is being maintained, feel free to open PRs to update 
links and remove old stuff.


Re: The DIID series (Do It In D)

2022-01-26 Thread Ola Fosheim Grøstad via Digitalmars-d-announce
On Wednesday, 26 January 2022 at 19:25:18 UTC, Guillaume Piolat 
wrote:
On Wednesday, 26 January 2022 at 15:53:44 UTC, Ola Fosheim 
Grøstad wrote:

Is this list out of date?

https://github.com/dlang-community/awesome-d


I think it's alright. It's somehow out of date with the game 
engines I guess.


I just clicked through many of the Github repos (not the ones for 
games). Xomb had not been touched since 2013, Warp not since 
2015… A mixed bag.


Your list will become more useful, I think.



Re: The DIID series (Do It In D)

2022-01-26 Thread Guillaume Piolat via Digitalmars-d-announce
On Wednesday, 26 January 2022 at 15:53:44 UTC, Ola Fosheim 
Grøstad wrote:

Is this list out of date?

https://github.com/dlang-community/awesome-d


I think it's alright. It's somehow out of date with the game 
engines I guess.


Re: The DIID series (Do It In D)

2022-01-26 Thread Adam D Ruppe via Digitalmars-d-announce
On Wednesday, 26 January 2022 at 15:53:44 UTC, Ola Fosheim 
Grøstad wrote:

Is this list out of date?

https://github.com/dlang-community/awesome-d


You can tell it is very incomplete since it doesn't list arsd in 
every category. :P


Well, I don't have a dedicated containers module. When I need 
one, I just make it inline. I'm considering adding one for 
version 12 though, which would come out in June 2023. We'll see.




Re: The DIID series (Do It In D)

2022-01-26 Thread Ola Fosheim Grøstad via Digitalmars-d-announce
On Wednesday, 26 January 2022 at 13:14:49 UTC, Guillaume Piolat 
wrote:
Precisely I opened this thread because it's hard to know about 
everything that exist in the D ecosystem. I expected tips for 
this or that library.


Is this list out of date?

https://github.com/dlang-community/awesome-d

Anyway, the short examples you provide is a good format. Full 
tutorials can often be too time consuming…





Re: The DIID series (Do It In D)

2022-01-26 Thread Guillaume Piolat via Digitalmars-d-announce
On Wednesday, 26 January 2022 at 08:00:53 UTC, Ola Fosheim 
Grøstad wrote:


Yes, I think that is pretty universal. Didn't feel anything was 
wrong with the title, but the fact that most examples used 
"arsd" gave me the impression that there was only one good 
library…


Precisely I opened this thread because it's hard to know about 
everything that exist in the D ecosystem. I expected tips for 
this or that library.


Also, arsd has a good history of being maintained, building with 
D compilers and keep existing, which are not exactly common in 
DUB packages.


Re: The DIID series (Do It In D)

2022-01-26 Thread JN via Digitalmars-d-announce
On Wednesday, 26 January 2022 at 08:00:53 UTC, Ola Fosheim 
Grøstad wrote:
On Tuesday, 25 January 2022 at 08:44:34 UTC, Guillaume Piolat 
wrote:

I always read "How good really is X?" as "this is bad"
and "How bad really is X?" as "this is good"


Yes, I think that is pretty universal. Didn't feel anything was 
wrong with the title, but the fact that most examples used 
"arsd" gave me the impression that there was only one good 
library…


I feel like some examples, for example JSON one could use some 
explanation, why not just use std.json.


Re: The DIID series (Do It In D)

2022-01-26 Thread Ola Fosheim Grøstad via Digitalmars-d-announce
On Tuesday, 25 January 2022 at 08:44:34 UTC, Guillaume Piolat 
wrote:

I always read "How good really is X?" as "this is bad"
and "How bad really is X?" as "this is good"


Yes, I think that is pretty universal. Didn't feel anything was 
wrong with the title, but the fact that most examples used "arsd" 
gave me the impression that there was only one good library…




Re: The DIID series (Do It In D)

2022-01-25 Thread matheus via Digitalmars-d-announce
On Tuesday, 25 January 2022 at 08:44:34 UTC, Guillaume Piolat 
wrote:

I'll consider fixing this.
I always read "How good really is X?" as "this is bad"
and "How bad really is X?" as "this is good"
probably because for the french the best appreciation you can 
get is "not bad!"


Brazilian here and it's the same for me. Like for example, you 
can browse and see things like: "Is this cheap guitar brand 
really bad?"


And then you watch the review and this good guitar player 
surprises everyone with a good sound from that cheap guitar.


Usually titles like:

Is "something" really bad? - Shows just the opposite.

Is "something" really good? - Probably will show how bad that 
thing is.


At least for me and for what I've been seeing online.

Finally about your OT, this a good initiative and nice to see 
these implementations in D.


Matheus.


Re: The DIID series (Do It In D)

2022-01-25 Thread Walter Bright via Digitalmars-d-announce

On 1/25/2022 12:44 AM, Guillaume Piolat wrote:

I'll consider fixing this.
I always read "How good really is X?" as "this is bad"
and "How bad really is X?" as "this is good"
probably because for the french the best appreciation you can get is "not bad!"


Thanks for considering it.


Re: The DIID series (Do It In D)

2022-01-25 Thread Guillaume Piolat via Digitalmars-d-announce

On Tuesday, 25 January 2022 at 01:15:11 UTC, Walter Bright wrote:

On 1/24/2022 4:34 PM, Elronnd wrote:
On Monday, 24 January 2022 at 23:33:29 UTC, Walter Bright 
wrote:
The phrase "How bad really is the D ecosystem?" only asks a 
question, but people tend to interpret such sentences as "D's 
ecosystem is really bad". What works better is:


"How good really is the D ecosystem?"


Your suggested phrasing sounds overly trite to me.  I would 
maybe go for 'Is the D ecosystem really that bad?'


Again, never write "Is the D ecosystem really that bad?" unless 
one wants to give the impression that the D ecosystem is bad. 
Because all the dear reader actually sees is:


D ecosystem bad


I'll consider fixing this.
I always read "How good really is X?" as "this is bad"
and "How bad really is X?" as "this is good"
probably because for the french the best appreciation you can get 
is "not bad!"


Re: The DIID series (Do It In D)

2022-01-24 Thread Tejas via Digitalmars-d-announce

On Tuesday, 25 January 2022 at 01:15:11 UTC, Walter Bright wrote:

On 1/24/2022 4:34 PM, Elronnd wrote:
On Monday, 24 January 2022 at 23:33:29 UTC, Walter Bright 
wrote:
The phrase "How bad really is the D ecosystem?" only asks a 
question, but people tend to interpret such sentences as "D's 
ecosystem is really bad". What works better is:


"How good really is the D ecosystem?"


Your suggested phrasing sounds overly trite to me.  I would 
maybe go for 'Is the D ecosystem really that bad?'


Again, never write "Is the D ecosystem really that bad?" unless 
one wants to give the impression that the D ecosystem is bad. 
Because all the dear reader actually sees is:


D ecosystem bad


I agree, it's far easier for people to focus on the negatives 
than the positives, using any word that has a negative 
connotation will likely deter the average newcomer from 
continuing their journey.


Walter's version can be used, or if one wants to sound neutral:


Check out what the D ecosystem has to offer


Can be used instead


Re: The DIID series (Do It In D)

2022-01-24 Thread Walter Bright via Digitalmars-d-announce

On 1/24/2022 4:34 PM, Elronnd wrote:

On Monday, 24 January 2022 at 23:33:29 UTC, Walter Bright wrote:
The phrase "How bad really is the D ecosystem?" only asks a question, but 
people tend to interpret such sentences as "D's ecosystem is really bad". What 
works better is:


"How good really is the D ecosystem?"


Your suggested phrasing sounds overly trite to me.  I would maybe go for 'Is the 
D ecosystem really that bad?'


Again, never write "Is the D ecosystem really that bad?" unless one wants to 
give the impression that the D ecosystem is bad. Because all the dear reader 
actually sees is:


D ecosystem bad




Re: The DIID series (Do It In D)

2022-01-24 Thread Elronnd via Digitalmars-d-announce

On Monday, 24 January 2022 at 23:33:29 UTC, Walter Bright wrote:
The phrase "How bad really is the D ecosystem?" only asks a 
question, but people tend to interpret such sentences as "D's 
ecosystem is really bad". What works better is:


"How good really is the D ecosystem?"


Your suggested phrasing sounds overly trite to me.  I would maybe 
go for 'Is the D ecosystem really that bad?'


Re: The DIID series (Do It In D)

2022-01-24 Thread Walter Bright via Digitalmars-d-announce

This is a nice initiative, Thanks!

But may I offer a suggestion:

The phrase "How bad really is the D ecosystem?" only asks a question, but people 
tend to interpret such sentences as "D's ecosystem is really bad". What works 
better is:


"How good really is the D ecosystem?"


Re: The DIID series (Do It In D)

2022-01-24 Thread Imperatorn via Digitalmars-d-announce
On Sunday, 23 January 2022 at 14:23:45 UTC, Guillaume Piolat 
wrote:

How bad really is the D ecosystem?

I've started the DIID series, a good old snippet collection for 
you to copy/paste.
A series of article to highlight how shockingly easy some 
things are in D today.


[...]


YESSS!!


Re: The DIID series (Do It In D)

2022-01-23 Thread zjh via Digitalmars-d-announce
On Sunday, 23 January 2022 at 14:23:45 UTC, Guillaume Piolat 
wrote:

How bad really is the D ecosystem?

I've started the DIID series, a good old snippet collection for 
you to copy/paste.



Very Good!


The DIID series (Do It In D)

2022-01-23 Thread Guillaume Piolat via Digitalmars-d-announce

How bad really is the D ecosystem?

I've started the DIID series, a good old snippet collection for 
you to copy/paste.
A series of article to highlight how shockingly easy some things 
are in D today.


https://p0nce.github.io/d-idioms/#DIID-#1---Parse-XML-file
https://p0nce.github.io/d-idioms/#DIID-#2---Play-music
https://p0nce.github.io/d-idioms/#DIID-#3---Convert-Markdown-to-HTML
https://p0nce.github.io/d-idioms/#DIID-#4---Draw-an-accelerated-triangle
https://p0nce.github.io/d-idioms/#DIID-#5---Draw-a-triangle-in-a-PDF
https://p0nce.github.io/d-idioms/#DIID-#6---Parse-JSON-file

All code in one place at: https://github.com/p0nce/DIID

Preferred topics:
- promote ecosystem-ey ways to do a common (but not completely 
trivial) task,

- with a business-friendly licence
- provide full source code / snippet
- DUB and _maintained_ libraries only
- ideally works with "dub run"
- works at least on Linux and Windows
- no talk

If you have ideas that enter in that mindset, you are welcome to 
contribute articles or article ideas, as I fear the ecosystem has 
lots of undiscovered power for the people to wield.
I'd be curious to hear about how a few lines of package X solves 
problem Y for you.