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: 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/dst

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. http://blog.travis-ci.com/2014-12-10-community-driven-lang

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

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
http://code.dlang.org/packages/reggae Daniel: see last paragraph (see, I mentioned your name! ;) ) Let's see if I can explain it better this time. Reggae is: . An executable and a library of data definitions to describe build systems declaratively, in D. It also allows for imperative code whe

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

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 practica

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&qu

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 makefi

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 f

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

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 styl

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 t

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. Yo

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: 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: 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: 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 c

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 wi

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: 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 Alexandrescu

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&quo

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. http://www.reddit.com/r/programming/comments/278tw

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 th

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 t

Re: Interview at Lang.NEXT

2014-06-05 Thread Atila Neves via Digitalmars-d-announce
On Thursday, 5 June 2014 at 09:43:13 UTC, Jonathan M Davis via Digitalmars-d-announce wrote: On Thu, 05 Jun 2014 09:30:44 +0200 Andrei Alexandrescu via Digitalmars-d-announce wrote: On 6/5/14, 7:59 AM, Nick Sabalausky wrote: > So let me get this straight: There are programmers out there > who

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: https://aur.archlinux.org/p

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: http://www.packtpub.

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 abou

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? ;)

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 joi

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 &quo

Re: Unit-threaded v0.4.0 released

2014-05-03 Thread Atila Neves via Digitalmars-d-announce
at 07:42:57 UTC, Atila Neves wrote: 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 co

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: 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-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 thoug

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

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! https://github.com/atilaneve

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 t

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 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 if

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! http://code.dlang.org/packages

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 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 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 de

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-23 Thread Atila Neves via Digitalmars-d-announce
. Atila On Wednesday, 23 April 2014 at 14:58:26 UTC, Jacob Carlborg wrote: On 23/04/14 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 e

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 well

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

Cerealed V0.4.1

2014-03-27 Thread Atila Neves
http://code.dlang.org/packages/cerealed Binary serialisation library with minimal boilerplate. New in this version: . Support for (non-null) pointers . Child class serialisation via a base class reference . Support for InputRange and OutputRange . Ability to reuse the classes in order to avoid a

Re: Dragging Gunroar into 2014

2014-03-25 Thread Atila Neves
I've had problems with the old CMake extensions for D as well. Are you planning on posting what you've done to make it work? I think I used the old CMakeD project and had to edit and delete a few files to get it to work, but I'm not sure how much functionality I'm missing because of that. Ati

Re: Article: Functional image processing in D

2014-03-21 Thread Atila Neves
Wow, great stuff here. If anybody else asks me "What is D good for?" again I'll point them to this. Atila On Friday, 21 March 2014 at 11:04:58 UTC, Vladimir Panteleev wrote: http://blog.thecybershadow.net/2014/03/21/functional-image-processing-in-d/ Some highlights from a recent overhaul of th

Re: Emacs users: flycheck-dmd-dub

2014-03-20 Thread Atila Neves
Ah, ok. I'll wait for the bug to be fixed. In the meanwhile, the package is now on MELPA and can be installed as any other emacs package. Atila 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

Re: Emacs users: flycheck-dmd-dub

2014-03-18 Thread Atila Neves
ndard package file, to prevent clash with another tool. 2014-03-06 9:13 GMT-08:00 Atila Neves : https://github.com/atilaneves/flycheck-dmd-dub I managed to get a pull request accepted by flycheck to have a variable to specify include paths for dmd so that the dmd runs made by flycheck in

unit-threaded v0.3.1, dtest v0.2.0 and dub test

2014-03-17 Thread Atila Neves
unit-threaded is now at version 0.3.1: https://github.com/atilaneves/unit-threaded http://code.dlang.org/packages/unit-threaded New @SingleThreaded UDA causes all tests with it in a module to run sequentially. Sometimes you're testing code that changes global state or isn't thread-safe in some

Re: Emacs users: flycheck-dmd-dub

2014-03-06 Thread Atila Neves
3 GMT-08:00 Atila Neves : https://github.com/atilaneves/flycheck-dmd-dub I managed to get a pull request accepted by flycheck to have a variable to specify include paths for dmd so that the dmd runs made by flycheck include all of the directories it needs to properly highlight errors. I wrot

Emacs users: flycheck-dmd-dub

2014-03-06 Thread Atila Neves
https://github.com/atilaneves/flycheck-dmd-dub I managed to get a pull request accepted by flycheck to have a variable to specify include paths for dmd so that the dmd runs made by flycheck include all of the directories it needs to properly highlight errors. I wrote the elisp in the reposit

Re: "Programming in D" book is about 88% translated

2014-03-05 Thread Atila Neves
Written Portuguese, especially after the orthography agreement, doesn't vary much if at all between Brazil and Portugal. It's the spoken language that's very different. Atila On Saturday, 29 June 2013 at 08:47:14 UTC, Paulo Pinto wrote: Am 29.06.2013 04:35, schrieb Ali Çehreli: On 06/28/2013

Re: std.serialization

2014-02-19 Thread Atila Neves
On Monday, 17 February 2014 at 07:24:11 UTC, Jacob Carlborg wrote: On Monday, 17 February 2014 at 06:09:35 UTC, Rory McGuire wrote: A base class reference is: from your example an A which actually contains a C or B. Honestly I haven't tried this I would have assumed that D still gives you t

Re: std.serialization

2014-02-19 Thread Atila Neves
On Sunday, 16 February 2014 at 20:57:28 UTC, Andrej Mitrovic wrote: On 2/16/14, "Nordlöw" wrote: I'm however not sure how serialization of base and superclasses should be implemented in the most convenient way. Maybe somehow has a good suggestion for this. One way to do it: https://github.com

Re: finally using D at work

2014-02-11 Thread Atila Neves
Congrats! I'm green with envy. Atila On Monday, 10 February 2014 at 19:56:57 UTC, extrawurst wrote: As a long time D fanboy I was known to say "That is quite simple in D" a lot at work! Now I was finally able to convience my boss (our CTO) to take a serious look at D as a replacement for the p

Re: DUB 0.9.21 beta 1

2014-01-12 Thread Atila Neves
The "bug" turned out to be me not using "importPaths" correctly, so my bad. On Friday, 10 January 2014 at 18:48:11 UTC, Atila Neves wrote: I finally got around to cloning the git repo and trying the latest dub and how dub test would work. 1st of all there is a bug, sho

Re: DUB 0.9.21 beta 1

2014-01-10 Thread Atila Neves
I finally got around to cloning the git repo and trying the latest dub and how dub test would work. 1st of all there is a bug, should I also add it to the issue tracker on github? In any case, when the default "source" directory isn't used but explicitly named in package.json, the static impo

Re: vibe.d 0.7.18 has been released

2013-12-03 Thread Atila Neves
On Friday, 29 November 2013 at 17:31:41 UTC, Robert M. Münch wrote: On 2013-11-26 19:31:44 +, Sönke Ludwig said: Homepage: http://vibed.org/ DUB package: http://code.dlang.org/packages/vibe-d GitHub: https://github.com/rejectedsoftware/vibe.d Out of curiosity, it looks like vibe.d could b

Re: DUB 0.9.21 beta 1

2013-12-03 Thread Atila Neves
It also supports setting a custom file containing main(), so that for example custom unit test runners can be specified and similar Awesome! things. In this case, the generated file looks like this: --- module test_main; import ; import ; --- For packages with only executable configurations

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

2013-11-20 Thread Atila Neves
assert(foo2.a[1] == 10); // will this pass? Ah, I see. No, it won't. Which answers the other question about serialising references to objects. I'm told this is a common problem, but this being my first bash at a serialisation library... I was certain that Orange would be more mature and han

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

2013-11-19 Thread Atila Neves
On Monday, 18 November 2013 at 20:43:51 UTC, Jacob Carlborg wrote: On 2013-11-18 17:49, Atila Neves wrote: http://code.dlang.org/packages/cerealed https://github.com/atilaneves/cerealed How does it handle: * Slices - are they restored? It serialises the slice and restores it as it was, not

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

2013-11-18 Thread Atila Neves
http://code.dlang.org/packages/cerealed https://github.com/atilaneves/cerealed But what about Orange / std.serialization? Well, 1. I started this before I knew about Orange. This is actually based on a library I wrote in C++ (https://bitbucket.org/atilaneves/cereal) for the game I'm trying to

Re: Arch Linux D news digest

2013-11-16 Thread Atila Neves
On Wednesday, 2 October 2013 at 15:14:08 UTC, Dicebot wrote: Small Archy update: 1) dub has been just adopted into [community] 2) all three compiler phobos versions now provide 'd-runtime` and `d-stdlib` meta-dependencies I think the gdc installation is missing files. I can compile simple p

unit-threaded (D multithreaded unit testing library) v0.2.0 released

2013-11-13 Thread Atila Neves
http://code.dlang.org/packages/unit-threaded https://github.com/atilaneves/unit-threaded What's new? Bug fixes and the dtest util. dtest lets you point it at a list of directories, preferably just one called "tests" (that way there's less command-line options to type) and voilá, all tests in a

Re: Unit Threaded - a unit testing library for D

2013-11-04 Thread Atila Neves
I finally got around to putting it up in the dub registry. http://code.dlang.org/packages/unit-threaded On Tuesday, 27 August 2013 at 13:07:02 UTC, Atila Neves wrote: My very first D project is now feature-complete as far as I can see (alpha) and I'd like to share it with the comm

Re: DUnit: Advanced unit testing toolkit.

2013-09-26 Thread Atila Neves
My library, unit-threaded, does just that. All unittest blocks from a module show up as one test case in the output. On Thursday, 26 September 2013 at 14:56:49 UTC, Dicebot wrote: On Thursday, 26 September 2013 at 14:51:16 UTC, Jacob Carlborg wrote: Exactly. I guess I misunderstood you. Althoug

Re: DUnit: Advanced unit testing toolkit.

2013-09-26 Thread Atila Neves
On Sunday, 22 September 2013 at 13:13:29 UTC, linkrope wrote: Have a look at https://github.com/linkrope/dunit, especially at the "Related Projects". Thanks for the link to https://github.com/atilaneves/unit-threaded!

Re: Unit Threaded - a unit testing library for D

2013-08-27 Thread Atila Neves
Not at all. In fact, I was playing with using it to do integration testing at work for our C++ code (it has a C interface). I guess I was just focussed on unit testing because I got annoyed at how long our unit tests* take to run, which was what led me to write the C++11 version to begin with. Aft

Re: Unit Threaded - a unit testing library for D

2013-08-27 Thread Atila Neves
Currently we have assertThrown/assertNotThrown, but assertEqual and friends are easy to implement and we thought about including them. However it needs more community support before it's included in Phobos (i.e. more people need to want these). They're easy to implement and I did to test t

Re: Unit Threaded - a unit testing library for D

2013-08-27 Thread Atila Neves
I haven't had a problem with compile times. Ideally the test code should be small and well-separated into modules so I'm not too worried about that (the compile-time scanning only happens on the test modules). As for the registration, it was one of my goals to not have to do any. You could st

Unit Threaded - a unit testing library for D

2013-08-27 Thread Atila Neves
My very first D project is now feature-complete as far as I can see (alpha) and I'd like to share it with the community: https://github.com/atilaneves/unit-threaded There are more details on github but here are the highlights: 1. Automatic registration of unit tests via compile-time reflectio

Re: Arch Linux D news digest

2013-08-26 Thread Atila Neves
I get why the changes were made, I just hadn't noticed when I read the original post that there was user intervention needed to keep the status quo. Atila On Monday, 26 August 2013 at 20:41:40 UTC, Dicebot wrote: On Monday, 26 August 2013 at 19:45:45 UTC, Atila Neves wrote: I should&#x

Re: Arch Linux D news digest

2013-08-26 Thread Atila Neves
I should've read this more carefully. Updated my system tonight and was missing the phobos imports, took a while to figure out why. For anyone else out there, TL;DR Install the lib{,g,l}phobos-devel, or one of dlang-dmd, dlang-gdc, dlang-ldc. Or just dlang for the lot. Atila

Re: Arch Linux D news digest

2013-08-26 Thread Atila Neves
I switched to Arch from Kubuntu a few months ago and I'm never looking back. It's definitely not for everyone since setting up is a pain and some favour stability over having the newest, shiny toys. For me, I wanted a distro that has the latest and greatest that I can make as minimal as possibl

Re: D reaches 1000 questions on stackoverflow

2013-08-06 Thread Atila Neves
On Tuesday, 6 August 2013 at 01:22:29 UTC, Andre Artus wrote: Andrei Alexandrescu wrote: http://stackoverflow.com/questions/tagged/d Andrei Perhaps we can get it to 1000 answers? I'm looking through it now to see if I can find something I can answer. I think the lack of answers is due to mo

<    1   2   3   4