Re: [Pharo-users] Spotter vs Spotlight was: [Re: Cleaning code completition's namespace]

2015-02-13 Thread Laura Risani
Hi, There was a mistake in the algorithm as the matching was case sensitive >>> which is not useful in our case. So, try this: >>> >> spotterSelectorsFor: aStep > (...) > Works perfect. So additions i would like to see built by default >> Cmd+w to close on GTSpotter and GTPlayground. >> > > Thi

Re: [Pharo-users] [ANN] PUnQLite NoSQL database project updated

2015-02-13 Thread Pierce Ng
On Fri, Feb 13, 2015 at 06:07:07PM +0100, Stephan Eggermont wrote: > What should be done to make this work on OS X? > UnQLiteFFI>>libraryFileNameForPlatform > has a wrong name, but that doesn't help me. > Even after renaming the library cannot be found. Smalltalk side, version 12/23/2013 by Masash

[Pharo-users] spec column/ row layout

2015-02-13 Thread Sebastian Heidbrink
 What is wrong with this spec? Why is the checkbox attached to the buttom? I would have expected it to be directly underneath the password label. Is this default behavior and how can I prevent this? defaultSpec         ^SpecLayout composed   newColumn: [ :col |     col   newRow:

Re: [Pharo-users] Tagging packages

2015-02-13 Thread Laura Risani
Ok, forget it, i've just noticed "Groups"... On Fri, Feb 13, 2015 at 8:04 PM, Laura Risani wrote: > Hi all, > > What method do you use to organize/tag your packages so you can then > easily retrieve those sharing a same tag? Is there any functionality > intended for it? > > I've been trying the

Re: [Pharo-users] Writing a Login Dialog using Spec in 3 methods

2015-02-13 Thread Sean P. DeNigris
Sven Van Caekenberghe-2 wrote > Spec is not perfect, its main 'issue' is that the UI elements are called > models I appreciate the ability to easily create standard vanilla business UIs... which we did not have in the not-too-distant-past. And I'm not too worried because everything's a work in pro

[Pharo-users] Tagging packages

2015-02-13 Thread Laura Risani
Hi all, What method do you use to organize/tag your packages so you can then easily retrieve those sharing a same tag? Is there any functionality intended for it? I've been trying the following ones (ordered by increasing satisfaction): prefixing, flagging, sharing repository, pragma. But i feel

Re: [Pharo-users] Additional easy persistence: try DebrisDB for Fuel-backed Glorp interface

2015-02-13 Thread Cameron Sanders via Pharo-users
--- Begin Message --- One note about the tests of *FaDemoContactsTests*: previously i thought the tests of TestCase were run in alphabetical order. So three of tests may fail if they run before #test1AddingItemsToDB has run. On subsequent runs, the tests should all go green. -cam On Fri, Feb 13,

Re: [Pharo-users] Additional easy persistence: try DebrisDB for Fuel-backed Glorp interface

2015-02-13 Thread Cameron Sanders via Pharo-users
--- Begin Message --- Stephan, First let me say, if i can figure out the proper markdown to get color-coded inset-code looking right, i would gladly improve the DebrisDB description with more simple examples. Additionally, i am happy to answer questions in email. I will also consider a few video t

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] Spec terminology: renaming some terms.

2015-02-13 Thread Johan Fabry
> On Feb 13, 2015, at 19:44, Sven Van Caekenberghe wrote: > > >> On 13 Feb 2015, at 18:47, Esteban Lorenzano wrote: >> >> >>> On 13 Feb 2015, at 18:29, Johan Fabry wrote: >>> >>> >>> If we think about renaming things in Spec, actually I’d rename: >>> - ComposableModel to ComposableUI >>>

Re: [Pharo-users] Additional easy persistence: try DebrisDB for Fuel-backed Glorp interface

2015-02-13 Thread Cameron Sanders via Pharo-users
--- Begin Message --- i'll be glad too. Let me check in an update with such an example. On Fri, Feb 13, 2015 at 11:29 AM, Stephan Eggermont wrote: > Hi Cam > > Interesting. The brain-dead-sample is a bit difficult to get started with. > Would you care to talk a bit more about how to do something

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] Spec terminology: renaming some terms.

2015-02-13 Thread Sven Van Caekenberghe
> On 13 Feb 2015, at 18:47, Esteban Lorenzano wrote: > > >> On 13 Feb 2015, at 18:29, Johan Fabry wrote: >> >> >> If we think about renaming things in Spec, actually I’d rename: >> - ComposableModel to ComposableUI >> - all the protocols ‘protocol-*’ to ‘API-*’ > > +100 > I’m super tired of

[Pharo-users] libssl on fedora to new for pharo-vm

2015-02-13 Thread Martin Bähr
hi, i just discovered that i can't make https requests in pharo because pharo-vm tries to link against libssl.1.0.0, but recent fedora versions have libssl.so.1.0.1e at least since fedora 18 i did discover that the centos version on http://files.pharo.org/vm/pharo/linux/centos/ works however. i

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] Spec terminology: renaming some terms.

2015-02-13 Thread Esteban Lorenzano
> On 13 Feb 2015, at 18:29, Johan Fabry wrote: > > > If we think about renaming things in Spec, actually I’d rename: > - ComposableModel to ComposableUI > - all the protocols ‘protocol-*’ to ‘API-*’ +100 I’m super tired of “protocol” category (it is actually a protocol… as any other category

[Pharo-users] Spec terminology: renaming some terms.

2015-02-13 Thread Johan Fabry
If we think about renaming things in Spec, actually I’d rename: - ComposableModel to ComposableUI - all the protocols ‘protocol-*’ to ‘API-*' > On Feb 13, 2015, at 14:58, Ben Coman wrote: > > So should we really rename ComposableModel to ComposableUIModel ? (And > before Spec becomes more wi

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] [ANN] PUnQLite NoSQL database project updated

2015-02-13 Thread Stephan Eggermont
What should be done to make this work on OS X? UnQLiteFFI>>libraryFileNameForPlatform has a wrong name, but that doesn't help me. Even after renaming the library cannot be found. Stephan

Re: [Pharo-users] Additional easy persistence: try DebrisDB for Fuel-backed Glorp interface

2015-02-13 Thread Stephan Eggermont
Hi Cam Interesting. The brain-dead-sample is a bit difficult to get started with. Would you care to talk a bit more about how to do something simple with it? An addressbook, with people having addresses and phone numbers might be an easy to use example. Cheers, Stephan

Re: [Pharo-users] Writing a Login Dialog using Spec in 3 methods

2015-02-13 Thread Ben Coman
On Fri, Feb 13, 2015 at 4:18 PM, Sven Van Caekenberghe wrote: > > > Spec is not perfect, its main 'issue' is that the UI elements are called > models, which confuses the hell out of people (me too in the beginning). > But it does make sense, you model the UI (haha). > > I find the same. So shoul

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

Re: [Pharo-users] Seaside jQuery - Sorting a list with drag and drop and sending it back via Ajax causes OrderedCollection to turn into an Array?

2015-02-13 Thread Stephan Eggermont
To see a working example of this, take a look at StoryBoard Download the 30 image from https://ci.inria.fr/pharo-contribution/job/StoryBoard/ Start it, open the seaside control panel and start a ZnZincServerAdaptor on port 8080. Open a web browser on http://localhost:8080/story, register yourself

Re: [Pharo-users] Writing a Login Dialog using Spec in 3 methods

2015-02-13 Thread Sven Van Caekenberghe
Hi Stephan, You are 100% right: I had similar code in there during my hacking but I decided to take it out to simplify things. A couple of important semantic constants are indeed missing. But it is not just that, IMHO, the LoginModel should say 'I am 2 fields heigh', the wrapping in the Dialog

[Pharo-users] session three: a static webapplication on moose (is: smalltalk workshops (building a webserver) after code-in)

2015-02-13 Thread Martin Bähr
(it probably helps to include a link :-) Excerpts from Martin Bähr's message of 2015-02-03 06:48:19 +0100: > > you can read more about the workshop and find the screencast here: > > http://societyserver.org/mbaehr/training/Using-the-FileSystem-class-in-Pharo-Smalltalk > part two is here: > http://

[Pharo-users] session three: a static webapplication on moose (is: smalltalk workshops (building a webserver) after code-in)

2015-02-13 Thread Martin Bähr
Excerpts from Martin Bähr's message of 2015-02-03 06:48:19 +0100: > > you can read more about the workshop and find the screencast here: > > http://societyserver.org/mbaehr/training/Using-the-FileSystem-class-in-Pharo-Smalltalk > part two is here: > http://societyserver.org/mbaehr/training/Serving-

Re: [Pharo-users] Writing a Login Dialog using Spec in 3 methods

2015-02-13 Thread Stephan Eggermont
In order to not get results like the extent and width should be calculated values. That would change the example code to something like LoginModel class>>defaultSpec ^SpecLayout composed newColumn: [ :col | col newRow: [ :row | row

Re: [Pharo-users] Changes file size

2015-02-13 Thread Guillermo Polito
El Wed Feb 11 2015 at 4:08:36 PM, Esteban A. Maringolo escribió: > 2015-02-11 10:02 GMT-03:00 Sven Van Caekenberghe : > >> ps: As said in another thread, Torsten's version (descendant of mine) > >> didn't seem to have this issue. > > > Yes, we are making (some) progress. > > Maybe we should promo

[Pharo-users] Learning Spec

2015-02-13 Thread Sven Van Caekenberghe
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

Re: [Pharo-users] Changes file size

2015-02-13 Thread Sven Van Caekenberghe
> On 11 Feb 2015, at 16:07, Esteban A. Maringolo wrote: > > 2015-02-11 10:02 GMT-03:00 Sven Van Caekenberghe : >>> ps: As said in another thread, Torsten's version (descendant of mine) >>> didn't seem to have this issue. > >> Yes, we are making (some) progress. >> Maybe we should promote the la

Re: [Pharo-users] Writing a Login Dialog using Spec in 3 methods

2015-02-13 Thread Sven Van Caekenberghe
> On 13 Feb 2015, at 04:46, Sebastian Heidbrink wrote: > > Ha! > > Now I think I got it! > Spec is MVVM and not MVC! Something like that ;-) > That means if I would like to implement with Spec, my root of entry should be > a subclass of Model (ViewModel in real). > If I would like to have a