Re: ae v0.0.3000

2021-05-10 Thread James Lu via Digitalmars-d-announce
On Saturday, 10 April 2021 at 20:46:39 UTC, Vladimir Panteleev 
wrote:

[`ae.sys.file.listDir`](https://ae.dpldocs.info/~next/ae.sys.file.listDir.html) 
is a fast and flexible directory iterator. It sacrifices providing results as a 
range to instead gain allowing to decide on-the-spot when to recurse. The speed 
gains come from avoiding `stat` calls by taking advantage of the 
`dirent.d_type` field, and allowing applications to avoid GC allocations when 
querying directory entry names.


Cool! Are there any other D libraries (other than Phobos) with 
support for recursive directory listing?


Re: Visual D 1.1.0 released

2021-03-04 Thread James Lu via Digitalmars-d-announce

On Tuesday, 2 March 2021 at 08:58:15 UTC, Rainer Schuetze wrote:

Hi,

development on Visual D, the Visual Studio extension that adds 
D language support to VS 2008-2019, has been rather slow 
recently, but finally the results of recent months have been 
released.


Some highlights of this new version:

- semantic engine updated to frontend 2.095.1

- adds "adornments" (Visual Studio terminology) to the call
site of parameters that are passed by (mutable) ref, out or 
lazy. See

https://rainers.github.io/visuald/visuald/images/parameterstorage.png
for some examples.

- integrates dfmt for command "Format Document"

See 
https://rainers.github.io/visuald/visuald/VersionHistory.html 
for a full list of changes.


You can find the update installer or a full installer bundled 
with latest versions of DMD and LDC here:


https://rainers.github.io/visuald/visuald/StartPage.html

Cheers,
Rainer


Hi,

I've gotten D articles to the frontpage of Hacker News 4 times.

I think this would be a good candidate to get to the frontpage of 
Hacker News again.


I want you to submit it to Hacker News, then add a comment saying:

* Explain why you made this
* Explain what's interesting about Visual D
* Offer to explain questions

Use the title: "Visual Studio Code for D Language 1.1.0"


Re: Idioms for the D programming language

2021-02-14 Thread James Lu via Digitalmars-d-announce

On Saturday, 13 February 2021 at 16:39:12 UTC, Imperatorn wrote:

On Saturday, 13 February 2021 at 16:06:31 UTC, James Lu wrote:

 [...]


"readable by a beginner" && "interesting and substantial 
information" might be hard to find. Did you mean front- or 
backend? If you want to show compiler u might look at 
https://github.com/dlang/dmd/blob/master/src/dmd/compiler.d for 
example.


Frontend, to show the language.


Re: Idioms for the D programming language

2021-02-13 Thread James Lu via Digitalmars-d-announce
On Thursday, 11 February 2021 at 20:12:36 UTC, Walter Bright 
wrote:

Now #5 on the front page of https://news.ycombinator.com/news

The page being discussed:

https://p0nce.github.io/d-idioms/

and on reddit:

https://www.reddit.com/r/programming/comments/lhssjp/idioms_for_the_d_programming_language/


A question for you: What is the most interesting (shows the 
language) and beginner-friendly source code file of DMD? I want 
to link to the compiler source to do that. It needs to be 
readable by a beginner, yet also provide interesting and 
substantial information on how D or compilers work.



 * Demonstrate DMD is open-source
 * Get DLang more attention
 * Demonstrate how good DMDFE is


Re: Idioms for the D programming language

2021-02-13 Thread James Lu via Digitalmars-d-announce

On Friday, 12 February 2021 at 01:53:25 UTC, James Lu wrote:
If you have any particularly interesting and specific pages on 
D, feel free to send them to me, so I can post them to HN at 
the optimal time. (Furthermore, if you authored it, you should 
a comment that explains why you made it and offering to answer 
questions– I have found this can turn a regular post into a 
frontpage post.)


I wanted to add: What I do is I take a post that could be 
submitted

to Hacker News, then I am an "optimizing compiler" for it. I post
at 3pm on Monday through Thursday, add comments, tune the 
submission
title, and various small HN-specific optimizations– my 
submissions have

been on its frontpage 20 times, I know what I'm doing.


Re: Idioms for the D programming language

2021-02-13 Thread James Lu via Digitalmars-d-announce

On Friday, 12 February 2021 at 08:31:13 UTC, Walter Bright wrote:

On 2/11/2021 5:53 PM, James Lu wrote:
On Thursday, 11 February 2021 at 20:12:36 UTC, Walter Bright 
wrote:

Now #5 on the front page of https://news.ycombinator.com/news


I've gotten Dlang to the frontpage of HN 3 other times:


Specification for the D Programming Language 
https://news.ycombinator.com/item?id=21993208

D 2.0.93.0 https://news.ycombinator.com/item?id=23859448
Ask HN: Why do you use Rust, when D is available? 
https://news.ycombinator.com/item?id=23494490


Thank you!


Thanks for the kind words :)



If you have any particularly interesting and specific pages on 
D, feel free to send them to me, so I can post them to HN at 
the optimal time. (Furthermore, if you authored it, you should 
a comment that explains why you made it and offering to answer 
questions– I have found this can turn a regular post into a 
frontpage post.)


Yes, having the author do an AMA is very productive.


I once resubmitted with an AMA-style comment, which was the 
difference between getting 12 points and not getting on the 
frontpage, and getting on the frontpage with 158 points.




Re: Idioms for the D programming language

2021-02-11 Thread James Lu via Digitalmars-d-announce
On Thursday, 11 February 2021 at 20:12:36 UTC, Walter Bright 
wrote:

Now #5 on the front page of https://news.ycombinator.com/news


I've gotten Dlang to the frontpage of HN 3 other times:


Specification for the D Programming Language 
https://news.ycombinator.com/item?id=21993208

D 2.0.93.0 https://news.ycombinator.com/item?id=23859448
Ask HN: Why do you use Rust, when D is available? 
https://news.ycombinator.com/item?id=23494490


If you have any particularly interesting and specific pages on D, 
feel free to send them to me, so I can post them to HN at the 
optimal time. (Furthermore, if you authored it, you should a 
comment that explains why you made it and offering to answer 
questions– I have found this can turn a regular post into a 
frontpage post.)


Re: DConf Online 2020...

2020-09-09 Thread James Lu via Digitalmars-d-announce

On Tuesday, 8 September 2020 at 09:17:10 UTC, Mike Parker wrote:
I was on the verge to cutting the schedule down to one day, but 
thanks to some last-minute submissions, looks like we'll have 
enough content now to stretch across two days!


Thanks to everyone who submitted a proposal. I'll be in touch 
with each of you soon to discuss how to proceed. For everyone 
else, keep an eye on the DConf Online 2020 homepage for the 
schedule and other announcements.


https://dconf.org/2020/online/index.html


Would you accept extra-late proposals?


Re: D mentionned in the ARTIBA webzine for an article on Silq

2020-09-04 Thread James Lu via Digitalmars-d-announce

On Thursday, 3 September 2020 at 08:40:32 UTC, aberba wrote:

On Wednesday, 2 September 2020 at 18:53:02 UTC, James Lu wrote:


I second a Mastodon instance. Would be great for short 
thoughts.


Currently we have discord, slack, IRC, Facebook, Official Forum 
and IRC with community members in them. I don't think there's 
shortage of places to interact with community members for 
feedback on such ideas.


I'm on the discord (ran by Wild), Facebook, IRC (rarely cus it 
takes me back) and of course the forum.


The slack I have no ideas how people get in. I know there's a 
number of members in there too.


True. We should consolidate talk platforms. It's far too chaotic.

And there's a Facebook? Seriously?

And Slack? Seriously? That's where I have to sacrifice 1GB of RAM 
to? Discord has the featureset of Slack.


I use Discord for real time communications, quick questions, and 
off-topic things. Sort of similar to IRC.


Did you mean to say we have two IRCs?


Re: D mentionned in the ARTIBA webzine for an article on Silq

2020-09-02 Thread James Lu via Digitalmars-d-announce

On Wednesday, 2 September 2020 at 18:42:25 UTC, starcanopy wrote:
On Wednesday, 2 September 2020 at 13:31:25 UTC, Adam D. Ruppe 
wrote:
But what I think would be really cool though is like an 
internal twitter... no size limit but also a culture that 
there's no expectation for length and quality. Just casual 
"think out loud" or in-progress project updates that can split 
into chat.


I could write that in a few hours. then blog about it omg. but 
the hard part

isn't technical, it is just getting people to actually use it.


Mastodon instance? But if you do create an ad-hoc service, I'd 
very much use it if you didn't necessitate registration with an 
email.


I second a Mastodon instance. Would be great for short thoughts.


Re: DIP 1028 "Make @safe the Default" is dead

2020-05-30 Thread James Lu via Digitalmars-d-announce

On Friday, 29 May 2020 at 05:08:44 UTC, Bruce Carneal wrote:

Thanks Walter.


Thanks to everyone in the commmunity for being nice and saying 
"Thank you." As a cautionary tale, Guido Van Rossum, former BDFL 
of Python, resigned over flamewars on the := operator in Python, 
the same arguments were rehashed over and over.