Unit-threaded v0.4.0 released

2014-04-23 Thread Atila Neves via Digitalmars-d-announce
http://code.dlang.org/packages/unit-threaded . The @HiddenTest UDA now takes a compile-time string meant to be a bug id or other reason why the test is hidden. Unfortunately that means previous code using it needs to add a string or it'll fail to compile . The new @ShouldFail UDA also takes a

Unencumbered V0.1.2: Write Cucumber step definitions in D

2014-04-23 Thread Atila Neves via Digitalmars-d-announce
Like testing with Cucumber? Wish you could call native D code with it? Now you can! http://code.dlang.org/packages/unencumbered https://github.com/atilaneves/unencumbered I especially like registering functions that take the parameters with the types they need from the regexp captures, as

Re: Unencumbered V0.1.2: Write Cucumber step definitions in D

2014-04-23 Thread Atila Neves via Digitalmars-d-announce
Thanks. :) The examples directory (which actually only contains one example) shows what is the bare minimum needed. You need: 1. A file with the .wire extension with the host and port for cucumber to connect to in features/step_definitions (just like the example). Cucumber automatically

Re: Unencumbered V0.1.2: Write Cucumber step definitions in D

2014-04-24 Thread Atila Neves via Digitalmars-d-announce
Aha, their they are. I didn't noticed the step definitions before. Especially confusing since you do have a step_definitions directory. I think I had to create that directory to put the .wire file in there. I can't remember. Cool. Have you considered embedding Ruby in some executable and

Re: Unencumbered V0.1.2: Write Cucumber step definitions in D

2014-04-25 Thread Atila Neves via Digitalmars-d-announce
On Thursday, 24 April 2014 at 14:10:07 UTC, Jacob Carlborg wrote: On 24/04/14 09:19, Atila Neves wrote: I did, yeah, that's why I asked that question recently about calling D from Ruby. Right, that was you. I also thought of using Thrift and played about with it but in the end decided

Re: Unencumbered V0.1.2: Write Cucumber step definitions in D

2014-04-25 Thread Atila Neves via Digitalmars-d-announce
On Thursday, 24 April 2014 at 18:55:20 UTC, Jacob Carlborg wrote: On 2014-04-23 15:24, Atila Neves wrote: Like testing with Cucumber? Wish you could call native D code with it? Now you can! http://code.dlang.org/packages/unencumbered https://github.com/atilaneves/unencumbered I especially

Re: Unencumbered V0.1.2: Write Cucumber step definitions in D

2014-04-25 Thread Atila Neves via Digitalmars-d-announce
On Thursday, 24 April 2014 at 18:53:22 UTC, Jacob Carlborg wrote: On 2014-04-23 15:24, Atila Neves wrote: Like testing with Cucumber? Wish you could call native D code with it? Now you can! http://code.dlang.org/packages/unencumbered https://github.com/atilaneves/unencumbered I especially

Re: Unencumbered V0.1.2: Write Cucumber step definitions in D

2014-04-25 Thread Atila Neves via Digitalmars-d-announce
On Friday, 25 April 2014 at 08:45:20 UTC, Atila Neves wrote: On Thursday, 24 April 2014 at 18:53:22 UTC, Jacob Carlborg wrote: On 2014-04-23 15:24, Atila Neves wrote: Like testing with Cucumber? Wish you could call native D code with it? Now you can!

Re: Unencumbered V0.1.2: Write Cucumber step definitions in D

2014-04-25 Thread Atila Neves via Digitalmars-d-announce
On Friday, 25 April 2014 at 10:20:47 UTC, Rikki Cattermole wrote: On Friday, 25 April 2014 at 10:02:45 UTC, Dicebot wrote: On Friday, 25 April 2014 at 09:45:06 UTC, Rikki Cattermole wrote: Also when using things like __LINE__ keep them to template args, as they are inferred to the initiation

Re: Unencumbered V0.1.2: Write Cucumber step definitions in D

2014-04-25 Thread Atila Neves via Digitalmars-d-announce
On Friday, 25 April 2014 at 12:18:41 UTC, John Colvin wrote: On Friday, 25 April 2014 at 11:11:18 UTC, Atila Neves wrote: On Friday, 25 April 2014 at 10:20:47 UTC, Rikki Cattermole wrote: On Friday, 25 April 2014 at 10:02:45 UTC, Dicebot wrote: On Friday, 25 April 2014 at 09:45:06 UTC, Rikki

Re: Unencumbered V0.1.2: Write Cucumber step definitions in D

2014-04-25 Thread Atila Neves via Digitalmars-d-announce
On Friday, 25 April 2014 at 13:07:43 UTC, Sönke Ludwig wrote: Am 25.04.2014 15:00, schrieb Dejan Lekic: whilst bootstrapping the process and also for some tests I wrote for my MQTT broker. I think this should work but I can't try it right You have a MQTT broker? Free? Open-source? Can I haz

Re: Unencumbered V0.1.2: Write Cucumber step definitions in D

2014-04-25 Thread Atila Neves via Digitalmars-d-announce
On Friday, 25 April 2014 at 13:00:20 UTC, Dejan Lekic wrote: whilst bootstrapping the process and also for some tests I wrote for my MQTT broker. I think this should work but I can't try it right You have a MQTT broker? Free? Open-source? Can I haz teh code plx!

Re: Unencumbered V0.1.2: Write Cucumber step definitions in D

2014-04-28 Thread Atila Neves via Digitalmars-d-announce
On Saturday, 26 April 2014 at 07:51:45 UTC, Jacob Carlborg wrote: On Friday, 25 April 2014 at 08:45:20 UTC, Atila Neves wrote: After I read the above I wasn't even sure how @Given(foo) would work so I wrote some code and now know that all I need is a struct with a regular string field. I

Re: Unencumbered V0.1.2: Write Cucumber step definitions in D

2014-04-28 Thread Atila Neves via Digitalmars-d-announce
On Saturday, 26 April 2014 at 09:36:30 UTC, Jacob Carlborg wrote: On 2014-04-25 10:31, Atila Neves wrote: Or I could carry on implementing all the Cucumber features and end up with an executable that does everything the Ruby version does. I'm happy with what I've got now though, but the

Re: Unencumbered V0.1.2: Write Cucumber step definitions in D

2014-04-28 Thread Atila Neves via Digitalmars-d-announce
On Saturday, 26 April 2014 at 09:40:14 UTC, Jacob Carlborg wrote: On 2014-04-25 10:32, Atila Neves wrote: Yeah, I know Aruba. Well, for all of about two weeks :) Why would you want Aruba in D, though? You can just use the Ruby version. Sure I can, I already does this. I would be quite nice

Re: Unencumbered V0.1.2: Write Cucumber step definitions in D

2014-05-02 Thread Atila Neves via Digitalmars-d-announce
On Thursday, 24 April 2014 at 18:53:22 UTC, Jacob Carlborg wrote: On 2014-04-23 15:24, Atila Neves wrote: Like testing with Cucumber? Wish you could call native D code with it? Now you can! http://code.dlang.org/packages/unencumbered https://github.com/atilaneves/unencumbered I especially

Re: Unit-threaded v0.4.0 released

2014-05-03 Thread Atila Neves via Digitalmars-d-announce
Version v0.4.3 now. New: . Tests can be run in random (single-threaded) order. A seed can be specified. . unittest blocks are registered at compile-time. This mean each block/function is its own test case. Before all blocks from a module were a test case. Atila On Wednesday, 23 April 2014

Re: Emacs users: flycheck-dmd-dub

2014-05-10 Thread Atila Neves via Digitalmars-d-announce
Now using dub describe. Installable from melpa. On Thursday, 20 March 2014 at 07:17:04 UTC, Sönke Ludwig wrote: Am 19.03.2014 00:16, schrieb Atila Neves: V0.0.4 now supports both package.json and dub.json Atila There is one change that I would highly recommend - using the output of dub

Re: Gearing up for DConf 2014

2014-05-19 Thread Atila Neves via Digitalmars-d-announce
Any specific instructions for the speakers, are people meeting up in the Aloft beforehand somewhere, or do I just turn up to Facebook, say DConf and it'll be fine? Atila On Friday, 16 May 2014 at 17:16:57 UTC, Andrei Alexandrescu wrote: We're stoked about DConf 2014! 54 visitors will be

Re: DConf 2014 publishes schedule, opens registration

2014-05-23 Thread Atila Neves via Digitalmars-d-announce
On Friday, 23 May 2014 at 06:51:44 UTC, Ali Çehreli wrote: On 03/03/2014 04:13 PM, Ali Çehreli wrote: On 03/03/2014 04:09 PM, Alessandro Stamatto wrote: Damn! No spoilers about the mysterious Scott Meyers talk, what is the last thing D needs?!?!?! Curious! 8-) Scott himself? ;) Ali It

Re: DConf 2014 publishes schedule, opens registration

2014-05-23 Thread Atila Neves via Digitalmars-d-announce
On Friday, 23 May 2014 at 16:47:25 UTC, Robert BuRnEr Schadek via Digitalmars-d-announce wrote: On 05/22/2014 11:51 PM, Ali Çehreli via Digitalmars-d-announce wrote: On 03/03/2014 04:13 PM, Ali Çehreli wrote: On 03/03/2014 04:09 PM, Alessandro Stamatto wrote: Damn! No spoilers about the

Re: Adam D. Ruppe's D Cookbook now available!

2014-05-29 Thread Atila Neves via Digitalmars-d-announce
For some reason I didn't even know it was available as an ebook until I read this. At which point I promptly bought it. Dead trees and their lack of Ctrl-F... :) Atila On Thursday, 29 May 2014 at 09:51:02 UTC, Jacob Carlborg wrote: On 2014-05-28 20:14, Walter Bright wrote:

Arch Linux package for dtest on AUR

2014-05-31 Thread Atila Neves via Digitalmars-d-announce
I don't know how many people use unit-threaded (https://github.com/atilaneves/unit-threaded) for their tests, and of those how many use Arch Linux, but for anyone else there for who that applies, I added a dtest (https://github.com/atilaneves/dtest) package to the AUR:

Re: Interview at Lang.NEXT

2014-06-05 Thread Atila Neves via Digitalmars-d-announce
On Thursday, 5 June 2014 at 13:34:03 UTC, Brian Rogoff wrote: On Thursday, 5 June 2014 at 12:46:24 UTC, Atila Neves wrote: I don't know, but the only language I've used with no static types that made me comfortable was Common Lisp. That was a long time ago, but I think it was the ease of

Re: DConf 2014 Day 1 Talk 4: Inside the Regular Expressions in D by Dmitry Olshansky

2014-06-11 Thread Atila Neves via Digitalmars-d-announce
On Tuesday, 10 June 2014 at 19:36:57 UTC, bearophile wrote: At about 40.42 in the Thoughts on static regex there is written even compile-time printf would be awesome. There is a patch about __ctWrite in GitHug, it should be fixed and merged. Bye, bearophile I wish I'd taken the mic at the

Re: Lang.NEXT panel

2014-06-12 Thread Atila Neves via Digitalmars-d-announce
On Thursday, 12 June 2014 at 17:52:59 UTC, Andrei Alexandrescu wrote: On 6/12/14, 10:40 AM, Nick Sabalausky wrote: On 6/10/2014 12:35 PM, justme wrote: On Wednesday, 4 June 2014 at 06:13:39 UTC, Andrei Alexandrescu wrote: Of possible interest.

Re: DConf 2014 Day 1 Talk 4: Inside the Regular Expressions in D by Dmitry Olshansky

2014-06-12 Thread Atila Neves via Digitalmars-d-announce
On Thursday, 12 June 2014 at 08:42:49 UTC, Dmitry Olshansky wrote: 11-Jun-2014 22:03, Atila Neves пишет: On Tuesday, 10 June 2014 at 19:36:57 UTC, bearophile wrote: At about 40.42 in the Thoughts on static regex there is written even compile-time printf would be awesome. There is a patch

Re: DConf 2014 Day 3 Talk 2: Real-Time Big Data in D by Don Clugston

2014-07-17 Thread Atila Neves via Digitalmars-d-announce
I wish I'd asked for the mic before I made the (inaudible) comment about signedness, so here it is: Subtracting unsigneds is almost always a bug. The problem (realised by the C++ community) is that length should be signed. Atila On Wednesday, 16 July 2014 at 16:51:19 UTC, Andrei

Re: Cerealed v0.2.0 - a(nother) D serialisation library

2014-09-09 Thread Atila Neves via Digitalmars-d-announce
I'll take a look. It's easier to post this on github though. Atila On Monday, 8 September 2014 at 19:09:30 UTC, Vicente wrote: Hello Atila, I've seen that cerealed has made much progress, it's now at v0.5.0 This post is for a feature request, I would like to use it with a struct like this:

Re: Cerealed v0.2.0 - a(nother) D serialisation library

2014-09-11 Thread Atila Neves via Digitalmars-d-announce
Done. Thanks for the feature request and using Cerealed! I hope it's useful to you. Atila On Monday, 8 September 2014 at 19:09:30 UTC, Vicente wrote: Hello Atila, I've seen that cerealed has made much progress, it's now at v0.5.0 This post is for a feature request, I would like to use it

Re: dfix 0.1.1

2014-10-28 Thread Atila Neves via Digitalmars-d-announce
Good work, man. Atila On Tuesday, 28 October 2014 at 01:29:32 UTC, Brian Schott wrote: No. Really. I'm serious. https://github.com/Hackerpilot/dfix dfix is a tool for automatically upgrading older D syntax to the newer style. * Updates old-style alias syntax to new-style * Fixes implicit

Re: Blog Post - Reducing vibe.d turnaround time (Part 1 Faster Linking)

2014-10-30 Thread Atila Neves via Digitalmars-d-announce
On Thursday, 30 October 2014 at 01:02:40 UTC, Martin Nowak wrote: This is the first post on my new blog https://code.dawg.eu/. It starts with a 3 part series on reducing vibe.d turnaround times during development. https://code.dawg.eu/reducing-vibed-turnaround-time-part-1-faster-linking.html

Re: 2015 H1 Vision

2015-02-02 Thread Atila Neves via Digitalmars-d-announce
On Monday, 2 February 2015 at 07:35:07 UTC, Jacob Carlborg wrote: On 2015-02-02 06:57, ketmar wrote: dub is good, but only in limited use cases. so it's almost no sense in using dub if some use cases are not suitable for it: it's way better to adapt build tool that one already using (or write

Re: Deadcode: A code editor in D

2015-01-17 Thread Atila Neves via Digitalmars-d-announce
On Friday, 16 January 2015 at 21:19:08 UTC, Jonas Drewsen wrote: I have been working on an editor written in D for use with D for some time now and have made a blog post about it. Any feedback or suggestions are welcome. http://deadcodedev.steamwinter.com Thanks Jonas Nice. Atila

Re: Binutils 2.25 Released - New D demangling support

2015-01-14 Thread Atila Neves via Digitalmars-d-announce
Awesome work, thanks! Already available on Arch Linux indeed, just typed objdump as per your post and it worked. Editing my dmd.conf right now. Atila On Tuesday, 13 January 2015 at 21:31:15 UTC, Iain Buclaw wrote: Hi, I'm not sure when it was announced, but binutils 2.25 has been released!

Re: Gary Willoughby: Why Go's design is a disservice to intelligent programmers

2015-03-28 Thread Atila Neves via Digitalmars-d-announce
On Friday, 27 March 2015 at 04:24:52 UTC, Walter Bright wrote: On 3/26/2015 7:06 PM, weaselcat wrote: vibe has (experimental?) green threads, doesn't it? I don't keep up with vibe, so I may be wrong. I don't know, but if it does have good 'uns they should be moved into Phobos! It does, and

Re: Reggae v0.0.5 super alpha: A build system in D

2015-04-03 Thread Atila Neves via Digitalmars-d-announce
On Friday, 3 April 2015 at 17:10:33 UTC, Dicebot wrote: On Friday, 3 April 2015 at 17:03:35 UTC, Atila Neves wrote: . Separate compilation. One file changes, only one file gets rebuilt This immediately has caught my eye as huge no in the description. We must ban C style separate compilation,

Re: Reggae v0.0.5 super alpha: A build system in D

2015-04-03 Thread Atila Neves via Digitalmars-d-announce
On Friday, 3 April 2015 at 17:13:41 UTC, Dicebot wrote: Also I don't see any point in yet another meta build system. The very point of initial discussion was about getting D only cross-platform solution that won't require installing any additional software but working D compiler. I was also

Reggae v0.0.5 super alpha: A build system in D

2015-04-03 Thread Atila Neves via Digitalmars-d-announce
I wanted to work on this a little more before announcing it, but it seems I'm going to be busy working on trying to get unit-threaded into std.experimental so here it is: http://code.dlang.org/packages/reggae If you're wondering about the name, it's because it's supposed to build on dub.

Re: Reggae v0.0.5 super alpha: A build system in D

2015-04-03 Thread Atila Neves via Digitalmars-d-announce
On Friday, 3 April 2015 at 17:40:42 UTC, Dicebot wrote: On Friday, 3 April 2015 at 17:17:50 UTC, Atila Neves wrote: On Friday, 3 April 2015 at 17:13:41 UTC, Dicebot wrote: Also I don't see any point in yet another meta build system. The very point of initial discussion was about getting D only

Re: Reggae v0.0.5 super alpha: A build system in D

2015-04-03 Thread Atila Neves via Digitalmars-d-announce
On Friday, 3 April 2015 at 17:55:00 UTC, Dicebot wrote: On Friday, 3 April 2015 at 17:25:51 UTC, Ben Boeckel wrote: On Fri, Apr 03, 2015 at 17:10:31 +, Dicebot via Digitalmars-d-announce wrote: On Friday, 3 April 2015 at 17:03:35 UTC, Atila Neves wrote: . Separate compilation. One file

Re: Reggae v0.0.5 super alpha: A build system in D

2015-04-04 Thread Atila Neves via Digitalmars-d-announce
On Friday, 3 April 2015 at 19:54:09 UTC, Dicebot wrote: On Friday, 3 April 2015 at 19:08:58 UTC, weaselcat wrote: I just tried compiling one of my project. It has a makefile that does separate compilation and a shell script I use for unit testing which compiles everything in one go. The

Re: Reggae v0.0.5 super alpha: A build system in D

2015-04-04 Thread Atila Neves via Digitalmars-d-announce
On Friday, 3 April 2015 at 19:49:04 UTC, Andrei Alexandrescu wrote: On 4/3/15 11:06 AM, Atila Neves wrote: It's true that it's not always faster to compile each module separately, I already knew that. It seems to me, however, that when that's actually the case, the practical difference is

Re: Reggae v0.0.5 super alpha: A build system in D

2015-04-04 Thread Atila Neves via Digitalmars-d-announce
On Friday, 3 April 2015 at 19:45:38 UTC, Andrei Alexandrescu wrote: On 4/3/15 10:10 AM, Dicebot wrote: On Friday, 3 April 2015 at 17:03:35 UTC, Atila Neves wrote: . Separate compilation. One file changes, only one file gets rebuilt This immediately has caught my eye as huge no in the

Re: Reggae v0.0.5 super alpha: A build system in D

2015-04-04 Thread Atila Neves via Digitalmars-d-announce
On Saturday, 4 April 2015 at 19:56:28 UTC, Dicebot wrote: On Saturday, 4 April 2015 at 07:44:12 UTC, Atila Neves wrote: On Friday, 3 April 2015 at 19:54:09 UTC, Dicebot wrote: On Friday, 3 April 2015 at 19:08:58 UTC, weaselcat wrote: I just tried compiling one of my project. It has a makefile

Reggae binary backend: build your project with a D compiled executable

2015-06-06 Thread Atila Neves via Digitalmars-d-announce
Original discussion: http://forum.dlang.org/post/ranqlmrjornlvopsu...@forum.dlang.org Now, with the `-b binary` option, reggae creates an executable called build in the build directory (i.e. wherever the CWD was when calling the tool) that knows how to build the project. If needed, there is

Re: Reggae binary backend: build your project with a D compiled executable

2015-06-07 Thread Atila Neves via Digitalmars-d-announce
On Sunday, 7 June 2015 at 12:06:52 UTC, Kagamin wrote: On Sunday, 7 June 2015 at 07:00:18 UTC, Atila Neves wrote: I'm currently considering (because of dmd, druntime and phobos) how to strip it down to its bare essentials and have a core set of source files that only knows how to build D code,

Re: Reggae binary backend: build your project with a D compiled executable

2015-06-08 Thread Atila Neves via Digitalmars-d-announce
On Monday, 8 June 2015 at 06:59:26 UTC, weaselcat wrote: On Monday, 8 June 2015 at 05:51:58 UTC, Atila Neves wrote: On Sunday, 7 June 2015 at 12:06:52 UTC, Kagamin wrote: On Sunday, 7 June 2015 at 07:00:18 UTC, Atila Neves wrote: I'm currently considering (because of dmd, druntime and phobos)

Re: Reggae binary backend: build your project with a D compiled executable

2015-06-08 Thread Atila Neves via Digitalmars-d-announce
On Monday, 8 June 2015 at 08:47:21 UTC, Kagamin wrote: On Monday, 8 June 2015 at 08:00:12 UTC, Atila Neves wrote: But... if we're to think of replacing the current Makefiles for dmd, druntime and phobos, and if the build descriptions that are to replace them are to be truly cross-platform,

Re: Travis-CI support for D

2015-06-02 Thread Atila Neves via Digitalmars-d-announce
It doesn't seem to work anymore, even http://lint.travis-ci.org/ says I can't use language: d. Atila On Thursday, 11 December 2014 at 04:50:42 UTC, Martin Nowak wrote: Glad to announce that D support on Travis-CI was launched today.

Re: Travis-CI support for D

2015-06-02 Thread Atila Neves via Digitalmars-d-announce
On Tuesday, 2 June 2015 at 19:51:17 UTC, Jacob Carlborg wrote: On 2015-06-02 20:54, Atila Neves wrote: It doesn't seem to work anymore, even http://lint.travis-ci.org/ says I can't use language: d. Works for me. Just tested it: https://travis-ci.org/jacob-carlborg/dstep/jobs/59055545 I

reggae v0.2.3: minimal build, reggae as a library

2015-06-10 Thread Atila Neves via Digitalmars-d-announce
https://github.com/atilaneves/reggae Ask, and ye shall receive: Stick -version=minimal when building reggae itself (or use the minimal_bootstrap.sh in the repo) and reggae has no dependencies on anything. All it can do then is D builds and the only backend is the binary one. No dub support

Re: Reggae: a metabuild system in D (Daniel, you should read this). Now with more dub. And package builds.

2015-06-04 Thread Atila Neves via Digitalmars-d-announce
On Thursday, 4 June 2015 at 01:20:18 UTC, Dicebot wrote: https://github.com/atilaneves/reggae/issues I think this is all I would want before considering to try reggae as my main build system. Concept worked pretty good so far and I feel very satisfied with what we can potentially get from it

Re: Reggae binary backend: build your project with a D compiled executable

2015-06-07 Thread Atila Neves via Digitalmars-d-announce
On Sunday, 7 June 2015 at 02:04:33 UTC, Mike wrote: On Saturday, 6 June 2015 at 20:07:22 UTC, Atila Neves wrote: Original discussion: http://forum.dlang.org/post/ranqlmrjornlvopsu...@forum.dlang.org Now, with the `-b binary` option, reggae creates an executable called build in the build

Re: Reggae binary backend: build your project with a D compiled executable

2015-06-07 Thread Atila Neves via Digitalmars-d-announce
On Sunday, 7 June 2015 at 05:30:56 UTC, ketmar wrote: On Sat, 06 Jun 2015 20:07:20 +, Atila Neves wrote: Original discussion: http://forum.dlang.org/post/ranqlmrjornlvopsu...@forum.dlang.org Now, with the `-b binary` option, reggae creates an executable called build in the build

For emacs users: flycheck-dmd-dub 0.8: string imports

2015-06-15 Thread Atila Neves via Digitalmars-d-announce
https://github.com/atilaneves/flycheck-dmd-dub Besides simply updating the package with Emacs itself, call flycheck-dmd-dub-init-variables now from your init.el/.emacs and string imports should be set from dub so no more pesky flycheck errors. Atila

Re: Reggae: a metabuild system in D (Daniel, you should read this). Now with more dub. And package builds.

2015-06-02 Thread Atila Neves via Digitalmars-d-announce
On Tuesday, 2 June 2015 at 14:18:29 UTC, BlackEdder wrote: On Tuesday, 2 June 2015 at 13:45:40 UTC, Atila Neves wrote: http://code.dlang.org/packages/reggae Atila Does reggae make it easy to build multiple executables in one go? Yes. Reggae is able to build itself, its own build

Re: Blog post : OOP composition with mixins

2015-08-24 Thread Atila Neves via Digitalmars-d-announce
On Monday, 24 August 2015 at 11:10:16 UTC, Dicebot wrote: Rough summary of the talk I have given for recent Berlin D meetup event: https://blog.dicebot.lv/posts/2015/08/OOP_composition_with_mixins Nice. I've only just started exploring code reuse with template mixins, and used it to great

std.data.json formal review

2015-07-29 Thread Atila Neves via Digitalmars-d-announce
http://forum.dlang.org/thread/nbuhouhimowvcqssv...@forum.dlang.org

Re: Cerealed v0.6.1: even less boilerplate for binary serialization

2015-08-03 Thread Atila Neves via Digitalmars-d-announce
On Monday, 3 August 2015 at 09:27:03 UTC, Dicebot wrote: On Monday, 3 August 2015 at 09:21:50 UTC, Atila Neves wrote: The summary is you can now write this: struct UdpPacket { static struct Header { ushort srcPort; ushort dstPort; ushort length;

Re: Cerealed v0.6.1: even less boilerplate for binary serialization

2015-08-03 Thread Atila Neves via Digitalmars-d-announce
On Monday, 3 August 2015 at 11:43:15 UTC, Per Nordlöw wrote: On Monday, 3 August 2015 at 09:21:50 UTC, Atila Neves wrote: http://code.dlang.org/packages/cerealed What's new? * Performance improvements * New UDAs for networking packets for even less required boilerplate The first new thing

Re: Cerealed v0.6.1: even less boilerplate for binary serialization

2015-08-03 Thread Atila Neves via Digitalmars-d-announce
On Monday, 3 August 2015 at 10:37:05 UTC, Dmitry Olshansky wrote: On 03-Aug-2015 12:27, Dicebot wrote: On Monday, 3 August 2015 at 09:21:50 UTC, Atila Neves wrote: [...] This deserialization will be identical to casting like this, right? (Not trying to diminish your work, just making sure I

Re: Cerealed v0.6.1: even less boilerplate for binary serialization

2015-08-03 Thread Atila Neves via Digitalmars-d-announce
On Monday, 3 August 2015 at 11:13:50 UTC, Walter Bright wrote: On 8/3/2015 2:21 AM, Atila Neves wrote: [...] Please put this as the first comment on the reddit post. Which one? Atila

Re: Cerealed v0.6.1: even less boilerplate for binary serialization

2015-08-03 Thread Atila Neves via Digitalmars-d-announce
On Monday, 3 August 2015 at 12:21:05 UTC, Per Nordlöw wrote: On Monday, 3 August 2015 at 11:51:24 UTC, Atila Neves wrote: Yes. `cerealise` and `decerealise`. The former is slightly weird for performance reasons. It takes a lambda that tells it what to do with the resulting bytes. Close with

Re: Last - but not least! - two DConf talks

2015-07-16 Thread Atila Neves via Digitalmars-d-announce
On Thursday, 16 July 2015 at 08:26:58 UTC, Marc Schütz wrote: On Wednesday, 15 July 2015 at 19:28:13 UTC, Jacob Carlborg wrote: On 2015-07-13 09:12, Atila Neves wrote: https://www.reddit.com/r/programming/comments/3d3ooa/behaviourdriven_development_with_d_and_cucumber/ Also on HN, but as

Re: Last - but not least! - two DConf talks

2015-07-16 Thread Atila Neves via Digitalmars-d-announce
On Wednesday, 15 July 2015 at 19:28:13 UTC, Jacob Carlborg wrote: On 2015-07-13 09:12, Atila Neves wrote: https://www.reddit.com/r/programming/comments/3d3ooa/behaviourdriven_development_with_d_and_cucumber/ Also on HN, but as usual can't post the link. The comment about not having to name

Re: Last - but not least! - two DConf talks

2015-07-15 Thread Atila Neves via Digitalmars-d-announce
On Tuesday, 14 July 2015 at 20:18:40 UTC, Brad Anderson wrote: On Monday, 13 July 2015 at 07:12:48 UTC, Atila Neves wrote: On Friday, 10 July 2015 at 18:33:04 UTC, Andrei Alexandrescu wrote: Spread the word! https://www.youtube.com/watch?v=bxSPCmwqgYs

Re: Last - but not least! - two DConf talks

2015-07-13 Thread Atila Neves via Digitalmars-d-announce
On Friday, 10 July 2015 at 18:33:04 UTC, Andrei Alexandrescu wrote: Spread the word! https://www.youtube.com/watch?v=bxSPCmwqgYs https://www.youtube.com/watch?v=jNQF3m5e2l0 Andrei https://www.reddit.com/r/programming/comments/3d3ooa/behaviourdriven_development_with_d_and_cucumber/ Also on

D talk at the EPFL university in Lausanne, Switzerland

2015-10-29 Thread Atila Neves via Digitalmars-d-announce
My supervisor organised this with the university: http://memento.epfl.ch/event/why-d-2/ Atila

Re: Please vote for the DConf logo

2015-11-06 Thread Atila Neves via Digitalmars-d-announce
On Wednesday, 4 November 2015 at 09:30:30 UTC, Andrei Alexandrescu wrote: Reply to this with 1.1, 1.2, 2, or 3: 1) by ponce: Variant 1: https://github.com/p0nce/dconf.org/blob/master/2016/images/logo-sample.png Variant 2:

Re: Voting for std.experimental.allocator

2015-07-09 Thread Atila Neves via Digitalmars-d-announce
On Wednesday, 8 July 2015 at 11:33:03 UTC, Dicebot wrote: Andrei is back online and thus it is time to make a decision about adding his allocator package (http://forum.dlang.org/post/vfipmwojmvseqxoiw...@forum.dlang.org) to Phobos std.experimental [...] Yes.

reggae v0.5.0: new features in the D meta-build system

2015-09-16 Thread Atila Neves via Digitalmars-d-announce
http://code.dlang.org/my_packages/reggae What's new: . API changes: main high-level rules are now called objectFiles, link, and scriptlike . Optional top-level targets: aren't built by default but can be built on request . Phony targets . staticLibrary rule that does what it says . unityBuild

Re: This Week in D #37 - forum tutorials and tip on using UDAs

2015-09-28 Thread Atila Neves via Digitalmars-d-announce
On Monday, 28 September 2015 at 13:03:50 UTC, Adam D. Ruppe wrote: This Week in #Dlang - new bugfix release, Windows driver, Azure+vibe tutorial, tip on uda transformations + mixin templates http://arsdnet.net/this-week-in-d/sep-27.html The tip here is one I've been talking about on irc a

Re: reggae v0.5.0: new features in the D meta-build system

2015-09-28 Thread Atila Neves via Digitalmars-d-announce
On Saturday, 26 September 2015 at 03:51:11 UTC, Jason White wrote: I rarely visit the D forums and even more rarely make a post, but this thread caught my eye. I've been writing a build system in D too: https://github.com/jasonwhite/brilliant-build (I'm not very fond of the name. Naming is

Re: reggae v0.5.0: new features in the D meta-build system

2015-09-24 Thread Atila Neves via Digitalmars-d-announce
On Wednesday, 23 September 2015 at 06:16:08 UTC, Jacob Carlborg wrote: On 2015-09-22 14:39, Per Nordlöw wrote: SCons has a very hidden feature called interactive mode via `--interactive` that supports instantaenous incremental builds via a very primitive CLI that basically supports to

Re: reggae v0.5.0: new features in the D meta-build system

2015-09-24 Thread Atila Neves via Digitalmars-d-announce
On Tuesday, 22 September 2015 at 12:39:48 UTC, Per Nordlöw wrote: On Wednesday, 16 September 2015 at 14:07:17 UTC, Atila Neves wrote: http://code.dlang.org/my_packages/reggae What's new: Atila If you want to build a really revolutionary *new* build system you should turn reggae into a

Re: reggae v0.5.0: new features in the D meta-build system

2015-09-25 Thread Atila Neves via Digitalmars-d-announce
On Friday, 25 September 2015 at 12:09:01 UTC, Jacob Carlborg wrote: On 2015-09-24 16:46, Atila Neves wrote: That's not been my experience at all using reggae. I only do incremental builds now and have never run into a problem. Can you give an example? Here's one old post [1] that describes

Re: reggae v0.5.0: new features in the D meta-build system

2015-09-25 Thread Atila Neves via Digitalmars-d-announce
On Friday, 25 September 2015 at 22:12:49 UTC, anonymous wrote: On Friday 25 September 2015 23:27, Atila Neves wrote: How does one compile 3 files "at the same time" and generate 3 object files? There was a reference to a -multiobj option in that post but that's not even in the man page. dmd

Re: Button: A fast, correct, and elegantly simple build system.

2016-05-31 Thread Atila Neves via Digitalmars-d-announce
On Monday, 30 May 2016 at 19:16:50 UTC, Jason White wrote: I am pleased to finally announce the build system I've been slowly working on for over a year in my spare time: snip In fact, there is some experimental support for automatic conversion of Makefiles to Button's build description

Re: Button: A fast, correct, and elegantly simple build system.

2016-06-15 Thread Atila Neves via Digitalmars-d-announce
On Wednesday, 15 June 2016 at 15:39:47 UTC, Andrei Alexandrescu wrote: On 06/15/2016 08:05 AM, John Colvin wrote: On Wednesday, 15 June 2016 at 11:47:00 UTC, Walter Bright wrote: On 6/15/2016 4:07 AM, Edwin van Leeuwen wrote: How about using reggae?

Re: Button: A fast, correct, and elegantly simple build system.

2016-06-16 Thread Atila Neves via Digitalmars-d-announce
On Thursday, 16 June 2016 at 04:26:24 UTC, Jason White wrote: On Wednesday, 15 June 2016 at 12:00:52 UTC, Andrei Alexandrescu wrote: I'd say the gating factor is -j. If an build system doesn't implement the equivalent of make -j, that's a showstopper. Don't worry, there is a --threads option

Re: Button: A fast, correct, and elegantly simple build system.

2016-06-17 Thread Atila Neves via Digitalmars-d-announce
On Friday, 17 June 2016 at 06:18:28 UTC, H. S. Teoh wrote: On Fri, Jun 17, 2016 at 05:41:30AM +, Jason White via Digitalmars-d-announce wrote: [...] Where Make gets slow is when checking for changes on a ton of files. I haven't tested it, but I'm sure Button is faster than Make in this

Re: Button: A fast, correct, and elegantly simple build system.

2016-06-16 Thread Atila Neves via Digitalmars-d-announce
On Thursday, 16 June 2016 at 12:32:02 UTC, Kagamin wrote: On Sunday, 12 June 2016 at 20:47:31 UTC, cym13 wrote: Yeah, I have often thought that writing a self-contained D program to build D would work well. The full power of the language would be available, there'd be nothing new to learn,

Re: Button: A fast, correct, and elegantly simple build system.

2016-06-17 Thread Atila Neves via Digitalmars-d-announce
On Friday, 17 June 2016 at 05:41:30 UTC, Jason White wrote: On Thursday, 16 June 2016 at 13:39:20 UTC, Atila Neves wrote: It would be a worthwhile trade-off, if those were the only two options available, but they're not. There are multiple build systems out there that do correct builds whilst

unit-threaded v0.5.7 - advanced multi-threaded unit testing library

2016-02-08 Thread Atila Neves via Digitalmars-d-announce
What's new: Built-in unittest blocks can now have a name with just a string UDA: @("test that does stuff") unittest {... } Why is this important? If you just want to run unit tests in threads and have them named, you don't

unit-threaded v0.6.3 - now even easier to use / opt-in

2016-02-29 Thread Atila Neves via Digitalmars-d-announce
http://code.dlang.org/packages/unit-threaded Through the magic of dub, unit-threaded is now easier to include in your project, with no need for a hand-written test main file anymore. And all because the library can be run as an executable by dub. It's an idea that's so obvious in retrospect I

Re: unit-threaded v0.5.7 - advanced multi-threaded unit testing library

2016-02-29 Thread Atila Neves via Digitalmars-d-announce
On Wednesday, 17 February 2016 at 09:16:02 UTC, Sebastiaan Koppe wrote: On Wednesday, 17 February 2016 at 09:05:34 UTC, Atila Neves wrote: [...] You're on a holiday, I appreciate anything you write :) [...] You don't need a testrunner generator anymore:

Re: Ever want to compile D on your Android phone? Well, now you can!

2016-01-26 Thread Atila Neves via Digitalmars-d-announce
On Sunday, 24 January 2016 at 15:12:30 UTC, Joakim wrote: An alpha release of ldc, the llvm-based D compiler, for Android devices is now available. It is best used with the excellent Termux app (https://play.google.com/store/apps/details?id=com.termux=en) and a bluetooth keyboard. ;) Updated

Re: unit-threaded v0.5.7 - advanced multi-threaded unit testing library

2016-02-17 Thread Atila Neves via Digitalmars-d-announce
On Tuesday, 16 February 2016 at 22:13:15 UTC, Sebastiaan Koppe wrote: On Monday, 8 February 2016 at 13:23:40 UTC, Atila Neves wrote: What's new: [...] Enjoy! Atila I just started using unit-threaded and I like it so far, specially the parallel runner. Just had some speed-bumps that might

Re: unit-threaded v0.5.7 - advanced multi-threaded unit testing library

2016-02-18 Thread Atila Neves via Digitalmars-d-announce
On Wednesday, 17 February 2016 at 09:16:02 UTC, Sebastiaan Koppe wrote: On Wednesday, 17 February 2016 at 09:05:34 UTC, Atila Neves wrote: I'm on a tablet on holiday so sorry in advance for the short answer. You're on a holiday, I appreciate anything you write :) Your versioned import is the

Re: unit-threaded v0.5.7 - advanced multi-threaded unit testing library

2016-02-14 Thread Atila Neves via Digitalmars-d-announce
On Saturday, 13 February 2016 at 12:41:35 UTC, Daniel Murphy wrote: On 9/02/2016 12:23 AM, Atila Neves wrote: What's new: Built-in unittest blocks can now have a name with just a string UDA: @("test that does stuff")

unit-threaded v0.6.5 - Type-parametrized tests

2016-03-09 Thread Atila Neves via Digitalmars-d-announce
The forum must be sick of hearing from me... :P For those not in the know, unit-threaded is an advanced unit testing library for D: http://code.dlang.org/packages/unit-threaded The v0.6.3 release had tests parametrized by value; this v0.6.5 release brings with it the possibility of

Re: unit-threaded v0.6.5 - Type-parametrized tests

2016-03-10 Thread Atila Neves via Digitalmars-d-announce
On Thursday, 10 March 2016 at 09:33:39 UTC, Iakh wrote: On Wednesday, 9 March 2016 at 18:01:49 UTC, Atila Neves wrote: @Types!(int, byte) void testInit(T)() { assert(T.init == 0); } Atila It is not clear that this UDA is about unittesting Even when attached to a test function? Atila

Re: unit-threaded v0.6.5 - Type-parametrized tests

2016-03-10 Thread Atila Neves via Digitalmars-d-announce
On Thursday, 10 March 2016 at 08:09:40 UTC, Jacob Carlborg wrote: On 2016-03-09 19:01, Atila Neves wrote: The forum must be sick of hearing from me... :P For those not in the know, unit-threaded is an advanced unit testing library for D: http://code.dlang.org/packages/unit-threaded The

Re: unit-threaded v0.6.5 - Type-parametrized tests

2016-03-10 Thread Atila Neves via Digitalmars-d-announce
On Thursday, 10 March 2016 at 16:06:38 UTC, Meta wrote: On Wednesday, 9 March 2016 at 18:01:49 UTC, Atila Neves wrote: The forum must be sick of hearing from me... :P I'm always excited for a new release of unit-threaded Thanks for the kind words! Atila

Re: unit-threaded v0.6.5 - Type-parametrized tests

2016-03-11 Thread Atila Neves via Digitalmars-d-announce
On Friday, 11 March 2016 at 08:06:19 UTC, Jacob Carlborg wrote: On 2016-03-10 12:05, Atila Neves wrote: No, sorry. I haven't needed it yet. Something like this? Yes. @Types!(int, string) void testArray(T)() { import std.container; auto arr = Array!T();

Re: unit-threaded v0.6.3 - now even easier to use / opt-in

2016-03-02 Thread Atila Neves via Digitalmars-d-announce
On Wednesday, 2 March 2016 at 12:52:34 UTC, Sebastiaan Koppe wrote: On Monday, 29 February 2016 at 09:37:51 UTC, Atila Neves wrote: [...] Worked nicely, but I had to change some configs. { "name": "unittest", "preBuildCommands": ["dub run unit-threaded

Re: Commercial video processing app in D (experience report)

2016-04-28 Thread Atila Neves via Digitalmars-d-announce
On Wednesday, 27 April 2016 at 12:42:05 UTC, thedeemon wrote: Cerealed This compile-time-introspection-based serializaition lib is really great: powerful and easy to use. We're probably using an old version, haven't updated for some time, and the version we use sometimes had problems

Re: My ACCU 2016 keynote video available online

2016-05-22 Thread Atila Neves via Digitalmars-d-announce
On Saturday, 21 May 2016 at 13:51:11 UTC, Manu wrote: On 21 May 2016 at 23:20, Andrei Alexandrescu via Digitalmars-d-announce wrote: On 05/21/2016 04:45 AM, Manu via Digitalmars-d-announce wrote: [...] I guess a lot more detail would be necessary

Re: unit-threaded v0.6.13 - tags, autotags and support for integration tests

2016-05-17 Thread Atila Neves via Digitalmars-d-announce
On Tuesday, 17 May 2016 at 14:22:51 UTC, Meta wrote: On Tuesday, 17 May 2016 at 09:54:15 UTC, Marc Schütz wrote: You surely mean "used to be destroy", right? Good question... If I write this: struct Test { ~this() { writeln("destroying Test"); } } with (Test()) { //Do stuff } Will

  1   2   3   >