Re: Embed glade file into a binary

2016-09-17 Thread Lodovico Giaretta via Digitalmars-d-learn
On Saturday, 17 September 2016 at 19:01:10 UTC, Geert wrote: On Saturday, 17 September 2016 at 18:36:52 UTC, llmp wrote: On Saturday, 17 September 2016 at 18:18:37 UTC, Geert wrote: I've compiled a small application, and it runs when i execute it at the same directory where is the glade file.

Re: LDC: Speed up incremental builds with object file caching

2016-09-17 Thread Daniel Kozak via Digitalmars-d-announce
Dne 17.9.2016 v 20:46 Johan Engelen via Digitalmars-d-announce napsal(a): I just finished another post about LDC: https://johanengelen.github.io/ldc/2016/09/17/LDC-object-file-caching.html Thanks in advance for letting me know about any bugs you find, in the text or in the code :) -Johan

Re: seg fault, now what?

2016-09-17 Thread Stefan Koch via Digitalmars-d-learn
On Saturday, 17 September 2016 at 21:12:08 UTC, Ryan wrote: Is there an alternative to reporting bugs via bugzilla? I tried to open an account, but they recommend not using your main e-mail address because it will be posted to the web for all the spammers to find. But I don't have another

Re: Window x64, LDC, Derelict : unable to compile

2016-09-17 Thread Guillaume Piolat via Digitalmars-d-learn
On Thursday, 15 September 2016 at 22:03:12 UTC, Patric Dexheimer wrote: LLVM D compiler (1a7070): based on DMD v2.071.2-b2 and LLVM 3.9.0git-fbbabf3 command: dub run --build=release --arch=x86_64 --compiler=D:/ldc/bin/ldc2.exe Output: Performing "release" build using D:/ldc/bin/ldc2.exe

Really easy optimization with std.experimental.allocator

2016-09-17 Thread Ryan via Digitalmars-d-learn
I've been learning about allocators in D. Much easier than C++, and this little program shows a really easy optimization. Just use the IAllocator interface with the GC. --- import std.datetime; import std.experimental.allocator;

Re: How templates might be improved

2016-09-17 Thread Stefan Koch via Digitalmars-d
On Friday, 16 September 2016 at 08:51:24 UTC, Stefan Koch wrote: [...] I just found http://llvm.org/docs/doxygen/html/FoldingSet_8h_source.html, So it looks like the llvm guys are already using the intern-everything approach, It makes sense since in ssa based forms this is pretty easy to

Re: PBR for Audio Software Interfaces

2016-09-17 Thread Guillaume Piolat via Digitalmars-d
On Saturday, 17 September 2016 at 15:41:24 UTC, John Colvin wrote: On Saturday, 17 September 2016 at 09:26:50 UTC, Guillaume Piolat wrote: In this post, I describe the software renderer available in Dplug: https://www.auburnsounds.com/blog/2016-09-16_PBR-for-Audio-Software-Interfaces.html

[Issue 16506] New: segfaults with std.experimental.allocator.{gc_allocator,mallocator}

2016-09-17 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16506 Issue ID: 16506 Summary: segfaults with std.experimental.allocator.{gc_allocator,mallocator} Product: D Version: D2 Hardware: x86_64 OS: Linux

Re: PBR for Audio Software Interfaces

2016-09-17 Thread Guillaume Piolat via Digitalmars-d
On Saturday, 17 September 2016 at 17:20:10 UTC, ak wrote: Nice article! Interesting approach, but this is imho the triumph of form over substance. Your GUI increases CPU usage from ~7% to ~50% (idle open editor window) to over 100% (interacting with gui) -- tested with demo of Panagement AU in

Re: Omitting optional tags

2016-09-17 Thread ag0aep6g via Digitalmars-d
On 09/17/2016 08:17 PM, Andrei Alexandrescu wrote: Cool! We should do this for our own docs: https://google.github.io/styleguide/htmlcssguide.xml?showone=Optional_Tags#Optional_Tags I'd rather go full XML. Post-processing is easier with XML, especially with dogfooding in mind. We're soon

Re: Embed glade file into a binary

2016-09-17 Thread Geert via Digitalmars-d-learn
On Saturday, 17 September 2016 at 19:07:33 UTC, Lodovico Giaretta wrote: addFromFile expects the *name* of the file. Because you already have the *contents* of the file, you should change method. Maybe addFromString is the correct one, but I'm not sure. "g.addFromString(fileContent);" It

seg fault, now what?

2016-09-17 Thread Ryan via Digitalmars-d-learn
Is there an alternative to reporting bugs via bugzilla? I tried to open an account, but they recommend not using your main e-mail address because it will be posted to the web for all the spammers to find. But I don't have another e-mail address, and it seems a bit much to create a fake e-mail

Re: [OT] Brokerage for the D Language Foundation

2016-09-17 Thread jmh530 via Digitalmars-d
On Sunday, 18 September 2016 at 01:04:16 UTC, dewitt wrote: If you are actively trading I like Interactive Brokers. I know u mentioned before about doing some day trading so they are also good for that. If you looking for a more buy and hold strategy for the Foundation then I would just

Re: Ah, simple solution to unittests inside templates

2016-09-17 Thread Andrej Mitrovic via Digitalmars-d
On Saturday, 17 September 2016 at 17:22:52 UTC, Andrei Alexandrescu wrote: The unittest documentation is nicely generated. The unittest code itself is only generated for one instantiation. I had a similar thought, but I didn't really like verbosity of the static if. I think at some point

Re: The Doc Builder is Down

2016-09-17 Thread Vladimir Panteleev via Digitalmars-d
On Saturday, 17 September 2016 at 16:55:13 UTC, Jack Stouffer wrote: I don't know if someone is already working on this or not, but all builds are erroring with the same message. I think it should be fixed now.

Re: [OT] Brokerage for the D Language Foundation

2016-09-17 Thread Nick Sabalausky via Digitalmars-d
On 09/17/2016 12:58 PM, Andrei Alexandrescu wrote: On 09/17/2016 12:53 PM, Nick Sabalausky wrote: That's how I hear it worked in the 50's, but does anyone but the brokers ever gain any real interest from such accounts anymore? From everything I've ever seen and heard, they pretty much all now

Re: seg fault, now what?

2016-09-17 Thread ag0aep6g via Digitalmars-d-learn
On 09/17/2016 11:58 PM, Ryan wrote: On Saturday, 17 September 2016 at 21:44:22 UTC, Stefan Koch wrote: [...] Post the program somewhere otherwise we cannot help. [... code ...] Reduced and filed: https://issues.dlang.org/show_bug.cgi?id=16506

Re: Omitting optional tags

2016-09-17 Thread Jack Stouffer via Digitalmars-d
On Saturday, 17 September 2016 at 18:17:56 UTC, Andrei Alexandrescu wrote: Cool! We should do this for our own docs: https://google.github.io/styleguide/htmlcssguide.xml?showone=Optional_Tags#Optional_Tags Andrei I wouldn't recommend it. We have no idea how many screen readers and HTML

Re: LDC: Speed up incremental builds with object file caching

2016-09-17 Thread Mike Parker via Digitalmars-d-announce
On Saturday, 17 September 2016 at 18:46:26 UTC, Johan Engelen wrote: I just finished another post about LDC: https://johanengelen.github.io/ldc/2016/09/17/LDC-object-file-caching.html Thanks in advance for letting me know about any bugs you find, in the text or in the code :) -Johan

Re: seg fault, now what?

2016-09-17 Thread Ryan via Digitalmars-d-learn
On Saturday, 17 September 2016 at 21:44:22 UTC, Stefan Koch wrote: On Saturday, 17 September 2016 at 21:12:08 UTC, Ryan wrote: Is there an alternative to reporting bugs via bugzilla? I tried to open an account, but they recommend not using your main e-mail address because it will be posted to

Re: consequences of removing semicolons in D like in Python

2016-09-17 Thread ixid via Digitalmars-d
On Saturday, 17 September 2016 at 11:59:53 UTC, cym13 wrote: Note how a leading dot means “global scope” but a dot after something means UFCS or method/attribute. What should this program do? If it is akin to “auto i = [1, 2, 3]; .filterEven();” then i is an int[] and the program prints

Re: seg fault, now what?

2016-09-17 Thread Ryan via Digitalmars-d-learn
On Saturday, 17 September 2016 at 22:48:49 UTC, ag0aep6g wrote: On 09/17/2016 11:58 PM, Ryan wrote: On Saturday, 17 September 2016 at 21:44:22 UTC, Stefan Koch wrote: [...] Post the program somewhere otherwise we cannot help. [... code ...] Reduced and filed:

Re: [OT] Brokerage for the D Language Foundation

2016-09-17 Thread dewitt via Digitalmars-d
On Saturday, 17 September 2016 at 16:58:31 UTC, Andrei Alexandrescu wrote: On 09/17/2016 12:53 PM, Nick Sabalausky wrote: That's how I hear it worked in the 50's, but does anyone but the brokers ever gain any real interest from such accounts anymore? From everything I've ever seen and heard,

Re: PBR for Audio Software Interfaces

2016-09-17 Thread Guillaume Piolat via Digitalmars-d
On Saturday, 17 September 2016 at 17:20:10 UTC, ak wrote: On Saturday, 17 September 2016 at 09:26:50 UTC, Guillaume Piolat wrote: In this post, I describe the software renderer available in Dplug: https://www.auburnsounds.com/blog/2016-09-16_PBR-for-Audio-Software-Interfaces.html Nice

Re: dub: how to update package?

2016-09-17 Thread Suliman via Digitalmars-d-learn
On Saturday, 17 September 2016 at 07:25:29 UTC, Intersteller wrote: I have a dub project, is there a way to update to get the latest package? dub upgrade

Re: consequences of removing semicolons in D like in Python

2016-09-17 Thread Sebastiaan Koppe via Digitalmars-d
On Saturday, 17 September 2016 at 05:03:17 UTC, Chris Wright wrote: someObject.someField.someLongMethodName( arg1, arg2, arg3); There are no semicolons in an ArgumentList. You might look into how javascript does it and what weirdness ensues as a result. Its weird and uncomfortable at

Re: dub: how to update package?

2016-09-17 Thread Intersteller via Digitalmars-d-learn
On Saturday, 17 September 2016 at 07:37:23 UTC, Suliman wrote: On Saturday, 17 September 2016 at 07:25:29 UTC, Intersteller wrote: I have a dub project, is there a way to update to get the latest package? dub upgrade I mean, I would like to update the packages used by a project. Not dub

Re: Countries where D is used

2016-09-17 Thread Ilya Yaroshenko via Digitalmars-d
On Friday, 16 September 2016 at 11:45:21 UTC, c-v-i wrote: On Friday, 16 September 2016 at 11:34:31 UTC, Chris wrote: I've noticed that there is a lot of enthusiasm for D in France, Germany and Russia (alphabetic order) where it is also used for production. I see there's a company in Belarus

Re: Subtle bug in ddox vs. ddoc macro handling

2016-09-17 Thread Sönke Ludwig via Digitalmars-d
There is indeed a separate macro engine [1] contained in the ddox repo. Neither DDMD, nor libddoc existed at the time and DMD's implementation was written in, from a D POV, very alien C style, with no suitable structure to extract high level information, so instead of porting it, I instead

Re: dub: how to update package?

2016-09-17 Thread Intersteller via Digitalmars-d-learn
On Saturday, 17 September 2016 at 07:37:23 UTC, Suliman wrote: On Saturday, 17 September 2016 at 07:25:29 UTC, Intersteller wrote: I have a dub project, is there a way to update to get the latest package? dub upgrade Ok, thanks. Thought that would upgrade dub for some reason.

dub: how to update package?

2016-09-17 Thread Intersteller via Digitalmars-d-learn
I have a dub project, is there a way to update to get the latest package?

Re: consequences of removing semicolons in D like in Python

2016-09-17 Thread tcak via Digitalmars-d
On Saturday, 17 September 2016 at 05:03:17 UTC, Chris Wright wrote: On Fri, 16 Sep 2016 23:00:08 +, eugene wrote: Hello everyone, what if to remove semicolons at the end of each line of code in D like in Python? Is it worth it? It's more than reinterpreting newline as a semicolon. For

Re: Subtle bug in ddox vs. ddoc macro handling

2016-09-17 Thread Walter Bright via Digitalmars-d
On 9/16/2016 11:53 PM, Sönke Ludwig wrote: There is indeed a separate macro engine [1] contained in the ddox repo. Neither DDMD, nor libddoc existed at the time and DMD's implementation was written in, from a D POV, very alien C style, with no suitable structure to extract high level

PBR for Audio Software Interfaces

2016-09-17 Thread Guillaume Piolat via Digitalmars-d
In this post, I describe the software renderer available in Dplug: https://www.auburnsounds.com/blog/2016-09-16_PBR-for-Audio-Software-Interfaces.html

Re: consequences of removing semicolons in D like in Python

2016-09-17 Thread eugene via Digitalmars-d
On Saturday, 17 September 2016 at 02:21:54 UTC, Chris M. wrote: Pointless and not worth breaking everyone's code over why?

Re: consequences of removing semicolons in D like in Python

2016-09-17 Thread Jonathan M Davis via Digitalmars-d
On Saturday, September 17, 2016 10:15:57 eugene via Digitalmars-d wrote: > On Saturday, 17 September 2016 at 02:21:54 UTC, Chris M. wrote: > > Pointless and not worth breaking everyone's code over > > why? Having semicolons actually serves as a synchronization point for the compiler, which helps

Re: Draw math formulas with ggplotd

2016-09-17 Thread Edwin van Leeuwen via Digitalmars-d-learn
On Saturday, 17 September 2016 at 11:22:04 UTC, John Colvin wrote: On Saturday, 17 September 2016 at 02:41:15 UTC, brocolis wrote: How do I draw math formulas programmatically? I want to do on screen what latex does on .pdf. And I want to draw a math formula in the image generated with

[Issue 16504] New: `dup` can't use storage calss `scope` for its parameter in general

2016-09-17 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16504 Issue ID: 16504 Summary: `dup` can't use storage calss `scope` for its parameter in general Product: D Version: D2 Hardware: All OS: All Status: NEW

Re: mysql-native v0.1.5

2016-09-17 Thread Nick Sabalausky via Digitalmars-d-announce
On 09/16/2016 02:41 PM, Rory McGuire via Digitalmars-d-announce wrote: On 11 Sep 2016 16:57, "Nick Sabalausky via Digitalmars-d-announce" < digitalmars-d-announce@puremagic.com> wrote: [snip] ... a top priority for mysqln-native at this point. Hi Nick is that a typo or are you working on a

Re: How templates might be improved

2016-09-17 Thread Stefan Koch via Digitalmars-d
On Saturday, 17 September 2016 at 12:02:47 UTC, Stefan Koch wrote: On Friday, 16 September 2016 at 23:44:42 UTC, Chris Wright wrote: On the other hand, in a change of behavior, this will be a cache miss and the template is instantiated twice: alias myint = int; alias TypeA =

Re: consequences of removing semicolons in D like in Python

2016-09-17 Thread Craig Dillabaugh via Digitalmars-d
On Saturday, 17 September 2016 at 13:18:24 UTC, eugene wrote: On Saturday, 17 September 2016 at 13:11:50 UTC, Nick Sabalausky wrote: On 09/16/2016 07:00 PM, eugene wrote: Hello everyone, what if to remove semicolons at the end of each line of code in D like in Python? Is it worth it? Not

Re: consequences of removing semicolons in D like in Python

2016-09-17 Thread eugene via Digitalmars-d
On Saturday, 17 September 2016 at 13:33:49 UTC, Craig Dillabaugh wrote: On Saturday, 17 September 2016 at 13:18:24 UTC, eugene wrote: On Saturday, 17 September 2016 at 13:11:50 UTC, Nick Sabalausky wrote: On 09/16/2016 07:00 PM, eugene wrote: Hello everyone, what if to remove semicolons at

Re: PBR for Audio Software Interfaces

2016-09-17 Thread ketmar via Digitalmars-d
thank you. it was interesting reading.

Re: consequences of removing semicolons in D like in Python

2016-09-17 Thread Chris Wright via Digitalmars-d
On Sat, 17 Sep 2016 09:09:44 +, Sebastiaan Koppe wrote: > On Saturday, 17 September 2016 at 05:03:17 UTC, Chris Wright wrote: >> someObject.someField.someLongMethodName( >> arg1, arg2, arg3); > There are no semicolons in an ArgumentList. Thank you for repeating my point, that you have to

Re: consequences of removing semicolons in D like in Python

2016-09-17 Thread jmh530 via Digitalmars-d
On Saturday, 17 September 2016 at 02:21:54 UTC, Chris M. wrote: On Friday, 16 September 2016 at 23:01:32 UTC, eugene wrote: On Friday, 16 September 2016 at 23:00:08 UTC, eugene wrote: Hello everyone, what if to remove semicolons at the end of each line of code in D like in Python? Is it

Re: [OT] Brokerage for the D Language Foundation

2016-09-17 Thread rikki cattermole via Digitalmars-d
On 18/09/2016 2:22 AM, Andrei Alexandrescu wrote: The Foundation's cash os currently sitting in a checking account at Bank of America. I've googled for things like "brokerage accounts for non-profit" and figured that most or all deep discount brokers (Fidelity, Merrill, Etrade etc) allow opening

Re: consequences of removing semicolons in D like in Python

2016-09-17 Thread Lodovico Giaretta via Digitalmars-d
On Friday, 16 September 2016 at 23:00:08 UTC, eugene wrote: Hello everyone, what if to remove semicolons at the end of each line of code in D like in Python? Is it worth it? Another reason not listed in previous answers (or I didn't see it) is that D as a unique (AFAIK) capability: string

Re: consequences of removing semicolons in D like in Python

2016-09-17 Thread Chris Wright via Digitalmars-d
On Sat, 17 Sep 2016 14:23:40 +, jmh530 wrote: > On Saturday, 17 September 2016 at 02:21:54 UTC, Chris M. wrote: >> On Friday, 16 September 2016 at 23:01:32 UTC, eugene wrote: >>> On Friday, 16 September 2016 at 23:00:08 UTC, eugene wrote: Hello everyone, what if to remove semicolons

Re: consequences of removing semicolons in D like in Python

2016-09-17 Thread eugene via Digitalmars-d
On Saturday, 17 September 2016 at 14:23:40 UTC, jmh530 wrote: What if the OP wrote a compiler that turned his version of D sans semicolons into proper D code? i didn't try to implement it myself, but i will try

[Issue 16502] spawnProcess does not throw on exec errors

2016-09-17 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16502 --- Comment #2 from Roman --- (In reply to b2.temp from comment #1) > Why should it ? > > You can check the exit status, read stderr if your process is piped and > throw if you like. As example can you give any language whose

Re: Countries where D is used

2016-09-17 Thread Meta via Digitalmars-d
On Saturday, 17 September 2016 at 06:44:37 UTC, Ilya Yaroshenko wrote: On Friday, 16 September 2016 at 11:45:21 UTC, c-v-i wrote: On Friday, 16 September 2016 at 11:34:31 UTC, Chris wrote: I've noticed that there is a lot of enthusiasm for D in France, Germany and Russia (alphabetic order)

[Issue 16502] spawnProcess does not throw on exec errors

2016-09-17 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16502 --- Comment #1 from b2.t...@gmx.com --- Why should it ? You can check the exit status, read stderr if your process is piped and throw if you like. As example can you give any language whose the process methods, as implemented in their standard

[Issue 12659] Module level mixin templates conflict

2016-09-17 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12659 Marco Leise changed: What|Removed |Added CC||marco.le...@gmx.de

[OT] Brokerage for the D Language Foundation

2016-09-17 Thread Andrei Alexandrescu via Digitalmars-d
The Foundation's cash os currently sitting in a checking account at Bank of America. I've googled for things like "brokerage accounts for non-profit" and figured that most or all deep discount brokers (Fidelity, Merrill, Etrade etc) allow opening accounts for non-profit organizations. Bank of

Re: How templates might be improved

2016-09-17 Thread Chris Wright via Digitalmars-d
On Sat, 17 Sep 2016 12:02:47 +, Stefan Koch wrote: > On Friday, 16 September 2016 at 23:44:42 UTC, Chris Wright wrote: > > >> On the other hand, in a change of behavior, this will be a cache miss >> and the template is instantiated twice: >> >> alias myint = int; >> alias TypeA =

Re: Subtle bug in ddox vs. ddoc macro handling

2016-09-17 Thread Andrei Alexandrescu via Digitalmars-d
On 9/17/16 5:29 AM, Walter Bright wrote: On 9/16/2016 11:53 PM, Sönke Ludwig wrote: There is indeed a separate macro engine [1] contained in the ddox repo. Neither DDMD, nor libddoc existed at the time and DMD's implementation was written in, from a D POV, very alien C style, with no suitable

Re: consequences of removing semicolons in D like in Python

2016-09-17 Thread Nick Sabalausky via Digitalmars-d
On 09/16/2016 07:00 PM, eugene wrote: Hello everyone, what if to remove semicolons at the end of each line of code in D like in Python? Is it worth it? Not worth it. Gripes about semicolons are a symptom of only seeing the superficial and not really understanding enough about languages to see

Re: consequences of removing semicolons in D like in Python

2016-09-17 Thread eugene via Digitalmars-d
On Saturday, 17 September 2016 at 13:11:50 UTC, Nick Sabalausky wrote: On 09/16/2016 07:00 PM, eugene wrote: Hello everyone, what if to remove semicolons at the end of each line of code in D like in Python? Is it worth it? Not worth it. Gripes about semicolons are a symptom of only seeing

[Issue 16504] [REG 2.072a]`dup` can't use storage class `scope` for its parameter in general

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

Re: Draw math formulas with ggplotd

2016-09-17 Thread Edwin van Leeuwen via Digitalmars-d-learn
On Saturday, 17 September 2016 at 09:56:09 UTC, Edwin van Leeuwen wrote: On Saturday, 17 September 2016 at 02:41:15 UTC, brocolis wrote: How do I draw math formulas programmatically? I want to do on screen what latex does on .pdf. And I want to draw a math formula in the image generated with

Re: Draw math formulas with ggplotd

2016-09-17 Thread Edwin van Leeuwen via Digitalmars-d-learn
On Saturday, 17 September 2016 at 02:41:15 UTC, brocolis wrote: How do I draw math formulas programmatically? I want to do on screen what latex does on .pdf. And I want to draw a math formula in the image generated with ggplotd. You can't at the moment. Parsing latex equations is not a

Re: @property Incorrectly Implemented?

2016-09-17 Thread Ethan Watson via Digitalmars-d
On Friday, 16 September 2016 at 20:52:37 UTC, John wrote: Your comment was out of place, saying properties don't need to be changed is like saying @property shouldn't even be a D feature cause you can create the same functional program in C++, which does not have the property feature. Stop

Re: Draw math formulas with ggplotd

2016-09-17 Thread John Colvin via Digitalmars-d-learn
On Saturday, 17 September 2016 at 02:41:15 UTC, brocolis wrote: How do I draw math formulas programmatically? I want to do on screen what latex does on .pdf. And I want to draw a math formula in the image generated with ggplotd. Generate data from those formulas (I like to do this with

Re: consequences of removing semicolons in D like in Python

2016-09-17 Thread cym13 via Digitalmars-d
On Saturday, 17 September 2016 at 11:03:14 UTC, Jonathan M Davis wrote: On Saturday, September 17, 2016 10:15:57 eugene via Digitalmars-d wrote: On Saturday, 17 September 2016 at 02:21:54 UTC, Chris M. wrote: > Pointless and not worth breaking everyone's code over why? Having semicolons

Re: Draw math formulas with ggplotd

2016-09-17 Thread John Colvin via Digitalmars-d-learn
On Saturday, 17 September 2016 at 11:45:07 UTC, Edwin van Leeuwen wrote: On Saturday, 17 September 2016 at 11:22:04 UTC, John Colvin wrote: On Saturday, 17 September 2016 at 02:41:15 UTC, brocolis wrote: How do I draw math formulas programmatically? I want to do on screen what latex does on

ndslice + color = image

2016-09-17 Thread Ilya Yaroshenko via Digitalmars-d
We have growing ndslice [std 1, Mir 2] and upcoming color[3]. Relja Ljubobratovic working on Computer Vision Library for Dlang - DCV [4]. Major image processing algorithms was added by Henry Gouk and Dmitry Olshansky. Also, I help with optimization suggestions and new utilities from Mir [2].

Re: How templates might be improved

2016-09-17 Thread Stefan Koch via Digitalmars-d
On Friday, 16 September 2016 at 23:44:42 UTC, Chris Wright wrote: On the other hand, in a change of behavior, this will be a cache miss and the template is instantiated twice: alias myint = int; alias TypeA = Typedef!int; alias TypeB = Typedef!myint; No It would not be a miss the

Re: Subtle bug in ddox vs. ddoc macro handling

2016-09-17 Thread Andrei Alexandrescu via Digitalmars-d
On 9/17/16 2:53 AM, Sönke Ludwig wrote: There is indeed a separate macro engine [1] contained in the ddox repo. Neither DDMD, nor libddoc existed at the time and DMD's implementation was written in, from a D POV, very alien C style, with no suitable structure to extract high level information,

Re: consequences of removing semicolons in D like in Python

2016-09-17 Thread Bastiaan Veelo via Digitalmars-d
On Friday, 16 September 2016 at 23:00:08 UTC, eugene wrote: Is it worth it? This has been discussed at length in 2009. TLDR: It's not worth it. http://forum.dlang.org/post/hbo0h2$2ksb$1...@digitalmars.com

Re: Draw math formulas with ggplotd

2016-09-17 Thread Edwin van Leeuwen via Digitalmars-d-learn
On Saturday, 17 September 2016 at 11:57:17 UTC, John Colvin wrote: On Saturday, 17 September 2016 at 11:45:07 UTC, Edwin van Leeuwen wrote: But I assumed he meant adding the formula onto the plot. Hah, yes, I should have read the question better. Rereading the question I am actually not

[Issue 16505] Enable @nogc emplace

2016-09-17 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16505 Marco Leise changed: What|Removed |Added Status|NEW |RESOLVED

The Doc Builder is Down

2016-09-17 Thread Jack Stouffer via Digitalmars-d
I don't know if someone is already working on this or not, but all builds are erroring with the same message.

Re: [OT] Brokerage for the D Language Foundation

2016-09-17 Thread Andrei Alexandrescu via Digitalmars-d
On 09/17/2016 12:53 PM, Nick Sabalausky wrote: That's how I hear it worked in the 50's, but does anyone but the brokers ever gain any real interest from such accounts anymore? From everything I've ever seen and heard, they pretty much all now work such that basically all the earnings get scooped

Re: PBR for Audio Software Interfaces

2016-09-17 Thread ak via Digitalmars-d
On Saturday, 17 September 2016 at 09:26:50 UTC, Guillaume Piolat wrote: In this post, I describe the software renderer available in Dplug: https://www.auburnsounds.com/blog/2016-09-16_PBR-for-Audio-Software-Interfaces.html Nice article! Interesting approach, but this is imho the triumph of

Ah, simple solution to unittests inside templates

2016-09-17 Thread Andrei Alexandrescu via Digitalmars-d
Recall the discussion a few days ago about unittests inside templates being instantiated with the template. Often that's desirable, but sometimes not - for example when you want to generate nice ddoc unittests and avoid bloating. For those cases, here's a simple solution that I don't think has

Omitting optional tags

2016-09-17 Thread Andrei Alexandrescu via Digitalmars-d
Cool! We should do this for our own docs: https://google.github.io/styleguide/htmlcssguide.xml?showone=Optional_Tags#Optional_Tags Andrei

Embed glade file into a binary

2016-09-17 Thread Geert via Digitalmars-d-learn
I've compiled a small application, and it runs when i execute it at the same directory where is the glade file. Is there a way to embed a glade file into a binary?

Re: Embed glade file into a binary

2016-09-17 Thread llmp via Digitalmars-d-learn
On Saturday, 17 September 2016 at 18:18:37 UTC, Geert wrote: I've compiled a small application, and it runs when i execute it at the same directory where is the glade file. Is there a way to embed a glade file into a binary? enum fileContent = import(file); fileContent is a static array of

LDC: Speed up incremental builds with object file caching

2016-09-17 Thread Johan Engelen via Digitalmars-d-announce
I just finished another post about LDC: https://johanengelen.github.io/ldc/2016/09/17/LDC-object-file-caching.html Thanks in advance for letting me know about any bugs you find, in the text or in the code :) -Johan

Re: Embed glade file into a binary

2016-09-17 Thread Geert via Digitalmars-d-learn
On Saturday, 17 September 2016 at 18:36:52 UTC, llmp wrote: On Saturday, 17 September 2016 at 18:18:37 UTC, Geert wrote: I've compiled a small application, and it runs when i execute it at the same directory where is the glade file. Is there a way to embed a glade file into a binary? enum

Re: [OT] Brokerage for the D Language Foundation

2016-09-17 Thread Nick Sabalausky via Digitalmars-d
On 09/17/2016 12:41 PM, Andrei Alexandrescu wrote: On 9/17/16 11:31 AM, John Colvin wrote: Ignorant here: Why would the foundation need a brokerage account? Companies (non-profits included) usually have some cash lying around. Some of that cash is needed for operational expenses (salaries,

Re: Draw math formulas with ggplotd

2016-09-17 Thread John Colvin via Digitalmars-d-learn
On Saturday, 17 September 2016 at 12:09:04 UTC, Edwin van Leeuwen wrote: On Saturday, 17 September 2016 at 11:57:17 UTC, John Colvin wrote: On Saturday, 17 September 2016 at 11:45:07 UTC, Edwin van Leeuwen wrote: But I assumed he meant adding the formula onto the plot. Hah, yes, I should

Re: [OT] Brokerage for the D Language Foundation

2016-09-17 Thread John Colvin via Digitalmars-d
On Saturday, 17 September 2016 at 14:22:03 UTC, Andrei Alexandrescu wrote: The Foundation's cash os currently sitting in a checking account at Bank of America. I've googled for things like "brokerage accounts for non-profit" and figured that most or all deep discount brokers (Fidelity,

Re: PBR for Audio Software Interfaces

2016-09-17 Thread John Colvin via Digitalmars-d
On Saturday, 17 September 2016 at 09:26:50 UTC, Guillaume Piolat wrote: In this post, I describe the software renderer available in Dplug: https://www.auburnsounds.com/blog/2016-09-16_PBR-for-Audio-Software-Interfaces.html Isn't that rather a lot of work to be doing? In my experience with

[Issue 16505] New: Enable @nogc emplace

2016-09-17 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16505 Issue ID: 16505 Summary: Enable @nogc emplace Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Keywords: CTFE Severity: enhancement

Re: [OT] Brokerage for the D Language Foundation

2016-09-17 Thread Andrei Alexandrescu via Digitalmars-d
On 9/17/16 11:31 AM, John Colvin wrote: Ignorant here: Why would the foundation need a brokerage account? Companies (non-profits included) usually have some cash lying around. Some of that cash is needed for operational expenses (salaries, rents, utilities, bills etc) and for more rare

Re: consequences of removing semicolons in D like in Python

2016-09-17 Thread Nick Sabalausky via Digitalmars-d
On 09/17/2016 09:38 AM, eugene wrote: because a programmer will have a choice of writing or not semicolons, as one anyway presses "Enter" why not to use it as a line separator, and one who likes to type semicolons won't be confused if there is backward compatibility Other people have already