Re: Livestreaming DConf?

2014-05-11 Thread John Carter via Digitalmars-d-announce
The timezones being so different, I'm not sure livestreaming will help
me... But I do plan to watch any videos of it as soon as they are up.


On Sun, May 11, 2014 at 5:06 AM, Joakim via Digitalmars-d-announce <
digitalmars-d-announce@puremagic.com> wrote:

> On Friday, 9 May 2014 at 19:48:20 UTC, Andrei Alexandrescu wrote:
>
>> Hi folks,
>>
>>
>> We at Facebook are very excited about the upcoming DConf 2014. In fact,
>> so excited we're considering livestreaming the event for the benefit of the
>> many of us who can't make it to Menlo Park, CA. Livestreaming entails
>> additional costs so we're trying to assess the size of the online audience.
>> Please follow up here and on twitter: https://twitter.com/D_
>> Programming/status/464854296001933312
>>
>
> I demand a telehuman stream:
>
> http://youtube.com/watch?v=06tV60K-npw
>
> Facebook has one of those, right? ;)
>



-- 
John Carter
Phone : (64)(3) 358 6639
Tait Electronics
PO Box 1645 Christchurch
New Zealand

-- 

--
This email, including any attachments, is only for the intended recipient. 
It is subject to copyright, is confidential and may be the subject of legal 
or other privilege, none of which is waived or lost by reason of this 
transmission.
If you are not an intended recipient, you may not use, disseminate, 
distribute or reproduce such email, any attachments, or any part thereof. 
If you have received a message in error, please notify the sender 
immediately and erase all copies of the message and any attachments.
Unfortunately, we cannot warrant that the email has not been altered or 
corrupted during transmission nor can we guarantee that any email or any 
attachments are free from computer viruses or other conditions which may 
damage or interfere with recipient data, hardware or software. The 
recipient relies upon its own procedures and assumes all risk of use and of 
opening any attachments.
--


Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk

2014-05-11 Thread Jacob Carlborg via Digitalmars-d-announce

On 2014-05-11 19:34, Gary Willoughby wrote:


I see. I think i have been bitten by this actually. What would be your
solution?


Without having looked at the code, call GC.addRoot. It will make sure 
the GC knows about the memory even if there's no other reference to it.


--
/Jacob Carlborg


Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk

2014-05-11 Thread Gary Willoughby via Digitalmars-d-announce

On Sunday, 11 May 2014 at 14:04:44 UTC, Kagamin wrote:
GC cleans up for you. Usually this won't happen because 
uniqueData is likely to be in data section and callback is 
likely to be a member of a widget used elsewhere. But if they 
aren't, GC will free them and you end up with dangling pointers 
in CommandArgs.


I see. I think i have been bitten by this actually. What would be 
your solution?


Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk

2014-05-11 Thread Kagamin via Digitalmars-d-announce
GC cleans up for you. Usually this won't happen because 
uniqueData is likely to be in data section and callback is likely 
to be a member of a widget used elsewhere. But if they aren't, GC 
will free them and you end up with dangling pointers in 
CommandArgs.


Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk

2014-05-11 Thread Gary Willoughby via Digitalmars-d-announce

On Sunday, 11 May 2014 at 10:16:35 UTC, Kagamin wrote:

https://github.com/nomad-software/tkd/blob/master/source/tkd/element/element.d
Since you allocate CommandArgs in C heap, its content is 
invisible to GC and will be freed - uniqueData and callback.


Can you clarify what you mean here? Are you asserting i am 
cleaning up or i need to somewhere?


Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk

2014-05-11 Thread Kagamin via Digitalmars-d-announce

On Sunday, 4 May 2014 at 16:18:53 UTC, Gary Willoughby wrote:

https://github.com/nomad-software/tkd


https://github.com/nomad-software/tkd/blob/master/source/tkd/element/element.d
Since you allocate CommandArgs in C heap, its content is 
invisible to GC and will be freed - uniqueData and callback.


Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk

2014-05-11 Thread Kagamin via Digitalmars-d-announce

On Thursday, 8 May 2014 at 04:46:48 UTC, John wrote:
How is the performance when compared to other GUIs like Qt or 
Gtk? For example, in one application, I need to dynamically 
create several hundred of controls at runtime.


BTW, what's your use case? Nested tabbed dialog? After creation 
it should also resize fast, which can get problematic too.