Re: phobosx.signal ready

2013-07-28 Thread David
Am 28.07.2013 18:39, schrieb Kagamin: > On Sunday, 21 July 2013 at 11:24:42 UTC, David wrote: >> "window.single_key_down[JUMP].strongConnect({ physics.jump(); });" >> physics is a class variable, this will blow up once the class holding it >> is gone > > You ask for the weak ref semantics, but as

Re: phobosx.signal ready

2013-07-28 Thread Kagamin
On Sunday, 21 July 2013 at 11:24:42 UTC, David wrote: "window.single_key_down[JUMP].strongConnect({ physics.jump(); });" physics is a class variable, this will blow up once the class holding it is gone You ask for the weak ref semantics, but as the name suggests, strongConnect has the strong

Re: phobosx.signal ready

2013-07-24 Thread Robert
You can get free certificates from StartSSL. Thanks, that's actually cool :-) Unfortunately it does not work for my dyndns domain. (I can't register vhios.dyndns.org, only dyndns.org would be accepted)

Re: phobosx.signal ready

2013-07-24 Thread Robert
A few things: * I don't like the separation between connect/strongConnect It should be possible to make strongConnect just another overload of connect, but I chose to use another name because of the changed semantics. This way both the writer and the reader of the code have a clue what is go

Re: phobosx.signal ready

2013-07-23 Thread Brad Anderson
On Thursday, 18 July 2013 at 11:31:06 UTC, Robert wrote: Your site gives me an ssl certificate error with https and a 504 with http Yeah :-) It is only a home server, I did not pay for a proper certificate. Just ignore the security warning. I merely wanted to publish the documentation somewhe

Re: phobosx.signal ready

2013-07-21 Thread David
Ok, I came around to test it, finally. A few things: * I don't like the separation between connect/strongConnect * I would like to bind a strongConnect to a class, if the class is gone the strongConnect should be gone, too. E.g. "window.single_key_down[JUMP].strongConnect({ physics.jump(); });"

Re: phobosx.signal ready

2013-07-18 Thread Robert
Your site gives me an ssl certificate error with https and a 504 with http Yeah :-) It is only a home server, I did not pay for a proper certificate. Just ignore the security warning. I merely wanted to publish the documentation somewhere for easier access. Best regards, Robert

Re: phobosx.signal ready

2013-07-18 Thread Robert
On Wednesday, 17 July 2013 at 16:06:14 UTC, David wrote: Thanks for your work, I'll try to test it the next days! Thanks! I really appreciate it. The more real world use, the better and the sooner it can be moved to phobos! I am going to fix any found issues ASAP.

Re: phobosx.signal ready

2013-07-18 Thread Robert
On Wednesday, 17 July 2013 at 17:23:48 UTC, Zoadian wrote: Thank you very much! i might finally get rid of all those segfaults now :) You are very welcome. I am glad to see some feedback, I was already afraid I did all the work and nobody uses it. I myself currently have no use case for signa

Re: phobosx.signal ready

2013-07-18 Thread Robert
On Wednesday, 17 July 2013 at 19:38:54 UTC, Zoadian wrote: I'm also running into http://d.puremagic.com/issues/show_bug.cgi?id=10502 when using your mixin signal function. So I'm using Signal! directly now. Works well so far. Btw this forum needs an edit button! Thanks for pointing out tho

Re: phobosx.signal ready

2013-07-17 Thread E.S. Quinn
Out of curiosity, does this implementation support e.g. function literals or nested functions with connect()? The current phobos implementation only allows connecting class methods, and that's a limitation I've bumped up against quite a bit, especially when writing test code.

Re: phobosx.signal ready

2013-07-17 Thread John Colvin
On Wednesday, 17 July 2013 at 19:38:54 UTC, Zoadian wrote: Btw this forum needs an edit button! Not gonna happen as it's not a forum, it's just a forum interface to an NNTP newsgroup and mailing list.

Re: phobosx.signal ready

2013-07-17 Thread Zoadian
I'm also running into http://d.puremagic.com/issues/show_bug.cgi?id=10502 when using your mixin signal function. So I'm using Signal! directly now. Works well so far. Btw this forum needs an edit button!

Re: phobosx.signal ready

2013-07-17 Thread Zoadian
you might run into http://d.puremagic.com/issues/show_bug.cgi?id=10260 drop the -profile switch to make it work

Re: phobosx.signal ready

2013-07-17 Thread Zoadian
Thank you very much! i might finally get rid of all those segfaults now :)

Re: phobosx.signal ready

2013-07-17 Thread David
Thanks for your work, I'll try to test it the next days!