Re: Release D 2.071.0

2016-09-13 Thread Martin Nowak via Digitalmars-d-announce

On Monday, 2 May 2016 at 16:47:13 UTC, Márcio Martins wrote:
Since this release is not critical for us, despite including 
many great changes, we will also stick to DMD 2.070.2 and hope 
for a fix in a future release, if at all possible.


There is an issue by now 
https://issues.dlang.org/show_bug.cgi?id=15988, but I can't 
reproduce any serious slowdowns with vibe-d, Higgs, or dcd 
comparing 2.069.2, 2.070.2, and 2.071.2-b4.


Flycheck DMD Coverage and Dscanner Support

2016-09-13 Thread Nordlöw via Digitalmars-d-announce
I've added experimental support in Flycheck for highlighting all 
lines that have zero coverage at


https://github.com/nordlow/elisp/blob/master/mine/flycheck-d-all.el

Source is an extension of unittest add-ons in 
https://github.com/flycheck/flycheck-d-unittest.


I've also had Flycheck-support for Dscanner hanging around for 
some time at


https://github.com/nordlow/elisp/blob/master/mine/flycheck-d-dscanner.el

I haven't figured out how to have these active at once, thought. 
So pick one or the other but not both at the same time. Something 
wrong with my settings of the `:next-checkers` property I 
presume. Ideas?


Feedback is much appreciated. A key-question is how the coverage 
line count could be visualized aswell.


Destroy!


Re: Beta D 2.071.2-b4

2016-09-13 Thread Johan Engelen via Digitalmars-d-announce

On Tuesday, 13 September 2016 at 14:00:26 UTC, Martin Nowak wrote:
On Monday, 12 September 2016 at 07:47:19 UTC, Martin Nowak 
wrote:
This comes with a different fix for Issue 15907 than 
2.071.2-b3.


There will be another beta tomorrow or so to include at least 
one more fix (for Issue 16460) and we'll soon release 2.071.2.


I have merged 2.071.2-b4+the fix for issue 16460 into LDC master.
As far as deprecations go, it's looking good on Weka's codebase.

cheers,
  Johan




Re: small promotion for Dlang and Mir

2016-09-13 Thread Ilya Yaroshenko via Digitalmars-d-announce

On Tuesday, 13 September 2016 at 15:19:07 UTC, jmh530 wrote:
On Tuesday, 13 September 2016 at 14:14:01 UTC, Ilya Yaroshenko 
wrote:


1. findRoot. D implementation is significantly better then 98% 
of others  for the problem because the problem behaves like 
pathological. Thanks to ieeeMean

2. logmdigamma
3. logmdigammaInverse


Damn, I didn't even realize that std.numeric had a root 
function!


The next DMD release will also have findLocalMin


Re: small promotion for Dlang and Mir

2016-09-13 Thread jmh530 via Digitalmars-d-announce
On Tuesday, 13 September 2016 at 14:14:01 UTC, Ilya Yaroshenko 
wrote:


1. findRoot. D implementation is significantly better then 98% 
of others  for the problem because the problem behaves like 
pathological. Thanks to ieeeMean

2. logmdigamma
3. logmdigammaInverse


Damn, I didn't even realize that std.numeric had a root function!


Re: workspace-d 2.7.2 & code-d 0.10.14

2016-09-13 Thread WebFreak001 via Digitalmars-d-announce

On Sunday, 11 September 2016 at 23:46:18 UTC, Joel wrote:

On Sunday, 11 September 2016 at 08:43:53 UTC, WebFreak001 wrote:

On Sunday, 11 September 2016 at 06:01:45 UTC, Joel wrote:
I just get this: Debug adapter process has terminated 
unexpectedly


can you run `gdb --interpreter=mi2` from the console? Or if 
you use lldb, can you run `lldb-mi` from the console? If not 
then vscode won't be able to. To be sure that it isn't 
anything because of the PATH, run vscode from the console 
where gdb and lldb-mi works and try again. If its crashing 
unexpectedly its didnt even run gdb or lldb. It might also be 
the unix domain sockets, but I don't think they should be the 
issue. Also check the debug console (console icon in debug 
menu) if there is any output at all


It says they're not found. How do I get them?


lldb-mi is bundled with Xcode, there is a command to get it in 
the code-debug README: https://github.com/WebFreak001/code-debug


I don't know how to get gdb on OSX, you would need to find that 
out yourself


Re: small promotion for Dlang and Mir

2016-09-13 Thread Ilya Yaroshenko via Digitalmars-d-announce

On Tuesday, 13 September 2016 at 14:43:11 UTC, bachmeier wrote:
On Tuesday, 13 September 2016 at 14:14:01 UTC, Ilya Yaroshenko 
wrote:



[...]


How stable is Mir? I have recently stripped my library for 
embedding R inside D down to the minimum amount and created an 
R package to do the installation. Therefore it is trivial to 
install and get started on Linux.* I would like to test how it 
works to mix R and Mir code. However, I don't want to dig into 
that until Mir is in a stable state.


* Also Windows and Mac, but since I don't have either of those 
machines, I cannot do any work with them.


Recent release v0.15.3 is stable.
v0.17.0-alpha3 may have API changes in mir.glas and mir.random.

mir.ndslice will be removed in favor of std.experimental.ndslice, 
but redirection imports will work during long deprecation period 
(like in Phobos).


Thank you for the star)


Re: small promotion for Dlang and Mir

2016-09-13 Thread bachmeier via Digitalmars-d-announce
On Tuesday, 13 September 2016 at 14:14:01 UTC, Ilya Yaroshenko 
wrote:



Also you can help Mir in
 - 5 second: star the project https://github.com/libmir/mir
 - 1 hour+:
 - opt1: Write an article or about ndslice or mir.glas [6] 
(upcoming BLAS implementation in D)

 - opt2: Add small enhancement you want, see also [4]
 - opt3: Include new chapter about ndslice and Mir to the 
Dlang Tour [7]

 - 1 day+: Became an author for a new package, see also [5].

Companies can order numerical, statistical, and data mining 
algorithms and services. We work with web and big data.


[1] http://rdcu.be/kiKR -  "On Robust Algorithm for Finding 
Maximum Likelihood Estimation of the Generalized Inverse 
Gaussian Distribution"
[2] https://github.com/9il/atmosphere - library, which contains 
the source code for the article

[3] https://github.com/libmir/mir
[4] 
https://github.com/libmir/mir/issues?q=is%3Aissue+is%3Aopen+label%3Aenhancement
[5] 
https://github.com/libmir/mir/issues?q=is%3Aissue+is%3Aopen+label%3A%22New+Package%22

[6] http://docs.mir.dlang.io/latest/mir_glas_l3.html
[7] http://tour.dlang.org/

Best regards,
Ilya


How stable is Mir? I have recently stripped my library for 
embedding R inside D down to the minimum amount and created an R 
package to do the installation. Therefore it is trivial to 
install and get started on Linux.* I would like to test how it 
works to mix R and Mir code. However, I don't want to dig into 
that until Mir is in a stable state.


* Also Windows and Mac, but since I don't have either of those 
machines, I cannot do any work with them.


small promotion for Dlang and Mir

2016-09-13 Thread Ilya Yaroshenko via Digitalmars-d-announce
My article [1] in Journal of Mathematical Sciences (Springer) 
will be released this October. It notes D standard library 3 
times:


1. findRoot. D implementation is significantly better then 98% of 
others  for the problem because the problem behaves like 
pathological. Thanks to ieeeMean

2. logmdigamma
3. logmdigammaInverse

The article is already available online [1].
Of course the source code for the article was written in D [2].

If you want to use D for Science or Machine Learning go forward 
with Mir project [3].


Also you can help Mir in
 - 5 second: star the project https://github.com/libmir/mir
 - 1 hour+:
 - opt1: Write an article or about ndslice or mir.glas [6] 
(upcoming BLAS implementation in D)

 - opt2: Add small enhancement you want, see also [4]
 - opt3: Include new chapter about ndslice and Mir to the 
Dlang Tour [7]

 - 1 day+: Became an author for a new package, see also [5].

Companies can order numerical, statistical, and data mining 
algorithms and services. We work with web and big data.


[1] http://rdcu.be/kiKR -  "On Robust Algorithm for Finding 
Maximum Likelihood Estimation of the Generalized Inverse Gaussian 
Distribution"
[2] https://github.com/9il/atmosphere - library, which contains 
the source code for the article

[3] https://github.com/libmir/mir
[4] 
https://github.com/libmir/mir/issues?q=is%3Aissue+is%3Aopen+label%3Aenhancement
[5] 
https://github.com/libmir/mir/issues?q=is%3Aissue+is%3Aopen+label%3A%22New+Package%22

[6] http://docs.mir.dlang.io/latest/mir_glas_l3.html
[7] http://tour.dlang.org/

Best regards,
Ilya



Re: Beta D 2.071.2-b4

2016-09-13 Thread Martin Nowak via Digitalmars-d-announce

On Monday, 12 September 2016 at 07:47:19 UTC, Martin Nowak wrote:

This comes with a different fix for Issue 15907 than 2.071.2-b3.


There will be another beta tomorrow or so to include at least one 
more fix (for Issue 16460) and we'll soon release 2.071.2.
This is a good moment to double check whether all the deprecation 
warnings for your project caused by the import changes are 
justified.


-Martin


Re: DlangUI 0.9.0: Console backend added

2016-09-13 Thread ketmar via Digitalmars-d-announce
On Tuesday, 13 September 2016 at 12:29:47 UTC, Vadim Lopatin 
wrote:

Screenshots on imgur: http://imgur.com/a/eaRiT


btw. please note that on most GNU/Linux terminals you can use 
simple RGB colors (with each component in [0..5] range). IRL if 
$TERM != "Linux", it is safe to assume that terminal supports 256 
colors (with rare exclustions like "screen" -- those can be 
safely ignored, screen is fubared anyway ;-).


Re: DlangUI 0.9.0: Console backend added

2016-09-13 Thread Rory McGuire via Digitalmars-d-announce
On Tue, Sep 13, 2016 at 2:29 PM, Vadim Lopatin via Digitalmars-d-announce <
digitalmars-d-announce@puremagic.com> wrote:

> On Tuesday, 13 September 2016 at 12:18:19 UTC, Bauss wrote:
>
>> Good job, but why do people still use tinypic in 2016, when things like
>> imgur exist that are a 1000 times faster to use, no dirty ads and images
>> won't magically be taken down someday.
>>
>
> Screenshots on imgur: http://imgur.com/a/eaRiT
>


nice, much better image site..

Did you get my post about the keyboard thing?
You can test it by running dub --single filename.d

output looks like:
kp: [27, 91, 49, 59, 50, 68]
kp: [27, 91, 49, 59, 53, 68]
kp: [27, 91, 49, 59, 51, 68]
kp: [27, 91, 68]

if I press:
shift+Left
ctrl+Left
alt+left
left



BTW: love what you are doing with dlangui. Are you a one person team?


Re: DlangUI 0.9.0: Console backend added

2016-09-13 Thread Vadim Lopatin via Digitalmars-d-announce

On Tuesday, 13 September 2016 at 12:18:19 UTC, Bauss wrote:
Good job, but why do people still use tinypic in 2016, when 
things like imgur exist that are a 1000 times faster to use, no 
dirty ads and images won't magically be taken down someday.


Thanks. I just googled tinypic with "free image hosting".
Next time will upload on imgur.


Re: DlangUI 0.9.0: Console backend added

2016-09-13 Thread Vadim Lopatin via Digitalmars-d-announce

On Tuesday, 13 September 2016 at 12:18:19 UTC, Bauss wrote:
Good job, but why do people still use tinypic in 2016, when 
things like imgur exist that are a 1000 times faster to use, no 
dirty ads and images won't magically be taken down someday.


Screenshots on imgur: http://imgur.com/a/eaRiT


Re: DlangUI 0.9.0: Console backend added

2016-09-13 Thread Bauss via Digitalmars-d-announce

On Friday, 9 September 2016 at 11:21:07 UTC, Vadim Lopatin wrote:

Some screenshots (from dlangui example1 app):

  http://i63.tinypic.com/2wn1bg9.png
  http://i66.tinypic.com/142yctx.png
  http://i64.tinypic.com/snlc08.png
  http://i64.tinypic.com/2n16vcw.png



Good job, but why do people still use tinypic in 2016, when 
things like imgur exist that are a 1000 times faster to use, no 
dirty ads and images won't magically be taken down someday.


Re: DlangUI 0.9.0: Console backend added

2016-09-13 Thread Vadim Lopatin via Digitalmars-d-announce

On Tuesday, 13 September 2016 at 11:27:19 UTC, Stefan Koch wrote:
On Tuesday, 13 September 2016 at 07:51:06 UTC, Vadim Lopatin 
wrote:
On Friday, 9 September 2016 at 11:21:07 UTC, Vadim Lopatin 
wrote:

[...]


Screenshot of DlangIDE working in console:

http://i68.tinypic.com/2hrmkup.png


Looks great!
can you fix dlang-ui to build on XP ?


I don't have XP to check. What is wrong? Could you submit issue 
on github?

https://github.com/buggins/dlangui/issues


Re: DlangUI 0.9.0: Console backend added

2016-09-13 Thread Stefan Koch via Digitalmars-d-announce
On Tuesday, 13 September 2016 at 07:51:06 UTC, Vadim Lopatin 
wrote:
On Friday, 9 September 2016 at 11:21:07 UTC, Vadim Lopatin 
wrote:

[...]


Screenshot of DlangIDE working in console:

http://i68.tinypic.com/2hrmkup.png


Looks great!
can you fix dlang-ui to build on XP ?


Re: DlangUI 0.9.0: Console backend added

2016-09-13 Thread Vadim Lopatin via Digitalmars-d-announce

On Friday, 9 September 2016 at 11:21:07 UTC, Vadim Lopatin wrote:

Hello!

Now it's possible to build DlangUI apps to run in console 
(Linux, Windows).
When DlangUI is built with version=USE_CONSOLE (dub 
subconfiguration "console" for dlangui library) - it works in 
terminal.


Such feature may be useful, e.g. to run apps on headless 
devices, or via SSH.


For simple apps, it's enough just to specify dlangui 
configuration console. No additional changes required.


If custom themes are used, additional theme files prefixed with 
"console_" are to be created.
If custom embedded resources are used, create additional 
resource list file, with "console_" prefix.


Margins, padding, size values if specified in pixels are to be 
changed.
Hint: use points or EMs for such values to get them working 
universally on both console and GUI.


If images/icons are used, and still needed in console mode, you 
may need to create ASCII art like text image files (.tim 
extension).


Screenshot of DlangIDE working in console:

http://i68.tinypic.com/2hrmkup.png