Re: Quick Start for Hunt Framework!

2020-06-08 Thread Heromyth via Digitalmars-d-announce

On Monday, 8 June 2020 at 17:45:33 UTC, Andre Pany wrote:

On Monday, 8 June 2020 at 17:43:03 UTC, Andre Pany wrote:

[...]


Correction:

Command is:

`dub init -n SimpleDemo -t custom-dub-init -- --foo=bar`


I have filed an issue to talk about this. See 
https://github.com/dlang/dub/issues/1963.




For the moment, there is the dub test
https://github.com/andre2007/dub/blob/master/test/issue1651-custom-dub-init-type.sh
 which exactly test the behavior you try.
Did you already had a look here?


My command is copied from there.




Re: Quick Start for Hunt Framework!

2020-06-08 Thread Heromyth via Digitalmars-d-announce

On Wednesday, 3 June 2020 at 08:11:55 UTC, Andre Pany wrote:

On Wednesday, 3 June 2020 at 05:11:47 UTC, zoujiaqing wrote:

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


By having a dub sub package `init-exec` in huntlabs dub package,
a dub user can just execute `dub init -n mypackage -t 
hunt-framework`

to create a skeleton, with source code provided by you.

See example here:
https://github.com/dlang/dub/blob/master/test/issue1651-custom-dub-init-type/custom-dub-init-dubpackage-1.0.1.zip?raw=true

Kind regards
André


I got a failed test. Here is the log, and I'm not sure what's 
wrong with this:


➜  ~ cd dlang/dub-demo
➜  dub-demo pwd
/Users/putao/dlang/dub-demo
➜  dub-demo ll custom-dub-init
total 8
-rw-rw-r--@ 1 putao  staff   123B  3  9  2019 dub.json
drwxrwxr-x@ 4 putao  staff   128B  3 10  2019 init-exec
drwxrwxr-x@ 3 putao  staff96B  3 10  2019 source

➜  dub-demo dub init -n SimpleDemo -t custom-dub-init-dubpackage 
--skip-registry=all 
--registry=file:///Users/putao/dlang/dub-demo/custom-dub-init -- 
--foo=bar

Couldn't find package: custom-dub-init-dubpackage.



Re: Hunt Framework 3.0.0 Released, Web Framework for DLang!

2020-05-01 Thread Heromyth via Digitalmars-d-announce

On Friday, 1 May 2020 at 13:11:23 UTC, welkam wrote:

On Friday, 1 May 2020 at 10:54:55 UTC, zoujiaqing wrote:

<...>
I did a quick look and it looks like http server + some 
goodies. Is this a correct assessment? If yes what is the 
status of http 2.0, ssl and bzip support?


Not exactly. The whole Hunt Framework includes many other stuffs 
like database, redis, amqp etc. except for HttpServer and 
HttpClient.


Of course, the HTTP 2.0 and TLS are supported in Hunt Framework. 
Here are some simple demos:

https://github.com/huntlabs/hunt-http/tree/master/examples/H2C-Demo
https://github.com/huntlabs/hunt-http/tree/master/examples/HttpDemo


Re: Release D 2.089.0

2019-11-05 Thread Heromyth via Digitalmars-d-announce

On Tuesday, 5 November 2019 at 19:05:10 UTC, Manu wrote:
On Mon, Nov 4, 2019 at 11:55 PM John Chapman via 
Digitalmars-d-announce  
wrote:

[...]


[...]


The keyword of share is really annoying for a class。


Re: Release D 2.089.0

2019-11-05 Thread Heromyth via Digitalmars-d-announce

On Tuesday, 5 November 2019 at 07:52:12 UTC, John Chapman wrote:

On Tuesday, 5 November 2019 at 06:44:29 UTC, Manu wrote:
On Mon., 4 Nov. 2019, 2:05 am John Chapman via 
Digitalmars-d-announce, < 
digitalmars-d-announce@puremagic.com> wrote:



[...]


Changes were made because there were a lot of problems with 
that module...
but the (reasonably comprehensive) unit tests didn't reveal 
any such
regressions. We also build+test many popular OSS projects via 
buildkite,

and there weren't problems.
Can you show the broken code?


Sure - this AVs on DMD 2.088 Windows:

import core.atomic;
void main() {
  Object a, b = new Object;
  cas(cast(shared)&a, null, cast(shared)b);
}


There are some bugs in cas. See here:
https://issues.dlang.org/show_bug.cgi?id=20354
https://issues.dlang.org/show_bug.cgi?id=20355


Re: Redis client hunt-redis RC1 released

2019-07-27 Thread Heromyth via Digitalmars-d-announce

On Thursday, 25 July 2019 at 16:23:58 UTC, Dejan Lekic wrote:

On Tuesday, 23 July 2019 at 07:57:06 UTC, zoujiaqing wrote:

A Powerfull Redis client library for D Programming Language.

Porting from java Jedis, support redis 3.x / 4.x all features 
and 5.x

 some features.


Why? There is the excellent TinyRedis project. Does it not have 
some feature you need?


The Tiny-Redis may be the fastest redis impelements in D. However 
we think the Jedis's APIs and document are better. So we ported 
it in D. It can make us writting code more quickly and correctly.




Re: hunt library 1.0.0 released!

2019-01-15 Thread Heromyth via Digitalmars-d-announce

On Tuesday, 15 January 2019 at 18:57:55 UTC, Johannes Loher wrote:

On Tuesday, 15 January 2019 at 14:58:01 UTC, Brian wrote:

[...]


Thanks for the great work!

I had already been planning on playing around with hunt for a 
bit. What has been holding me back until now is the fact that 
part of the documentation still is only available in Chinese, 
which I unfortunately am not able to read. Are there any plans 
on translating the remaining parts of the documentation?


We are writting the documents for Hunt in English.


Re: hunt library 1.0.0 released!

2019-01-15 Thread Heromyth via Digitalmars-d-announce

On Tuesday, 15 January 2019 at 16:25:04 UTC, WebFreak001 wrote:

On Tuesday, 15 January 2019 at 14:58:01 UTC, Brian wrote:

A refined core library for D programming language.

Core modules:

[...]


nice! Always cool seeing new frameworks for existing stuff. How 
does this compare to vibe.d?


Here are some web frameworks including vibe.d, fasthttp, etc. :

https://www.techempower.com/benchmarks/#section=data-r17&hw=ph&test=plaintext

It's so regretful that the Hunt has not been listed on it yet. 
The hunt just a core library for web development.


We are activly developping the Hunt-Framework lib 
(https://github.com/huntlabs/hunt-framework), which is a 
full-stack web framework, and based on the Hunt.


Re: Hunt framework 1.0.0 released

2018-06-05 Thread Heromyth via Digitalmars-d-announce

On Tuesday, 5 June 2018 at 07:54:49 UTC, WebFreak001 wrote:

On Tuesday, 5 June 2018 at 07:25:33 UTC, Brian wrote:
We are pleased to announce an official version of hunt 1.0 , 
This is an important milestone release!


[...]


cool! Is the hunt-skeleton always stable? I can add it as 
template to the code-d templates, I think it will make it a lot 
easier to get into.


Maybe, more templates can be added like hunt with boostrap 4, 
hunt with Ract.js and hunt with Angular etc.


Iup4D 1.0 alpha

2017-01-20 Thread Heromyth via Digitalmars-d-announce
Iup4D is a D binding library for IUP with OOP style. Its API is 
similar to WinForms.


This software is licensed under the Boost Software License, 
Version 1.0.


It's still under active development and is only tested on Windows 
X86.


The repository is at https://github.com/Heromyth/Iup4D.