Hello list, Is there a working version of the WebClient for 1.2.1? I tried loading the webclient-pharo package from squeaksource, but didn't get anywhere. Before, I dug further I wonder if someone can point me in the right direction. Thanks Andy On 30 Apr 2011, at 06:02, pharo-users-request@lists.gforge.inria.fr wrote:
Send Pharo-users mailing list submissions to pharo-users@lists.gforge.inria.fr
To subscribe or unsubscribe via the World Wide Web, visit http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users or, via email, send a message with subject or body 'help' to pharo-users-request@lists.gforge.inria.fr
You can reach the person managing the list at pharo-users-owner@lists.gforge.inria.fr
When replying, please edit your Subject line so it is more specific than "Re: Contents of Pharo-users digest..."
Today's Topics:
1. Tutorial on Announcements (DougEdmunds) 2. Re: Refactoring and with: [] indention (Scott Gibson) 3. Re: Tutorial on Announcements (St?phane Ducasse)
----------------------------------------------------------------------
Message: 1 Date: Fri, 29 Apr 2011 18:58:08 -0700 (PDT) From: DougEdmunds <dougedmunds@gmail.com> Subject: [Pharo-users] Tutorial on Announcements To: pharo-users@lists.gforge.inria.fr Message-ID: <1304128688425-3485041.post@n4.nabble.com> Content-Type: text/plain; charset=us-ascii
http://dougedmunds.com/pmwiki.php?n=Pharo.AnnouncementsTutorial
What you can get out of this tutorial and sample code
How to use Announcements Ideas on building a GUI Associating buttons with actions Pulling text out of a text field morph. Convert text to numbers using exception handling How to create and exit an endless loop Setting process priority
-- View this message in context: http://forum.world.st/Tutorial-on-Announcements-tp3485041p3485041.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
------------------------------
Message: 2 Date: Sat, 30 Apr 2011 01:18:18 -0400 From: Scott Gibson <wsgibson@windstream.net> Subject: Re: [Pharo-users] Refactoring and with: [] indention To: A friendly place where any question about pharo is welcome <pharo-users@lists.gforge.inria.fr> Message-ID: <F3261CAB-B433-4459-A085-6EFF32F2AED8@windstream.net> Content-Type: text/plain; charset=us-ascii
Okay, so that is not exactly right. Indentions would not occur for cascaded messages with that change. I believe I found what I needed by removing the extra extra "self indentAround: []" call in RBConfigurableFormatter>>acceptCascadeNode:.
I also found where to change the code so that comments do not get pulled from their own lines and appended to the end of code, which is nice.
Thanks, Scott
On Apr 29, 2011, at 9:26 PM, Scott Gibson wrote:
Thanks Lukas. I had noticed this but was not finding the correct combination so I thought I would ask. I did find that this extra indention is occurring in RBConfigurableFormatter>>isMultiLineMessage: and is fixed if I made the change to remove the additional indent (was IndentsForKeywords + 1) as seen in the snippet below.
... (aMessageNode arguments anySatisfy: [ :each | self indent: IndentsForKeywords around: [ self willBeMultiline: each ] ]) ifTrue: [ ^ true ]. ...
This fixed my issue and seems to work well. I am sure you know this code very well so this is nothing you would not already know but it is pretty cool to me that I can make such a change to the system so easily. I now just need to find a good way to apply this change to my images going forward.
Thanks! Scott
On Apr 29, 2011, at 5:52 PM, Lukas Renggli wrote:
In 'World > System > Settings > Refactoring Engine > Configurable Formatter' you can change all kinds of settings related to the formatting.
Lukas
On 29 April 2011 23:00, Scott Gibson <wsgibson@windstream.net> wrote:
When I refactor, or format the code, there seems to be too much indention where "with: []" is used. For example:
renderHeaderOn: html (html div) id: 'header'; with: [ self renderLoginOn: html. self renderLogoOn: html. self renderMenuOn: html ]
Is this how it is supposed to be? Is there a way to reduce the indention by one level if so?
Thanks! Scott Gibson
-- Lukas Renggli www.lukas-renggli.ch
------------------------------
Message: 3 Date: Sat, 30 Apr 2011 09:05:18 +0200 From: St?phane Ducasse <stephane.ducasse@inria.fr> Subject: Re: [Pharo-users] Tutorial on Announcements To: A friendly place where any question about pharo is welcome <pharo-users@lists.gforge.inria.fr> Message-ID: <0952F8DA-F461-44C1-AB8D-B3D1B0EFD6BE@inria.fr> Content-Type: text/plain; charset=us-ascii
thanks doug I will read that because we are looking for ideas for a chapter on announcements for PBE2 :)
Stef On Apr 30, 2011, at 3:58 AM, DougEdmunds wrote:
http://dougedmunds.com/pmwiki.php?n=Pharo.AnnouncementsTutorial
What you can get out of this tutorial and sample code
How to use Announcements Ideas on building a GUI Associating buttons with actions Pulling text out of a text field morph. Convert text to numbers using exception handling How to create and exit an endless loop Setting process priority
-- View this message in context: http://forum.world.st/Tutorial-on-Announcements-tp3485041p3485041.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
------------------------------
_______________________________________________ Pharo-users mailing list Pharo-users@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
End of Pharo-users Digest, Vol 16, Issue 56 *******************************************
Zinc? Zinc is a new frameworks for HTTP web serving. Stef On Apr 30, 2011, at 4:18 PM, Andy Burnett wrote:
Hello list,
Is there a working version of the WebClient for 1.2.1? I tried loading the webclient-pharo package from squeaksource, but didn't get anywhere. Before, I dug further I wonder if someone can point me in the right direction.
Thanks Andy
On 30 Apr 2011, at 06:02, pharo-users-request@lists.gforge.inria.fr wrote:
Send Pharo-users mailing list submissions to pharo-users@lists.gforge.inria.fr
To subscribe or unsubscribe via the World Wide Web, visit http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users or, via email, send a message with subject or body 'help' to pharo-users-request@lists.gforge.inria.fr
You can reach the person managing the list at pharo-users-owner@lists.gforge.inria.fr
When replying, please edit your Subject line so it is more specific than "Re: Contents of Pharo-users digest..."
Today's Topics:
1. Tutorial on Announcements (DougEdmunds) 2. Re: Refactoring and with: [] indention (Scott Gibson) 3. Re: Tutorial on Announcements (St?phane Ducasse)
----------------------------------------------------------------------
Message: 1 Date: Fri, 29 Apr 2011 18:58:08 -0700 (PDT) From: DougEdmunds <dougedmunds@gmail.com> Subject: [Pharo-users] Tutorial on Announcements To: pharo-users@lists.gforge.inria.fr Message-ID: <1304128688425-3485041.post@n4.nabble.com> Content-Type: text/plain; charset=us-ascii
http://dougedmunds.com/pmwiki.php?n=Pharo.AnnouncementsTutorial
What you can get out of this tutorial and sample code
How to use Announcements Ideas on building a GUI Associating buttons with actions Pulling text out of a text field morph. Convert text to numbers using exception handling How to create and exit an endless loop Setting process priority
-- View this message in context: http://forum.world.st/Tutorial-on-Announcements-tp3485041p3485041.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
------------------------------
Message: 2 Date: Sat, 30 Apr 2011 01:18:18 -0400 From: Scott Gibson <wsgibson@windstream.net> Subject: Re: [Pharo-users] Refactoring and with: [] indention To: A friendly place where any question about pharo is welcome <pharo-users@lists.gforge.inria.fr> Message-ID: <F3261CAB-B433-4459-A085-6EFF32F2AED8@windstream.net> Content-Type: text/plain; charset=us-ascii
Okay, so that is not exactly right. Indentions would not occur for cascaded messages with that change. I believe I found what I needed by removing the extra extra "self indentAround: []" call in RBConfigurableFormatter>>acceptCascadeNode:.
I also found where to change the code so that comments do not get pulled from their own lines and appended to the end of code, which is nice.
Thanks, Scott
On Apr 29, 2011, at 9:26 PM, Scott Gibson wrote:
Thanks Lukas. I had noticed this but was not finding the correct combination so I thought I would ask. I did find that this extra indention is occurring in RBConfigurableFormatter>>isMultiLineMessage: and is fixed if I made the change to remove the additional indent (was IndentsForKeywords + 1) as seen in the snippet below.
... (aMessageNode arguments anySatisfy: [ :each | self indent: IndentsForKeywords around: [ self willBeMultiline: each ] ]) ifTrue: [ ^ true ]. ...
This fixed my issue and seems to work well. I am sure you know this code very well so this is nothing you would not already know but it is pretty cool to me that I can make such a change to the system so easily. I now just need to find a good way to apply this change to my images going forward.
Thanks! Scott
On Apr 29, 2011, at 5:52 PM, Lukas Renggli wrote:
In 'World > System > Settings > Refactoring Engine > Configurable Formatter' you can change all kinds of settings related to the formatting.
Lukas
On 29 April 2011 23:00, Scott Gibson <wsgibson@windstream.net> wrote:
When I refactor, or format the code, there seems to be too much indention where "with: []" is used. For example:
renderHeaderOn: html (html div) id: 'header'; with: [ self renderLoginOn: html. self renderLogoOn: html. self renderMenuOn: html ]
Is this how it is supposed to be? Is there a way to reduce the indention by one level if so?
Thanks! Scott Gibson
-- Lukas Renggli www.lukas-renggli.ch
------------------------------
Message: 3 Date: Sat, 30 Apr 2011 09:05:18 +0200 From: St?phane Ducasse <stephane.ducasse@inria.fr> Subject: Re: [Pharo-users] Tutorial on Announcements To: A friendly place where any question about pharo is welcome <pharo-users@lists.gforge.inria.fr> Message-ID: <0952F8DA-F461-44C1-AB8D-B3D1B0EFD6BE@inria.fr> Content-Type: text/plain; charset=us-ascii
thanks doug I will read that because we are looking for ideas for a chapter on announcements for PBE2 :)
Stef On Apr 30, 2011, at 3:58 AM, DougEdmunds wrote:
http://dougedmunds.com/pmwiki.php?n=Pharo.AnnouncementsTutorial
What you can get out of this tutorial and sample code
How to use Announcements Ideas on building a GUI Associating buttons with actions Pulling text out of a text field morph. Convert text to numbers using exception handling How to create and exit an endless loop Setting process priority
-- View this message in context: http://forum.world.st/Tutorial-on-Announcements-tp3485041p3485041.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
------------------------------
_______________________________________________ Pharo-users mailing list Pharo-users@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
End of Pharo-users Digest, Vol 16, Issue 56 *******************************************
On 30 Apr 2011, at 15:40, Stéphane Ducasse wrote:
Zinc? Zinc is a new frameworks for HTTP web serving.
http://homepage.mac.com/svc/Zinc-HTTP-Components/ Zinc HTTP Components is an open-source Smalltalk framework to deal with the HTTP networking protocol. It has both client and server functionality. Sven
Zinc? Zinc is a new frameworks for HTTP web serving.
Thanks guys, I was wondering about Zinc in relation to WebClient. So, just to be clear, Zinc replaces WebClient as far as Pharo goes? Second question. How do I create an SSL connection from the Zinc Client to a server - that was one of the things that appealed to me about WebClient. Pharo 1.2.1 OSX 10.6.6 Cheers Andy-- View this message in context: http://forum.world.st/WebClient-for-1-2-2-tp3485946p3486738.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
On 01 May 2011, at 01:21, Andy Burnett wrote:
Thanks guys, I was wondering about Zinc in relation to WebClient. So, just to be clear, Zinc replaces WebClient as far as Pharo goes?
Yes (but you are free to use WebClient if you want).
Second question. How do I create an SSL connection from the Zinc Client to a server - that was one of the things that appealed to me about WebClient.
Pharo 1.2.1 OSX 10.6.6
SSL is not (yet) supported. Sorry. BTW, It will be (very) hard to get Pharo+WebClient+SSL+MacOSX working. There are workaround using stunnel. Sven
Sven said
Yes (but you are free to use WebClient if you want).
True, but I would much prefer to go with whatever the community to focused on. All I want is software that works :-)
SSL is not (yet) supported. Sorry. BTW, It will be (very) hard to get Pharo+WebClient+SSL+MacOSX working. There are workaround using stunnel.
I haven't used stunnel before. I doesn't look too difficult to install, but when you say 'workaround' is it simply a case of install it, and then use it with Pharo. Or, do I have to make changes to Pharo to get it to take advantage of stunnel? Cheers Andy-- View this message in context: http://forum.world.st/WebClient-for-1-2-2-tp3485946p3488798.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
On 02 May 2011, at 00:09, Andy Burnett wrote:
I haven't used stunnel before. I doesn't look too difficult to install, but when you say 'workaround' is it simply a case of install it, and then use it with Pharo. Or, do I have to make changes to Pharo to get it to take advantage of stunnel?
Here is a good description: http://blog.doit.st/2011/02/23/cloudforksso-on-pharo-with-stunnel/ No, it does require changing the Smalltalk side, I call it a workaround because really supporting HTTPS out of the box would be much better. However, I must say that I did not get it to work on Mac OS X (almost ;-), then I switched to a my virtual Ubuntu GNU/Linux and it worked. Sven
On Mon, May 2, 2011 at 7:31 AM, Sven Van Caekenberghe <sven@beta9.be> wrote:
On 02 May 2011, at 00:09, Andy Burnett wrote:
I haven't used stunnel before. I doesn't look too difficult to install, but when you say 'workaround' is it simply a case of install it, and then use it with Pharo. Or, do I have to make changes to Pharo to get it to take advantage of stunnel?
Here is a good description: http://blog.doit.st/2011/02/23/cloudforksso-on-pharo-with-stunnel/
No, it does require changing the Smalltalk side, I call it a workaround because really supporting HTTPS out of the box would be much better.
However, I must say that I did not get it to work on Mac OS X (almost ;-), then I switched to a my virtual Ubuntu GNU/Linux and it worked.
This link is also handy, it describes how to get SSL with nginx: http://www.monkeysnatchbanana.com/posts/2010/06/22/faking-a-https-client-for... Davorin Rusevljan http://www.cloud208.com/
Am 02.05.2011 um 07:31 schrieb Sven Van Caekenberghe:
No, it does require changing the Smalltalk side, I call it a workaround because really supporting HTTPS out of the box would be much better.
And the usage of client SSL certificates would be possible. With stunnel you have to hardcode them in the configuration file. Norbert
Out of curiosity, what will it take to get SSL working? Is it a difficult technical problem, or is it just a question of time/money? Cheers Andy -- View this message in context: http://forum.world.st/WebClient-for-1-2-2-tp3485946p3496034.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
On May 4, 2011, at 6:01 PM, Andy Burnett wrote:
Out of curiosity, what will it take to get SSL working? Is it a difficult technical problem, or is it just a question of time/money?
I would say time/money because writing primitives to openssl libraries should be possible. and we would love somebody to start building a good plugin.
Cheers Andy
-- View this message in context: http://forum.world.st/WebClient-for-1-2-2-tp3485946p3496034.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
On 4 May 2011, at 18:33, Stéphane Ducasse [via Smalltalk]<ml-node+3496961-1809523232-128648@n4.nabble.com> wrote:
On May 4, 2011, at 6:01 PM, Andy Burnett wrote:
Out of curiosity, what will it take to get SSL working? Is it a difficult technical problem, or is it just a question of time/money?
I would say time/money because writing primitives to openssl libraries should be possible. and we would love somebody to start building a good plugin.
Do you gave a guesstimate on how much money would be needed? Also, do we have someone(s) who might be willing to do the project? Cheers Andy -- View this message in context: http://forum.world.st/WebClient-for-1-2-2-tp3485946p3497024.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
On May 4, 2011, at 6:01 PM, Andy Burnett wrote:
Out of curiosity, what will it take to get SSL working? Is it a difficult technical problem, or is it just a question of time/money?
I would say time/money because writing primitives to openssl libraries should be possible. and we would love somebody to start building a good plugin.
Do you gave a guesstimate on how much money would be needed? Also, do we have someone(s) who might be willing to do the project?
I suggest that we use this project to make a call for a bounty. I'm convinced that ESUG could put some money on the table but it would be good to know if some companies are interested to join. Stef
Hi, VA Smalltalk from Instantiations currently uses an old version of openssl for https support. I think it is on their product roadmap to modernize this. Perhaps we can ask them to join forces. Jan. On May 5, 2011 1:37 PM, "Stéphane Ducasse" <stephane.ducasse@inria.fr> wrote:
On May 4, 2011, at 6:01 PM, Andy Burnett wrote:
Out of curiosity, what will it take to get SSL working? Is it a difficult technical problem, or is it just a question of time/money?
I would say time/money because writing primitives to openssl libraries should be possible. and we would love somebody to start building a good plugin.
Do you gave a guesstimate on how much money would be needed? Also, do we have someone(s) who might be willing to do the project?
I suggest that we use this project to make a call for a bounty. I'm convinced that ESUG could put some money on the table but it would be good to know if some companies are interested to join.
Stef
I can donate myself 100 Euro to begin the bounty! El jue, 05-05-2011 a las 13:36 +0200, Stéphane Ducasse escribió:
On May 4, 2011, at 6:01 PM, Andy Burnett wrote:
Out of curiosity, what will it take to get SSL working? Is it a difficult technical problem, or is it just a question of time/money?
I would say time/money because writing primitives to openssl libraries should be possible. and we would love somebody to start building a good plugin.
Do you gave a guesstimate on how much money would be needed? Also, do we have someone(s) who might be willing to do the project?
I suggest that we use this project to make a call for a bounty. I'm convinced that ESUG could put some money on the table but it would be good to know if some companies are interested to join.
Stef
-- Miguel Cobá http://twitter.com/MiguelCobaMtz http://miguel.leugim.com.mx
Andy, On 04 May 2011, at 18:01, Andy Burnett wrote:
Out of curiosity, what will it take to get SSL working? Is it a difficult technical problem, or is it just a question of time/money?
You are not the first to ask for this. This is really a recurring theme: why isn't HTTPS working ? I think it is doable, but it is certainly not trivial. It requires both a good understanding of the Smalltalk level (Socket, SocketStream, SSL concepts, streams/networking) as well as an understanding of the VM Plugin level (C code). Furthermore, there are 3 versions of the plugin (Windows, Mac OS X and Linux) each talking to a different OS API, to develop this further would potentiallyt/probably require knowledge of 3 platforms. Basic SSL is not that difficult, the finer points (certificates for example) are more challenging. Reaching adequate performance will not be easy (SSL is always slower, the question is how much slower). Finally, to test HTTPS, you also have to understand HTTP, of course. On the other hand, there is something that works more or less and that can be used as a basis to start from. Money would help, since you keep on asking, how much would it be worth to you ? Regards, Sven
Sven Van Caekenberghe wrote:
Money would help, since you keep on asking, how much would it be worth to you ?
Sven, that's a great question. We don't use Pharo for delivery (yet), but I am really drawn to it as a 'sketching' tool for my ideas. Increasingly, I find I am hampered by not having SSL, and so I have to turn to Python. Not the end of the world, but not as good as Pharo. I see that Miguel has offered 100 Euros, and I will happily offer 500 Euros to help push things along. What I really need to know though, is what would it cost to get this done - even a rough estimate. Cheers Andy -- View this message in context: http://forum.world.st/WebClient-for-1-2-2-tp3485946p3499050.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Andy, Miguel, On 05 May 2011, at 20:01, Andy Burnett wrote:
I see that Miguel has offered 100 Euros, and I will happily offer 500 Euros to help push things along. What I really need to know though, is what would it cost to get this done - even a rough estimate.
OK, give me a couple of days and I will write up a plan of action with a couple of steps and some functional requirements. I any case I think that ESUG should be the clearing house this. Thanks for the offer ! Regards, Sven
On May 6, 2011, at 8:54 PM, Sven Van Caekenberghe wrote:
Andy, Miguel,
On 05 May 2011, at 20:01, Andy Burnett wrote:
I see that Miguel has offered 100 Euros, and I will happily offer 500 Euros to help push things along. What I really need to know though, is what would it cost to get this done - even a rough estimate.
OK, give me a couple of days and I will write up a plan of action with a couple of steps and some functional requirements.
I any case I think that ESUG should be the clearing house this.
I think that esug could put up to 2500 Euros since we could go for the support project easy path. I think that for ESUG that the solution works in Squeak would be a plus.
Thanks for the offer !
Regards,
Sven
participants (7)
-
Andy Burnett -
Davorin Rusevljan -
Jan van de Sandt -
Miguel Cobá -
Norbert Hartl -
Stéphane Ducasse -
Sven Van Caekenberghe