February 01, 2021 Re: Article: Why I use the D programming language for scripting | ||||
---|---|---|---|---|
| ||||
Posted in reply to aberba | On Monday, 1 February 2021 at 11:52:18 UTC, aberba wrote:
> On Monday, 1 February 2021 at 11:29:02 UTC, Bastiaan Veelo wrote:
>> On Sunday, 31 January 2021 at 20:47:13 UTC, Steven Schveighoffer wrote:
>>> On 1/31/21 3:36 PM, aberba wrote:
>>>> It's finally out!
>>>>
>>>> https://opensource.com/article/21/1/d-scripting
>>>
>>> Hm... right off I see the shebang is not the first line in the example. It has to be.
>>
>> Please fix, Aberba, right now the examples don't work because of this...
>>
>> -- Bastiaan.
>
> Yes, noted. I don't have direct access to edit it myself. I have to wait till the editors make the changes (depending on their TZ)
>
> I should really get someone here to proofread it next time 😅 Sorry about that.
Perhaps we can create a channel on the dlang Slack for proofreading articles and blog posts, so that more people can have a chance to review an article before publishing.
|
February 01, 2021 Re: Article: Why I use the D programming language for scripting | ||||
---|---|---|---|---|
| ||||
Posted in reply to Petar Kirov [ZombineDev] | On 2/1/21 3:14 PM, Petar Kirov [ZombineDev] wrote:
> On Monday, 1 February 2021 at 11:52:18 UTC, aberba wrote:
>> On Monday, 1 February 2021 at 11:29:02 UTC, Bastiaan Veelo wrote:
>>> On Sunday, 31 January 2021 at 20:47:13 UTC, Steven Schveighoffer wrote:
>>>> On 1/31/21 3:36 PM, aberba wrote:
>>>>> It's finally out!
>>>>>
>>>>> https://opensource.com/article/21/1/d-scripting
>>>>
>>>> Hm... right off I see the shebang is not the first line in the example. It has to be.
>>>
>>> Please fix, Aberba, right now the examples don't work because of this...
>>>
>>> -- Bastiaan.
>>
>> Yes, noted. I don't have direct access to edit it myself. I have to wait till the editors make the changes (depending on their TZ)
>>
>> I should really get someone here to proofread it next time 😅 Sorry about that.
>
> Perhaps we can create a channel on the dlang Slack for proofreading articles and blog posts, so that more people can have a chance to review an article before publishing.
That's a really good idea!
|
February 01, 2021 Re: Article: Why I use the D programming language for scripting | ||||
---|---|---|---|---|
| ||||
Posted in reply to drug | On Monday, 1 February 2021 at 12:26:02 UTC, drug wrote:
> On 2/1/21 3:14 PM, Petar Kirov [ZombineDev] wrote:
>> [..]
>>
>> Perhaps we can create a channel on the dlang Slack for proofreading articles and blog posts, so that more people can have a chance to review an article before publishing.
>
> That's a really good idea!
I just created #article-proofreading - everyone is welcome to join!
|
February 01, 2021 Re: Article: Why I use the D programming language for scripting | ||||
---|---|---|---|---|
| ||||
Posted in reply to Petar Kirov [ZombineDev] | On Monday, 1 February 2021 at 12:11:46 UTC, Petar Kirov [ZombineDev] wrote:
> On Monday, 1 February 2021 at 11:10:28 UTC, Paul Backus wrote:
>> Unfortunately, you can't pass more than one command-line argument on a #! line.
>
> It is possible, using `/usr/bin/env -S command arg1 arg2` , as of coreutils 8.30. I have been using it at work and it's working perfectly. This functionality was already supported by FreeBSD [1] for ~15 years, but the coreutils developers implemented it just ~3 years ago [2].
This is great, thanks!
I just checked, and it's available in Debian stable, so most distros should have it by now.
|
February 01, 2021 Re: Article: Why I use the D programming language for scripting | ||||
---|---|---|---|---|
| ||||
Posted in reply to Petar Kirov [ZombineDev] | On 2/1/21 3:28 PM, Petar Kirov [ZombineDev] wrote:
>
> I just created #article-proofreading - everyone is welcome to join!
How can I join? I used slack once for a short period some time ago.
|
February 01, 2021 Re: Article: Why I use the D programming language for scripting | ||||
---|---|---|---|---|
| ||||
Posted in reply to drug | On Monday, 1 February 2021 at 12:49:28 UTC, drug wrote:
> On 2/1/21 3:28 PM, Petar Kirov [ZombineDev] wrote:
>>
>> I just created #article-proofreading - everyone is welcome to join!
>
>
> How can I join? I used slack once for a short period some time ago.
Any dlang slack member can invite new members by their email (I think even temporary email addresses are fine). On which email shall I send you an invite?
|
February 01, 2021 Re: Article: Why I use the D programming language for scripting | ||||
---|---|---|---|---|
| ||||
Posted in reply to Paul Backus | On Monday, 1 February 2021 at 12:41:19 UTC, Paul Backus wrote: > On Monday, 1 February 2021 at 12:11:46 UTC, Petar Kirov [ZombineDev] wrote: >> On Monday, 1 February 2021 at 11:10:28 UTC, Paul Backus wrote: >>> Unfortunately, you can't pass more than one command-line argument on a #! line. >> >> It is possible, using `/usr/bin/env -S command arg1 arg2` , as of coreutils 8.30. I have been using it at work and it's working perfectly. This functionality was already supported by FreeBSD [1] for ~15 years, but the coreutils developers implemented it just ~3 years ago [2]. > > This is great, thanks! I was missing this feature often, I'm glad I found it recently ;) > I just checked, and it's available in Debian stable, so most distros should have it by now. Yes, I think it's safe to use on Linux nowadays. In the worst case a user may need to upgrade their coreutils. I just mention this because a teammate was still on Ubuntu 16.04 or 18.04 so he had to upgrade [1]. [1]: https://packages.ubuntu.com/search?keywords=coreutils&searchon=names&suite=all§ion=all |
February 01, 2021 Re: Article: Why I use the D programming language for scripting | ||||
---|---|---|---|---|
| ||||
Posted in reply to Petar Kirov [ZombineDev] | On 2/1/21 4:37 PM, Petar Kirov [ZombineDev] wrote:
> On Monday, 1 February 2021 at 12:49:28 UTC, drug wrote:
>> On 2/1/21 3:28 PM, Petar Kirov [ZombineDev] wrote:
>>>
>>> I just created #article-proofreading - everyone is welcome to join!
>>
>>
>> How can I join? I used slack once for a short period some time ago.
>
> Any dlang slack member can invite new members by their email (I think even temporary email addresses are fine). On which email shall I send you an invite?
sent directly
|
February 01, 2021 Re: Article: Why I use the D programming language for scripting | ||||
---|---|---|---|---|
| ||||
Posted in reply to aberba | On Sunday, 31 January 2021 at 20:36:43 UTC, aberba wrote:
> It's finally out!
>
> https://opensource.com/article/21/1/d-scripting
D lang is life! I used Python for scripting, but D lang is better, I don't need install interpreter for execute it. I hope someay fobos have same support as Python library.
|
February 01, 2021 Re: Article: Why I use the D programming language for scripting | ||||
---|---|---|---|---|
| ||||
Posted in reply to Petar Kirov [ZombineDev] | On Monday, 1 February 2021 at 13:37:38 UTC, Petar Kirov [ZombineDev] wrote:
> Any dlang slack member can invite new members by their email (I think even temporary email addresses are fine). On which email shall I send you an invite?
Is there any PM mechanism on board, no?
|
Copyright © 1999-2021 by the D Language Foundation