Re: Beta of D language online tour

2016-04-09 Thread ZombineDev via Digitalmars-d
On Saturday, 9 April 2016 at 20:27:00 UTC, Vladimir Panteleev wrote: On Saturday, 9 April 2016 at 17:12:44 UTC, André wrote: Hi, After months of hard work (okay exaggerated) I'd like to announce the beta version of the D language online tour: http://tour.dlang.io/ A few things I've

Compile a shared library

2016-04-09 Thread Nafees via Digitalmars-d
I am trying to create a shared library, I just tried to compile the code that Mono-D generates for an empty shared library. I tried to compile it, but there were errors, and this is what the compile log said: Building Solution: QScr (Debug) Building: QScr (Debug) Performing main

Re: execute bash?

2016-04-09 Thread Adam D. Ruppe via Digitalmars-d-learn
On Sunday, 10 April 2016 at 00:47:28 UTC, Puming wrote: 3. when hiting 'vim a.file' on the command, things go messy. Have you got these interactive commands work in dexpect? It is surely capturing exactly what vim sends to a terminal, which is primarily a series of control sequences to draw

[Issue 15909] New: Duplicate case error reports characters as numbers

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15909 Issue ID: 15909 Summary: Duplicate case error reports characters as numbers Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: trivial

Re: Why do my stack traces look like this? How can I get more informative ones?

2016-04-09 Thread pineapple via Digitalmars-d-learn
On Sunday, 10 April 2016 at 00:48:23 UTC, pineapple wrote: How can I fix this, and get something human-readable? Oh, answered my own question. Appending the -g flag to dmd options makes the stack trace much prettier.

Why do my stack traces look like this? How can I get more informative ones?

2016-04-09 Thread pineapple via Digitalmars-d-learn
I'm getting a RangeError and the stack trace is being spectacularly unhelpful in debugging the problem, because it looks like this: core.exception.RangeError@E:\Dropbox\Projects\d\lib\wip_ansi_2.d(78): Range violation 0x0040A240 0x00402E37 0x00402B5E 0x00402985 0x00402F29

Re: execute bash?

2016-04-09 Thread Puming via Digitalmars-d-learn
On Saturday, 9 April 2016 at 08:56:17 UTC, wobbles wrote: On Friday, 8 April 2016 at 23:06:06 UTC, Puming wrote: On Friday, 8 April 2016 at 18:23:32 UTC, wobbles wrote: On Friday, 8 April 2016 at 16:07:13 UTC, Adam D. Ruppe wrote: On Friday, 8 April 2016 at 15:20:09 UTC, Puming wrote: I tried

[Issue 15908] New: Implicitly typed lambda inside class "has no value"

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15908 Issue ID: 15908 Summary: Implicitly typed lambda inside class "has no value" Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal

Re: Practical difference between a struct with const members and with mutable members?

2016-04-09 Thread Jonathan M Davis via Digitalmars-d-learn
On Saturday, April 09, 2016 16:07:36 pineapple via Digitalmars-d-learn wrote: > I'm mainly coming from languages that haven't got structs, let > alone the kind of differentiation D offers between > mutable/immutable/const/etc variables, so I'm still trying to > work out just when to use each -

Re: Fiber and Thread Communication

2016-04-09 Thread Ali Çehreli via Digitalmars-d-learn
On 04/09/2016 07:45 AM, Nordlöw wrote: > On Friday, 8 April 2016 at 10:51:49 UTC, Nordlöw wrote: > AFAICT, it is not clear what are the limitations of the current > std.concurrency and, from what. An illustrating example on task-based > parallellism (such as the ones in jin.go) should partly

Re: Fiber and Thread Communication

2016-04-09 Thread Ali Çehreli via Digitalmars-d-learn
On 04/08/2016 02:42 PM, Dicebot wrote: >> Thanks Dicebot. I don't think the included >> std.concurrency.FiberScheduler has support for message passing because >> FiberScheduler.spawn does not return a Tid. If so, I don't see how >> it's possible to send messages between fibers. >> >> Ali > >

[Issue 11628] nested scope guards go cyclic

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11628 j...@red.email.ne.jp changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 8030] Multiple override are allowed using mixin template

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8030 andy.pj.han...@gmail.com changed: What|Removed |Added CC||andy.pj.han...@gmail.com ---

[Issue 11429] Deprecate walkLength?

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11429 greenify changed: What|Removed |Added CC||greeen...@gmail.com ---

Re: Logo for DlangScience

2016-04-09 Thread 9il via Digitalmars-d
On Saturday, 9 April 2016 at 18:29:39 UTC, Gary Willoughby wrote: On Saturday, 9 April 2016 at 13:59:26 UTC, 9il wrote: On Saturday, 9 April 2016 at 11:48:55 UTC, ag0aep6g wrote: On Saturday, 9 April 2016 at 10:16:36 UTC, 9il wrote: [...] You can find the old logo in the git history:

Re: New repo for my reusable D Phobos extensions

2016-04-09 Thread FreeSlave via Digitalmars-d-announce
On Saturday, 9 April 2016 at 18:25:54 UTC, Nordlöw wrote: I've packaged my reusable extensions to Phobos at https://github.com/nordlow/phobos-next PRs are very welcome. There are lots of goodies here. Some of them should probably be moved to standard Phobos. I currently have lots of other D

Re: Logo for DlangScience

2016-04-09 Thread 9il via Digitalmars-d
On Saturday, 9 April 2016 at 18:29:39 UTC, Gary Willoughby wrote: On Saturday, 9 April 2016 at 13:59:26 UTC, 9il wrote: On Saturday, 9 April 2016 at 11:48:55 UTC, ag0aep6g wrote: On Saturday, 9 April 2016 at 10:16:36 UTC, 9il wrote: [...] You can find the old logo in the git history:

[Issue 15907] Unjustified "is not visible from module" deprecation warning when using getMember trait

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15907 --- Comment #1 from m.bier...@lostmoment.com --- I forgot to add that it's actually "getMember" which causes the deprecation warning and "allMembers" is not fully qualified. --

[Issue 15907] Unjustified "is not visible from module" deprecation warning when using getMember trait

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15907 m.bier...@lostmoment.com changed: What|Removed |Added Summary|Unjustified "is not visible |Unjustified "is not visible

[Issue 15907] Unjustified "is not visible from module" deprecation warning when using allMembers trait

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15907 m.bier...@lostmoment.com changed: What|Removed |Added Summary|Unjustified "is not visible |Unjustified "is not visible

[Issue 15907] Unjustified "is not visible from module" deprecation warning

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15907 m.bier...@lostmoment.com changed: What|Removed |Added CC||m.bier...@lostmoment.com --

[Issue 15907] New: Unjustified "is not visible from module" deprecation warning

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15907 Issue ID: 15907 Summary: Unjustified "is not visible from module" deprecation warning Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW

[Issue 15906] GIT HEAD undefined references

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15906 --- Comment #1 from Temtaime --- Adding .array before second map fixes the issue --

[Issue 15906] New: GIT HEAD undefined references

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15906 Issue ID: 15906 Summary: GIT HEAD undefined references Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: regression Priority: P1

Re: On the origins of github.com/D-Programming-Language

2016-04-09 Thread Walter Bright via Digitalmars-d
On 4/9/2016 12:04 PM, Seb wrote: On Saturday, 9 April 2016 at 03:48:27 UTC, Walter Bright wrote: On 4/8/2016 5:06 PM, Brad Anderson wrote: By "back then" I mean in 2011[1]. The original domain was d-programming-language.org and having the github organization match made sense.

[Issue 15905] New: Tuple Op Assignment Overload incorrect?

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15905 Issue ID: 15905 Summary: Tuple Op Assignment Overload incorrect? Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement

Re: Stupid question about AA. The following code works but I don't undrstand why?!

2016-04-09 Thread ag0aep6g via Digitalmars-d-learn
On Saturday, 9 April 2016 at 19:31:31 UTC, Uranuz wrote: I think that we need to add warning about such case in documentation section: https://dlang.org/spec/hash-map.html#construction_and_ref_semantic in order to prevent this kind of mistakes in code. Isn't that exactly what the section you

Re: Stupid question about AA. The following code works but I don't undrstand why?!

2016-04-09 Thread ag0aep6g via Digitalmars-d-learn
On Saturday, 9 April 2016 at 19:25:32 UTC, Uranuz wrote: Another observation is illustrated with the foloving code: http://dpaste.dzfl.pl/8d68fd5922b7 Because AA and arrays are not created before they were assigned some value it leads to inconsistency in behavior. And will produce unexpected

[Issue 15904] New: Undefined reference to ModuleInfo

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15904 Issue ID: 15904 Summary: Undefined reference to ModuleInfo Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority:

[Issue 15903] [REG 2.071] module foo.bar is not accessible here, perhaps add 'static import foo.bar; (already there)

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15903 Timothee Cour changed: What|Removed |Added Summary|module foo.bar is not |[REG 2.071] module

Re: Beta of D language online tour

2016-04-09 Thread Vladimir Panteleev via Digitalmars-d
On Saturday, 9 April 2016 at 17:12:44 UTC, André wrote: Hi, After months of hard work (okay exaggerated) I'd like to announce the beta version of the D language online tour: http://tour.dlang.io/ A few things I've noticed so far: - Broken link: http://d-apt.source-forge.net/ - Link to

[Issue 15903] module foo.bar is not accessible here, perhaps add 'static import foo.bar; (already there)

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15903 --- Comment #3 from Timothee Cour --- slightly different scenario but could be same root cause, with a minimal test case: $dmd_071_X -o- -c D20160409T132716/main.d Deprecation: module std.conv is not accessible here,

Re: Beta of D language online tour

2016-04-09 Thread Vladimir Panteleev via Digitalmars-d
On Saturday, 9 April 2016 at 17:12:44 UTC, André wrote: Hi, After months of hard work (okay exaggerated) I'd like to announce the beta version of the D language online tour: http://tour.dlang.io/ Very nice! How do you do the sandboxing? The current version is running on a small testing

Re: Graylog Extended Log Format (GELF) for D

2016-04-09 Thread angel via Digitalmars-d-announce
But what about this ? https://forum.dlang.org/thread/eryphpbznrrovjvxj...@forum.dlang.org

Re: Stupid question about AA. The following code works but I don't undrstand why?!

2016-04-09 Thread Uranuz via Digitalmars-d-learn
On Saturday, 9 April 2016 at 19:25:32 UTC, Uranuz wrote: On Saturday, 9 April 2016 at 18:27:11 UTC, ag0aep6g wrote: [...] Another observation is illustrated with the foloving code: http://dpaste.dzfl.pl/8d68fd5922b7 Because AA and arrays are not created before they were assigned some value

Re: Stupid question about AA. The following code works but I don't undrstand why?!

2016-04-09 Thread Uranuz via Digitalmars-d-learn
On Saturday, 9 April 2016 at 18:27:11 UTC, ag0aep6g wrote: On Saturday, 9 April 2016 at 18:06:52 UTC, Uranuz wrote: Thanks. It's clear now. AA holds not `array struct` itself inside, but pointer to it. How the array is stored in the AA doesn't matter, as far as I can see. The point is that

[Issue 15903] module foo.bar is not accessible here, perhaps add 'static import foo.bar; (already there)

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15903 --- Comment #2 from Timothee Cour --- perhaps related to issue/15900 ? --

Re: Beta of D language online tour

2016-04-09 Thread Andrej Mitrovic via Digitalmars-d
On 4/9/16, André via Digitalmars-d wrote: > Hi, > > After months of hard work (okay exaggerated) I'd like to announce > the beta version of the D language online tour: > > http://tour.dlang.io/ This looks fantastic, awesome work! :)

Re: On the origins of github.com/D-Programming-Language

2016-04-09 Thread Seb via Digitalmars-d
On Saturday, 9 April 2016 at 03:48:27 UTC, Walter Bright wrote: On 4/8/2016 5:06 PM, Brad Anderson wrote: By "back then" I mean in 2011[1]. The original domain was d-programming-language.org and having the github organization match made sense.

Re: Stupid question about AA. The following code works but I don't undrstand why?!

2016-04-09 Thread ag0aep6g via Digitalmars-d-learn
On Saturday, 9 April 2016 at 18:06:52 UTC, Uranuz wrote: Thanks. It's clear now. AA holds not `array struct` itself inside, but pointer to it. How the array is stored in the AA doesn't matter, as far as I can see. The point is that you obtain a pointer to the array struct in the AA, not a

Re: Logo for DlangScience

2016-04-09 Thread Gary Willoughby via Digitalmars-d
On Saturday, 9 April 2016 at 13:59:26 UTC, 9il wrote: On Saturday, 9 April 2016 at 11:48:55 UTC, ag0aep6g wrote: On Saturday, 9 April 2016 at 10:16:36 UTC, 9il wrote: [...] You can find the old logo in the git history:

New repo for my reusable D Phobos extensions

2016-04-09 Thread Nordlöw via Digitalmars-d-announce
I've packaged my reusable extensions to Phobos at https://github.com/nordlow/phobos-next PRs are very welcome. There are lots of goodies here. Some of them should probably be moved to standard Phobos. I currently have lots of other D things to do, but you guys are welcome to try to integrate

Graylog Extended Log Format (GELF) for D

2016-04-09 Thread Adil via Digitalmars-d-announce
Announcing 'gelfd' - A small, native D library to generate logs in the Graylog Extended Log Format (GELF). GELF (https://www.graylog.org/resources/gelf/) is an "open standard" logging format based on JSON. It is primarily used to pipe messages to Graylog (graylog.org), an open source log

Re: Stupid question about AA. The following code works but I don't undrstand why?!

2016-04-09 Thread Uranuz via Digitalmars-d-learn
On Saturday, 9 April 2016 at 16:44:06 UTC, ag0aep6g wrote: On 09.04.2016 18:13, Uranuz wrote: http://dpaste.dzfl.pl/523781df67ab For reference, the code: import std.stdio; void main() { string[][string] mapka; string[]* mapElem = "item" in mapka; //Checking if I

[Issue 2043] Closure outer variables in nested blocks are not allocated/instantiated correctly: should have multiple instances but only have one.

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2043 ZombineDev changed: What|Removed |Added CC||petar.p.ki...@gmail.com

[Issue 1983] Delegates violate const

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1983 ZombineDev changed: What|Removed |Added CC||petar.p.ki...@gmail.com

[Issue 15890] IFTI for static array argument length when element type supplied

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15890 ZombineDev changed: What|Removed |Added CC|

Beta of D language online tour

2016-04-09 Thread André via Digitalmars-d
Hi, After months of hard work (okay exaggerated) I'd like to announce the beta version of the D language online tour: http://tour.dlang.io/ Thanks to Seb for providing the subdomain which now points to my testing server! And of course a big thank you to all contributors, proof readers and

[Issue 15402] allow private access to package symbols

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15402 ZombineDev changed: What|Removed |Added Status|RESOLVED|REOPENED

Re: Release D 2.071.0

2016-04-09 Thread Adam D. Ruppe via Digitalmars-d-announce
On Saturday, 9 April 2016 at 16:56:50 UTC, Vladimir Panteleev wrote: For my home machine I would actually benefit from having all platforms in one file, since I can run the Windows version via Wine. Me too. I actually download more bytes now than before because I need two of the things.

Re: Release D 2.071.0

2016-04-09 Thread Martin Nowak via Digitalmars-d-announce
On Wednesday, 6 April 2016 at 14:13:16 UTC, Vladimir Panteleev wrote: I know the all-platform .zip files are wasteful, but any practical reason for removing them? Unless the hosting cost is not negligible, breaking existing tools/scripts may not be worth it. Sorry that you missed that, it's

Re: Release D 2.071.0

2016-04-09 Thread Martin Nowak via Digitalmars-d-announce
On Thursday, 7 April 2016 at 02:21:30 UTC, Cy Schubert wrote: It builds and packages nicely. ~Cy Thanks, are you the current FreeBSD port maintainer?

Re: Stupid question about AA. The following code works but I don't undrstand why?!

2016-04-09 Thread ag0aep6g via Digitalmars-d-learn
On 09.04.2016 18:13, Uranuz wrote: http://dpaste.dzfl.pl/523781df67ab For reference, the code: import std.stdio; void main() { string[][string] mapka; string[]* mapElem = "item" in mapka; //Checking if I have item if( !mapElem )

Re: Release D 2.071.0

2016-04-09 Thread Martin Nowak via Digitalmars-d-announce
On Wednesday, 6 April 2016 at 13:19:08 UTC, Cy Schubert wrote: Is there a source URL published anywhere? http://ftp.digitalmars.com/dmd.2.071.0.zip doesn't appear to work. ~Cy We've deprecated the combined package b/c of it's sheer size and uselessness. Each platform specific package does

Re: Release D 2.071.0

2016-04-09 Thread Martin Nowak via Digitalmars-d-announce
On Wednesday, 6 April 2016 at 13:05:31 UTC, sigod wrote: module test; struct S { package int field; } void main() { S s; s.field = 1; // Deprecation: test.S.field is not visible from module test }

Re: Practical difference between a struct with const members and with mutable members?

2016-04-09 Thread ag0aep6g via Digitalmars-d-learn
On 09.04.2016 18:07, pineapple wrote: What's different between these two examples, practically speaking? When would you use one over the other? struct thing1{ const int x, y; } struct thing2{ int x, y; } In this case, const is practically the same as immutable. But immutable is

[Issue 15402] allow private access to package symbols

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15402 --- Comment #2 from github-bugzi...@puremagic.com --- Commit pushed to fix15402 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/c424690156a6f2b4f402415c45e780833f2f2df2 fix Issue 15402 - allow

[Issue 15402] allow private access to package symbols

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

[Issue 15402] allow private access to package symbols

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15402 Martin Nowak changed: What|Removed |Added Summary|Make it an error to declare |allow private access to

OSCON London call for submissions

2016-04-09 Thread Andrei Alexandrescu via Digitalmars-d-announce
http://conferences.oreilly.com/oscon/open-source-eu/public/cfp/466 Andrei

[Issue 15402] Make it an error to declare package level symbols when there is no package

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15402 Martin Nowak changed: What|Removed |Added CC||c...@dawg.eu --- Comment #1

Stupid question about AA. The following code works but I don't undrstand why?!

2016-04-09 Thread Uranuz via Digitalmars-d-learn
I am stupid today :) So I have a question. The piece of code given: http://dpaste.dzfl.pl/523781df67ab It looks good, but I don't understand why it works?

Practical difference between a struct with const members and with mutable members?

2016-04-09 Thread pineapple via Digitalmars-d-learn
I'm mainly coming from languages that haven't got structs, let alone the kind of differentiation D offers between mutable/immutable/const/etc variables, so I'm still trying to work out just when to use each - What's different between these two examples, practically speaking? When would you use

Re: Release D 2.071.0

2016-04-09 Thread Martin Nowak via Digitalmars-d-announce
On Wednesday, 6 April 2016 at 07:56:03 UTC, Jacob Carlborg wrote: If I understand correctly the "this.outer" issue was resolved by slightly modifying the language. If that's correct, does it deserves an entry in the changelog besides the fixed issue? It's just fixing the existing typing.

Re: Sample Rate

2016-04-09 Thread John Colvin via Digitalmars-d
On Saturday, 9 April 2016 at 14:15:38 UTC, Nordlöw wrote: Has anybody more than I thought about representing the sample rate of a sampled signal collected from sources such as microphones and digital radio receivers? With it we could automatically relate DFT/FFT bins to real frequencies and

Re: Fiber and Thread Communication

2016-04-09 Thread Nordlöw via Digitalmars-d-learn
On Friday, 8 April 2016 at 10:51:49 UTC, Nordlöw wrote: Are there any plans to unite AFAICT, it is not clear what are the limitations of the current std.concurrency and, from what. An illustrating example on task-based parallellism (such as the ones in jin.go) should partly alleviate this

[Issue 15773] D's treatment of whitespace in character classes in free-form regexes is not the same as Perl's

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

[Issue 15773] D's treatment of whitespace in character classes in free-form regexes is not the same as Perl's

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15773 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/5e4853f723c2c10a9767befae7b84e5c880be361 Fix issue 15773 - D's

Sample Rate

2016-04-09 Thread Nordlöw via Digitalmars-d
Has anybody more than I thought about representing the sample rate of a sampled signal collected from sources such as microphones and digital radio receivers? With it we could automatically relate DFT/FFT bins to real frequencies and other cool stuff. Maybe we could make it part of the

Re: Logo for DlangScience

2016-04-09 Thread 9il via Digitalmars-d
On Saturday, 9 April 2016 at 11:48:55 UTC, ag0aep6g wrote: On Saturday, 9 April 2016 at 10:16:36 UTC, 9il wrote: [...] You can find the old logo in the git history: https://github.com/D-Programming-Language/dlang.org/blob/a37e410710911bcc0b7f01319504d96999b7c097/images/dlogo.svg [...]

GitHub logo with high DPI

2016-04-09 Thread 9il via Digitalmars-d
Hello, Could someone please update GitHub logo with similiar, but with hight DPI? I have prepared the logo https://drive.google.com/open?id=0B8xM62kqa0iNdW5wRzFBVE5OTUU The old one looks bad on retina displays. The new one is similar to https://github.com/DlangScience Best regards, Ilya

[Issue 15899] Tuple.toString not recognized as a function with isSomeFunction

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15899 Edwin van Leeuwen changed: What|Removed |Added CC||ed...@tkwsping.nl --

Re: Logo for DlangScience

2016-04-09 Thread ag0aep6g via Digitalmars-d
On Saturday, 9 April 2016 at 10:16:36 UTC, 9il wrote: Where I can find old and new D logo from dlang.org in svg format? You can find the old logo in the git history: https://github.com/D-Programming-Language/dlang.org/blob/a37e410710911bcc0b7f01319504d96999b7c097/images/dlogo.svg Also, the

Re: foreach of classes

2016-04-09 Thread Basile B. via Digitalmars-d-learn
On Saturday, 9 April 2016 at 11:03:54 UTC, Nicholas Wilson wrote: On Saturday, 9 April 2016 at 10:56:34 UTC, Lucien wrote: On Saturday, 9 April 2016 at 10:28:05 UTC, Basile B. wrote: On Saturday, 9 April 2016 at 10:10:19 UTC, Lucien wrote: Hello. FYI the things that you can put there (in

Re: foreach of classes

2016-04-09 Thread Nicholas Wilson via Digitalmars-d-learn
On Saturday, 9 April 2016 at 10:56:34 UTC, Lucien wrote: On Saturday, 9 April 2016 at 10:28:05 UTC, Basile B. wrote: On Saturday, 9 April 2016 at 10:10:19 UTC, Lucien wrote: Hello. When I do: - class MyClass{..} class YourClass{..} class OurClass{..} YourClass yc = new

Re: foreach of classes

2016-04-09 Thread Lucien via Digitalmars-d-learn
On Saturday, 9 April 2016 at 10:28:05 UTC, Basile B. wrote: On Saturday, 9 April 2016 at 10:10:19 UTC, Lucien wrote: Hello. When I do: - class MyClass{..} class YourClass{..} class OurClass{..} YourClass yc = new YourClass(); foreach (auto id; [ typeid(MyClass),

Re: Logo for DlangScience

2016-04-09 Thread matovitch via Digitalmars-d
On Saturday, 9 April 2016 at 10:16:36 UTC, 9il wrote: Hello, Where I can find old and new D logo from dlang.org in svg format? Can I use them as basis for logo for https://github.com/DlangScience ? Best regards, Ilya Hello, You should be able to download a svg of the new logo from the

Re: foreach of classes

2016-04-09 Thread Basile B. via Digitalmars-d-learn
On Saturday, 9 April 2016 at 10:10:19 UTC, Lucien wrote: Hello. When I do: - class MyClass{..} class YourClass{..} class OurClass{..} YourClass yc = new YourClass(); foreach (auto id; [ typeid(MyClass), typeid(YourClass), typeid(OurClass) ]) { if (typeid(yc) == id)

Logo for DlangScience

2016-04-09 Thread 9il via Digitalmars-d
Hello, Where I can find old and new D logo from dlang.org in svg format? Can I use them as basis for logo for https://github.com/DlangScience ? Best regards, Ilya

foreach of classes

2016-04-09 Thread Lucien via Digitalmars-d-learn
Hello. When I do: - class MyClass{..} class YourClass{..} class OurClass{..} YourClass yc = new YourClass(); foreach (auto id; [ typeid(MyClass), typeid(YourClass), typeid(OurClass) ]) { if (typeid(yc) == id) { writeln("It works !"); } } -

Re: The day before DConf 2016

2016-04-09 Thread Mike Parker via Digitalmars-d
On Saturday, 9 April 2016 at 09:45:41 UTC, Mike Parker wrote: On Saturday, 9 April 2016 at 08:36:03 UTC, Walter Bright wrote: Thanks, I'm saving this one! map). Anyone flying into TXL will need to take a bus or taxi to the nearest subway station. Which, for those going to Ibis, looks to

Re: The day before DConf 2016

2016-04-09 Thread Mike Parker via Digitalmars-d
On Saturday, 9 April 2016 at 08:36:03 UTC, Walter Bright wrote: Thanks, I'm saving this one! Here's a direct link to a PDF of the system map for anyone interested. Hotel Ibis is near Grenzallee station. The conference site is two stops above it (Karl-Marx-Str. on the map). Anyone flying

Re: Interfaces

2016-04-09 Thread alexander Patapoff via Digitalmars-d-learn
On Saturday, 9 April 2016 at 08:59:13 UTC, ag0aep6g wrote: On 09.04.2016 10:45, alexander Patapoff wrote: [...] There is a somewhat obscure feature which lets you declare and instantiate a class at the same time: interface Action { void actions(int x); } void main() { Action

Re: Interfaces

2016-04-09 Thread ag0aep6g via Digitalmars-d-learn
On 09.04.2016 10:45, alexander Patapoff wrote: is there a way for me to do this in D? In java, one is able to create a new instance of an interface. interface Action { void actions(T t); } class testAction { this() { Action action = new Action() { void

Re: execute bash?

2016-04-09 Thread wobbles via Digitalmars-d-learn
On Friday, 8 April 2016 at 23:06:06 UTC, Puming wrote: On Friday, 8 April 2016 at 18:23:32 UTC, wobbles wrote: On Friday, 8 April 2016 at 16:07:13 UTC, Adam D. Ruppe wrote: On Friday, 8 April 2016 at 15:20:09 UTC, Puming wrote: I tried with signal, but didn't catch SIGTTOU, it seems that

[Issue 15903] module foo.bar is not accessible here, perhaps add 'static import foo.bar; (already there)

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15903 Timothee Cour changed: What|Removed |Added CC|

[Issue 15903] New: module foo.bar is not accessible here, perhaps add 'static import foo.bar; (already there)

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15903 Issue ID: 15903 Summary: module foo.bar is not accessible here, perhaps add 'static import foo.bar; (already there) Product: D Version: D2 Hardware: x86 OS: Mac

Interfaces

2016-04-09 Thread alexander Patapoff via Digitalmars-d-learn
is there a way for me to do this in D? In java, one is able to create a new instance of an interface. interface Action { void actions(T t); } class testAction { this() { Action action = new Action() { void actions(T t){...} } } } I found this feature

Re: The day before DConf 2016

2016-04-09 Thread Walter Bright via Digitalmars-d
Thanks, I'm saving this one!

Re: The day before DConf 2016

2016-04-09 Thread Iain Buclaw via Digitalmars-d
On 8 Apr 2016 2:25 pm, "Mithun Hunsur via Digitalmars-d" < digitalmars-d@puremagic.com> wrote: > > On Friday, 8 April 2016 at 00:40:11 UTC, Mike Parker wrote: >> >> Alrighty, then. Plenty of people around so I'm confident I won't be lonely. I suppose I'll get a little bit of sightseeing in during

[Issue 15884] Assigning char[] to std.json.JSONValue creates array, not string

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15884 b2.t...@gmx.com changed: What|Removed |Added CC||b2.t...@gmx.com --- Comment #2 from

[Issue 15902] std.range.Take.opSlice is incorrect

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15902 Vlad Levenfeld changed: What|Removed |Added OS|Linux |All --

[Issue 15902] New: std.range.Take.opSlice is incorrect

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15902 Issue ID: 15902 Summary: std.range.Take.opSlice is incorrect Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: major Priority:

[Issue 15901] New: Perfect hash map for the visual D lexer

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15901 Issue ID: 15901 Summary: Perfect hash map for the visual D lexer Product: D Version: D2 Hardware: All OS: Windows Status: NEW Severity: enhancement

Re: Is it legal to use std.windows modules?

2016-04-09 Thread zabruk70 via Digitalmars-d-learn
On Saturday, 9 April 2016 at 02:14:48 UTC, Jonathan M Davis wrote: So, if anything, I'd open a bug report about how std.windows is old bug https://issues.dlang.org/show_bug.cgi?id=13516

[Issue 15839] [REG2.071-b1] this.outer is of wrong type

2016-04-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15839 --- Comment #11 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/bb5f550edd77ad780878b8fba89820b001b43554 fix Issue 15839 -