DlangUI project update

2014-12-26 Thread Vadim Lopatin via Digitalmars-d-announce
Hello! DlangUI project is alive and under active development. https://github.com/buggins/dlangui Recent changes: - new controls: ScrollWidget, TreeView, ComboBox, ... - new dialogs: FileOpenDialog, MessageBox - a lot of bugfixes - performance improvements in software renderer - killer app: new

Re: DlangUI project update

2014-12-26 Thread MattCoder via Digitalmars-d-announce
On Friday, 26 December 2014 at 12:33:04 UTC, Vadim Lopatin wrote: DlangUI project is alive and under active development... From time to time I see some people asking for GUI over here, and this could be an answer to that. For what I can see from the screenshot this seems to be very

Re: DlangUI project update

2014-12-26 Thread John Colvin via Digitalmars-d-announce
On Friday, 26 December 2014 at 13:36:08 UTC, MattCoder wrote: On Friday, 26 December 2014 at 12:33:04 UTC, Vadim Lopatin wrote: DlangUI project is alive and under active development... From time to time I see some people asking for GUI over here, and this could be an answer to that. For what

Re: DlangUI project update

2014-12-26 Thread MattCoder via Digitalmars-d-announce
On Friday, 26 December 2014 at 16:14:27 UTC, John Colvin wrote: http://code.dlang.org/?sort=updatedcategory=library.gui Shame on me! I've been using D for almost 2 years for my own projects and believe or not, although I have heard about DUB I didn't know about this site. (Until now when I

Re: D/Objective-C 64bit

2014-12-26 Thread Jacob Carlborg via Digitalmars-d-announce
On 2014-12-25 14:12, Christian Schneider wrote: Just for my information: Why is it no longer possible to have multiple d methods (or overloaded constructors) to map to the same Objective-C implementation? I though it was quite nice to have overloaded d constructors for the various init..

Re: D/Objective-C 64bit

2014-12-26 Thread Jacob Carlborg via Digitalmars-d-announce
On 2014-12-25 15:30, Christian Schneider wrote: Was just upgrading everything to the latest Github, dmd, druntime (the d-objc branch). It does not seem to be able to link into the AppKit and Foundation anymore. dmd fails silently with error code -11 I uploaded a very stripped down project

Re: DlangUI project update

2014-12-26 Thread Jack via Digitalmars-d-announce
On Friday, 26 December 2014 at 12:33:04 UTC, Vadim Lopatin wrote: Hello! DlangUI project is alive and under active development. https://github.com/buggins/dlangui Recent changes: - new controls: ScrollWidget, TreeView, ComboBox, ... - new dialogs: FileOpenDialog, MessageBox - a lot of

Re: DlangUI project update

2014-12-26 Thread Vadim Lopatin via Digitalmars-d-announce
On Saturday, 27 December 2014 at 02:48:28 UTC, Jack wrote: On Friday, 26 December 2014 at 12:33:04 UTC, Vadim Lopatin wrote: Hello! DlangUI project is alive and under active development. https://github.com/buggins/dlangui Greetings, great work so far! So I have trouble building the project,

D is one if Wired's 10 Most Hardcore Tech Stories of 2014

2014-12-26 Thread Walter Bright via Digitalmars-d-announce
http://www.wired.com/2014/12/wired-enterprise-year/

Re: DlangUI project update

2014-12-26 Thread Suliman via Digitalmars-d-announce
Vadim, could you add in file path in browsing window ability to click on any needed segment of path and move to it level. I mean system like does in Windows 7 in when you can move to D:\code\foo\bar\baz, and after click on foo move to D:\code\foo\

Re: DlangUI project update

2014-12-26 Thread Vadim Lopatin via Digitalmars-d-announce
On Saturday, 27 December 2014 at 06:32:17 UTC, Suliman wrote: Vadim, could you add in file path in browsing window ability to click on any needed segment of path and move to it level. I mean system like does in Windows 7 in when you can move to D:\code\foo\bar\baz, and after click on foo move

Err compile time interpreter my function!

2014-12-26 Thread Zaher Dirkey via Digitalmars-d
Hi, i need help to find strange error in my project https://github.com/zaher/d-sard if you have time to compile it and test. src/sard/classes.d class SardObjects(T: SardObject): SardObject void afterAdd(T object){ debug{ //writeln(this.classinfo.name ~ .add: ~

Re: Err compile time interpreter my function!

2014-12-26 Thread Tobias Pankrath via Digitalmars-d
--- class C { int a = foo(); // foo is called at compile time } --- Reduced test case: --- class S { int a = compileTime(1); int b = compileTime(2); } int compileTime(int i) { import std.stdio; writeln(ct); return i; } --- This works as expected. To initialize your fields at

Re: Ldc vs dmd vs gdc

2014-12-26 Thread Iain Buclaw via Digitalmars-d
On 26 Dec 2014 07:25, Rikki Cattermole via Digitalmars-d digitalmars-d@puremagic.com wrote: On Monday, 15 December 2014 at 08:25:16 UTC, Rikki Cattermole wrote: I found a little interesting difference between ldc, dmd and gdc today. Summarized in ldc it does not allow you to have multiple

Re: Ldc vs dmd vs gdc

2014-12-26 Thread Rikki Cattermole via Digitalmars-d
On 26/12/2014 10:30 p.m., Iain Buclaw via Digitalmars-d wrote: On 26 Dec 2014 07:25, Rikki Cattermole via Digitalmars-d digitalmars-d@puremagic.com mailto:digitalmars-d@puremagic.com wrote: On Monday, 15 December 2014 at 08:25:16 UTC, Rikki Cattermole wrote: I found a little interesting

Re: Ldc vs dmd vs gdc

2014-12-26 Thread Rikki Cattermole via Digitalmars-d
On 26/12/2014 10:42 p.m., Rikki Cattermole wrote: On 26/12/2014 10:30 p.m., Iain Buclaw via Digitalmars-d wrote: On 26 Dec 2014 07:25, Rikki Cattermole via Digitalmars-d digitalmars-d@puremagic.com mailto:digitalmars-d@puremagic.com wrote: On Monday, 15 December 2014 at 08:25:16 UTC, Rikki

Re: Lost a new commercial user this week :(

2014-12-26 Thread Iain Buclaw via Digitalmars-d
On 20 Dec 2014 20:40, Atila Neves via Digitalmars-d digitalmars-d@puremagic.com wrote: FWIW, I'd like to thank you for taking the time (and putting up with some undeserved abuse for it) to write about your experience in trying to get other people to adopt D. For some they might be known issues,

Re: Ldc vs dmd vs gdc

2014-12-26 Thread Iain Buclaw via Digitalmars-d
On 26 Dec 2014 09:45, Rikki Cattermole via Digitalmars-d digitalmars-d@puremagic.com wrote: On 26/12/2014 10:30 p.m., Iain Buclaw via Digitalmars-d wrote: On 26 Dec 2014 07:25, Rikki Cattermole via Digitalmars-d digitalmars-d@puremagic.com mailto:digitalmars-d@puremagic.com wrote: On

Chapel vs D

2014-12-26 Thread via Digitalmars-d
The Chapel quick ref card gives a nice overview of Chapel syntax and features: http://chapel.cray.com/spec/quickReference.pdf Cray has of course geared Chapel towards non-realtime high-throughput computing, so it is not an alternative to C/C++/Rust/D for interactive applications. But the

Re: Err compile time interpreter my function!

2014-12-26 Thread Zaher Dirkey via Digitalmars-d
Thank you. I understand it as functiosn, but not classes, i fixed it by moving creating env from declaration of the SardRun class into a function. https://github.com/zaher/d-sard/commit/9fbf3df40373d89152b00c02d9de352d64c12077#diff-8b265cbc4eda6c1f724e9f726b0da853 I feel i will fail in the

Re: Lost a new commercial user this week :(

2014-12-26 Thread Andrei Alexandrescu via Digitalmars-d
On 12/25/14 5:18 PM, Mike Parker wrote: On 12/26/2014 9:48 AM, Manu via Digitalmars-d wrote: Ironically, the string and algorithm functions are probably the worst offenders, but coincidentally, there is a high chance that these are the first functions anyone will ever reach for, so they

Re: Chapel vs D

2014-12-26 Thread Israel via Digitalmars-d
On Friday, 26 December 2014 at 11:52:27 UTC, Ola Fosheim Grøstad wrote: The Chapel quick ref card gives a nice overview of Chapel syntax and features: http://chapel.cray.com/spec/quickReference.pdf Cray has of course geared Chapel towards non-realtime high-throughput computing, so it is not

Re: Chapel vs D

2014-12-26 Thread bearophile via Digitalmars-d
Israel: I think the languages out there with the cleanest looking syntax is C# and similarly Java. Haskell and Python have a much cleaner syntax compared to C#/Java. But sometimes in Haskell you don't have enough anchor points to quickly understand what the code means. So I think the

Re: DIP66 v1.1 (Multiple) alias this.

2014-12-26 Thread Daniel N via Digitalmars-d
On Wednesday, 24 December 2014 at 22:09:49 UTC, Andrei Alexandrescu wrote: Is there a need for explicit overriding, i.e. any inadvertent error people may make without it? -- Andrei I failed to find any dangerous refactoring sequences, so it might be superfluous, however I found another minor

Re: DIP66 v1.1 (Multiple) alias this.

2014-12-26 Thread Walter Bright via Digitalmars-d
On 12/23/2014 10:17 PM, Andrei Alexandrescu wrote: On 12/23/14 8:54 PM, Walter Bright wrote: The current behavior of: is (D : B) is the expression will evaluate to false if D does not compile. However, a compile time error will be issued if B does not compile. If D and B compile, then

Re: Dgui Will be continue?

2014-12-26 Thread Gary Willoughby via Digitalmars-d
On Wednesday, 17 December 2014 at 10:35:25 UTC, FrankLike wrote: Dgui is very good,but what status is about now? Why not take a look at this one: http://forum.dlang.org/thread/szqsscsvcbpjjeelk...@forum.dlang.org

Re: Chapel vs D

2014-12-26 Thread Gary Willoughby via Digitalmars-d
On Friday, 26 December 2014 at 18:38:42 UTC, bearophile wrote: The point is, I agree. Syntax like this is so terrible to look at it hurts. I feel like i lose 10 minutes of my lifespan every time i look at this. It's also a lot a matter of getting used to it. I agree with this, you will get

Re: Dgui Will be continue?

2014-12-26 Thread user via Digitalmars-d
don't use crap - use http://forum.dlang.org/thread/ovgoajvboltrtciqf...@forum.dlang.org it is great. works for 64bit!! On Wednesday, 17 December 2014 at 12:26:48 UTC, Gary Willoughby wrote: On Wednesday, 17 December 2014 at 10:35:25 UTC, FrankLike wrote: Dgui is very good,but what

Re: DIP66 v1.1 (Multiple) alias this.

2014-12-26 Thread Andrei Alexandrescu via Digitalmars-d
On 12/26/14 12:37 PM, Walter Bright wrote: On 12/23/2014 10:17 PM, Andrei Alexandrescu wrote: In fact a better thought: as soon as D is defined, repeated subtyping should be detected as an error. Then there's no question about is in the first place :o). That's a good idea, but I think it is

Re: Getting DAllegro 5 to work in Windows

2014-12-26 Thread Joel via Digitalmars-d-learn
On Wednesday, 24 December 2014 at 09:57:31 UTC, Kagamin wrote: Works for me on allegro-5.0.10-mt.dll, produced 391kb lib file. I think my Windows 7 on my Mac has system damage - I used a doggy flash drive. I plan to install Window 8.1, and hopefully that will fix the problem.

Constructor protection: package ctors, UFCS, static methods?

2014-12-26 Thread aldanor via Digitalmars-d-learn
Hi, I've been wondering if anyone would give some advice on an OOP-related question. Assume there's an external library (module c_library) that handles IDs for groups and datasets and we want to wrap it in a high-level D API. Groups can contain datasets identified by names, and each dataset

Re: Constructor protection: package ctors, UFCS, static methods?

2014-12-26 Thread aldanor via Digitalmars-d-learn
Please ignore the missing new keywords in the code and other minor typos :)

Re: Fastest Way to Append Multiple Elements to an Array

2014-12-26 Thread Nordlöw
On Thursday, 18 December 2014 at 20:12:01 UTC, Tobias Pankrath wrote: You shouldn't use my code verbatim though. For example, you should only use x.length, if x is of element type of data. Otherwise if you have e.g. an array of array you'd get totally wrong numbers. What role does `x` play

Re: Fastest Way to Append Multiple Elements to an Array

2014-12-26 Thread Nordlöw
On Friday, 26 December 2014 at 16:29:56 UTC, Nordlöw wrote: See my update at https://github.com/nordlow/justd/blob/master/algorithm_ex.d#L1602 which tries to merge all the ideas into one adapting algorithm :) Destroy! BTW: 1. Is is relevant to extend `append` to data being a

Data frames in D?

2014-12-26 Thread Laeeth Isharc via Digitalmars-d-learn
I thought about it once but quickly abandoned the idea. The primary reason was that D doesn't have REPL and is thus not suitable for interactive data exploration. The quick compile times could allow interactive data exploration I agree with other posters that a D REPL and

Re: Data frames in D?

2014-12-26 Thread Russel Winder via Digitalmars-d-learn
On Fri, 2014-12-26 at 20:44 +, Laeeth Isharc via Digitalmars-d-learn wrote: […] I agree with other posters that a D REPL and interactive/visualization data environment would be very cool, but unfortunately doesn't exist. Batch computing is more practical, but REPLs really hook new users. I

Re: D language manipulation of dataframe type structures

2014-12-26 Thread anon via Digitalmars-d-learn
On Wednesday, 25 September 2013 at 04:35:57 UTC, lomereiter wrote: I thought about it once but quickly abandoned the idea. The primary reason was that D doesn't have REPL and is thus not suitable for interactive data exploration. https://github.com/MartinNowak/drepl https://drepl.dawg.eu/

Re: D language manipulation of dataframe type structures

2014-12-26 Thread aldanor via Digitalmars-d-learn
On Wednesday, 25 September 2013 at 03:41:36 UTC, Jay Norwood wrote: I've been playing with the python pandas app enables interactive manipulation of tables of data in their dataframe structure, which they say is similar to the structures used in R. It appears pandas has laid claim to being a

Re: Data frames in D?

2014-12-26 Thread Laeeth Isharc via Digitalmars-d-learn
REPLs are over-hyped and have become a fashion touchstone that few dare argue against for fear of being denounced as un-hip. REPLs have their place, but in the main are nowhere near as useful as people claim. IPython Notebooks on the other hand are a balance between editor/execution

Data Frames in D - let's not wait for linear algebra; useful today in finance and Internet of Things

2014-12-26 Thread Laeeth Isharc via Digitalmars-d-learn
On Friday, 26 December 2014 at 21:31:00 UTC, aldanor wrote: On Wednesday, 25 September 2013 at 03:41:36 UTC, Jay Norwood wrote: I've been playing with the python pandas app enables interactive manipulation of tables of data in their dataframe structure, which they say is similar to the

Re: Fastest Way to Append Multiple Elements to an Array

2014-12-26 Thread Tobias Pankrath via Digitalmars-d-learn
On Friday, 26 December 2014 at 16:31:48 UTC, Nordlöw wrote: On Friday, 26 December 2014 at 16:29:56 UTC, Nordlöw wrote: See my update at https://github.com/nordlow/justd/blob/master/algorithm_ex.d#L1602 which tries to merge all the ideas into one adapting algorithm :) Destroy! BTW:

[Issue 10233] [Tracker] Grammar issues

2014-12-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10233 briancsch...@gmail.com changed: What|Removed |Added Depends on||13895 --

[Issue 13895] New: Declaration grammar is insufficient

2014-12-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13895 Issue ID: 13895 Summary: Declaration grammar is insufficient Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: spec Severity: normal

[Issue 13896] New: DMD-FE accepts multiple extern(C) definitions

2014-12-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13896 Issue ID: 13896 Summary: DMD-FE accepts multiple extern(C) definitions Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal

[Issue 13897] New: Wrong purity of inner function

2014-12-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13897 Issue ID: 13897 Summary: Wrong purity of inner function Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Keywords: accepts-invalid

[Issue 13897] Wrong purity of inner function

2014-12-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13897 sinkuup...@gmail.com changed: What|Removed |Added CC||sinkuup...@gmail.com

[Issue 13898] New: Link error from std.stdio readRaw

2014-12-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13898 Issue ID: 13898 Summary: Link error from std.stdio readRaw Product: D Version: D2 Hardware: x86_64 OS: Mac OS X Status: NEW Severity: normal

[Issue 13898] Link error from std.stdio readRaw

2014-12-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13898 Aleksi Sapon qcte...@gmail.com changed: What|Removed |Added Keywords||link-failure --

[Issue 13898] Link error from std.stdio rawRead

2014-12-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13898 Aleksi Sapon qcte...@gmail.com changed: What|Removed |Added Summary|Link error from std.stdio |Link error from std.stdio

[Issue 13172] optimize and rawread cause symbol undefined errors

2014-12-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13172 Aleksi Sapon qcte...@gmail.com changed: What|Removed |Added CC||qcte...@gmail.com ---

[Issue 13898] Link error from std.stdio rawRead

2014-12-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13898 Aleksi Sapon qcte...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 13854] Appending to an interior slice of a large array results in unnecessary 16-byte offset

2014-12-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13854 --- Comment #2 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/e1b25e4d0bd0c7f36acbe3afb2886be33381e47c Merge pull request

[Issue 13840] nothrow attribute affects inside of try-catch block when using foreach with opApply

2014-12-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13840 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull

[Issue 13897] Wrong purity of inner function

2014-12-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13897 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 13776] [REG2.067a] Incorrect recursive alias declaration error with `__traits(compiles, ...)`

2014-12-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13776 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 12780] Multiplying integer array by scalar double fails

2014-12-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12780 --- Comment #2 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/5bea0130e4d3491dfcae1501f8248b478fb5e8ae fix Issue 12780 -

[Issue 12780] Multiplying integer array by scalar double fails

2014-12-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12780 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED