Pharo-users
By thread
pharo-users@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
February 2015
- 83 participants
- 737 messages
Tide does not load via Workspace: #UHE >> FileDoesNotExist
by Nic
Hi,
I try to follow the following step by step:
.../Tide/tide-doc-master/documentation.pier.html
in step 1.3.1.
|Metacellonew
configuration:'Tide';
version:#development;
repository:'http://www.smalltalkhub.com/mc/Pharo/MetaRepoForPharo30/main';
load.
it starts loading until:
|
ZnClient new
url: url;
downloadTo: outputFileName.
url = 'https://github.com/tide-framework/tide/zipball/master'
outputFileName= '/tmp/github-tideframeworktidemaster.zip'
I get the following in the FileDoesNotExist in the method:
FileHandle>>streamError
reference exists
ifFalse: [FileDoesNotExist signalWith: reference].
self error: 'Unable to open file ' , reference printString
Please can you tell me what I miss .. my assumption was, that the output
file would be created during loading.
Regards,
Nic
System: Windows 7
Image: Pharo3.0 Latest update: #30862
Feb. 16, 2015
Re: [Pharo-users] Learning Spec
by Craig
Sven,
Thanks for this, I was unaware of the MultiColumnListModel. I notice that setting colors has no effect here either.
I remember from the video that overriding theme colors is still an issue in Spec, but I can move forward.
Craig
-----Original Message-----
From: Pharo-users [mailto:pharo-users-bounces@lists.pharo.org] On Behalf Of Sven Van Caekenberghe
Sent: 16 February 2015 12:30 AM
To: Any question about pharo is welcome
Subject: Re: [Pharo-users] Learning Spec
This is the easiest way that I know to show a simple table.
MultiColumnListModel new
items: #(('x coordinate' 'y coordinate' 'z coordinate')(1 2 3)(4 5 6)(7 8 9));
displayBlock: [ :x | x collect: #asString ];
setSelectedIndex: 2;
title: 'My table';
openWithSpec.
> On 15 Feb 2015, at 22:36, Craig <craig(a)hivemind.net> wrote:
>
> Hi Sven,
>
> I count myself as a beginner with Pharo, although I've been dabbling with Pharo UI choices for a few months now.
> Like Sebastian, I wrote Spec off as too immature for prime-time, but I
> too come from the commercial world, so maybe my expectations were unrealistic.
>
> So I took the time to learn Spec. My very first requirement is to display some data in a grid or table like manner, so I took a look at the TreeModel, and tried to adapt one of the examples to fit. However, whenever I try to add a third column to the model, I get a "Subscript Out of Bounds".
> I also tried to change the oddRowColor, but it had no effect.
>
> I hope that is specific enough for you.
>
> Craig
>
> -----Original Message-----
> From: Pharo-users [mailto:pharo-users-bounces@lists.pharo.org] On
> Behalf Of Sven Van Caekenberghe
> Sent: 13 February 2015 11:12 AM
> To: Any question about pharo is welcome
> Subject: [Pharo-users] Learning Spec
>
> Hi,
>
>
> From now on it is forbidden to complain about Spec in general, unspecific terms unless you have taken the time to learn about it. Here is a guide to documentation about Spec, most recent first.
>
>
> There is an excellent presentation by Johan Fabry did during the last Pharo Days, 'Using Spec to Build a UI'. *MUST WATCH* (the video is not yet fully public, but soon will be, the link should work though):
>
> http://youtu.be/OL23s9ZUIR0?list=PL4actYd6bfnz98ngrKALwwStl3C3odEKG
>
> The slides are also not yet available, but soon will be (the talk is much better that the slides on their own).
>
>
> This draft chapter 'Spec: a framework for describing user interfaces' for an upcoming book:
>
>
> https://ci.inria.fr/pharo-contribution/view/Books/job/PharoBookWorkInP
> rogress/lastSuccessfulBuild/artifact/Spec/Spec.pier.html
>
>
> Look in the image.
>
> Browse the hierarchy below AbstractWidgetModel in the category Spec-Core-Widgets in Pharo 4, look at the protocols called 'protocol' & 'protocol-events' mainly. Look for references to each class. Trace senders of methods until you arrive at examples. Study the examples, play with them, change them.
>
> The UI of most tools in Pharo is also implemented using Spec. Browse the hierarchy below ComposableModel to find them. (Komitter, Versionner, Critics, Metacello, the old Eye Inspectors, ..). Watch and learn.
>
>
> The cool Spec website:
>
> http://spec.st
>
>
> Read some cool articles like:
>
> https://medium.com/concerning-pharo/rediscovering-the-ux-of-the-legend
> ary-hp-35-scientific-pocket-calculator-d1d497ece999
>
> See the section 'HP35CalculatorModel' for the Spec part.
>
>
> The following papers (some older ones refer to API that has changed):
>
> 'Seamless Composition and Reuse of Customizable User Interfaces with Spec'
>
> http://rmod.lille.inria.fr/archives/papers/Ryse13a-SCICO-Spec.pdf
>
> 'Spec - A Framework for the Specification and Reuse of UIs and their Models'
>
>
> http://rmod.lille.inria.fr/archives/papers/Ryse12b-Spec-IWST12-Final.p
> df
>
> 'Spec â Technical Report'
>
>
> http://rmod.lille.inria.fr/archives/reports/Ryse12a-SpecTechReport.pdf
>
>
> Use the image to build a couple of simple UIs using Spec. You will be surprised to learn that it is not that difficult. Just go with the flow, don't try to enforce your world view on it, wait until you are further along.
>
>
> Have fun !
>
>
> Sven
>
>
> PS: Once you have done all the above, you are most welcome to help improve Spec by discussing specific, concrete issues.
>
>
> --
> Sven Van Caekenberghe
> Proudly supporting Pharo
> http://pharo.org
> http://association.pharo.org
> http://consortium.pharo.org
>
>
>
Feb. 16, 2015
Re: [Pharo-users] Learning Spec
by Craig
Nicolai,
This code works perfectly.
This is pretty-much exactly what I did. Except that I left the m openWithSpec message send where it was in the example, just before instantiating the columns. (see below)
The example clearly needs updating.
The way that you did it makes perfect sense, thank you.
Craig
From: Pharo-users [mailto:pharo-users-bounces@lists.pharo.org] On Behalf Of Nicolai Hess
Sent: 16 February 2015 01:03 AM
To: Any question about pharo is welcome
Subject: Re: [Pharo-users] Learning Spec
Another example, (modified TreeModel example)
|r m col1 col2 col3|
r := FileLocator vmDirectory.
m := TreeModel new.
m roots: r allFiles.
m rootNodeHolder: [ :item |
TreeNodeModel new
content: item;
icon: Smalltalk ui icons smallLeftFlushIcon
];
title: r fullName.
m openWithSpec.
col1 := TreeColumnModel new
displayBlock: [ :node | node content basename ];
headerLabel:'Name'.
col2 := TreeColumnModel new
displayBlock: [ :node | node content creationTime ];
headerLabel:'Time'.
col3 := TreeColumnModel new
displayBlock: [ :node | node content permissions];
headerLabel:'Permissions'.
m columns: {col1. col2 . col3}.
2015-02-15 23:30 GMT+01:00 Sven Van Caekenberghe <sven(a)stfx.eu>:
This is the easiest way that I know to show a simple table.
MultiColumnListModel new
items: #(('x coordinate' 'y coordinate' 'z coordinate')(1 2 3)(4 5 6)(7 8 9));
displayBlock: [ :x | x collect: #asString ];
setSelectedIndex: 2;
title: 'My table';
openWithSpec.
> On 15 Feb 2015, at 22:36, Craig <craig(a)hivemind.net> wrote:
>
> Hi Sven,
>
> I count myself as a beginner with Pharo, although I've been dabbling with Pharo UI choices for a few months now.
> Like Sebastian, I wrote Spec off as too immature for prime-time, but I too come from the commercial
> world, so maybe my expectations were unrealistic.
>
> So I took the time to learn Spec. My very first requirement is to display some data in a grid or table like manner, so I took a look at the TreeModel, and tried to adapt one of the examples to fit. However, whenever I try to add a third column to the model, I get a "Subscript Out of Bounds".
> I also tried to change the oddRowColor, but it had no effect.
>
> I hope that is specific enough for you.
>
> Craig
>
> -----Original Message-----
> From: Pharo-users [mailto:pharo-users-bounces@lists.pharo.org] On Behalf Of Sven Van Caekenberghe
> Sent: 13 February 2015 11:12 AM
> To: Any question about pharo is welcome
> Subject: [Pharo-users] Learning Spec
>
> Hi,
>
>
> From now on it is forbidden to complain about Spec in general, unspecific terms unless you have taken the time to learn about it. Here is a guide to documentation about Spec, most recent first.
>
>
> There is an excellent presentation by Johan Fabry did during the last Pharo Days, 'Using Spec to Build a UI'. *MUST WATCH* (the video is not yet fully public, but soon will be, the link should work though):
>
> http://youtu.be/OL23s9ZUIR0?list=PL4actYd6bfnz98ngrKALwwStl3C3odEKG
>
> The slides are also not yet available, but soon will be (the talk is much better that the slides on their own).
>
>
> This draft chapter 'Spec: a framework for describing user interfaces' for an upcoming book:
>
> https://ci.inria.fr/pharo-contribution/view/Books/job/PharoBookWorkInProgre…
>
>
> Look in the image.
>
> Browse the hierarchy below AbstractWidgetModel in the category Spec-Core-Widgets in Pharo 4, look at the protocols called 'protocol' & 'protocol-events' mainly. Look for references to each class. Trace senders of methods until you arrive at examples. Study the examples, play with them, change them.
>
> The UI of most tools in Pharo is also implemented using Spec. Browse the hierarchy below ComposableModel to find them. (Komitter, Versionner, Critics, Metacello, the old Eye Inspectors, ..). Watch and learn.
>
>
> The cool Spec website:
>
> http://spec.st
>
>
> Read some cool articles like:
>
> https://medium.com/concerning-pharo/rediscovering-the-ux-of-the-legendary-h…
>
> See the section 'HP35CalculatorModel' for the Spec part.
>
>
> The following papers (some older ones refer to API that has changed):
>
> 'Seamless Composition and Reuse of Customizable User Interfaces with Spec'
>
> http://rmod.lille.inria.fr/archives/papers/Ryse13a-SCICO-Spec.pdf
>
> 'Spec - A Framework for the Specification and Reuse of UIs and their Models'
>
> http://rmod.lille.inria.fr/archives/papers/Ryse12b-Spec-IWST12-Final.pdf
>
> 'Spec â Technical Report'
>
> http://rmod.lille.inria.fr/archives/reports/Ryse12a-SpecTechReport.pdf
>
>
> Use the image to build a couple of simple UIs using Spec. You will be surprised to learn that it is not that difficult. Just go with the flow, don't try to enforce your world view on it, wait until you are further along.
>
>
> Have fun !
>
>
> Sven
>
>
> PS: Once you have done all the above, you are most welcome to help improve Spec by discussing specific, concrete issues.
>
>
> --
> Sven Van Caekenberghe
> Proudly supporting Pharo
> http://pharo.org
> http://association.pharo.org
> http://consortium.pharo.org
>
>
>
Feb. 16, 2015
Re: [Pharo-users] Learning Spec
by Nicolai Hess
Another example, (modified TreeModel example)
|r m col1 col2 col3|
r := FileLocator vmDirectory.
m := TreeModel new.
m roots: r allFiles.
m rootNodeHolder: [ :item |
TreeNodeModel new
content: item;
icon: Smalltalk ui icons smallLeftFlushIcon
];
title: r fullName.
col1 := TreeColumnModel new
displayBlock: [ :node | node content basename ];
headerLabel:'Name'.
col2 := TreeColumnModel new
displayBlock: [ :node | node content creationTime ];
headerLabel:'Time'.
col3 := TreeColumnModel new
displayBlock: [ :node | node content permissions];
headerLabel:'Permissions'.
m columns: {col1. col2 . col3}.
m openWithSpec.
2015-02-15 23:30 GMT+01:00 Sven Van Caekenberghe <sven(a)stfx.eu>:
> This is the easiest way that I know to show a simple table.
>
> MultiColumnListModel new
> items: #(('x coordinate' 'y coordinate' 'z coordinate')(1 2 3)(4 5 6)(7
> 8 9));
> displayBlock: [ :x | x collect: #asString ];
> setSelectedIndex: 2;
> title: 'My table';
> openWithSpec.
>
> > On 15 Feb 2015, at 22:36, Craig <craig(a)hivemind.net> wrote:
> >
> > Hi Sven,
> >
> > I count myself as a beginner with Pharo, although I've been dabbling
> with Pharo UI choices for a few months now.
> > Like Sebastian, I wrote Spec off as too immature for prime-time, but I
> too come from the commercial
> > world, so maybe my expectations were unrealistic.
> >
> > So I took the time to learn Spec. My very first requirement is to
> display some data in a grid or table like manner, so I took a look at the
> TreeModel, and tried to adapt one of the examples to fit. However,
> whenever I try to add a third column to the model, I get a "Subscript Out
> of Bounds".
> > I also tried to change the oddRowColor, but it had no effect.
> >
> > I hope that is specific enough for you.
> >
> > Craig
> >
> > -----Original Message-----
> > From: Pharo-users [mailto:pharo-users-bounces@lists.pharo.org] On
> Behalf Of Sven Van Caekenberghe
> > Sent: 13 February 2015 11:12 AM
> > To: Any question about pharo is welcome
> > Subject: [Pharo-users] Learning Spec
> >
> > Hi,
> >
> >
> > From now on it is forbidden to complain about Spec in general,
> unspecific terms unless you have taken the time to learn about it. Here is
> a guide to documentation about Spec, most recent first.
> >
> >
> > There is an excellent presentation by Johan Fabry did during the last
> Pharo Days, 'Using Spec to Build a UI'. *MUST WATCH* (the video is not yet
> fully public, but soon will be, the link should work though):
> >
> > http://youtu.be/OL23s9ZUIR0?list=PL4actYd6bfnz98ngrKALwwStl3C3odEKG
> >
> > The slides are also not yet available, but soon will be (the talk is
> much better that the slides on their own).
> >
> >
> > This draft chapter 'Spec: a framework for describing user interfaces'
> for an upcoming book:
> >
> >
> https://ci.inria.fr/pharo-contribution/view/Books/job/PharoBookWorkInProgre…
> >
> >
> > Look in the image.
> >
> > Browse the hierarchy below AbstractWidgetModel in the category
> Spec-Core-Widgets in Pharo 4, look at the protocols called 'protocol' &
> 'protocol-events' mainly. Look for references to each class. Trace senders
> of methods until you arrive at examples. Study the examples, play with
> them, change them.
> >
> > The UI of most tools in Pharo is also implemented using Spec. Browse the
> hierarchy below ComposableModel to find them. (Komitter, Versionner,
> Critics, Metacello, the old Eye Inspectors, ..). Watch and learn.
> >
> >
> > The cool Spec website:
> >
> > http://spec.st
> >
> >
> > Read some cool articles like:
> >
> >
> https://medium.com/concerning-pharo/rediscovering-the-ux-of-the-legendary-h…
> >
> > See the section 'HP35CalculatorModel' for the Spec part.
> >
> >
> > The following papers (some older ones refer to API that has changed):
> >
> > 'Seamless Composition and Reuse of Customizable User Interfaces with
> Spec'
> >
> > http://rmod.lille.inria.fr/archives/papers/Ryse13a-SCICO-Spec.pdf
> >
> > 'Spec - A Framework for the Specification and Reuse of UIs and their
> Models'
> >
> >
> http://rmod.lille.inria.fr/archives/papers/Ryse12b-Spec-IWST12-Final.pdf
> >
> > 'Spec â Technical Report'
> >
> > http://rmod.lille.inria.fr/archives/reports/Ryse12a-SpecTechReport.pdf
> >
> >
> > Use the image to build a couple of simple UIs using Spec. You will be
> surprised to learn that it is not that difficult. Just go with the flow,
> don't try to enforce your world view on it, wait until you are further
> along.
> >
> >
> > Have fun !
> >
> >
> > Sven
> >
> >
> > PS: Once you have done all the above, you are most welcome to help
> improve Spec by discussing specific, concrete issues.
> >
> >
> > --
> > Sven Van Caekenberghe
> > Proudly supporting Pharo
> > http://pharo.org
> > http://association.pharo.org
> > http://consortium.pharo.org
> >
> >
> >
>
>
>
Feb. 15, 2015
Re: [Pharo-users] Learning Spec
by Sven Van Caekenberghe
This is the easiest way that I know to show a simple table.
MultiColumnListModel new
items: #(('x coordinate' 'y coordinate' 'z coordinate')(1 2 3)(4 5 6)(7 8 9));
displayBlock: [ :x | x collect: #asString ];
setSelectedIndex: 2;
title: 'My table';
openWithSpec.
> On 15 Feb 2015, at 22:36, Craig <craig(a)hivemind.net> wrote:
>
> Hi Sven,
>
> I count myself as a beginner with Pharo, although I've been dabbling with Pharo UI choices for a few months now.
> Like Sebastian, I wrote Spec off as too immature for prime-time, but I too come from the commercial
> world, so maybe my expectations were unrealistic.
>
> So I took the time to learn Spec. My very first requirement is to display some data in a grid or table like manner, so I took a look at the TreeModel, and tried to adapt one of the examples to fit. However, whenever I try to add a third column to the model, I get a "Subscript Out of Bounds".
> I also tried to change the oddRowColor, but it had no effect.
>
> I hope that is specific enough for you.
>
> Craig
>
> -----Original Message-----
> From: Pharo-users [mailto:pharo-users-bounces@lists.pharo.org] On Behalf Of Sven Van Caekenberghe
> Sent: 13 February 2015 11:12 AM
> To: Any question about pharo is welcome
> Subject: [Pharo-users] Learning Spec
>
> Hi,
>
>
> From now on it is forbidden to complain about Spec in general, unspecific terms unless you have taken the time to learn about it. Here is a guide to documentation about Spec, most recent first.
>
>
> There is an excellent presentation by Johan Fabry did during the last Pharo Days, 'Using Spec to Build a UI'. *MUST WATCH* (the video is not yet fully public, but soon will be, the link should work though):
>
> http://youtu.be/OL23s9ZUIR0?list=PL4actYd6bfnz98ngrKALwwStl3C3odEKG
>
> The slides are also not yet available, but soon will be (the talk is much better that the slides on their own).
>
>
> This draft chapter 'Spec: a framework for describing user interfaces' for an upcoming book:
>
> https://ci.inria.fr/pharo-contribution/view/Books/job/PharoBookWorkInProgre…
>
>
> Look in the image.
>
> Browse the hierarchy below AbstractWidgetModel in the category Spec-Core-Widgets in Pharo 4, look at the protocols called 'protocol' & 'protocol-events' mainly. Look for references to each class. Trace senders of methods until you arrive at examples. Study the examples, play with them, change them.
>
> The UI of most tools in Pharo is also implemented using Spec. Browse the hierarchy below ComposableModel to find them. (Komitter, Versionner, Critics, Metacello, the old Eye Inspectors, ..). Watch and learn.
>
>
> The cool Spec website:
>
> http://spec.st
>
>
> Read some cool articles like:
>
> https://medium.com/concerning-pharo/rediscovering-the-ux-of-the-legendary-h…
>
> See the section 'HP35CalculatorModel' for the Spec part.
>
>
> The following papers (some older ones refer to API that has changed):
>
> 'Seamless Composition and Reuse of Customizable User Interfaces with Spec'
>
> http://rmod.lille.inria.fr/archives/papers/Ryse13a-SCICO-Spec.pdf
>
> 'Spec - A Framework for the Specification and Reuse of UIs and their Models'
>
> http://rmod.lille.inria.fr/archives/papers/Ryse12b-Spec-IWST12-Final.pdf
>
> 'Spec â Technical Report'
>
> http://rmod.lille.inria.fr/archives/reports/Ryse12a-SpecTechReport.pdf
>
>
> Use the image to build a couple of simple UIs using Spec. You will be surprised to learn that it is not that difficult. Just go with the flow, don't try to enforce your world view on it, wait until you are further along.
>
>
> Have fun !
>
>
> Sven
>
>
> PS: Once you have done all the above, you are most welcome to help improve Spec by discussing specific, concrete issues.
>
>
> --
> Sven Van Caekenberghe
> Proudly supporting Pharo
> http://pharo.org
> http://association.pharo.org
> http://consortium.pharo.org
>
>
>
Feb. 15, 2015
Re: [Pharo-users] Learning Spec
by Ben Coman
Thanks Craig. Can you fileout a minimal code script to reproduce these
errors in a fresh image? Either post here or even better, open an issue at
https://pharo.fogbugz.com with the fileout attached at paste the link to
the issue here.
cheers -ben
On Mon, Feb 16, 2015 at 5:36 AM, Craig <craig(a)hivemind.net> wrote:
> Hi Sven,
>
> I count myself as a beginner with Pharo, although I've been dabbling with
> Pharo UI choices for a few months now.
> Like Sebastian, I wrote Spec off as too immature for prime-time, but I too
> come from the commercial
> world, so maybe my expectations were unrealistic.
>
> So I took the time to learn Spec. My very first requirement is to display
> some data in a grid or table like manner, so I took a look at the
> TreeModel, and tried to adapt one of the examples to fit. However,
> whenever I try to add a third column to the model, I get a "Subscript Out
> of Bounds".
> I also tried to change the oddRowColor, but it had no effect.
>
> I hope that is specific enough for you.
>
> Craig
>
> -----Original Message-----
> From: Pharo-users [mailto:pharo-users-bounces@lists.pharo.org] On Behalf
> Of Sven Van Caekenberghe
> Sent: 13 February 2015 11:12 AM
> To: Any question about pharo is welcome
> Subject: [Pharo-users] Learning Spec
>
> Hi,
>
>
> From now on it is forbidden to complain about Spec in general, unspecific
> terms unless you have taken the time to learn about it. Here is a guide to
> documentation about Spec, most recent first.
>
>
> There is an excellent presentation by Johan Fabry did during the last
> Pharo Days, 'Using Spec to Build a UI'. *MUST WATCH* (the video is not yet
> fully public, but soon will be, the link should work though):
>
> http://youtu.be/OL23s9ZUIR0?list=PL4actYd6bfnz98ngrKALwwStl3C3odEKG
>
> The slides are also not yet available, but soon will be (the talk is much
> better that the slides on their own).
>
>
> This draft chapter 'Spec: a framework for describing user interfaces' for
> an upcoming book:
>
>
> https://ci.inria.fr/pharo-contribution/view/Books/job/PharoBookWorkInProgre…
>
>
> Look in the image.
>
> Browse the hierarchy below AbstractWidgetModel in the category
> Spec-Core-Widgets in Pharo 4, look at the protocols called 'protocol' &
> 'protocol-events' mainly. Look for references to each class. Trace senders
> of methods until you arrive at examples. Study the examples, play with
> them, change them.
>
> The UI of most tools in Pharo is also implemented using Spec. Browse the
> hierarchy below ComposableModel to find them. (Komitter, Versionner,
> Critics, Metacello, the old Eye Inspectors, ..). Watch and learn.
>
>
> The cool Spec website:
>
> http://spec.st
>
>
> Read some cool articles like:
>
>
> https://medium.com/concerning-pharo/rediscovering-the-ux-of-the-legendary-h…
>
> See the section 'HP35CalculatorModel' for the Spec part.
>
>
> The following papers (some older ones refer to API that has changed):
>
> 'Seamless Composition and Reuse of Customizable User Interfaces with Spec'
>
> http://rmod.lille.inria.fr/archives/papers/Ryse13a-SCICO-Spec.pdf
>
> 'Spec - A Framework for the Specification and Reuse of UIs and their
> Models'
>
> http://rmod.lille.inria.fr/archives/papers/Ryse12b-Spec-IWST12-Final.pdf
>
> 'Spec â Technical Report'
>
> http://rmod.lille.inria.fr/archives/reports/Ryse12a-SpecTechReport.pdf
>
>
> Use the image to build a couple of simple UIs using Spec. You will be
> surprised to learn that it is not that difficult. Just go with the flow,
> don't try to enforce your world view on it, wait until you are further
> along.
>
>
> Have fun !
>
>
> Sven
>
>
> PS: Once you have done all the above, you are most welcome to help improve
> Spec by discussing specific, concrete issues.
>
>
> --
> Sven Van Caekenberghe
> Proudly supporting Pharo
> http://pharo.org
> http://association.pharo.org
> http://consortium.pharo.org
>
>
>
>
Feb. 15, 2015
Re: [Pharo-users] Learning Spec
by Craig
Hi Sven,
I count myself as a beginner with Pharo, although I've been dabbling with Pharo UI choices for a few months now.
Like Sebastian, I wrote Spec off as too immature for prime-time, but I too come from the commercial
world, so maybe my expectations were unrealistic.
So I took the time to learn Spec. My very first requirement is to display some data in a grid or table like manner, so I took a look at the TreeModel, and tried to adapt one of the examples to fit. However, whenever I try to add a third column to the model, I get a "Subscript Out of Bounds".
I also tried to change the oddRowColor, but it had no effect.
I hope that is specific enough for you.
Craig
-----Original Message-----
From: Pharo-users [mailto:pharo-users-bounces@lists.pharo.org] On Behalf Of Sven Van Caekenberghe
Sent: 13 February 2015 11:12 AM
To: Any question about pharo is welcome
Subject: [Pharo-users] Learning Spec
Hi,
>From now on it is forbidden to complain about Spec in general, unspecific terms unless you have taken the time to learn about it. Here is a guide to documentation about Spec, most recent first.
There is an excellent presentation by Johan Fabry did during the last Pharo Days, 'Using Spec to Build a UI'. *MUST WATCH* (the video is not yet fully public, but soon will be, the link should work though):
http://youtu.be/OL23s9ZUIR0?list=PL4actYd6bfnz98ngrKALwwStl3C3odEKG
The slides are also not yet available, but soon will be (the talk is much better that the slides on their own).
This draft chapter 'Spec: a framework for describing user interfaces' for an upcoming book:
https://ci.inria.fr/pharo-contribution/view/Books/job/PharoBookWorkInProgre…
Look in the image.
Browse the hierarchy below AbstractWidgetModel in the category Spec-Core-Widgets in Pharo 4, look at the protocols called 'protocol' & 'protocol-events' mainly. Look for references to each class. Trace senders of methods until you arrive at examples. Study the examples, play with them, change them.
The UI of most tools in Pharo is also implemented using Spec. Browse the hierarchy below ComposableModel to find them. (Komitter, Versionner, Critics, Metacello, the old Eye Inspectors, ..). Watch and learn.
The cool Spec website:
http://spec.st
Read some cool articles like:
https://medium.com/concerning-pharo/rediscovering-the-ux-of-the-legendary-h…
See the section 'HP35CalculatorModel' for the Spec part.
The following papers (some older ones refer to API that has changed):
'Seamless Composition and Reuse of Customizable User Interfaces with Spec'
http://rmod.lille.inria.fr/archives/papers/Ryse13a-SCICO-Spec.pdf
'Spec - A Framework for the Specification and Reuse of UIs and their Models'
http://rmod.lille.inria.fr/archives/papers/Ryse12b-Spec-IWST12-Final.pdf
'Spec â Technical Report'
http://rmod.lille.inria.fr/archives/reports/Ryse12a-SpecTechReport.pdf
Use the image to build a couple of simple UIs using Spec. You will be surprised to learn that it is not that difficult. Just go with the flow, don't try to enforce your world view on it, wait until you are further along.
Have fun !
Sven
PS: Once you have done all the above, you are most welcome to help improve Spec by discussing specific, concrete issues.
--
Sven Van Caekenberghe
Proudly supporting Pharo
http://pharo.org
http://association.pharo.org
http://consortium.pharo.org
Feb. 15, 2015
Re: [Pharo-users] GSOC 2015 Call for Ideas
by Sebastian Sastre
Great!
Forked repo, starred and PR sent:
https://github.com/pharo-project/pharo-project-proposals/pull/1 <https://github.com/pharo-project/pharo-project-proposals/pull/1>
keep up the good work!
> On Feb 15, 2015, at 12:23 PM, Serge Stinckwich <serge.stinckwich(a)gmail.com> wrote:
>
> Dear pharoers,
>
> this year Pharo consortium (and community) is going to take part in a
> Google Summer of Code event[1] as a standalone organization. This is
> an opportunity to promote Pharo, get some job done and have students
> paid.
>
> Currently we are at the most important stage as we are preparing the
> organization application, and hoping that we will be accepted and
> granted decent amount of project slots. Everyone can help with
> application by submitting ideas for student projects.
>
> Current list can be found at:
> https://github.com/pharo-project/pharo-project-proposals/blob/master/Topics…
>
> It is in STON format, and result is being generated at: http://gsoc.pharo.org/
>
> Please add your ideas following the format of existing projects and
> open a pull request with them (you will need a github account).
> Preferably submit ideas with possible mentors, but if none are
> available at the moment ideas without mentors are also welcome.
>
> The template to submit projects is :
>
> PharoTopic new
> title: 'The name of your project;
> contact: 'email address';
> supervisors: 'Supervisors names';
> keywords: 'keywords separated by spaces;
> context: 'a description of the context of the project';
> goal: 'description of the goal';
> level: 'Beginner or Intermediate or Advanced';
> yourself.
>
> We will need a lot of projects/idea before February 20th 2015, the
> deadline for applying to GSOC 2015.
>
> Do not hesitate to ask questions. Administrators of this yearâs
> application are Serge Stinckwich <serge.stinckwich(a)gmail.com> and
> Yuriy Tymchuk <yuriy.tymchuk(a)me.com>
>
> If you don't know how to edit the list, please send your project
> following the template to the administrators.
>
> [1]: https://www.google-melange.com/gsoc/homepage/google/gsoc2015
>
> Cheers,
> --
> Serge Stinckwich
> UCBN & UMI UMMISCO 209 (IRD/UPMC)
> Every DSL ends up being Smalltalk
> http://www.doesnotunderstand.org/
>
Feb. 15, 2015
GSOC 2015 Call for Ideas
by Serge Stinckwich
Dear pharoers,
this year Pharo consortium (and community) is going to take part in a
Google Summer of Code event[1] as a standalone organization. This is
an opportunity to promote Pharo, get some job done and have students
paid.
Currently we are at the most important stage as we are preparing the
organization application, and hoping that we will be accepted and
granted decent amount of project slots. Everyone can help with
application by submitting ideas for student projects.
Current list can be found at:
https://github.com/pharo-project/pharo-project-proposals/blob/master/Topics…
It is in STON format, and result is being generated at: http://gsoc.pharo.org/
Please add your ideas following the format of existing projects and
open a pull request with them (you will need a github account).
Preferably submit ideas with possible mentors, but if none are
available at the moment ideas without mentors are also welcome.
The template to submit projects is :
PharoTopic new
title: 'The name of your project;
contact: 'email address';
supervisors: 'Supervisors names';
keywords: 'keywords separated by spaces;
context: 'a description of the context of the project';
goal: 'description of the goal';
level: 'Beginner or Intermediate or Advanced';
yourself.
We will need a lot of projects/idea before February 20th 2015, the
deadline for applying to GSOC 2015.
Do not hesitate to ask questions. Administrators of this yearâs
application are Serge Stinckwich <serge.stinckwich(a)gmail.com> and
Yuriy Tymchuk <yuriy.tymchuk(a)me.com>
If you don't know how to edit the list, please send your project
following the template to the administrators.
[1]: https://www.google-melange.com/gsoc/homepage/google/gsoc2015
Cheers,
--
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/
Feb. 15, 2015
Re: [Pharo-users] On GUI design and how to benchmark it
by Thierry Goubier
Hi Sebastian,
a guy which starts by saying that no GUI toolkit of significance were
written in FP, and forget to link or cite Garnet (by B. Myers) (Common
Lisp) is, how to say, intriguing.
Doesn't bode well for the well researched :(
Thierry
Le 15/02/2015 14:08, Sebastian Sastre a écrit :
> Hi guys,
>
> I saw the interest in GUI lately and today I come across this really
> well researched master thesis paper that can put some light on how good
> we can perform in the GUI spectrum in terms of practicality,
> expressivity and productivity
>
> Introduction
>
> Even though OOP was born with the SIMULA programming language in the
> 1960s [15], it was Smalltalk that coupled GUI development with the OOP
> paradigm [25]. Smalltalkâs inventor Alan Kay was inspired by SIMULA,
> among other influences, to create a new language for graphics-oriented
> applications leveraging the OOP paradigm â and the rest is history [24].
> Ever since Smalltalk successfully showed the promise of OOP for GUI
> development a great deal of subsequent OOP languages and, particularly,
> object-oriented GUI toolkits came into existence and eventually into the
> mainstream. Nearly all mainstream programming languages today directly
> support the OOP paradigm and there is hardly any widely used GUI toolkit
> that does not use OOP. Various popular examples of toolkits like Cocoa,
> WinForms, Qt, wxWidgets, Tk, Swing and GTK+1 all seem to validate the
> notion of OOP and GUI development being a good fit.
>
> continues: http://www.eugenkiss.com/projects/thesis.pdf
>
> And it seems it triggered this movement of people that are open to
> receive implementations of the seven dimensions of this benchmark in his
> repo:
>
> https://github.com/eugenkiss/7guis/wiki
>
> I beleive Pharo can score nicely there and if would be a Pharo
> implementation there a whole new audience (that we probably aren't
> reaching now) might take a serious try
>
> from mobile
>
>
Feb. 15, 2015