Re: [Pharo-users] Writing a GUI - Where to start?

2013-11-06 Thread François Stephany
That looks cool! Did you embed a MongoDB instance in the application package? Or the application is connecting to a remote MongoDB? Is it full Glamour or did you have to use Spec/Morph manually at some point? Sorry to bother you, I'm just getting curious ;) On Tue, Nov 5, 2013 at 1:43 PM, Este

Re: [Pharo-users] I would rather pay for Smalltalkhub than use Github for free.

2013-11-06 Thread François Stephany
Git. On Tue, Nov 5, 2013 at 2:04 PM, wrote: > François Stephany wrote: > > +1 > > Projects are not only source code anymore. Most of my projects have a > gazillion of images, javascript, CSS files, etc. > Storing all those external files in .mcz packages is not scalable (and not > even elegant

Re: [Pharo-users] Spec - TextModel whenTextIsAccepted

2013-11-06 Thread Bahman Movaqar
On 11/06/2013 10:41, Benjamin wrote: > This is the expected behaviour :) > But what you can do (and actually what you wanna do) is to accept the > text at each keyStroke :) > >> initializePresenter >> self instantiateModels: #( >> textName TextModel >> labelGreeting

Re: [Pharo-users] Spec - TextModel whenTextIsAccepted

2013-11-06 Thread Benjamin
That’s correct :) Even if the version I proposed you to initialise widgets >> textName := self newTextInput. >> labelGreeting := self newLabel. >> buttonGreet := self newButton. is the new way to do it :) Ben On 06 Nov 2013, at 11:21, Bahman Movaqar wrote: > On 11/06/2013 10:41, Benjamin wrot

Re: [Pharo-users] I would rather pay for Smalltalkhub than use Github for free.

2013-11-06 Thread kilon alios
I hear that git is a really bad idea for saving binary data. The reason behind it from what I have read is that git in each commit stores the entire file tree structure and not just the files commited, meaning that if you commit in a directory of 100 mb of data, then you will get 100 mb per commit

Re: [Pharo-users] Adjusting the size of a window using Spec

2013-11-06 Thread Ignacio Matías Sniechowski
Thank you so much! That did it :) It's almost done now. cheers N. *Lic. Ignacio Sniechowski, MBA* On Wed, Nov 6, 2013 at 4:07 AM, Benjamin < benjamin.vanryseghem.ph...@gmail.com> wrote: > You just need to override the method #initialExtent > > It should return a point structured like thi

Re: [Pharo-users] Writing a GUI - Where to start?

2013-11-06 Thread Esteban Lorenzano
this is old stuff (from before I came to RMoD team)... but well, is something like this: - a client-server app, connecting to a centralized mongodb (in fact, I developed the first version of Voyage for this app). - Glamour + Magritte + my own extensions to magritte and glamour. There is no Spec (T

Re: [Pharo-users] I would rather pay for Smalltalkhub than use Github for free.

2013-11-06 Thread Davorin Rusevljan
On Wed, Nov 6, 2013 at 11:51 AM, kilon alios wrote: > I hear that git is a really bad idea for saving binary data. The reason > behind it from what I have read is that git in each commit stores the > entire file tree structure and not just the files commited, meaning that if > you commit in a di

Re: [Pharo-users] Adjusting the size of a window using Spec

2013-11-06 Thread Stéphane Ducasse
I would love if we could get the code and if you would be interested to write a little tutorial around spec using your calculator. Why? Because we need help to write documentation and others :) Are you interested? Stef On Nov 6, 2013, at 12:18 PM, Ignacio Matías Sniechowski <0800na...@gmail.com

Re: [Pharo-users] Adjusting the size of a window using Spec

2013-11-06 Thread Ignacio Matías Sniechowski
Sure! That was exactly the idea: share this as a kind of tutorial for others. I put comments almost everywhere just for those who want to take a look at the code. Once it's finished I will uploaded. cheers Nacho *Lic. Ignacio Sniechowski, MBA* On Wed, Nov 6, 2013 at 8:33 AM, Stéphane Ducas

Re: [Pharo-users] Adjusting the size of a window using Spec

2013-11-06 Thread Benjamin
Cool :) Thank you Ben On 06 Nov 2013, at 12:37, Ignacio Matías Sniechowski <0800na...@gmail.com> wrote: > Sure! That was exactly the idea: share this as a kind of tutorial for others. > I put comments almost everywhere just for those who want to take a look at > the code. Once it's finished

Re: [Pharo-users] Adjusting the size of a window using Spec

2013-11-06 Thread Sven Van Caekenberghe
I am also interested. Implementing a four-function calculator has always been my first example to learn a new GUI. On 06 Nov 2013, at 12:33, Stéphane Ducasse wrote: > I would love if we could get the code and if you would be interested to write > a little tutorial > around spec using your ca

Re: [Pharo-users] I would rather pay for Smalltalkhub than use Github for free.

2013-11-06 Thread Sergi Reyner
El 06/11/2013 10:52, "kilon alios" escribió: > > I hear that git is a really bad idea for saving binary data. The reason behind it from what I have read is that git in each commit stores the entire file tree structure and not just the files commited, Not at all. Simply put, git works in terms of

Re: [Pharo-users] I would rather pay for Smalltalkhub than use Github for free.

2013-11-06 Thread kilon alios
Probably I mixed things up, or I remember incorrectly, my apologies. On Wed, Nov 6, 2013 at 1:49 PM, Sergi Reyner wrote: > > El 06/11/2013 10:52, "kilon alios" escribió: > > > > > I hear that git is a really bad idea for saving binary data. The reason > behind it from what I have read is that

[Pharo-users] Writing a GUI - Where to start?

2013-11-06 Thread Torsten Bergmann
Esteban wrote: >- Libharu (http://www.squeaksource.com/HPDF.html) to export to PDF, with a >Magritte extension to produce the reports. > >the cool thing is that even if I developed many frameworks to help me in >the task, I tool 15 days to have first version working and 1 month to >finish it :) Th

Re: [Pharo-users] Writing a GUI - Where to start?

2013-11-06 Thread François Stephany
Great, thanks for sharing =) On Wed, Nov 6, 2013 at 12:22 PM, Esteban Lorenzano wrote: > this is old stuff (from before I came to RMoD team)... but well, is > something like this: > > - a client-server app, connecting to a centralized mongodb (in fact, I > developed the first version of Voyage f

Re: [Pharo-users] Spec - TextModel whenTextIsAccepted

2013-11-06 Thread Benjamin
Ok :) These methods only exists in Pharo 3.0 :) Ben On 06 Nov 2013, at 08:38, Bahman Movaqar wrote: > On 11/06/2013 11:07, Benjamin wrote: >> In which version of Pharo are you working ? > > Pharo2.0 > Latest update: #20607 > >> >> On 06 Nov 2013, at 08:31, Bahman Movaqar wrote: >> >>> On

Re: [Pharo-users] Using FFI

2013-11-06 Thread Annick Fron
I am using the latest download from version 2 Annick Le 31 oct. 2013 à 18:47, Esteban Lorenzano a écrit : > ok... then we have a problem. > but we need more data... > > which image version are you using? > and which vm version? > > cheers, > Esteban > > On Oct 31, 2013, at 11:24 AM, Annic

[Pharo-users] Spec - Text alignment in LabelModel

2013-11-06 Thread nacho
Hi, After spending almost two hours digging into Spec I couldn't figure out how to change the alignment of the text in LabelModel. As I'm building a simple calculator, the text has to be right-aligned. The default is left-alginement which makes the calculator display look weird. Any help would be m

[Pharo-users] Spec - Grid/Table Layout

2013-11-06 Thread Bahman Movaqar
Hi all, Is there a grid/table layout available in Spec? Something like an HTML table or Swing's GridLayout? If not, how may I achieve such a functionality? I'd appreciate any hints/pointers. -- Bahman Movaqar (http://BahmanM.com) ERP Evaluation, Implementation & Deployment Consultant PGP Ke

Re: [Pharo-users] Spec - TextModel whenTextIsAccepted

2013-11-06 Thread Bahman Movaqar
On 11/06/2013 20:35, Benjamin wrote: > Ok :) > > These methods only exists in Pharo 3.0 :) Hmm...I don't understand. Please correct me if I'm wrong but I thought Spec is a UI library, so it doesn't matter if I'm using it in Pharo 2.0 or 3.0 as long as I have the correct version of Spec. > > > On

[Pharo-users] Spec - Tutorial Series

2013-11-06 Thread Bahman Movaqar
Hi all, I'm writing a series of tutorials for Spec for beginners like myself and I'd really appreciate any input on the material. The first episode is done: http://www.bahmanm.com/blogs/spec-part-1-basics -- Bahman Movaqar (http://BahmanM.com) ERP Evaluation, Implementation & Deployment Consu

[Pharo-users] Spec - Nested Layouts

2013-11-06 Thread Bahman Movaqar
Hi all, Is it possible to nest layouts in Spec? For example can I combine `SpecColumnLayout` and `SpecRowLayout` together? TIA, -- Bahman Movaqar (http://BahmanM.com) ERP Evaluation, Implementation & Deployment Consultant PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com) signature.asc Descript