Re: Who maintains the D website?

2017-08-02 Thread Andrej Mitrovic via Digitalmars-d
On Thursday, 3 August 2017 at 00:48:41 UTC, Andrej Mitrovic wrote: On Thursday, 3 August 2017 at 00:26:31 UTC, Moritz Maxeiner wrote: On Thursday, 3 August 2017 at 00:18:38 UTC, Andrej Mitrovic wrote: Is there a single person who's the main maintainer of the D website..? If not, I have some

Re: Who maintains the D website?

2017-08-02 Thread Andrej Mitrovic via Digitalmars-d
On Thursday, 3 August 2017 at 00:26:31 UTC, Moritz Maxeiner wrote: On Thursday, 3 August 2017 at 00:18:38 UTC, Andrej Mitrovic wrote: Is there a single person who's the main maintainer of the D website..? If not, I have some ideas on how to improve it. Not just ideas, I'd like to give a host

Re: Who maintains the D website?

2017-08-02 Thread Andrej Mitrovic via Digitalmars-d
On Thursday, 3 August 2017 at 00:18:38 UTC, Andrej Mitrovic wrote: Is there a single person who's the main maintainer of the D website..? If not, I have some ideas on how to improve it. Not just ideas, I'd like to give a host at improving it myself, really. Sorry that was a weird typo. I me

Who maintains the D website?

2017-08-02 Thread Andrej Mitrovic via Digitalmars-d
Is there a single person who's the main maintainer of the D website..? If not, I have some ideas on how to improve it. Not just ideas, I'd like to give a host at improving it myself, really.

Re: DIP 1004 Preliminary Review Round 1

2017-05-08 Thread Andrej Mitrovic via Digitalmars-d
On Monday, 1 May 2017 at 14:55:28 UTC, Mike Parker wrote: DIP 1004 is titled "Inherited Constructors. Mike, given the general feedback I've received here, I think the next best take of action is to split the implicit inheritance proposal into a separate, smaller DIP, and update DIP 1004 with

Re: DIP 1004 Preliminary Review Round 1

2017-05-03 Thread Andrej Mitrovic via Digitalmars-d
On Wednesday, 3 May 2017 at 12:58:17 UTC, Daniel N wrote: The trick is that your child class need to have defined at least 1 constructor before the alias. This should work: this() {} alias __ctor = super.__ctor; This will give the error message you saw: alias __ctor = super.__ctor; this() {}

Re: DIP 1004 Preliminary Review Round 1

2017-05-03 Thread Andrej Mitrovic via Digitalmars-d
On Wednesday, 3 May 2017 at 09:13:54 UTC, Daniel N wrote: However I oppose the other part of the DIP since it's already possible today. class FileException : Exception { this(ErrorCode error_code, string file = __FILE__, uint line = __LINE__ ) { super("FileNotFound", file, lin

Re: DIP 1004 Preliminary Review Round 1

2017-05-02 Thread Andrej Mitrovic via Digitalmars-d
On Tuesday, 2 May 2017 at 09:03:27 UTC, deadalnix wrote: 100% in favor of the constructor behavior change in case no constructor is in the derived class. I think we could even split this up into two separate proposals, because this part of the DIP is fairly non-controversial and could be appr

Re: DIP 1004 Preliminary Review Round 1

2017-05-01 Thread Andrej Mitrovic via Digitalmars-d
On Monday, 1 May 2017 at 19:02:11 UTC, H. S. Teoh wrote: 1) Suppose my base class has 3 ctors, and I only want my derived class to inherit 1 of them. Does this DIP allow for that? Initially when designing the DIP I haven't thought about this use-case, but I've had more thought put into it rec

Re: DIP 1004 Preliminary Review Round 1

2017-05-01 Thread Andrej Mitrovic via Digitalmars-d
On Monday, 1 May 2017 at 18:34:43 UTC, H. S. Teoh wrote: so the fact that they now have different syntaxes was seen as an advantage. Yeah, I remember that decision. I don't think I've ever agreed with it, though. :o) We'll see.. I don't personally find it very important, I'm fine with eithe

Re: DIP 1004 Preliminary Review Round 1

2017-05-01 Thread Andrej Mitrovic via Digitalmars-d
On Monday, 1 May 2017 at 15:33:47 UTC, Basile B. wrote: On Monday, 1 May 2017 at 14:55:28 UTC, Mike Parker wrote: DIP 1004 is titled "Inherited Constructors. [...] All review-related feedback on and discussion of the DIP should occur in this thread. [...] Destroy! An obvious omission in the

Re: DConf 2017 Berlin - Streaming ?

2017-04-29 Thread Andrej Mitrovic via Digitalmars-d
On Saturday, 29 April 2017 at 17:58:15 UTC, Joakim wrote: Any update on the stream this year, for those of us planning to watch the talks remotely? The last bit of news I've received is they will be streamed on youtube this time.

Re: DIP 1005 - Preliminary Review Round 1

2017-04-23 Thread Andrej Mitrovic via Digitalmars-d
On Sunday, 23 April 2017 at 16:39:35 UTC, deadalnix wrote: It's just one per module. Templates are only instantiated once per new set of arguments. There may be some gain here, but I doubt this is worth adding a new language feature. Ah, good point. Though there's still merit to this DIP such

Re: DIP 1005 - Preliminary Review Round 1

2017-04-23 Thread Andrej Mitrovic via Digitalmars-d
On Sunday, 23 April 2017 at 12:03:47 UTC, Andrei Alexandrescu wrote: Mostly out of a sense of conformity. We asked Michael to give no special treatment of DIPs originating from us, and this one was open, so he put it up for review. It is likely it will end up rejected in favor of https://githu

Re: DIP 1005 - Preliminary Review Round 1

2017-04-22 Thread Andrej Mitrovic via Digitalmars-d
On Saturday, 22 April 2017 at 16:14:29 UTC, Timon Gehr wrote: Please reconsider. This is new syntax. It looks like old syntax but behaves differently. I suppose the biggest issue is: - module mod; import std.stdio; struct A { ~this ( ) { writeln("dtor"); } } - - module test;

Re: DIP 1005 - Preliminary Review Round 1

2017-04-22 Thread Andrej Mitrovic via Digitalmars-d
On Saturday, 22 April 2017 at 11:54:08 UTC, Mike Parker wrote: https://github.com/dlang/DIPs/blob/master/DIPs/DIP1005.md Very solid DIP! And I like the use of `with` and it's proposed extension to be allowed in declarations, rather than introducing new syntax.

Re: DIP 1005 - Preliminary Review Round 1

2017-04-22 Thread Andrej Mitrovic via Digitalmars-d
On Saturday, 22 April 2017 at 11:54:08 UTC, Mike Parker wrote: https://github.com/dlang/DIPs/blob/master/DIPs/DIP1005.md with (Type) and with (TemplateInstance) are always declarations and do not introduce a new scope. Does that mean we can now do things like this?: - module m; struct A

Re: Google is apparently now better at searching programming-related questions

2017-03-03 Thread Andrej Mitrovic via Digitalmars-d
On Friday, 3 March 2017 at 07:51:06 UTC, Ola Fosheim Grøstad wrote: I get those same results when using my regular browser, but when using another browser I get "ad lib" etc, nothing about programming. You may be right. :) I mistakenly thought the lack of cookies would be enough to get clean

Google is apparently now better at searching programming-related questions

2017-03-02 Thread Andrej Mitrovic via Digitalmars-d
https://9to5google.com/2017/03/02/google-search-technical-queries-programming-languages/ I just used a private session and opened google, searched for "d libs" and the first three results were the DWiki and a Github project, https://wiki.dlang.org/Libraries_and_Frameworks, https://wiki.dlang.o

Re: DIP10005: Dependency-Carrying Declarations is now available for community feedback

2016-12-15 Thread Andrej Mitrovic via Digitalmars-d
On Thursday, 15 December 2016 at 17:07:35 UTC, Dominikus Dittes Scherkl wrote: On Thursday, 15 December 2016 at 16:16:51 UTC, Walter Bright wrote: On 12/14/2016 5:26 AM, Dominikus Dittes Scherkl wrote: Why not leave it as it is and only change the compiler to perform inputs _within_ a function

Re: DIP10005: Dependency-Carrying Declarations is now available for community feedback

2016-12-14 Thread Andrej Mitrovic via Digitalmars-d
On Thursday, 15 December 2016 at 00:44:02 UTC, Andrej Mitrovic wrote: On Wednesday, 14 December 2016 at 23:38:19 UTC, Timon Gehr wrote: On 15.12.2016 00:17, Andrej Mitrovic wrote: ubyte[] readSomeBytes ( ) { return read(1024); } It's a non-trivial exercise for the reader to understand wh

Re: DIP10005: Dependency-Carrying Declarations is now available for community feedback

2016-12-14 Thread Andrej Mitrovic via Digitalmars-d
On Wednesday, 14 December 2016 at 23:38:19 UTC, Timon Gehr wrote: On 15.12.2016 00:17, Andrej Mitrovic wrote: ubyte[] readSomeBytes ( ) { return read(1024); } It's a non-trivial exercise for the reader to understand where the `read` symbol is coming from. pragma(msg,fullyQualifiedName!

Re: DIP10005: Dependency-Carrying Declarations is now available for community feedback

2016-12-14 Thread Andrej Mitrovic via Digitalmars-d
On Wednesday, 14 December 2016 at 22:55:26 UTC, Andrei Alexandrescu wrote: Made a pass through the document integrating a lot of feedback and fleshing the proposal better: https://github.com/andralex/DIPs/blob/155ff59984b26749af7830aeb172d3af2dae8cd7/DIPs/DIP1005.md https://github.com/dlang/DI

Re: DIP10005: Dependency-Carrying Declarations is now available for community feedback

2016-12-14 Thread Andrej Mitrovic via Digitalmars-d
On Wednesday, 14 December 2016 at 17:09:44 UTC, ketmar wrote: bool equal(R1, R2) : std.range, std.traits if (isInputRange!R1 && isInputRange!R2 && isArray!R2) { ... } breaks possible selective import. if both modules exports some symbol, we will need to selectively import and/or rename it. N

Re: DIP10005: Dependency-Carrying Declarations is now available for community feedback

2016-12-14 Thread Andrej Mitrovic via Digitalmars-d
On Tuesday, 13 December 2016 at 22:33:24 UTC, Andrei Alexandrescu wrote: Destroy. https://github.com/dlang/DIPs/pull/51/files Andrei How about: bool equal(R1, R2) : std.range if (isInputRange!R1 && isInputRange!R2) { ... } It's nice and concise, and you could in theory also allow multiple

Re: If Statement with Declaration

2016-11-04 Thread Andrej Mitrovic via Digitalmars-d
On Thursday, 3 November 2016 at 22:29:34 UTC, Jerry wrote: So I was thinking of a way of extending if statements that have declarations. The following being as example of the current use of if statements with declarations: if(int* weDontPollute = someFunc()) { // use weDontP

Re: Examples Wanted: Usages of "body" as a Symbol Name

2016-10-05 Thread Andrej Mitrovic via Digitalmars-d
On Wednesday, 5 October 2016 at 02:11:14 UTC, Meta wrote: I'm currently writing up a DIP to propose removing `body` as a keyword to allow it to be used for variable names, functions, etc. I'm looking for examples and contexts where `body` would normally be used as a variable, function name, ali

Re: Cannot access template name from within template

2016-10-04 Thread Andrej Mitrovic via Digitalmars-d
On Tuesday, 4 October 2016 at 22:43:21 UTC, Andrei Alexandrescu wrote: On 10/04/2016 06:03 PM, Andrej Mitrovic wrote: template TemplateOf(T) Have you forgotten you submitted this to phobos? :o) -- Andrei I forgot about that template. But that wasn't me: https://github.com/dlang/phobos/pull/

Re: Cannot access template name from within template

2016-10-04 Thread Andrej Mitrovic via Digitalmars-d
On Monday, 3 October 2016 at 22:28:46 UTC, Andrei Alexandrescu wrote: Any known workaround? If you're ok with the hacky approach: - import std.algorithm; import std.conv; /// these are in std.traits but private for whatever reason alias Identity(alias A) = A; alias parentOf(alias sym) = I

Re: Ah, simple solution to unittests inside templates

2016-09-18 Thread Andrej Mitrovic via Digitalmars-d
On Sunday, 18 September 2016 at 12:02:47 UTC, Andrei Alexandrescu wrote: That suggests the unittest shall be evaluated during compilation. -- Andrei Nah, static is already quite overloaded and needs context to understand what it does. For example module constructors. Anyway compiler issues

Re: Ah, simple solution to unittests inside templates

2016-09-17 Thread Andrej Mitrovic via Digitalmars-d
On Saturday, 17 September 2016 at 17:22:52 UTC, Andrei Alexandrescu wrote: The unittest documentation is nicely generated. The unittest code itself is only generated for one instantiation. I had a similar thought, but I didn't really like verbosity of the static if. I think at some point som

Re: dlang-vscode

2016-09-06 Thread Andrej Mitrovic via Digitalmars-d
On 9/6/16, John Colvin via Digitalmars-d wrote: > I've used it a bit. See also: VS code is pretty solid! I'm too used to Sublime to start using it now, but the fact it's open-source is a huge plus. Some of its addons are pretty great, for example you can run an opengl shader and have its output

Re: Usability of "allMembers and derivedMembers traits now only return visible symbols"

2016-09-03 Thread Andrej Mitrovic via Digitalmars-d
On 9/3/16, Martin Nowak via Digitalmars-d wrote: > On Wednesday, 31 August 2016 at 13:12:30 UTC, Adam D. Ruppe wrote: >> Ugh, it really should just give everything and have getMember >> bypass it. That won't even break any code! > > It will, e.g. having getMember bypass protection means vibe.d > w

Re: Fallback 'catch-all' template functions

2016-09-01 Thread Andrej Mitrovic via Digitalmars-d
On 9/1/16, Manu via Digitalmars-d wrote: > So, consider a set of overloads: > > void f(T)(T t) if(isSomething!T) {} > void f(T)(T t) if(isSomethingElse!T) {} > void f(T)(T t) {} > Best thing I can think of is to use a forwarding template: - import std.stdio; // forwarding (or dispatch

Re: Usability of "allMembers and derivedMembers traits now only return visible symbols"

2016-08-30 Thread Andrej Mitrovic via Digitalmars-d
On 8/31/16, Ali Çehreli via Digitalmars-d wrote: > v2.071.2-b3 is bringing a change for this bug: > >https://issues.dlang.org/show_bug.cgi?id=15907 PSA: If all one cares about are UDAs for fields and not functions then .tupleof is still a viable workaround. Working example: - import getS

Re: Usability of "allMembers and derivedMembers traits now only return visible symbols"

2016-08-30 Thread Andrej Mitrovic via Digitalmars-d
On 8/31/16, Ali Çehreli via Digitalmars-d wrote: > mixin getSymbolsByUDA!(S, UDA) symbols; This is such a bizarre workaround to be listed in the changelog since mixing in non-mixin templates is not an official feature (am I wrong?). getSymbolsByUDA is a template, not a mixin template.

Re: Discuss vulkan erupted, the other auto-generated vulkan binding

2016-05-17 Thread Andrej Mitrovic via Digitalmars-d
On Monday, 16 May 2016 at 12:10:58 UTC, ParticlePeter wrote: This is in respect to announce thread: https://forum.dlang.org/post/mdpjqdkenrnuxvruw...@forum.dlang.org Please let me know if you had the chance to test the functionality as requested in the announce thread. All other question are w

Re: Github names & avatars

2016-05-14 Thread Andrej Mitrovic via Digitalmars-d
On 5/13/16, Walter Bright via Digitalmars-d wrote: > I'll ask again that the active Github users use their own name, and add to > that > if you could have a selfie as your github image. With some web apps like Slack (team chat software) each user can pick whether the app should display nicknames

Re: documented unit tests as examples

2016-05-14 Thread Andrej Mitrovic via Digitalmars-d
On 5/14/16, H. S. Teoh via Digitalmars-d wrote: > I like this idea. But wouldn't it be too verbose? Hmm good point. Alternatively we could perhaps make ddoc inject writeln calls, something like: auto sum (a, b) => a + b; /// unittest { assert(sum(2, 2) == 4); } Turns into ddoc output

Re: documented unit tests as examples

2016-05-14 Thread Andrej Mitrovic via Digitalmars-d
On 5/13/16, Steven Schveighoffer via Digitalmars-d wrote: > I'm wondering if we can have a mechanism for documented unit tests to > have a slightly different showing inside the docs vs. the actual unit test. > > For example, let's say we have a function writelnAssert. Used like this: > > writelnAs

Re: Can we filter out retweets from the tweet widget on the website?

2016-05-01 Thread Andrej Mitrovic via Digitalmars-d
On Sunday, 1 May 2016 at 15:08:00 UTC, ag0aep6g wrote: On Sunday, 1 May 2016 at 14:48:19 UTC, Andrej Mitrovic wrote: A lot of the listed tweets are just retweets, for example there are 6 tweets right now about the DConf schedule being moved. Is it possible to only list original tweets? I on

Can we filter out retweets from the tweet widget on the website?

2016-05-01 Thread Andrej Mitrovic via Digitalmars-d
A lot of the listed tweets are just retweets, for example there are 6 tweets right now about the DConf schedule being moved. Is it possible to only list original tweets?

Re: Walter's Famous German Language Essentials Guide

2016-04-27 Thread Andrej Mitrovic via Digitalmars-d
Back two years ago when I moved to Berlin and began my German lessons I came up with a little haiku or singalong: Ich möchte ein Bier! Ein Bier für mich, und ein Bier für meinen Freund! Ich bin meiner bester Freund, noch ein Bier für meinen Freund!! On 4/27/16, Joseph Rushton Wakeling via Digit

Re: Directions to Ibis Hotel in Berlin from Tegel Airport

2016-04-26 Thread Andrej Mitrovic via Digitalmars-d
It's really not so bad anymore as it used to be. Credit cards are accepted in most stores or supermarkets, even "Netto" which is a discount-store and which started accepting Visa just last year. Other stores like "Real" and "Kaisers" will accept Visa, even many small shops will accept it. Then aga

Re: Directions to Ibis Hotel in Berlin from Tegel Airport

2016-04-25 Thread Andrej Mitrovic via Digitalmars-d
On 4/25/16, Chris via Digitalmars-d wrote: > On Monday, 25 April 2016 at 14:25:39 UTC, Chris wrote: >> On Monday, 25 April 2016 at 13:51:58 UTC, Jonathan M Davis > > Be aware that in Germany pedestrians actually do stop at red > traffic lights, even if there is no car in sight. Berlin is the leas

Re: Directions to Ibis Hotel in Berlin from Tegel Airport

2016-04-25 Thread Andrej Mitrovic via Digitalmars-d
On 4/25/16, Iain Buclaw via Digitalmars-d wrote: > Germany is a cash-in-hand country. Credit cards are rejected in most > places that I've tried. The greatest irony is that you can't buy tickets in an S-Bahn shop with a credit card (e.g. in Gesundbrunnen), but you can in a U-Bahn shop (e.g. in A

Re: The day before DConf 2016

2016-04-12 Thread Andrej Mitrovic via Digitalmars-d
On 4/12/16, Joseph Rushton Wakeling via Digitalmars-d wrote: > On Tuesday, 12 April 2016 at 09:05:27 UTC, Andrej Mitrovic wrote: >> I remember my first day in town, I was traveling on the u-bahn >> without a ticket. For some unsuspecting reason I never thought >> of buying a ticket, thought the ri

Re: The day before DConf 2016

2016-04-12 Thread Andrej Mitrovic via Digitalmars-d
On 4/12/16, Iain Buclaw via Digitalmars-d wrote: > Tickets bought on buses don't need stamping either as I understand it. > Also make sure your ticket is still valid - once it took my girlfriend two > weeks to realise her monthly ticket had expired. Lucky to have no one find > out, in my opinion.

Re: The day before DConf 2016

2016-04-10 Thread Andrej Mitrovic via Digitalmars-d
PSA: Just remember you have to stamp your cards before boarding (unless it's a monthly ticket). When I was new in Berlin I even ended up once stamping a monthly ticket, which was a mistake. The ticket inspectors had a heartily laugh when they saw it and just said "you don't have to do that.. :)".

Re: Beta of D language online tour

2016-04-09 Thread Andrej Mitrovic via Digitalmars-d
On 4/9/16, André via Digitalmars-d wrote: > Hi, > > After months of hard work (okay exaggerated) I'd like to announce > the beta version of the D language online tour: > > http://tour.dlang.io/ This looks fantastic, awesome work! :)

Re: DIP 88: Simple form of named parameters

2016-01-24 Thread Andrej Mitrovic via Digitalmars-d
On 1/24/16, Jonathan M Davis via Digitalmars-d wrote: > I would strongly argue that anyone who feels the need for named > parameters should rethink how they're designing their functions. Another example where they become useful is with functions that take source and destination parameters. E.g.:

Re: [dlang.org] new forum design

2016-01-19 Thread Andrej Mitrovic via Digitalmars-d
On 1/18/16, Vladimir Panteleev via Digitalmars-d wrote: > As the new design rolled out on dlang.org, I decided to push the > changes on forum.dlang.org as well. Hitting backspace doesn't seem to make the browser open the previous page (Firefox 42.0). I don't know whether this is new behavior thou

Re: [dlang.org] new forum design

2016-01-18 Thread Andrej Mitrovic via Digitalmars-d
On 1/18/16, anonymous via Digitalmars-d wrote: > On 18.01.2016 19:59, Andrej Mitrovic via Digitalmars-d wrote: >> Btw, drop-down menus which do not drop-down on hover are really >> strange. I've never seen a drop-down menu on a modern website which >> required you to

Re: [dlang.org] new forum design

2016-01-18 Thread Andrej Mitrovic via Digitalmars-d
On 1/18/16, Vladimir Panteleev via Digitalmars-d wrote: > As the new design rolled out on dlang.org Btw, drop-down menus which do not drop-down on hover are really strange. I've never seen a drop-down menu on a modern website which required you to click to open and click to close. I do think hug

Re: Redesign of dlang.org

2015-12-20 Thread Andrej Mitrovic via Digitalmars-d
On 12/20/15, Jacob Carlborg via Digitalmars-d wrote: > On 2015-12-20 01:11, wobbles wrote: > >> Personally I prefer the buttons on the side. >> Probably 99% of people have widescreen format now (at leas 16:9), so I >> feel buttons at the top use up precious vertical space. > > The top menu is 40px

Re: Redesign of dlang.org

2015-12-19 Thread Andrej Mitrovic via Digitalmars-d
On 12/19/15, Jacob Carlborg via Digitalmars-d wrote: > Here's another thread about redesign of dlang.org. I'm creating this > thread because of a couple other threads recently created [1] [2]. > > The redesign was made by Ivan Smirnov in the beginning of this year. > I've helped out a bit with sug

Re: DConf 2016 announcements

2015-12-07 Thread Andrej Mitrovic via Digitalmars-d
Oin Dec 7, 2015 8:15 PM, "Admin via Digitalmars-d" < digitalmars-d@puremagic.com> wrote: Lol!

Re: -> and :: operators

2015-10-11 Thread Andrej Mitrovic via Digitalmars-d
On Friday, 9 October 2015 at 03:41:42 UTC, Walter Bright wrote: These, of course, are C++ operators that are replace with the . operator in D. But when I translate C++ code to D, sometimes these operators get left behind, and sometimes I simply reflexively type them into D code. The error mes

Re: TLBB: The Last Big Breakage

2015-10-11 Thread Andrej Mitrovic via Digitalmars-d
On Sunday, 16 March 2014 at 04:08:15 UTC, Andrei Alexandrescu wrote: D1's approach to multithreading was wanting. D2 executed a big departure from that with the shared qualifier and the default-thread-local approach to data. We think this is a win, but D2 inherited a lot of D1's thread-relate

Re: Improving assert-printing in DMD

2015-09-29 Thread Andrej Mitrovic via Digitalmars-d
On 9/29/15, John Colvin via Digitalmars-d wrote: > Someone will write something like this: > > assert(plainPassword == plainPassword.toLower()); > > and plaintext passwords will end up in stderr. If you have plaintext passwords stored anywhere you are already screwed. ;)

Re: Interesting user mistake

2015-09-04 Thread Andrej Mitrovic via Digitalmars-d
On 9/4/15, H. S. Teoh via Digitalmars-d wrote: > https://en.wikipedia.org/wiki/Parkinson%27s_law_of_triviality The irony is that I now spend most of my time thinking about really pressing issues, I can finally see the forest for the trees. But I'm no longer an OSS dev so all of my effort goes int

Re: Interesting user mistake

2015-09-04 Thread Andrej Mitrovic via Digitalmars-d
On 9/3/15, Andrei Alexandrescu via Digitalmars-d wrote: > http://stackoverflow.com/questions/32369114/leap-years-not-working-in-date-and-time-program-in-dlang > > The gist of it is the user wrote =+ instead of +=. I wonder if we should > disallow during tokenization the sequence "=", "+", whitespa

Re: Why aren't you using D at work?

2015-07-16 Thread Andrej Mitrovic via Digitalmars-d
On 7/15/15, Piotr Szturmaj via Digitalmars-d wrote: > By the way.. does anyone know if Sociomantic accepts remote D jobs? Not currently that I'm aware of. There were some exceptions, but this is rare. You can always e-mail care...@sociomantic.com to find out more. :)

Re: Wait, what? What is AliasSeq?

2015-07-09 Thread Andrej Mitrovic via Digitalmars-d
On 7/7/15, Andrei Alexandrescu via Digitalmars-d wrote: > So I thought we were supposed to replace bad names with good names. > Template arguments are indexable, so "sequence" doesn't quite apply. > > What happened? Why are we replacing a crappy term with another crappy term? > > > Andrei > As fa

Re: DConf 2015 Livestreaming?

2015-05-27 Thread Andrej Mitrovic via Digitalmars-d
On 5/27/15, Dicebot via Digitalmars-d wrote: > Inofficial ad-hoc stream : > https://www.youtube.com/watch?v=-OCl-jWyT9E > (may randomly stop and get restarted) > (thanks John Colvin) Nice! Btw, youtube preemptively blocks this in Germany, only because it is a live-stream and I guess they're just

Re: DDMD is now in the master branch

2015-04-08 Thread Andrej Mitrovic via Digitalmars-d
On 4/8/15, Daniel Murphy via Digitalmars-d wrote: > Several hours ago, Walter merged my DDMD branch into master. I'm so incredibly proud that you've achieved this. The fact that we'll be able to hack on the D compiler in D -- is just beyond words.. I'm speechless. Fantastic work.

Re: Feature idea: scope (failure, ExceptionSpecification) for catching exceptions

2015-03-28 Thread Andrej Mitrovic via Digitalmars-d
On 3/26/15, Vladimir Panteleev via Digitalmars-d wrote: > What is your use case for only logging specific exception types? We already have scope(failure) with its defined semantics (it will not swallow the exception), changing that would be bad. So the only workable solution I see is to extend it

Feature idea: scope (failure, ExceptionSpecification) for catching exceptions

2015-03-26 Thread Andrej Mitrovic via Digitalmars-d
One idea I'd like to see is to enhance scope(failure) to allow it to catch a specific type of exception which would allow us to e.g. log the exception message and potentially re-throw the exception. All of this without having to nest our code in try/catch statements. So instead of having code such

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

2015-02-22 Thread Andrej Mitrovic via Digitalmars-d
On 2/22/15, deadalnix via Digitalmars-d wrote: > 2 years ago, I had this discussion with Andrej Nope. Andrei. :p

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

2015-02-21 Thread Andrej Mitrovic via Digitalmars-d
On 2/21/15, Daniel Murphy via Digitalmars-d wrote: > 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 all the test suites. Awesome! It

Re: Somewhat off-topic: Nemiver

2015-02-13 Thread Andrej Mitrovic via Digitalmars-d
On 2/13/15, Brian Schott via Digitalmars-d wrote: > I've been looking for a graphical front-end for GDB that's not > terrible, and I've found that Nemiver works pretty well. It's > worth trying out if you're on Linux. > > https://wiki.gnome.org/Apps/Nemiver/Features > And for Sublime users I reco

Setting error/removal dates for deprecated features

2015-02-08 Thread Andrej Mitrovic via Digitalmars-d
We still have quite a few features which are listed as to-be-deprecated, but without any dates listed: http://dlang.org/deprecate.html So, what's the status of these?

Re: GDB Improved D support

2015-02-05 Thread Andrej Mitrovic via Digitalmars-d
On 1/3/14, Iain Buclaw wrote: > snip > > https://github.com/ibuclaw/gdb/ Iain, is there a nice feature list somewhere to tell what's new in your fork? I saw the changelog but it's not very informative from a user's point of view: https://github.com/ibuclaw/gdb/blob/dlang/gdb/ChangeLog e.g.: ---

Re: Git, the D package manager

2015-02-02 Thread Andrej Mitrovic via Digitalmars-d
On Monday, 2 February 2015 at 08:09:39 UTC, Vladimir Panteleev wrote: snip 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 sour

Re: Should we remove int[$] before 2.067?

2015-02-01 Thread Andrej Mitrovic via Digitalmars-d
On 2/1/15, deadalnix via Digitalmars-d wrote: > On Sunday, 1 February 2015 at 15:41:38 UTC, Tobias Pankrath wrote: >> Because static arrays are not convenient enough to use, I'll >> have to use another language that does not even provide static >> arrays. Makes sense. > > Kind of OT, but can we dr

Re: [website redesign] PR for the one with the big red menu bar

2015-01-27 Thread Andrej Mitrovic via Digitalmars-d
On 1/27/15, anonymous via Digitalmars-d wrote: > PR: https://github.com/D-Programming-Language/dlang.org/pull/869 > - For details see here. > Live version: http://ag0aep6g-dlang.rhcloud.com - If you've > visited this before, you may have to clear your cache to see the > proper logo color. I'm nev

Re: dlang.org redesign -- the state of documentation and learning resources [part 2]

2015-01-25 Thread Andrej Mitrovic via Digitalmars-d
On 1/23/15, aldanor via Digitalmars-d wrote: > In continuing the series of rant posts about the website, this > one will be about the documentation. Excellent points. In fact this kind of feedback is exactly what we need, to learn what it's like for someone new who just visits the website and tri

Re: D Meetup in Berlin

2015-01-23 Thread Andrej Mitrovic via Digitalmars-d
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 called Sociomantic. I am interested in organizing some meetups for

Re: Better README.md for dlang.org

2015-01-20 Thread Andrej Mitrovic via Digitalmars-d
On 1/20/15, Andrei Alexandrescu via Digitalmars-d wrote: > https://github.com/D-Programming-Language/dlang.org/blob/master/README.md > > 1. If instructions don't work for you, reply here. > > 2. Additions for Windows would be welcome. FWIW I think the Windows > makefile suffers from a bit of bitro

Re: Why exceptions for error handling is so important

2015-01-12 Thread Andrej Mitrovic via Digitalmars-d
On 1/12/15, Walter Bright via Digitalmars-d wrote: > I've found another problem with Windows Moviemaker, it can read, but cannot > > write, movies larger than 4Gb. Looks like some sort of internal 32 bit > overflow. If you haven't read this I highly recommend it, just for the entertainment value:

Re: Why exceptions for error handling is so important

2015-01-11 Thread Andrej Mitrovic via Digitalmars-d
On 1/11/15, Andrej Mitrovic wrote: > Or a @noignore attribute. Just having that alone could easily catch > the mistake of ignoring a return value. I'm really rooting for this, > but is anyone else on board? Or perhaps to avoid keyword/attribute bloat, a -noignore switch.

Re: Why exceptions for error handling is so important

2015-01-11 Thread Andrej Mitrovic via Digitalmars-d
On 1/11/15, Dicebot via Digitalmars-d wrote: > What is your opinion of approach advertised by various functional > languages and now also Rust? Where you return error code packed > with actual data and can't access data without visiting error > code too, compiler simply won't allow it. Or a @noig

Re: Is anyone working on a D source code formatting tool?

2015-01-11 Thread Andrej Mitrovic via Digitalmars-d
On 1/10/15, weaselcat via Digitalmars-d wrote: > On Saturday, 10 January 2015 at 20:18:03 UTC, Walter Bright wrote: >> Has someone made a dfmt, like http://gofmt.com/ ? > > Uncrustify claims D support. > http://uncrustify.sourceforge.net/ Yes, and the author is responsive whenever a new D-related

Re: http://wiki.dlang.org/DIP25

2015-01-02 Thread Andrej Mitrovic via Digitalmars-d
On 1/3/15, Walter Bright via Digitalmars-d wrote: > On 1/2/2015 3:17 PM, Andrej Mitrovic via Digitalmars-d wrote: >> auto still kicks ass of course, especially for ranges and template code. > > Bluntly, auto makes those usable. > Yeah it shouldn't be looked upon as a g

Re: http://wiki.dlang.org/DIP25

2015-01-02 Thread Andrej Mitrovic via Digitalmars-d
On 1/2/15, Walter Bright via Digitalmars-d wrote: > On 1/2/2015 1:55 PM, Andrej Mitrovic via Digitalmars-d wrote: >> Considering how much time one has to spend scratching their head what >> type of a variable something is in Python, I think the *true slackers* >> prefer stati

Re: http://wiki.dlang.org/DIP25

2015-01-02 Thread Andrej Mitrovic via Digitalmars-d
On 1/2/15, Walter Bright via Digitalmars-d wrote: > (The reason dynamically typed languages are enduringly popular is that it is > easier to write code in them. People are inherently lazy.) Considering how much time one has to spend scratching their head what type of a variable something is in Py

Re: What's up with the windows headers?

2015-01-02 Thread Andrej Mitrovic via Digitalmars-d
On 1/2/15, Adam D. Ruppe via Digitalmars-d wrote:I > I noticed today that they separated out the OS zips. No way! First I've heard of it. That's probably the #1 blocker of never integrating the Windows bindings to the zip. No idea who makes the zips though.

Re: What's up with the windows headers?

2015-01-02 Thread Andrej Mitrovic via Digitalmars-d
On 1/2/15, Adam D. Ruppe via Digitalmars-d wrote: > You can fetch better headers from here: > > https://github.com/AndrejMitrovic/DWinProgramming/tree/master/WindowsAPI/win32 I recommend https://github.com/CS-svnmirror/dsource-bindings-win32

Re: Improving ddoc

2015-01-01 Thread Andrej Mitrovic via Digitalmars-d
On 1/1/15, Walter Bright via Digitalmars-d wrote: > On 1/1/2015 8:19 AM, Manu via Digitalmars-d wrote: >> I was thinking more along the lines of letting doxygen inspire >> enhancements to ddoc, since as far as I can see, it's pretty much the >> standard these days, and people already know it. > >

Re: Improving ddoc

2015-01-01 Thread Andrej Mitrovic via Digitalmars-d
On 1/1/15, Andrei Alexandrescu via Digitalmars-d wrote: > Totally. I did use it briefly a few years ago and I'm sure I can relearn > it. The wxWidgets developers maintain a hand-written set of doxygen interface files because doxygen actually crashes when trying to parse the C++ code directly. As

Re: Phobos colour module?

2015-01-01 Thread Andrej Mitrovic via Digitalmars-d
On 1/1/15, Manu via Digitalmars-d wrote: > Does it seem like something we should see added to phobos? You're likely to have more success making it an independent library and putting it on code.dlang.org. Remember that tying the library to Phobos means that any bugs fixed will only reach people a

Re: Happy new year!

2014-12-31 Thread Andrej Mitrovic via Digitalmars-d
On 12/31/14, Manu via Digitalmars-d wrote: > Here's to an awesome 2015! > Happy new year! Let's make this year D's best year yet.

Re: Improving ddoc

2014-12-31 Thread Andrej Mitrovic via Digitalmars-d
On 1/1/15, ketmar via Digitalmars-d wrote: > ah, "markdown" here means "anything human-readable", be it markdown, > textile, restructured, or something completely different. i don't > really care, as long as it's not littered by visual noise. I think the best way to show the benefits of any of th

Re: http://wiki.dlang.org/DIP25

2014-12-31 Thread Andrej Mitrovic via Digitalmars-d
On 12/31/14, Andrei Alexandrescu via Digitalmars-d wrote: > On 12/30/14 7:32 PM, Manu via Digitalmars-d wrote: >> void mayEscape(ref int x); // <-- may escape this ref arg >> >> void t() >> { >>int onStack = 1; >>mayEscape(onStack); // <- perfectly legal, and equally unsafe >> } > > DIP25

Re: http://wiki.dlang.org/DIP25

2014-12-29 Thread Andrej Mitrovic via Digitalmars-d
On 12/29/14, Andrei Alexandrescu via Digitalmars-d wrote: > We're in the "cooperative" stage of D, and we need to move toward the > "established organization" stage. Unrelated to this grander idea I really liked the recent Rust blog post: http://discuss.rust-lang.org/t/a-tale-of-twos-complement/1

Re: Does anyone want to render D with gsource ?

2014-12-22 Thread Andrej Mitrovic via Digitalmars-d
On 12/22/14, Anoymous via Digitalmars-d wrote: > A few monthes ago I've seen this: > > https://code.google.com/p/gource/ Ahh I always wanted to see this visualization for dlang repos!! Whoever makes this happen, 1000 internets to you.

Re: Lost a new commercial user this week :(

2014-12-14 Thread Andrej Mitrovic via Digitalmars-d
On 12/14/14, Kiith-Sa via Digitalmars-d wrote: > Example: > > ptrdiff_t countUntil(alias pred = "a == b", R, Rs...)(R haystack, > Rs needles) if (isForwardRange!R && Rs.length > 0 && > isForwardRange!(Rs[0]) == isInputRange!(Rs[0]) && > is(typeof(startsWith!pred(haystack, needles[0]))) && (Rs.leng

Re: D3

2014-12-08 Thread Andrej Mitrovic via Digitalmars-d
On 12/8/14, Russel Winder via Digitalmars-d wrote: > It seems that D3 is already available: > > https://github.com/mbostock/d3 Guess we'll just have to skip a number and call the next D - D4. :)

Re: D Meetup in Berlin

2014-12-04 Thread Andrej Mitrovic via Digitalmars-d
On 12/4/14, Gautam via Digitalmars-d wrote: > 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. >> > > Count me in! > Lol, Sociomantic REPRESENT! Of course, I'd have to join such an event,

Re: Phobos - breaking existing code

2014-11-29 Thread Andrej Mitrovic via Digitalmars-d
On 11/29/14, Walter Bright via Digitalmars-d wrote: > Just for fun, I've decided to try and get MicroEmacs in D added to the dub > registry. The last time it compiled was 2 years ago. You seem to create this kind of thread every other month. People complaint to you about A and B, you ignore it, a

  1   2   >