Re: DGui is alive

2014-05-24 Thread Denis Shelomovskij via Digitalmars-d-announce
20.05.2014 17:46, FrankLike пишет: DGui need some other controls,such as imageButton,DataView,GridViewe.t.c. There is no plan to add new controls and I don't see any lacking ones. One can use `paint` event to draw image on button and there is `GridPanel` (with usage example `grid.d`) so

Re: dbox is a complete D2 port of the Box2D game physics library

2014-05-24 Thread Kiith-Sa via Digitalmars-d-announce
On Friday, 23 May 2014 at 22:52:53 UTC, Andrej Mitrovic via Digitalmars-d-announce wrote: On 5/24/14, Piotrek via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: nice one. How does it compare to C++ version in terms of performance? I haven't tested the performance yet! I'm

Re: Article: Functional image processing in D

2014-05-24 Thread ponce via Digitalmars-d-announce
On Friday, 21 March 2014 at 11:04:58 UTC, Vladimir Panteleev wrote: http://blog.thecybershadow.net/2014/03/21/functional-image-processing-in-d/ Some highlights from a recent overhaul of the graphics package from my D library. It makes use of a number of D-specific language features, so I've

Re: dbox is a complete D2 port of the Box2D game physics library

2014-05-24 Thread Andrej Mitrovic via Digitalmars-d-announce
On 5/24/14, Kiith-Sa via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: Do you intend to keep this a straight port or will it be open to modifications? I think we can create a new branch with API improvements and additions. I'm not sure what the state of dub support for this

Re: DirectX bindings

2014-05-24 Thread evilrat via Digitalmars-d-announce
On Sunday, 3 November 2013 at 05:27:24 UTC, evilrat wrote: https://github.com/evilrat666/directx-d new additions: +Direct2D [DX9 state] (though still some helper functions missing) +DirectWrite [DX9 state] +DXGI [DX11.1, DX11.2] +Direct3D [DX11.1, DX11.2] examples:

Re: DConf 2013 Pictures

2014-05-24 Thread Andrej Mitrovic via Digitalmars-d-announce
On 5/20/14, Ali Çehreli digitalmars-d-announce@puremagic.com wrote: I hope it's not too stale. :p http://acehreli.org/DConf_2013_Pictures/ Hope we won't have to wait a year for the DConf 2014 pictures! :) Have any been taken this year?

Re: Per popular demand, here are Adam D Ruppe's presentation slides

2014-05-24 Thread Tolga Cakiroglu via Digitalmars-d-announce
On Friday, 23 May 2014 at 23:56:39 UTC, Adam D. Ruppe wrote: On Friday, 23 May 2014 at 19:59:23 UTC, Mattcoder wrote: Hehe, I'm just imagining what Walter will say: Lack of images! Heh, I actually went through a few idea stages here: 1) I'd list the druntime functions. I determined this to

Re: DConf 2013 Pictures

2014-05-24 Thread Walter Bright via Digitalmars-d-announce
On 5/21/2014 12:18 AM, Ali Çehreli wrote: The size is 112M and unfortunately it is slow. It worked quickly for me. Thanks!

Re: DConf 2013 Pictures

2014-05-24 Thread Walter Bright via Digitalmars-d-announce
On 5/20/2014 11:44 PM, Andrej Mitrovic via Digitalmars-d-announce wrote: This is great. But is there any way to download the pictures all at once? Yes, please!

Re: Per popular demand, here are Adam D Ruppe's presentation slides

2014-05-24 Thread Adam D. Ruppe via Digitalmars-d-announce
On Saturday, 24 May 2014 at 18:12:40 UTC, Tolga Cakiroglu wrote: When you started talking about writing your Floppy Disk driver for your kernel without using BIOS or DOS, Aye, programming on DOS was cool (and of course, so was programming without DOS too!) It is actually frustrating to know

Re: Per popular demand, here are Adam D Ruppe's presentation slides

2014-05-24 Thread Adam D. Ruppe via Digitalmars-d-announce
On Saturday, 24 May 2014 at 00:36:31 UTC, John wrote: I wish there was more time available. My poor throat was getting dry near the end anyway... But I was kinda worried that I was getting too negative at times. My theme was supposed to be encouraging, go ahead and try it, and instead I

Re: Per popular demand, here are Adam D Ruppe's presentation slides

2014-05-24 Thread Adam D. Ruppe via Digitalmars-d-announce
On Saturday, 24 May 2014 at 20:46:30 UTC, sclytrack wrote: Were there actual slides? Nope, I never actually got around to creating any. I just had an outline on my desktop of stuff I was thinking about creating, but just didn't finish it. The paper was my recreation of that outline from

Re: Per popular demand, here are Adam D Ruppe's presentation slides

2014-05-24 Thread sclytrack via Digitalmars-d-announce
On Saturday, 24 May 2014 at 20:53:18 UTC, Adam D. Ruppe wrote: On Saturday, 24 May 2014 at 20:46:30 UTC, sclytrack wrote: Were there actual slides? Nope, I never actually got around to creating any. Okay, busy guy. I just had an outline on my desktop of stuff I was thinking about

Re: DConf 2013 Pictures

2014-05-24 Thread Ali Çehreli via Digitalmars-d-announce
On 05/24/2014 05:49 AM, Andrej Mitrovic via Digitalmars-d-announce wrote: On 5/20/14, Ali Çehreli digitalmars-d-announce@puremagic.com wrote: I hope it's not too stale. :p http://acehreli.org/DConf_2013_Pictures/ Hope we won't have to wait a year for the DConf 2014 pictures! :) Have any

Re: Per popular demand, here are Adam D Ruppe's presentation slides

2014-05-24 Thread Nick Sabalausky via Digitalmars-d-announce
On 5/24/2014 3:49 PM, Adam D. Ruppe wrote: thanks! Part of that was that I wanted to be deliberately counter-culture. I almost never see anyone in these tech videos wearing a tie, and while in the facebook building I think I was the only one there too. (the irony, a conservative business suit

Re: Per popular demand, here are Adam D Ruppe's presentation slides

2014-05-24 Thread Adam D. Ruppe via Digitalmars-d-announce
On Saturday, 24 May 2014 at 21:01:13 UTC, sclytrack wrote: I would have preferred slides though. I'm not so good at listening. The visual impact helps ME better at remembering. Yea, they were on my todo list, I was just too lazy and/or distracted to do it. But I'm not sure they would have

Re: Per popular demand, here are Adam D Ruppe's presentation slides

2014-05-24 Thread Nick Sabalausky via Digitalmars-d-announce
On 5/24/2014 3:41 PM, Adam D. Ruppe wrote: And good old mode 13h! Real programmers used Mode X! (I mainly used 13h though ;) )

Re: Per popular demand, here are Adam D Ruppe's presentation slides

2014-05-24 Thread Adam D. Ruppe via Digitalmars-d-announce
On Saturday, 24 May 2014 at 23:47:58 UTC, Nick Sabalausky wrote: Real programmers used Mode X! Yea! ...I never really got into it tho and kept going back to 13 for the plain simplicity.

Re: Per popular demand, here are Adam D Ruppe's presentation slides

2014-05-24 Thread Nick Sabalausky via Digitalmars-d-announce
On 5/24/2014 3:49 PM, Adam D. Ruppe wrote: thanks! Part of that was that I wanted to be deliberately counter-culture. I almost never see anyone in these tech videos wearing a tie, and while in the facebook building I think I was the only one there too. (the irony, a conservative business suit

Re: Per popular demand, here are Adam D Ruppe's presentation slides

2014-05-24 Thread Nick Sabalausky via Digitalmars-d-announce
On 5/25/2014 1:18 AM, Nick Sabalausky wrote: Similarly, mixed cussing is golly... s/golly/jolly/ Ugh...

Re: Thank you Kenji

2014-05-24 Thread Walter Bright via Digitalmars-d
On 5/22/2014 9:11 PM, Martin Nowak wrote: Today at DConf we learned, once again, that people are doing and starting amazing projects using D. A lot of which wouldn't have been possible without your contribution. So I just wanted to say thank you. Yes, and I want to add that Kenji always takes

Re: Thank you Kenji

2014-05-24 Thread Denis Shelomovskij via Digitalmars-d
23.05.2014 8:11, Martin Nowak пишет: Today at DConf we learned, once again, that people are doing and starting amazing projects using D. A lot of which wouldn't have been possible without your contribution. So I just wanted to say thank you. -Martin Finally a thread to thank the man who

Re: Associative Arrays max length? 32bit/64bit

2014-05-24 Thread FG via Digitalmars-d
Bloody Thunderbird. I think I pressed Reply instead of Followup. Sorry, Steven. On 2014-05-19 15:31, Steven Schveighoffer wrote: No, in that DMD file, the bucket is a tree, not a doubly-linked list. Silly me. A look at the body of delnodes should have made it clear that it's a binary tree.

Suggestion/proposal regarding std.logger candidate

2014-05-24 Thread David Osborne via Digitalmars-d
Yesterday, in the livestream chat, there was some discussion about the current std.logger proposal. The consensus seemed to be that it's probably fine for most use cases and it's the best proposal we've had so far, it doesn't look suitable for heavy duty, enterprise-grade logging. In an ideal

Re: Suggestion/proposal regarding std.logger candidate

2014-05-24 Thread David Osborne via Digitalmars-d
Just to be clear, what I am suggesting/proposing is that the current Logger class in std.logger be altered so that it looks more like this, with filter, format and sink template arguments that determine its behaviour, instead of using an inheritance-based approach.

Re: Suggestion/proposal regarding std.logger candidate

2014-05-24 Thread HaraldZealot via Digitalmars-d
The logger is very good and need thing. But has anybody an idea how to preserve purity of functions?

Re: Suggestion/proposal regarding std.logger candidate

2014-05-24 Thread Gary Willoughby via Digitalmars-d
On Saturday, 24 May 2014 at 10:04:33 UTC, David Osborne wrote: Just to be clear, what I am suggesting/proposing is that the current Logger class in std.logger be altered so that it looks more like this, with filter, format and sink template arguments that determine its behaviour, instead of

Re: Suggestion/proposal regarding std.logger candidate

2014-05-24 Thread Tobias Pankrath via Digitalmars-d
On Saturday, 24 May 2014 at 11:58:35 UTC, Gary Willoughby wrote: On Saturday, 24 May 2014 at 10:04:33 UTC, David Osborne wrote: Just to be clear, what I am suggesting/proposing is that the current Logger class in std.logger be altered so that it looks more like this, with filter, format and

Re: Including Dub with D

2014-05-24 Thread Sönke Ludwig via Digitalmars-d
Am 23.05.2014 08:24, schrieb Jacob Carlborg: On 22/05/14 21:11, Nick Sabalausky wrote: Is there anything blocking actual adoption of SDL? I'm not holding anything up am I? Sonke: If there's anything you need done/dealt-with regarding SDLang-D, let me know. No, SDLang-D is absolutely fine,

Thanks for a great DConf

2014-05-24 Thread Joseph Rushton Wakeling via Digitalmars-d
Hello all, Just to say a big thank you to everyone speaking and involved in the organization of DConf this year. It was fantastic to be able to follow the conference via livestreaming (as much as timezones allowed:-), and the ideas and projects on display were full of excitement and

Re: Including Dub with D

2014-05-24 Thread Jeremy Powers via Digitalmars-d
On Fri, May 23, 2014 at 7:39 AM, Dicebot via Digitalmars-d digitalmars-d@puremagic.com wrote: Original thread : http://forum.rejectedsoftware. com/groups/rejectedsoftware.dub/thread/2/ Summary by Sonke: https://github.com/rejectedsoftware/dub/wiki/Sdl- based-package-format-draft Thanks.

Re: Including Dub with D

2014-05-24 Thread w0rp via Digitalmars-d
On Saturday, 24 May 2014 at 16:42:32 UTC, Jeremy Powers via Digitalmars-d wrote: On Fri, May 23, 2014 at 7:39 AM, Dicebot via Digitalmars-d digitalmars-d@puremagic.com wrote: Original thread : http://forum.rejectedsoftware. com/groups/rejectedsoftware.dub/thread/2/ Summary by Sonke:

Re: Including Dub with D

2014-05-24 Thread Nick Sabalausky via Digitalmars-d
On 5/24/2014 12:42 PM, Jeremy Powers via Digitalmars-d wrote: On Fri, May 23, 2014 at 7:39 AM, Dicebot via Digitalmars-d digitalmars-d@puremagic.com wrote: Original thread : http://forum.rejectedsoftware. com/groups/rejectedsoftware.dub/thread/2/ Summary by Sonke:

Re: Thanks for a great DConf

2014-05-24 Thread Nick Sabalausky via Digitalmars-d
On 5/24/2014 11:26 AM, Joseph Rushton Wakeling via Digitalmars-d wrote: Hello all, Just to say a big thank you to everyone speaking and involved in the organization of DConf this year. It was fantastic to be able to follow the conference via livestreaming (as much as timezones allowed:-), and

Re: isUniformRNG

2014-05-24 Thread Nick Sabalausky via Digitalmars-d
On 5/23/2014 3:43 PM, Joseph Rushton Wakeling via Digitalmars-d wrote: OK, so let's run with the idea that at some point crypto RNGs will be a submodule of std.random. So to recap my understanding of it: An initial PR for Hash_DRBG being struct-based and directly part of std.random, and

Re: Including Dub with D

2014-05-24 Thread Jeremy Powers via Digitalmars-d
On Sat, May 24, 2014 at 10:30 AM, Nick Sabalausky via Digitalmars-d digitalmars-d@puremagic.com wrote: Nobody has said anything about removing JSON support. It's been stated that JSON support is *staying* as an option. SDL will merely be the recommended format. Yes - my point is that moving

Re: Including Dub with D

2014-05-24 Thread Nick Sabalausky via Digitalmars-d
On 5/24/2014 10:15 AM, Sönke Ludwig wrote: Am 23.05.2014 08:24, schrieb Jacob Carlborg: On 22/05/14 21:11, Nick Sabalausky wrote: Is there anything blocking actual adoption of SDL? I'm not holding anything up am I? Sonke: If there's anything you need done/dealt-with regarding SDLang-D, let me

auto-tester hardware donations

2014-05-24 Thread Brad Roberts via Digitalmars-d
As discussed a little at the conference, the auto-tester is almost always hardware bound. In other words, it's building flat out 24/7. More hardware == faster updates to build status. If anyone wants to provide hardware to help there's a number of ways to do so. Here's my order of

Re: Including Dub with D

2014-05-24 Thread Kiith-Sa via Digitalmars-d
On Saturday, 24 May 2014 at 17:30:54 UTC, Nick Sabalausky wrote: On 5/24/2014 12:42 PM, Jeremy Powers via Digitalmars-d wrote: On Fri, May 23, 2014 at 7:39 AM, Dicebot via Digitalmars-d digitalmars-d@puremagic.com wrote: Original thread : http://forum.rejectedsoftware.

Re: Including Dub with D

2014-05-24 Thread Nick Sabalausky via Digitalmars-d
On 5/24/2014 1:54 PM, Jeremy Powers via Digitalmars-d wrote: On Sat, May 24, 2014 at 10:30 AM, Nick Sabalausky via Digitalmars-d digitalmars-d@puremagic.com wrote: Nobody has said anything about removing JSON support. It's been stated that JSON support is *staying* as an option. SDL will

Re: Including Dub with D

2014-05-24 Thread Sönke Ludwig via Digitalmars-d
Am 24.05.2014 20:34, schrieb Nick Sabalausky: On 5/24/2014 1:54 PM, Jeremy Powers via Digitalmars-d wrote: On Sat, May 24, 2014 at 10:30 AM, Nick Sabalausky via Digitalmars-d digitalmars-d@puremagic.com wrote: Nobody has said anything about removing JSON support. It's been stated that JSON

Re: Including Dub with D

2014-05-24 Thread Sönke Ludwig via Digitalmars-d
Am 24.05.2014 19:51, schrieb Nick Sabalausky: But maybe I should put a std.sdlang through the phobos review queue to help getting DUB into the standard DMD releases? Not sure if that would be really considered necessary, but I wouldn't mind that for sure in general* (I think it should be

Re: Suggestion/proposal regarding std.logger candidate

2014-05-24 Thread Jeremy Powers via Digitalmars-d
On Sat, May 24, 2014 at 2:57 AM, David Osborne via Digitalmars-d digitalmars-d@puremagic.com wrote: Destroy :) Overall, this approach seems good. Not sure I like forcing one format for all sinks though - it is often desired/necessary to have different sinks (aka appenders) format the log

Re: Thanks for a great DConf

2014-05-24 Thread monarch_dodra via Digitalmars-d
On Saturday, 24 May 2014 at 17:40:29 UTC, Nick Sabalausky wrote: I'm looking forward to the YouTube reruns for the talks I still missed. (I still can't believe I missed Andrei's keynote!) +1 please.

Re: isUniformRNG

2014-05-24 Thread Joseph Rushton Wakeling via Digitalmars-d
On 24/05/14 19:46, Nick Sabalausky via Digitalmars-d wrote: An initial PR for Hash_DRBG being struct-based and directly part of std.random I think that's up to you. I don't want to hold you back here, but equally, I feel that crypto functionality probably should be prototyped in an

Re: To deadalnix

2014-05-24 Thread Timon Gehr via Digitalmars-d
On 05/24/2014 05:03 AM, Joshua Niehus wrote: watching your talk was like witnessing Fermats last theorem being proven... the scheduler solution was brilliant and the semantic analysis of a mixin statement that resulted in a comprehensible error message blew my mind. Here is a belated applause

Re: Thanks for a great DConf

2014-05-24 Thread aliyome via Digitalmars-d
On Saturday, 24 May 2014 at 20:34:03 UTC, monarch_dodra wrote: On Saturday, 24 May 2014 at 17:40:29 UTC, Nick Sabalausky wrote: I'm looking forward to the YouTube reruns for the talks I still missed. (I still can't believe I missed Andrei's keynote!) +1 please. me too. +1

Re: Associative Arrays max length? 32bit/64bit

2014-05-24 Thread Steven Schveighoffer via Digitalmars-d
On Sat, 24 May 2014 02:54:01 -0700, FG h...@fgda.pl wrote: Bloody Thunderbird. I think I pressed Reply instead of Followup. Sorry, Steven. It's OK, it went into my spam folder anyway ;) On 2014-05-19 15:31, Steven Schveighoffer wrote: No, in that DMD file, the bucket is a tree, not a

Re: Thanks for a great DConf

2014-05-24 Thread MattCoder via Digitalmars-d
I've watched all transmissions and I liked 'em all (without any exception). And I think the end of the conference should be a beginning of the new trend here. So instead of wait for DConf 2015, all those speakers should do more videos (at home etc.) sharing their thoughts. Matheus.

Re: To deadalnix

2014-05-24 Thread Ali Çehreli via Digitalmars-d
On 05/24/2014 03:58 PM, Timon Gehr wrote: What does comprehensible mixin error message mean exactly? deadalnix showed a piece of code that had a compilation error inside a mixin string that was mixed in by another mixin. The compiler was pointing out the exact column of the mixed in error,

Re: Suggestion/proposal regarding std.logger candidate

2014-05-24 Thread Jonathan M Davis via Digitalmars-d
On Sat, 24 May 2014 11:42:30 + HaraldZealot via Digitalmars-d digitalmars-d@puremagic.com wrote: The logger is very good and need thing. But has anybody an idea how to preserve purity of functions? That's impossible if you're doing I/O. By definition, that has to access mutable, global

Re: To deadalnix

2014-05-24 Thread Nick Sabalausky via Digitalmars-d
On 5/24/2014 10:41 PM, Ali Çehreli wrote: On 05/24/2014 03:58 PM, Timon Gehr wrote: What does comprehensible mixin error message mean exactly? deadalnix showed a piece of code that had a compilation error inside a mixin string that was mixed in by another mixin. The compiler was pointing out

Re: Associative Arrays max length? 32bit/64bit

2014-05-24 Thread H. S. Teoh via Digitalmars-d
On Sat, May 24, 2014 at 06:05:49PM -0700, Steven Schveighoffer via Digitalmars-d wrote: On Sat, 24 May 2014 02:54:01 -0700, FG h...@fgda.pl wrote: [...] Really? Then what does TypeInfo.compare(void*, void*) use? For example here: auto key_hash = keyti.getHash(pkey); Entry *e; /*

Kitchen Design Lancashire Reviews

2014-05-24 Thread aryantri via Digitalmars-d-dwt
Kitchen Design Lancashire Reviews. what a great kitchen and price Kitchen Design Lancashire Reviews can provide.

Re: Programming a Game in D? :D

2014-05-24 Thread ponce via Digitalmars-d-learn
On Thursday, 22 May 2014 at 15:39:36 UTC, David wrote: Hey, I'm really new to D, and pretty new to programming overall too, But I want to make a 3d Game, (just sth. small). I really like D and want to do it in D, but in the Internet there is no shit about programming a game in D ^^ Is there

Re: Programming a Game in D? :D

2014-05-24 Thread David via Digitalmars-d-learn
On Friday, 23 May 2014 at 17:47:56 UTC, evilrat wrote: why not just use Xamarin Studio with Mono-D? But only the trial of Xamarin Studio is for free, and I used eclipse for Java before and really like it :P

Re: Programming a Game in D? :D

2014-05-24 Thread evilrat via Digitalmars-d-learn
On Saturday, 24 May 2014 at 09:35:01 UTC, David wrote: On Friday, 23 May 2014 at 17:47:56 UTC, evilrat wrote: why not just use Xamarin Studio with Mono-D? But only the trial of Xamarin Studio is for free, and I used eclipse for Java before and really like it :P actually not. you don't

dmd with shared lib

2014-05-24 Thread bioinfornatics via Digitalmars-d-learn
Hi, after building and installing dmd i fail to use generated executable because they are an undefined symbol. $ /opt/dmd/bin/dmd -L-lcurl testDelegate.d $ ./testDelegate ./testDelegate: symbol lookup error: /opt/dmd/lib/libphobos2.so.0.66: undefined symbol: curl_version_info $ ldd

How to debug ?

2014-05-24 Thread Derix via Digitalmars-d-learn
OK, I have the newest Eclipse+DDT on Linux. Debugging capabilies look great : https://github.com/bruno-medeiros/DDT/blob/latest/documentation/Features.md#debugging-functionality However so far I haven't been able to step throug source code. What am I missing ? Is there an option to pass to the

Re: How to debug ?

2014-05-24 Thread bioinfornatics via Digitalmars-d-learn
On Saturday, 24 May 2014 at 10:14:23 UTC, Derix wrote: OK, I have the newest Eclipse+DDT on Linux. Debugging capabilies look great : https://github.com/bruno-medeiros/DDT/blob/latest/documentation/Features.md#debugging-functionality However so far I haven't been able to step throug source

derelict glfw won't set callbacks

2014-05-24 Thread Vlad Levenfeld via Digitalmars-d-learn
Any attempt to set callbacks in GLFW returns a null and the callback doesn't work. The first enforcement fails in this example: DerelictGLFW3.load (); enforce (glfwSetErrorCallback (error_callback)); enforce (glfwInit (), glfwInit failed); window = glfwCreateWindow (screen_dims.x,

Re: derelict glfw won't set callbacks

2014-05-24 Thread Andrej Mitrovic via Digitalmars-d-learn
On 5/24/14, Vlad Levenfeld via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote: Any attempt to set callbacks in GLFW returns a null and the callback doesn't work. The first enforcement fails in this example: DerelictGLFW3.load (); enforce (glfwSetErrorCallback (error_callback));

Re: derelict glfw won't set callbacks

2014-05-24 Thread Rene Zwanenburg via Digitalmars-d-learn
On Saturday, 24 May 2014 at 13:31:46 UTC, Vlad Levenfeld wrote: Any attempt to set callbacks in GLFW returns a null and the callback doesn't work. The first enforcement fails in this example: DerelictGLFW3.load (); enforce (glfwSetErrorCallback (error_callback)); enforce (glfwInit (),

Re: derelict glfw won't set callbacks

2014-05-24 Thread Vlad Levenfeld via Digitalmars-d-learn
Haha, I should have read more carefully. Must have looked at that line in the doc a dozed times and never picked up on that detail. Your example worked for me - I wasn't calling glfwPollEvents. Thanks!

Upgrade woes : Eclipse/DDT/Linux , compile takes forever and other caveats

2014-05-24 Thread Derix via Digitalmars-d-learn
I'm on Linux 64-bit. I recently upgraded Eclipse to 4.3.2 and DDT to 0.10.1 ... and at first I couldn't compile a thing anymore. After googling some more, and burning a few more neurons, I finally gathered some clues and narrowed the quest to the dub.json file. I pieced together the following :

Re: How to debug ?

2014-05-24 Thread Derix via Digitalmars-d-learn
To debug you nee to use -g flag to compiler Thanks, but how ?

Re: Programming a Game in D? :D

2014-05-24 Thread Dmitry via Digitalmars-d-learn
On Saturday, 24 May 2014 at 09:49:30 UTC, evilrat wrote: why not just use Xamarin Studio with Mono-D? But only the trial of Xamarin Studio is for free, and I used eclipse for Java before and really like it :P actually not. you don't even need to register at all. just go to

foreach over string

2014-05-24 Thread Kagamin via Digitalmars-d-learn
foreach over string apparently iterates over chars by default instead of dchars. Didn't it prefer dchars? string s=weiß; int i; foreach(c;s)i++; assert(i==5);

Re: foreach over string

2014-05-24 Thread Etienne Cimon via Digitalmars-d-learn
On 2014-05-24 12:46, Kagamin wrote: foreach over string apparently iterates over chars by default instead of dchars. Didn't it prefer dchars? string s=weiß; int i; foreach(c;s)i++; assert(i==5); A string is defined by: alias string = immutable(char)[]; It doesn't add anything to that type

Creating ranges over mutable, const, or immutable data structures.

2014-05-24 Thread w0rp via Digitalmars-d-learn
I have been writing my own hashmap which can provide forward ranges usable in @safe pure nothrow functions, because it's going to be useful for creating graph data structures with the same. I came to writing my ranges and I figured out how to do everything right for just mutable hashmaps, but

How to handle try-catch blocks, nothrow and logfiles

2014-05-24 Thread Tim via Digitalmars-d-learn
I'm working on an application where I want log all exceptions but I'm not sure what's the best way to realize that. Sure I can do the following: void myMethod() nothrow { try { // Do something } catch (Exception e) { // Write log file } } But there are some

Re: How to handle try-catch blocks, nothrow and logfiles

2014-05-24 Thread Ali Çehreli via Digitalmars-d-learn
On 05/24/2014 10:09 AM, Tim wrote: I'm working on an application where I want log all exceptions but I'm not sure what's the best way to realize that. A common solution is to log it in the exception class'es constructor. We even dump the backtrace with libunwind in our C++ application.

Re: foreach over string

2014-05-24 Thread Ali Çehreli via Digitalmars-d-learn
On 05/24/2014 09:46 AM, Kagamin wrote: foreach over string apparently iterates over chars by default instead of dchars. Didn't it prefer dchars? I don't think so. The range algorithms iterate by dchar though. string s=weiß; int i; foreach(c;s)i++; assert(i==5); Ali

Re: Creating ranges over mutable, const, or immutable data structures.

2014-05-24 Thread Ali Çehreli via Digitalmars-d-learn
On 05/24/2014 10:02 AM, w0rp wrote: I have been writing my own hashmap which can provide forward ranges usable in @safe pure nothrow functions, because it's going to be useful for creating graph data structures with the same. I came to writing my ranges and I figured out how to do everything

Re: Programming a Game in D? :D

2014-05-24 Thread evilrat via Digitalmars-d-learn
On Saturday, 24 May 2014 at 16:41:41 UTC, Dmitry wrote: On Saturday, 24 May 2014 at 09:49:30 UTC, evilrat wrote: why not just use Xamarin Studio with Mono-D? But only the trial of Xamarin Studio is for free, and I used eclipse for Java before and really like it :P actually not. you don't even

Re: foreach over string

2014-05-24 Thread John Colvin via Digitalmars-d-learn
On Saturday, 24 May 2014 at 16:46:42 UTC, Kagamin wrote: foreach over string apparently iterates over chars by default instead of dchars. Didn't it prefer dchars? string s=weiß; int i; foreach(c;s)i++; assert(i==5); Nope. if you use foreach(dchar c; s) you will get the iteration by

Network programming

2014-05-24 Thread Andre Kostur via Digitalmars-d-learn
I'm finally making my first concerted foray into D programming. Being a networking guy (and a good history in C and C++) I'm starting with some network code (and trying to use vibe.d as well). However, I'm running into some holes that I'm not sure if I'm overlooking something or just that

Re: Creating ranges over mutable, const, or immutable data structures.

2014-05-24 Thread w0rp via Digitalmars-d-learn
On Saturday, 24 May 2014 at 18:01:43 UTC, Ali Çehreli wrote: On 05/24/2014 10:02 AM, w0rp wrote: I have been writing my own hashmap which can provide forward ranges usable in @safe pure nothrow functions, because it's going to be useful for creating graph data structures with the same. I

Re: foreach over string

2014-05-24 Thread Kagamin via Digitalmars-d-learn
On Saturday, 24 May 2014 at 18:18:37 UTC, John Colvin wrote: if you use foreach(dchar c; s) you will get the iteration by code-point you are looking for. Actually I was trying to prevent decoding :) It just occurred to me it can be tricky in generic code.

Re: How to handle try-catch blocks, nothrow and logfiles

2014-05-24 Thread Tim via Digitalmars-d-learn
On Saturday, 24 May 2014 at 17:55:07 UTC, Ali Çehreli wrote: On 05/24/2014 10:09 AM, Tim wrote: I'm working on an application where I want log all exceptions but I'm not sure what's the best way to realize that. A common solution is to log it in the exception class'es constructor. We even

Re: Network programming

2014-05-24 Thread Andre Kostur via Digitalmars-d-learn
On 2014-05-24, 11:18 AM, Andre Kostur wrote: I'm finally making my first concerted foray into D programming. Being a networking guy (and a good history in C and C++) I'm starting with some network code (and trying to use vibe.d as well). However, I'm running into some holes that I'm not sure

Re: Programming a Game in D? :D

2014-05-24 Thread David via Digitalmars-d-learn
On Saturday, 24 May 2014 at 09:49:30 UTC, evilrat wrote: On Saturday, 24 May 2014 at 09:35:01 UTC, David wrote: On Friday, 23 May 2014 at 17:47:56 UTC, evilrat wrote: why not just use Xamarin Studio with Mono-D? But only the trial of Xamarin Studio is for free, and I used eclipse for Java

Re: How to handle try-catch blocks, nothrow and logfiles

2014-05-24 Thread monarch_dodra via Digitalmars-d-learn
On Saturday, 24 May 2014 at 17:09:24 UTC, Tim wrote: Imagine I've an application where I want log all thrown exceptions. Arguably, that's not something you'd want to do. In a normal application, exceptions get thrown around, and it is completely normal. In particular, the *thrower* has no

Re: How to handle try-catch blocks, nothrow and logfiles

2014-05-24 Thread Kagamin via Digitalmars-d-learn
On Saturday, 24 May 2014 at 17:09:24 UTC, Tim wrote: But doing this in all my methods You shouldn't do it in all methods, only top-level ones, because they are called from 3rd party code, which will do whatever things with the exceptions from nothing to terminating the application. Already

[Issue 12779] [REG2.066a] -inline makes wrong code under some conditions

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

[Issue 12779] [REG2.066a] -inline makes wrong code under some conditions

2014-05-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12779 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Hardware|x86_64 |All

[Issue 12779] [REG2.066a] -inline makes wrong code under some conditions

2014-05-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12779 --- Comment #4 from j...@red.email.ne.jp --- I see... thank you. I'll change my mind. --

[Issue 12778] Aliasing opBinaryRight to opBinary works only in certain cases

2014-05-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12778 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull, rejects-valid ---

[Issue 7469] template mangling depends on instantiation order

2014-05-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7469 --- Comment #9 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/c9120823c6740dc8141ac153f4da56600b147d73 [Refactoring] Remove

[Issue 1528] [tdpl] overloading template and non-template functions

2014-05-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1528 --- Comment #40 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/33d25844140a0b7785a480cf77f603b40154e7ff [Refactoring] Remove

[Issue 12794] ddoc does not properly support code snippets for documented parameters

2014-05-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12794 --- Comment #1 from Andrej Mitrovic andrej.mitrov...@gmail.com --- In other words the vertical positioning is wrong. --

[Issue 12794] New: ddoc does not properly support code snippets for documented parameters

2014-05-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12794 Issue ID: 12794 Summary: ddoc does not properly support code snippets for documented parameters Product: D Version: D2 Hardware: All OS: All Status:

[Issue 10819] Implicit conversion error assigning one SortedRange to another when a function literal has been used

2014-05-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10819 Stewart Gordon s...@iname.com changed: What|Removed |Added Keywords||rejects-valid

[Issue 10810] wrong forward reference error when using return type deduction and a cyclic call flow

2014-05-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10810 Stewart Gordon s...@iname.com changed: What|Removed |Added Keywords||rejects-valid

[Issue 10745] Incomplete and misleading error message: opOpAssign isn't a template

2014-05-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10745 Stewart Gordon s...@iname.com changed: What|Removed |Added Keywords||diagnostic

[Issue 12795] New: atomicLoad allows unsafe removal of shared from class references

2014-05-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12795 Issue ID: 12795 Summary: atomicLoad allows unsafe removal of shared from class references Product: D Version: D2 Hardware: x86_64 OS: Linux Status:

[Issue 12796] New: std.string toLower array conversion.

2014-05-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12796 Issue ID: 12796 Summary: std.string toLower array conversion. Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1

[Issue 12796] std.string toLower/toUpper array conversion.

2014-05-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12796 Damian damian...@hotmail.co.uk changed: What|Removed |Added Summary|std.string toLower array|std.string toLower/toUpper

[Issue 12789] Add -transition=nan to emit floating-point variables default-initialized to NaN

2014-05-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12789 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 12796] std.string toLower/toUpper array conversion.

2014-05-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12796 monarchdo...@gmail.com changed: What|Removed |Added CC||monarchdo...@gmail.com --- Comment

  1   2   >