Re: Some feedback on the website.

2015-12-18 Thread Jacob Carlborg via Digitalmars-d
On 2015-12-17 23:40, Andrei Alexandrescu wrote: We are already using vibe.d for the Phobos page-per-name documentation. As far as I can tell the initiative has been a qualified success. What's left/stopping us from using this as the default documentation? The main problem there is that

Re: D Cannot Be Used for Real Time / Low Latency Systems? - Of course it can!

2015-12-18 Thread ZombineDev via Digitalmars-d
On Thursday, 17 December 2015 at 19:56:32 UTC, Jakob Jenkov wrote: Hi guys, I read from some of the other forum threads that D is being criticized for not being usable for real time / low latency systems because it has a GC. First of all, such system are already being written in Java.

Re: Wishlist for D

2015-12-18 Thread Ola Fosheim Grøstad via Digitalmars-d
On Friday, 18 December 2015 at 02:22:48 UTC, Yota wrote: My biggest wish is to see the design phase of D3 kick off. Ideally, with a big fat label on it saying "Will not be ready for production for at least 5 or 10 years. Your code WILL be broken sooner than later." I feel like D is in a rut

Re: D float types operations vs C++ ones

2015-12-18 Thread Ola Fosheim Gr via Digitalmars-d-learn
On Friday, 18 December 2015 at 07:30:52 UTC, drug wrote: What I mean about order of operations is that if you go a = b*a+c*c + e; the compiler is free to rewrite that as float __tmp0 = a*b; float __tmp1 = c*c; and then do either of float __tmp2 = __tmp0+__tmp1; a = __tmp2 + e; OR float __tmp2

Re: D Cannot Be Used for Real Time / Low Latency Systems? - Of course it can!

2015-12-18 Thread Ola Fosheim Grøstad via Digitalmars-d
On Thursday, 17 December 2015 at 19:56:32 UTC, Jakob Jenkov wrote: So, it's a load of BS that D's GC should somehow make it impossible to make real time / low latency software. D supports most of C (but not all), so it is obviously possible. That's never been the argument. D's low performance

Re: Some feedback on the website.

2015-12-18 Thread John Colvin via Digitalmars-d
On Thursday, 17 December 2015 at 20:21:00 UTC, Adam D. Ruppe wrote: On Thursday, 17 December 2015 at 19:51:19 UTC, Walter Bright wrote: That has nothing to do with Ddoc, and is more about the organization of the files on github. Switching to another framework does nothing for that. Well, I

Re: D could catch this wave: web assembly

2015-12-18 Thread Ola Fosheim Grøstad via Digitalmars-d
On Thursday, 17 December 2015 at 20:22:41 UTC, yawniek wrote: https://hacks.mozilla.org/2015/12/compiling-to-webassembly-its-happening/ Thanks for sharing! This looks promising.

Re: D Cannot Be Used for Real Time / Low Latency Systems? - Of course it can!

2015-12-18 Thread Claude via Digitalmars-d
Bottom line is, if you are competent enough, you can be successfull with D, just like you would be if you were using C/C++. D's superior compile-time meta programming allows you to express zero cost abstractions give you the edge that makes things more enjoyable. There are several

Re: DlangIDE - initial GDB debugger support

2015-12-18 Thread Vadim Lopatin via Digitalmars-d-announce
On Thursday, 17 December 2015 at 08:27:05 UTC, ZombineDev wrote: Initial GDB debugging support is implemented. You can start / stop debugging, set breakpoints, step in/out/over, continue. TODO: stack trace & local variables display As well, following features implemented: - bookmarks in

Re: Some feedback on the website.

2015-12-18 Thread Walter Bright via Digitalmars-d
On 12/17/2015 11:47 PM, Jacob Carlborg wrote: Well, see for yourself [1]. None of the comments are related to the content. The content is the easy part. [1] https://github.com/D-Programming-Language/dlang.org/pull/1039 I did have a look. Most of the PR is code and content, not markup. And

Re: Wishlist for D

2015-12-18 Thread rsw0x via Digitalmars-d
On Friday, 18 December 2015 at 02:22:48 UTC, Yota wrote: On Wednesday, 16 December 2015 at 12:06:17 UTC, Ola Fosheim Grøstad wrote: On Wednesday, 16 December 2015 at 07:41:45 UTC, tsbockman wrote: [...] Good to see that there is some support for a nextgen version of D. :) My biggest wish

Re: Wishlist for D

2015-12-18 Thread Jonas Drewsen via Digitalmars-d
On Tuesday, 1 December 2015 at 16:43:55 UTC, Ozan wrote: Hi We all have experience with several programming languages and the great ideas implemented there. It is close to Xmas The one wish I have is to be able to call stuff directly without needing to import the module (like you can

Re: Trying to build dlang.org - what am I doing wrong

2015-12-18 Thread Sönke Ludwig via Digitalmars-d
Am 17.12.2015 um 09:48 schrieb wobbles: So - the conversation about the website/documentation piqued my interest a bit and I decided to have a go at making the documentation more readable. However, reading the instructions from:

Re: D Cannot Be Used for Real Time / Low Latency Systems? - Of course it can!

2015-12-18 Thread bachmeier via Digitalmars-d
On Friday, 18 December 2015 at 09:19:29 UTC, Ola Fosheim Grøstad wrote: Improvements to D is competing with where C++, Rust and Swift will be in 2-3 years. You have to pick your battles. Right now, fixing the documentation, improving third-party libraries and documentation, C++

Re: Some feedback on the website.

2015-12-18 Thread H. S. Teoh via Digitalmars-d
On Thu, Dec 17, 2015 at 06:50:34PM -0500, Andrei Alexandrescu via Digitalmars-d wrote: [...] > * "Examples:" is a historical error. All instances should be "Example:". > Just one diff making that change throughout would be a meaningful > contribution. [...] I'm pretty sure ddoc'd unittests show

Simple step to making Ddoc better

2015-12-18 Thread Andrei Alexandrescu via Digitalmars-d
There's no better way to find awkwardnesses in a design than trying to explain it to someone. Could someone destroy https://issues.dlang.org/show_bug.cgi?id=15460? Should take minutes. Thanks, Andrei

Re: Silicon Valley D Meetup December 17, 2015

2015-12-18 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 12/17/2015 10:07 PM, Ali Cehreli wrote: On Thursday, 17 December 2015 at 17:41:30 UTC, Ali Çehreli wrote: On 12/12/2015 05:03 PM, Ali Çehreli wrote: Our guest speaker is Steven Schveighoffer. He will present "Mutability wildcards in D":

Re: D Cannot Be Used for Real Time / Low Latency Systems? - Of course it can!

2015-12-18 Thread Ola Fosheim Grøstad via Digitalmars-d
On Friday, 18 December 2015 at 15:01:44 UTC, bachmeier wrote: You have to pick your battles. Exactly. Right now, fixing the documentation, improving third-party libraries and documentation, C++ interoperability, a GC-free standard library, Android support, and various other things are all

Re: Some feedback on the website.

2015-12-18 Thread Ola Fosheim Grøstad via Digitalmars-d
On Friday, 18 December 2015 at 13:15:54 UTC, Andrei Alexandrescu wrote: As I said: a growing number of people able and willing to maintain and improve it. -- Andrei Which would grow "tremendously" if it was using an online interface backed by a database.

Re: We need a good code font for the function signatures on dlang.org

2015-12-18 Thread Sebastiaan Koppe via Digitalmars-d
On Thursday, 17 December 2015 at 21:30:21 UTC, Eric Scrivner wrote: In the interest of "Show Don't Tell", here's what the homepage looks like using the following font string: font-family: Consolas, "Liberation Mono", Courier, monospace Consolas + 1. Hack is too vertical to my taste.

Re: Some feedback on the website.

2015-12-18 Thread Andrei Alexandrescu via Digitalmars-d
On 12/18/2015 10:19 AM, H. S. Teoh via Digitalmars-d wrote: On Thu, Dec 17, 2015 at 06:50:34PM -0500, Andrei Alexandrescu via Digitalmars-d wrote: [...] * "Examples:" is a historical error. All instances should be "Example:". Just one diff making that change throughout would be a meaningful

Re: Some feedback on the website.

2015-12-18 Thread Andrei Alexandrescu via Digitalmars-d
On 12/18/15 3:06 AM, Jacob Carlborg wrote: On 2015-12-17 23:40, Andrei Alexandrescu wrote: We are already using vibe.d for the Phobos page-per-name documentation. As far as I can tell the initiative has been a qualified success. What's left/stopping us from using this as the default

Re: Some feedback on the website.

2015-12-18 Thread Dragos Carp via Digitalmars-d
On Friday, 18 December 2015 at 13:15:54 UTC, Andrei Alexandrescu wrote: On 12/18/15 3:06 AM, Jacob Carlborg wrote: On 2015-12-17 23:40, Andrei Alexandrescu wrote: We are already using vibe.d for the Phobos page-per-name documentation. As far as I can tell the initiative has been a qualified

Unions and CTFE

2015-12-18 Thread Gianni Pisetta via Digitalmars-d
Hi all, i'm coding a parametrized crc implementation that can support most of the standards. I want to make it work with CTFE and i stumbled upon a difficulty when using std.bitmanip.nativeToLittleEndian and std.bitmanip.nativeToBigEndian. The code below is the concept used by EndianSwapper

WIP: http://wiki.dlang.org/Contributing_to_dlang.org#Editing_Content

2015-12-18 Thread Andrei Alexandrescu via Digitalmars-d
I've started http://wiki.dlang.org/Contributing_to_dlang.org. Is this the kind of content that people are looking for? Destroy! -- Andrei

Re: DlangUI

2015-12-18 Thread Suliman via Digitalmars-d-announce
On Thursday, 17 December 2015 at 17:25:09 UTC, Vadim Lopatin wrote: On Thursday, 17 December 2015 at 16:21:58 UTC, John Colvin wrote: DlangUI will never use native controls. It draws all widgets itself. But look and feel can be changed by providing custom theme. You can create theme (set of

Re: DlangUI

2015-12-18 Thread Vadim Lopatin via Digitalmars-d-announce
On Friday, 18 December 2015 at 13:56:00 UTC, Suliman wrote: In general I don't care about that sort of thing, but there is one exception: the main application menu. Unity and Aqua (OS X) both end up feeling odd if you don't use the system one. Completely agree. Once Cocoa backend is ready

Re: Testing Nightly Build Service

2015-12-18 Thread steven kladitis via Digitalmars-d-announce
On Monday, 14 December 2015 at 08:36:27 UTC, Andrea Fontana wrote: On Saturday, 12 December 2015 at 12:08:50 UTC, Martin Nowak wrote: As you might already know from the last sprint review (http://forum.dlang.org/post/56592679.3010604@dawg.), we've setup a server to build nightlies. The service

Re: Simple step to making Ddoc better

2015-12-18 Thread Adam D. Ruppe via Digitalmars-d
On Friday, 18 December 2015 at 16:09:43 UTC, Andrei Alexandrescu wrote: Could someone destroy https://issues.dlang.org/show_bug.cgi?id=15460? Should take minutes. I kinda want to toy with cross referencing too. I have an idea: a magic macro that expands like Object in specified DDoc

Re: Silicon Valley D Meetup December 17, 2015

2015-12-18 Thread Steven Schveighoffer via Digitalmars-d-announce
On 12/18/15 11:01 AM, Andrei Alexandrescu wrote: On 12/17/2015 10:07 PM, Ali Cehreli wrote: On Thursday, 17 December 2015 at 17:41:30 UTC, Ali Çehreli wrote: On 12/12/2015 05:03 PM, Ali Çehreli wrote: Our guest speaker is Steven Schveighoffer. He will present "Mutability wildcards in D":

Re: Simple step to making Ddoc better

2015-12-18 Thread Adam D. Ruppe via Digitalmars-d
On Friday, 18 December 2015 at 16:28:31 UTC, Andrei Alexandrescu wrote: What's needed here is to wrap all raw text in DDOC_RAWTEXT as I BTW I think this is easy and backward compatible, I might just do it anyway, but I don't think it will help here.

Re: Simple step to making Ddoc better

2015-12-18 Thread Sönke Ludwig via Digitalmars-d
Am 18.12.2015 um 17:28 schrieb Andrei Alexandrescu: On 12/18/2015 11:20 AM, Adam D. Ruppe wrote: On Friday, 18 December 2015 at 16:09:43 UTC, Andrei Alexandrescu wrote: Could someone destroy https://issues.dlang.org/show_bug.cgi?id=15460? Should take minutes. I kinda want to toy with cross

[Issue 15460] Ddoc: merge the opening comment "" into the default definition of DDOC

2015-12-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15460 --- Comment #3 from Adam D. Ruppe --- $ make -f posix.mak make -C src -f posix.mak no cpu specified, assuming X86 make[1]: Entering directory `/home/me/d/pull-request-stuff/dmd/src' make[1]: *** No rule to make target

Re: Simple step to making Ddoc better

2015-12-18 Thread Andrei Alexandrescu via Digitalmars-d
On 12/18/2015 11:20 AM, Adam D. Ruppe wrote: On Friday, 18 December 2015 at 16:09:43 UTC, Andrei Alexandrescu wrote: Could someone destroy https://issues.dlang.org/show_bug.cgi?id=15460? Should take minutes. I kinda want to toy with cross referencing too. I have an idea: a magic macro that

[Issue 15460] Ddoc: merge the opening comment "" into the default definition of DDOC

2015-12-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15460 Adam D. Ruppe changed: What|Removed |Added CC|

[Issue 15460] Ddoc: merge the opening comment "" into the default definition of DDOC

2015-12-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15460 --- Comment #2 from Andrei Alexandrescu --- (In reply to Adam D. Ruppe from comment #1) > This is the code that does it: > > buf.printf("$(DDOC_COMMENT Generated by Ddoc from %s)\n", m.srcfile. > toChars()); > > > You could

Re: D Cannot Be Used for Real Time / Low Latency Systems? - Of course it can!

2015-12-18 Thread bachmeier via Digitalmars-d
On Friday, 18 December 2015 at 15:09:05 UTC, Ola Fosheim Grøstad wrote: Focusing on an application area that has low coverage in competing languages is essential for fast growth. Which is why a language like Julia is growing. That's why I'm working on embedding R inside D (almost done).

Re: Silicon Valley D Meetup December 17, 2015

2015-12-18 Thread Ali Çehreli via Digitalmars-d-announce
On 12/18/2015 08:01 AM, Andrei Alexandrescu wrote: Our guest speaker is Steven Schveighoffer. He will present "Mutability wildcards in D": http://www.meetup.com/D-Lang-Silicon-Valley/events/226112281/ > How was it? -- Andrei It was excellent! We learned what inout actually

[Issue 15460] Ddoc: merge the opening comment "" into the default definition of DDOC

2015-12-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15460 --- Comment #5 from Andrei Alexandrescu --- (In reply to Adam D. Ruppe from comment #4) > well looks like i had to make clean because I had stuff left over from when > it was still C++ for last time I did a ddoc PR. > > But

[Issue 14608] Enum members should be formatted as a table

2015-12-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14608 Sönke Ludwig changed: What|Removed |Added CC|

Re: Simple step to making Ddoc better

2015-12-18 Thread Sönke Ludwig via Digitalmars-d
Am 18.12.2015 um 17:48 schrieb Adam D. Ruppe: On Friday, 18 December 2015 at 16:42:14 UTC, Sönke Ludwig wrote: * Currently it looks at all words in a text to find symbols, but once the documentation is adjusted accordingly, it would be switched to just look within `code` or $(D code) parts.

Re: Simple step to making Ddoc better

2015-12-18 Thread Andrei Alexandrescu via Digitalmars-d
On 12/18/2015 11:44 AM, Adam D. Ruppe wrote: On Friday, 18 December 2015 at 16:28:31 UTC, Andrei Alexandrescu wrote: What's needed here is to wrap all raw text in DDOC_RAWTEXT as I BTW I think this is easy and backward compatible, I might just do it anyway, but I don't think it will help

Re: Unions and CTFE

2015-12-18 Thread Jimmy Cao via Digitalmars-d
On Friday, 18 December 2015 at 14:30:25 UTC, Gianni Pisetta wrote: Hi all, i'm coding a parametrized crc implementation that can support most of the standards. I want to make it work with CTFE and i stumbled upon a difficulty when using std.bitmanip.nativeToLittleEndian and

[Issue 15460] Ddoc: merge the opening comment "" into the default definition of DDOC

2015-12-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15460 --- Comment #7 from Adam D. Ruppe --- The auto tester cares about the exact bytes ddoc puts out?!?! Looks like it is failing because there's a space... but I didn't change the spaces... must be the change of new lines.

Re: Simple step to making Ddoc better

2015-12-18 Thread Adam D. Ruppe via Digitalmars-d
On Friday, 18 December 2015 at 16:28:31 UTC, Andrei Alexandrescu wrote: What's needed here is to wrap all raw text in DDOC_RAWTEXT as I proposed a few days ago. Then external tooling makes cross referencing trivial. Wanna work on that? -- Andrei I don't agree that would help - what I want is

Re: Simple step to making Ddoc better

2015-12-18 Thread Adam D. Ruppe via Digitalmars-d
On Friday, 18 December 2015 at 16:42:14 UTC, Sönke Ludwig wrote: * Currently it looks at all words in a text to find symbols, but once the documentation is adjusted accordingly, it would be switched to just look within `code` or $(D code) parts. What about examples and prototypes? That

Re: D Cannot Be Used for Real Time / Low Latency Systems? - Of course it can!

2015-12-18 Thread Jakob Jenkov via Digitalmars-d
Thanks for the comments everyone! I learn a lot from this D forum alone. I have been encaged in the Java world for too long. Great to get some input from other languages / eco systems. Not that I'll drop Java immediately, but I can definitely see how D can supplement Java in our systems.

[Issue 15460] Ddoc: merge the opening comment "" into the default definition of DDOC

2015-12-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15460 Vladimir Panteleev changed: What|Removed |Added CC|

[Issue 15460] Ddoc: merge the opening comment "" into the default definition of DDOC

2015-12-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15460 --- Comment #6 from Adam D. Ruppe --- https://github.com/D-Programming-Language/dmd/pull/5313 BTW for anyone reading this, the ddoc generator is actually pretty simple code. --

[Issue 15460] Ddoc: merge the opening comment "" into the default definition of DDOC

2015-12-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15460 --- Comment #4 from Adam D. Ruppe --- well looks like i had to make clean because I had stuff left over from when it was still C++ for last time I did a ddoc PR. But still, ugh. --

[Issue 15459] stdin.byLine.each!(map!somefunc) compiles, fails to link with ld

2015-12-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15459 ZombineDev changed: What|Removed |Added Keywords||accepts-invalid

[Issue 15459] stdin.byLine.each!(map!somefunc) compiles, fails to link with ld

2015-12-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15459 ZombineDev changed: What|Removed |Added CC|

Re: View Expanded Templates?

2015-12-18 Thread Ali Çehreli via Digitalmars-d-learn
On 12/18/2015 10:54 AM, Taylor Hillegeist wrote: > pragma(msg, code_generation_function()) > > > simple + awesome. Yes, and perhaps unittest blocks: unittest { assert(makeCode("foo") == "int foo = 42;"); } Unfortunately, neither works with template mixins or regular templates. Ali

Re: Testing Nightly Build Service

2015-12-18 Thread John Colvin via Digitalmars-d-announce
On Friday, 18 December 2015 at 15:42:32 UTC, steven kladitis wrote: On Monday, 14 December 2015 at 08:36:27 UTC, Andrea Fontana wrote: On Saturday, 12 December 2015 at 12:08:50 UTC, Martin Nowak wrote: As you might already know from the last sprint review

Re: Simple step to making Ddoc better

2015-12-18 Thread Adam D. Ruppe via Digitalmars-d
On Friday, 18 December 2015 at 16:55:58 UTC, Andrei Alexandrescu wrote: You are correct, I was being confused about your point. And yes DDOC_RAWTEXT is backward compatible and useful. Thanks!! -- Andrei Eh, it isn't as easy as I thought though because everything in ddoc is inside a macro at

Re: D Cannot Be Used for Real Time / Low Latency Systems? - Of course it can!

2015-12-18 Thread Ola Fosheim Grøstad via Digitalmars-d
On Friday, 18 December 2015 at 16:59:54 UTC, bachmeier wrote: That's why I'm working on embedding R inside D (almost done). I've suffered for years with all the problems that are making Julia popular. I just felt D was a better choice. I think the draw towards Julia is long term rather than

Re: Unions and CTFE

2015-12-18 Thread Gianni Pisetta via Digitalmars-d
On Friday, 18 December 2015 at 17:21:39 UTC, Jimmy Cao wrote: On Friday, 18 December 2015 at 14:30:25 UTC, Gianni Pisetta wrote: Hi all, i'm coding a parametrized crc implementation that can support most of the standards. I want to make it work with CTFE and i stumbled upon a difficulty when

View Expanded Templates?

2015-12-18 Thread Taylor Hillegeist via Digitalmars-d-learn
Is it possible to view the expanded form of templates or perhaps view the post-ctfe pre-compiled d code? I couldn't find any information on this topic but I think it would be useful. sometimes I use templates/mixins to write code for me but, sometimes i would rather have the expanded functions

Re: Simple step to making Ddoc better

2015-12-18 Thread Adam D. Ruppe via Digitalmars-d
On Friday, 18 December 2015 at 16:57:44 UTC, Sönke Ludwig wrote: Agreed, do you have concrete ideas? I think white space in the declaration would make a huge difference, and your page does that already somewhat, putting the params on separate lines. Here's the ddoc definition for

Re: View Expanded Templates?

2015-12-18 Thread Adam D. Ruppe via Digitalmars-d-learn
On Friday, 18 December 2015 at 18:25:03 UTC, Taylor Hillegeist wrote: Is it possible to view the expanded form of templates or perhaps view the post-ctfe pre-compiled d code? I couldn't find any information on this topic but I think it would be useful. sometimes I use templates/mixins to write

Error message improvement ideas

2015-12-18 Thread Adam D. Ruppe via Digitalmars-d
I really want the compiler to be more specific about what worked and what didn't in error messages. Check this out. --- void foo(int a, string b) {} void foo(string b) {} void main() { foo(10.2, "foo"); } --- k.d(5): Error: None of the overloads of 'foo' are callable using argument

Re: Silicon Valley D Meetup December 17, 2015

2015-12-18 Thread Ali Çehreli via Digitalmars-d-announce
On 12/18/2015 11:15 AM, Jon D wrote: > On Friday, 18 December 2015 at 16:01:48 UTC, Andrei Alexandrescu wrote: >> On 12/17/2015 10:07 PM, Ali Cehreli wrote: >>> On Thursday, 17 December 2015 at 17:41:30 UTC, Ali Çehreli wrote: On 12/12/2015 05:03 PM, Ali Çehreli wrote: > Our guest

Re: Silicon Valley D Meetup December 17, 2015

2015-12-18 Thread Jon D via Digitalmars-d-announce
On Friday, 18 December 2015 at 16:01:48 UTC, Andrei Alexandrescu wrote: On 12/17/2015 10:07 PM, Ali Cehreli wrote: On Thursday, 17 December 2015 at 17:41:30 UTC, Ali Çehreli wrote: On 12/12/2015 05:03 PM, Ali Çehreli wrote: Our guest speaker is Steven Schveighoffer. He will present

Re: D float types operations vs C++ ones

2015-12-18 Thread Ali Çehreli via Digitalmars-d-learn
On 12/18/2015 12:19 AM, Ola Fosheim Gr wrote: On Friday, 18 December 2015 at 07:30:52 UTC, drug wrote: What I mean about order of operations is that if you go a = b*a+c*c + e; the compiler is free to rewrite that as float __tmp0 = a*b; float __tmp1 = c*c; and then do either of float __tmp2 =

Re: Silicon Valley D Meetup December 17, 2015

2015-12-18 Thread Steven Schveighoffer via Digitalmars-d-announce
On 12/18/15 2:15 PM, Jon D wrote: On Friday, 18 December 2015 at 16:01:48 UTC, Andrei Alexandrescu wrote: On 12/17/2015 10:07 PM, Ali Cehreli wrote: On Thursday, 17 December 2015 at 17:41:30 UTC, Ali Çehreli wrote: On 12/12/2015 05:03 PM, Ali Çehreli wrote: Our guest speaker is Steven

"Programming in D" hardcover edition

2015-12-18 Thread Ali Çehreli via Digitalmars-d-announce
Thanks to Steven E., an Amazon commenter on the paperback book[1], now the hardcover is available under ISBN 978-0-692-59943-3. As of this writing, there is just one Google hit but the following site (no affiliation) finds it at several stores:

Re: Some feedback on the website.

2015-12-18 Thread JohnCK via Digitalmars-d
On Friday, 18 December 2015 at 01:17:26 UTC, JohnCK wrote: On Friday, 18 December 2015 at 00:43:11 UTC, H. S. Teoh wrote: ... I find the online forum interface klunky and inefficient to use (though most would disagree), One thing that bothers me sometimes is the waste of space, as you can

[Issue 15460] Ddoc: merge the opening comment "" into the default definition of DDOC

2015-12-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15460 --- Comment #10 from Adam D. Ruppe --- Please document the test system and link it from here: http://wiki.dlang.org/Starting_as_a_Contributor This change was not intentional btw, I don't understand why the test ever

[Issue 15460] Ddoc: merge the opening comment "" into the default definition of DDOC

2015-12-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15460 --- Comment #9 from Andrei Alexandrescu --- (In reply to Vladimir Panteleev from comment #8) > (In reply to Adam D. Ruppe from comment #7) > > [trim pointless rant] > > Some of the tests are only there to make sure the output

Re: View Expanded Templates?

2015-12-18 Thread Taylor Hillegeist via Digitalmars-d-learn
On Friday, 18 December 2015 at 18:35:40 UTC, Adam D. Ruppe wrote: On Friday, 18 December 2015 at 18:25:03 UTC, Taylor Hillegeist wrote: Is it possible to view the expanded form of templates or perhaps view the post-ctfe pre-compiled d code? I couldn't find any information on this topic but I

[Issue 15461] New: std.stdio.File ctor that accepts `FILE*` should not be hidden

2015-12-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15461 Issue ID: 15461 Summary: std.stdio.File ctor that accepts `FILE*` should not be hidden Product: D Version: D2 Hardware: All OS: Linux Status: NEW

[Issue 15461] std.stdio.File ctor that accepts `FILE*` should not be hidden

2015-12-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15461 Ketmar Dark changed: What|Removed |Added CC|

Re: D Cannot Be Used for Real Time / Low Latency Systems? - Of course it can!

2015-12-18 Thread Barry L. via Digitalmars-d
On Thursday, 17 December 2015 at 19:56:32 UTC, Jakob Jenkov wrote: Hi guys, I read from some of the other forum threads that D is being criticized for not being usable for real time / low latency systems because it has a GC. First of all, such system are already being written in Java.

Re: We need a good code font for the function signatures on dlang.org

2015-12-18 Thread Jack Stouffer via Digitalmars-d
On Wednesday, 16 December 2015 at 23:25:01 UTC, Andrei Alexandrescu wrote: On that note: Andrei, how do I get in contact with whoever runs the server to get that going? Jan Knepper is our webmaster. You can find his contact info at https://www.janknepper.com/. It seems his email server is

Scope of D packages

2015-12-18 Thread Jakob Jenkov via Digitalmars-d-learn
I'm coming from Java where "packages" are not that much more than directories. Each class can be exposed or hidden inside a package etc. In Java it is common that an API consists of many packages and subpackages. All classes are simply wrapped up in a JAR (Zip) file, and then they can be

Re: D programming video tutorial

2015-12-18 Thread Stefan Koch via Digitalmars-d-learn
I have a few videos on about D on YT. But those are ... well suboptimal. I will probably talk a bit about SDC... when time permits

Re: Scope of D packages

2015-12-18 Thread Jakob Jenkov via Digitalmars-d-learn
To be exact it doesn't need the sources, it needs the function signatures and type definitions so the equivalent of C header files. If you don't want to share the full sources with your library you can generate those header files automatically using the -H flag in dmd. It will produce a "D

Re: Scope of D packages

2015-12-18 Thread cym13 via Digitalmars-d-learn
On Saturday, 19 December 2015 at 00:52:40 UTC, Jakob Jenkov wrote: To be exact it doesn't need the sources, it needs the function signatures and type definitions so the equivalent of C header files. If you don't want to share the full sources with your library you can generate those header

[Issue 15460] Ddoc: merge the opening comment "" into the default definition of DDOC

2015-12-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15460 Ali Cehreli changed: What|Removed |Added CC||acehr...@yahoo.com ---

Re: We need a good code font for the function signatures on dlang.org

2015-12-18 Thread Walter Bright via Digitalmars-d
On 12/16/2015 3:22 PM, Andrei Alexandrescu wrote: Preferably a nice one. -- Andrei I prefer bad ones. -- Walter

Re: We need a good code font for the function signatures on dlang.org

2015-12-18 Thread Walter Bright via Digitalmars-d
On 12/16/2015 1:05 PM, Andrei Alexandrescu wrote: I was looking at https://github.com/D-Programming-Language/dlang.org/pull/1169 and that bold sans serif proportional text for the code is just... well let's say it's time to replace it. I've always hated proportional fonts for code, so much

Re: Problems with string literals and etc.c.odbc.sql functions

2015-12-18 Thread Fer22f via Digitalmars-d-learn
On Friday, 18 December 2015 at 22:18:34 UTC, Adam D. Ruppe wrote: That's what the examples on MSDN do too though, a cast. At first I thought the binding was missing a const, but the ODBC docs don't specify it as const either and cast. The ODBC functions also have a size parameter for string

Re: Scope of D packages

2015-12-18 Thread cym13 via Digitalmars-d-learn
On Saturday, 19 December 2015 at 00:09:16 UTC, Basile B. wrote: On Friday, 18 December 2015 at 23:20:34 UTC, Jakob Jenkov wrote: I'm coming from Java where "packages" are not that much more than directories. Each class can be exposed or hidden inside a package etc. In Java it is common that

Re: WIP: http://wiki.dlang.org/Contributing_to_dlang.org#Editing_Content

2015-12-18 Thread Andrei Alexandrescu via Digitalmars-d
On 12/18/15 10:51 AM, Andrei Alexandrescu wrote: I've started http://wiki.dlang.org/Contributing_to_dlang.org. Is this the kind of content that people are looking for? Destroy! -- Andrei OK, it's in reviewable form now. DEFILE IT! http://wiki.dlang.org/Contributing_to_dlang.org Andrei

[Issue 15460] New: Ddoc: merge the opening comment "" into the default definition of DDOC

2015-12-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15460 Issue ID: 15460 Summary: Ddoc: merge the opening comment "" into the default definition of DDOC Product: D Version: D2 Hardware: All OS: All Status:

Re: Scope of D packages

2015-12-18 Thread Basile B. via Digitalmars-d-learn
On Friday, 18 December 2015 at 23:20:34 UTC, Jakob Jenkov wrote: I'm coming from Java where "packages" are not that much more than directories. Each class can be exposed or hidden inside a package etc. In Java it is common that an API consists of many packages and subpackages. All classes

Re: Problems with string literals and etc.c.odbc.sql functions

2015-12-18 Thread Fer22f via Digitalmars-d-learn
On Friday, 18 December 2015 at 22:35:04 UTC, anonymous wrote: If the parameter is de facto const, then the cast is ok. Though, maybe it should be marked const then. I'm just worried about casts because I read somewhere that strings start with the number of characters inside them (probably in

Re: D Cannot Be Used for Real Time / Low Latency Systems? - Of course it can!

2015-12-18 Thread Carl Sturtivant via Digitalmars-d
On Friday, 18 December 2015 at 16:59:54 UTC, bachmeier wrote: On Friday, 18 December 2015 at 15:09:05 UTC, Ola Fosheim Grøstad wrote: That's why I'm working on embedding R inside D (almost done). Very interesting, I've been considering the same recently, so I'm happy to hear about this. Is

Re: View Expanded Templates?

2015-12-18 Thread Stefan Koch via Digitalmars-d-learn
On Friday, 18 December 2015 at 18:25:03 UTC, Taylor Hillegeist wrote: Is it possible to view the expanded form of templates or perhaps view the post-ctfe pre-compiled d code? I couldn't find any information on this topic but I think it would be useful. sometimes I use templates/mixins to write

Re: We need a good code font for the function signatures on dlang.org

2015-12-18 Thread Andrei Alexandrescu via Digitalmars-d
On 12/18/2015 04:06 PM, Jack Stouffer wrote: On Thursday, 17 December 2015 at 13:59:14 UTC, Andrei Alexandrescu wrote: On 12/17/2015 03:07 AM, Mike Parker wrote: On Wednesday, 16 December 2015 at 21:05:27 UTC, Andrei Alexandrescu wrote: What would be a good code font to use for those?

Re: We need a good code font for the function signatures on dlang.org

2015-12-18 Thread Jack Stouffer via Digitalmars-d
On Friday, 18 December 2015 at 21:15:48 UTC, Andrei Alexandrescu wrote: rigged referendums Huh?

DUB config format: SDLang or JSON?

2015-12-18 Thread Jakob Jenkov via Digitalmars-d-learn
I am just looking at DUB and I can read that there are two config formats: SDLang and JSON. Which one is the "new" format? Which one is the "future" of DUB?

Re: DUB config format: SDLang or JSON?

2015-12-18 Thread Brad Anderson via Digitalmars-d-learn
On Friday, 18 December 2015 at 22:30:00 UTC, Jakob Jenkov wrote: I am just looking at DUB and I can read that there are two config formats: SDLang and JSON. Which one is the "new" format? Which one is the "future" of DUB? SDLang is the new one. JSON will remain supported. Use whichever you

Re: D Cannot Be Used for Real Time / Low Latency Systems? - Of course it can!

2015-12-18 Thread bachmeier via Digitalmars-d
On Friday, 18 December 2015 at 21:26:16 UTC, Carl Sturtivant wrote: On Friday, 18 December 2015 at 16:59:54 UTC, bachmeier wrote: On Friday, 18 December 2015 at 15:09:05 UTC, Ola Fosheim Grøstad wrote: That's why I'm working on embedding R inside D (almost done). Very interesting, I've been

Re: We need a good code font for the function signatures on dlang.org

2015-12-18 Thread Andrei Alexandrescu via Digitalmars-d
On 12/18/15 4:19 PM, Jack Stouffer wrote: On Friday, 18 December 2015 at 21:15:48 UTC, Andrei Alexandrescu wrote: rigged referendums Huh? Forgot the smiley - you know, all that online voting that swung wildly which every way. -- Andrei

Problems with string literals and etc.c.odbc.sql functions

2015-12-18 Thread Fer22f via Digitalmars-d-learn
By the use of this tutorial (http://www.easysoft.com/developer/languages/c/odbc_tutorial.html), I thought it would be very straightforward to use etc.c.odbc.sqlext and etc.c.odbc.sql to create a simple odbc application. But as soon as I started, I noticed a quirk: SQLRETURN ret; SQLHDBC

Re: Problems with string literals and etc.c.odbc.sql functions

2015-12-18 Thread anonymous via Digitalmars-d-learn
On 18.12.2015 23:14, Fer22f wrote: By the use of this tutorial (http://www.easysoft.com/developer/languages/c/odbc_tutorial.html), I thought it would be very straightforward to use etc.c.odbc.sqlext and etc.c.odbc.sql to create a simple odbc application. But as soon as I started, I noticed a

Re: D programming video tutorial

2015-12-18 Thread Jakob Jenkov via Digitalmars-d-learn
I have written more than 750 tutorials about Java ... and web development and other related stuff. Not only Java.

Re: D programming video tutorial

2015-12-18 Thread Jakob Jenkov via Digitalmars-d-learn
On Sunday, 13 December 2015 at 20:29:47 UTC, Pederator wrote: Hi. Does anybody who is familair with D consider to make a comprehensive D programming video tutorial / training / course? This could be encouraging and helpful for people to start with D. It could also help in promoting D

Re: We need a good code font for the function signatures on dlang.org

2015-12-18 Thread Jack Stouffer via Digitalmars-d
On Thursday, 17 December 2015 at 13:59:14 UTC, Andrei Alexandrescu wrote: On 12/17/2015 03:07 AM, Mike Parker wrote: On Wednesday, 16 December 2015 at 21:05:27 UTC, Andrei Alexandrescu wrote: What would be a good code font to use for those? http://sourcefoundry.org/hack/ Could someone

  1   2   >