Re: This Week in D: Dconf Thursday summaries

2015-06-18 Thread Adam D. Ruppe via Digitalmars-d-announce
I've done some COM stuff too, even interacting with vb and 
jscript through the IDispatch which I think will work in Excel 
too.


I'm crazy busy the next few days, but here's the code:

https://github.com/adamdruppe/com

I have to remember just how to use it to guide through but maybe 
the examples in there will help.


Re: This Week in D: Dconf Thursday summaries

2015-06-18 Thread Adam D. Ruppe via Digitalmars-d-announce

On Thursday, 18 June 2015 at 05:30:13 UTC, Lionello Lunesu wrote:

By the way, Lightning Talk #3 was me.


Awesome, thanks, I'll edit it in!

I think I'll do a special edition that brings all the dconf stuff 
together in a few weeks too. If you've already read it ongoing, 
there will be little new (hopefully video links though), but 
perhaps it will be something we can post to a wider audience.


Re: N-dimensional slices is ready for comments!

2015-06-18 Thread jmh530 via Digitalmars-d-announce

On Monday, 15 June 2015 at 08:40:31 UTC, Ilya Yaroshenko wrote:

Hi All,

PR and Examples: 
https://github.com/D-Programming-Language/phobos/pull/3397

DUB http://code.dlang.org/packages/dip80-ndslice

N-dimensional slices is real world example where `static 
foreach` would be useful.

Corresponding lines was marked with //TODO: static foreach

Best regards,
Ilya


The operator overloading and slicing mechanics look great, but 
I'm probably more excited about the future work you have listed.


Some thoughts:
The top line of ndslice.d says it is for creating n-dimensional 
random access ranges. I was able to get the example for operator 
overloading working for dynamic arrays, but it doesn't seem to 
work for static. Hopefully this work can be extended. In 
addition, hopefully the future work on foreach byElement will be 
able to work on static arrays in addition to dynamic.


My second point seems to be related to a discussion on the github 
page about accessing N-dimensional arrays by index. Basically 
there are some circumstances where it is convenient to loop by 
index on an N-dimensional array.


Finally, I have been trying to do something like
auto A = 4.iota.sliced(2, 2).array;
auto B = to!(float[][])(A);
without any luck. Seems to work though for one-dimensional 
arraays. I think instead you have to do something like

auto A = iota(0.0f, 4.0f, 1).sliced(2, 2).array;


Re: Berlin D Meetup June 2015

2015-06-18 Thread Laeeth Isharc via Digitalmars-d-announce

On Thursday, 18 June 2015 at 07:55:45 UTC, Ben Palmer wrote:

On Wednesday, 17 June 2015 at 18:24:09 UTC, Laeeth Isharc wrote:


Wish I could be there, and a recording would be great.

Might I ask one question?  I noticed that everything on the 
meetup page was in English.  Is this the norm amongst the 
programming community in Berlin?  I don't yet speak German but 
have ties to Germany, so that is why I am interested.


In my experience the majority of the programming meetups in 
Berlin are in English. If you are interested a list of meetups 
that are held at the same venue as the D meetup can be found 
here: http://co-up.de/events.html


Thanks,
Ben.


Thanks for this, Ben.  Laeeth.



Re: This Week in D: Dconf Thursday summaries

2015-06-18 Thread Laeeth Isharc via Digitalmars-d-announce

On Thursday, 18 June 2015 at 12:51:12 UTC, Adam D. Ruppe wrote:
I've done some COM stuff too, even interacting with vb and 
jscript through the IDispatch which I think will work in Excel 
too.


I'm crazy busy the next few days, but here's the code:

https://github.com/adamdruppe/com

I have to remember just how to use it to guide through but 
maybe the examples in there will help.


Thanks very much for this, Adam.  Had somehow completely 
forgotten, although I had bookmarked it.


Laeeth.



Re: Scriptlike v0.8.0

2015-06-18 Thread Jesse Phillips via Digitalmars-d-announce

On Sunday, 14 June 2015 at 01:28:18 UTC, Nick Sabalausky wrote:
A bunch of new updates to Scriptlike: A library to aid in 
writing script-like programs in D.


Home: https://github.com/Abscissa/scriptlike
Dub: http://code.dlang.org/packages/scriptlike
Full changelog:
https://github.com/Abscissa/scriptlike/blob/master/CHANGELOG.md


I've begun utilizing this in scripts I'm building, to help get 
things done faster and more consistently. I've combined it with 
dub because dub will grab the build off the web, but it also 
makes scripts a little heavier.


I really like having the bulk of Phobos imported.

I'm very fond of the new std.process, so much better than 
powershell


Re: This Week in D: Dconf Thursday summaries

2015-06-18 Thread Laeeth Isharc via Digitalmars-d-announce

On Thursday, 18 June 2015 at 05:30:13 UTC, Lionello Lunesu wrote:

On 16/06/15 01:12, Adam D. Ruppe wrote:

http://arsdnet.net/this-week-in-d/jun-14.html

I didn't finish Friday yet, so that will be next week, but 
here's all of
Thursday's stuff! Also std.database update in there, lots of 
community

announcements, and a bug list cleanup.


Great writeup. Reading it I get to relive the conference :)

By the way, Lightning Talk #3 was me.


Hi Lionello.

I wondered whether you might have had any change in thoughts 
about releasing your COM code (I know it might not be your 
choice, but no harm in asking):

http://forum.dlang.org/thread/jfmohh$1i81$1...@digitalmars.com

This is the problem I am struggling with at the moment (related, 
but different):

http://forum.dlang.org/thread/rzfjgdtvadlsusong...@forum.dlang.org


Laeeth.


Re: Berlin D Meetup June 2015

2015-06-18 Thread Ben Palmer via Digitalmars-d-announce

On Wednesday, 17 June 2015 at 18:24:09 UTC, Laeeth Isharc wrote:


Wish I could be there, and a recording would be great.

Might I ask one question?  I noticed that everything on the 
meetup page was in English.  Is this the norm amongst the 
programming community in Berlin?  I don't yet speak German but 
have ties to Germany, so that is why I am interested.


In my experience the majority of the programming meetups in 
Berlin are in English. If you are interested a list of meetups 
that are held at the same venue as the D meetup can be found 
here: http://co-up.de/events.html


Thanks,
Ben.