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 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 > wrote: > >> alex there is only one package on smalltalkhub/alainplantec >> >> >> >> On Jun 1, 2013, at 2:40 PM, Alexandre Bergel wrote: >> >>> Any script to load Rubric? >>> >>> Alexandre >>> >>> On 1 Jun 2013, at 02:13, plantec wrote: >>> On 1 juin 2013, at 01:48, Igor Stasenko wrote: > On 1 June 2013 01:25, Alexandre Bergel 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
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 wrote: > alex there is only one package on smalltalkhub/alainplantec > > > > On Jun 1, 2013, at 2:40 PM, Alexandre Bergel wrote: > >> Any script to load Rubric? >> >> Alexandre >> >> On 1 Jun 2013, at 02:13, plantec wrote: >> >>> >>> On 1 juin 2013, at 01:48, Igor Stasenko wrote: >>> On 1 June 2013 01:25, Alexandre Bergel 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
alex there is only one package on smalltalkhub/alainplantec On Jun 1, 2013, at 2:40 PM, Alexandre Bergel wrote: > Any script to load Rubric? > > Alexandre > > On 1 Jun 2013, at 02:13, plantec wrote: > >> >> On 1 juin 2013, at 01:48, Igor Stasenko wrote: >> >>> On 1 June 2013 01:25, Alexandre Bergel 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 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 wrote: > >> >> On 1 juin 2013, at 01:48, Igor Stasenko wrote: >> >>> On 1 June 2013 01:25, Alexandre Bergel 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
Any script to load Rubric? Alexandre On 1 Jun 2013, at 02:13, plantec wrote: > > On 1 juin 2013, at 01:48, Igor Stasenko wrote: > >> On 1 June 2013 01:25, Alexandre Bergel 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
Hi Denis, yes, the configuration is outdated, sorry :( But just load the Rubric package. It should work under 3.0, (just uncheck the deprecation warning dialog setting). regarding how the package is structured: - Rubric-Editing-Core contains the Text*Area classes which are forks from the old TextMorph related classes. So I guess a big part of this category is already outdated because of TxText. - Rubric-Editing-Widgets contains the PluggableTextMorph equivalent which is RubScrolledTextMorph. Side and over rulers (line numbers, icon manager, column drawer, bottom annotation pane, code size feed back, adornment, …) are implemented by the RubScrolledTextExtra hierarchy. You will tell us but I think that it should be possible to plug RubScrolledTextMorph with a TxMorph. Cheers Alain On 1 juin 2013, at 13:12, Denis Kudriashov wrote: > Hi. > > Do you have script to load Rubric? > I try few times to load it by configuration without success. > I want to compare Rubric with TxText. Maybe you already compare it? > Rubric examples are nice. But I always want to know how it works under hood > > Best regards, > Denis > > 2013/6/1 plantec > > On 1 juin 2013, at 10:26, plantec wrote: > > > > > On 1 juin 2013, at 01:25, Alexandre Bergel 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
Hi. Do you have script to load Rubric? I try few times to load it by configuration without success. I want to compare Rubric with TxText. Maybe you already compare it? Rubric examples are nice. But I always want to know how it works under hood Best regards, Denis 2013/6/1 plantec > > On 1 juin 2013, at 10:26, plantec wrote: > > > > > On 1 juin 2013, at 01:25, Alexandre Bergel > 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 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
On 1 juin 2013, at 10:26, plantec wrote: > > On 1 juin 2013, at 01:25, Alexandre Bergel 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:25, Alexandre Bergel 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 01:48, Igor Stasenko wrote: > On 1 June 2013 01:25, Alexandre Bergel 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 June 2013 01:25, Alexandre Bergel 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 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.
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 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 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.