January 09, 2017
On Monday, 9 January 2017 at 01:46:18 UTC, extrawurst wrote:

>>
>> Unfortunately, it would be better off in the programming subreddit.
>
> Volunteers to post it there aswell ?

I'll do it in about 10 hours or so.
January 09, 2017
On Monday, 9 January 2017 at 01:28:22 UTC, Walter Bright wrote:
> On 1/8/2017 2:58 PM, extrawurst wrote:
>> On Sunday, 8 January 2017 at 22:54:58 UTC, Walter Bright wrote:
>>> On 1/8/2017 1:15 PM, extrawurst wrote:
>>>> On Sunday, 8 January 2017 at 18:51:45 UTC, Walter Bright wrote:
>>>>> On 1/7/2017 5:17 AM, extrawurst wrote:
>>>>>> the last 2 weeks I jumped on a new toy project: An Alexa Skill written in D.
>>>>>
>>>>> Post this to reddit!
>>>>
>>>> Isn't it better someone else does that?
>>>
>>> Yes. I can't because anything I post gets autobanned.
>>
>> Someone shared it now:
>> https://www.reddit.com/r/d_language/comments/5msngh/alexa_skill_written_in_d/
>>
>> Thanks bachmeier!
>
> Unfortunately, it would be better off in the programming subreddit.

Definitely. I wasn't going to post it on a Sunday afternoon though.
January 09, 2017
On Monday, 9 January 2017 at 02:44:33 UTC, Mike Parker wrote:
> On Monday, 9 January 2017 at 01:46:18 UTC, extrawurst wrote:
>
>>>
>>> Unfortunately, it would be better off in the programming subreddit.
>>
>> Volunteers to post it there aswell ?
>
> I'll do it in about 10 hours or so.

Done:

https://www.reddit.com/r/programming/comments/5mxm25/alexa_skill_written_in_d/
January 09, 2017
On Monday, 9 January 2017 at 13:26:04 UTC, Mike Parker wrote:
> On Monday, 9 January 2017 at 02:44:33 UTC, Mike Parker wrote:
>> On Monday, 9 January 2017 at 01:46:18 UTC, extrawurst wrote:
>>
>>>>
>>>> Unfortunately, it would be better off in the programming subreddit.
>>>
>>> Volunteers to post it there aswell ?
>>
>> I'll do it in about 10 hours or so.
>
> Done:
>
> https://www.reddit.com/r/programming/comments/5mxm25/alexa_skill_written_in_d/

Awesome! Thanks
January 10, 2017
On Saturday, 7 January 2017 at 13:17:35 UTC, extrawurst wrote:
> Hi guys,
> the last 2 weeks I jumped on a new toy project: An Alexa Skill written in D.
>
> It is a skill that allows me to voice control my TV receiver with commands like:
>
>> Alexa, ask Telly to go to standby
>> Alexa, ask Telly what is currently running
>
> The project and all the source code sits on github:
> https://github.com/Extrawurst/alexa-openwebif
>
> I created two new dub libraries that this app uses:
> https://github.com/Extrawurst/openwebif-client-d
> https://github.com/Extrawurst/alexa-skill-kit-d
>
> *openwebif-client-d* is the REST api that my receiver speaks.
> *alexa-skill-kit-d* is the base class and the types that amazon throws at when the user activated your skill.
>
> you can find the blog post here:
> http://blog.extrawurst.org/programming/dlang/alexa/2017/01/06/alexa-in-d.html
>
> Feel free to share, to spread the word about using D for this fancy new tech.
>
> ~Stephan

Thank you for doing this - really happy about it.  A perfect open source moment - I was wondering about how to go about getting Alexa working.  But I had shared the AWS Lambda stuff which proved useful for you, and now you solved the problem for me and helped others on top.


Laeeth.
January 11, 2017
On Sunday, 8 January 2017 at 22:54:58 UTC, Walter Bright wrote:

>
> Yes. I can't because anything I post gets autobanned.

Why is that?
January 11, 2017
On Tuesday, 10 January 2017 at 11:46:22 UTC, Laeeth Isharc wrote:
> On Saturday, 7 January 2017 at 13:17:35 UTC, extrawurst wrote:
>> Hi guys,
>> the last 2 weeks I jumped on a new toy project: An Alexa Skill written in D.
>>
>> It is a skill that allows me to voice control my TV receiver with commands like:
>>
>>> Alexa, ask Telly to go to standby
>>> Alexa, ask Telly what is currently running
>>
>> The project and all the source code sits on github:
>> https://github.com/Extrawurst/alexa-openwebif
>>
>> I created two new dub libraries that this app uses:
>> https://github.com/Extrawurst/openwebif-client-d
>> https://github.com/Extrawurst/alexa-skill-kit-d
>>
>> *openwebif-client-d* is the REST api that my receiver speaks.
>> *alexa-skill-kit-d* is the base class and the types that amazon throws at when the user activated your skill.
>>
>> you can find the blog post here:
>> http://blog.extrawurst.org/programming/dlang/alexa/2017/01/06/alexa-in-d.html
>>
>> Feel free to share, to spread the word about using D for this fancy new tech.
>>
>> ~Stephan
>
> Thank you for doing this - really happy about it.  A perfect open source moment - I was wondering about how to go about getting Alexa working.  But I had shared the AWS Lambda stuff which proved useful for you, and now you solved the problem for me and helped others on top.
>
>
> Laeeth.

Hi Laeeth, thanks again for your post about aws lambda + D - wouldn't have thought about this whole thing otherwise.

I wanted to ask you if you thought about using another platform but nodejs wrap the D exe in lambda. They support java and C# aswell. I was wondering if it is a performance difference to use them instead ?!
Looking forward to your input.

Cheers,
Stephan
January 11, 2017
On 1/11/2017 2:09 AM, Chris wrote:
> On Sunday, 8 January 2017 at 22:54:58 UTC, Walter Bright wrote:
>> Yes. I can't because anything I post gets autobanned.
> Why is that?

Probably because I posted links to articles I wrote myself. I didn't know at the time it was against their rules.
January 12, 2017
On Wednesday, 11 January 2017 at 19:26:06 UTC, Walter Bright wrote:
> On 1/11/2017 2:09 AM, Chris wrote:
>> On Sunday, 8 January 2017 at 22:54:58 UTC, Walter Bright wrote:
>>> Yes. I can't because anything I post gets autobanned.
>> Why is that?
>
> Probably because I posted links to articles I wrote myself. I didn't know at the time it was against their rules.

In that case it might help to talk to them and explain that you weren't aware of that rule at the time. It will also clear your name in case anyone wants to attack you personally ("Walter Bright how got banned from ...").
February 12, 2017
On Wednesday, 11 January 2017 at 12:16:06 UTC, extrawurst wrote:
> On Tuesday, 10 January 2017 at 11:46:22 UTC, Laeeth Isharc wrote:
>> On Saturday, 7 January 2017 at 13:17:35 UTC, extrawurst wrote:

>> Thank you for doing this - really happy about it.  A perfect open source moment - I was wondering about how to go about getting Alexa working.  But I had shared the AWS Lambda stuff which proved useful for you, and now you solved the problem for me and helped others on top.
>>
>>
>> Laeeth.
>
> Hi Laeeth, thanks again for your post about aws lambda + D - wouldn't have thought about this whole thing otherwise.
>
> I wanted to ask you if you thought about using another platform but nodejs wrap the D exe in lambda. They support java and C# aswell. I was wondering if it is a performance difference to use them instead ?!
> Looking forward to your input.
>
> Cheers,
> Stephan

Hi Stephan.

I think at the time C# was not possible, and not sure if java was.  I don't know those languages so well, but if someone would like to try and see if it makes a difference, I would be happy to grant them rights to co-maintain the repo and add those as options.

If I recall right, there shouldn't be a performance difference - just a question of latency to start.  Will Java or C# be better in those respects given time needed to start the VM?


Laeeth.