On Wed, Nov 22, 2017 at 6:03 PM Juraj Kubelka <juraj.kubelka@icloud.com> wrote:
On Nov 21, 2017, at 19:54, Dimitris Chloupis <kilon.alios@gmail.com> wrote:
Well done :)
Now you can make a discord client inside the Pharo image if you want.
Exactly :-) I am looking for integrations that improve the developer experience. Maybe the interface should be different from the standard client. The question is how to integrate and why? What do you think?
Cheers, Juraj
Well its a highly personally question For me it was easy to, well realtive easy, because my Atlas pharo library allows me to use any python library fron inside Pharo , so techically I could use the existing Python API to make a Discord client inside Pharo , without a need to create a wrapper (live tranlation and executing of code). I was already familiar with the Discord API because I made a bot for the Discord server (I am the one that created the Discord server for Pharo. I did not intend to move the community from Slack to Discord , but Esteban liked its so much that pused it forward as an idea and it did happen). The API its quite simple so making a client inside Pharo should not be hard. But never felt the need to have a Discord client inside Pharo. On the other hand I never expected our Discord community to grow so large and so active, so fast. Unfortunately I decided to take on creating a Python project so I did not have much usage for Pharo (Python is embeded so it makes Pharo usage quite tricky for me) lately but I am still available for advice, recommendations and so forth. If you start making a Discord client inside the image, make sure you join the Discord API server, they are extremely helpful and they even have a channel for testing bots. A Discord bot uses the same API as a potential client. Now on the how... What I would have done would have been to add the client as tab to the welcome dialog we have when ones first open the image and also as an option to GTSpotter , it would be in the form of "Ask Pharo a Question" and it would send the question directly to our help channel so that beginners could get real time help with any problem they had even those unaware of the existance of Discord. Obviously the option would also exist to expand it to a full Discord interface but my idea was mostly to keep it simple and minimal. One channel, one line, one inpute, and one short list of messages scrolling back and forward. Thats one way, there are obviously billions of other ways to do this.