Re: Why ElementType!(char[3]) == dchar instead of char?

2015-09-01 Thread drug via Digitalmars-d-learn
My case is I don't know what type user will be using, because I write a library. What's the best way to process char[..] in this case?

Re: Who can persuade Markus Persson to give money to the foundation?

2015-09-01 Thread Gary Willoughby via Digitalmars-d
On Tuesday, 1 September 2015 at 15:09:33 UTC, Rikki Cattermole wrote: Can we please leave him alone. He's not in a good state right now, mentally. What's happened?

[Issue 14999] Out of memory when compiling vibe.d

2015-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14999 --- Comment #1 from Răzvan Ștefănescu --- Forgot the version: D2 2.068.0 Compiles successfully with D2 2.067.0 --

Re: Role of D in Python and performance computing [was post on using go 1.5 and GC latency]

2015-09-01 Thread jmh530 via Digitalmars-d-learn
On Tuesday, 25 August 2015 at 05:12:55 UTC, Laeeth Isharc wrote: What's the best reference to learn more about PGAS? I've seen a few presentations, https://www.osc.edu/sites/osc.edu/files/staff_files/dhudak/pgas-tutorial.pdf

Re: Dazz new description for D

2015-09-01 Thread Dmitry Olshansky via Digitalmars-d
On 01-Sep-2015 22:00, data man wrote: A deficient in vitamin D causes a softening of the brains. My favorite so far ;) -- Dmitry Olshansky

Re: Scoped Imports for Structs/Classes/Template Constraints

2015-09-01 Thread Enamex via Digitalmars-d-learn
On Tuesday, 1 September 2015 at 15:50:40 UTC, jmh530 wrote: I'm following some of your post, but not quite all of it (particularly the part at the end, and I also think static imports can't be selective). Anyway, I was thinking about something like below as one possible alternative struct T

Re: Who can persuade Markus Persson to give money to the foundation?

2015-09-01 Thread Jack Stouffer via Digitalmars-d
On Tuesday, 1 September 2015 at 18:27:43 UTC, Gary Willoughby wrote: On Tuesday, 1 September 2015 at 15:09:33 UTC, Rikki Cattermole wrote: Can we please leave him alone. He's not in a good state right now, mentally. What's happened? He's depressed because he can't act like a normal person

Re: Possible solution for export : `unittest export`?

2015-09-01 Thread deadalnix via Digitalmars-d
On Tuesday, 1 September 2015 at 18:25:06 UTC, H. S. Teoh wrote: That would explain why GUI apps tend to be buggy and unreliable, and RNGs tend to have unintended biases. No, actually, GUIs should be written to be testable (e.g., input should be abstracted via dependency injection so that GUI

Re: Possible solution for export : `unittest export`?

2015-09-01 Thread deadalnix via Digitalmars-d
On Tuesday, 1 September 2015 at 17:35:23 UTC, Jonathan M Davis wrote: On Tuesday, 1 September 2015 at 15:10:28 UTC, Dominikus Dittes Scherkl wrote: On Tuesday, 1 September 2015 at 12:55:11 UTC, Benjamin Thaut wrote: While your proposal sounds interresting to start with I don't like some of the

Re: Possible solution for export : `unittest export`?

2015-09-01 Thread deadalnix via Digitalmars-d
Ok I get it. I'm not sure that is the right way forward. The same problem arrise for devirtualization and the solution does not cover it. That is a problem. First I'd like to have more compiler checks on template bodies. Andrei and Walter are not super happy with it, but deep down I do think

Re: Dazz new description for D

2015-09-01 Thread Enamex via Digitalmars-d
On Monday, 31 August 2015 at 07:57:46 UTC, wobbles wrote: I'd remove the "joy to write and easy to maintain" bit. That's personal opinion. Could use the "Systems scripting with native performance" as a tag line though. It's nice! My, slightly altered, version: D is a multiparadigm

Re: dmd codegen improvements

2015-09-01 Thread via Digitalmars-d
On Tuesday, 1 September 2015 at 17:14:44 UTC, Jonathan M Davis wrote: One of the first projects I used D for was back in college a number of years ago where I got sick of some of the issues I was having with C++ and went with D because it gave me stuff like array bounds checking. I was using

Re: Possible solution for export : `unittest export`?

2015-09-01 Thread H. S. Teoh via Digitalmars-d
On Tue, Sep 01, 2015 at 06:14:05PM +, deadalnix via Digitalmars-d wrote: > On Tuesday, 1 September 2015 at 17:35:23 UTC, Jonathan M Davis wrote: [...] > >Yeah, any arguments which are basically saying that you need a > >feature because you shouldn't have to have 100% code coverage is > >going

Re: Dazz new description for D

2015-09-01 Thread data man via Digitalmars-d
A deficient in vitamin D causes a softening of the brains.

Re: Dazz new description for D

2015-09-01 Thread Daniel Kozak via Digitalmars-d
Dne 1.9.2015 v 21:13 Dmitry Olshansky via Digitalmars-d napsal(a): On 01-Sep-2015 22:00, data man wrote: A deficient in vitamin D causes a softening of the brains. My favorite so far ;) Sames here :)

[Issue 14999] New: Out of memory when compiling vibe.d

2015-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14999 Issue ID: 14999 Summary: Out of memory when compiling vibe.d Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: regression

Re: Why ElementType!(char[3]) == dchar instead of char?

2015-09-01 Thread Justin Whear via Digitalmars-d-learn
On Tue, 01 Sep 2015 19:40:24 +0300, drug wrote: > I'm just trying to automatically convert D types to hdf5 types so I > guess char[..] isn't obligatory some form of UTF-8 encoded text. Or I > should treat it so? Because of D's autodecoding it can be problematic to assume UTF-8 if other

[Issue 14861] Error in stdio.d in LockingTextReader.readFront()

2015-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14861 ag0ae...@gmail.com changed: What|Removed |Added Keywords||pull CC|

Re: dmd codegen improvements

2015-09-01 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, 1 September 2015 at 16:05:43 UTC, Kagamin wrote: On Saturday, 29 August 2015 at 14:44:01 UTC, Casual D user wrote: D is advertised as a system's language, but most of the built-in language features require the GC so you might as well just use C if you can't use the GC. Are you

Re: Appenders and Arrays

2015-09-01 Thread Steven Schveighoffer via Digitalmars-d-learn
On 9/1/15 12:49 PM, default0 wrote: Hello A simple thing I stumbled across: int main() { import std.stdio; import std.range; int[] d; d ~= 10; d ~= 20; d.put(5); writeln(d); return 0; } Appenders work fine as output ranges, but arrays do not. The

Re: Appenders and Arrays

2015-09-01 Thread default0 via Digitalmars-d-learn
On Tuesday, 1 September 2015 at 17:20:49 UTC, Steven Schveighoffer wrote: On 9/1/15 12:49 PM, default0 wrote: Hello A simple thing I stumbled across: int main() { import std.stdio; import std.range; int[] d; d ~= 10; d ~= 20; d.put(5); writeln(d);

Re: Beta D 2.068.1-b2

2015-09-01 Thread Jacob Carlborg via Digitalmars-d-announce
On 2015-09-01 15:40, Steven Schveighoffer wrote: I'm not 100% sure, but that does seem like a bug. You should be able to completely mask toString from a base class if you don't specify override IMO. Hmm, I'm not sure. This overloads toString. I'm assuming the minimal case is just toString?

[Issue 14998] New: Cannot put a char into a char[]

2015-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14998 Issue ID: 14998 Summary: Cannot put a char into a char[] Product: D Version: D2 Hardware: Other OS: Other Status: NEW Severity: enhancement Priority:

Re: Possible solution for export : `unittest export`?

2015-09-01 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, 1 September 2015 at 15:10:28 UTC, Dominikus Dittes Scherkl wrote: On Tuesday, 1 September 2015 at 12:55:11 UTC, Benjamin Thaut wrote: While your proposal sounds interresting to start with I don't like some of the implications: 1) You force people to write unittest. If people don't

Re: Who can persuade Markus Persson to give money to the foundation?

2015-09-01 Thread deadalnix via Digitalmars-d
On Tuesday, 1 September 2015 at 15:09:33 UTC, Rikki Cattermole wrote: On 02/09/15 12:38 AM, FrankLike wrote: His wiki is here : https://en.wikipedia.org/wiki/Markus_Persson Who can do it ,who will be our Hero. Can we please leave him alone. He's not in a good state right now, mentally. +1

Re: Appenders and Arrays

2015-09-01 Thread Daniel Kozak via Digitalmars-d-learn
Dne 1.9.2015 v 19:20 Steven Schveighoffer via Digitalmars-d-learn napsal(a): On 9/1/15 12:49 PM, default0 wrote: Hello A simple thing I stumbled across: int main() { import std.stdio; import std.range; int[] d; d ~= 10; d ~= 20; d.put(5); writeln(d);

Re: Beta D 2.068.1-b2

2015-09-01 Thread Jacob Carlborg via Digitalmars-d-announce
On 2015-09-01 15:40, Steven Schveighoffer wrote: I'm not 100% sure, but that does seem like a bug. I see now that there's a deprecation message when compiling with 2.067.0. So it looks like it's intended. -- /Jacob Carlborg

Re: Beta D 2.068.1-b2

2015-09-01 Thread Jacob Carlborg via Digitalmars-d-announce
On 2015-09-01 15:40, Steven Schveighoffer wrote: I'm not 100% sure, but that does seem like a bug. You should be able to completely mask toString from a base class if you don't specify override IMO. Perhaps we need an explicit way to tell the compile we want to hide a method in the base

[Issue 14989] New: Overload merge sometimes doesn't work

2015-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14989 Issue ID: 14989 Summary: Overload merge sometimes doesn't work Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: rejects-valid

[Issue 14861] Error in stdio.d in LockingTextReader.readFront()

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

Re: Beta D 2.068.1-b2

2015-09-01 Thread Rory McGuire via Digitalmars-d-announce
On Tue, Sep 1, 2015 at 8:34 AM, Jacob Carlborg via Digitalmars-d-announce < digitalmars-d-announce@puremagic.com> wrote: > On 2015-08-31 08:01, Martin Nowak wrote: > >> First beta for the 2.068.1 point release (we skipped -b1 due to a bug). >> > > Here's a piece of code that used to compile in

[Issue 14986] [REG2.068.1-b2] Assertion failed: (id->dyncast() == DYNCAST_DSYMBOL)

2015-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14986 --- Comment #7 from Jacob Carlborg --- Thanks for the quick fix. --

[Issue 14988] Looks like inconsistent error report for the pointless in-contract definition

2015-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14988 Jacob Carlborg changed: What|Removed |Added CC||d...@me.com --- Comment #1

Re: Has anyone every successfully built a cross-compiler for the Nintendo DS?

2015-09-01 Thread Jacob Carlborg via Digitalmars-d
On 2015-08-31 19:19, Meta wrote: I seem to remember that at one point somebody was working on compiling D to run on the Nintendo DS, but I can't find mention anywhere of it now. Did someone actually manage to get this working or am I just imagining things? I'm pretty sure someone back in the

[Issue 14989] Overload merge sometimes doesn't work

2015-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14989 Kenji Hara changed: What|Removed |Added Keywords||pull --- Comment #1 from

[Issue 14866] Unable to find universal runtime static libraries on windows 10 and VS 2015

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

[Issue 14849] Visual Studio 2015 not detected during installation

2015-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14849 Vladimir Panteleev changed: What|Removed |Added See Also|

Re: Dynamic arrays

2015-09-01 Thread qznc via Digitalmars-d-announce
On Monday, 31 August 2015 at 22:03:07 UTC, jmh530 wrote: In general, I find myself very easily getting mixed up by the syntax of the static vs. dynamic arrays. For instance, compare int[] x = new int[3]; int[3] y = new int[3]; auto z = new int[3]; x and y are obviously dynamic and static

[Issue 14841] Don't warn on myArray.sort when it makes no difference

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

[Issue 14841] Don't warn on myArray.sort when it makes no difference

2015-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14841 Dmitry Olshansky changed: What|Removed |Added CC|

[Issue 14868] MmFile destructor seems to corrupt memory

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

[Issue 14990] New: No rule to make target `src/core/sys/windows/stdio_msvc12.d', needed by 'druntime.zip'.

2015-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14990 Issue ID: 14990 Summary: No rule to make target `src/core/sys/windows/stdio_msvc12.d', needed by 'druntime.zip'. Product: D Version: D2 Hardware: All

Re: user narratives and communicating the benefit of D to the enterprise

2015-09-01 Thread Joakim via Digitalmars-d
On Monday, 31 August 2015 at 23:58:51 UTC, Laeeth Isharc wrote: So we should somewhere get to a place where we highlight these kinds of success stories for D in a living way, and use appropriate channels to make people aware of them. I think dlang.org should have an about page, that includes

Re: Beta D 2.068.1-b2

2015-09-01 Thread Jacob Carlborg via Digitalmars-d-announce
On 2015-08-31 08:01, Martin Nowak wrote: First beta for the 2.068.1 point release (we skipped -b1 due to a bug). Here's a piece of code that used to compile in 2.067.0 but not in 2.068.0: class UniText { abstract const char[] toString (char[] dst = null); abstract const wchar[]

[Issue 14833] Nested delegates problem

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

[Issue 14833] [REG2.065] Nested delegates problem

2015-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14833 Vladimir Panteleev changed: What|Removed |Added Summary|Nested delegates problem|[REG2.065]

[Issue 14799] Documentation for std.zlib.compress is incorrect

2015-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14799 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 14799] Documentation for std.zlib.compress is incorrect

2015-09-01 Thread via Digitalmars-d-bugs
- Documentation for std.zlib.compress is incorrect https://github.com/D-Programming-Language/phobos/commit/5f165ae4eeac55b909ab2a10feda1434c7c40b74 Merge pull request #3618 from CyberShadow/pull-20150901-053959 fix Issue 14799 - Documentation for std.zlib.compress is incorrect --

Re: Array initialization with Struct templates

2015-09-01 Thread Ali Çehreli via Digitalmars-d-learn
On 08/31/2015 08:55 PM, WhatMeWorry wrote: > Thanks for all the above suggestions, but after many hour of re-reading > Ali's book on template, structs, and mixins, I still in the woods. I've > tried two approaches: > > Templatetized struct > >

[Issue 14843] Update installer to detect VS2015/SDK10 paths; update sc.ini

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

[Issue 14849] Visual Studio 2015 not detected during installation

2015-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14849 Vladimir Panteleev changed: What|Removed |Added See Also|

[Issue 14868] MmFile destructor seems to corrupt memory

2015-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14868 --- Comment #12 from Vladimir Panteleev --- https://github.com/D-Programming-Language/phobos/pull/3529#issuecomment-136609619 --

[Issue 14868] MmFile destructor seems to corrupt memory

2015-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14868 Vladimir Panteleev changed: What|Removed |Added Keywords||pull ---

[Issue 14847] Windows installer should have an option to install VS compiler

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

[Issue 14848] [REG 1.012] template alias on struct field without instance requires 'this'

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

[Issue 14870] incorrect use of assert to detect environmental errors in core.time

2015-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14870 Vladimir Panteleev changed: What|Removed |Added Keywords||pull

Re: Can we get a video tutorial?

2015-09-01 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 1 September 2015 at 15:01:15 UTC, Stephen wrote: On Tuesday, 1 September 2015 at 14:50:53 UTC, cym13 wrote: On Tuesday, 1 September 2015 at 14:48:55 UTC, Stephen wrote: So I've been trying to install Dlang, VisualD, and Dub for the past day with little luck. I have DMD 1 and 2, and

[Issue 15000] New: Chanegs to userShell either need to be reverted or the std.process documentation needs to be updated

2015-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15000 Issue ID: 15000 Summary: Chanegs to userShell either need to be reverted or the std.process documentation needs to be updated Product: D Version: D2 Hardware: All

[Issue 15000] Changes to userShell either need to be reverted or the std.process documentation needs to be updated

2015-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15000 Jonathan M Davis changed: What|Removed |Added Summary|Chanegs to userShell either |Changes to

Re: Casting away immutability

2015-09-01 Thread Adam D. Ruppe via Digitalmars-d-learn
On Wednesday, 2 September 2015 at 02:05:00 UTC, Sergei Degtiarev wrote: I can't understand how cast coexist with immutability. Cast bypasses immutability, triggering implementation-defined behavior. You might modify immutable data, you might cause the program to crash, it might just not do

[Issue 15001] Duplicate error message without line number on if statement

2015-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15001 Kenji Hara changed: What|Removed |Added Keywords||pull --- Comment #1 from

[Issue 14947] std.traits: ParameterIdentifierTuple on an 'interface' not working

2015-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14947 Vladimir Panteleev changed: What|Removed |Added Keywords||pull

Re: 2.068.0 std.process.executeShell how to set the shell?

2015-09-01 Thread Jonathan M Davis via Digitalmars-d-learn
On Wednesday, 2 September 2015 at 01:26:23 UTC, Jonathan M Davis wrote: [snip] https://issues.dlang.org/show_bug.cgi?id=15000 - Jonathan M Davis

Re: Casting away immutability

2015-09-01 Thread Jonathan M Davis via Digitalmars-d-learn
On Wednesday, September 02, 2015 02:04:58 Sergei Degtiarev via Digitalmars-d-learn wrote: > I can't understand how cast coexist with immutability. Consider > the code: > immutable immutable(int)[4] buf; > auto x=buf[0]; > auto p=buf.ptr; > > auto i=cast(int[]) buf; > i[]=1; > >

Re: Dazz new description for D

2015-09-01 Thread via Digitalmars-d
On Tuesday, 1 September 2015 at 20:14:03 UTC, Russel Winder wrote: I am not a fan of "political correctness", and maybe I am being over -sensitive for various reasons, but I think we should choose our comedy lines very carefully. I guess that rules out all D-cup jokes...

Re: DCD 0.7.0

2015-09-01 Thread BBasile via Digitalmars-d-announce
On Tuesday, 1 September 2015 at 21:36:46 UTC, Brian Schott wrote: https://github.com/Hackerpilot/DCD/tree/v0.7.0 After an alpha, a beta, and two release candidates DCD 0.7.0 is ready. Thx, awesome release.

Re: Who can persuade Markus Persson to give money to the foundation?

2015-09-01 Thread Meta via Digitalmars-d
On Tuesday, 1 September 2015 at 21:41:31 UTC, Israel wrote: I guess they were right, money cant buy happiness... Or maybe he didnt buy the right kind of happiness... He was always a gloomy person and uncomfortable with his overnight fame. I'd say his development days are over, at least for

Re: 2.068.0 std.process.executeShell how to set the shell?

2015-09-01 Thread Jonathan M Davis via Digitalmars-d-learn
On Tuesday, September 01, 2015 21:55:28 albatroz via Digitalmars-d-learn wrote: > Hi, since the upgrade to the latest version the function > executeShell (also the other functions), is not working has it > used to be, older versions of the compiler did not require any > change or setting the

Re: Possible solution for export : `unittest export`?

2015-09-01 Thread Dicebot via Digitalmars-d
On Tuesday, 1 September 2015 at 18:11:02 UTC, deadalnix wrote: Ok I get it. I'm not sure that is the right way forward. I am not sure either but we have lack of ideas in this domain, brainstorming :) The same problem arrise for devirtualization and the solution does not cover it. That is a

Casting away immutability

2015-09-01 Thread Sergei Degtiarev via Digitalmars-d-learn
I can't understand how cast coexist with immutability. Consider the code: immutable immutable(int)[4] buf; auto x=buf[0]; auto p=buf.ptr; auto i=cast(int[]) buf; i[]=1; assert(buf.ptr == p); assert(buf[0] != x); I've just

[Issue 15001] New: Duplicate error message without line number on if statement

2015-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15001 Issue ID: 15001 Summary: Duplicate error message without line number on if statement Product: D Version: D2 Hardware: All OS: All Status: NEW

Re: Dazz new description for D

2015-09-01 Thread Andy Smith via Digitalmars-d
On Tuesday, 1 September 2015 at 20:35:52 UTC, Ola Fosheim Grøstad wrote: On Tuesday, 1 September 2015 at 20:14:03 UTC, Russel Winder wrote: I am not a fan of "political correctness", and maybe I am being over -sensitive for various reasons, but I think we should choose our comedy lines very

Re: Access Violation while trying to use OpenGL

2015-09-01 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 1 September 2015 at 20:35:43 UTC, spec00 wrote: On Tuesday, 1 September 2015 at 20:15:28 UTC, spec00 wrote: I'am trying to play a bit with D and OpenGL by using the available Derelict bindings, but i'am even failing to create a window. [...] The problem was in me using the

[Issue 14942] dmd linking error with SHA and SSSE3

2015-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14942 Tomáš Chaloupka changed: What|Removed |Added Status|NEW |RESOLVED

Re: Who can persuade Markus Persson to give money to the foundation?

2015-09-01 Thread Null via Digitalmars-d
On Tuesday, 1 September 2015 at 18:24:27 UTC, deadalnix wrote: On Tuesday, 1 September 2015 at 15:09:33 UTC, Rikki Cattermole wrote: On 02/09/15 12:38 AM, FrankLike wrote: His wiki is here : https://en.wikipedia.org/wiki/Markus_Persson Who can do it ,who will be our Hero. Thats the why

Prefer Signed or Unsigned in D?

2015-09-01 Thread John Carter via Digitalmars-d-learn
C/C++ discussion here http://blog.robertelder.org/signed-or-unsigned-part-2/ D rules here... http://dlang.org/type.html#integer-promotions

Access Violation while trying to use OpenGL

2015-09-01 Thread spec00 via Digitalmars-d-learn
I'am trying to play a bit with D and OpenGL by using the available Derelict bindings, but i'am even failing to create a window. At the moment my code is as simple as: - import derelict.glfw3.glfw3; import std.c.stdio : fputs, fputc, stderr; extern(C)

Front page code samples

2015-09-01 Thread wobbles via Digitalmars-d
When trying to run the front page code samples, it regularly bugs out. This is the first time I've tried in ages, but of the first 4 samples I tried, none worked. The example with: // D is like... crashes with: unable to fork: Cannot allocate memory The example with: // RPN

Re: Appenders and Arrays

2015-09-01 Thread Steven Schveighoffer via Digitalmars-d-learn
On 9/1/15 3:13 PM, Daniel Kozak via Digitalmars-d-learn wrote: Dne 1.9.2015 v 19:20 Steven Schveighoffer via Digitalmars-d-learn napsal(a): On 9/1/15 12:49 PM, default0 wrote: Hello A simple thing I stumbled across: int main() { import std.stdio; import std.range; int[] d;

Re: Scoped Imports for Structs/Classes/Template Constraints

2015-09-01 Thread jmh530 via Digitalmars-d-learn
On Tuesday, 1 September 2015 at 19:48:02 UTC, Enamex wrote: They aren't selective, yeah. But the rationale is good: There's not supposed to be any way to import modules with the same path so static importing means it's entirely and always unambiguous. I understand that a static import is

LLVM 3.7 released - LDC is ready to use it!

2015-09-01 Thread Kai Nacke via Digitalmars-d-announce
Hi all! LLVM 3.7 has been released some minutes ago! See the release notes here: http://llvm.org/releases/3.7.0/docs/ReleaseNotes.html Downloads: http://llvm.org/releases/download.html#3.7.0 Also note that LDC is mentioned in the release notes as one of the projects who are already

[Issue 14991] dmd doesn't build under OSX 32 bit

2015-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14991 Walter Bright changed: What|Removed |Added Summary|dmd's libmach.d doesn't |dmd doesn't build

2.068.0 std.process.executeShell how to set the shell?

2015-09-01 Thread albatroz via Digitalmars-d-learn
Hi, since the upgrade to the latest version the function executeShell (also the other functions), is not working has it used to be, older versions of the compiler did not require any change or setting the SHELL. How to change the SHELL, that is used by executeShell? userShell will always

Profiling with LDC/GDC?

2015-09-01 Thread qznc via Digitalmars-d-learn
Is it possible to profile with LDC/GDC? At least LDC lists it as only an "idea". http://wiki.dlang.org/LDC_project_ideas

[Issue 14974] core.time.Duration.get depreciation time is up

2015-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14974 Jonathan M Davis changed: What|Removed |Added Status|NEW |RESOLVED

Re: Front page code samples

2015-09-01 Thread wobbles via Digitalmars-d
On Tuesday, 1 September 2015 at 20:49:59 UTC, cym13 wrote: On Tuesday, 1 September 2015 at 20:43:44 UTC, wobbles wrote: When trying to run the front page code samples, it regularly bugs out. This is the first time I've tried in ages, but of the first 4 samples I tried, none worked. The

Re: Access Violation while trying to use OpenGL

2015-09-01 Thread spec00 via Digitalmars-d-learn
On Tuesday, 1 September 2015 at 20:15:28 UTC, spec00 wrote: I'am trying to play a bit with D and OpenGL by using the available Derelict bindings, but i'am even failing to create a window. [...] The problem was in me using the 64bit version of the GLFW dll. DMD doesn't support compiling to

Re: Front page code samples

2015-09-01 Thread cym13 via Digitalmars-d
On Tuesday, 1 September 2015 at 20:43:44 UTC, wobbles wrote: When trying to run the front page code samples, it regularly bugs out. This is the first time I've tried in ages, but of the first 4 samples I tried, none worked. The example with: // D is like... crashes with: unable to fork:

Re: Scoped Imports for Structs/Classes/Template Constraints

2015-09-01 Thread Enamex via Digitalmars-d-learn
On Tuesday, 1 September 2015 at 21:17:10 UTC, jmh530 wrote: Consider these three different ways to import std.stdio import std.stdio; import std.stdio : writeln; static import std.stdio; and suppose writeln is the only function in std.stdio the program is using. In each case, the size of the

[Issue 14991] dmd doesn't build under OSX 32 bit

2015-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14991 --- Comment #1 from Walter Bright --- https://github.com/D-Programming-Language/dmd/pull/5016 --

DCD 0.7.0

2015-09-01 Thread Brian Schott via Digitalmars-d-announce
https://github.com/Hackerpilot/DCD/tree/v0.7.0 After an alpha, a beta, and two release candidates DCD 0.7.0 is ready. The D Completion Daemon is an auto-complete program for the D programming language. Highlights: * A large portion of DCD's symbol resolution engine was removed and

Re: v0.2.1 of EMSI's containers library

2015-09-01 Thread Brian Schott via Digitalmars-d-announce
On Tuesday, 1 September 2015 at 13:51:45 UTC, jmh530 wrote: The link to documentation doesn't seem to have anything on it. The package name on the left is expandable.

Re: Why ElementType!(char[3]) == dchar instead of char?

2015-09-01 Thread Jonathan M Davis via Digitalmars-d-learn
On Tuesday, September 01, 2015 20:05:18 drug via Digitalmars-d-learn wrote: > My case is I don't know what type user will be using, because I write a > library. What's the best way to process char[..] in this case? char[] should never be anything other than UTF-8. Similarly, wchar[] is UTF-16,

Re: Who can persuade Markus Persson to give money to the foundation?

2015-09-01 Thread Israel via Digitalmars-d
On Tuesday, 1 September 2015 at 18:31:03 UTC, Jack Stouffer wrote: On Tuesday, 1 September 2015 at 18:27:43 UTC, Gary Willoughby wrote: On Tuesday, 1 September 2015 at 15:09:33 UTC, Rikki Cattermole wrote: Can we please leave him alone. He's not in a good state right now, mentally. What's

Re: Dazz new description for D

2015-09-01 Thread Russel Winder via Digitalmars-d
On Tue, 2015-09-01 at 19:00 +, data man via Digitalmars-d wrote: > A deficient in vitamin D causes a softening of the brains. This is not quite as funny as it might sound, it is not the brain that is the issue, it is bones and cancer that are related issues in vitamin D deficiency. I am not

Re: Dynamic arrays

2015-09-01 Thread Jonathan M Davis via Digitalmars-d-announce
On Monday, August 31, 2015 21:36:17 John Colvin via Digitalmars-d-announce wrote: > On Monday, 31 August 2015 at 21:29:09 UTC, anonymous wrote: > > On Monday 31 August 2015 23:09, Minas Mina wrote: > > > >> I have started a series of tutorials in D. > >> > >> This is my latest blog post, which is

LDC 0.16.0 alpha2 is out!

2015-09-01 Thread Kai Nacke via Digitalmars-d-announce
Hi everyone, LDC 0.16.0 alpha2, the LLVM-based D compiler, is available for download! This release is based on the 2.067.1 frontend and standard library and supports LLVM 3.1-3.7 (OS X: no support for 3.3). Don't miss to check if your preferred system is supported by this release. There is

Re: LLVM 3.7 released - LDC is ready to use it!

2015-09-01 Thread Justin Whear via Digitalmars-d-announce
On Tue, 01 Sep 2015 21:45:30 +, Kai Nacke wrote: > This is the 7th time that LDC and D are mentioned in the LLVM release > notes! Fantastic work keeping LDC bleeding edge!

[Issue 14990] No rule to make target `src/core/sys/windows/stdio_msvc12.d', needed by 'druntime.zip'.

2015-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14990 --- Comment #1 from Walter Bright --- https://github.com/D-Programming-Language/druntime/pull/1371 --

[Issue 14821] First argument of std.zlib.uncompress should be const

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

  1   2   3   >