Re: Alexa Skill written in D
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.
Re: GMP bindings for DLang
On Wednesday, 11 January 2017 at 12:53:13 UTC, Andrew Hall wrote: https://code.dlang.org/packages/libgmp See also http://forum.dlang.org/thread/imoaobpfaggyphjox...@forum.dlang.org
GMP bindings for DLang
I've been writing D bindings for GMP the multi-precision numeric library. I know Dlang has bignum, but GMP is still the fastest library for extremely large numbers. I've thus far written header interface for all of gmp.h minus the mpn_t functions (low level natural numbers). And I'm in the process of implementing operations on a D struct that allow manipulating mpn types as operations on operators. If anybody has any idea about the process of getting such a library accepted into the Demios repo, that would be greatly appreciated. https://code.dlang.org/packages/libgmp
Re: Alexa Skill written in D
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
Re: Beta 2.073.0-b1
On Saturday, 7 January 2017 at 21:39:18 UTC, Timothee Cour wrote: * -transition=safe/-dip1000 => not mentioned in http://dlang.org/changelog/2.073.0.html That's deliberate, as you can't even use it with writeln yet. * std.experimental.ndslice has been deprecated. The synchronization between Phobos and Mir turned out to be a lot of work with litte gain => That's a good move. Will make development faster indeed by not being tied to dmd releases. The downside of `batteries included` is is hampers development speed, deprecation speed, etc. Another example: std.json sucks compared to http://vibed.org/api/vibe.data.json/ Which has a much more powerful successor http://code.dlang.org/packages/std_data_json. IMO, packages are great in std, once they're done and won't change much.
Re: Alexa Skill written in D
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?