s
that's what I 99.99% of the time use :-)
Would you please give me some pointers along with links to the
documentations?
TIA,
--
Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation, Deployment Consultant
What is the correct way to install `SandstoneDb' in Pharo 2.0? With the
approach Pharo book takes[1], Pharo complains about two other packages
to be installed as well: `DataStream' and `SmartRefStream'.
TIA,
[1] http://book.pharo-project.org/book/PharoTools/SandstoneDB
--
Bahman
d about `SDFileStore' not
existing in the image and was unable to compile `SDFuelSerializer'.
> There is also http://smalltalkhub.com/#!/~gnaritas/SandstoneDb but I
> don't know how it is related.
>
> Sven
>
> On 27 May 2013, at 13:46, Bahman Movaqar
On 2013-05-27 16:16, Bahman Movaqar wrote:
> What is the correct way to install `SandstoneDb' in Pharo 2.0? With the
> approach Pharo book takes[1], Pharo complains about two other packages
> to be installed as well: `DataStream' and `SmartRefStream'.
>
> T
On 2013-05-27 17:42, Mariano Martinez Peck wrote:
> Doesn't it have tests? I remember it did...
Yes, it does. But as a Smalltalk newbie I have to figure out how to run
them :-)
> On Mon, May 27, 2013 at 10:11 AM, Bahman Movaqar <mailto:bah...@bahmanm.com>> wrote:
>
&g
Hi all,
I noticed that since there is no `import' statement in Pharo, class
names can easily conflict. What is the common naming strategy that you
people use to avoid that?
TIA,
--
Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation, Deployment Consultant
On 2013-05-28 12:07, Damien Cassou wrote:
> On Tue, May 28, 2013 at 7:13 AM, Bahman Movaqar wrote:
>> I noticed that since there is no `import' statement in Pharo, class
>> names can easily conflict. What is the common naming strategy that you
>> people use to avoid t
On 2013-05-28 13:07, Damien Cassou wrote:
> On Tue, May 28, 2013 at 10:30 AM, Bahman Movaqar wrote:
>> Thanks. I'll follow that convention.
>>
>> BTW I assume there is no central place to check if the two letter
>> combination has already been taken or not, righ
rs/companies using Java or .NET don't know about such a thing.
PS: I have some general suggestions but, honestly, I thought I'd hold
them as I'm not a pro Smalltalk'er :-)
--
Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation, Deployment Consultant
C++ but for Java there are libraries like CGLib[1] or
ASM[2] that can manipulate/generate classes/interfaces at runtime.
However the operation is not even remotely like editing code! It's
writing code to change or generate the bytecode.
[1] http://cglib.sourceforge.net/
[2] http://asm.ow2.org/
--
Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation, Deployment Consultant
On 2013-06-02 07:26, b...@openinworld.com wrote:
> Bahman Movaqar wrote:
>> On 2013-06-01 10:40, Stéphane Ducasse wrote:
>>
>>> Hi guys
>>>
>>> I think that we are doing a poor job selling ourselves. I think that the
>>> quality of our commun
or Oracle
(phew!) and runs smoothly would be very interesting. Specially if you
could demo the audience how cleanly and easily they can extend it.
> --------
> *From:* Bahman Movaqar
> *To:* Any question about pharo is welc
On 2013-06-02 19:07, b...@openinworld.com wrote:
> b...@openinworld.com wrote:
>> Bahman Movaqar wrote:
>> >
>> > ** A very good way to promote a mature and well thought-out language
>> > like Smalltalk/Pharo is to something serious with it and let people
&
Hi all,
What is the correct/current repository for Magritte?
TIA,
--
Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation, Deployment Consultant
On 2013-06-03 12:19, Damien Cassou wrote:
> Dear Bahman,
>
> On Mon, Jun 3, 2013 at 1:47 AM, Bahman Movaqar wrote:
>> What is the correct/current repository for Magritte?
>
> the official repository for Magritte is
> http://www.smalltalkhub.com/#!/~Magritte. C
[1] http://www.bahmanm.com/blogs/a-new-platform-for-business-app-development
--
Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation, Deployment Consultant
e, stupid'
--introduced by Butler Lampson IIRC.)
8. Pharo: The breeze of simplicity
--
Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation, Deployment Consultant
Hi all,
I've searched the net and found out the answer is most probably "no"; but it
doesn't hurt to ask here:
Is it posssible to use `git' as the VCS backend for Pharo?
TIA,
--
Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation & Dep
be simpler in the future.
>
> My workflow, for a git repo and pharo, is to have a Makefile with those
> commands, a gitignore for the pharo subdirectory, and a make clean to
> remove the pharo directory and download a fresh vm and image. It avoids
> storing the pharo image and packag
Cool! Tomorrow, I'll give it a try and let you know.
--
Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation & Deployment Consultant
PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)
On Tuesday 18 June 2013 20:46:09 GOUBIER Thierry wrote:
> The mistake in the script is
Hmm...let's say I have the project initiated on git. How can I do the initial
commit? Does it handle package dependencies?
Thanks,
--
Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation & Deployment Consultant
PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)
On Tuesda
tents of my file and I do not find the
> > option appendStream. How can I do?
> >
> >
> > working := FileSystem disk workingDirectory.
> > stream := (working / 'test.csv') writeStream
> > stream nextPutAll: 'something'.
> > stream ne
On Mon, 2013-06-24 at 19:59 +0200, Sven Van Caekenberghe wrote:
> On 24 Jun 2013, at 19:42, Bahman Movaqar wrote:
>
> > On Mon, 2013-06-24 at 14:43 +0200, Sven Van Caekenberghe wrote:
> >> Hayatou,
> >>
> >> Open a WriteStream and call #setToEnd before
I just noticed it: when adding a new repository, there's an option for
projects on 'smalltalkhub.com'. Is this something new or I was just
ignorant about this? Anyway, congratulations on the design choice.
--
Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementati
On Mon, 2013-06-24 at 22:15 +0200, Camillo Bruni wrote:
> On 2013-06-24, at 21:49, Bahman Movaqar wrote:
> > I just noticed it: when adding a new repository, there's an option for
> > projects on 'smalltalkhub.com'. Is this something new or I was just
&g
On Tue, 2013-06-25 at 09:00 +0200, Camillo Bruni wrote:
> On 2013-06-25, at 06:51, Bahman Movaqar wrote:
>
> > On Mon, 2013-06-24 at 22:15 +0200, Camillo Bruni wrote:
> >> On 2013-06-24, at 21:49, Bahman Movaqar wrote:
> >>> I just noticed it: when adding a new
conversion routines in Python[2] but that is nowhere
near a real calendar. What I have in mind is a subclass (?) of `Date`
which seamlessly supports all `Date` operations but using a different
calendar system.
I'd appreciate any hits/pointers.
TIA,
--
Bahman Movaqar (http://BahmanM.com)
On Tue, 2013-06-25 at 20:16 +0400, Bahman Movaqar wrote:
> Hi all,
>
> In Iran we use a calendar different from Gergorian and Islamic
> calendars; it's called Jalali calendar[1]. The people in Afghanistan
> use the same calendar but with different month names.
>
> So,
, libraries, and many a
times I do that for a living --so believe me, I'm good at it :-)
I wrote something about Pharo a few months ago which might help you:
http://www.bahmanm.com/blogs/a-new-platform-for-business-app-development
--
Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation & Deployment Consultant
PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)
signature.asc
Description: OpenPGP digital signature
sk(Cursor)>>showWhile:
UpdateStreamer>>elementaryReadServerUpdates:
UpdateStreamer>>elementaryReadServerUpdates
UpdateStreamer>>updateFromServer in Block: [self
elementaryReadServerUpdates]
This is an ablsolutely fresh Pharo instance. Am I doing anyth
). As
the first step I need an HTTP client library that can handle GET/POST
requests and a JSON parsing library. I'd appreciate any suggestions for
those libraries.
TIA,
--
Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation & Deployment Consultant
PGP Key ID: 0x6AB5BD68
On 11/04/2013 23:33, Sven Van Caekenberghe wrote:
> Hi Bahman,
>
> On 04 Nov 2013, at 20:13, Bahman Movaqar wrote:
>
>> Hi all,
>>
>> Apparently, I finally have the time to do something serious with Pharo. And
>> I'm intending to get started ASAP before
Hi all,
I need to build a typical GUI application (menus, buttons, modal
dialogs, ...). I'd appreciate if you could point me to where should I
start and what are the choices for a UI framework in Pharo?
TIA,
--
Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation & D
select "Browse Class" or "Browse Full". Is there a shortcut to this
functionality?
TIA,
--
Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation & Deployment Consultant
PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)
signature.asc
Description: OpenPGP digital signature
Hi all,
Reading ProfStef at lesson 25 (Reflections), when I try to run the last
statement ProfStef default executeMethod: (ProfStef
lookupSelector:#next)., the error pops up saying Unknown
selector executeMethod:. Am I doing anything wrong?
TIA,
--
Bahman Movaqar (http://BahmanM.com)
ERP
"where could we find such a tutorial?". And of course I will read
> it carefully if there exists one ;-)
>
> Alain
>
>
> On Tue, Nov 5, 2013 at 9:07 AM, Bahman Movaqar <mailto:bah...@bahmanm.com>> wrote:
>
> Hi all,
>
>
he selector
> for sending a message to an object is #perform: so you should
> probably try to replace #executeMethod with #perform: .
> But I am sure somebody more familiar with ProfStef and Pharo will
> comment on your issue more specifically.
>
> HTH,
>
&g
at am I doing wrong?
TIA,
PS: I have tried `whenTextChanged` to no avail --it shows the same
behaviour.
--
Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation & Deployment Consultant
PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)
signature.asc
Description: OpenPGP digital signature
nput`.
>
> labelGreeting text: ''.
> buttonGreet label: 'Greet Me!'; disable.
> textName autoAccept: true.
It's certainly no big deal but I'm just curious; any special reason why
`autoAccept` doesn't default to true?
> On 06 Nov 2013, at 06:05,
On 11/06/2013 10:56, Benjamin wrote:
> On 06 Nov 2013, at 08:21, Bahman Movaqar <mailto:bah...@bahmanm.com>> wrote:
>
>> On 11/06/2013 10:41, Benjamin wrote:
>>> This is the expected behaviour :)
>>
>> Oh! A bit unorthodox, specially considering
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 <mailto:bah...@bahmanm.com>> wrote:
>
>> On 11/06/2013 10:56, Benjamin wrote:
>>> On 0
ageNotUnderstood:
TextModel>>autoAccept:" error.
Though after changing `initializeWidgets` to the following, it worked as
expected:
self instantiateModels: #(
textName TextInputFieldModel
labelGreetingLabelModel
buttonGreetButtonModel
).
Is
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
e the correct version of Spec.
>
>
> On 06 Nov 2013, at 08:38, Bahman Movaqar <mailto:bah...@bahmanm.com>> wrote:
>
>> On 11/06/2013 11:07, Benjamin wrote:
>>> In which version of Pharo are you working ?
>>
>> Pharo2.0
>> Latest update: #20607
>&g
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 &a
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
fines class side #debuggerSpec, which answers a
> SpecLayout.
>
> Not sure if this helped.
Thanks. I'll give this a try and let you know.
>
> All of these questions are for your tutorials ?
Yes. Actually I'm trying to build a UI for Fossil DVCS with Pharo. And
in the m
that holds a subclass of
> ComposableModel that defines class side #debuggerSpec, which answers a
> SpecLayout.
>
Does this mean that for every table cell I have to create a new class?
> Not sure if this helped.
>
> All of these questions are for your tutorials ?
>
>
>
>
> 201
On 11/07/2013 09:13, Bahman Movaqar wrote:
> 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
>
Thank yo
Thanks for the pointer.
--
Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation & Deployment Consultant
PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)
signature.asc
Description: OpenPGP digital signature
Hi all,
A new episode is availabe:
Spec - Part II: The Layout (http://www.bahmanm.com/blogs/spec-part-2-layout)
I'd appreciate any comments/hints. TIA,
--
Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation & Deployment Consultant
PGP Key ID: 0x6AB5BD68 (keyserver
n this?
>
> Overall it a nice next step introducing just a bit more
> functionality. It reads very well. I look forward to the next one.
Your comments are much appreciated. It's always very useful to have
another couple of eyes, QC a document :-)
Thanks.
--
Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation & Deployment Consultant
PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)
signature.asc
Description: OpenPGP digital signature
Hi all,
Is it possible to disable auto-completion in a text box? I've tried
`textName isCodeCompletionAllowed: false` to no avail. Am I doing it
wrong? Any other way to do it?
TIA,
--
Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation & Deployment Consultant
P
here; specially Benjamin the Undocumenter :-)
--
Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation & Deployment Consultant
PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)
signature.asc
Description: OpenPGP digital signature
On 11/11/2013 22:52, Benjamin wrote:
> I do not get the image, but I know what happened :)
Oops! Corrected that.
>
> On 11 Nov 2013, at 20:08, Bahman Movaqar <mailto:bah...@bahmanm.com>> wrote:
>
>>
>> When a window is resized, every Row/ColumnLayoutdistribut
Could someone please point me to the non-Smalltalk source code for Pharo
--I searched the website but couldn't find anything?
TIA,
--
Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation & Deployment Consultant
PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)
sign
On 11/12/2013 17:29, Benjamin wrote:
On 11 Nov 2013, at 20:08, Bahman
Movaqar <bah...@bahmanm.com
<mailto:bah...@bahmanm.com>>
wrote:
When a window is re
Hi all,
I tried to find some up-to-date information regarding SMP in Pharo to no
avail. Actually, I couldn't find any roadmap documents on the website.
I'd appreciate if someone could share a pointer/link here.
TIA,
--
Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Impl
n: 0@0 offsetCorner: 0@0` would add a button in a
>>> center'ish position within its container, right?
>
> It should do something like this yes :)
>
>
>>> I wonder what am I doing wrong since it has no effect whatsoever?
>
> What is the result ?
The same as u
Hi all,
I forgot my SmalltalkHub password. What should I do? I don't see any
"recover password" type of links or any links to the support team on the
website.
For the administrator(s), please reset the password for username
'bahman' :-)
TIA,
--
Bahman Movaqar
cept some arguments.
I'd appreciate any help/idea.
--
Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation & Deployment Consultant
PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)
signature.asc
Description: OpenPGP digital signature
On 11/13/2013 11:13, Bahman Movaqar wrote:
> Let's say I have a method with signature in a language like Java as below:
> gregorianDayToJulianDay(year, month, day)
>
> What could be a proper naming for this method in Smalltalk? I'm a bit
> confused as I'm so used t
On 11/13/2013 11:22, jtuc...@objektfabrik.de wrote:
> Bahman,
>
> Am 13.11.13 08:43, schrieb Bahman Movaqar:
>> Let's say I have a method with signature in a language like Java as
>> below:
>>gregorianDayToJulianDay(year, month, day)
>>
>> What
On 11/13/2013 11:39, Bahman Movaqar wrote:
> On 11/13/2013 11:13, Bahman Movaqar wrote:
>> Let's say I have a method with signature in a language like Java as below:
>> gregorianDayToJulianDay(year, month, day)
>>
>> What could be a proper naming for this
something like Chronos rather I'm trying to get my hands dirty with
Pharo and also re-visit my OOP skills. Thanks.
--
Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation & Deployment Consultant
PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)
signature.asc
Description: OpenPGP digital signature
r getting the job done and feel
> like they dont have time to worry about how clean their code is. Its a
> free world, or so we hope.
>
> On the other hand everything should be put into context and never
> taken as the Holy Bible or Holy Grail.
>
>
> On Wed, Nov 13, 20
Hi all,
Would anyone share a pionter to how to do i18n in Pharo for translating
the messages used in a Pharo application (web or desktop)?
TIA,
--
Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation & Deployment Consultant
PGP Key ID: 0x6AB5BD68 (keyserver2.pgp
On 11/22/2013 13:30, kilon alios wrote:
> is there a pdf I can download ? I would love to take a look at seaside :)
>
This will definitely help you get started:
http://www.hpi.uni-potsdam.de/hirschfeld/seaside/tutorial
--
Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implemen
the
way it is supposed to be. When I was writing the episodes, I had to read
the `Spec-Examples` to figure out how to do stuff and all the examples
defined `defaultSpec` as a class-side method.
Maybe I'm doing it wrong. I'd appreciate if Benjamin could shed a light
on this.
--
Bahman
I think what may be needed is a community website with materials like
cookbook recipes, idea sheets, useful links, related blogs and such
--basically anything except maybe mailing lists and forums. Am I right?
--
Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation & Deploy
cipes, articles, ideas, ...)
+ Links
+ Forums
+ Images
* Accurate full-text-search
* Upload any type of file
* And whatever else the community requires
Let me know if you are interested in this offer.
--
Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implement
Hi,
I managed to update my tiny tutorial on Spec to Pharo 7.0. Can you folks
please take a look and let me know if I'm doing something unidiomatic/wrong
- it's been quite a while since I coded in Smalltalk?
http://www.bahmanm.com/2013/11/spec-part-i-basics.html
https://www.bahmanm.com/2013/11/spe
72 matches
Mail list logo