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?
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?
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
--
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
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
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
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
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
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
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
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
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
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
A deficient in vitamin D causes a softening of the brains.
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 :)
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
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
https://issues.dlang.org/show_bug.cgi?id=14861
ag0ae...@gmail.com changed:
What|Removed |Added
Keywords||pull
CC|
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
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
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);
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?
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:
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
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
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);
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
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
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
https://issues.dlang.org/show_bug.cgi?id=14861
Vladimir Panteleev changed:
What|Removed |Added
CC|
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
https://issues.dlang.org/show_bug.cgi?id=14986
--- Comment #7 from Jacob Carlborg ---
Thanks for the quick fix.
--
https://issues.dlang.org/show_bug.cgi?id=14988
Jacob Carlborg changed:
What|Removed |Added
CC||d...@me.com
--- Comment #1
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
https://issues.dlang.org/show_bug.cgi?id=14989
Kenji Hara changed:
What|Removed |Added
Keywords||pull
--- Comment #1 from
https://issues.dlang.org/show_bug.cgi?id=14866
Vladimir Panteleev changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=14849
Vladimir Panteleev changed:
What|Removed |Added
See Also|
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
https://issues.dlang.org/show_bug.cgi?id=14841
Vladimir Panteleev changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=14841
Dmitry Olshansky changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=14868
Vladimir Panteleev changed:
What|Removed |Added
CC|
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
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
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[]
https://issues.dlang.org/show_bug.cgi?id=14833
Vladimir Panteleev changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=14833
Vladimir Panteleev changed:
What|Removed |Added
Summary|Nested delegates problem|[REG2.065]
https://issues.dlang.org/show_bug.cgi?id=14799
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
- 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
--
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
>
>
https://issues.dlang.org/show_bug.cgi?id=14843
Vladimir Panteleev changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=14849
Vladimir Panteleev changed:
What|Removed |Added
See Also|
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
--
https://issues.dlang.org/show_bug.cgi?id=14868
Vladimir Panteleev changed:
What|Removed |Added
Keywords||pull
---
https://issues.dlang.org/show_bug.cgi?id=14847
Vladimir Panteleev changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=14848
Vladimir Panteleev changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=14870
Vladimir Panteleev changed:
What|Removed |Added
Keywords||pull
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
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
https://issues.dlang.org/show_bug.cgi?id=15000
Jonathan M Davis changed:
What|Removed |Added
Summary|Chanegs to userShell either |Changes to
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
https://issues.dlang.org/show_bug.cgi?id=15001
Kenji Hara changed:
What|Removed |Added
Keywords||pull
--- Comment #1 from
https://issues.dlang.org/show_bug.cgi?id=14947
Vladimir Panteleev changed:
What|Removed |Added
Keywords||pull
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
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;
>
>
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...
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.
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
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
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
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
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
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
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
https://issues.dlang.org/show_bug.cgi?id=14942
Tomáš Chaloupka changed:
What|Removed |Added
Status|NEW |RESOLVED
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
C/C++ discussion here
http://blog.robertelder.org/signed-or-unsigned-part-2/
D rules here...
http://dlang.org/type.html#integer-promotions
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)
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
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;
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
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
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
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
Is it possible to profile with LDC/GDC?
At least LDC lists it as only an "idea".
http://wiki.dlang.org/LDC_project_ideas
https://issues.dlang.org/show_bug.cgi?id=14974
Jonathan M Davis changed:
What|Removed |Added
Status|NEW |RESOLVED
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
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
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:
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
https://issues.dlang.org/show_bug.cgi?id=14991
--- Comment #1 from Walter Bright ---
https://github.com/D-Programming-Language/dmd/pull/5016
--
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
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.
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,
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
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
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
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
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!
https://issues.dlang.org/show_bug.cgi?id=14990
--- Comment #1 from Walter Bright ---
https://github.com/D-Programming-Language/druntime/pull/1371
--
https://issues.dlang.org/show_bug.cgi?id=14821
Vladimir Panteleev changed:
What|Removed |Added
CC|
1 - 100 of 234 matches
Mail list logo