Re: Units of Measurement Library: units-d

2016-04-01 Thread Meta via Digitalmars-d-announce
On Friday, 1 April 2016 at 22:54:53 UTC, Simen Kjaeraas wrote: On Friday, 1 April 2016 at 21:46:35 UTC, ag0aep6g wrote: On 01.04.2016 22:59, Simen Kjaeraas wrote: The usual way to fix it would be to include __FILE__ and __LINE__ in the template arguments: Right, no mixin this way. I

Re: Units of Measurement Library: units-d

2016-04-01 Thread Simen Kjaeraas via Digitalmars-d-announce
On Friday, 1 April 2016 at 21:46:35 UTC, ag0aep6g wrote: On 01.04.2016 22:59, Simen Kjaeraas wrote: The usual way to fix it would be to include __FILE__ and __LINE__ in the template arguments: Right, no mixin this way. I wouldn't call this "truly nice", though. It depends on code

Re: Units of Measurement Library: units-d

2016-04-01 Thread ag0aep6g via Digitalmars-d-announce
On 01.04.2016 22:59, Simen Kjaeraas wrote: The usual way to fix it would be to include __FILE__ and __LINE__ in the template arguments: Right, no mixin this way. I wouldn't call this "truly nice", though. It depends on code formatting to work. Put everything on one line and it breaks.

Re: Graylog integration for std.experimental.logger

2016-04-01 Thread Martin Nowak via Digitalmars-d-announce
On Friday, 1 April 2016 at 11:14:19 UTC, 9il wrote: Graylog Extended Log Format (GELF) D implementation was released. Great, thanks a lot.

Re: Units of Measurement Library: units-d

2016-04-01 Thread Simen Kjaeraas via Digitalmars-d-announce
On Friday, 1 April 2016 at 19:03:03 UTC, ag0aep6g wrote: I dislike that the type depends only on the given name. This effectively means that the names are in a global namespace. [snip] I can't think of a truly nice way to accomplish this, though. As far as I see, it needs a mixin of some kind.

Re: Units of Measurement Library: units-d

2016-04-01 Thread Jack Stouffer via Digitalmars-d-announce
On Thursday, 31 March 2016 at 23:58:54 UTC, Nordlöw wrote: I've put David Nadlinger work together with my tweaks on top at https://github.com/nordlow/units-d to make it easier to experiment with. PR are very welcome. Nice work. I have yet to play around with it, but this is definitely

Re: Units of Measurement Library: units-d

2016-04-01 Thread ag0aep6g via Digitalmars-d-announce
On 01.04.2016 01:58, Nordlöw wrote: https://github.com/nordlow/units-d From there: * Example: * --- * alias BaseUnit!("Ampere", "A") Ampere; * enum ampere = Ampere.init; * // or * enum ampere = baseUnit!("Ampere", "A"); * --- I dislike that the type depends only on the given name.

Re: DConf 2016 announces programme, general registration opened thrugh April 22

2016-04-01 Thread Jack Stouffer via Digitalmars-d-announce
On Tuesday, 29 March 2016 at 04:42:17 UTC, Dicebot wrote: I am not sure this has much value. The main benefit of live stream is that everyone can ask questions online and those will be forwarded to speakers. Isn't it better to simply wait for recorded high quality videos otherwise? P.S. devs

Re: Small rdmd wrapper for windows

2016-04-01 Thread Steve Biedermann via Digitalmars-d-announce
On Thursday, 31 March 2016 at 10:54:50 UTC, Kagamin wrote: Maybe rdmd should parse D_INCLUDE_PATH itself? Then it would work on its own. You could also use the DFLAGS environment variable for that, but I think it's cleaner to seperate the scripting environment from the normal build

Typed D allocators based on Google Thread caching memory allocators

2016-04-01 Thread Basile B. via Digitalmars-d-announce
This new DUB package uses the "Thread Caching" memory allocators from Google performance tools to make typed D allocators, conform with the interface defined in std.experimental.allocator. - Posix only. - TCMallocator (= Mallocator). - TCAlignedMallocator (= AlignedMallocator). And maybe more

Re: Beta D 2.071.0-b2

2016-04-01 Thread Jacob Carlborg via Digitalmars-d-announce
On 2016-03-31 21:21, Steven Schveighoffer wrote: Right, so definitely a bug in the compiler. The -transition=checkimports flag is supposed to tell you about changes in behavior between the prior regime (achieved with -transition=import) and the current regime. -Steve Reported two bugs: