Re: DConf 2016 announces programme, general registration opened thrugh April 22

2016-03-28 Thread Dicebot via Digitalmars-d-announce
On 03/29/2016 04:50 AM, Adam D. Ruppe wrote:
> I just realized today that a live stream is not going to be enjoyable
> for us who are still in the US.
> 
> Any chance that we can have a *scheduled* delay rebroadcast right when
> it ends? So basically starting at like 11am Eastern time, 8am Pacific.
> 
> Heck, we might even play it a third time for people on the other side of
> the world too, but I'm asking for myself so jut the ne is good.
> 
> 
> I want this coordinated and announced because then we can all be on
> together and have "live" chat without being up in the middle of the
> night to be live with the folks in Germany.

I am not sure this has much value. The main benefit of live stream is
that everyone can ask questions online and those will be forwarded to
speakers. Isn't it better to simply wait for recorded high quality
videos otherwise?

P.S. devs from Europe did indeed have to stay awake through the night to
watch previous dconfs ;)


Re: DConf 2016 announces programme, general registration opened thrugh April 22

2016-03-28 Thread Uyo Phequo via Digitalmars-d-announce

On Tuesday, 29 March 2016 at 04:02:58 UTC, Adam D. Ruppe wrote:

On Tuesday, 29 March 2016 at 03:59:54 UTC, Uyo Phequo wrote:

Was it for us when it took place in the US ;)


We basically dropped the ball last year entirely on the stream 
and had to improvise with laptop webcams from the conference 
itself... I'm hoping we can do a better job this time for 
everybody.


I hope so. The stream recording that was released on the fly was 
not good. I've remembered having watched the 5 first minutes of 
B.Schott exposee than finally I've waited the next month when the 
HQ videos came out. Anyway it was a great initiative and also an 
opportunity see John C. from near when he tuned the webcam 
position ... let's see...a bit the right, the axis is good... ^^


Re: DConf 2016 announces programme, general registration opened thrugh April 22

2016-03-28 Thread Adam D. Ruppe via Digitalmars-d-announce

On Tuesday, 29 March 2016 at 03:59:54 UTC, Uyo Phequo wrote:

Was it for us when it took place in the US ;)


We basically dropped the ball last year entirely on the stream 
and had to improvise with laptop webcams from the conference 
itself... I'm hoping we can do a better job this time for 
everybody.


Re: DConf 2016 announces programme, general registration opened thrugh April 22

2016-03-28 Thread Uyo Phequo via Digitalmars-d-announce

On Tuesday, 29 March 2016 at 01:50:59 UTC, Adam D. Ruppe wrote:
I just realized today that a live stream is not going to be 
enjoyable for us who are still in the US.


Was it for us when it took place in the US ;)




Re: DConf 2016 announces programme, general registration opened thrugh April 22

2016-03-28 Thread Adam D. Ruppe via Digitalmars-d-announce
I just realized today that a live stream is not going to be 
enjoyable for us who are still in the US.


Any chance that we can have a *scheduled* delay rebroadcast right 
when it ends? So basically starting at like 11am Eastern time, 
8am Pacific.


Heck, we might even play it a third time for people on the other 
side of the world too, but I'm asking for myself so jut the ne is 
good.



I want this coordinated and announced because then we can all be 
on together and have "live" chat without being up in the middle 
of the night to be live with the folks in Germany.


Re: Article on Introspective programming

2016-03-28 Thread Nicholas Wilson via Digitalmars-d-announce

On Monday, 28 March 2016 at 23:25:48 UTC, Jack Stouffer wrote:

On Monday, 28 March 2016 at 12:47:02 UTC, Nicholas Wilson wrote:


http://thewilsonator.github.io/update/2016/03/28/better-vulkan-bindings.html

I would like some feedback before this is posted to reddit.

Come to think of it, putting the project on github would be a 
good idea, but unfortunately I won't have the time for at 
least a week.


Oh well.

Comments and suggestions appreciated.

Nic


Great article, some points I jotted down while reading:

* I would emphasize the fact that D has no C translation layer 
a little more, something like "because D uses the C memory 
model ..."
* Why do you use pre tags for numbered and bulleted lists? Use 
the native HTML tags instead

* I would wrap the code in text in  tags


Thanks. I've only just started to use pages so I have no Idea 
what I'm doing w.r.t different markdown flavours & jekyll.


Re: D Profile Viewer

2016-03-28 Thread Jack Stouffer via Digitalmars-d-announce

On Monday, 28 March 2016 at 23:43:51 UTC, Andrew wrote:

On Saturday, 26 March 2016 at 03:41:14 UTC, Jack Stouffer wrote:


If I could make one suggestion, this should be added to dub as 
an executable, so I can do


dub fetch d-profile-viewer
dub run d-profile-viewer


Done!


Works like a charm :)


dateparser hits 1.0

2016-03-28 Thread Jack Stouffer via Digitalmars-d-announce
A little while ago, I wrote about a library I was writing to 
parse strings and return SysTime's, 
http://forum.dlang.org/post/odowolmiykkdigfit...@forum.dlang.org 
Well, that library has reached 1.0!


https://github.com/JackStouffer/date-parser

I'm quite happy with it; it's reasonably fast for what its doing, 
it has very few GC allocations, it supports std.allocator's 
theAllocator, and it supports range inputs. On average, it's 
about 10x faster than the Python version when compiled with LDC.


Re: D Profile Viewer

2016-03-28 Thread Andrew via Digitalmars-d-announce

On Saturday, 26 March 2016 at 03:41:14 UTC, Jack Stouffer wrote:


If I could make one suggestion, this should be added to dub as 
an executable, so I can do


dub fetch d-profile-viewer
dub run d-profile-viewer


Done!



Re: DConf 2016 announces programme, general registration opened thrugh April 22

2016-03-28 Thread tsbockman via Digitalmars-d-announce

On Monday, 28 March 2016 at 22:30:33 UTC, Luís Marques wrote:

On Monday, 28 March 2016 at 20:33:37 UTC, tsbockman wrote:
The "What Parnas72 Means for D" talk sounds interesting, but I 
think it needs an abstract for the abstract, or a TL;DR.


That was the "Extended Description" that I had submitted. The 
original "Abstract" section read:


I have submitted a DConf.org pull request:
https://github.com/D-Programming-Language/dconf.org/pull/107


Re: Article on Introspective programming

2016-03-28 Thread Jack Stouffer via Digitalmars-d-announce

On Monday, 28 March 2016 at 12:47:02 UTC, Nicholas Wilson wrote:


http://thewilsonator.github.io/update/2016/03/28/better-vulkan-bindings.html

I would like some feedback before this is posted to reddit.

Come to think of it, putting the project on github would be a 
good idea, but unfortunately I won't have the time for at least 
a week.


Oh well.

Comments and suggestions appreciated.

Nic


Great article, some points I jotted down while reading:

* I would emphasize the fact that D has no C translation layer a 
little more, something like "because D uses the C memory model 
..."
* Why do you use pre tags for numbered and bulleted lists? Use 
the native HTML tags instead

* I would wrap the code in text in  tags


Re: DConf 2016 announces programme, general registration opened thrugh April 22

2016-03-28 Thread tsbockman via Digitalmars-d-announce

On Monday, 28 March 2016 at 22:30:33 UTC, Luís Marques wrote:

On Monday, 28 March 2016 at 20:33:37 UTC, tsbockman wrote:
The "What Parnas72 Means for D" talk sounds interesting, but I 
think it needs an abstract for the abstract, or a TL;DR.


That was the "Extended Description" that I had submitted. The 
original "Abstract" section read:


David Parnas' 1972 seminal paper, "On the criteria to be used 
in decomposing systems into modules", set a milestone in our 
collective understanding of how complex programs should be 
divided into more manageable parts. Over forty years later, I 
have reimplemented in D the example programs presented in the 
paper and came away with insights that are not obvious from a 
more casual reading of that text. In this talk I will 1) 
present the original insight of the paper, using more modern 
language; 2) relate it to current design best practices and 3) 
argue, with the help of my implementation, that D best 
fulfilled the paper's original vision, even surpassing it.


Yes, that looks good. That's what should be on the DConf website.


Re: DConf 2016 announces programme, general registration opened thrugh April 22

2016-03-28 Thread Luís Marques via Digitalmars-d-announce

On Monday, 28 March 2016 at 20:33:37 UTC, tsbockman wrote:
The "What Parnas72 Means for D" talk sounds interesting, but I 
think it needs an abstract for the abstract, or a TL;DR.


That was the "Extended Description" that I had submitted. The 
original "Abstract" section read:


David Parnas' 1972 seminal paper, "On the criteria to be used in 
decomposing systems into modules", set a milestone in our 
collective understanding of how complex programs should be 
divided into more manageable parts. Over forty years later, I 
have reimplemented in D the example programs presented in the 
paper and came away with insights that are not obvious from a 
more casual reading of that text. In this talk I will 1) present 
the original insight of the paper, using more modern language; 2) 
relate it to current design best practices and 3) argue, with the 
help of my implementation, that D best fulfilled the paper's 
original vision, even surpassing it.


Re: Beta D 2.071.0-b1

2016-03-28 Thread deadalnix via Digitalmars-d-announce

On Monday, 28 March 2016 at 14:41:18 UTC, Martin Nowak wrote:

On 03/27/2016 09:46 PM, deadalnix wrote:
The one I intended to talk about: 
https://github.com/D-Programming-Language/phobos/pull/4099


This doesn't look like a bugfix or anything urgent, so it seems 
like it can wait for 2.072.


This is type system breaking, if that is not important or a 
bugfix, I'm not sure what is.


Re: DConf 2016 announces programme, general registration opened thrugh April 22

2016-03-28 Thread tsbockman via Digitalmars-d-announce
On Monday, 28 March 2016 at 16:34:55 UTC, Andrei Alexandrescu 
wrote:

DConf 2016


Looks like a great lineup of talks this year! I intend to watch 
almost all of them.


The "What Parnas72 Means for D" talk sounds interesting, but I 
think it needs an abstract for the abstract, or a TL;DR.


Re: DConf 2016 announces programme, general registration opened thrugh April 22

2016-03-28 Thread Andrej Mitrovic via Digitalmars-d-announce
On 3/28/16, Andrei Alexandrescu via Digitalmars-d-announce
 wrote:
> The Fourth Annual Conference of the D Programming Language: DConf 2016

Looks like an amazing line-up!


Re: mir.combinatorics: reviewers and ideas are wanted

2016-03-28 Thread jmh530 via Digitalmars-d-announce

On Monday, 28 March 2016 at 15:30:56 UTC, Timon Gehr wrote:


Regarding ideas:
For each range, there should probably be a numeric function 
computing the length of that range. (e.g. here, binomial 
corresponds to combinations, there should be factorial 
corresponding to permutations etc.)




I agree. I had been looking at the Discrete Math toolbox for 
Matlab to compare functionality and factorial seemed worth adding 
(as an aside, I saw an earlier thread about adding factorial to 
std.math and people were like nobody uses factorial and I wanted 
to punch my computer screen). Matlab's toolbox also has gcd, lcm, 
and some prime number functions.


I'm not entirely sold on the name of the binomial function. I'm 
concerned if it will be confusing if working with other 
dlangscience projects. Looking at dstats there are a bunch of 
functions with binomial in the name (rBinomial, binomialCDF, 
etc.). SciPy/SAS uses comb. Matlab uses nchoosek. R uses combn. 
I'm not a fan of combn.


Other potential overlapping functionality: logFactorial, 
logNcomb, Perm, perm, Comb, comb.


Re: DConf 2016 announces programme, general registration opened thrugh April 22

2016-03-28 Thread Steven Schveighoffer via Digitalmars-d-announce

On 3/28/16 12:55 PM, Vladimir Panteleev wrote:

On Monday, 28 March 2016 at 16:34:55 UTC, Andrei Alexandrescu wrote:

The Fourth Annual Conference of the D Programming Language: DConf 2016

May 4 to May 6, 2016

Berlin, Germany

http://dconf.org/2016/


Awesome.

Is there an official hotel yet?



http://dconf.org/2016/venue.html

At the bottom.

http://www.ibis.com/gb/hotel-5694-ibis-berlin-neukoelln/index.shtml

-Steve


Re: DConf 2016 announces programme, general registration opened thrugh April 22

2016-03-28 Thread Vladimir Panteleev via Digitalmars-d-announce
On Monday, 28 March 2016 at 16:34:55 UTC, Andrei Alexandrescu 
wrote:
The Fourth Annual Conference of the D Programming Language: 
DConf 2016


May 4 to May 6, 2016

Berlin, Germany

http://dconf.org/2016/


Awesome.

Is there an official hotel yet?



Re: DConf 2016 announces programme, general registration opened thrugh April 22

2016-03-28 Thread Andrei Alexandrescu via Digitalmars-d-announce

In social media:

https://twitter.com/D_Programming/status/714491383357112321

https://www.facebook.com/dlang.org/posts/1261786503835028

https://www.reddit.com/r/programming/comments/4cawu2/dconf_2016_announces_programme_general/


Andrei



Re: DConf 2016 announces programme, general registration opened thrugh April 22

2016-03-28 Thread Andrei Alexandrescu via Digitalmars-d-announce

In social media:

https://twitter.com/D_Programming/status/714491383357112321

https://www.facebook.com/dlang.org/posts/1261786503835028

https://www.reddit.com/r/programming/comments/4cawu2/dconf_2016_announces_programme_general/

https://news.ycombinator.com/newest


Andrei



DConf 2016 announces programme, general registration opened thrugh April 22

2016-03-28 Thread Andrei Alexandrescu via Digitalmars-d-announce

The Fourth Annual Conference of the D Programming Language: DConf 2016

May 4 to May 6, 2016

Berlin, Germany

http://dconf.org/2016/

We have received many excellent submissions for DConf 2016, which made 
the selection process difficult. After long deliberations, the 
organizing committee is happy to announce we have a strong program 
featuring a mix of tutorials, advanced informational talks, experience 
reports, panels, and interviews that we hope would be of broad interest 
not within the D milieu, but also for prospective users and the broader 
software engineering community. Refer to http://dconf.org/2016/schedule 
for the full conference schedule.


The conference track contains 18 speakers, including the D language 
creator Walter Bright, language architect Andrei Alexandrescu, and D's 
build and release czar Martin Nowak. Leandro Lucarella will deliver a 
keynote covering the use of D at Sociomantic, a high-powered display 
advertising company built entirely on the D language. A combination of 
well-known and up-and-coming speakers completes the mix, check 
http://dconf.org/2016/speakers for details.


We encourage participation to DConf 2016 of all interested. Past edition 
attendees know that in addition to the excellent "official" technical 
content, the value multiplier of the conference is direct access to, and 
interaction with, colleagues, speakers, and luminaries of the industry. 
Attendance has doubled in size this edition, so gear up for three days 
of mind-blowing information, inspiration, and excitement.


Hope to see you there! Registration will be open through April 22, 2016 
but please hurry up as we might start pushing against venue limits soon.


Organizers

Walter Bright, The D Language Foundation
Ali Çehreli, The D Language Foundation, Riverbed
Andrei Alexandrescu, The D Language Foundation
Mihails Strasuns, Sociomantic


Re: mir.combinatorics: reviewers and ideas are wanted

2016-03-28 Thread Timon Gehr via Digitalmars-d-announce

On 28.03.2016 09:24, 9il wrote:

Hello All,

Sebastian Wilzbach (aka @greenify) starts mir.combinatorics.

Numeric functions:
- `binomial`

Ranges:
- `permutations` RoR
- `cartesianPower` RoR
- `combinations` RoR
- `combinationsRepeat` RoR

RoR - Range of Ranges

PR: https://github.com/DlangScience/mir/pull/29


Best regards,
Ilya



Regarding ideas:
For each range, there should probably be a numeric function computing 
the length of that range. (e.g. here, binomial corresponds to 
combinations, there should be factorial corresponding to permutations etc.)


This table might provide some inspiration:
https://en.wikipedia.org/wiki/Twelvefold_way#Formulas

I'd suggest completing the set of functions and ranges such that they 
cover all cases in this table.
They can then be generalized. (E.g. instead of choosing a subset of a 
given size, one might want to choose multiple disjoint subsets of given 
sizes etc.)


Also (both numeric functions and ranges, often more than one range per 
numeric function):


- https://en.wikipedia.org/wiki/Multinomial_theorem
- https://en.wikipedia.org/wiki/Stirling_numbers_of_the_first_kind
- https://en.wikipedia.org/wiki/Derangement
- https://en.wikipedia.org/wiki/Cyclic_permutation, in particular 
transpositions

- https://en.wikipedia.org/wiki/Catalan_number

- https://en.wikipedia.org/wiki/Fuss%E2%80%93Catalan_number
- https://en.wikipedia.org/wiki/Narayana_number
- https://en.wikipedia.org/wiki/Delannoy_number
- https://en.wikipedia.org/wiki/Motzkin_number
- https://en.wikipedia.org/wiki/Schr%C3%B6der_number
- https://en.wikipedia.org/wiki/Schr%C3%B6der%E2%80%93Hipparchus_number
- ...


Re: 2016Q1: std.blas

2016-03-28 Thread 9il via Digitalmars-d-announce

On Thursday, 24 March 2016 at 10:52:39 UTC, Nordlöw wrote:

On Thursday, 24 March 2016 at 09:30:04 UTC, 9il wrote:

I will post Level 1 to Mir during this week.


Great!


http://forum.dlang.org/thread/xnqazcivzbwlpmbym...@forum.dlang.org Only 
summation for now :-/ --Ilya



Re: Beta D 2.071.0-b1

2016-03-28 Thread Martin Nowak via Digitalmars-d-announce
On 03/27/2016 09:46 PM, deadalnix wrote:
> The one I intended to talk about:
> https://github.com/D-Programming-Language/phobos/pull/4099

This doesn't look like a bugfix or anything urgent, so it seems like it
can wait for 2.072.



mir.las.sum

2016-03-28 Thread 9il via Digitalmars-d-announce

First Linear Algebra Subroutines module was included to Mir.

`mir.las.sum` contains Functions and Output Ranges for Summation 
Algorithms. Works with user-defined types.

  - Precise algorithm: improved analog of Python's `fsum`
  - Pairwise algorithm: fast version for Input Ranges
  - Kahan, KBN, and KB2 algorithms

https://github.com/DlangScience/mir

Ilya


Re: mir.combinatorics: reviewers and ideas are wanted

2016-03-28 Thread jmh530 via Digitalmars-d-announce

On Monday, 28 March 2016 at 07:24:12 UTC, 9il wrote:


Sebastian Wilzbach (aka @greenify) starts mir.combinatorics.



Cool, when I have time I will take a look.


Article on Introspective programming

2016-03-28 Thread Nicholas Wilson via Digitalmars-d-announce


http://thewilsonator.github.io/update/2016/03/28/better-vulkan-bindings.html

I would like some feedback before this is posted to reddit.

Come to think of it, putting the project on github would be a 
good idea, but unfortunately I won't have the time for at least a 
week.


Oh well.

Comments and suggestions appreciated.

Nic


Re: Weak Purity Blog Post

2016-03-28 Thread ag0aep6g via Digitalmars-d-announce

On 28.03.2016 03:44, sarn wrote:

https://theartofmachinery.com/2016/03/28/dirtying_pure_functions_can_be_useful.html


From there:


Well, you can get the usual (“strong”) purity guarantee just by making all 
pointer or reference type arguments const.


Indirections in the return type also play into this. David Nadlinger 
explains this in his article on the matter:


http://klickverbot.at/blog/2012/05/purity-in-d/#indirections-in-the-return-type


Re: Weak Purity Blog Post

2016-03-28 Thread Walter Bright via Digitalmars-d-announce

On 3/27/2016 10:41 PM, deadalnix wrote:

https://www.reddit.com/r/programming/comments/4c8zs6/how_dirtying_pure_functions_a_little_can_be/



BTW, thanks for posting it.


libotr native D port

2016-03-28 Thread ketmar via Digitalmars-d-announce
subj. here[1]. not heavily tested, but it doesn't really matter, 
as nobody will use it anyway.



1. http://repo.or.cz/libotrd.git


Re: Weak Purity Blog Post

2016-03-28 Thread Walter Bright via Digitalmars-d-announce

On 3/27/2016 6:44 PM, sarn wrote:

D's implementation of functional purity supports "weak" purity - functions that
can mutate arguments but are otherwise traditionally pure.

I wrote a post about some of the practical benefits of this kind of purity:

https://theartofmachinery.com/2016/03/28/dirtying_pure_functions_can_be_useful.html


It's a nice article, you should put your name on it as the author!


Re: Weak Purity Blog Post

2016-03-28 Thread Walter Bright via Digitalmars-d-announce

On 3/27/2016 10:41 PM, deadalnix wrote:

On Monday, 28 March 2016 at 05:21:36 UTC, Joakim wrote:

On Monday, 28 March 2016 at 01:44:02 UTC, sarn wrote:

D's implementation of functional purity supports "weak" purity - functions
that can mutate arguments but are otherwise traditionally pure.

I wrote a post about some of the practical benefits of this kind of purity:

https://theartofmachinery.com/2016/03/28/dirtying_pure_functions_can_be_useful.html



Very well-written, someone post it on Reddit.


https://www.reddit.com/r/programming/comments/4c8zs6/how_dirtying_pure_functions_a_little_can_be/



Queue my usual harangue:

Articles do MUCH MUCH better on reddit if, when posted, a brief description of 
the content of the article is also posted. Like what sarn posted here.


Not doing so seriously blunts the value. People need a reason to click on the 
article. It's why when you google something, you don't just get a list of links. 
You get a blurb with each link.


mir.combinatorics: reviewers and ideas are wanted

2016-03-28 Thread 9il via Digitalmars-d-announce

Hello All,

Sebastian Wilzbach (aka @greenify) starts mir.combinatorics.

Numeric functions:
- `binomial`

Ranges:
- `permutations` RoR
- `cartesianPower` RoR
- `combinations` RoR
- `combinationsRepeat` RoR

RoR - Range of Ranges

PR: https://github.com/DlangScience/mir/pull/29


Best regards,
Ilya