Storing arbitrary type info in XML

2012-05-08 Thread F i L
I'm trying to store arbitrary D object information in an XML file, then load and create the objects it represents programmatically. For example, I have the file test.xml, which looks like: !-- test.xml -- scene main.Person name=Philip age=24 !-- nothing yet --

Re: simple find question

2012-05-08 Thread Jesse Phillips
On Monday, 7 May 2012 at 19:45:36 UTC, WhatMeWorry wrote: And std.regex talks about matches and stuff but is this equivalent to find. The warning was talking about the find in std.regexp which is right above that function. You want std.regex.match. Sorry got to go.

Re: ptrace (process trace system call) on Linux from D

2012-05-08 Thread Matej Nanut
On Monday, 7 May 2012 at 22:56:07 UTC, mta`chrono wrote: What do you meant by D alternatives to wait() and fork() that could be used with ptrace(). Maybe I don't understand your intention. Nevermind with that; I've been confused since there are exec*() functions in std.process, but no wait()

Re: getgrgid() for Posix

2012-05-08 Thread Justin Whear
On Tue, 08 May 2012 18:45:29 +0200, mta`chrono wrote: Am 08.05.2012 18:26, schrieb useo6: Hi everyone, does anyone know how I can the name of a group in Posix? In C/C++ I can use getgrgid(), but I just found nothing like this function. Is there any alternative to get the name of a group of

Re: ptrace (process trace system call) on Linux from D

2012-05-08 Thread Matej Nanut
On Tuesday, 8 May 2012 at 16:41:55 UTC, mta`chrono wrote: But consider that fork() is a very specific UNIX syscall. There is nothing similar like that on Windows. That's maybe why they didn't wrap it in Phobos. Ah yes, very true. I didn't think of that. Maybe the same applies to wait()

Make all functions from std.typecons Proxy inout

2012-05-08 Thread Namespace
In my development of the Ref / NotNull structure, I came across a problem: All the methods of Proxy aren't inout. Has this a reason or will change? In my opinion they should all be inout. I mentioned previous self fixes in my corresponding Ref / NotNull thread already.

Re: Make all functions from std.typecons Proxy inout

2012-05-08 Thread Kenji Hara
On Tuesday, 8 May 2012 at 22:58:07 UTC, Namespace wrote: In my development of the Ref / NotNull structure, I came across a problem: All the methods of Proxy aren't inout. Has this a reason or will change? In my opinion they should all be inout. I mentioned previous self fixes in my