Re: [Pharo-users] Learning Spec

2015-02-18 Thread blake
> > From now on it is forbidden to complain about Spec in general, unspecific > terms As a rule, complaining about ANYTHING in general, unspecific terms is pretty useless, whether you've learned about it or not. =) (Not that most of us don't do that from time-to-time. But it's a bad habit.)

Re: [Pharo-users] Learning Spec

2015-02-15 Thread Craig
-users-boun...@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 coordinat

Re: [Pharo-users] Learning Spec

2015-02-15 Thread Craig
sense, thank you. Craig From: Pharo-users [mailto:pharo-users-boun...@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

Re: [Pharo-users] Learning Spec

2015-02-15 Thread 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 ];

Re: [Pharo-users] Learning Spec

2015-02-15 Thread 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

Re: [Pharo-users] Learning Spec

2015-02-15 Thread 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 wrote: >

Re: [Pharo-users] Learning Spec

2015-02-15 Thread 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 l

Re: [Pharo-users] Learning Spec

2015-02-14 Thread Sebastian Heidbrink
I ment both blue parts Sebastian Am 14.02.2015 um 01:56 schrieb Peter Uhnák: So Spec is the Blue stuff and the HP35 example is including the orange part. Just the light blue, no? I thought the dark blue (VIew) is Morpic. Peter

Re: [Pharo-users] Learning Spec

2015-02-14 Thread Peter Uhnák
> > So Spec is the Blue stuff and the HP35 example is including the orange > part. > Just the light blue, no? I thought the dark blue (VIew) is Morpic. Peter

Re: [Pharo-users] Learning Spec

2015-02-13 Thread Sebastian Heidbrink
Thank for clarifiying this. The the interpreter would be the arrow from the ViewModel (ComposableModel) to the Model... So Spec is the Blue stuff and the HP35 example is including the orange part. Is there already a framework available or somebody working on it to have a more detailed Mode

Re: [Pharo-users] Learning Spec

2015-02-13 Thread Johan Fabry
As I say in my talk, there are a bunch of completely working examples already in the image. Please have a look at the subclasses of ComposableModel I think that there should be enough examples there to help you understand how a full application is built. > On Feb 13, 2015, at 18:49, Sebastian

Re: [Pharo-users] Learning Spec

2015-02-13 Thread Johan Fabry
To clarify: in my talk when I mention the interpreter, this has nothing to do with Spec. This is something specific to the example (= a complete IDE for a programming language for robots … with its interpreter), so I did not want to talk about because in the end it has no relevance to the story

Re: [Pharo-users] Learning Spec

2015-02-13 Thread Sebastian Heidbrink
Hi Sven, I am still a little confused about the terminologies so please give one last kick into the right direction. I have loaded the Calculator and try to map thingssaid to the implementation. Am 13.02.2015 um 11:04 schrieb Sven Van Caekenberghe: In the talk at 15:35 min Johan mentions t

Re: [Pharo-users] Learning Spec

2015-02-13 Thread Sven Van Caekenberghe
> On 13 Feb 2015, at 18:49, Sebastian Heidbrink wrote: > > Hallo Sven, > > thank you for the video link, google linked me to a video from 2013 that was > not recorded in a way that once could follwo the presentation. > This one is super. > > Well, I think I am slowly getting there and I can m

Re: [Pharo-users] Learning Spec

2015-02-13 Thread Sven Van Caekenberghe
> On 13 Feb 2015, at 19:06, Sebastian Heidbrink wrote: > > By the way, this is why I am pushing so hard. > > https://makerspacenanaimo.org/software-smalltalk-night/ > > Sebastian Cool. > Am 13.02.2015 um 09:49 schrieb Sebastian Heidbrink: >> Hallo Sven, >> >> thank you for the video lin

Re: [Pharo-users] Learning Spec

2015-02-13 Thread Sebastian Heidbrink
By the way, this is why I am pushing so hard. https://makerspacenanaimo.org/software-smalltalk-night/ Sebastian Am 13.02.2015 um 09:49 schrieb Sebastian Heidbrink: Hallo Sven, thank you for the video link, google linked me to a video from 2013 that was not recorded in a way that once c

Re: [Pharo-users] Learning Spec

2015-02-13 Thread Sebastian Heidbrink
Hallo Sven, thank you for the video link, google linked me to a video from 2013 that was not recorded in a way that once could follwo the presentation. This one is super. Well, I think I am slowly getting there and I can more and more provide you with the uneccessary barries of Spec that I en

Re: [Pharo-users] Learning Spec

2015-02-13 Thread Johan Fabry
Excellent mails, Sven. Thanks a lot for joining all the info in one place! > On Feb 13, 2015, at 10:12, Sven Van Caekenberghe wrote: > > 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 gui

Re: [Pharo-users] Learning Spec

2015-02-13 Thread Sven Van Caekenberghe
Two more: 'Building a Simple Calculator with Spec' https://ci.inria.fr/pharo-contribution/view/Books/job/PharoReadyForReviews/lastSuccessfulBuild/artifact/CalculatorTutorial/CalculatorTutorial.pier.html 'Dynamic Spec: Parties, a dynamic example' https://ci.inria.fr/pharo-contribution/view/Bo