Re: Beta 2.093.0

2020-06-25 Thread bogdan via Digitalmars-d-announce

On Wednesday, 24 June 2020 at 21:01:05 UTC, Martin Nowak wrote:
Glad to announce the first beta for the 2.093.0 release, ♥ to 
the 53 contributors.


http://dlang.org/download.html#dmd_beta
http://dlang.org/changelog/2.093.0.html

As usual please report any bugs at
https://issues.dlang.org

-Martin


Thanks all for the effort!

I'm happy to see that the new dub release has my change related 
to CLI extensibility(even though I'm not in the contributors 
list). Is it possible to make those dub releases more often? This 
change was ready before the previous dmd release.


Re: describe-d: an introspection library

2020-04-15 Thread bogdan via Digitalmars-d-announce

On Tuesday, 14 April 2020 at 10:55:13 UTC, WebFreak001 wrote:

On Monday, 13 April 2020 at 12:11:03 UTC, bogdan wrote:

Hi!

I wrote this small `describe-d` library to allow me to do more 
readable introspection in some of my projects.


Any feedback is appreciated!

Thanks,
Bogdan

[1] https://gitlab.com/szabobogdan3/describe-d
[2] https://code.dlang.org/packages/describe-d


cool library, looks really useful for writing big introspection 
projects, but on the other hand also looks like this would 
significantly increase compilation time currently. Have you 
done any benchmarks how your methods compare (RAM, CPU time) to 
traits? While I love the syntax and the idea, I think with 
current CTFE and templates it would be quite a big hit to use 
in a project.


Thanks!

I did not make any performance measurements. If you know how 
could I do this at compile time, it would be awesome. I think, I 
would need to watch the compiler process for this. If there is no 
other way, I'll do it like this after I will have a more concrete 
APIs.


Usually templates take more time to compile that CTFE, that's why 
I intend to use less templates, or none, if is possible. I expect 
to see an increase in the compilation time, but It should not be 
exponential. I am doing this, because I work a lot with 
introspection, and some of my projects are hard to read because 
of all this mess around traits an templates.


That made me think that, I could give a few more seconds to the 
compiler to have a more readable code. I'll update my projects to 
use this library to see how the compilation performance will 
change.


Bogdan


describe-d: an introspection library

2020-04-13 Thread bogdan via Digitalmars-d-announce

Hi!

I wrote this small `describe-d` library to allow me to do more 
readable introspection in some of my projects.


Any feedback is appreciated!

Thanks,
Bogdan

[1] https://gitlab.com/szabobogdan3/describe-d
[2] https://code.dlang.org/packages/describe-d


Re: DConf 2019 Livestream

2019-05-08 Thread Bogdan via Digitalmars-d-announce

On Wednesday, 8 May 2019 at 08:04:08 UTC, Mike Parker wrote:

On Wednesday, 8 May 2019 at 08:00:15 UTC, Andrej Mitrovic wrote:

On Wednesday, 8 May 2019 at 07:57:40 UTC, Mike Parker wrote:
The venue uses WebEx for livestreaming. All the information 
is available in this PDF:


https://drive.google.com/open?id=1yekllbfOmxHqJNuuWIVeP9vNeROmfp1I


"When joining: Please connect using Internet Explorer, not 
Google Chrome or another web

browser."

You guys can't be serious, you're using WebEx?


Not us. The venue.


Probably not many people will watch the stream. Is it possible to 
upload the stream on youtube at the end of the day?


Re: Spasm - webassembly libary for single page applications

2018-10-14 Thread Bogdan via Digitalmars-d-announce
On Friday, 12 October 2018 at 19:43:25 UTC, Sebastiaan Koppe 
wrote:

I like to announce Spasm https://github.com/skoppe/spasm

It is a webassembly library to develop single page applications 
and builds on my previous work 
(https://forum.dlang.org/post/eqneqstmwfzugymfe...@forum.dlang.org).


It generates fast and small webassembly binaries. The example 
todo-mvc is only 5995 bytes (wasm) + 2199 bytes (html+js) when 
gzipped, and loads pretty fast 
(https://skoppe.github.io/spasm/examples/todo-mvc/)


Spasm can be used with dub and only requires a recent version 
of ldc. See the readme on github how to get started.


The library includes a webpack bootstrap project to build a 
production ready web page.


Spasm is written in betterC.

Next steps are:

- more js host bindings (xhr, localstorage, etc.)
- memory deallocation
- gather an angry mob to make phobos more betterC compatible ;)


Awesome work! I remember that, at some point the 
https://glimmerjs.com/ authors wanted to write their vm in rust 
for better performance. It looks like D is a new option for such 
projects.


Bogdan


Re: fluent-asserts 0.8.0 released

2017-12-01 Thread Szabo Bogdan via Digitalmars-d-announce
I forgot to add a link to the library... so if you are intrested 
about this you can find it here: 
https://code.dlang.org/packages/fluent-asserts


fluent-asserts 0.8.0 released

2017-12-01 Thread Szabo Bogdan via Digitalmars-d-announce

Hi,

I just made some updates to fluent-asserts library. Since the 
last release I did:


* use lazy parameters to test exceptions
```
/// instead of:
({ foo() }).should.throwAnyException;

/// you can now use rewrite it like this:
foo().should.throwAnyException;
```
the known issue is that you can not use this syntax for functions 
that return arrays or ranges... I'll try to fix this issue in a 
future release


* .beNull for delegates
* spaces between words are not replaced with special chars (for 
those who use trial)

* compare immutable and const values with mutable values
* .equal for objects
* improved code results

The library is starting to be more complex that I was expecting 
when I started the project, so any feedbak is appreciated.


Also I want to thank to linkrope, ohdatboi and DiddiZ for the 
submitted issues.






Trial v0.4.0 and visual-trial v0.1.0 are out

2017-09-18 Thread Szabo Bogdan via Digitalmars-d-announce

Hi!

I want to announce that I managed to release a new version of 
Trial, the DLang test runner. Since my last announcement, I made 
this changes:


 - new TAP and VisualTrial reporters
 - add -r flag to override the default reporters
 - add the describe command which prints a json with the 
discovered tests

 - the tests now vave source location
 - ars.d terminal is now part of trial... to fix some dependencies

Also, I worked on a visual studio code plugin, it works on my 
machine... I developed it on mac os, but I will test it on 
windows and linux in the following weeks:


https://marketplace.visualstudio.com/items?itemName=bosz.visual-trial


Any feedback is appreciated!

Thanks!
Bogdan


Trial v0.3.1 is out

2017-08-20 Thread Szabo Bogdan via Digitalmars-d-announce

Hi,

I added some new improvements to `trial` 
http://trial.szabobogdan.com/ which is a hackable test runner for 
D.


This release contains:

- Support for `trial` configuration, that allows you to use 
custom dependencies for the test build

- Improved command line interface
- Spec test discovery
- Test Class test discovery with experimental support for data 
providers

- Configurable glyphs for all reporters
- HTML Code Coverage 
http://trial.szabobogdan.com/artifacts/coverage/html/index.html

- XUnit reporter
- Better fluent-asserts integration


Any feedback is appreciated.

Thanks,
Bogdan


Re: covered - processes output of code coverage analysis performed by the D programming language compiler

2017-08-01 Thread Szabo Bogdan via Digitalmars-d-announce

On Monday, 31 July 2017 at 15:45:18 UTC, Anton Fediushin wrote:

On Monday, 31 July 2017 at 15:27:42 UTC, jmh530 wrote:

On Monday, 31 July 2017 at 13:06:44 UTC, Anton Fediushin wrote:
Hello! I am glad to announce a new command-line tool which 
should make development

 a little easier.



You could add a mixin template that injects the 
"version(D_Coverage)" code.


Covered is a standalone tool, not intended to be used as a 
library. I don't think that forcing user to add it as 
dependency is a good idea, as well as messing with user's code 
(It is possible that `dmd_coverDestPath` is already overrided).


Nice work!

I would like to contribute to such a tool :) I was working at 
something similar with trial( http://trial.szabobogdan.com/ ), 
and I would like to include your library if it's possible.



this is a sample code coverage report:
http://trial.szabobogdan.com/artifacts/coverage/html/index.html






Release fluent-asserts 0.6.0

2017-07-02 Thread Szabo Bogdan via Digitalmars-d-announce

Hi,

I just made a new release of fluent-asserts:

http://fluentasserts.szabobogdan.com/
https://code.dlang.org/packages/fluent-asserts

Since my last announcement I improved the library with:
 - better error messages
 - better exception api
 - integration with ranges
 - new asserts `executionTime` for callable and `containsOnly` 
for ranges
 - a new `Assert` utility for those who don't like the BDD style 
of writing asserts


Any feedback is appreciated.

Thanks,
Bogdan


There is a new test runner in town

2017-06-11 Thread Szabo Bogdan via Digitalmars-d-announce
I'm pleased to announce the first release of `trial`. Trial is a 
test runner that aims for flexibility. I made this runner because 
I could not find a flexible test runner for D, to extend it with 
various features, like reporters and test discoveries.


This runner extends `dub test` command and it should work with no 
extra setup. Here is an example for vibe.d:

https://asciinema.org/a/aqkefuk7d7t8vch7ro9thkscx

You can find more info about this project here:
http://trial.szabobogdan.com/


fluent-asserts 0.5.0 released

2017-06-07 Thread Szabo Bogdan via Digitalmars-d-announce

Hi,

I just released a new version of fluent-asserts: 
https://github.com/gedaiu/fluent-asserts


Since the previous announce, I improved the error messages and I 
added a new function `.because()` that allows you to add custom 
messages.


If you are interested in writing better asserts in your unit 
tests you should check this out.


Thanks,
Bogdan


Re: fluent-asserts released

2017-04-18 Thread Szabo Bogdan via Digitalmars-d-announce

On Wednesday, 12 April 2017 at 06:22:26 UTC, Ali Çehreli wrote:

On 04/11/2017 11:01 PM, Szabo Bogdan wrote:


should.not.throwAnyException({
  throw new Exception("test");
});


what do you mean, they are not documented? there is a md file 
fith some

examples here:
https://github.com/gedaiu/fluent-asserts/blob/v0.3.0/api/exceptions.md

What do you think I can do to have the exception asserts to 
fit the style?


The expression comes first in the other use cases. The 
following is not very pretty but seems to work with my proof of 
concept below:


({
throw new Exception("test");
}()).should.not.throwAnyException();

I checked the syntax with the following code:

struct Should {
Should not() {
return this;
}

Should throwAnyException() {
return this;
}
}

Should should(E)(lazy E expr) {
return Should();
}

void main() {
({
throw new Exception("test");
}()).should.not.throwAnyException();
}

Ali


Hi!

I managed to make another update to the library.

http://fluentasserts.szabobogdan.com/

Based on your feedback I updated the exception asserts and I 
added some new ones

like `Between` and `Approximately`.

Also now it works with unit-threaded.

Thanks for the feedback!





Re: fluent-asserts released

2017-04-12 Thread Szabo Bogdan via Digitalmars-d-announce

On Tuesday, 11 April 2017 at 10:40:53 UTC, qznc wrote:

On Sunday, 9 April 2017 at 13:30:54 UTC, Szabo Bogdan wrote:

Hi!

I just made an update to my fluent assert library. This is a 
library that allows you to write asserts in a BDD style.


Right now, it contains only asserts that I needed in my 
projects and I promise that I will add more in the future.


I would really appreciate any feedback that you can give me.

https://code.dlang.org/packages/fluent-asserts

Thanks!


I was looking for testing exceptions. It is not documented, but 
the seems to be there. Still, it looks weird, because it does 
not fit the style:


should.not.throwAnyException({
  throw new Exception("test");
});


what do you mean, they are not documented? there is a md file 
fith some examples here: 
https://github.com/gedaiu/fluent-asserts/blob/v0.3.0/api/exceptions.md


What do you think I can do to have the exception asserts to fit 
the style?






Re: fluent-asserts released

2017-04-10 Thread Szabo Bogdan via Digitalmars-d-announce

On Monday, 10 April 2017 at 17:38:14 UTC, jmh530 wrote:

On Sunday, 9 April 2017 at 13:30:54 UTC, Szabo Bogdan wrote:

Hi!

I just made an update to my fluent assert library. This is a 
library that allows you to write asserts in a BDD style.


Right now, it contains only asserts that I needed in my 
projects and I promise that I will add more in the future.


I would really appreciate any feedback that you can give me.

https://code.dlang.org/packages/fluent-asserts

Thanks!


I got really confused looking at the examples until I realized 
that should returns a struct.


You might add an approxEqual for ShouldNumeric. If you have 
floating point numbers, it's usually more helpful than equal is.


thanks! I added 2 issues for your sugestion. I also found some 
bugs that I will fix in the next release.


Re: fluent-asserts released

2017-04-10 Thread Szabo Bogdan via Digitalmars-d-announce

On Monday, 10 April 2017 at 12:54:43 UTC, Jacob Carlborg wrote:

On 2017-04-09 15:30, Szabo Bogdan wrote:

Hi!

I just made an update to my fluent assert library. This is a 
library

that allows you to write asserts in a BDD style.

Right now, it contains only asserts that I needed in my 
projects and I

promise that I will add more in the future.

I would really appreciate any feedback that you can give me.

https://code.dlang.org/packages/fluent-asserts


This looks awesome. Why haven't I seen that before. Can it be 
used with unit-threaded?


I did not tested it with unit-threaded, but when an assert fails 
it throws an exception so it should work with any test runner


fluent-asserts released

2017-04-09 Thread Szabo Bogdan via Digitalmars-d-announce

Hi!

I just made an update to my fluent assert library. This is a 
library that allows you to write asserts in a BDD style.


Right now, it contains only asserts that I needed in my projects 
and I promise that I will add more in the future.


I would really appreciate any feedback that you can give me.

https://code.dlang.org/packages/fluent-asserts

Thanks!


Re: DLanguage IntelliJ plugin released

2015-12-25 Thread Bogdan via Digitalmars-d-announce

On Friday, 25 December 2015 at 15:28:23 UTC, Pradeep Gowda wrote:

On Friday, 25 December 2015 at 15:04:42 UTC, eyveer wrote:
On Friday, 25 December 2015 at 13:57:52 UTC, Pradeep Gowda 
wrote:


A link to the github page would help me in reporting these 
bugs?


https://github.com/kingsleyh/DLanguage


Thank you. The screenshots are very impressive! Gives me 
motivation to figure out why i couldn't get it to work.


Couldn't figure out what went wrong until I read your comment and 
looked at the screenshots. Try going to Settings/Other Tools/D 
Tools and press all the "Auto Find" buttons.


Swaggarize

2015-10-20 Thread Bogdan via Digitalmars-d-announce
A few months ago I was so pissed off that I was more productive 
writing a project in javascript than in D, that I was almost 
wanted to not use D anymore.


This happened because there are a lot of nice libraries that 
people write for javascript and all that you have to do is to 
bind together some libraries to a web framework and you have a 
new project. This ruins all my fun from programming...


Thinking further I figured out that D is a nice environment, 
because people like me contribute to it... so I decided to write 
in D the javascript libraries that I would use.


I don't know who heard about swagger, http://swagger.io/ . I 
started to use it on the project that I work now to have a 
living, and I noticed that the tools related to this project are 
very good and I would like to take the advantage with my pet 
projects (which are in D).


I wrote a small library that maps all the swagger paths to some D 
functions. More than that it does the validation for almost all 
the parameters. If there is something that is missing, just let 
me know or create a PR.


you can find the code here:
https://github.com/gedaiu/swaggarize


Re: Walter and I talk about D in Romania

2015-10-02 Thread Bogdan via Digitalmars-d-announce
On Friday, 2 October 2015 at 11:25:44 UTC, Andrei Alexandrescu 
wrote:
Walter and I will travel to Brasov, Romania to hold an 
evening-long event on the D language. There's been strong 
interest in the event with over 300 registrants so far.


http://curiousminds.ro

Scott Meyers will guest star in a panel following the talks. 
We're all looking forward to it!



Andrei


Great news!

How much are you planning to stay in Romania? Do you have plans 
to visit Cluj?


Thnks,
Bogdan


Re: Tested atom plugin

2015-06-17 Thread Bogdan via Digitalmars-d-announce

On Tuesday, 16 June 2015 at 08:36:14 UTC, Szabo Bogdan wrote:

Hi,

For everyone using atom, the text editor, I want to announce 
this plugin that runs and shows the tests with their status.


https://atom.io/packages/tested

Thanks,
Bogdan


Since yesterday, I added linter support, to show the test error 
inside the text editor


Tested atom plugin

2015-06-16 Thread Szabo Bogdan via Digitalmars-d-announce

Hi,

For everyone using atom, the text editor, I want to announce this 
plugin that runs and shows the tests with their status.


https://atom.io/packages/tested

Thanks,
Bogdan


Re: DConf 2015: Individual talk links from the livestream

2015-06-02 Thread Bogdan via Digitalmars-d-announce

On Tuesday, 2 June 2015 at 06:24:19 UTC, John Colvin wrote:

On Tuesday, 2 June 2015 at 06:20:56 UTC, Jacob Carlborg wrote:

On 2015-06-02 06:16, John Colvin wrote:

BTW, was there any discussion in between the talks that was 
recorded?


In some cases you might be able to overhear some stuff I guess, 
but nothing formal was done. The last talks on days 1 and 2 
were QA sessions that involved a lot of discussion.


Those are the only recordings from the conference?


Re: DConf 2015: Individual talk links from the livestream

2015-06-02 Thread Bogdan via Digitalmars-d-announce

On Tuesday, 2 June 2015 at 09:37:25 UTC, Ali Çehreli wrote:

On 06/02/2015 02:07 AM, Bogdan wrote:

 Those are the only recordings from the conference?

No, these are recorded and published by John Colvin, a 
conference attendee and a speaker.


High quality recordings will be available later.

Ali


Awesome! thanks!


Re: Vibe.Dav

2015-04-10 Thread Szabo Bogdan via Digitalmars-d-announce

On Friday, 10 April 2015 at 19:33:59 UTC, Martin Nowak wrote:

On Tuesday, 7 April 2015 at 20:46:18 UTC, Bogdan wrote:
Right now it has good file dav support and some basic support 
for cal dav


Are you saying I can replace my Radicale server with it?

https://github.com/Kozea/Radicale


I think that with some little effort you can. I intend to add
CalDav support too, but right now I am caught with something else.


Re: Vibe.Dav

2015-04-09 Thread Bogdan via Digitalmars-d-announce

On Wednesday, 8 April 2015 at 17:38:28 UTC, Sönke Ludwig wrote:

Am 07.04.2015 um 22:46 schrieb Bogdan:

Hi,

Here is a library that adds web dav support to vibe.d:
https://github.com/gedaiu/vibe.dav

Right now it has good file dav support and some basic support 
for cal dav


Any help, improvements ideas or constructive criticism is 
welcome.


Thanks,
Bogdan


Nice! I'll give it a try when I get some time to set up a 
little private FileDAV server.


Great!

Just contact me if you have any problems with the setup.

Bogdan


Vibe.Dav

2015-04-07 Thread Bogdan via Digitalmars-d-announce

Hi,

Here is a library that adds web dav support to vibe.d: 
https://github.com/gedaiu/vibe.dav


Right now it has good file dav support and some basic support for 
cal dav


Any help, improvements ideas or constructive criticism is welcome.

Thanks,
Bogdan