Re: The 10k Twitter Target
On Monday, 16 April 2018 at 08:39:05 UTC, Mike Parker wrote: Lately, we've seen a steadily increasing trend of new followers on Twitter. We're closing in on the totally arbitrary yet emotionally significant number of 10,000. I was just thinking how cool it would be to hit that number before or during DConf. Now that my move is behind me and I'm settling in to my new house, I have more time to stay on top of things (note that "more" does not necessarily equate to "enough"). I'll try to keep the tweet stream more active than usual over the coming two+ weeks, even while I'm bopping around Germany in the week prior to the conference. If you have a Twitter handle, it would help us out to retweet anything interesting you see on @D_Programming. If you aren't following us, it would help us out even more for you to become a statistic! Let's see if we can turn that 9,781 (as I write this) into 10,000 before the Hackathon. Each time i register to tweeter i got locked for no reasons. This happened yesterday again WHILE writing the first message. This is a problem when you don't own a smart-phone... I think people should seriously stop using this service, they don't realize but there are probably a bunch of psychos at the top of hierarchy of this company. These abusive lockings are a direct representation of their madness.
Re: The 10k Twitter Target
On Monday, 16 April 2018 at 08:39:05 UTC, Mike Parker wrote: If you have a Twitter handle, it would help us out to retweet anything interesting you see on @D_Programming. The link in the navbar should probably link to this twitter handle rather than the hash tag.
Re: The 10k Twitter Target
On Monday, 16 April 2018 at 08:39:05 UTC, Mike Parker wrote: Lately, we've seen a steadily increasing trend of new followers on Twitter. We're closing in on the totally arbitrary yet emotionally significant number of 10,000. I was just thinking how cool it would be to hit that number before or during DConf. [...] Twitter will get your pass that with some few $$ :)
Re: autowrap v0.0.1 - Automatically wrap existing D code for use in Python and Excel
On Wednesday, 18 April 2018 at 15:28:07 UTC, Atila Neves wrote: http://code.dlang.org/packages/autowrap This came out of the need at work to take existing D code and make it available for both Excel and Python. [snip] Cool. I bet something similar would work with embedr as well.
autowrap v0.0.1 - Automatically wrap existing D code for use in Python and Excel
http://code.dlang.org/packages/autowrap This came out of the need at work to take existing D code and make it available for both Excel and Python. Both pyd and excel-d make the reasonable assumption that one is using them to write code specifically for those environments. That breaks when there's existing production D code one wants to wrap. The idea is to not "dirty" the existing code with dependencies on either pyd or excel-d and instead wrap them from outside the existing dub packages, whilst still using pyd and excel-d behind the scenes. The end result is that if you have two D modules called `my.module1` and `my.module2` and you want to create a Python extension called `mylibrary`, then one dub.sdl and one source/app.d such as this is enough: import autowrap.python; mixin( wrapAll( LibraryName("mylibrary"), Modules("my.module1", "my.module2", /* ... */), ) ); Seriously, that's it.* Well, other than the fact that dub will produce libmylibrary.so on Linux and what you need is mylibrary.so, so you'll have to rename the file. The functions that are to be enabled for wrapping must be marked `export`, both for Python and Excel. It is a form of tagging and the production code must be changed to accomodate it, but at least it introduces no extra dependencies. For Python, any struct used in an `export` function's parameters or return type is automatically wrapped, as well as any structs inside it. Atila * Except maybe for those pesky bug things I can't seem to get rid of.
Re: DCompute is now in the master branch of LDC
On Wednesday, 18 April 2018 at 07:10:12 UTC, bioinfornatics wrote: On Monday, 19 June 2017 at 12:46:16 UTC, Nicholas Wilson wrote: On Monday, 19 June 2017 at 08:24:09 UTC, bioinfornatics wrote: [...] The library enables you to launch kernels written with the accompanying complier extensions (the focus of this announcement). It also provides the intrinsics to enable writing the kernels. [...] Yes, with some restrictions: recursion is prohibited, as are classes exceptions, the keyword 'synchronized' global variables (for now) and probably some others that I'm forgetting. [...] There are some examples on the wiki (https://github.com/libmir/dcompute/wiki), although they are likely incomplete and slightly out of date. I will be updating and greatly improving them as development progresses (continuing about halfway through July). If you have any questions feel free to ask them on https://gitter.im/libmir/public. I take a look at dcompute example and find any example how to interact with FPGAs! Could we have a tutorial how to build a D program in order to works with FPGA ? Thanks, Best regards From what I understand It should "just work" if you have an FPGA OpenCL runtime installed. I'd love to test that but I lack both time and an FPGA to do it. I'll be improving dcompute significantly once I graduate and have the time to do so.
Re: DCompute is now in the master branch of LDC
On Monday, 19 June 2017 at 12:46:16 UTC, Nicholas Wilson wrote: On Monday, 19 June 2017 at 08:24:09 UTC, bioinfornatics wrote: [...] The library enables you to launch kernels written with the accompanying complier extensions (the focus of this announcement). It also provides the intrinsics to enable writing the kernels. [...] Yes, with some restrictions: recursion is prohibited, as are classes exceptions, the keyword 'synchronized' global variables (for now) and probably some others that I'm forgetting. [...] There are some examples on the wiki (https://github.com/libmir/dcompute/wiki), although they are likely incomplete and slightly out of date. I will be updating and greatly improving them as development progresses (continuing about halfway through July). If you have any questions feel free to ask them on https://gitter.im/libmir/public. I take a look at dcompute example and find any example how to interact with FPGAs! Could we have a tutorial how to build a D program in order to works with FPGA ? Thanks, Best regards