Re: [Twisted-Python] Embedding manhole interpreter into insults widget.

2014-08-07 Thread Maxim Lacrima
On 6 August 2014 22:48, Glyph Lefkowitz wrote: > > Optimizing this will almost certainly involve patching Twisted. Which you > should definitely do :). > > The reason the entire screen is redrawn is that a *general* implementation > of a widget, i.e. one that can be displayed anywhere on the ter

Re: [Twisted-Python] Embedding manhole interpreter into insults widget.

2014-08-07 Thread exarkun
On 6 Aug, 06:14 pm, lacrima.ma...@gmail.com wrote: Hello, I have been trying to create a widget that encloses manhole interpreter. Here is somewhat hacky implementation that I came up with at this moment: Widgets and the manhole interpreter are implemented using two pretty distinct approach

Re: [Twisted-Python] Is there pb documentation somewhere?

2014-08-07 Thread Daniel Sank
glyph, > I really wish we would stop calling things "bad" and "good". My wording of exarkun's wording. He gave a much more detailed description of what he think's is "crazy" about pb. > make your own decisions about how to write your own code. Indeed, but gathering information from wiser folks

[Twisted-Python] pb.Copyable knowledge barrier

2014-08-07 Thread Kevin Mcintyre
goal: Give knowitall.py awareness of wordsmith.py addition. to run ./library.sh # opens 7999 for remote_dictionary and remote_define methods then both: python knowitall.py python wordsmith.py library.sh due to main/jelly issues from twisted.spread import pb class UknownWordException(Exception):

Re: [Twisted-Python] pb.Copyable knowledge barrier

2014-08-07 Thread Kevin Mcintyre
wordsmith argument order issues re-take. Cheers, Kevin On Thu, Aug 7, 2014 at 11:29 PM, Kevin Mcintyre wrote: > goal: Give knowitall.py awareness of wordsmith.py addition. > > to run > ./library.sh # opens 7999 for remote_dictionary and remote_define methods > then both: > python knowitall.py

Re: [Twisted-Python] Embedding manhole interpreter into insults widget.

2014-08-07 Thread Maxim Lacrima
Hi, Thanks for your explanation. Now I understand a lot better how things work. I will try to implement "native" manhole widget. I think this will be a good exercise for me to learn how terminals and `twisted.conch` work. Thanks. On 7 August 2014 14:53, wrote: > On 6 Aug, 06:14 pm, lacrima.ma