Re: Beta 2.072.0-b2

2016-10-10 Thread Martin Nowak via Digitalmars-d-announce

On Monday, 10 October 2016 at 10:45:37 UTC, Sönke Ludwig wrote:
Would have been nice in theory to have real void initialization 
of course, plus it was there for working around that (fixed?) 
issue with slow compilation times for large static arrays, but 
there is probably no real reason now to keep it.


Here is the ER for using `= void` field initializers.
[Issue 11331 – Inefficient initialization of struct with members 
= void](https://issues.dlang.org/show_bug.cgi?id=11331)




scone 1.2.0

2016-10-10 Thread vladdeSV via Digitalmars-d-announce
scone, Simple CONsole Engine, version 1.2.0 has just been 
released!

https://github.com/vladdeSV/scone/releases/tag/v1.2.0

This version includes a restructure of the whole project (should 
not affect applications), and the addition of a progress bar to 
the current UI library + bug fix.


Feedback is always appreciated!


Re: Project Highlight: DlangUI

2016-10-10 Thread Vadim Lopatin via Digitalmars-d-announce

On Monday, 10 October 2016 at 14:32:43 UTC, Mike Parker wrote:

On Monday, 10 October 2016 at 13:26:59 UTC, Vadim Lopatin wrote:

Mike, is it possible to add screenshot to article before 
Console UI screenshot?
People getting confused by text UI screenshot, thinking it's 
normal for DlangUI.


Good candidate: 
http://buggins.github.io/dlangui/screenshots/screenshot-example1-windows.png


Good idea. I've updated the post.


Thank you!



Re: Project Highlight: DlangUI

2016-10-10 Thread Mike Parker via Digitalmars-d-announce

On Monday, 10 October 2016 at 13:26:59 UTC, Vadim Lopatin wrote:

Mike, is it possible to add screenshot to article before 
Console UI screenshot?
People getting confused by text UI screenshot, thinking it's 
normal for DlangUI.


Good candidate: 
http://buggins.github.io/dlangui/screenshots/screenshot-example1-windows.png


Good idea. I've updated the post.


Re: Project Highlight: DlangUI

2016-10-10 Thread Vadim Lopatin via Digitalmars-d-announce

On Friday, 7 October 2016 at 13:45:36 UTC, Mike Parker wrote:
The latest post on the D Blog is all about Vadim's DlangUI. He 
shares some of the inspiration behind it, a few implementation 
details, and plans for the future.


The post: 
https://dlang.org/blog/2016/10/07/project-highlight-dlangui/
Reddit: 
https://www.reddit.com/r/programming/comments/56besf/dlangui_a_crossplatform_gui_written_in_and_for/


Screenshots on http://buggins.github.io/dlangui/screenshots.html 
are updated to taken from latest DlangUI.

Now they are clickable - click to see non-resized version.



Re: Project Highlight: DlangUI

2016-10-10 Thread Vadim Lopatin via Digitalmars-d-announce

On Friday, 7 October 2016 at 13:45:36 UTC, Mike Parker wrote:
The latest post on the D Blog is all about Vadim's DlangUI. He 
shares some of the inspiration behind it, a few implementation 
details, and plans for the future.


The post: 
https://dlang.org/blog/2016/10/07/project-highlight-dlangui/
Reddit: 
https://www.reddit.com/r/programming/comments/56besf/dlangui_a_crossplatform_gui_written_in_and_for/


Mike, is it possible to add screenshot to article before Console 
UI screenshot?
People getting confused by text UI screenshot, thinking it's 
normal for DlangUI.


Good candidate: 
http://buggins.github.io/dlangui/screenshots/screenshot-example1-windows.png




Re: Beta 2.072.0-b2

2016-10-10 Thread Dicebot via Digitalmars-d-announce

On Sunday, 9 October 2016 at 22:01:31 UTC, Martin Nowak wrote:

On Sunday, 9 October 2016 at 14:36:49 UTC, Dicebot wrote:

Which branch changelog content is generated from?


Stable, the changelog is also included in the docs that are in 
the packages.

I do merge stable back into master to publish them though.


I am confused in that case. What shall I do to replace 
http://dlang.org/changelog/2.072.0.html#dash_safe with my changes 
from https://github.com/dlang/dmd/blob/stable/changelog.dd ?


Re: Beta 2.072.0-b2

2016-10-10 Thread Sönke Ludwig via Digitalmars-d-announce

Am 10.10.2016 um 12:20 schrieb Martin Nowak:

On Monday, 10 October 2016 at 09:03:53 UTC, Sönke Ludwig wrote:

Of course, the new error is more restrictive than it should be, namely
if the uninitialized pointer field gets written before the first read,
it would still be safe.


That's surprising b/c void initializers for struct fields didn't use to
work.


Hm, thanks for the hint - if that's still the case, that leads to the 
very simple workaround of simply removing the "= void". Would have been 
nice in theory to have real void initialization of course, plus it was 
there for working around that (fixed?) issue with slow compilation times 
for large static arrays, but there is probably no real reason now to 
keep it.



I need to research the intent behind this to say sth. detailed, though
usually an shouldn't break working code, only deprecate it.




Re: Beta 2.072.0-b2

2016-10-10 Thread ag0aep6g via Digitalmars-d-announce

On 10/10/2016 12:28 PM, Martin Nowak wrote:

It's on our heap and will be addressed soon.
Please look at our trello board.
https://trello.com/b/XoFjxiqG/active


These two 2.072 regressions seem to be missing from Trello:

https://issues.dlang.org/show_bug.cgi?id=16013
https://issues.dlang.org/show_bug.cgi?id=16273



Re: Beta 2.072.0-b2

2016-10-10 Thread Martin Nowak via Digitalmars-d-announce

On Monday, 10 October 2016 at 10:06:25 UTC, Basile B. wrote:
Any news on the front of 
https://issues.dlang.org/show_bug.cgi?id=16574 ?


It's on our heap and will be addressed soon.
Please look at our trello board.
https://trello.com/b/XoFjxiqG/active


Re: Beta 2.072.0-b2

2016-10-10 Thread Martin Nowak via Digitalmars-d-announce

On Monday, 10 October 2016 at 09:03:53 UTC, Sönke Ludwig wrote:
Of course, the new error is more restrictive than it should be, 
namely if the uninitialized pointer field gets written before 
the first read, it would still be safe.


That's surprising b/c void initializers for struct fields didn't 
use to work.
I need to research the intent behind this to say sth. detailed, 
though usually an shouldn't break working code, only deprecate it.


Re: Beta 2.072.0-b2

2016-10-10 Thread Sönke Ludwig via Digitalmars-d-announce
There is an error [1] (caused by [2]) in taggedalgebraic, because void 
initializers for pointer types are now invalid in safe code. The 
question now is, is there any workaround that can be done in the 
library, or will every library user have to fix this?


Of course, the new error is more restrictive than it should be, namely 
if the uninitialized pointer field gets written before the first read, 
it would still be safe.


[1]: 
https://github.com/s-ludwig/taggedalgebraic/blob/2d9f9c537f9616bbe2a7072a9aa42ff1fd95f6d6/source/taggedalgebraic.d#L280
[2]: 
https://github.com/s-ludwig/taggedalgebraic/blob/2d9f9c537f9616bbe2a7072a9aa42ff1fd95f6d6/source/taggedalgebraic.d#L56




DStatsD - A fast, memory efficent, vibe.d compatible client for etsy's statsd.

2016-10-10 Thread Robert burner Schadek via Digitalmars-d-announce

http://code.dlang.org/packages/dstatsd

StatsD allows to collect statistics about any application by 
using counters, gauges and more through UDP.


Usage:

auto s = new StatsD("127.0.0.1", 1234, ""); // connect to statsd 
server


s(Counter("Foo")); // increment counter "Foo"
s.inc("Bar"); // increment counter "Foo"

s(Counter("Args"), // send stats to Args, H, and timeA
  Counter("H", someIntValue),  // in one UDP message
  Timer("timeA", someTimeInMS)
);

{
  auto a = ScopeTimer("args", s); // automatic time collection
}