Re: [Pharo-dev] Rubric screencast
On 1 juin 2013, at 01:48, Igor Stasenko siguc...@gmail.com wrote: On 1 June 2013 01:25, Alexandre Bergel alexandre.ber...@me.com wrote: Hi Alain! Impressive! Very. But only feature-wise. Speed-wise is not. Is it related to recording? yes, my computer is slow and the screen recording make it inresponsive hoping that live version faster. just try it :) But I think there is a lot of place for improvement: A selection is a PolygonMorph. Maybe a dedicated version should be done. Cheers Alain -- Best regards, Igor Stasenko.
Re: [Pharo-dev] Rubric screencast
On 1 juin 2013, at 01:25, Alexandre Bergel alexandre.ber...@me.com wrote: Would it be possible to have an element of the text responsive to some interaction? For example, if in my text field I enter the value 100. Can I click on it (and remain the mouse button down) and move the mouse to increase or decrease this numerical value? | area seg blk | area := RubEditingArea new beWrapped; withoutSelectionBar. area setTextWith: 'Click on 0'. seg := RubPlainSegmentMorph inTextArea: area from: 10 to: 11. blk := [ seg replaceTextWith: (seg text string asNumber + 1) asString]. seg on: #mouseDown send: #value to: blk. seg on: #mouseStillDown send: #value to: blk. seg beExtendable. area addSegment: seg. area openInWorld Alain -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Re: [Pharo-dev] Rubric screencast
On 1 juin 2013, at 10:26, plantec alain.plan...@yahoo.com wrote: On 1 juin 2013, at 01:25, Alexandre Bergel alexandre.ber...@me.com wrote: Would it be possible to have an element of the text responsive to some interaction? For example, if in my text field I enter the value 100. Can I click on it (and remain the mouse button down) and move the mouse to increase or decrease this numerical value? | area seg blk | area := RubEditingArea new beWrapped; withoutSelectionBar. area setTextWith: 'Click on 0'. seg := RubPlainSegmentMorph inTextArea: area from: 10 to: 11. blk := [ seg replaceTextWith: (seg text string asNumber + 1) asString]. seg on: #mouseDown send: #value to: blk. seg on: #mouseStillDown send: #value to: blk. seg beExtendable. area addSegment: seg. area openInWorld now I imagine that with TxMorph it should be possible to insert whatever morph at a given place instead of a RubPlainSegmentMorph. :) Cheers Alain Alain -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Re: [Pharo-dev] Rubric screencast
On 1 juin 2013, at 01:48, Igor Stasenko siguc...@gmail.com wrote: many? I never seen anything as flexible as in some old Squeak Seriously ? yes ok, 10 years ago - and I loved squeak very much. afaik, now, at least regarding smart text reacting as it is shown in https://vimeo.com/66085662 this is certainely not true :) If not, why did you launched TxText project :) Cheers Alain -- Best regards, Igor Stasenko.
Re: [Pharo-dev] Rubric screencast
Any script to load Rubric? Alexandre On 1 Jun 2013, at 02:13, plantec alain.plan...@yahoo.com wrote: On 1 juin 2013, at 01:48, Igor Stasenko siguc...@gmail.com wrote: On 1 June 2013 01:25, Alexandre Bergel alexandre.ber...@me.com wrote: Hi Alain! Impressive! Very. But only feature-wise. Speed-wise is not. Is it related to recording? yes, my computer is slow and the screen recording make it inresponsive hoping that live version faster. just try it :) But I think there is a lot of place for improvement: A selection is a PolygonMorph. Maybe a dedicated version should be done. Cheers Alain -- Best regards, Igor Stasenko.
Re: [Pharo-dev] Rubric screencast
On 1 juin 2013, at 14:40, Alexandre Bergel alexandre.ber...@me.com wrote: Any script to load Rubric? unfortunately no up-to-date script. you have to directly load the Rubric package for now. sorry, I will try to update it next week. Cheers Alain Alexandre On 1 Jun 2013, at 02:13, plantec alain.plan...@yahoo.com wrote: On 1 juin 2013, at 01:48, Igor Stasenko siguc...@gmail.com wrote: On 1 June 2013 01:25, Alexandre Bergel alexandre.ber...@me.com wrote: Hi Alain! Impressive! Very. But only feature-wise. Speed-wise is not. Is it related to recording? yes, my computer is slow and the screen recording make it inresponsive hoping that live version faster. just try it :) But I think there is a lot of place for improvement: A selection is a PolygonMorph. Maybe a dedicated version should be done. Cheers Alain -- Best regards, Igor Stasenko.
Re: [Pharo-dev] Rubric screencast
alex there is only one package on smalltalkhub/alainplantec On Jun 1, 2013, at 2:40 PM, Alexandre Bergel alexandre.ber...@me.com wrote: Any script to load Rubric? Alexandre On 1 Jun 2013, at 02:13, plantec alain.plan...@yahoo.com wrote: On 1 juin 2013, at 01:48, Igor Stasenko siguc...@gmail.com wrote: On 1 June 2013 01:25, Alexandre Bergel alexandre.ber...@me.com wrote: Hi Alain! Impressive! Very. But only feature-wise. Speed-wise is not. Is it related to recording? yes, my computer is slow and the screen recording make it inresponsive hoping that live version faster. just try it :) But I think there is a lot of place for improvement: A selection is a PolygonMorph. Maybe a dedicated version should be done. Cheers Alain -- Best regards, Igor Stasenko.
Re: [Pharo-dev] Rubric screencast
Good job, Alain! Here is the script for people that want to try it out (I tried it and it works in Pharo 2.0): Gofer new url: 'http://www.smalltalkhub.com/mc/AlainPlantec/Rubric/main'; package: 'Rubric'; load. Doru On Jun 1, 2013, at 5:38 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: alex there is only one package on smalltalkhub/alainplantec On Jun 1, 2013, at 2:40 PM, Alexandre Bergel alexandre.ber...@me.com wrote: Any script to load Rubric? Alexandre On 1 Jun 2013, at 02:13, plantec alain.plan...@yahoo.com wrote: On 1 juin 2013, at 01:48, Igor Stasenko siguc...@gmail.com wrote: On 1 June 2013 01:25, Alexandre Bergel alexandre.ber...@me.com wrote: Hi Alain! Impressive! Very. But only feature-wise. Speed-wise is not. Is it related to recording? yes, my computer is slow and the screen recording make it inresponsive hoping that live version faster. just try it :) But I think there is a lot of place for improvement: A selection is a PolygonMorph. Maybe a dedicated version should be done. Cheers Alain -- Best regards, Igor Stasenko. -- www.tudorgirba.com Problem solving should be focused on describing the problem in a way that makes the solution obvious.
Re: [Pharo-dev] Rubric screencast
It's 2013 guys, we rock with Configurations and Jenkins builds :) If you give me a configuration I'll open a new job on http://ci.inria.fr/pharo-contribution ! On 2013-06-02, at 00:39, Tudor Girba tu...@tudorgirba.com wrote: Good job, Alain! Here is the script for people that want to try it out (I tried it and it works in Pharo 2.0): Gofer new url: 'http://www.smalltalkhub.com/mc/AlainPlantec/Rubric/main'; package: 'Rubric'; load. Doru On Jun 1, 2013, at 5:38 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: alex there is only one package on smalltalkhub/alainplantec On Jun 1, 2013, at 2:40 PM, Alexandre Bergel alexandre.ber...@me.com wrote: Any script to load Rubric? Alexandre On 1 Jun 2013, at 02:13, plantec alain.plan...@yahoo.com wrote: On 1 juin 2013, at 01:48, Igor Stasenko siguc...@gmail.com wrote: On 1 June 2013 01:25, Alexandre Bergel alexandre.ber...@me.com wrote: Hi Alain! Impressive! Very. But only feature-wise. Speed-wise is not. Is it related to recording? yes, my computer is slow and the screen recording make it inresponsive hoping that live version faster. just try it :) But I think there is a lot of place for improvement: A selection is a PolygonMorph. Maybe a dedicated version should be done. Cheers Alain -- Best regards, Igor Stasenko. -- www.tudorgirba.com Problem solving should be focused on describing the problem in a way that makes the solution obvious.
Re: [Pharo-dev] Rubric screencast
Hi Alain! Impressive! Would it be possible to have an element of the text responsive to some interaction? For example, if in my text field I enter the value 100. Can I click on it (and remain the mouse button down) and move the mouse to increase or decrease this numerical value? Many systems promoting the idea of live programming use this technique to interact with their system. For example: https://vimeo.com/66085662 Cheers, Alexandre On May 31, 2013, at 2:54 PM, plantec alain.plan...@yahoo.com wrote: Hi all, It shows how one can use user defined selection and icons to manage text parts. http://vimeo.com/67400546 cheers Alain -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Re: [Pharo-dev] Rubric screencast
On 1 June 2013 01:25, Alexandre Bergel alexandre.ber...@me.com wrote: Hi Alain! Impressive! Very. But only feature-wise. Speed-wise is not. Is it related to recording? hoping that live version faster. Would it be possible to have an element of the text responsive to some interaction? For example, if in my text field I enter the value 100. Can I click on it (and remain the mouse button down) and move the mouse to increase or decrease this numerical value? Many systems promoting the idea of live programming use this technique to interact with their system. For example: https://vimeo.com/66085662 many? I never seen anything as flexible as in some old Squeak examples/demos (including etoys). ( Bret Victor ~~ many :) Cheers, Alexandre On May 31, 2013, at 2:54 PM, plantec alain.plan...@yahoo.com wrote: Hi all, It shows how one can use user defined selection and icons to manage text parts. http://vimeo.com/67400546 cheers Alain -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. -- Best regards, Igor Stasenko.