Re: Out of sight out of mind

2014-06-17 Thread Mathias LANG via Digitalmars-d
On Monday, 16 June 2014 at 13:53:39 UTC, Byron Heads wrote: Does github link issues with pull requests (and the conversation) and commits? Does it link issues with sub issues/tasks? Can Issues link to other repos (link issues that are in both runtime and std lib)? If it does have these

Re: Self-hosting D compiler -- Coming Real Soon Now(tm)

2014-09-11 Thread Mathias LANG via Digitalmars-d
On Thursday, 11 September 2014 at 10:02:39 UTC, ketmar via Digitalmars-d wrote: On Thu, 11 Sep 2014 09:43:19 + Dicebot via Digitalmars-d digitalmars-d@puremagic.com wrote: If it is easy you are welcome to implement it and provide patches. in no way. i'm already told that it will not happen

Re: OT: Minecraft death by GC

2014-10-21 Thread Mathias LANG via Digitalmars-d
On Tuesday, 21 October 2014 at 07:18:28 UTC, ROOAR wrote: So the latest Minecraft apparently runs really really poorly because of the GC. And it is running on Java desktop. The supposedly fast GC of Java can't handle the game anymore--

Re: D Meetup in Berlin

2014-12-05 Thread Mathias LANG via Digitalmars-d
On Thursday, 4 December 2014 at 12:57:59 UTC, Ben wrote: Let me know if you are interested in taking part in this or any future Berlin based events. I would be interested too.

Re: DIP69: problem with scope grammar - need a new keyword

2014-12-08 Thread Mathias LANG via Digitalmars-d
On Monday, 8 December 2014 at 09:52:02 UTC, deadalnix wrote: I'm arguing for ages that qualifier before the return type qualify the return type, and the one after the implicit argument. I stand by this. Simple (== easy to remember), and already widely used. I agree. In addition, for the

Re: Lost a new commercial user this week :(

2014-12-18 Thread Mathias LANG via Digitalmars-d
On Thursday, 18 December 2014 at 10:47:56 UTC, Manu via Digitalmars-d wrote: I think you've missed my entire point. The summary is this: Tried D, tried a very popular and often hyped D library/framework, encountered bugs. There was friction along the way which undermines confidence, but the

Re: Lost a new commercial user this week :(

2014-12-29 Thread Mathias LANG via Digitalmars-d
On Monday, 29 December 2014 at 09:35:25 UTC, Iain Buclaw via Digitalmars-d wrote: The new layout solves half the problem in that it hides the template constraints. http://dlang.org/library/std/algorithm/sort.html Shouldn't our focus also be to get the new layout out of preview mode and do

Current status of release

2014-12-29 Thread Mathias LANG via Digitalmars-d
I'm wondering where we currently are on the process of releasing 2.067 ? The reference page http://wiki.dlang.org/Beta_Testing#Available_Downloads , is horribly outdated, as DMD v2.066.1 was released, all known regressions are marked as fixed on Bugzilla, and page's last modification date is

Re: Improving ddoc

2015-01-02 Thread Mathias LANG via Digitalmars-d
On Friday, 2 January 2015 at 09:40:45 UTC, Andrei Alexandrescu wrote: * Automatically generating cross-references Nice. https://github.com/rejectedsoftware/ddox/blob/master/README.md#ddox-documentation-engine I'm still wondering why it's not shipped with DMD. * A list of summary with all

Re: GSOC - Holiday Edition

2015-01-03 Thread Mathias LANG via Digitalmars-d
On Wednesday, 31 December 2014 at 03:25:53 UTC, Craig Dillabaugh wrote: I was hoping folks to take a brief break from bickering about features, and arguing over which posters have been naughty, and which have been nice, to get a bit of input on our 2015 Google Summer of Code Proposal ... :o)

Re: 521 days, 22 hours, 7 minutes and 52 seconds...

2015-01-26 Thread Mathias LANG via Digitalmars-d
On Monday, 26 January 2015 at 18:25:13 UTC, Robert burner Schadek wrote: thank you @!In order of appearance on github() { Dicebot, JakobOvrum, monarchdodra, klamonte, grogancolin, fugalh, Geod24, andralex, braddr, AndrejMitrovic, MetaLang, p0nce, yglukhov, elendel-, sigod, sybrandy,

Re: Git, the D package manager

2015-02-04 Thread Mathias LANG via Digitalmars-d
On Wednesday, 4 February 2015 at 01:04:42 UTC, Martin Nowak wrote: No idea why git submodule update worked the second time. You can simply use: `git submodule update --init`, which init submodules if they aren't yet. Better, write yourself an alias for clone, let's call it 'cl', which

Re: Git, the D package manager

2015-02-02 Thread Mathias LANG via Digitalmars-d
On Monday, 2 February 2015 at 21:55:21 UTC, Jonathan M Davis wrote: I've long thought that it some point, dub would be forced to support arbitrary build systems in order to actually work in the general case. There are far too many special cases and more complicated things that build scripts

Re: Git, the D package manager

2015-02-02 Thread Mathias LANG via Digitalmars-d
On Monday, 2 February 2015 at 08:09:39 UTC, Vladimir Panteleev wrote: In contrast, Dub's default modus operandi is to blindly send to the compiler all *.d files found in the src folder, whether they're actually used or not. Not only can this be slower if not all modules are always used, but it

Re: Git, the D package manager

2015-02-02 Thread Mathias LANG via Digitalmars-d
On Monday, 2 February 2015 at 13:42:19 UTC, Vladimir Panteleev wrote: On Monday, 2 February 2015 at 13:25:57 UTC, Mathias LANG wrote: To be more specific, dub won't let you compile a project with multiple definition of a function. How is that a liability ? You can't have more than one main()

Re: Git, the D package manager

2015-02-02 Thread Mathias LANG via Digitalmars-d
On Monday, 2 February 2015 at 09:03:56 UTC, Vladimir Panteleev wrote: Is that so? Won't a security fix entail a version bump, requiring a change in the requirements file of the parent project? Also, does Dub really check for updated versions of libraries online, every time a project is

Re: Git, the D package manager

2015-02-02 Thread Mathias LANG via Digitalmars-d
On Monday, 2 February 2015 at 09:44:18 UTC, Andrej Mitrovic wrote: Also: - Dub installs everything in ~/ (home, which on Windows is an awful location anywho). It's a pain in the ass for browsing dependencies in your editor. If it's just a submodule you can easily view it in the source tree

Re: Git, the D package manager

2015-02-05 Thread Mathias LANG via Digitalmars-d
On Thursday, 5 February 2015 at 15:01:48 UTC, ketmar wrote: ??? i didn't modified mymod.d! why it is rebuilding it?! 'cmon, it's in no way better than a simple shell script that just executes dmd -c for each file and then links the results. Looks like you missing one of my mails:

Re: Git, the D package manager

2015-02-05 Thread Mathias LANG via Digitalmars-d
On Thursday, 5 February 2015 at 15:26:23 UTC, ketmar wrote: On Thu, 05 Feb 2015 15:21:08 +, Atila Neves wrote: the package manager part should have good machine interface to allow it's usage in various scripts and other build systems. and build system... oh, well, it can simply use

Re: Git, the D package manager

2015-02-05 Thread Mathias LANG via Digitalmars-d
On Thursday, 5 February 2015 at 15:15:10 UTC, Atila Neves wrote: The approach taken for DUB is to put as much knowledge of the target problem into the build tool as possible, so that the amount of work/knowledge required by the developer is minimal (as long as problem is within the target

Re: Common makefile (gasp) stuff

2015-01-14 Thread Mathias LANG via Digitalmars-d
On Wednesday, 14 January 2015 at 23:58:45 UTC, Rikki Cattermole wrote: On 15/01/2015 12:24 p.m., Andrei Alexandrescu wrote: On 1/14/15 3:14 PM, Rikki Cattermole wrote: So a dub file for phobos is needed? And maybe druntime too? I'll see what I can do. That would be very interesting,

Re: dlang.org should do it in style

2015-01-16 Thread Mathias LANG via Digitalmars-d
On Friday, 16 January 2015 at 23:02:21 UTC, Andrei Alexandrescu wrote: On 1/16/15 2:38 PM, David Soria Parra via Digitalmars-d wrote: Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com writes: I just created https://github.com/D-Programming-Language/dlang.org/pull/769, which

Re: dlang.org should do it in style

2015-01-17 Thread Mathias LANG via Digitalmars-d
On Saturday, 17 January 2015 at 00:12:18 UTC, Andrei Alexandrescu wrote: On 1/16/15 3:05 PM, Mathias LANG wrote: On Friday, 16 January 2015 at 23:02:21 UTC, Andrei Alexandrescu wrote: On 1/16/15 2:38 PM, David Soria Parra via Digitalmars-d wrote: Andrei Alexandrescu via Digitalmars-d

Re: Eliminate comparison.html?

2015-01-17 Thread Mathias LANG via Digitalmars-d
On Saturday, 17 January 2015 at 17:32:43 UTC, Andrei Alexandrescu wrote: In https://github.com/D-Programming-Language/dlang.org/pull/778 I'm proposing replacing http://dlang.org/comparison.html with http://erdani.com/d/comparison.html The silly one-column comparison was a vestige of a

Re: Variadic templates - D section on wikipedia

2015-01-17 Thread Mathias LANG via Digitalmars-d
On Saturday, 17 January 2015 at 17:42:08 UTC, Andrei Alexandrescu wrote: On 1/17/15 3:34 AM, Douglas Peterson wrote: https://en.wikipedia.org/wiki/Variadic_template Isn't it a pity that the first language supporting them hasn't even a section over there ? I invite any expert interested into

Re: Use proper frameworks for building dlang.org

2015-01-19 Thread Mathias LANG via Digitalmars-d
On Sunday, 18 January 2015 at 16:41:36 UTC, Andrei Alexandrescu wrote: [...] I don't know. So what would be the replacement? BTW turns out that dlangspec.pdf is downloaded quite a bit. -- Andrei Bummer. I never used it, so I figured I should give it a try before attempting to kill it. I

Re: Use proper frameworks for building dlang.org

2015-01-19 Thread Mathias LANG via Digitalmars-d
On Monday, 19 January 2015 at 16:38:58 UTC, Andrei Alexandrescu wrote: But that's beside the point. This seems to suggest the choice is if we didn't have to build the mobi and pdf, the road is clear to using Great Framework(tm). There are a few issues with that, such as nobody seems to agree

Re: Common makefile (gasp) stuff

2015-01-14 Thread Mathias LANG via Digitalmars-d
On Thursday, 15 January 2015 at 01:48:29 UTC, Rikki Cattermole wrote: Druntime and phobos now can be built and even more importantly you can have druntime as a dependency to phobos. In fact it is. Phobos supports being built as a dynamic library (there is a configuration for for it). So if you

Re: Common makefile (gasp) stuff

2015-01-14 Thread Mathias LANG via Digitalmars-d
On Tuesday, 13 January 2015 at 23:20:13 UTC, Andrei Alexandrescu wrote: Hey folks, Over the time a number of stuff has become quite duplicated across our makefiles for dmd, druntime, and phobos. These include fetching OS and model but (newer) general-purpose macros for e.g. rebasing repos,

Re: D on Slashdot

2015-01-21 Thread Mathias LANG via Digitalmars-d
On Wednesday, 21 January 2015 at 08:56:54 UTC, Kagamin wrote: [...] Windows console does it elegantly without telepathy: it rolls through the list of ambiguous names. Personally I use http://grml.org/zsh/. It's available as an ArchLinux package. It's also the default shell config for the

Re: Use proper frameworks for building dlang.org

2015-01-18 Thread Mathias LANG via Digitalmars-d
On Sunday, 18 January 2015 at 10:24:29 UTC, Jacob Carlborg wrote: Lately Andrei has worked a lot with improving the dlang.org site in various ways. To me it getting more clear and clear that Ddoc is not the right tool for building a web site. Especially the latest improvement [1] shows that

Re: Variadic templates - D section on wikipedia

2015-01-18 Thread Mathias LANG via Digitalmars-d
On Saturday, 17 January 2015 at 18:30:43 UTC, Andrei Alexandrescu wrote: On 1/17/15 10:08 AM, Mathias LANG wrote: Yes. Though it would be nice (but not necessary) to have your input on https://github.com/D-Programming-Language/phobos/pull/2687 first. Does that do a lot of moving stuff to a

Re: Botan Crypto and TLS for D

2015-02-18 Thread Mathias Lang via Digitalmars-d
That's awesome ! Thanks for all the work you put in it, and more generally, in Vibe.d. 2015-02-17 22:00 GMT+01:00 Etienne via Digitalmars-d digitalmars-d@puremagic.com: I'd like to announce the first release of Botan, which implements all features of v1.11.10 in the C++ library. I gave

Re: Any ddox experts n da house?

2015-02-15 Thread Mathias Lang via Digitalmars-d
2015-02-15 0:38 GMT+01:00 Vladimir Panteleev via Digitalmars-d digitalmars-d@puremagic.com: On Saturday, 14 February 2015 at 23:06:20 UTC, Mathias Lang wrote: We'll get the best of both world, keeping the possibility to output any target out of the specs, but writting website-specific part

Re: DMD 2.066.1 is missing in the Digitalmars FTP

2015-01-28 Thread Mathias LANG via Digitalmars-d
On Wednesday, 28 January 2015 at 02:41:19 UTC, Brad Roberts wrote: I spent the time today to read up on how to use s3 website redirects, since s3 doesn't support symlinks. The only new requirement is for the http client to follow a 301 redirect, which most do. The new directories:

Re: DMD 2.066.1 is missing in the Digitalmars FTP

2015-01-29 Thread Mathias LANG via Digitalmars-d
On Wednesday, 28 January 2015 at 19:06:23 UTC, Andrei Alexandrescu wrote: On 1/28/15 11:04 AM, Brad Roberts via Digitalmars-d wrote: Sorry, typed those by hand rather than cut/paste. Pluralize each: http://downloads.dlang.org/pre-releases/ http://downloads.dlang.org/releases/ BTW how do I

Re: D Meetup in Berlin

2015-01-23 Thread Mathias LANG via Digitalmars-d
On Friday, 23 January 2015 at 10:05:07 UTC, Andrej Mitrovic wrote: On Thursday, 4 December 2014 at 12:57:59 UTC, Ben wrote: Hi All, I am a Berlin based D developer who has been working with D for about 2 and a half years. Like other more well known names in these forums I work for a company

Re: ddox question

2015-01-11 Thread Mathias LANG via Digitalmars-d
On Saturday, 10 January 2015 at 17:23:24 UTC, Andrei Alexandrescu wrote: In the ddox-generated documentation the heading is e.g. Module std.container. I wanted to style std.container in code font, but can't find where that text is generated. I've searched dlang.org/ and dub/, no avail.

Re: Improving http://dlang.org/library/index.html

2015-01-11 Thread Mathias LANG via Digitalmars-d
On Monday, 12 January 2015 at 00:15:18 UTC, Andrei Alexandrescu wrote: Thanks! Could someone please get on this? The few of us working on this can't do everything. Most of the work involved is highly parallelizable. Please? Please? With sugar on top? Thanks. Andrei I would love to, but

Re: ddox question

2015-01-11 Thread Mathias LANG via Digitalmars-d
On Sunday, 11 January 2015 at 22:19:01 UTC, Andrei Alexandrescu wrote: Thanks! Are there ways to override those? We need to make dlang.org independent of https://github.com/rejectedsoftware/ddox/. -- Andreo By default, it uses ddox's one, but they're overrideable (by defining a file with

Re: Improving http://dlang.org/library/index.html

2015-01-11 Thread Mathias LANG via Digitalmars-d
On Sunday, 11 January 2015 at 20:22:02 UTC, Andrei Alexandrescu wrote: I'm looking into ways to improve http://dlang.org/library/index.html. Specifically I want to remove (some of) the std.c modules or at least move them below, render the module names in code font, etc. Again, ddox is rather

Re: Ready to make page-per-item ddocs the default?

2015-01-11 Thread Mathias LANG via Digitalmars-d
On Sunday, 11 January 2015 at 19:52:42 UTC, Andrei Alexandrescu wrote: On 1/11/15 11:26 AM, Steven Schveighoffer wrote: On 1/9/15 4:17 PM, Andrei Alexandrescu wrote: On 1/9/15 12:59 PM, Jacob Carlborg wrote: On 2015-01-09 20:46, Andrei Alexandrescu wrote: Stuff's up!

Re: Ready to make page-per-item ddocs the default?

2015-01-06 Thread Mathias LANG via Digitalmars-d
On Wednesday, 7 January 2015 at 07:06:42 UTC, Andrei Alexandrescu wrote: On 1/6/15 11:02 PM, Mathias LANG wrote: On Wednesday, 7 January 2015 at 06:48:23 UTC, Andrei Alexandrescu wrote: On 1/6/15 10:09 PM, Manu via Digitalmars-d wrote: On 7 January 2015 at 08:43, Andrei Alexandrescu via

Re: Ready to make page-per-item ddocs the default?

2015-01-06 Thread Mathias LANG via Digitalmars-d
On Wednesday, 7 January 2015 at 06:48:23 UTC, Andrei Alexandrescu wrote: On 1/6/15 10:09 PM, Manu via Digitalmars-d wrote: On 7 January 2015 at 08:43, Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com wrote: Let's crowdsource the review. Please check the entries linked from

Re: Ready to make page-per-item ddocs the default?

2015-01-07 Thread Mathias LANG via Digitalmars-d
On Wednesday, 7 January 2015 at 08:46:41 UTC, Vladimir Panteleev wrote: * Overzealous linking of words in the documentation that happen to coincide with symbols in the same module. This should only be done for text in $(D ...) tags. According to the specs: Identifiers in documentation

Re: ddox question

2015-01-12 Thread Mathias LANG via Digitalmars-d
On Monday, 12 January 2015 at 22:01:07 UTC, Ulrich Küttler wrote: On Monday, 12 January 2015 at 18:52:25 UTC, Andrei Alexandrescu wrote: On 1/12/15 10:48 AM, Martin Nowak wrote: On 01/11/2015 06:28 PM, Andrei Alexandrescu wrote: I don't think the CSS would be enough. The title is Module

Re: Proposal : aggregated dlang git repository

2015-02-09 Thread Mathias LANG via Digitalmars-d
On Tuesday, 10 February 2015 at 06:22:51 UTC, Andrei Alexandrescu wrote: Well I have to say something. This proposal is a good example of a cultural lore we should unlearn: high-churn, low-impact changes. https://github.com/D-Programming-Language/dlang.org/pull/896 is another example.

Re: Any ddox experts n da house?

2015-02-14 Thread Mathias Lang via Digitalmars-d
2015-02-14 10:46 GMT+01:00 Vladimir Panteleev via Digitalmars-d digitalmars-d@puremagic.com: On Saturday, 14 February 2015 at 09:17:57 UTC, Andrei Alexandrescu wrote: Counting on your help! Here are some things that would help: 1. Most urgently, update the .dt template to match the

Re: dfmt options

2015-03-14 Thread Mathias Lang via Digitalmars-d
2015-03-15 0:15 GMT+01:00 Brian Schott via Digitalmars-d digitalmars-d@puremagic.com: What am I missing? I suggest you fire a recent version of Visual Studio and go to tools / Options / Tet editor / C# (or C/C++) / Formatting. There you got a bunch of formatting options. Maybe not all of them

Re: dfmt options

2015-03-15 Thread Mathias Lang via Digitalmars-d
2015-03-15 13:56 GMT+01:00 ketmar via Digitalmars-d digitalmars-d@puremagic.com: maybe it's time to fix the compiler, so it will simply reject the UnTrue Sources? why relay to external tool for such fundamental task? That would be terrible. They are thing the compiler should enforce (IMO

Re: DMD compilation speed

2015-03-30 Thread Mathias Lang via Digitalmars-d
Is it only DMD compile time or DMD + ld ? ld can be very slow sometimes. 2015-03-30 1:14 GMT+02:00 Martin Krejcirik via Digitalmars-d digitalmars-d@puremagic.com: It seems like every DMD release makes compilation slower. This time I see 10.8s vs 7.8s on my little project. I know this is

Re: DMD compilation speed

2015-03-30 Thread Mathias Lang via Digitalmars-d
2015-03-31 0:53 GMT+02:00 H. S. Teoh via Digitalmars-d digitalmars-d@puremagic.com: Yeah, dmd memory consumption is way off the charts, because under the pretext of compile speed it never frees allocated memory. Unfortunately, the assumption that not managing memory == faster quickly becomes

Re: Named unittests

2015-03-30 Thread Mathias Lang via Digitalmars-d
We do have an `@name` as UDA in Vibe.d, so that'll be a breaking change (But `@NamedUnittest(name)` will do). I also think it should be a library solution. 2015-03-31 0:21 GMT+02:00 Kapps via Digitalmars-d digitalmars-d@puremagic.com: On Monday, 30 March 2015 at 21:52:35 UTC, Andrei

Re: unittests are really part of the build, not a special run

2015-03-30 Thread Mathias Lang via Digitalmars-d
I'd rather see DMD automatically pass the expression that triggered the error (as it is done in C) to replace this useless Unittest failure that forces me to look through the code. D has the advantage that it catches most errors at CT. You can write a lot of code and just compile it to ensure

Re: unittests are really part of the build, not a special run

2015-03-30 Thread Mathias Lang via Digitalmars-d
2015-03-31 2:46 GMT+02:00 Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com: On 3/30/15 4:15 PM, Mathias Lang via Digitalmars-d wrote: I'd rather see DMD automatically pass the expression that triggered the error (as it is done in C) to replace this useless Unittest failure

Re: D as System Language

2015-03-30 Thread Mathias Lang via Digitalmars-d
2015-03-30 18:01 GMT+02:00 Columbus via Digitalmars-d digitalmars-d@puremagic.com: On Monday, 30 March 2015 at 15:39:07 UTC, Adam D. Ruppe wrote: Basically you can start with an empty runtime and then add back missing functions as needed to get it to compile. What do you mean by an empty

Re: Travis CI based tests based on 2.066.1 start failing

2015-03-31 Thread Mathias Lang via Digitalmars-d
Importing std.algorithm.searching won't work before. A static if (__VERSION__ = 2067) / else would solve it. 2015-03-31 13:20 GMT+02:00 Baz via Digitalmars-d digitalmars-d@puremagic.com: On Tuesday, 31 March 2015 at 09:52:34 UTC, Baz wrote: @MartinNowak, @klickverbot and @ibuclaw Is is

Re: Travis CI based tests based on 2.066.1 start failing

2015-04-01 Thread Mathias Lang via Digitalmars-d
2015-03-31 14:57 GMT+02:00 Baz via Digitalmars-d digitalmars-d@puremagic.com: On Tuesday, 31 March 2015 at 12:31:14 UTC, Mathias Lang wrote: Importing std.algorithm.searching won't work before. A static if (__VERSION__ = 2067) / else would solve it. 2015-03-31 13:20 GMT+02:00 Baz via

Re: From the cycle Topic of the day - .gitignore: how big is too big?

2015-03-22 Thread Mathias Lang via Digitalmars-d
I was wondering how this could be done this afternoon. Thanks Mengu. https://github.com/github/gitignore/pull/1444 2015-03-22 22:08 GMT+01:00 Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com: On 3/22/15 1:37 PM, Mengu wrote: while we're at it, let's add D to this list:

Re: DDMD just went green on all platforms for the first time

2015-02-21 Thread Mathias Lang via Digitalmars-d
2015-02-21 15:02 GMT+01:00 Daniel Murphy via Digitalmars-d digitalmars-d@puremagic.com: https://auto-tester.puremagic.com/?projectid=10 This is a pretty big milestone for the project. For the first time, an unpatched dmd can build ddmd, and that ddmd can build druntime and phobos and pass

Re: Probably you can run a D command line app on an android ARM device

2015-04-13 Thread Mathias Lang via Digitalmars-d
2015-04-13 7:57 GMT+02:00 Dicebot via Digitalmars-d digitalmars-d@puremagic.com: On Sunday, 12 April 2015 at 19:03:33 UTC, Laeeth Isharc wrote: BTW - since we have linux on ARM, the following may be useful if you wish to run a D application on your Android mobile device. No ADB or root

Re: Make dub part of the standard dmd distribution

2015-06-02 Thread Mathias Lang via Digitalmars-d
2015-06-01 20:03 GMT+02:00 Johannes Pfau via Digitalmars-d digitalmars-d@puremagic.com: The main problem is we don't have ABI compatibility. This means we can't share the libraries between compilers. So we could make 'import foo' work but linking with -lfoo without manually adjusting linker

Re: New names - 2.068 roundup

2015-06-25 Thread Mathias Lang via Digitalmars-d
2015-06-25 21:28 GMT+02:00 Steven Schveighoffer via Digitalmars-d digitalmars-d@puremagic.com: On 6/24/15 11:12 PM, Steven Schveighoffer wrote: So I actually implemented this. I made it a std.internal type so it can be used wherever you need to port string concatenation to a chain. Seems

Range code and inference errors

2015-06-25 Thread Mathias Lang via Digitalmars-d
Hi everyone, I've been doing quite a lot of range-based code lately and I've been bugged with an UX problem that's IMHO a real bummer for range usage to new users. Take the example code: ``` import std.algorithm; void main() { auto foo = [ foo: foo, bar: bar, foobar: foobar ];

Re: What have you done with UDAs?

2015-06-23 Thread Mathias Lang via Digitalmars-d
I use them all the time in vibe.web.rest. It allows to override the defaults (e.g. by default `getfoo` maps to `GET /foo`): https://github.com/Geod24/vibe.d/blob/ea061223ab96d5acdc004e9369f904c5e25ec8d0/source/vibe/web/rest.d#L60-L66 I actually really, really miss attributed parameters. Obviously

Vote for D - Devdocs.io

2015-06-02 Thread Mathias Lang via Digitalmars-d
Some of you know devdocs.io, an aggregator for docs for developer documentations, as the name suggest. It has support for a lot of popular languages and tools : C, C++, git, Go, PHP, HTML, Ruby, React.js, you name it. I'll let you guess which awesome language isn't supported by devdocs. So,

Re: DUB 0.9.24 beta 2

2015-07-03 Thread Mathias Lang via Digitalmars-d
2015-07-03 7:06 GMT+02:00 Sönke Ludwig digitalmars-d@puremagic.com: It was a close decision, but the implementation is pretty simple and relatively well covered with tests, it shouldn't be an issue. So the only remaining issues would be possible compatibility issues for people not running

Re: DUB 0.9.24 beta 2

2015-07-02 Thread Mathias Lang via Digitalmars-d
Congrats on the work done ! 2015-07-02 22:39 GMT+02:00 Sönke Ludwig digitalmars-d@puremagic.com: The second beta is out now. dub init now creates an SDL package description by default (use --format=json to get a dub.json instead). Honestly, I am really not fan of implementing a feature AND

Re: std.data.json formal review

2015-07-28 Thread Mathias Lang via Digitalmars-d
2015-07-28 17:55 GMT+02:00 Brad Anderson via Digitalmars-d digitalmars-d@puremagic.com: Unless there is some sort of proof that it will work with allocators. I have used the code from vibe.d days so its not an issue of how well it works nor nit picky. Just can I pass it an allocator

Re: Support for 2.064.2

2015-07-12 Thread Mathias Lang via Digitalmars-d
2015-07-12 15:50 GMT+02:00 Iain Buclaw via Digitalmars-d digitalmars-d@puremagic.com: Hi, Out of curiosity, how many projects are still supporting D 2.064.2 compiler/runtime? Granted that this is the version shipped in the current Debian Stable and Ubuntu LTS (which will be supported

Re: dmd 2.068, 2.069, 2.0xx Evil Plan going forward

2015-07-20 Thread Mathias Lang via Digitalmars-d
2015-07-20 22:28 GMT+02:00 Gary Willoughby via Digitalmars-d digitalmars-d@puremagic.com: On Monday, 20 July 2015 at 19:30:36 UTC, Walter Bright wrote: I'm sad that this discussion on Evil Plans has so quickly turned into a deluge of posts bikeshedding a version number. Hardly

Re: DUB RC 0.9.24-rc.1 ready for testing

2015-07-21 Thread Mathias Lang via Digitalmars-d
2015-07-21 15:17 GMT+02:00 Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com: Probably I need to better explain why I think we should try that. It all starts with a high level thought. We want to accelerate D adoption rate way beyond what it is now. Radically, like 10x.

Re: DConf 2014 T-shirt design

2015-11-04 Thread Mathias Lang via Digitalmars-d
On Wednesday, 4 November 2015 at 15:50:43 UTC, Andrei Alexandrescu wrote: The folks at Sociomantic wanted to take a look at the 2014 T-shirt design. Unfortunately that went with my corporate email archive. Does anyone here have it? Some photos of the actual T-shirt would help as well! --

Re: why to (not) support "older" compiler versions

2015-11-04 Thread Mathias Lang via Digitalmars-d
On Tuesday, 3 November 2015 at 08:08:28 UTC, yawniek wrote: i have seen many PR's and also Forum entries that deal with the problem of newer features of the compiler not being able and then patching or working around that to support older compiler versions. since it is really easy to keep up

Re: Will code for master title

2015-10-19 Thread Mathias Lang via Digitalmars-d
2015-10-19 21:20 GMT+02:00 ParticlePeter via Digitalmars-d < digitalmars-d@puremagic.com>: > Hello Community, > > If supervising such a thesis is an interesting, feasible and legal > (university vise) option, please step up. > If you're in Magdeburg, and my German geography is not way off,

Re: I hate new DUB config format

2015-11-27 Thread Mathias Lang via Digitalmars-d
On Wednesday, 25 November 2015 at 10:17:02 UTC, Suliman wrote: I think that using SDL format was big mistake. Not only I do not want to spend time in learning yet another dead config format that now use only one project -- DUB. In time when DUB used json it was not perfect, but at last it was

Dconf.org is (kinda) down

2015-12-04 Thread Mathias Lang via Digitalmars-d
It is not directly accessible through http://dconf.org/index.php Works using http://dconf.org/2016/index.html so it seems to be a PHP problem. Side note: It would be useful to have a mailing list to report urgent issues like this which would forward to the right people. This issue is present

Re: Dub use

2015-12-02 Thread Mathias Lang via Digitalmars-d
2015-12-02 10:53 GMT+01:00 Russel Winder via Digitalmars-d < digitalmars-d@puremagic.com>: > On Tue, 2015-12-01 at 20:38 +0100, Sönke Ludwig via Digitalmars-d > wrote: > > > > What is also possible is to add a "defaultCompiler" field to > > ~/.dub/settings.json to change the default compiler

Re: Dub use

2015-12-01 Thread Mathias Lang via Digitalmars-d
2015-12-01 20:21 GMT+01:00 Russel Winder via Digitalmars-d < digitalmars-d@puremagic.com>: > On Tue, 2015-12-01 at 18:45 +, Brad Anderson via Digitalmars-d > wrote: > > […] > > > > dub --compiler=ldc2 > > Is there an in dub.sdl version of this? > > -- > Russel. > >

Re: DConf keynote speaker ideas

2015-11-22 Thread Mathias Lang via Digitalmars-d
2015-11-17 19:48 GMT+01:00 Andrei Alexandrescu via Digitalmars-d < digitalmars-d@puremagic.com>: > I'm thinking of inviting a notable industry luminary to deliver a > conference keynote. Please reply to this with ideas! -- Andrei > Over the proposed speakers so far, Carmack would be my favorite.

Re: "Good PR" mechanical check

2016-01-12 Thread Mathias Lang via Digitalmars-d
On Tuesday, 12 January 2016 at 13:34:25 UTC, Andrei Alexandrescu wrote: Related to https://github.com/D-Programming-Language/dlang.org/pull/1191: A friend who is in the GNU community told me a while ago they have a mechanical style checker that people can run against their proposed patches

Re: Why does DMD on Debian need xdg-utils

2016-06-02 Thread Mathias Lang via Digitalmars-d
It shouldn't be necessary. I believe that is because of `dmd -man`, which open a web browser. That's an apt-d issue (in hopefully Jordi Sayol will read this) which prevents using this repository if your machine has no X (I guess you discovered that on a server, as I did). 2016-06-02 20:17

Re: I implemented delegates in D

2016-06-09 Thread Mathias Lang via Digitalmars-d
2016-06-10 1:20 GMT+02:00 maik klein via Digitalmars-d < digitalmars-d@puremagic.com>: > But that means that the closure will be allocated on the stack right? What > happens when I send it with > http://dpldocs.info/experimental-docs/std.concurrency.send.html > > Will it copy the function or will

Re: I implemented delegates in D

2016-06-09 Thread Mathias Lang via Digitalmars-d
s-d@puremagic.com>: > On 6/9/16 6:06 PM, Mathias Lang via Digitalmars-d wrote: > >> To avoid the delegate being GC allocated, use `scope foo = (int i) { ... >> }` at call site. >> > > Is that true? At one point in D's past, this ONLY worked if you passed a > delegate t

Re: I implemented delegates in D

2016-06-09 Thread Mathias Lang via Digitalmars-d
To avoid the delegate being GC allocated, use `scope foo = (int i) { ... }` at call site. You can also make your function signature as `void func(scope void delegate() dg)` in which case it won't allocate if you pass a literal directly. 2016-06-09 23:57 GMT+02:00 maik klein via Digitalmars-d <

Re: Killing the comma operator

2016-06-10 Thread Mathias Lang via Digitalmars-d
On Thursday, 12 May 2016 at 10:29:36 UTC, Andrei Alexandrescu wrote: Before we get lost in the discussions, let's act on this by disallowing taking the result of the comma operator. Yes there is potential breakage (via typeof as Timon noted) but it's likely to be minimal. Once we have that in

Re: Non movable structs

2016-06-19 Thread Mathias Lang via Digitalmars-d
Normally, you would need to disable both identity opAssign and postblit and it should work. At the moment, it works for the struct itself, however it breaks when the struct is nested in another one. There are a couple of issues I am currently looking into fixing (after an IRC discussion with

Re: static if enhancement

2016-06-24 Thread Mathias Lang via Digitalmars-d
On Friday, 24 June 2016 at 15:29:18 UTC, Steven Schveighoffer wrote: On 6/24/16 11:24 AM, Andrei Alexandrescu wrote: Does anyone else find this annoying? https://issues.dlang.org/show_bug.cgi?id=16201 -- Andrei Maybe. That bug report does not identify any problems. What happens that's

Re: GDC includes from LDC

2016-01-10 Thread Mathias Lang via Digitalmars-d
Looks like a packaging issue. In Archlinux there is one extra directory level for the compiler (e.g. `/usr/include/dlang//`) to prevent such things. Looking at the file list for both libraries: - GDC: https://packages.debian.org/sid/amd64/libphobos-4.9-dev/filelist - LDC:

Re: An important pull request: accessing shared affix for immutable data

2016-02-13 Thread Mathias Lang via Digitalmars-d
2016-02-12 20:12 GMT+01:00 Andrei Alexandrescu via Digitalmars-d < digitalmars-d@puremagic.com>: > https://github.com/D-Programming-Language/phobos/pull/3991 > The only difference between an approach based on an associative array and > AffixAllocator is that the latter is faster (the association

Re: State of the Compiler

2016-02-29 Thread Mathias Lang via Digitalmars-d
2016-02-29 1:10 GMT+01:00 Walter Bright via Digitalmars-d < digitalmars-d@puremagic.com>: > I'm pretty unhappy with the state of dmd. I think the best that can be > said for it at the moment is that it works. > [...] Any plan for modularization ? Currently we have massive modules living in src,

Re: dub and debian packaging

2016-01-25 Thread Mathias Lang via Digitalmars-d
2016-01-25 18:08 GMT+01:00 ikod via Digitalmars-d < digitalmars-d@puremagic.com>: > Hello > > I'd like to hear any opinions and best practices on coexistence of dub and > debian .deb packaging and deployment. > > Here is my problem: I wrote some small library that use Pegged to parse > and

Re: DIP 88: Simple form of named parameters

2016-01-23 Thread Mathias Lang via Digitalmars-d
2016-01-23 15:19 GMT+01:00 Jacob Carlborg via Digitalmars-d < digitalmars-d@puremagic.com>: > This is mostly to prevent ugly hacks like Flag [1]. > > http://wiki.dlang.org/DIP88 > > [1] https://dlang.org/phobos/std_typecons.html#.Flag > > -- > /Jacob Carlborg > About the rationale: > Supporting

Re: C++17

2016-01-26 Thread Mathias Lang via Digitalmars-d
2016-01-26 22:15 GMT+01:00 rsw0x via Digitalmars-d < digitalmars-d@puremagic.com>: > In any case where you attempt to write code in D that is equal in > performance to C++, you must avoid the GC. > No. There are many places when performances could be optimized. The GC surely can be improved, but

Re: C++17

2016-01-27 Thread Mathias Lang via Digitalmars-d
2016-01-27 9:56 GMT+01:00 rsw0x via Digitalmars-d < digitalmars-d@puremagic.com>: > This is not applicable in a scenario where I want to actually copy the > parameters by value. > It still captures the context, it just allows it to move down the stack. > Then a library solution to do so is

Re: C++17

2016-01-27 Thread Mathias Lang via Digitalmars-d
2016-01-27 8:10 GMT+01:00 rsw0x via Digitalmars-d < digitalmars-d@puremagic.com>: > I have to manually create my own functors to be able to capture variables > by value in lambdas so that they're usable in @nogc. How C++98. > Alias template parameters are again massive hidden abusers of the GC.

Re: Categorization of warnings

2016-03-28 Thread Mathias Lang via Digitalmars-d
On Monday, 28 March 2016 at 16:21:15 UTC, Johan Engelen wrote: I just submitted a PR [1] that catagorizes warnings, such that you can do something like this: dmd -w -Wno-not-reachable which would error on any warning except the "statement not reachable" warnings (it completely disables that

Re: The day before DConf 2016

2016-04-07 Thread Mathias Lang via Digitalmars-d
2016-04-07 22:17 GMT+02:00 Nordlöw via Digitalmars-d < digitalmars-d@puremagic.com>: > Is > > Paul-Lincke-Ufer 39-40, 10999 Berlin, Tyskland > > the correct adress? > Nope. The conference will be held on Karl-Marx Str. 141 ( http://dconf.org/2016/venue.html).

Re: Compile fails, don't know why

2016-03-19 Thread Mathias Lang via Digitalmars-d
On Friday, 18 March 2016 at 10:11:50 UTC, Nafees wrote: On Friday, 18 March 2016 at 10:07:18 UTC, Nafees wrote: I tried to create a separate module for storing classes in, this is the new module module qlib.classes; [...] Plus, the code works if the class is in the same module, and I did

Re: Compile fails, don't know why

2016-03-19 Thread Mathias Lang via Digitalmars-d
On Friday, 18 March 2016 at 10:38:00 UTC, Nafees wrote: On Friday, 18 March 2016 at 10:25:06 UTC, Mathias Lang wrote: On Friday, 18 March 2016 at 10:11:50 UTC, Nafees wrote: On Friday, 18 March 2016 at 10:07:18 UTC, Nafees wrote: I tried to create a separate module for storing classes in,

  1   2   3   >