Re: year to date pull statistics (week ending 2016-05-28)

2016-06-02 Thread Seb via Digitalmars-d
On Thursday, 2 June 2016 at 18:36:02 UTC, Basile B. wrote: On Tuesday, 31 May 2016 at 23:48:00 UTC, Brad Roberts wrote: [...] You should take Jack Stouffer in dlang ;) . Perso I think that in the phobos the problem is that the people who should manage it are not enough available. I am

Re: Phobos needs a (part-time) maintainer

2016-06-02 Thread Seb via Digitalmars-d
On Thursday, 2 June 2016 at 20:17:32 UTC, Andrei Alexandrescu wrote: On 06/02/2016 03:41 PM, Basile B. wrote: Once a pr gets the label "@andrei". It basically means that "it's dead". You mean @andralex? You are right. I am sorry, I'm coming off an unprecedently busy spring spent mostly

Re: Areas of D usage

2016-06-02 Thread Seb via Digitalmars-d
On Thursday, 2 June 2016 at 21:47:13 UTC, qznc wrote: On Thursday, 2 June 2016 at 13:59:13 UTC, Seb wrote: If I left out an area or you miss an application/usage - please let me know! The Javascript JIT Compiler Higgs: https://github.com/higgsjs/Higgs Wow that's a great example! Vibe.d

Let's avoid range specializations - make ranges great again!

2016-06-04 Thread Seb via Digitalmars-d
In Phobos (especially in std.algorithm) a lot of specialization between a RandomAccessRange and an InputRange are used even though only an InputRange is required. The reason for this is solely performance - imho we should start to tackle this and remove such specializations. Let's create

Re: clipboard button to copy selective import from documentation?

2016-06-04 Thread Seb via Digitalmars-d
On Saturday, 4 June 2016 at 16:10:26 UTC, Martin Nowak wrote: I'm finding myself writing a lot of selective imports nowaday, while also browsing the documentation (sometimes even using dman). I though it might be a nice to have a "copy-as-selective-import" button next to the anchor link.

Re: Please update company and job pages on wiki

2016-06-05 Thread Seb via Digitalmars-d
On Thursday, 26 May 2016 at 20:51:03 UTC, Ali Çehreli wrote: (Pinging this thread one last time.) Tripaneer.com is added to both pages. Ali On 05/16/2016 10:24 AM, Ali Çehreli wrote: Companies that use D: https://wiki.dlang.org/Current_D_Use Open D jobs: https://wiki.dlang.org/Jobs

Re: Fixed date to move to ddox for Phobos documentation

2016-06-05 Thread Seb via Digitalmars-d
On Saturday, 4 June 2016 at 19:32:33 UTC, Andrei Alexandrescu wrote: On 6/4/16 2:33 PM, Vladimir Panteleev wrote: [...] Sounds good to me, thanks. Delegation/lieutenantship/empowering for the win. I think we should also secure Martin's buy-in to make sure. -- Andrei Nice idea! Maybe we

Re: Andrei's list of barriers to D adoption

2016-06-07 Thread Seb via Digitalmars-d
On Monday, 6 June 2016 at 21:36:52 UTC, Seb wrote: On Monday, 6 June 2016 at 16:10:29 UTC, bob belcher wrote: Hello, why not a poll, and ask the community that they want first. http://www.rkursem.com/poll/view.php?id=7f7ebc16c280d0c3c Btw current intermediate results: Immature tooling

Re: Optimizations and performance

2016-06-08 Thread Seb via Digitalmars-d
On Wednesday, 8 June 2016 at 22:32:49 UTC, Ola Fosheim Grøstad wrote: On Wednesday, 8 June 2016 at 22:19:47 UTC, Bauss wrote: D definitely needs some optimizations, I mean look at its benchmarks compared to other languages: https://github.com/kostya/benchmarks I believe the first step

Re: Code runtime

2016-06-06 Thread Seb via Digitalmars-d
On Monday, 6 June 2016 at 10:44:10 UTC, Vladimir Panteleev wrote: On Monday, 6 June 2016 at 06:25:19 UTC, Andrei Alexandrescu wrote: * Just looked at std.permutation FWIW, there's also this: https://dlang.org/library/std/algorithm/iteration/permutations.html and mir.combinatorics

Re: The Problem With DIPs

2016-06-07 Thread Seb via Digitalmars-d
On Tuesday, 7 June 2016 at 20:32:54 UTC, Jack Stouffer wrote: On Tuesday, 7 June 2016 at 19:52:40 UTC, Walter Bright wrote: If you want to take charge of writing such a specification DIP, please do so. There's a reason why people resort to talking in the forms rather than write a DIP. It's

Re: [RFC] D Improvement Proposals: Move to git + markdown?

2016-06-07 Thread Seb via Digitalmars-d
On Thursday, 26 May 2016 at 22:05:52 UTC, Seb wrote: On Sunday, 8 May 2016 at 11:39:45 UTC, Nordlöw wrote: I'm in favour of this, Seb. IMO, the pros outweigh the cons. Integrated peer-review is a big win. We already see at our github repos that peer review/help is great, so why not for the

Re: Andrei's list of barriers to D adoption

2016-06-06 Thread Seb via Digitalmars-d
On Monday, 6 June 2016 at 13:53:13 UTC, BigDog wrote: On Monday, 6 June 2016 at 09:12:19 UTC, Ethan Watson wrote: On Monday, 6 June 2016 at 08:00:30 UTC, Laeeth Isharc wrote: D is still ahead of the pack in terms of features. I always think of Jurassic Park, when the D community talks of

Re: Andrei's list of barriers to D adoption

2016-06-06 Thread Seb via Digitalmars-d
On Monday, 6 June 2016 at 16:10:29 UTC, bob belcher wrote: Hello, why not a poll, and ask the community that they want first. http://www.rkursem.com/poll/view.php?id=7f7ebc16c280d0c3c - tiny web library from vibe.d will not be complicated - improve documentation, the same I don't think

Re: Allowing DConf presentations to be spoken in other languages

2016-06-10 Thread Seb via Digitalmars-d
On Friday, 10 June 2016 at 21:31:36 UTC, Jesse Phillips wrote: After this year's DConf I started to wonder if it could be beneficial to provide a slot during the conference where the speaker would do his presentation in a language other than English. I realize that many are like me and would

Re: Improving style of error pages of this website

2016-06-09 Thread Seb via Digitalmars-d
On Thursday, 9 June 2016 at 13:33:43 UTC, Jack Stouffer wrote: On Thursday, 9 June 2016 at 13:10:45 UTC, nbro wrote: 1. Error pages are not styled for the tour (http://tour.dlang.org/). So, for example, if instead of writing the following currently valid URL "http://tour.dlang.org/; I type

Re: Cool D tricks resources?

2016-06-03 Thread Seb via Digitalmars-d
On Saturday, 4 June 2016 at 01:27:46 UTC, Mike Parker wrote: On Saturday, 4 June 2016 at 00:55:33 UTC, Pie? wrote: Has anyone gathered up all the cool tricks one can do in D? There are a ton of things D can do differently that are optimal in some cases but I never remember them. A sort of

Re: Blocking points for further D adoption

2016-06-04 Thread Seb via Digitalmars-d
On Saturday, 4 June 2016 at 13:18:02 UTC, Artem Tarasov wrote: The largest blocking point to me is the community attitude. D constantly wants to 'rule them all' instead of integrating with other language ecosystems. This only recently started to change, but only towards C/C++ and not in the

Re: Cool D tricks resources?

2016-06-04 Thread Seb via Digitalmars-d
On Saturday, 4 June 2016 at 10:02:44 UTC, bob belcher wrote: On Saturday, 4 June 2016 at 03:05:59 UTC, Seb wrote: On Saturday, 4 June 2016 at 01:27:46 UTC, Mike Parker wrote: On Saturday, 4 June 2016 at 00:55:33 UTC, Pie? wrote: Has anyone gathered up all the cool tricks one can do in D?

Re: Does D supports REPL

2016-05-25 Thread Seb via Digitalmars-d
On Wednesday, 25 May 2016 at 18:03:49 UTC, Carl Vogel wrote: It seems to me that both drepl and dabble are unsupported. It's not clear to me which one at this point is a better basis for a stable repl (I kind of prefer drepl, since the code is clearer to me, and I can mostly compile it.) If

Re: The Problem With DIPs

2016-06-10 Thread Seb via Digitalmars-d
On Friday, 10 June 2016 at 14:38:35 UTC, Ola Fosheim Grøstad wrote: On Friday, 10 June 2016 at 10:38:49 UTC, Andrei Alexandrescu wrote: On 6/10/16 9:00 AM, Jacob Carlborg wrote: On 2016-06-09 23:34, Walter Bright wrote: That doesn't stop anyone from commenting on them, offering improvements,

Re: The Problem With DIPs

2016-06-10 Thread Seb via Digitalmars-d
On Friday, 10 June 2016 at 10:38:49 UTC, Andrei Alexandrescu wrote: On 6/10/16 9:00 AM, Jacob Carlborg wrote: On 2016-06-09 23:34, Walter Bright wrote: That doesn't stop anyone from commenting on them, offering improvements, doing some promotion of them, organizing handling them, etc. If

Re: We want to start the 'Programming In D 'in Chinese, do you have any good suggestions?

2016-06-10 Thread Seb via Digitalmars-d
On Friday, 10 June 2016 at 14:26:31 UTC, FrankLike wrote: Hi,everyone: The 'Programming In D' is a good book for new D coders,we want to start it in Chinese, do you have any good suggestions? Thank you. If you want you can also start to translate the DLang Tour (tour.dlang.org). It

Re: Fixed date to move to ddox for Phobos documentation

2016-06-14 Thread Seb via Digitalmars-d
On Tuesday, 14 June 2016 at 01:57:44 UTC, Adam D. Ruppe wrote: (though I personally think comments in documentation should typically be used to just go back and improve the documentation rather than making readers actually wade through the out-of-date and repetitive comment thread...) +1

Re: Dlang homepage (CSS files)

2016-06-14 Thread Seb via Digitalmars-d
On Tuesday, 14 June 2016 at 16:54:12 UTC, Mattcoder wrote: I was taking a look over the network files during the page load, and there are some files that I think it should be integraded in just one file, for example the CSS. Look this network status: http://i.imgur.com/YhKcue5.png The

Fixed date to move to ddox for Phobos documentation

2016-06-04 Thread Seb via Digitalmars-d
More than two and half years ago, Sönke added ddox builds for the Phobos documentation. We all know that there are many reasons for ddox - being able to generate single pages for methods is just one, it also eliminates all the JavaScript hacks (e.g. the quickindex menu, anchors, ...) that we

Copyright for Phobos to D Foundation

2016-05-28 Thread Seb via Digitalmars-d
One thing that confused me a lot in the beginning, is that every Phobos module has it's own copyright - I am not a lawyer, but it sounded for me pretty weird that in theory I could get sued by a lot of Oracle-like patent trolls. I imagine the same effect also for companies when they read a

Re: Copyright for Phobos to D Foundation

2016-05-28 Thread Seb via Digitalmars-d
On Saturday, 28 May 2016 at 18:11:16 UTC, Joseph Rushton Wakeling wrote: Copyright is extremely under-reported for Phobos, in my experience -- authors of significant components of modules do not necessarily add their name to the copyright list or even the author list. Yes that's a huge

Re: Copyright for Phobos to D Foundation

2016-05-28 Thread Seb via Digitalmars-d
On Saturday, 28 May 2016 at 18:39:20 UTC, Joseph Rushton Wakeling wrote: On Saturday, 28 May 2016 at 18:30:03 UTC, Seb wrote: On Saturday, 28 May 2016 at 18:11:16 UTC, Joseph Rushton Wakeling wrote: Copyright is extremely under-reported for Phobos, in my experience -- authors of significant

Re: Transient ranges

2016-05-28 Thread Seb via Digitalmars-d
On Saturday, 28 May 2016 at 19:09:09 UTC, Stefan Koch wrote: On Saturday, 28 May 2016 at 17:27:17 UTC, Joseph Rushton Wakeling wrote: On Saturday, 28 May 2016 at 01:48:08 UTC, Jonathan M Davis wrote: On Friday, May 27, 2016 23:42:24 Seb via Digitalmars-d wrote: So what about the convention

Re: We need to talk about error messages of functions that are passed into other functions at compile time

2016-05-28 Thread Seb via Digitalmars-d
On Saturday, 28 May 2016 at 13:37:55 UTC, maik klein wrote: I really like D's syntax for lambdas and I usually write code like this auto v = validationLayers[].all!((layerName){ return layerProps[].count!((layer){ return strcmp(cast(const(char*))layer.layerName, layerName) == 0;

Transient ranges

2016-05-27 Thread Seb via Digitalmars-d
A couple of weeks ago on the next/shift convenience wrapper discussion [1], there was a nice discussion about transient ranges. It didn't come to a conclusion, so let's revie it. I just cite the best three quotes from the thread as a summary: jmdavis: The reality of the matter is that ranges

Re: The Case Against Autodecode

2016-05-30 Thread Seb via Digitalmars-d
On Monday, 30 May 2016 at 12:59:08 UTC, Adam D. Ruppe wrote: On Monday, 30 May 2016 at 12:45:27 UTC, Andrei Alexandrescu wrote: That's... what I said. -- Andrei You said "not arrays", he said "not ranges". So that just means making the std.range.primitives.popFront and front add a

Re: So, About That Official Blog...

2016-05-30 Thread Seb via Digitalmars-d
On Monday, 9 May 2016 at 12:31:37 UTC, Seb wrote: On Sunday, 8 May 2016 at 20:31:26 UTC, Nick Sabalausky wrote: [...] Guys - KISS! During the time we already spent in this thread, we could have written least five great blog entries! Therefore +1 for static site generators - they keep stuff

Re: The Case Against Autodecode

2016-05-30 Thread Seb via Digitalmars-d
On Monday, 30 May 2016 at 21:39:14 UTC, Vladimir Panteleev wrote: On Monday, 30 May 2016 at 16:34:49 UTC, Jack Stouffer wrote: On Monday, 30 May 2016 at 16:25:20 UTC, Nick Sabalausky wrote: D1 -> D2 was a vastly more disruptive change than getting rid of auto-decoding would be. Don't be so

Re: year to date pull statistics (week ending 2016-05-28)

2016-05-31 Thread Seb via Digitalmars-d
On Tuesday, 31 May 2016 at 23:48:00 UTC, Brad Roberts wrote: total open: 252 created since 2016-01-01 and still open: 106 ... total open: 284 created since 2016-01-01 and still open: 142 Ouch - that's a huge spike! What happened to the idea from dconf to automatically assing PR managers

Re: Split general into multiple threads

2016-05-31 Thread Seb via Digitalmars-d
On Sunday, 29 May 2016 at 11:44:25 UTC, ZombineDev wrote: On Sunday, 29 May 2016 at 11:35:12 UTC, Seb wrote: [...] I like this list better than the current, but with one change: taking LDC out of core and renaming it to LDC and LLVM so other D projects that leverage LLVM can be hosted there

Request for approval: deploying dlang.org on merge

2016-05-26 Thread Seb via Digitalmars-d
Hey, Let me tell you a little story - once there was the amazing Dconf at the beginning of this month (4-6.5). We put a notice about it on dlang.org "DConf 2016 is coming up: May 4-6 in Berlin, Germany. Secure your seat before it's sold out!". It took two weeks, but finally karthikeyan

Re: Request for approval: deploying dlang.org on merge

2016-05-26 Thread Seb via Digitalmars-d
On Thursday, 26 May 2016 at 16:43:20 UTC, Dicebot wrote: On Thursday, 26 May 2016 at 16:38:16 UTC, Andrei Alexandrescu wrote: If Vladimir is okay with auto-deployment I'm okay too. Move fast! The only question is, how do we avoid cases in which a deployment breaks something important? --

Re: Split general into multiple threads

2016-05-27 Thread Seb via Digitalmars-d
On Friday, 27 May 2016 at 09:10:08 UTC, ixid wrote: On Thursday, 26 May 2016 at 17:07:54 UTC, Seb wrote: I think we all agree that general is having to much traffic and according to CyberShadow [1] this again is just an approval issue, however I expect this a bit controversial, so please no

Split general into multiple threads

2016-05-26 Thread Seb via Digitalmars-d
I think we all agree that general is having to much traffic and according to CyberShadow [1] this again is just an approval issue, however I expect this a bit controversial, so please no OT! Only other category proposals. Proposed categories: - DMD - DRuntime - Phobos - Language design (or

Re: Split general into multiple threads

2016-05-26 Thread Seb via Digitalmars-d
On Thursday, 26 May 2016 at 17:45:59 UTC, ag0aep6g wrote: On 05/26/2016 07:07 PM, Seb wrote: Proposed categories: - DMD - DRuntime - Phobos Already there, but not used a lot. Druntime and Phobos are just being spammed by GitHub. I suggest combining the three into one Development group

Re: Our Sister

2016-05-26 Thread Seb via Digitalmars-d
On Thursday, 26 May 2016 at 17:45:15 UTC, Xinok wrote: On Thursday, 26 May 2016 at 16:11:22 UTC, Andrei Alexandrescu wrote: I've been working on RCStr (endearingly pronounced "Our Sister"), D's up-and-coming reference counted string type. The goals are: ... I don't know how practical this

Re: Our Sister

2016-05-27 Thread Seb via Digitalmars-d
On Friday, 27 May 2016 at 21:25:50 UTC, Andrei Alexandrescu wrote: On 05/27/2016 05:02 PM, Era Scarecrow wrote: With the current state of things, I'll just take your word on it. Reasoning is simple - yes we could safely convert to const(char)[] but that means effectively all refcounting is

Re: mir.random - my GSoC project

2016-06-02 Thread Seb via Digitalmars-d
On Thursday, 2 June 2016 at 10:56:36 UTC, Martin Nowak wrote: On 04/23/2016 04:17 PM, Seb wrote: This project is about adding non-uniform random generators to mir and hopefully eventually to Phobos. I just happen to need a gaussian random number generator right now. Is there already some WIP

Areas of D usage

2016-06-02 Thread Seb via Digitalmars-d
Instead of investing a lot of time in the auto-decoding bike-sheding discussion, how about helping out? Take five minutes to read through this upcoming PR [2, 3] of areas of D usage. Anyone can help - no coding skills required ;-) As the first five minutes matter, I thought it would be nice

Blocking points for further D adoption

2016-06-02 Thread Seb via Digitalmars-d
I don't see it the same way. Yes, I agree my opinion is not representative. I'd also say I'm glad I can do something about this. Moved Andrei's post (http://forum.dlang.org/post/nipb14$ldb$1...@digitalmars.com) to a new thread. [...] Meanwhile, I go to conferences. Train and consult at

Re: Broken links continue to exist on major pages on dlang.org

2016-06-02 Thread Seb via Digitalmars-d
On Thursday, 2 June 2016 at 18:24:30 UTC, Andrei Alexandrescu wrote: The first D-related hit on searching for std.algorithm on Google is https://dlang.org/library/std/algorithm.html. That is the 255th most accessed file on dlang.org (including the .ico, css, .js etc many of which are

Re: Split general into multiple threads

2016-05-26 Thread Seb via Digitalmars-d
On Thursday, 26 May 2016 at 21:17:18 UTC, jmh530 wrote: On Thursday, 26 May 2016 at 20:27:25 UTC, Jonathan M Davis wrote: It may be that we want to create another list or two for some specific stuff, but trying to split stuff across a bunch of groups is going to cause its own problems. We

Re: Split general into multiple threads

2016-05-26 Thread Seb via Digitalmars-d
On Thursday, 26 May 2016 at 21:51:51 UTC, qznc wrote: On Thursday, 26 May 2016 at 17:07:54 UTC, Seb wrote: I think we all agree that general is having to much traffic and according to CyberShadow [1] this again is just an approval issue, however I expect this a bit controversial, so please no

Re: Split general into multiple threads

2016-05-26 Thread Seb via Digitalmars-d
On Thursday, 26 May 2016 at 23:03:46 UTC, Joakim wrote: On Thursday, 26 May 2016 at 21:45:56 UTC, Seb wrote: On Thursday, 26 May 2016 at 21:17:18 UTC, jmh530 wrote: On Thursday, 26 May 2016 at 20:27:25 UTC, Jonathan M Davis wrote: [...] I suggest renaming Learn to be Learn/Help. Wow

Re: [RFC] D Improvement Proposals: Move to git + markdown?

2016-05-26 Thread Seb via Digitalmars-d
On Sunday, 8 May 2016 at 11:39:45 UTC, Nordlöw wrote: I'm in favour of this, Seb. IMO, the pros outweigh the cons. Integrated peer-review is a big win. We already see at our github repos that peer review/help is great, so why not for the DIPs?

Re: Our Sister

2016-05-26 Thread Seb via Digitalmars-d
On Thursday, 26 May 2016 at 21:42:31 UTC, jmh530 wrote: On Thursday, 26 May 2016 at 20:24:10 UTC, Andrei Alexandrescu wrote: On 05/26/2016 02:44 PM, Seb wrote: If you want RCStr to be adapted it has to be a drop-in replacement for string. With all the criticism leveled against string, I

Re: Idea: swap with multiple arguments

2016-05-26 Thread Seb via Digitalmars-d
On Thursday, 26 May 2016 at 02:17:20 UTC, Observer wrote: On Wednesday, 25 May 2016 at 17:08:02 UTC, Martin Tschierschke wrote: A newbee question about language design: When I looked first time at Ruby I liked the simple a,b = b,a syntax, so swap. Would it be theoretically possible to allow

Re: Friends of Rust

2016-05-26 Thread Seb via Digitalmars-d
On Sunday, 1 May 2016 at 17:11:17 UTC, Seb wrote: On Sunday, 1 May 2016 at 16:26:55 UTC, Seb wrote: So which companies could be "friends of D"? I just found this wiki site - https://wiki.dlang.org/Current_D_Use -> apparently it's a bit hidden, so let's get this to as "friends of D" to

Re: Friends of Rust

2016-05-26 Thread Seb via Digitalmars-d
On Friday, 27 May 2016 at 01:51:24 UTC, Laeeth Isharc wrote: On Friday, 27 May 2016 at 00:55:34 UTC, Seb wrote: [...] That's great - looks really good and gets the message across clearly. I don't know, but one might need to check with the organisations involved before using their logo.

Re: Dealing with Autodecode

2016-06-01 Thread Seb via Digitalmars-d
On Wednesday, 1 June 2016 at 11:42:06 UTC, Seb wrote: On Wednesday, 1 June 2016 at 02:39:55 UTC, Nick Sabalausky wrote: On 05/31/2016 09:36 PM, Adam D. Ruppe wrote: version(string_migration) deprecated void popFront(T)(ref T t) if(isSomeString!T) { static assert(0, "this is crap, fix your

Re: Dealing with Autodecode

2016-06-01 Thread Seb via Digitalmars-d
On Wednesday, 1 June 2016 at 02:39:55 UTC, Nick Sabalausky wrote: On 05/31/2016 09:36 PM, Adam D. Ruppe wrote: version(string_migration) deprecated void popFront(T)(ref T t) if(isSomeString!T) { static assert(0, "this is crap, fix your code."); } else deprecated("use

Re: faster splitter

2016-06-01 Thread Seb via Digitalmars-d
On Wednesday, 1 June 2016 at 12:14:07 UTC, Patrick Schluter wrote: On Tuesday, 31 May 2016 at 17:54:34 UTC, qznc wrote: There is a special version of find for searching a single char in a string. Using a one-letter needle string is more like a user mistake than something to optimize for. At

Re: The Case Against Autodecode

2016-05-31 Thread Seb via Digitalmars-d
On Tuesday, 31 May 2016 at 13:33:14 UTC, Marc Schütz wrote: On Monday, 30 May 2016 at 21:51:36 UTC, Walter Bright wrote: [...] So, strings are _implemented_ as arrays of code units. But indiscriminately treating them as such in all situations leads to wrong results (just like arrays of code

Re: Split general into multiple threads

2016-05-29 Thread Seb via Digitalmars-d
On Sunday, 29 May 2016 at 11:28:05 UTC, Dicebot wrote: On 05/26/2016 08:07 PM, Seb wrote: I think we all agree that general is having to much traffic and according to CyberShadow [1] this again is just an approval issue, however I expect this a bit controversial, so please no OT! Only other

Re: Copyright for Phobos to D Foundation

2016-05-29 Thread Seb via Digitalmars-d
On Sunday, 29 May 2016 at 11:10:16 UTC, Dicebot wrote: On 05/28/2016 08:50 PM, Seb wrote: One thing that confused me a lot in the beginning, is that every Phobos module has it's own copyright - I am not a lawyer, but it sounded for me pretty weird that in theory I could get sued by a lot of

Re: Transient ranges

2016-05-29 Thread Seb via Digitalmars-d
On Sunday, 29 May 2016 at 11:28:11 UTC, ZombineDev wrote: On Sunday, 29 May 2016 at 11:15:19 UTC, Dicebot wrote: On 05/28/2016 08:27 PM, Joseph Rushton Wakeling wrote: On Saturday, 28 May 2016 at 01:48:08 UTC, Jonathan M Davis wrote: On Friday, May 27, 2016 23:42:24 Seb via Digitalmars-d

Re: Transient ranges

2016-05-29 Thread Seb via Digitalmars-d
On Sunday, 29 May 2016 at 15:45:14 UTC, Joseph Rushton Wakeling wrote: On Sunday, 29 May 2016 at 11:28:11 UTC, ZombineDev wrote: On Sunday, 29 May 2016 at 11:15:19 UTC, Dicebot wrote: I would prefer such ranges to not have `front` and return new item from `popFront` instead but yes, I would

Re: A technique to mock "static interfaces" (e.g. isInputRange)

2016-05-29 Thread Seb via Digitalmars-d
On Sunday, 29 May 2016 at 22:20:05 UTC, Era Scarecrow wrote: On Thursday, 26 May 2016 at 09:40:26 UTC, Atila Neves wrote: On Wednesday, 25 May 2016 at 21:52:37 UTC, Alex Parrill wrote: Have you looked at std.typecons.AutoImplement at all? I'd never seen it before, thanks! I recall adding

Re: Proposed Enhancement: Deprecate std.conv.text With 0 Arguments

2016-06-22 Thread Seb via Digitalmars-d
On Wednesday, 22 June 2016 at 15:39:11 UTC, Meta wrote: This is a small but annoying problem: std.conv.text is defined like this: [...] Imho that's a great idea! I don't see any problem in deprecating it as std.conv.text with 0 arguments is clearly unintended behavior. Hence I would call

Re: Areas of D usage

2016-06-15 Thread Seb via Digitalmars-d
On Thursday, 2 June 2016 at 23:57:55 UTC, jmh530 wrote: On Thursday, 2 June 2016 at 21:47:13 UTC, qznc wrote: On Thursday, 2 June 2016 at 13:59:13 UTC, Seb wrote: If I left out an area or you miss an application/usage - please let me know! The Javascript JIT Compiler Higgs:

FYI Command-line reference documentation on dlang.org (dmd.html) recognizes your platform

2016-06-14 Thread Seb via Digitalmars-d
Since a couple of days dlang.org got a bit smarter and recognizes your platform for the according command-line reference. As many didn't notice, I thought I write a quick notice. Essentially it's a small change on the long road to make D more user-friendly (first five mins!), that just

Re: [RFC] List of contributors per module

2016-06-14 Thread Seb via Digitalmars-d
On Wednesday, 25 May 2016 at 06:51:45 UTC, Walter Bright wrote: On 5/24/2016 12:22 PM, Seb wrote: I recently made a PR to dlang.org which is aimed to show a list of all contributors to a Phobos module based on the git history. The idea is to give all the awesome people who have helped and

std.experimental.randomized_unittest_benchmark is ready for comments

2016-06-19 Thread Seb via Digitalmars-d
Optimizing for performance is one of the major challenges for Phobos and user libraries in the next month and years. As an example of the benefits, have a look at the recent blog post about find [1]. Robert burner Schadek has proposed std.experimental.randomized_unittest_benchmark over a

Re: Articles/Doc repo on Official dlang github

2016-06-15 Thread Seb via Digitalmars-d
On Wednesday, 15 June 2016 at 19:34:13 UTC, dewitt wrote: On Wednesday, 15 June 2016 at 18:20:19 UTC, Steven Schveighoffer wrote: On 6/15/16 1:51 PM, dewitt wrote: I don't know if this has been asked before and I am too lazy to search. Has anyone brought up the idea of adding a repo to the

Re: Please rid me of this goto

2016-06-23 Thread Seb via Digitalmars-d
On Thursday, 23 June 2016 at 18:05:07 UTC, Andrei Alexandrescu wrote: On 06/23/2016 01:34 PM, H. S. Teoh via Digitalmars-d wrote: I don't understand why that goto is necessary. Eh, thank you all who set me straight! I've been in my head for too long. So where is the current implementation of

Let's make the DLang Tour an awesome landing page for D newbies

2016-06-23 Thread Seb via Digitalmars-d
Let me start with the good news: since the DLang Tour was launched by André last month, we had about 3K unique visitors and continuously have between 100-200 visitors per day. However here are the bad news: We loose about 40% of all visitors directly on the front page and we loose the

Re: Areas of D usage

2016-06-17 Thread Seb via Digitalmars-d
Thanks again for your feedback. In general, do you know about the "Improve this page" button on top right? It's a very convenient & fast way to directly fix smaller nitpicks ;-) @crimaniak As engineer I don't like gears in the 'Embedded applications' paragraph: they are not match.

Re: Please rid me of this goto

2016-06-23 Thread Seb via Digitalmars-d
On Thursday, 23 June 2016 at 21:03:08 UTC, Andrei Alexandrescu wrote: On 06/23/2016 02:37 PM, Seb wrote: On Thursday, 23 June 2016 at 18:05:07 UTC, Andrei Alexandrescu wrote: On 06/23/2016 01:34 PM, H. S. Teoh via Digitalmars-d wrote: I don't understand why that goto is necessary. Eh, thank

Using DList with capacity constraint (aka circular buffer)?

2016-02-24 Thread Seb via Digitalmars-d
Hey all, this is yet another post about phobos (missing) data structures ;-) I know this has been discussed quite a bit - [1,2,3] to name a few. While it would be nice to have those "trivially to implement" wrappers for some common use cases (map, unordered map, set, multiset, ...) [1],

Re: std.range.chunks with only an InputRange

2016-03-14 Thread Seb via Digitalmars-d
On Monday, 14 March 2016 at 17:38:45 UTC, Tamas wrote: I just run into this. Would be nice to have this! There's no reason why chunks should only work on ForwardRanges. I opened a PR for this: https://github.com/D-Programming-Language/phobos/pull/4060 However I guess a proper library solution

Re: dlang.org makefile pains

2016-03-15 Thread Seb via Digitalmars-d
On Tuesday, 15 March 2016 at 11:15:12 UTC, Jakob Ovrum wrote: I used to contribute to dlang.org now and then before the makefile revamp. Now every time I try, I end up fighting with the makefile. make -f posix.mak apidocs-serve LATEST=2.070.2 <-- place in the command line to skip network

Up-to-date DIPs list

2016-03-12 Thread Seb via Digitalmars-d
Hey all, tl;dr: D's DIPs seem not maintained. A couple of ideas are proposed to tackle this state. I really like the List of D Improvement Proposals (http://wiki.dlang.org/DIPs), however it seems to me that they are lacking a maintainer. Let me briefly state what I found: 1) Many DIPs

Re: spam

2016-03-30 Thread Seb via Digitalmars-d
On Wednesday, 30 March 2016 at 19:14:11 UTC, Walter Bright wrote: On 3/30/2016 4:09 AM, Seb wrote: Is it a big step to only allow registered email addresses or users to post? When replying to spam or other garbage, please do not quote it, as then you're propagating it further. I usually

Re: The day before DConf 2016

2016-04-08 Thread Seb via Digitalmars-d
On Friday, 8 April 2016 at 19:02:18 UTC, Walter Bright wrote: On 4/8/2016 5:21 AM, Mithun Hunsur wrote: What's the easiest way of getting from the airport to Ibis, and from Ibis to DConf? I have no idea, but I'm giving Uber a chance. I am afraid, but there is no Uber in Germany. The only

On the origins of github.com/D-Programming-Language

2016-04-08 Thread Seb via Digitalmars-d
Hei, I just wanted to ask a short question - why did you pick such a long github namespace? Having something short is easier to remember, shorter to type, better visible and often recognized as more important (that's how our brains work). Another good example is that since github started to

Re: On the origins of github.com/D-Programming-Language

2016-04-12 Thread Seb via Digitalmars-d
On Saturday, 9 April 2016 at 21:44:11 UTC, Walter Bright wrote: I'm willing to go forward with that if there's a swell of support for it. But for consistency's sake it should be dlang, not d-lang. Before we start this discussion, we should make sure we actually can do it. dlang is used by

Re: On the origins of github.com/D-Programming-Language

2016-04-09 Thread Seb via Digitalmars-d
On Saturday, 9 April 2016 at 03:48:27 UTC, Walter Bright wrote: On 4/8/2016 5:06 PM, Brad Anderson wrote: By "back then" I mean in 2011[1]. The original domain was d-programming-language.org and having the github organization match made sense.

Re: Will D support WebAssembly?

2016-03-19 Thread Seb via Digitalmars-d
On Thursday, 17 March 2016 at 02:10:08 UTC, Dsby wrote: Chrome Canary、Firefox Nightly and Microsoft Edge can use WebAssembly。 WebAssembly : https://en.wikipedia.org/wiki/WebAssembly It should be possible with ldc (WebAssembly supports llvm) - there has already been some discussion before

Re: Up-to-date DIPs list

2016-03-20 Thread Seb via Digitalmars-d
On Thursday, 17 March 2016 at 10:11:14 UTC, Martin Tschierschke wrote: But you need both, the possibility to vote and an overview of threads and post with highest votes. Don't be offended, but I think we are a bit off-topic here - my suggestions were about better ways to manage DIPs. What

Better Phobos contribution guide

2016-03-25 Thread Seb via Digitalmars-d
Hey all, I started to put down a list of the stuff I learned over the past few weeks from my involvement with Phobos. What do you think about reworking the contribution guide with small helpful hints and checks? https://github.com/D-Programming-Language/phobos/blob/master/CONTRIBUTING.md

Policy for exposing range structs

2016-03-25 Thread Seb via Digitalmars-d
If I understand it correctly, the current policy in Phobos is that range methods should use static nested structs to avoid the name clutter and document the capabilities of the returned ranges in the documentation. However there are a lot of old functions that still use public structs, which

Re: emit: generalizes map, filter, joiner [proposal + implementation]

2016-03-21 Thread Seb via Digitalmars-d
On Monday, 21 March 2016 at 11:35:49 UTC, Timothee Cour wrote: assert(9.iota.emit!(int,(put,a){if(a%2) put(a*a);}).equal([1, 9, 25, 49])) Could you try to point out whats wrong with map & filter? assert(9.iota.filter!"a%2".map!"a*a".equal([1, 9, 25, 49])

Re: GSoC 2016 "GDC Project - The GNU D Compiler" project

2016-03-07 Thread Seb via Digitalmars-d
On Monday, 7 March 2016 at 12:46:51 UTC, Abhishek Kumar wrote: Hello While looking into D language I found few Phobos standard libraries very interesting to work upon during GSoC.I will like to work on std.i18n or xml parsing libraries.I looked into Phobos github repositories but there's no

Re: Waste of computing resources in pull requests that only change the ddoc

2016-03-04 Thread Seb via Digitalmars-d
On Friday, 4 March 2016 at 09:03:43 UTC, BBasile wrote: I don't know If it's a known problem but auto tester resources are lost by PR that only change or add DDOC comments. For example whole dmd+runtime+phobos can be rebuild 3 times per day on 8 machines while it's not necessary. I

Re: State of the Compiler

2016-03-04 Thread Seb via Digitalmars-d
On Thursday, 3 March 2016 at 00:21:48 UTC, Jack Stouffer wrote: On Wednesday, 2 March 2016 at 22:12:11 UTC, Jonathan M Davis wrote: Maybe the wiki should have pages for dmd and Phobos (and possible druntime) with stuff like this which indicates what you'd prefer that folks do. I'd think that

std.range.chunks with only an InputRange

2016-03-04 Thread Seb via Digitalmars-d
tl;dr: It would be nice if `chunks` would accept only an InputRange too. Let me show you a common pattern that I often use: We want to iterate over two lines in a pair and compute the difference between them, e.g. ``` 1 2 2 3 ``` => 2 stdin.byLine.map!(x => x.split('

Re: Good project: stride() with constant stride value

2016-03-05 Thread Seb via Digitalmars-d
On Saturday, 5 March 2016 at 13:15:46 UTC, Andrei Alexandrescu wrote: On 03/04/2016 11:34 PM, Jonathan M Davis wrote: This makes me wonder if something like iota would benefit from a similar optimization. Certainly. -- Andrei I haven't done much with CTFE yet, but how would one get the

Named arguments via struct initialization in functions

2016-03-06 Thread Seb via Digitalmars-d
Hey all, I wanted to relive the discussion on named arguments and ping for its current status. There is a bunch of examples to show how needed a unified solution for this problem is, let me give you one from phobos [2]. ``` // I want to allow downsizing

Improve contributor experience and PR backlog

2016-03-06 Thread Seb via Digitalmars-d
Hey all, I came by a couple of old PRs lately and while it's amusing that people like @JackStouffer celebrate their PR anniversaries, it's a bit sad for such an amazing project. By looking at those old PRs there is a common pattern - someone had a great idea for a feature, idea or fix and

Re: Pitching D to academia

2016-03-06 Thread Seb via Digitalmars-d
On Sunday, 6 March 2016 at 07:38:01 UTC, Ali Çehreli wrote: Motivated by Dmitry's "Pitching D to a gang of Gophers" thread, how about pitching it to a gang of professors and graduate students? If you want D to flourish, you should _really_ focus on this. Many CS students usually learn only

Why don't you use the Github issue system?

2016-03-02 Thread Seb via Digitalmars-d
Hey, I am just curious whether you have already considered moving from Bugzilla to the Github issue system and where your current opinion is. Con: - Bugzilla is working fine - More than five years of history - Github doesn't have voting yet (it's supposed to come soon) Pro: - Unified issue

Re: Why don't you use the Github issue system?

2016-03-02 Thread Seb via Digitalmars-d
On Thursday, 3 March 2016 at 00:27:39 UTC, Walter Bright wrote: On 3/2/2016 3:59 PM, Seb wrote: I am just curious whether you have already considered moving from Bugzilla to the Github issue system and where your current opinion is. 1. Bugzilla is working famously for us. 2. I've had

Re: Good project: stride() with constant stride value

2016-03-04 Thread Seb via Digitalmars-d
On Friday, 4 March 2016 at 16:45:42 UTC, Andrei Alexandrescu wrote: Currently we have a very useful stride() function that allows spanning a random access range with a specified step, e.g. 0, 3, 6, 9, ... for step 3. I've run some measurements recently and it turns out a compile-time-known

  1   2   3   4   5   6   7   8   9   10   >