Quick Start for Hunt Framework!

2020-06-02 Thread zoujiaqing via Digitalmars-d-announce

Look this:
https://github.com/huntlabs/hunt-framework/wiki/Quick-Start


Sublime 3 plugin DlangAutoModuleName

2020-06-02 Thread Виталий Фадеев via Digitalmars-d-announce

Plugin will be add "mmodule name;".
Module name detected from first "class name" or "interface name" 
or "struct name".

Demo: https://github.com/vitalfadeev/SublimeDlangAutoModuleName



Re: Pretty-printing D arrays with Mir

2020-06-02 Thread tastyminerals via Digitalmars-d-announce

On Sunday, 31 May 2020 at 22:40:09 UTC, tastyminerals wrote:

I often print arrays to see how they look and their contents.
NumPy has a nice way of pretty-printing the arrays, and I was 
lacking this in D.
For the sake of practice, I wrote a small package. It uses 
mir.ndslice but works for both standard D arrays and Mir Slices.


[...]


I added the package to code.dlang.org (thanks to John-Colvin 
reminding me).
The repo url is updated: 
https://github.com/tastyminerals/pretty-d-array


Re: German D tutorial: Sichere Docker images für cloud Anwendungen erstellen

2020-06-02 Thread Andre Pany via Digitalmars-d-announce

On Tuesday, 2 June 2020 at 06:47:55 UTC, Jan Hönig wrote:

On Friday, 29 May 2020 at 15:49:31 UTC, Andre Pany wrote:

Hi,

This tutorial describes how to run a vibe-d http server within 
a docker scratch image for the purpose of security.


https://d-land.sepany.de/tutorials/cloud/sichere-docker-images-fuer-cloud-anwendungen-erstellen/

Kind regards
Andre


Sehr gute Anleitung. Danke dafür.
Ich kannte deinen Blog noch gar nicht.


Danke :)

Viele Grüße
Andre


Re: unit-threaded v1.0.0

2020-06-02 Thread Atila Neves via Digitalmars-d-announce

On Monday, 1 June 2020 at 09:03:20 UTC, ag0aep6g wrote:

On 01.06.20 10:49, Atila Neves wrote:
That got fixed a few weeks back - your code doesn't compile 
for me.


Huh. Maybe you forgot to commit that? I'm just running this 
through `dub --single test.d`:



/+ dub.json:
{
"dependencies": {
"unit-threaded": "~>1.0.0",
},
}
+/
import unit_threaded.light: check;
void main() @safe
{
check!((int a) @system {
/* ... can do unsafe stuff here ... */
return true;
});
}


https://run.dlang.io/is/NbiYBB


I missed that you imported `unit_threaded.light`. Thanks for 
reporting! That whole module needs to be redone.


Re: German D tutorial: Sichere Docker images für cloud Anwendungen erstellen

2020-06-02 Thread Jan Hönig via Digitalmars-d-announce

On Friday, 29 May 2020 at 15:49:31 UTC, Andre Pany wrote:

Hi,

This tutorial describes how to run a vibe-d http server within 
a docker scratch image for the purpose of security.


https://d-land.sepany.de/tutorials/cloud/sichere-docker-images-fuer-cloud-anwendungen-erstellen/

Kind regards
Andre


Sehr gute Anleitung. Danke dafür.
Ich kannte deinen Blog noch gar nicht.