Re: This Week in D: DConf 2015 Wednesday Morning writeups!

2015-06-02 Thread Bastiaan Veelo via Digitalmars-d-announce

On Tuesday, 2 June 2015 at 04:03:48 UTC, Adam D. Ruppe wrote:

http://arsdnet.net/this-week-in-d/may-31.html


Well done, thanks!


Re: This Week in D: DConf 2015 Wednesday Morning writeups!

2015-06-02 Thread wobbles via Digitalmars-d-announce

On Tuesday, 2 June 2015 at 04:03:48 UTC, Adam D. Ruppe wrote:

http://arsdnet.net/this-week-in-d/may-31.html

The rest of DConf will be reported within the next two weeks, 
then I'd like to follow up with the speakers to see if they 
have anything else they'd like to expand on and attendees if 
they have stuff to add about it too (all of you: please email 
me any thoughts, including, but not limited to, why you picked 
that topic and if there's anything you want to add that wasn't 
in the talk itself, e.g., from off-camera discussions.)


Please also discuss on Reddit:

http://www.reddit.com/r/programming/comments/386bmt/this_week_in_d_dconf_2015_wed_morn_talk_summaries/

https://twitter.com/adamdruppe/status/605585525341233154


This Week in D had an intrepid report on-site 

intrepid reporter you mean?


Re: DConf 2015: Individual talk links from the livestream

2015-06-02 Thread Bogdan via Digitalmars-d-announce

On Tuesday, 2 June 2015 at 06:24:19 UTC, John Colvin wrote:

On Tuesday, 2 June 2015 at 06:20:56 UTC, Jacob Carlborg wrote:

On 2015-06-02 06:16, John Colvin wrote:

BTW, was there any discussion in between the talks that was 
recorded?


In some cases you might be able to overhear some stuff I guess, 
but nothing formal was done. The last talks on days 1 and 2 
were QA sessions that involved a lot of discussion.


Those are the only recordings from the conference?


Re: DConf 2015: Individual talk links from the livestream

2015-06-02 Thread Ali Çehreli via Digitalmars-d-announce

On 06/02/2015 02:07 AM, Bogdan wrote:

 Those are the only recordings from the conference?

No, these are recorded and published by John Colvin, a conference 
attendee and a speaker.


High quality recordings will be available later.

Ali



Re: DConf 2015 has ended. See you in Berlin at DConf 2016!

2015-06-02 Thread Dicebot via Digitalmars-d-announce

On Monday, 1 June 2015 at 21:02:17 UTC, Vladimir Panteleev wrote:

On Monday, 1 June 2015 at 12:39:13 UTC, Dicebot wrote:
- Going for kitchen sink Phobos (and distributing vibe.d as 
part of Phobos)


I thought we agreed to start with just Dub first.


we? :P

- Moving fibers between threads (though there is some hope 
that Liran managed to convince Walter it is a bad idea)


How this isn't a bad idea? AFAIU the Go folks ran into the same 
problems: 
https://docs.google.com/document/d/1At2Ls5_fhJQ59kDK2DFVhFu3g5mATSXqqV5QrxinasI/edit


Before running into problems they advertised how this is the 
right thing to do and it is very hard to fight Go marketing even 
if it is completely unreasonable _


Re: Travis-CI support for D

2015-06-02 Thread Atila Neves via Digitalmars-d-announce
It doesn't seem to work anymore, even http://lint.travis-ci.org/ 
says I can't use language: d.


Atila

On Thursday, 11 December 2014 at 04:50:42 UTC, Martin Nowak wrote:

Glad to announce that D support on Travis-CI was launched today.

http://blog.travis-ci.com/2014-12-10-community-driven-language-support-comes-to-travis-ci/

You can now get out-of-the-box continuous integration for your 
D projects on github. If you are already using dub, using 
Travis-CI is as simple as adding a 2 line .travis.yml file to 
your repo and toggling a switch on travis-ci.org.


language:d
sudo: false

You can also chose a specific compiler by adding a d: tag.

d: ldc-0.14.0

Build matrices are supported as well, so you can test your 
project against multiple compilers. Please only test as many 
compilers as you actually need!


d:
  - dmd-2.066.1
  - gdc-4.9.0
  - ldc-0.14.0

The following compilers were successfully tested.

dmd-2.064
dmd-2.065.0
dmd-2.066.1
gdc-4.8.2
gdc-4.9.0
ldc-0.13.0
ldc-0.14.0

Read the docs for more details 
http://docs.travis-ci.com/user/languages/d/.


And you can also have a look at these 2 libraries.

https://travis-ci.org/MartinNowak/hyphenate
https://travis-ci.com/MartinNowak/bloom

Happy testing
-Martin




Re: Travis-CI support for D

2015-06-02 Thread Alex Parrill via Digitalmars-d-announce

On Tuesday, 2 June 2015 at 18:54:14 UTC, Atila Neves wrote:
It doesn't seem to work anymore, even 
http://lint.travis-ci.org/ says I can't use language: d.


Atila



Works for me, though the linter doesn't know about it.



Re: DConf 2015 has ended. See you in Berlin at DConf 2016!

2015-06-02 Thread Iain Buclaw via Digitalmars-d-announce
On 2 June 2015 at 12:28, Liran Zvibel via Digitalmars-d-announce 
digitalmars-d-announce@puremagic.com wrote:

 On Friday, 29 May 2015 at 23:42:00 UTC, Andrei Alexandrescu wrote:

 DConf 2015 has been awesome, I'm taking a minute to post this that's been
 announced a short while ago.

 We're pleased to announce that DConf 2016 will take place in Berlin,
 sponsored by Sociomantic.

 We'll be back with details. See you there!


 Andrei


 I'd like to thank Andrei, Walter and Chuck for the hard work of making
 this conference happen.
 The conference was very well organized, with quality speakers and great
 atmosphere.

 I'm very glad I was able to make it and get to meet parts of the great D
 community.

 Berlin is very convenient for us (3:30 hr direct flight :) ) so I guess
 next year you'll get to see more of Weka.IO :)

 See you, and thanks again!

 Liran


I look forward to meeting you.

Iain


Re: DConf 2015 has ended. See you in Berlin at DConf 2016!

2015-06-02 Thread Dicebot via Digitalmars-d-announce

On Monday, 1 June 2015 at 18:25:02 UTC, Laeeth Isharc wrote:

On Monday, 1 June 2015 at 12:39:13 UTC, Dicebot wrote:
On the other hand, AST macros have been officially rejected 
and that I like a lot :)


Hi.

Just out of curiosity, what are the evils of AST macros (or 
could you point me to something you like on the topic)?


There was extended discussion in old threads but short summary of 
my opinion is:


- allows implicit changes to language semantics (== learning new 
framework is effectively learning new language)

- overlaps in functionality with mixins for majority of use cases
- less intuitive to newcomers (though cleaner/safer to 
experienced programmers, I admit that)

- requires standard (and stable!) AST format


Re: DevDocs.io: voting for D

2015-06-02 Thread sigod via Digitalmars-d-announce

On Tuesday, 2 June 2015 at 17:35:19 UTC, tired_eyes wrote:

http://forum.dlang.org/thread/mjnscnoxgoxvoymgi...@forum.dlang.org


Dang it! When I checked google wasn't showing this post in the 
search results.


Re: DConf 2015 has ended. See you in Berlin at DConf 2016!

2015-06-02 Thread Jacob Carlborg via Digitalmars-d-announce

On 2015-06-02 20:28, Dicebot wrote:


- requires standard (and stable!) AST format


Is that a negative point? BTW, the compiler doesn't necessarily need to 
use the same API for the AST internally as exposed externally.


--
/Jacob Carlborg


Re: Travis-CI support for D

2015-06-02 Thread Atila Neves via Digitalmars-d-announce

On Tuesday, 2 June 2015 at 19:51:17 UTC, Jacob Carlborg wrote:

On 2015-06-02 20:54, Atila Neves wrote:
It doesn't seem to work anymore, even 
http://lint.travis-ci.org/ says I

can't use language: d.



Works for me. Just tested it: 
https://travis-ci.org/jacob-carlborg/dstep/jobs/59055545


I don't know what happened. I copied your file and it started 
working. Probably a syntax error caused by the fact the linter 
was giving a false positive anyway.


Atila


Re: DConf 2015 has ended. See you in Berlin at DConf 2016!

2015-06-02 Thread Dicebot via Digitalmars-d-announce

On Tuesday, 2 June 2015 at 19:44:12 UTC, Jacob Carlborg wrote:

On 2015-06-02 20:28, Dicebot wrote:


- requires standard (and stable!) AST format


Is that a negative point? BTW, the compiler doesn't necessarily 
need to use the same API for the AST internally as exposed 
externally.


Yes, considering current official stance on breaking changes that 
is huge negative point. We are rather far from being able to tell 
what good stable AST format could be be in the long run.


Maintaining two different formats is a way to address that but I 
feel that effort required goes beyond the realm of realistic at 
that point.


Re: Travis-CI support for D

2015-06-02 Thread Jacob Carlborg via Digitalmars-d-announce

On 2015-06-02 20:54, Atila Neves wrote:

It doesn't seem to work anymore, even http://lint.travis-ci.org/ says I
can't use language: d.



Works for me. Just tested it: 
https://travis-ci.org/jacob-carlborg/dstep/jobs/59055545



--
/Jacob Carlborg


Re: DConf 2015 has ended. See you in Berlin at DConf 2016!

2015-06-02 Thread Mathias Lang via Digitalmars-d-announce
2015-06-01 14:39 GMT+02:00 Dicebot via Digitalmars-d-announce 
digitalmars-d-announce@puremagic.com:

 On Monday, 1 June 2015 at 12:00:53 UTC, extrawurst wrote:

 Thanks for the chance to be there! Even if I am dissapointed with many
 decisions being made, the main thing is that D is getting new users and new
 success stories. And DConf tells those stories :)


 Out of curiosity, what decisions are you talking about ?


 I think these are most unpleasant ones for me:

 - Same hypocrite attitude to language/stdlib breaking changes that neither
 allows to fix it nor gives stability guarantees.

 - Going for kitchen sink Phobos (and distributing vibe.d as part of Phobos)

 - Moving fibers between threads (though there is some hope that Liran
 managed to convince Walter it is a bad idea)

 On the other hand, AST macros have been officially rejected and that I
 like a lot :)


While it's for different reasons - and I wouldn't qualify it hypocrite -, I
follow you on every point :)

Thanks Chuck, Walter and Andrei, and every speaker for making this happen.
It's also very nice to see that the community is being listen to (w.r.t.
dub for example). Looking forward to play at home next year !


Re: Travis-CI support for D

2015-06-02 Thread extrawurst via Digitalmars-d-announce

On Tuesday, 2 June 2015 at 20:46:09 UTC, Atila Neves wrote:

On Tuesday, 2 June 2015 at 19:51:17 UTC, Jacob Carlborg wrote:

On 2015-06-02 20:54, Atila Neves wrote:
It doesn't seem to work anymore, even 
http://lint.travis-ci.org/ says I

can't use language: d.



Works for me. Just tested it: 
https://travis-ci.org/jacob-carlborg/dstep/jobs/59055545


I don't know what happened. I copied your file and it started 
working. Probably a syntax error caused by the fact the linter 
was giving a false positive anyway.


Atila


I remember the linter did not chew my config files either months 
ago, maybe it is not in-sync with the rest of the platform.. 
german wertarbeit


Re: DConf 2015: Individual talk links from the livestream

2015-06-02 Thread Bogdan via Digitalmars-d-announce

On Tuesday, 2 June 2015 at 09:37:25 UTC, Ali Çehreli wrote:

On 06/02/2015 02:07 AM, Bogdan wrote:

 Those are the only recordings from the conference?

No, these are recorded and published by John Colvin, a 
conference attendee and a speaker.


High quality recordings will be available later.

Ali


Awesome! thanks!


Re: DConf 2015 has ended. See you in Berlin at DConf 2016!

2015-06-02 Thread Laeeth Isharc via Digitalmars-d-announce

On Monday, 1 June 2015 at 18:40:54 UTC, Ola Fosheim Grøstad wrote:

On Monday, 1 June 2015 at 18:25:02 UTC, Laeeth Isharc wrote:
Just out of curiosity, what are the evils of AST macros (or 
could you point me to something you like on the topic)?


It turns all changes into breaking changes. It is something you 
only can add to a stable language without collateral damage.


Thanks.  Laeeth


Re: Reggae: a metabuild system in D (Daniel, you should read this). Now with more dub. And package builds.

2015-06-02 Thread Atila Neves via Digitalmars-d-announce

On Tuesday, 2 June 2015 at 14:18:29 UTC, BlackEdder wrote:

On Tuesday, 2 June 2015 at 13:45:40 UTC, Atila Neves wrote:

http://code.dlang.org/packages/reggae

Atila


Does reggae make it easy to build multiple executables in one 
go?


Yes. Reggae is able to build itself, its own build description 
produces a ut binary and the production binary concurrently. It's 
the example in the README.


Anything you want to build and any way you want it, reggae lets 
you. If it doesn't then that's my fault, and I'll fix it.


Atila




Re: Reggae: a metabuild system in D (Daniel, you should read this). Now with more dub. And package builds.

2015-06-02 Thread BlackEdder via Digitalmars-d-announce

On Tuesday, 2 June 2015 at 13:45:40 UTC, Atila Neves wrote:

http://code.dlang.org/packages/reggae

Atila


Does reggae make it easy to build multiple executables in one go? 
Or is it limited to one executable per configuration (as dub)?


Cheers, Edwin



Re: DConf 2015 has ended. See you in Berlin at DConf 2016!

2015-06-02 Thread Liran Zvibel via Digitalmars-d-announce

On Friday, 29 May 2015 at 23:42:00 UTC, Andrei Alexandrescu wrote:
DConf 2015 has been awesome, I'm taking a minute to post this 
that's been announced a short while ago.


We're pleased to announce that DConf 2016 will take place in 
Berlin, sponsored by Sociomantic.


We'll be back with details. See you there!


Andrei


I'd like to thank Andrei, Walter and Chuck for the hard work of 
making this conference happen.
The conference was very well organized, with quality speakers and 
great atmosphere.


I'm very glad I was able to make it and get to meet parts of the 
great D community.


Berlin is very convenient for us (3:30 hr direct flight :) ) so I 
guess next year you'll get to see more of Weka.IO :)


See you, and thanks again!

Liran


Re: This Week in D: DConf 2015 Wednesday Morning writeups!

2015-06-02 Thread anonymous via Digitalmars-d-announce

The link to harbored is broken ...

On Tuesday, 2 June 2015 at 04:22:08 UTC, Adam D. Ruppe wrote:

On Tuesday, 2 June 2015 at 04:17:47 UTC, John Colvin wrote:
Actually, 
http://forum.dlang.org/post/sujyaurgyfumoiimi...@forum.dlang.org 
would be better


cool fixed, remember to refresh as the file is aggressively 
cached.




Re: DConf 2015: Individual talk links from the livestream

2015-06-02 Thread safety0ff via Digitalmars-d-announce

Thanks!


DevDocs.io: voting for D

2015-06-02 Thread sigod via Digitalmars-d-announce
Hi everyone. Please vote for D to be added to https://DevDocs.io: 
https://trello.com/c/bCgqhZ4s/123-d


About DevDocs (copy-pasted from index page):
```
DevDocs combines multiple API documentations in a fast, 
organized, and searchable interface. Here's what you should know 
before you start:


- You don't have to use your mouse — see the list of keyboard 
shortcuts
- The search supports fuzzy matching (e.g. bgcp brings up 
background-clip)
- To search a specific documentation, type its name (or an 
abbreviation), then Tab

- You can search using your browser's address bar
- DevDocs works offline, on mobile, and can be installed on 
Chrome and Firefox.

- DevDocs is free and open source
```

I use it very often for JavaScript. And I would like to use it 
for D.


P.S. I'm surprised there's no such thread on the forum.


Re: DevDocs.io: voting for D

2015-06-02 Thread tired_eyes via Digitalmars-d-announce

http://forum.dlang.org/thread/mjnscnoxgoxvoymgi...@forum.dlang.org


Re: DConf 2015: Individual talk links from the livestream

2015-06-02 Thread John Colvin via Digitalmars-d-announce

On Tuesday, 2 June 2015 at 06:20:56 UTC, Jacob Carlborg wrote:

On 2015-06-02 06:16, John Colvin wrote:

BTW, was there any discussion in between the talks that was 
recorded?


In some cases you might be able to overhear some stuff I guess, 
but nothing formal was done. The last talks on days 1 and 2 were 
QA sessions that involved a lot of discussion.


Re: DConf 2015: Individual talk links from the livestream

2015-06-02 Thread Jacob Carlborg via Digitalmars-d-announce

On 2015-06-02 06:16, John Colvin wrote:

BTW, was there any discussion in between the talks that was recorded?

--
/Jacob Carlborg


Re: dfmt 0.3.5

2015-06-02 Thread Stefan via Digitalmars-d-announce

On Wednesday, 13 May 2015 at 21:48:49 UTC, Brian Schott wrote:

https://github.com/Hackerpilot/dfmt/releases/tag/v0.3.5

Just bug fixes, nothing exciting.


Just followed the instructions in readme.md, build using make (on 
windows):

make
Error on line 1: '=' is not a valid filename char

using dub:
dub
WARNING: A deprecated branch based version specification is used 
for the dependency libdparse. Please use numbered versions 
instead. Also note that you can still use the dub.selections.json 
file to override a certain dependency to use a branch instead.

Target libdparse ~master is up to date. Use --force to rebuild.
Building dfmt 0.3.5 configuration application, build type debug.
Compiling using dmd...
src\dfmt\ast_info.d(222): Error: no property 'inTokenLocation' 
for type 'const(InStatement)'
src\dfmt\ast_info.d(228): Error: no property 'outTokenLocation' 
for type 'const(OutStatement)'
src\dfmt\formatter.d(1411): Error: @nogc function 
'dfmt.formatter.canFindIndex' cannot call non-@nogc function 
'std.range.assumeSorted!(a  b, const(uint)[]).assumeSorted'
FAIL 
.dub\build\application-debug-windows-x86-dmd_2067-763384B48B77E74727B1D5265C8CF93F\ 
dfmt executable

Error executing command run:
dmd failed with exit code 1.

Any idea?


Re: DConf 2015 has ended. See you in Berlin at DConf 2016!

2015-06-02 Thread Dan Olson via Digitalmars-d-announce
Steven Schveighoffer schvei...@yahoo.com writes:

 On 6/1/15 11:40 AM, Dan Olson wrote:
 Dicebot pub...@dicebot.lv writes:

 - Moving fibers between threads (though there is some hope that Liran
 managed to convince Walter it is a bad idea)

 I am interesting in this one.  What was the decision, that Fibers should
 or should not be allowed to migrate between threads?  Is the discussion
 in one of the recorded talks?


 Walter said that fibers must be movable between threads, it was part
 of the AMA I think (day 1 final talk).

Just listened to it.  I would be interested to know applications
where migrating Fibers across threads is a good thing.  I can imagine
server load balancing over cores.  What else?

The issue I've been tripped up by with migrating Fibers is that compiler
backends like LLVM and GCC do some nice optimizations with thread-locals
on some targets that lead to incorrect code when a Fiber yields and
comes back on a different thread.  To get it right, the compiler would
have to assume that any function call could return on a different
thread.

The solutions I can think of today are to: not optimize (not a good
solution), or have a special compiler switch to not optimize TLS (not
available in backend), or ensure Fibers don't access TLS vars (not sure
how that could be done except by being careful), or don't migrate.
Inlining makes being careful difficult because a function call before
and after a yield may access the same TLS var, and compiler then decides
to cache the TLS address in a register.

I have been prototyping a Fiber check that throws an exception on
targets with this issue, and the developer can override it by setting a
Fiber property, after promising to be careful.

http://forum.dlang.org/thread/onkyxucuuthaqxxbk...@forum.dlang.org#post-m2d223wqa0.fsf:40comcast.net