Re: Remus

2012-11-01 Thread Jeff Nowakowski
On 10/29/2012 06:09 PM, bearophile wrote: Otherwise you risk creating another Delight (http://delight.sourceforge.net/ ) that no one uses, it's just a waste of time for you too. I'm waiting for the bearD programming language :)

Re: Remus

2012-11-01 Thread bearophile
Namespace: or other suggest other features that they would like to see in remus. I look forward to suggestions. :) There is a D problem that in my opinion is worth exploring. Usually I prefer const/immutable variables/collections, but there are several different situations where this is

Re: Remus

2012-11-01 Thread Namespace
On Thursday, 1 November 2012 at 15:41:26 UTC, bearophile wrote: Namespace: or other suggest other features that they would like to see in remus. I look forward to suggestions. :) There is a D problem that in my opinion is worth exploring. Usually I prefer const/immutable

Re: Remus

2012-11-01 Thread bearophile
Namespace: When did you use something like this? Now and then :-) In this case you could take a function that assign foo: Usually in that case I use the module static this. But the point immutable foo; void assignFoo() { string bar, barz; // ... foo = bar + baz; } or not?

Re: DConf 2013 on kickstarter.com: we're live!

2012-11-01 Thread Andrei Alexandrescu
On 10/31/12 8:35 PM, Faux Amis wrote: On 22/10/2012 19:25, Andrei Alexandrescu wrote: We're on! For one month starting today, we're raising funding for DConf 2013. http://www.kickstarter.com/projects/2083649206/the-d-programming-language-conference-2013-0 Please pledge your support and

Re: DConf 2013 on kickstarter.com: we're live!

2012-11-01 Thread Hristo Stefanov
On 10/31/12 8:35 PM, Faux Amis wrote: I will pledge 100$ if that would mean videos. I second that. Many of us won't be able to attend to the conference due to travel costs and it would be nice if there are videos.

Re: Remus

2012-11-01 Thread Namespace
I see. My comprehension ATM is, that you want to concatenate two or more strings at compile time, but this works fine: immutable string test = abc ~ def; Because of that it would be greatly helped if you can give me a concrete example.

Re: vibe.d 0.7.9 released

2012-11-01 Thread Rob T
On Wednesday, 31 October 2012 at 16:19:01 UTC, Sönke Ludwig wrote: Am 31.10.2012 17:11, schrieb Rob T: On Wednesday, 31 October 2012 at 06:59:45 UTC, Sönke Ludwig wrote: Changes: - New HTML form interface generator similar to the REST interface generator that simplifies web front end

Re: vibe.d 0.7.9 released

2012-11-01 Thread Jacob Carlborg
On 2012-11-01 19:53, Rob T wrote: I know that the druntime will not link as-is without a rebuild to enable PIC, so have you found this to be a problem, not using shared libs, or have you rebuilt druntime to allow for it? It's not enough to just recompile druntime. It's missing functionality

Re: vibe.d 0.7.9 released

2012-11-01 Thread Rob T
On Thursday, 1 November 2012 at 19:23:49 UTC, Jacob Carlborg wrote: On 2012-11-01 19:53, Rob T wrote: I know that the druntime will not link as-is without a rebuild to enable PIC, so have you found this to be a problem, not using shared libs, or have you rebuilt druntime to allow for it?

Re: vibe.d 0.7.9 released

2012-11-01 Thread Nick Sabalausky
On Thu, 01 Nov 2012 21:29:25 +0100 Rob T r...@ucora.com wrote: On Thursday, 1 November 2012 at 19:23:49 UTC, Jacob Carlborg wrote: On 2012-11-01 19:53, Rob T wrote: I know that the druntime will not link as-is without a rebuild to enable PIC, so have you found this to be a problem,

Re: vibe.d 0.7.9 released

2012-11-01 Thread Nick Sabalausky
On Thu, 01 Nov 2012 19:53:37 +0100 Rob T r...@ucora.com wrote: I'm also wondering how the co-routines are working out with vibe? I thought of using them, but my current design will be using message passing instead, where the code is broken up into small parts to perform the co-processing.

Re: vibe.d 0.7.9 released

2012-11-01 Thread Faux Amis
On 31/10/2012 07:59, Sönke Ludwig wrote: Changes: - New HTML form interface generator similar to the REST interface generator that simplifies web front end development: http://vibed.org/api/vibe.http.form/registerFormInterface (thanks to Robert Klotzner aka eskimor) - Diet HTML

Re: vibe.d 0.7.9 released

2012-11-01 Thread Nick Sabalausky
On Thu, 01 Nov 2012 23:45:17 +0100 Faux Amis f...@amis.com wrote: I have very little server exp and the little I have is from node.js tutorials. I have heard about node.js being used as a game server. Could vibe.d be used as a multiplayer game server? And, how (well) does it scale? Far

Re: OSX Installer

2012-11-01 Thread Jacob Carlborg
On 2012-11-01 06:04, Joshua Niehus wrote: I'm trying to write up a tutorial for D+vibed and have stumbled on a pretty basic issue. The DMD installer for OSX fails out of the box on Lion and Mountain Lion because Apple got rid of their developer command line tools stuff:

Re: [OT] .NET is compiled to native code in Windows Phone 8

2012-11-01 Thread Paulo Pinto
On Wednesday, 31 October 2012 at 23:20:15 UTC, deadalnix wrote: Le 30/10/2012 20:15, Paulo Pinto a écrit : Now Build 2012 is happening and the new Windows Phone 8 features have been revealed. One of the most interesting is that .NET applications are actually compiled to native code as well,

Re: Deimos submission - Nanopb

2012-11-01 Thread Jacob Carlborg
On 2012-11-01 06:38, Nick Sabalausky wrote: I've got some bindings for Nanopb I'll like to contribute to Deimos: Original C project: http://koti.kapsi.fi/jpa/nanopb/ My D Bindings: https://github.com/Abscissa/nanopb You should have a short description of the C project as well. -- /Jacob

Re: Deimos submission - Nanopb

2012-11-01 Thread Nick Sabalausky
On Thu, 01 Nov 2012 09:07:39 +0100 Jacob Carlborg d...@me.com wrote: On 2012-11-01 06:38, Nick Sabalausky wrote: I've got some bindings for Nanopb I'll like to contribute to Deimos: Original C project: http://koti.kapsi.fi/jpa/nanopb/ My D Bindings: https://github.com/Abscissa/nanopb

Re: Deimos submission - Nanopb

2012-11-01 Thread Kagamin
Why pb and exi chose to use little endian to encode numbers, I wonder. Isn't big endian faster to read?

Re: isDroppable range trait for slicing to end

2012-11-01 Thread monarch_dodra
On Wednesday, 31 October 2012 at 18:40:09 UTC, Jonathan M Davis wrote: On Wednesday, October 31, 2012 11:37:13 monarch_dodra wrote: IMO, this makes a clean distinction between both types of slicing. An added bonus is that (for now) it also correctly supports finite RA ranges that don't define

Re: Deimos submission - Nanopb

2012-11-01 Thread Jacob Carlborg
On 2012-11-01 11:37, Kagamin wrote: Why pb and exi chose to use little endian to encode numbers, I wonder. Isn't big endian faster to read? Isn't little endian standard when sharing the bytes, i.e. transferring across networks? -- /Jacob Carlborg

Re: Deimos submission - Nanopb

2012-11-01 Thread Alex Rønne Petersen
On 01-11-2012 12:59, Jacob Carlborg wrote: On 2012-11-01 11:37, Kagamin wrote: Why pb and exi chose to use little endian to encode numbers, I wonder. Isn't big endian faster to read? Isn't little endian standard when sharing the bytes, i.e. transferring across networks? No, that's actually

Re: Deimos submission - Nanopb

2012-11-01 Thread Jacob Carlborg
On 2012-11-01 14:04, Alex Rønne Petersen wrote: No, that's actually big endian. Right, I always get these endians mixed up. -- /Jacob Carlborg

Re: The D wiki engine must be replaced

2012-11-01 Thread Johannes Pfau
Am Wed, 31 Oct 2012 22:53:26 +0100 schrieb Thomas Koch tho...@koch.ro: Nick Sabalausky wrote: I don't really understand what's wrong with the current system - unfamiliar syntax like no other wiki engine I've ever seen +1. I think having markdown support would be a huge plus as most D

D is a cool language!

2012-11-01 Thread Paulo Pinto
Hi everyone, I just saw this online. The German magazine c't kompakt has an article about cool(exotic) programming languages, Smalltalk, Haskell and D. Personally, I like all of them. Here is the link for the German speaking developers.

Re: Transience of .front in input vs. forward ranges

2012-11-01 Thread deadalnix
Le 01/11/2012 05:30, H. S. Teoh a écrit : On Thu, Nov 01, 2012 at 12:05:18AM +0100, deadalnix wrote: Le 31/10/2012 18:19, H. S. Teoh a écrit : [...] Actually, there is another problem: many algorithms' output will be transient or not depending on the input range. For example, we could write

Re: Deimos submission - Nanopb

2012-11-01 Thread David Nadlinger
On Thursday, 1 November 2012 at 10:37:19 UTC, Kagamin wrote: Why pb and exi chose to use little endian to encode numbers, I wonder. Isn't big endian faster to read? You avoid having to flip the byte order at the application level on the prevalent (at least in the domain where protobuf is

Re: D is a cool language!

2012-11-01 Thread Andrei Alexandrescu
On 11/1/12 9:47 AM, Paulo Pinto wrote: Hi everyone, I just saw this online. The German magazine c't kompakt has an article about cool(exotic) programming languages, Smalltalk, Haskell and D. Personally, I like all of them. Here is the link for the German speaking developers.

Re: Transience of .front in input vs. forward ranges

2012-11-01 Thread H. S. Teoh
On Thu, Nov 01, 2012 at 03:18:13PM +0100, deadalnix wrote: Le 01/11/2012 05:30, H. S. Teoh a écrit : On Thu, Nov 01, 2012 at 12:05:18AM +0100, deadalnix wrote: Le 31/10/2012 18:19, H. S. Teoh a écrit : [...] Actually, there is another problem: many algorithms' output will be transient or not

Re: OSX Installer

2012-11-01 Thread Joshua Niehus
On Thursday, 1 November 2012 at 07:30:58 UTC, Jacob Carlborg wrote: It's not just the installer that depends on having Xcode installed, D depends on it. DMD uses GCC as the linker. I see, thanks Jacob. I'll stick with the Xcode-cmd line tools instructions then and sprinkle in a little more

Re: D is a cool language!

2012-11-01 Thread Tobias Pankrath
On Thursday, 1 November 2012 at 15:20:11 UTC, Andrei Alexandrescu wrote: On 11/1/12 9:47 AM, Paulo Pinto wrote: Hi everyone, I just saw this online. The German magazine c't kompakt has an article about cool(exotic) programming languages, Smalltalk, Haskell and D. Personally, I like all of

Re: mixin functions

2012-11-01 Thread Tobias Pankrath
I'm not suggesting this to be implemented, this is just what I automatically wanted to write. Anybody else had this kind of thoughts? I think that code generating mixin strings should be as well designed and documented as every other code you write. This mixin feature would be just another

Re: Deimos submission - Nanopb

2012-11-01 Thread Kagamin
On Thursday, 1 November 2012 at 15:23:35 UTC, David Nadlinger wrote: You avoid having to flip the byte order at the application level on the prevalent (at least in the domain where protobuf is used) architectures that way. Yes for platform native numbers, but not for ULEB - which is

Re: DConf 2013 on kickstarter.com: we're live!

2012-11-01 Thread Andrei Alexandrescu
On 10/31/12 8:35 PM, Faux Amis wrote: On 22/10/2012 19:25, Andrei Alexandrescu wrote: We're on! For one month starting today, we're raising funding for DConf 2013. http://www.kickstarter.com/projects/2083649206/the-d-programming-language-conference-2013-0 Please pledge your support and

Re: DConf 2013 on kickstarter.com: we're live!

2012-11-01 Thread Iain Buclaw
On 1 November 2012 00:35, Faux Amis f...@amis.com wrote: On 22/10/2012 19:25, Andrei Alexandrescu wrote: We're on! For one month starting today, we're raising funding for DConf 2013. http://www.kickstarter.com/projects/2083649206/the-d-programming-language-conference-2013-0 Please pledge

Re: DConf 2013 on kickstarter.com: we're live!

2012-11-01 Thread Hristo Stefanov
On 10/31/12 8:35 PM, Faux Amis wrote: I will pledge 100$ if that would mean videos. I second that. Many of us won't be able to attend to the conference due to travel costs and it would be nice if there are videos.

Re: A little Py Vs C++

2012-11-01 Thread Peter Alexander
On Wednesday, 31 October 2012 at 23:04:15 UTC, bearophile wrote: The thread contains some sad comments: It's unfortunate that there's still bad press circulating about a situation that is long gone. I suppose you just have to try and ignore those people. A more interesting comment is this

Re: DConf 2013 on kickstarter.com: we're live!

2012-11-01 Thread Andrei Alexandrescu
On 11/1/12 1:40 PM, Iain Buclaw wrote: On 1 November 2012 00:35, Faux Amisf...@amis.com wrote: On 22/10/2012 19:25, Andrei Alexandrescu wrote: My reason for not having pledged: Too expensive: flight + ticket. I will pledge 100$ if that would mean videos. I should hope that it would be

Re: A little Py Vs C++

2012-11-01 Thread Paulo Pinto
On Thursday, 1 November 2012 at 18:06:21 UTC, Peter Alexander wrote: On Wednesday, 31 October 2012 at 23:04:15 UTC, bearophile wrote: The thread contains some sad comments: It's unfortunate that there's still bad press circulating about a situation that is long gone. I suppose you just have

Re: mixin functions

2012-11-01 Thread Jacob Carlborg
On 2012-11-01 16:55, Gor Gyolchanyan wrote: I find myself doing this very very often and it pains me to write ugly code like this over and over again: mixin(()={ string result; foreach(i; 0..10) result ~= writeln( ~ to!string(i); ~ );\n' return result; }()); All it

Re: A little Py Vs C++

2012-11-01 Thread Walter Bright
On 11/1/2012 12:19 PM, Paulo Pinto wrote: On the other hand, except for the programming drones, most D concepts are also available in most mainstream languages. Most of them are also well established in one form or another, with proven value.

Re: DConf 2013 on kickstarter.com: we're live!

2012-11-01 Thread Jacob Carlborg
On 2012-11-01 20:18, Andrei Alexandrescu wrote: Hoping is good, making it happen is even better. Does anyone have the equipment and expertise to help with video recording? Funny thing. Most video clips from conferences I've seen are fairly poor quality. I don't know if it's the recording or

Re: A little Py Vs C++

2012-11-01 Thread H. S. Teoh
On Thu, Nov 01, 2012 at 08:19:56PM +0100, Paulo Pinto wrote: On Thursday, 1 November 2012 at 18:06:21 UTC, Peter Alexander wrote: [...] A more interesting comment is this one: But the real problem here is that in order to achieve even that, the complexity and amount of concepts you have to

Re: mixin functions

2012-11-01 Thread H. S. Teoh
On Thu, Nov 01, 2012 at 08:31:30PM +0100, Jacob Carlborg wrote: On 2012-11-01 16:55, Gor Gyolchanyan wrote: I find myself doing this very very often and it pains me to write ugly code like this over and over again: mixin(()={ string result; foreach(i; 0..10) result ~=

Re: A little Py Vs C++

2012-11-01 Thread Rob T
On Thursday, 1 November 2012 at 18:06:21 UTC, Peter Alexander wrote: The same is true in D. Well-written D code often does look rather elegant, but the amount of understanding needed to write beautiful D code is staggering. I'll second that! I'm finally making good progress with D after a

Re: A little Py Vs C++

2012-11-01 Thread H. S. Teoh
On Thu, Nov 01, 2012 at 08:49:40PM +0100, Rob T wrote: On Thursday, 1 November 2012 at 18:06:21 UTC, Peter Alexander wrote: The same is true in D. Well-written D code often does look rather elegant, but the amount of understanding needed to write beautiful D code is staggering. I'll

Re: A little Py Vs C++

2012-11-01 Thread Paulo Pinto
On Thursday, 1 November 2012 at 19:44:04 UTC, H. S. Teoh wrote: On Thu, Nov 01, 2012 at 08:19:56PM +0100, Paulo Pinto wrote: On Thursday, 1 November 2012 at 18:06:21 UTC, Peter Alexander wrote: [...] A more interesting comment is this one: But the real problem here is that in order to

Re: A little Py Vs C++

2012-11-01 Thread Tavi Cacina
On Thursday, 1 November 2012 at 19:49:42 UTC, Rob T wrote: On Thursday, 1 November 2012 at 18:06:21 UTC, Peter Alexander wrote: The number one missing item that I would love to get my hands on is comprehensive documentaion. What we have now leaves out far too much detail, and may be

Re: DConf 2013 on kickstarter.com: we're live!

2012-11-01 Thread Era Scarecrow
On Thursday, 1 November 2012 at 19:35:35 UTC, Jacob Carlborg wrote: On 2012-11-01 20:18, Andrei Alexandrescu wrote: Hoping is good, making it happen is even better. Does anyone have the equipment and expertise to help with video recording? Funny thing. Most video clips from conferences I've

Re: DConf 2013 on kickstarter.com: we're live!

2012-11-01 Thread David Nadlinger
On Thursday, 1 November 2012 at 19:18:40 UTC, Andrei Alexandrescu wrote: Hoping is good, making it happen is even better. Does anyone have the equipment and expertise to help with video recording? I have experience as a live lighting/audio/video engineer and also did a few smaller film jobs,

Re: [OT] .NET is compiled to native code in Windows Phone 8

2012-11-01 Thread Nick Sabalausky
On Thu, 01 Nov 2012 08:43:10 +0100 Paulo Pinto pj...@progtools.org wrote: On Wednesday, 31 October 2012 at 23:20:15 UTC, deadalnix wrote: Le 30/10/2012 20:15, Paulo Pinto a écrit : Now Build 2012 is happening and the new Windows Phone 8 features have been revealed. One of the most

Re: [OT] .NET is compiled to native code in Windows Phone 8

2012-11-01 Thread Nick Sabalausky
On Thu, 1 Nov 2012 18:11:17 -0400 Nick Sabalausky seewebsitetocontac...@semitwist.com wrote: On Thu, 01 Nov 2012 08:43:10 +0100 Paulo Pinto pj...@progtools.org wrote: On Wednesday, 31 October 2012 at 23:20:15 UTC, deadalnix wrote: Le 30/10/2012 20:15, Paulo Pinto a écrit : Now Build

Re: DConf 2013 on kickstarter.com: we're live!

2012-11-01 Thread Andrei Alexandrescu
On 11/1/12 5:42 PM, Era Scarecrow wrote: On Thursday, 1 November 2012 at 19:35:35 UTC, Jacob Carlborg wrote: On 2012-11-01 20:18, Andrei Alexandrescu wrote: Hoping is good, making it happen is even better. Does anyone have the equipment and expertise to help with video recording? Funny

Re: Transience of .front in input vs. forward ranges

2012-11-01 Thread deadalnix
This is up to the consumer to choose if .front can be oblitered on popFront, not to an intermediate algorithm. joiner isn't a consumer, this is a « transformer ». transformer have to propagate the .fast (I don't like this name, but this is unimportant for now) to its source. Let'(s consider

Re: A little Py Vs C++

2012-11-01 Thread Walter Bright
On 11/1/2012 2:20 PM, bearophile wrote: Some complexity comes from the desire to do more and more. As example see this recent request from Manu, What about all your feature requests? I think you've made more than anyone, by a factor of 10 at least! :-) As for Manu's request

Re: A little Py Vs C++

2012-11-01 Thread Rob T
On Thursday, 1 November 2012 at 20:10:47 UTC, H. S. Teoh wrote: But yeah, the current documentation needs work. Unfortunately, wishing for it to happen won't make it happen, so if you contribute (use the improve this page link) that would be great I never noticed that link before. When I

Re: mixin functions

2012-11-01 Thread Chris Nicholson-Sauls
On Thursday, 1 November 2012 at 15:59:04 UTC, Gor Gyolchanyan wrote: OR, better yet: mixin MyMixin { foreach(i; 0..10) MyMixin ~= writeln( ~ to!string(i); ~ );\n' } And this could be printed out as a pragma(msg, ...) or into a .log file or anywhere else. This way it's easy to see

Scaling Scala Vs Java

2012-11-01 Thread bearophile
This blog post shows few interesting aspects of the Scala ecosystem: http://jazzy.id.au/default/2012/11/02/scaling_scala_vs_java.html Bye, bearophile

Re: Scaling Scala Vs Java

2012-11-01 Thread Andrei Alexandrescu
On 11/1/12 11:26 PM, bearophile wrote: This blog post shows few interesting aspects of the Scala ecosystem: http://jazzy.id.au/default/2012/11/02/scaling_scala_vs_java.html Bye, bearophile I have a dream that one day there will be a guy with the ID philobear discussing D-related stuff on

Re: Scaling Scala Vs Java

2012-11-01 Thread bearophile
Andrei Alexandrescu: I have a dream that one day there will be a guy with the ID philobear discussing D-related stuff on Java and Scala forums. It's very important to look at how other very good languages solve common problems :-) Bye, bearophile

Re: Scaling Scala Vs Java

2012-11-01 Thread Jesse Phillips
On Friday, 2 November 2012 at 04:18:00 UTC, Andrei Alexandrescu wrote: On 11/1/12 11:26 PM, bearophile wrote: This blog post shows few interesting aspects of the Scala ecosystem: http://jazzy.id.au/default/2012/11/02/scaling_scala_vs_java.html Bye, bearophile I have a dream that one day

Re: A little Py Vs C++

2012-11-01 Thread Jesse Phillips
On Thursday, 1 November 2012 at 23:56:00 UTC, Rob T wrote: On Thursday, 1 November 2012 at 20:10:47 UTC, H. S. Teoh wrote: But yeah, the current documentation needs work. Unfortunately, wishing for it to happen won't make it happen, so if you contribute (use the improve this page link) that

Re: getters and setters not an lvalue

2012-11-01 Thread Jacob Carlborg
On 2012-10-31 23:48, Adam D. Ruppe wrote: I tried it and found getting almost there is easy... but getting it to work in a bunch of edge cases is incredibly difficult. I can imagine operator overloading, opDispatch and similar features making it a lot harder. -- /Jacob Carlborg

Re: About demangling

2012-11-01 Thread Dan
On Thursday, 11 October 2012 at 21:04:28 UTC, Alex Rønne Petersen wrote: On 11-10-2012 22:56, Sean Kelly wrote: On Oct 11, 2012, at 6:17 AM, Lubos Pintes lubos.pin...@gmail.com wrote: Hi, Can someone point me to some source with information about name demangling when compiling some D

Re: About demangling

2012-11-01 Thread H. S. Teoh
On Thu, Nov 01, 2012 at 03:16:25PM +0100, Dan wrote: On Thursday, 11 October 2012 at 21:04:28 UTC, Alex Rønne Petersen wrote: On 11-10-2012 22:56, Sean Kelly wrote: On Oct 11, 2012, at 6:17 AM, Lubos Pintes lubos.pin...@gmail.com wrote: Hi, Can someone point me to some source with

Re: About demangling

2012-11-01 Thread Regan Heath
On Thu, 01 Nov 2012 15:40:23 -, H. S. Teoh hst...@quickfur.ath.cx wrote: On Thu, Nov 01, 2012 at 03:16:25PM +0100, Dan wrote: On Thursday, 11 October 2012 at 21:04:28 UTC, Alex Rønne Petersen wrote: On 11-10-2012 22:56, Sean Kelly wrote: On Oct 11, 2012, at 6:17 AM, Lubos Pintes

Re: About demangling

2012-11-01 Thread Regan Heath
On Thu, 01 Nov 2012 15:40:23 -, H. S. Teoh hst...@quickfur.ath.cx wrote: On Thu, Nov 01, 2012 at 03:16:25PM +0100, Dan wrote: On Thursday, 11 October 2012 at 21:04:28 UTC, Alex Rønne Petersen wrote: On 11-10-2012 22:56, Sean Kelly wrote: On Oct 11, 2012, at 6:17 AM, Lubos Pintes

Re: About demangling

2012-11-01 Thread H. S. Teoh
On Thu, Nov 01, 2012 at 04:25:56PM -, Regan Heath wrote: On Thu, 01 Nov 2012 15:40:23 -, H. S. Teoh hst...@quickfur.ath.cx wrote: On Thu, Nov 01, 2012 at 03:16:25PM +0100, Dan wrote: On Thursday, 11 October 2012 at 21:04:28 UTC, Alex Rønne Petersen wrote: On 11-10-2012 22:56, Sean

Re: About demangling

2012-11-01 Thread Regan Heath
On Thu, 01 Nov 2012 16:25:56 -, Regan Heath re...@netmail.co.nz wrote: Adding writefln to demangle.d to debug the issue shows that args[1] is - and that getopt is throwing the exception invalid UTF-8 sequence. I was wrong here, this line is the issue: stderr.writeln(e.msg); For some

Re: About demangling

2012-11-01 Thread Regan Heath
On Thu, 01 Nov 2012 17:21:29 -, H. S. Teoh hst...@quickfur.ath.cx wrote: On Thu, Nov 01, 2012 at 04:25:56PM -, Regan Heath wrote: On Thu, 01 Nov 2012 15:40:23 -, H. S. Teoh hst...@quickfur.ath.cx wrote: On Thu, Nov 01, 2012 at 03:16:25PM +0100, Dan wrote: On Thursday, 11 October

Re: About demangling

2012-11-01 Thread H. S. Teoh
On Thu, Nov 01, 2012 at 08:40:23AM -0700, H. S. Teoh wrote: On Thu, Nov 01, 2012 at 03:16:25PM +0100, Dan wrote: On Thursday, 11 October 2012 at 21:04:28 UTC, Alex Rønne Petersen wrote: [...] We even have a tool for that:

struct Yes in std.typecons

2012-11-01 Thread Peter Summerland
The docs say: Convenience names that allow using e.g. yes!encryption instead of Flag!encryption.yes and no!encryption instead of Flag!encryption.no. I could not get yes!encription to work. But Yes.encription does. Are the docs out of date? Am I missing something? E.g., module yes_no_flag;

Vibe: I found the problem, but don't know how to fix it

2012-11-01 Thread Lubos Pintes
Hi, Some time ago I reported on D.Anounce, that Vibe apps are not working on my system, they failed with an exception. So I diagnosed a bit and found the following: There is a folder on my system C:\Users\pintes\AppData\Local\Temp\.rdmd\source which contains some DLLs needed for successful

Re: struct Yes in std.typecons

2012-11-01 Thread Ali Çehreli
On 11/01/2012 10:41 AM, Peter Summerland wrote: The docs say: Convenience names that allow using e.g. yes!encryption instead of Flag!encryption.yes and no!encryption instead of Flag!encryption.no. The documentation is wrong. Please either file a bug report or click the Improve this page

Re: Vibe: I found the problem, but don't know how to fix it

2012-11-01 Thread denizzzka
On Thursday, 1 November 2012 at 18:25:22 UTC, Lubos Pintes wrote: Hi, Some time ago I reported on D.Anounce, that Vibe apps are not working on my system, they failed with an exception. So I diagnosed a bit and found the following: There is a folder on my system

How to add n items to TypeTuple?

2012-11-01 Thread denizzzka
For example, adding 3 strings to type tuple t: foreach( i; 0..2 ) alias TypeTuple!( t, string ) t; // this is wrong code and result should be: TypeTuple!( string, string, string );

Re: How to add n items to TypeTuple?

2012-11-01 Thread Justin Whear
On Thu, 01 Nov 2012 19:42:07 +0100, denizzzka wrote: For example, adding 3 strings to type tuple t: foreach( i; 0..2 ) alias TypeTuple!( t, string ) t; // this is wrong code and result should be: TypeTuple!( string, string, string ); Use a recursive template. Here's one that

Re: How to add n items to TypeTuple?

2012-11-01 Thread Simen Kjaeraas
On 2012-11-01, 19:52, Justin Whear wrote: On Thu, 01 Nov 2012 19:42:07 +0100, denizzzka wrote: For example, adding 3 strings to type tuple t: foreach( i; 0..2 ) alias TypeTuple!( t, string ) t; // this is wrong code and result should be: TypeTuple!( string, string, string ); Use a

Re: How to add n items to TypeTuple?

2012-11-01 Thread denizzzka
Great! Thanks!

vestigial delete in language spec

2012-11-01 Thread Dan
TDPL states -- However, unlike in C++, clear does not dispose of the object’s own memory and there is no delete operator. (D used to have a delete operator, but it was deprecated.) You still can free memory manually if you really, really know what you’re doing by calling the function

Re: vestigial delete in language spec

2012-11-01 Thread Alex Rønne Petersen
On 01-11-2012 22:21, Dan wrote: TDPL states -- However, unlike in C++, clear does not dispose of the object’s own memory and there is no delete operator. (D used to have a delete operator, but it was deprecated.) You still can free memory manually if you really, really know what you’re doing

SList of chars not possible?

2012-11-01 Thread They call me Mr. D
auto i = SList!int(1, 2, 3, 4, 5, 6, 7); auto f = SList!float(1.1, 2.234, 3.21, 4.3, 5.001, 6.2, 7.0); auto s = SList!string([I, Hello, World]); auto c = SList!char('a', 'b' ,'c'); // doesn't compile, get the following C:\D\dmd2\windows\bin\..\..\src\phobos\std\container.d(905): Error:

Re: vestigial delete in language spec

2012-11-01 Thread Ali Çehreli
On 11/01/2012 02:21 PM, Dan wrote: TDPL states -- However, unlike in C++, clear does not dispose of the object’s own memory and there is no delete operator. Additionally, TDPL predates 'clear's deprecation in December 2012. It is called 'destroy' now. Ali

Re: SList of chars not possible?

2012-11-01 Thread Ali Çehreli
On 11/01/2012 03:18 PM, They call me Mr. D wrote: auto i = SList!int(1, 2, 3, 4, 5, 6, 7); auto f = SList!float(1.1, 2.234, 3.21, 4.3, 5.001, 6.2, 7.0); auto s = SList!string([I, Hello, World]); auto c = SList!char('a', 'b' ,'c'); // doesn't compile, get the following

Re: vestigial delete in language spec

2012-11-01 Thread Jonathan M Davis
On Thursday, November 01, 2012 22:21:11 Dan wrote: struct S { int[] a; // array is privately owned by this instance this(this) { a = a.dup; } ~this() { delete a; } } Is the delete call, then per TDPL not necessary? Is it harmful or harmless? It's not necessary at all. delete is

[Issue 8927] New: Download page should list dependencies

2012-11-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8927 Summary: Download page should list dependencies Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 2837] OPTLINK and LARGEADDRESSAWARE

2012-11-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2837 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||yebbl...@gmail.com ---

[Issue 8222] Optlink crashes when debug info is enabled

2012-11-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8222 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||yebbl...@gmail.com ---

[Issue 4897] CodeView: No locals or parameters are shown when debugging, because of missing function info

2012-11-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4897 yebblies yebbl...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 8924] Delegate becomes invalid after a while

2012-11-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8924 Maxim Fomin ma...@maxim-fomin.ru changed: What|Removed |Added CC||ma...@maxim-fomin.ru

[Issue 8928] New: Poor error message for derived class without constructor

2012-11-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8928 Summary: Poor error message for derived class without constructor Product: D Version: D1 D2 Platform: All OS/Version: All Status: NEW Severity: minor

[Issue 8924] Delegate becomes invalid after a while

2012-11-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8924 Malte Skarupke malteskaru...@web.de changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 8929] New: long.min is a Voldermort literal

2012-11-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8929 Summary: long.min is a Voldermort literal Product: D Version: D1 D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component:

[Issue 8905] DList.Range: Internal error, inconsistent state

2012-11-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8905 --- Comment #5 from monarchdo...@gmail.com 2012-11-01 09:53:40 PDT --- (In reply to comment #4) (In reply to comment #3) [SNIP] Actually, I remember that I had corrected all these bugs, but had never gotten around to committing them...

[Issue 8930] New: std.algorithm.move only operates on hasLvalueElements

2012-11-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8930 Summary: std.algorithm.move only operates on hasLvalueElements Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority:

[Issue 8931] New: array/slice assignment causes destruction + postblit instead of opAssign

2012-11-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8931 Summary: array/slice assignment causes destruction + postblit instead of opAssign Product: D Version: unspecified Platform: All OS/Version: All Status: NEW

[Issue 8931] array/slice assignment causes destruction + postblit instead of opAssign

2012-11-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8931 Maxim Fomin ma...@maxim-fomin.ru changed: What|Removed |Added CC||ma...@maxim-fomin.ru

[Issue 8931] array/slice assignment causes destruction + postblit instead of opAssign

2012-11-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8931 --- Comment #2 from monarchdo...@gmail.com 2012-11-01 11:07:07 PDT --- (In reply to comment #1) I don't understand clearly this issue. You first state that when arrays are assigned you expect that this is done element-by element, but actually

[Issue 8931] array/slice assignment causes destruction + postblit instead of opAssign

2012-11-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8931 --- Comment #3 from Maxim Fomin ma...@maxim-fomin.ru 2012-11-01 11:48:32 PDT --- (In reply to comment #2) I mean: //void main() { S[2] a = [S(1), S(2)]; S[2] b = a; //Fine postblit here a[] = b[]; //But HERE, please use

[Issue 8108] Forward declaration and implementation allowed in same file

2012-11-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8108 --- Comment #1 from github-bugzi...@puremagic.com 2012-11-01 13:13:51 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/dmd

  1   2   >