Re: LDC 1.10.0 beta

2018-06-03 Thread kinke via Digitalmars-d-announce
LDC 1.10.0-beta2 is out now, based on recent DMD stable and with 
these main changes since beta1:


* Cross-compilation-friendly LDC config file extensions.
* Fix std.math compile error regressions for ARM, AArch64, MIPS, 
etc.

* Fix LDC compile errors on 64-bit macOS with DMD >= 2.079.
* Fix sporadic front-end crashes.
* Win64 ABI:
  * Breaking change for extern(D): vectors now passed directly in 
registers.

  * Fix for extern(C++) wrt. small non-PODs passed by value.

Full release log and downloads:
https://github.com/ldc-developers/ldc/releases/tag/v1.10.0-beta2



How I Came To Write D is #1 on Hacker News!

2018-06-03 Thread Walter Bright via Digitalmars-d-announce

https://news.ycombinator.com


Re: How I Came To Write D is #1 on Hacker News!

2018-06-03 Thread Huuskes via Digitalmars-d-announce

On Sunday, 3 June 2018 at 20:37:14 UTC, Walter Bright wrote:

https://news.ycombinator.com


You always seem so on top of this :) On HN they seem more 
positive towards D than on Reddit.


Re: How I Came To Write D is #1 on Hacker News!

2018-06-03 Thread Walter Bright via Digitalmars-d-announce

On 6/3/2018 1:48 PM, Huuskes wrote:

On Sunday, 3 June 2018 at 20:37:14 UTC, Walter Bright wrote:

https://news.ycombinator.com


You always seem so on top of this :) On HN they seem more positive towards D 
than on Reddit.


I noticed it 6 hours after it was posted.


Re: How I Came To Write D is #1 on Hacker News!

2018-06-03 Thread Huuskes via Digitalmars-d-announce

On Sunday, 3 June 2018 at 21:48:36 UTC, Walter Bright wrote:

On 6/3/2018 1:48 PM, Huuskes wrote:

On Sunday, 3 June 2018 at 20:37:14 UTC, Walter Bright wrote:

https://news.ycombinator.com


You always seem so on top of this :) On HN they seem more 
positive towards D than on Reddit.


I noticed it 6 hours after it was posted.


I meant more in the AMA-ready-to-answer any questions sense, 
haha. You don't see that often where the creator of language here> pops up in threads. It's nice to see, partially 
how I ended up here! ^^


Re: How I Came To Write D is #1 on Hacker News!

2018-06-03 Thread Walter Bright via Digitalmars-d-announce

On 6/3/2018 3:03 PM, Huuskes wrote:
I meant more in the AMA-ready-to-answer any questions sense, haha. You don't see 
that often where the creator of  pops up in threads. It's 
nice to see, partially how I ended up here! ^^


Back in the Symantec days, I would regularly do tech support myself on 
CompuServe. Most other compiler guys preferred to be anonymous, or at least 
their employers preferred it that way. (Symantec neither asked nor dissuaded me 
from doing it.)


In the Zortech days, the manual and some of the ads had a picture of me on them. 
At a Zortech meet the press function, I was accused of being a model (!) hired 
to pose for the picture. I had to answer a bunch of tech questions and show my 
passport to convince them I really did write it.


I don't know if personalizing the compiler like this hurt or helped.

P.S. Imagine me, a model! The mind boggles. I coulda been Marky-Mark!


GitHub could be acquired by Microsoft

2018-06-03 Thread Anton Fediushin via Digitalmars-d-announce
This is still just a rumour, we'll know the truth on Monday 
(which is today).


Some articles about the topic:

https://fossbytes.com/microsoft-github-aquisition-report/
https://www.theverge.com/2018/6/3/17422752/microsoft-github-acquisition-rumors

What's your opinion about that? Will you continue using GitHub?

Both GitLab and Bitbucket can be used instead to host your D 
projects - dub registry supported them for a while now.


IMHO Microsoft isn't the type of company I want to see behind the 
GitHub. Maybe I am wrong since Microsoft has both money and 
programmers to improve it further, I just don't trust them too 
much which is the right thing to do when dealing with companies. 
This means that I will move my repositories elsewhere and use 
GitHub just to contribute to other projects.




Re: GitHub could be acquired by Microsoft

2018-06-03 Thread Suliman via Digitalmars-d-announce
Git was never my favorite VCS. So I hope that this step will open 
door for project like pijul.org
github.com is only site, not religious. So if it will be closed 
people will move/create to its analogs.


Re: GitHub could be acquired by Microsoft

2018-06-03 Thread Dmitry Olshansky via Digitalmars-d-announce

On Monday, 4 June 2018 at 03:51:15 UTC, Anton Fediushin wrote:
This is still just a rumour, we'll know the truth on Monday 
(which is today).


Some articles about the topic:

https://fossbytes.com/microsoft-github-aquisition-report/
https://www.theverge.com/2018/6/3/17422752/microsoft-github-acquisition-rumors

What's your opinion about that? Will you continue using GitHub?


Well, MS already contributes big time to many open-source 
projects, including Git.

I do not see immanent  problem with them buying it.



Both GitLab and Bitbucket can be used instead to host your D 
projects - dub registry supported them for a while now.


Both are fine, though Gitlab seems more sexy now.

IMHO Microsoft isn't the type of company I want to see behind 
the GitHub. Maybe I am wrong since Microsoft has both money and 
programmers to improve it further, I just don't trust them too 
much which is the right thing to do when dealing with companies.


Would you trust Google? Me, I’m not.
In fact if we were to place trust, comercial IT companies would 
be pretty down on my list of “trust” in any case.


This means that I will move my repositories elsewhere and use 
GitHub just to contribute to other projects.





Re: GitHub could be acquired by Microsoft

2018-06-03 Thread Joakim via Digitalmars-d-announce

On Monday, 4 June 2018 at 03:51:15 UTC, Anton Fediushin wrote:
This is still just a rumour, we'll know the truth on Monday 
(which is today).


Some articles about the topic:

https://fossbytes.com/microsoft-github-aquisition-report/
https://www.theverge.com/2018/6/3/17422752/microsoft-github-acquisition-rumors

What's your opinion about that? Will you continue using GitHub?

Both GitLab and Bitbucket can be used instead to host your D 
projects - dub registry supported them for a while now.


IMHO Microsoft isn't the type of company I want to see behind 
the GitHub. Maybe I am wrong since Microsoft has both money and 
programmers to improve it further, I just don't trust them too 
much which is the right thing to do when dealing with 
companies. This means that I will move my repositories 
elsewhere and use GitHub just to contribute to other projects.


Looks like a done deal, will be announced tomorrow:

https://www.bloomberg.com/news/articles/2018-06-03/microsoft-is-said-to-have-agreed-to-acquire-coding-site-github

It all depends on how much support they pour into github, but I 
agree it's not a good sign.


Re: GitHub could be acquired by Microsoft

2018-06-03 Thread Jonathan M Davis via Digitalmars-d-announce
On Monday, June 04, 2018 03:51:15 Anton Fediushin via Digitalmars-d-announce 
wrote:
> This is still just a rumour, we'll know the truth on Monday
> (which is today).
>
> Some articles about the topic:
>
> https://fossbytes.com/microsoft-github-aquisition-report/
> https://www.theverge.com/2018/6/3/17422752/microsoft-github-acquisition-ru
> mors
>
> What's your opinion about that? Will you continue using GitHub?
>
> Both GitLab and Bitbucket can be used instead to host your D
> projects - dub registry supported them for a while now.
>
> IMHO Microsoft isn't the type of company I want to see behind the
> GitHub. Maybe I am wrong since Microsoft has both money and
> programmers to improve it further, I just don't trust them too
> much which is the right thing to do when dealing with companies.
> This means that I will move my repositories elsewhere and use
> GitHub just to contribute to other projects.

It would increase the odds that I would put public repos on bitbucket
(that's already where I put all of my private repos, since it's free there
but not at github). But I don't know. The main reason to go with github is
because it's the main place that folks go looking for open source projects,
and anyone who finds you on github (be it through the official dlang
projects or something else) will find your stuff on github that way but not
the stuff that you have elsewhere. On some level, what you have on github
serves as a resume in a way that it wouldn't with other sites (especially if
folks are finding you online rather than you pointing to your repos in your
actual resume).

I can't say that I'll be happy if Microosft buys github (just like I wasn't
happy when they bought linkedin), but I also can't say for sure that it will
change what I do. A lot of that will depend on what Microsoft does and how
it affects the open source community at large. The odds of my hosting stuff
elsewhere definitely then go up, but I don't know what I'll do. This is bad
news but likely not catastrophic.

On the bright side, maybe this will encourage online repo hosting to become
less of a monopoly as folks move elsewhere due to their concerns about
Microsoft.

- Jonathan M Davis



Re: GitHub could be acquired by Microsoft

2018-06-03 Thread Cym13 via Digitalmars-d-announce

On Monday, 4 June 2018 at 03:57:37 UTC, Suliman wrote:
Git was never my favorite VCS. So I hope that this step will 
open door for project like pijul.org
github.com is only site, not religious. So if it will be closed 
people will move/create to its analogs.


Git has nothing to do with github, it's just a technology they 
happen to use but they have no privilege on it. It won't change a 
thing on that side.


DIP Draft Review News

2018-06-03 Thread Mike Parker via Digitalmars-d-announce
In the near future, I'll be prepping Mike Franklin's DIP, 
"Deprecation and removal of implicit integer and character 
literal conversion to bool" for community review. We need some 
more eyes on it for Draft Review first. For those of you whore 
are interested:


https://github.com/dlang/DIPs/pull/99

We also have a new DIP in the queue that is ready for Draft 
Review" "Named arguments lite". It won't be in line for community 
review until I've gone back through the queue from the beginning 
to see if the authors of older DIPs are ready to move forward, 
but feedback is welcome now:


https://github.com/dlang/DIPs/pull/123

And one more reminder that Walter's DIP, "Add Bottom Type", will 
be leaving Draft Review soon:


https://github.com/dlang/DIPs/pull/117


Re: DIP Draft Review News

2018-06-03 Thread rikki cattermole via Digitalmars-d-announce

On 04/06/2018 5:01 PM, Mike Parker wrote:

Named arguments lite


I'm concerned about this DIP (keep in mind I wrote a referenced WIP DIP).

1. Reordering of parameters that match (with overloads)

```D
int add(int a, int b);
int add(int b, int a) { ... }
```

This part of the DIP needs quite a bit of filling out and I expect to 
have a lot of corner cases.


Are you saying that you have an add that is extern'd or do you mean a 
named argument function overload? By conventional wisdom it definitely 
should error out.


I'm sure somebody else can think of more problems with this with regards 
to types.


2. All or nothing.

```D
int add(int x, int y);
@named:
int add(int b, int a) { ... }
```

This is one of the reasons some people /don't/ want named arguments and 
have said that they out right would not use a language with it.


3. Admittedly this is meant to be a cut down version, so I'll leave this 
use case here which named arguments should fix (I think).


```D
void main() {
log("hi!");
log(moduleName: "woot", lineNumber: 7, "bye");
}

void log(T...)(T args, = __LINE__>) {

writeln(moduleName, "[", lineNumber, "] ", args);
}
```


Re: GitHub could be acquired by Microsoft

2018-06-03 Thread Anton Fediushin via Digitalmars-d-announce

On Monday, 4 June 2018 at 04:26:25 UTC, Dmitry Olshansky wrote:

On Monday, 4 June 2018 at 03:51:15 UTC, Anton Fediushin wrote:
This is still just a rumour, we'll know the truth on Monday 
(which is today).


Some articles about the topic:

https://fossbytes.com/microsoft-github-aquisition-report/
https://www.theverge.com/2018/6/3/17422752/microsoft-github-acquisition-rumors

What's your opinion about that? Will you continue using GitHub?


Well, MS already contributes big time to many open-source 
projects, including Git.

I do not see immanent  problem with them buying it.


I can think of hundreds of things what can go wrong including: 
forcing users to use Microsoft accounts, advertising own 
products, changing search to Bing (that's pretty bad one, no idea 
how I came up with it) and more and more.


I can agree though that last 5 years or so Microsoft is doing 
well with open-source projects. Question is: will it carry on 
with open-source?






Both GitLab and Bitbucket can be used instead to host your D 
projects - dub registry supported them for a while now.


Both are fine, though Gitlab seems more sexy now.


Indeed it is. GitHub is stuck in  2010-s and the UI of GitLab is 
beautiful and smooth.




IMHO Microsoft isn't the type of company I want to see behind 
the GitHub. Maybe I am wrong since Microsoft has both money 
and programmers to improve it further, I just don't trust them 
too much which is the right thing to do when dealing with 
companies.


Would you trust Google? Me, I’m not.
In fact if we were to place trust, comercial IT companies would 
be pretty down on my list of “trust” in any case.


If you'd ask me a year or two ago - maybe, but now I have no idea 
what Google is doing and last bits of trust I had are gone.






Re: GitHub could be acquired by Microsoft

2018-06-03 Thread Anton Fediushin via Digitalmars-d-announce

On Monday, 4 June 2018 at 04:40:44 UTC, Jonathan M Davis wrote:
On the bright side, maybe this will encourage online repo 
hosting to become less of a monopoly as folks move elsewhere 
due to their concerns about Microsoft.


- Jonathan M Davis


Can't agree more: GitLab and Bitbucket deserve more attention.

Speaking of which, there's huge spike [1] in project imports on 
GitLab. These are some great news for it, I hope it doesn't crash.


[1] 
https://monitor.gitlab.net/dashboard/db/github-importer?orgId=1