[Pharo-project] Looking for real-world Magma application

2010-10-21 Thread Igor Stasenko
Hello all,
sorry for cross-posting. :)

I'd like to ask you, if anyone could share either an image or
installation with application,
which using Magma OODB.
I'd like to use it  test how changing different aspects of Magma
internals could affect the performance.

There's many tricks, which is known by Chris how to speed it up by
cleverly fine-tuning various Magma options,
like read strategy etc.
But what i'd like is to see, is some setup, used by people, and by
taking it, see how it could make run faster,
without changing an application code.

I remember, someone gave a talk @ ESUG, that they were using Magma for
their application,
but then forced to switch to another DB layer, because they had bad
performance issues.
It would be good, if you could give me the code, so i can run it and
see if things could be improved.
Its not a problem, if code is not open-source, we could sign an NDA,
if this is necessary.

I need something real, simply because benchmarks sometimes not
representative. :)

-- 
Best regards,
Igor Stasenko AKA sig.

___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] Looking for real-world Magma application

2010-10-21 Thread Johan Brichau
Hi Igor,

I guess that you are referring to us ;-)

We indeed switched from Magma to GOODS and now to Gemstone, mainly because of 
performance issues.
To remain db-independent, we have created a database abstraction layer that can 
be used with any of the aforementioned databases. We are currently preparing to 
open-source the generic part and we can send you our specific Magma 
specialization with representative queries made by our application.

We should be able to get that to you asap!

Johan

On 21 Oct 2010, at 08:33, Igor Stasenko wrote:

 Hello all,
 sorry for cross-posting. :)
 
 I'd like to ask you, if anyone could share either an image or
 installation with application,
 which using Magma OODB.
 I'd like to use it  test how changing different aspects of Magma
 internals could affect the performance.
 
 There's many tricks, which is known by Chris how to speed it up by
 cleverly fine-tuning various Magma options,
 like read strategy etc.
 But what i'd like is to see, is some setup, used by people, and by
 taking it, see how it could make run faster,
 without changing an application code.
 
 I remember, someone gave a talk @ ESUG, that they were using Magma for
 their application,
 but then forced to switch to another DB layer, because they had bad
 performance issues.
 It would be good, if you could give me the code, so i can run it and
 see if things could be improved.
 Its not a problem, if code is not open-source, we could sign an NDA,
 if this is necessary.
 
 I need something real, simply because benchmarks sometimes not
 representative. :)
 
 -- 
 Best regards,
 Igor Stasenko AKA sig.
 
 ___
 Pharo-project mailing list
 Pharo-project@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] [squeak-dev] non-modal FillInTheBlankMorph code?

2010-10-21 Thread Fernando olivero
I can do one using EntryFieldMorph in 5 minutes.


EntryFieldMorphauthoringPrototype

self authoringPrototype 

| e |
e := EntryFieldMorph new.
e position: 8...@200.
e width: 400.
e initialContents: 'Fill in the blank'.
e onAcceptSend: #delete to: e.
e onEscapeSend: #delete to: e. 
e openInWorld.
^ e


If you want i can code a similar one to FillInTheBlank , using announcements 
and a button.


On Oct 20, 2010, at 7:33 PM, Eliot Miranda wrote:

 FillInTheBlankMorph


___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] [update 1.2] #12201

2010-10-21 Thread Fernando olivero
Great work Alain!Now porting my icon importer  is going to be easier!
The idea is to use the Gaucho icon importer to be able to choose amongst 
different external icon families , greatly improving the look and fell of the 
tools.
Having a single entry point goes into this direction!
I will create an issue for this.

Fernando
On Oct 20, 2010, at 11:33 PM, Alain Plantec wrote:

  Le 20/10/2010 23:13, Alain Plantec a écrit :
 Le 20/10/2010 22:47, Stéphane Ducasse a écrit :
 12201
 -
 - Issue 1800:MenuIcons and ThemeIcons should be merged. Big 
 thanks to alain plantec!!!
 well, too fast, there is a problem with a missing icon.
 I'm afraid you have to rollback
 sorry
 Alain
 well, I can't reproduce the problem.
 finally it's seems ok after having updated  again.
 the icon is where it should be.
 alain
 
 ___
 Pharo-project mailing list
 Pharo-project@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
 
 
 
 
 
 ___
 Pharo-project mailing list
 Pharo-project@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] [ANN] Continue working in SimpleLogger

2010-10-21 Thread Mariano Martinez Peck
On Thu, Oct 21, 2010 at 3:22 AM, Yanni Chiu ya...@rogers.com wrote:

 On 20/10/10 9:36 AM, Mariano Martinez Peck wrote:

 What I did basically is to define SimpleLogger like the public API. But
 then, this class delegates to a LoggerStrategy. I created the following
 implementations: TranscriptLoggerStrategy, NullLoggerStrategy,
 FileLoggerStrategy and FixesFileNameLoggerStrategy.  In addition, I
 created a superclass for them, marking the API with SimpleLogger. This
 class is LoggerStrategy.

 So, now you can:

 - Enable and disable easily the logging (thanks to NullLoggerStrategy).
 - Change on runtime WHERE or HOW to log (just change the strategy).
 - Be able to write into a File, a Transcript, a FixedFileName, or nothing.
 - Extend to you own strategy (FileAppendLoggerStrategy??
 SocketLoggerStrategy?  etc...)


 My 2cents. I've not used or looked at SimpleLogger, but recall that it was
 a single class, plus a metacello config class.

 The new functionality sounds very useful, but is it still simple. It sounds
 like it was simple to add extra features - maybe because SimpleLogger was
 simple. Will the next person who comes along find a similarly simple
 implementation that can be easily adapted to specific needs.

 A hierarchy of strategy classes no longer sounds simple. What if I don't
 need all the different strategies loaded, will the configuration then allow
 multiple build targets for various individual or groups of strategies.
 Starting to sound complicated.


Yes, that's true. However, take a look at the code, and I promisde that in
no more than 10 minutes you get the idea how to use it. There are 5 classes,
with an average of 5 methods each.



 IMHO, it should be a fork: SomewhatSimpleOnItsWayToComplicatedLogging :)


heheheh


 --
 Yanni


 ___
 Pharo-project mailing list
 Pharo-project@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Re: [Pharo-project] [Pharo-users] [ANN] Continue working in SimpleLogger

2010-10-21 Thread Mariano Martinez Peck
On Thu, Oct 21, 2010 at 7:24 AM, Stéphane Ducasse stephane.duca...@inria.fr
 wrote:

 why don;t you look look at toothpick?


Because I don't have time to learn a new logging framework, nor to make it
work on Pharo. I don't plan to be part of a logging framework. I just needed
something really EASY for my projects. So, I remembered Germán doing that, I
know it was working in Pharo, and it took me 5 minutes to understand. 2
hours more to add my features, and that's all :)  I just make it public for
other users.

Chees

Mariano



 On Oct 21, 2010, at 3:23 AM, Yanni Chiu wrote:

  On 20/10/10 9:36 AM, Mariano Martinez Peck wrote:
  What I did basically is to define SimpleLogger like the public API. But
  then, this class delegates to a LoggerStrategy. I created the following
  implementations: TranscriptLoggerStrategy, NullLoggerStrategy,
  FileLoggerStrategy and FixesFileNameLoggerStrategy.  In addition, I
  created a superclass for them, marking the API with SimpleLogger. This
  class is LoggerStrategy.
 
  So, now you can:
 
  - Enable and disable easily the logging (thanks to NullLoggerStrategy).
  - Change on runtime WHERE or HOW to log (just change the strategy).
  - Be able to write into a File, a Transcript, a FixedFileName, or
 nothing.
  - Extend to you own strategy (FileAppendLoggerStrategy??
  SocketLoggerStrategy?  etc...)
 
  My 2cents. I've not used or looked at SimpleLogger, but recall that it
 was a single class, plus a metacello config class.
 
  The new functionality sounds very useful, but is it still simple. It
 sounds like it was simple to add extra features - maybe because SimpleLogger
 was simple. Will the next person who comes along find a similarly simple
 implementation that can be easily adapted to specific needs.
 
  A hierarchy of strategy classes no longer sounds simple. What if I don't
 need all the different strategies loaded, will the configuration then allow
 multiple build targets for various individual or groups of strategies.
 Starting to sound complicated.
 
  IMHO, it should be a fork: SomewhatSimpleOnItsWayToComplicatedLogging :)
 
  --
  Yanni
 
 
  ___
  Pharo-project mailing list
  Pharo-project@lists.gforge.inria.fr
  http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


 ___
 Pharo-users mailing list
 pharo-us...@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users

___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Re: [Pharo-project] Faster access for refactoring commands

2010-10-21 Thread Martin Dias
Ok, I will see how does it work.



On Wed, Oct 20, 2010 at 3:46 PM, Stéphane Ducasse
stephane.duca...@inria.fr wrote:

 On Oct 20, 2010, at 1:32 PM, Martin Dias wrote:

 Hi,

 I really like to use refactoring commands in OmniBrowser, but I would like 
 to access them faster. I think that it would be nice to have:

 - A shortcut that popups a menu with the refactor commands only.
 - A unique shortcut for rename (which target is the current selection: 
 categories, class, method, class variable, instance variable, temporary)

 What do you think about it?
 Do you know if there is something like that already available to use?

 Yes I would love to have a better organization with the most used refactoring 
 actions also on the top of the menu.
 I know lukas does not like that. Now what we can do it to have a package to 
 add these items on top of
 OB and we load it, after OB-RB and everybody is happy.

 Can you provide that code?


 Martin
 ___
 Pharo-project mailing list
 Pharo-project@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


 ___
 Pharo-project mailing list
 Pharo-project@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] [Pharo-users] [ANN] Continue working in SimpleLogger

2010-10-21 Thread Stéphane Ducasse
come on tooth pick has even documentation and it does not look complex.
redoing all over things does not reduce bugs and 

http://www.metaprog.com/Toothpick/docs/quickstart.html
It looks clean and simple.



Stef

On Oct 21, 2010, at 9:51 AM, Mariano Martinez Peck wrote:

 
 
 On Thu, Oct 21, 2010 at 7:24 AM, Stéphane Ducasse stephane.duca...@inria.fr 
 wrote:
 why don;t you look look at toothpick?
 
 
 Because I don't have time to learn a new logging framework, nor to make it 
 work on Pharo. I don't plan to be part of a logging framework. I just needed 
 something really EASY for my projects. So, I remembered Germán doing that, I 
 know it was working in Pharo, and it took me 5 minutes to understand. 2 hours 
 more to add my features, and that's all :)  I just make it public for other 
 users.
 
 Chees
 
 Mariano
  
 
 On Oct 21, 2010, at 3:23 AM, Yanni Chiu wrote:
 
  On 20/10/10 9:36 AM, Mariano Martinez Peck wrote:
  What I did basically is to define SimpleLogger like the public API. But
  then, this class delegates to a LoggerStrategy. I created the following
  implementations: TranscriptLoggerStrategy, NullLoggerStrategy,
  FileLoggerStrategy and FixesFileNameLoggerStrategy.  In addition, I
  created a superclass for them, marking the API with SimpleLogger. This
  class is LoggerStrategy.
 
  So, now you can:
 
  - Enable and disable easily the logging (thanks to NullLoggerStrategy).
  - Change on runtime WHERE or HOW to log (just change the strategy).
  - Be able to write into a File, a Transcript, a FixedFileName, or nothing.
  - Extend to you own strategy (FileAppendLoggerStrategy??
  SocketLoggerStrategy?  etc...)
 
  My 2cents. I've not used or looked at SimpleLogger, but recall that it was 
  a single class, plus a metacello config class.
 
  The new functionality sounds very useful, but is it still simple. It sounds 
  like it was simple to add extra features - maybe because SimpleLogger was 
  simple. Will the next person who comes along find a similarly simple 
  implementation that can be easily adapted to specific needs.
 
  A hierarchy of strategy classes no longer sounds simple. What if I don't 
  need all the different strategies loaded, will the configuration then allow 
  multiple build targets for various individual or groups of strategies. 
  Starting to sound complicated.
 
  IMHO, it should be a fork: SomewhatSimpleOnItsWayToComplicatedLogging :)
 
  --
  Yanni
 
 
  ___
  Pharo-project mailing list
  Pharo-project@lists.gforge.inria.fr
  http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
 
 
 ___
 Pharo-users mailing list
 pharo-us...@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
 
 ___
 Pharo-project mailing list
 Pharo-project@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] [update 1.2] #12201

2010-10-21 Thread Stéphane Ducasse
Excellent!
Good infrastructure will make us all much faster.
I like the motto of marcus: fix what we use daily to get faster.


On Oct 21, 2010, at 9:40 AM, Fernando olivero wrote:

 Great work Alain!Now porting my icon importer  is going to be easier!
 The idea is to use the Gaucho icon importer to be able to choose amongst 
 different external icon families , greatly improving the look and fell of the 
 tools.
 Having a single entry point goes into this direction!
 I will create an issue for this.
 
 Fernando
 On Oct 20, 2010, at 11:33 PM, Alain Plantec wrote:
 
 Le 20/10/2010 23:13, Alain Plantec a écrit :
 Le 20/10/2010 22:47, Stéphane Ducasse a écrit :
 12201
 -
 - Issue 1800:MenuIcons and ThemeIcons should be merged. Big 
 thanks to alain plantec!!!
 well, too fast, there is a problem with a missing icon.
 I'm afraid you have to rollback
 sorry
 Alain
 well, I can't reproduce the problem.
 finally it's seems ok after having updated  again.
 the icon is where it should be.
 alain
 
 ___
 Pharo-project mailing list
 Pharo-project@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
 
 
 
 
 
 ___
 Pharo-project mailing list
 Pharo-project@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
 
 
 ___
 Pharo-project mailing list
 Pharo-project@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] Looking for real-world Magma application

2010-10-21 Thread Igor Stasenko
On 21 October 2010 10:26, Johan Brichau jo...@inceptive.be wrote:
 Hi Igor,

 I guess that you are referring to us ;-)

 We indeed switched from Magma to GOODS and now to Gemstone, mainly because of 
 performance issues.
 To remain db-independent, we have created a database abstraction layer that 
 can be used with any of the aforementioned databases. We are currently 
 preparing to open-source the generic part and we can send you our specific 
 Magma specialization with representative queries made by our application.

 We should be able to get that to you asap!


Thank you, Johan.
Please keep me updated :)

 Johan

 On 21 Oct 2010, at 08:33, Igor Stasenko wrote:

 Hello all,
 sorry for cross-posting. :)

 I'd like to ask you, if anyone could share either an image or
 installation with application,
 which using Magma OODB.
 I'd like to use it  test how changing different aspects of Magma
 internals could affect the performance.

 There's many tricks, which is known by Chris how to speed it up by
 cleverly fine-tuning various Magma options,
 like read strategy etc.
 But what i'd like is to see, is some setup, used by people, and by
 taking it, see how it could make run faster,
 without changing an application code.

 I remember, someone gave a talk @ ESUG, that they were using Magma for
 their application,
 but then forced to switch to another DB layer, because they had bad
 performance issues.
 It would be good, if you could give me the code, so i can run it and
 see if things could be improved.
 Its not a problem, if code is not open-source, we could sign an NDA,
 if this is necessary.

 I need something real, simply because benchmarks sometimes not
 representative. :)

 --
 Best regards,
 Igor Stasenko AKA sig.

 ___
 Pharo-project mailing list
 Pharo-project@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project





-- 
Best regards,
Igor Stasenko AKA sig.

___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] [Pharo-users] [ANN] Continue working in SimpleLogger

2010-10-21 Thread Germán Arduino
This was my point when I wrote SimpleLogger, not time to understand
nor port other framework and needed simething really basic.

I documented it on Pharo book chapter, we should extend now such
chapter with the doc of new features.

Cheers.


2010/10/21 Mariano Martinez Peck marianop...@gmail.com:


 On Thu, Oct 21, 2010 at 7:24 AM, Stéphane Ducasse
 stephane.duca...@inria.fr wrote:

 why don;t you look look at toothpick?


 Because I don't have time to learn a new logging framework, nor to make it
 work on Pharo. I don't plan to be part of a logging framework. I just needed
 something really EASY for my projects. So, I remembered Germán doing that, I
 know it was working in Pharo, and it took me 5 minutes to understand. 2
 hours more to add my features, and that's all :)  I just make it public for
 other users.

 Chees

 Mariano


___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] [Pharo-users] [ANN] Continue working in SimpleLogger

2010-10-21 Thread Stéphane Ducasse
and another guy will come and repeat again the same
sounds to loop here...
My point is that why do we extend something that apparently is just done for 
not been extended
else it will be complex and somebody else will restart.

Because if toothpick would have been called simpleLogger then may be people 
would have looked at it the first time.
Sorry to be boring this morning but you are wrap in a moebius trick.

Tell us when SimpleLogger will not be simple so that we start another 
simpleloggerBis :)
Stef

 This was my point when I wrote SimpleLogger, not time to understand
 nor port other framework and needed simething really basic.
 
 I documented it on Pharo book chapter, we should extend now such
 chapter with the doc of new features.
 
 Cheers.
 
 
 2010/10/21 Mariano Martinez Peck marianop...@gmail.com:
 
 
 On Thu, Oct 21, 2010 at 7:24 AM, Stéphane Ducasse
 stephane.duca...@inria.fr wrote:
 
 why don;t you look look at toothpick?
 
 
 Because I don't have time to learn a new logging framework, nor to make it
 work on Pharo. I don't plan to be part of a logging framework. I just needed
 something really EASY for my projects. So, I remembered Germán doing that, I
 know it was working in Pharo, and it took me 5 minutes to understand. 2
 hours more to add my features, and that's all :)  I just make it public for
 other users.
 
 Chees
 
 Mariano
 
 
 ___
 Pharo-project mailing list
 Pharo-project@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


[Pharo-project] [update 1.2] #12203

2010-10-21 Thread Stéphane Ducasse
12203
-

- Issue 654:inconsistent highlight color. Thanks Alain Plantec
- Issue 3101: Wrong Monticello packages initialization order. Thanks Pavel 
Krivanek
___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] ^ character in ubuntu

2010-10-21 Thread Roberto Sapiain
Thanks Gaston.

that worked as well in latin-american or spanish keyboard layout  (since to
access the 'hat' we need to use Alt-Graphic key and another one).

:)

2010/10/21 Gastón Dall' Oglio gaston.dallog...@gmail.com

 Hello.

 I press the key twice ^ and then just enter it in the editor... I think
 this is the correct behavior, because this key can be used for e for
 example, pressing one and then the e.

 Saludos :)

 2010/10/20 Diogenes Moreira diogenes.more...@gmail.com

 joya.. thank you..

 On 10/20/10, Mariano Martinez Peck marianop...@gmail.com wrote:
  What happens if you run the same image (Pharo 1.1) but from other VM?
  Downloaded from the website for example??
 
  Because the oneclick does:
 
  #!/bin/sh
 
  # path
  ROOT=`dirname $0`
  BASE=$ROOT/Contents/Linux
 
  # execute
  exec $BASE/squeakvm \
  -plugins $BASE \
  -encoding latin1 \
  -vm-display-X11 \
  $ROOT/Contents/Resources/pharo.image
 
 
 
  or similar...maybe there is something bothering there
 
  cheers
 
  mariano
 
  2010/10/20 Diogenes Moreira diogenes.more...@gmail.com
 
  Thank you..
 
  2010/10/20 Roberto Sapiain rsapi...@gmail.com
 
  Hello.
 
  Well, In my case I just have a simple workaround:  in a terminal put
 the
  keyboard in english  (with
  # setxkbmap us  ; there with shift+6 you get the 'hat'  ^  ; to go
 back
  to
  your normal layout   setxkbmap latam  if its latinamerican or es if
 its
  spanish keyboard type; once you get the character printed, do a copy 
  paste, or memorize the layout of an english keyboard  ;))
 
  cheers, and hello to everyone in the list as well  :)
 
  2010/10/20 Diogenes Moreira diogenes.more...@gmail.com
 
  hi falks.
 
  I'm using Pharo 1.1 OneClick Package in Ubuntu 10.4 with the follow
  locale.
  when press ^ character in the pharo editor i get ? symbol..
 
  What configuration I need change?
 
  Other data, if i using the cut  paste from othe application, that
 work
  fine.
 
  Thank in advance.
 
  ioge...@diogenes-desktop:~$ locale
  LANG=es_AR.utf8
  LC_CTYPE=es_AR.utf8
  LC_NUMERIC=es_AR.utf8
  LC_TIME=es_AR.utf8
  LC_COLLATE=es_AR.utf8
  LC_MONETARY=es_AR.utf8
  LC_MESSAGES=es_AR.utf8
  LC_PAPER=es_AR.utf8
  LC_NAME=es_AR.utf8
  LC_ADDRESS=es_AR.utf8
  LC_TELEPHONE=es_AR.utf8
  LC_MEASUREMENT=es_AR.utf8
  LC_IDENTIFICATION=es_AR.utf8
  LC_ALL=
 
  cat /etc/lsb-release
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=10.04
  DISTRIB_CODENAME=lucid
  DISTRIB_DESCRIPTION=Ubuntu 10.04.1 LTS
 
  dioge...@diogenes-desktop:~$ uname -a
  Linux diogenes-desktop 2.6.32-25-generic-pae #44-Ubuntu SMP Fri Sep
 17
  21:57:48 UTC 2010 i686 GNU/Linux
 
 
 
  ___
  Pharo-project mailing list
  Pharo-project@lists.gforge.inria.fr
  http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
 
 
 
 
  --
  -* Amn El Ith Tir Sol - Honour *-
  Roberto Iván Sapiain Caro (RISC).
  Estudiante Ing. Civil en Computación.
  Universidad de Chile
 
 
 
  ___
  Pharo-project mailing list
  Pharo-project@lists.gforge.inria.fr
  http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
 
 
 
  ___
  Pharo-project mailing list
  Pharo-project@lists.gforge.inria.fr
  http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
 
 

 ___
 Pharo-project mailing list
 Pharo-project@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project



 ___
 Pharo-project mailing list
 Pharo-project@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project




-- 
-* Amn El Ith Tir Sol - Honour *-
Roberto Iván Sapiain Caro (RISC).
Estudiante Ing. Civil en Computación.
Universidad de Chile
___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

[Pharo-project] Issue 3130: MethodReference #isLocalSelector should not be part of Monticello package

2010-10-21 Thread Pavel Krivanek
This fix makes PackageInfo independent on Monticello.

See http://code.google.com/p/pharo/issues/detail?id=3130

-- Pavel

___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


[Pharo-project] Loading FFI into Pharo?

2010-10-21 Thread Friedrich Dominicus
In the end I'm trying to get ODBC running Pharo 1.1. I checked the docs
and this should work:

ScriptLoader loadFFI.

for loading the FFI stuff. If I try that I get the message that this
selector is unkwown. What am I supposed to do to get it known?

Regards
Friedrich

___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] Looking for real-world Magma application

2010-10-21 Thread Dennis Schetinin
Is your database abstraction layer description available somewhere? Or it's
a secret weapon?

2010/10/21 Johan Brichau jo...@inceptive.be

 Hi Igor,

 I guess that you are referring to us ;-)

 We indeed switched from Magma to GOODS and now to Gemstone, mainly because
 of performance issues.
 To remain db-independent, we have created a database abstraction layer that
 can be used with any of the aforementioned databases. We are currently
 preparing to open-source the generic part and we can send you our specific
 Magma specialization with representative queries made by our application.

 We should be able to get that to you asap!

 Johan

 On 21 Oct 2010, at 08:33, Igor Stasenko wrote:

  Hello all,
  sorry for cross-posting. :)
 
  I'd like to ask you, if anyone could share either an image or
  installation with application,
  which using Magma OODB.
  I'd like to use it  test how changing different aspects of Magma
  internals could affect the performance.
 
  There's many tricks, which is known by Chris how to speed it up by
  cleverly fine-tuning various Magma options,
  like read strategy etc.
  But what i'd like is to see, is some setup, used by people, and by
  taking it, see how it could make run faster,
  without changing an application code.
 
  I remember, someone gave a talk @ ESUG, that they were using Magma for
  their application,
  but then forced to switch to another DB layer, because they had bad
  performance issues.
  It would be good, if you could give me the code, so i can run it and
  see if things could be improved.
  Its not a problem, if code is not open-source, we could sign an NDA,
  if this is necessary.
 
  I need something real, simply because benchmarks sometimes not
  representative. :)
 
  --
  Best regards,
  Igor Stasenko AKA sig.
 
  ___
  Pharo-project mailing list
  Pharo-project@lists.gforge.inria.fr
  http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


 ___
 Pharo-project mailing list
 Pharo-project@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project




-- 
Dennis Schetinin
___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Re: [Pharo-project] Loading FFI into Pharo?

2010-10-21 Thread Friedrich Dominicus
Friedrich Dominicus fr...@q-software-solutions.de writes:

 In the end I'm trying to get ODBC running Pharo 1.1. I checked the docs
 and this should work:

 ScriptLoader loadFFI.

 for loading the FFI stuff. If I try that I get the message that this
 selector is unkwown. What am I supposed to do to get it known?
Ok the magic incarnaton is using ConfigurationOfFFI. well let's see if
it helps to get odbc running ;-)

Friedrich

___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


[Pharo-project] wrong network packages dependencies

2010-10-21 Thread Pavel Krivanek
Hi,

This list of dependencies makes Network package dependent on Morphic
and other high-level packages.

#('TextMessageLink emphasizeScanner: calls: textColor: '
'HTTPSocket class httpJpeg: calls: nextImage '
'HTTPSocket class httpShowPage: calls: openLabel: '
'HTTPSocket class httpShowChunk: calls: openLabel: '
'HTTPSocket class md5Hash: calls: hashMessage: md5HashMessage: '
'HTTPSocket class httpGetDocument:args:accept:request: calls: inspect '
'HTTPSocket class httpGif: calls: nextImage '
'SocketStream class finger: calls: getLine '
'MIMEDocument class guessTypeFromName: calls:
forURIReturnSingleMimeTypeOrDefault: '
'POP3Client class example calls: inspect ' 'Password passwordFor:
calls: typeWithDefault moniker '
'UUIDGenerator makeSeedFromSound calls: randomBitsFromSoundInput: '
'MailMessage viewBody calls: openLabel: ' 'MailMessage selfTest calls:
addressesIn: '
'MailMessage viewImageInBody calls: withForm: openInWorld drawingClass '
'MailtoUrl composeText calls: userName '
'MailtoUrl activate calls: sendMessage: '
'FtpUrl retrieveContents calls: server servers isTypeFTP server: directory: '
'URI openStream:forceNew:encoding: calls: openStream:mode:forceNew:encoding: '
'URI mimeType calls: forExtension: '
'POP3Client apopLogin calls: hashMessage: '
'SMTPClient mailFrom: calls: addressesIn: ')

-- Pavel

___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] wrong network packages dependencies

2010-10-21 Thread Pavel Krivanek
issue http://code.google.com/p/pharo/issues/detail?id=3133

On Thu, Oct 21, 2010 at 3:34 PM, Pavel Krivanek
pavel.kriva...@gmail.com wrote:
 Hi,

 This list of dependencies makes Network package dependent on Morphic
 and other high-level packages.

 #('TextMessageLink emphasizeScanner: calls: textColor: '
 'HTTPSocket class httpJpeg: calls: nextImage '
 'HTTPSocket class httpShowPage: calls: openLabel: '
 'HTTPSocket class httpShowChunk: calls: openLabel: '
 'HTTPSocket class md5Hash: calls: hashMessage: md5HashMessage: '
 'HTTPSocket class httpGetDocument:args:accept:request: calls: inspect '
 'HTTPSocket class httpGif: calls: nextImage '
 'SocketStream class finger: calls: getLine '
 'MIMEDocument class guessTypeFromName: calls:
 forURIReturnSingleMimeTypeOrDefault: '
 'POP3Client class example calls: inspect ' 'Password passwordFor:
 calls: typeWithDefault moniker '
 'UUIDGenerator makeSeedFromSound calls: randomBitsFromSoundInput: '
 'MailMessage viewBody calls: openLabel: ' 'MailMessage selfTest calls:
 addressesIn: '
 'MailMessage viewImageInBody calls: withForm: openInWorld drawingClass '
 'MailtoUrl composeText calls: userName '
 'MailtoUrl activate calls: sendMessage: '
 'FtpUrl retrieveContents calls: server servers isTypeFTP server: directory: '
 'URI openStream:forceNew:encoding: calls: openStream:mode:forceNew:encoding: '
 'URI mimeType calls: forExtension: '
 'POP3Client apopLogin calls: hashMessage: '
 'SMTPClient mailFrom: calls: addressesIn: ')

 -- Pavel


___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] Loading FFI into Pharo?

2010-10-21 Thread Schwab,Wilhelm K
I haven't had much trouble with it.  You can look in the inbox for Migrate (for 
how I load it) and the DolphinCompatibility package for things that I have 
added to the ODBC support. 



From: pharo-project-boun...@lists.gforge.inria.fr 
[pharo-project-boun...@lists.gforge.inria.fr] On Behalf Of Friedrich Dominicus 
[fr...@q-software-solutions.de]
Sent: Thursday, October 21, 2010 9:06 AM
To: Pharo-project@lists.gforge.inria.fr
Subject: Re: [Pharo-project] Loading FFI into Pharo?

Friedrich Dominicus fr...@q-software-solutions.de writes:

 In the end I'm trying to get ODBC running Pharo 1.1. I checked the docs
 and this should work:

 ScriptLoader loadFFI.

 for loading the FFI stuff. If I try that I get the message that this
 selector is unkwown. What am I supposed to do to get it known?
Ok the magic incarnaton is using ConfigurationOfFFI. well let's see if
it helps to get odbc running ;-)

Friedrich

___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


[Pharo-project] What is a primitive method?

2010-10-21 Thread Oscar E A Callau

Hi all,

 I have a (basic) question: 

What is a primitive method?

In pharo 1.1.1, we have CompiledMethodprimitive that basically return:

0 if the method is not a primitive method
0 otherwise

But if you execute this on i.e. NumberisNumber or Morph#model compiled 
methods you get that these two are primitive methods. Are they primitive 
methods?

Other (related) question is: When I executed the expression:

SystemNavigation default allPrimitiveMethods

, I get a OrderedCollection with 5581 elements. Are all those methods, 
primitive methods? 


Thanks in advance
___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] What is a primitive method?

2010-10-21 Thread Oscar E A Callau

On 21-10-2010, at 13:18, Oscar E A Callau wrote:

 
 Hi all,
 
 I have a (basic) question: 
 
 What is a primitive method?
 
 In pharo 1.1.1, we have CompiledMethodprimitive that basically return:
 
 0 if the method is not a primitive method
 0 otherwise

This must be, as follow
0 if the method is not a primitive method
(greater than 0) otherwise

(mail.app changes greater than symbol)


 
 But if you execute this on i.e. NumberisNumber or Morph#model compiled 
 methods you get that these two are primitive methods. Are they primitive 
 methods?
 
 Other (related) question is: When I executed the expression:
 
 SystemNavigation default allPrimitiveMethods
 
 , I get a OrderedCollection with 5581 elements. Are all those methods, 
 primitive methods? 
 
 
 Thanks in advance
 ___
 Pharo-project mailing list
 Pharo-project@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


[Pharo-project] Pharo problem with Windows 7

2010-10-21 Thread Christian Eduardo Palomares Peralta
Hi everyone

I'm new on Pharo, i downloaded pharo for Windows (
http://pharo-project.org/pharo-download), everything works fine until i try
to save a package in the Monticello Browser, the Snapshotting Methods
takes age. Several minutes pass and nothing is saved. Selecting a local
repository does not help neither in case squeaksource would be down.

I use the VM 4.0.2. I tried the Pharo1.1 one click image, the Windows
Installer, and the Seaside One click image. Same result.

When I press Alt-. the debugger always open on the  retryWithGC: in the
method:
MultiByteFileStreamopen: fileName forWrite: writeMode
Open the file with the given name. If writeMode is true, allow writing,
otherwise open the file in read-only mode.
Changed to do a GC and retry before failing ar 3/21/98 17:25
| f |
f := fileName asVmPathName.

fileID := StandardFileStream retryWithGC:[self primOpen: f writable:
writeMode]
until:[:id| id notNil]
forFileNamed: fileName.

I disabled my antivirus, but the problem persist

Does anyone can help me with this problem?

Thxs

-- 
Christian Eduardo Palomares Peralta (ShinjiDev) -
http://learningwebdev.blogspot.com
Administrador del Grupo Python-Perú
___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Re: [Pharo-project] Pharo problem with Windows 7

2010-10-21 Thread Alexandre Bergel
This is really strange.
We've tried for a while to save a rep on a local repository, on squeaksource, 
no success...

Anyone experienced this already?

Cheers,
Alexandre


On 21 Oct 2010, at 17:30, Christian Eduardo Palomares Peralta wrote:

 Hi everyone
 
 I'm new on Pharo, i downloaded pharo for Windows 
 (http://pharo-project.org/pharo-download), everything works fine until i try 
 to save a package in the Monticello Browser, the Snapshotting Methods takes 
 age. Several minutes pass and nothing is saved. Selecting a local repository 
 does not help neither in case squeaksource would be down.
 
 I use the VM 4.0.2. I tried the Pharo1.1 one click image, the Windows 
 Installer, and the Seaside One click image. Same result.
 
 When I press Alt-. the debugger always open on the  retryWithGC: in the 
 method:
 MultiByteFileStreamopen: fileName forWrite: writeMode 
   Open the file with the given name. If writeMode is true, allow 
 writing, otherwise open the file in read-only mode.
   Changed to do a GC and retry before failing ar 3/21/98 17:25
   | f |
   f := fileName asVmPathName.
 
   fileID := StandardFileStream retryWithGC:[self primOpen: f writable: 
 writeMode] 
   until:[:id| id notNil] 
   forFileNamed: fileName.
 
 I disabled my antivirus, but the problem persist
 
 Does anyone can help me with this problem?
 
 Thxs
 
 -- 
 Christian Eduardo Palomares Peralta (ShinjiDev) - 
 http://learningwebdev.blogspot.com
 Administrador del Grupo Python-Perú
 ___
 Pharo-project mailing list
 Pharo-project@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


[Pharo-project] Pharocasts: Install Pharo on OSX

2010-10-21 Thread laurent laffont
Hi,

The first screencast with my new toolbox and the first one with my voice
(don't hesitate to bash me :) and in HD format.

So finally the Install Pharo on OSX screencast is here:
http://www.pharocasts.com/2010/10/install-pharo-on-osx.html

Cheers,

Laurent Laffont

Pharo Smalltalk Screencasts: http://www.pharocasts.com/
Blog: http://magaloma.blogspot.com/
___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

[Pharo-project] Morphic application to production questions

2010-10-21 Thread Esteban Lorenzano

Hi,
Finally I managed to get one application made with morphic. I developed 
the app inside a StandardWindow, and that's ok, but now I want to move 
it to production, so I need to do some tasks, some of them easy to 
solve, and some of them not (at least for me).

This is what I think is needed:

1) remove all morphs (this is easy, already done)
2) add morphs in world instead StandardWindow (easy too, and already done).
3) disable control+click, cmd+., etc. (I don't know how to do this)
4) disable morph drags (my morphs, placed inside the world, can be 
moved, I don't want that)

5) change the behavior of quit when pressing close window (red button)
6) disable debugger on errors

...and I don't know if there are other things.

Can you help me with points 3-6?
Do you know other tasks needed?

Thanks,
Esteban




___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] Morphic application to production questions

2010-10-21 Thread Esteban Lorenzano

I need to disable the world menu too

On 2010-10-21 19:20:48 -0300, Esteban Lorenzano 
esteba...@gmail.com said:



Hi,
Finally I managed to get one application made with morphic. I developed
the app inside a StandardWindow, and that's ok, but now I want to move
it to production, so I need to do some tasks, some of them easy to
solve, and some of them not (at least for me).
This is what I think is needed:

1) remove all morphs (this is easy, already done)
2) add morphs in world instead StandardWindow (easy too, and already done).
3) disable control+click, cmd+., etc. (I don't know how to do this)
4) disable morph drags (my morphs, placed inside the world, can be
moved, I don't want that)
5) change the behavior of quit when pressing close window (red button)
6) disable debugger on errors

...and I don't know if there are other things.

Can you help me with points 3-6?
Do you know other tasks needed?

Thanks,
Esteban





___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] What is a primitive method?

2010-10-21 Thread Eliot Miranda
Hi Oscar,

see Object classwhatIsAPrimitive.  Further, most of the primitive
methods you're seeing are methods that answer self, nil, true false or an
inst var.  See the difference between these:

SystemNavigation new browseAllSelect: [:m| m isQuick]

SystemNavigation new browseAllSelect: [:m| m primitive  0 and: [m isQuick
not]]

SystemNavigation new browseAllSelect: [:m| m primitive  0 and: [m isQuick
not and: [(#(117 120) includes: m primitive) not]]]

HTH
Eliot

On Thu, Oct 21, 2010 at 9:18 AM, Oscar E A Callau oalva...@dcc.uchile.clwrote:


 Hi all,

 I have a (basic) question:

 What is a primitive method?

 In pharo 1.1.1, we have CompiledMethodprimitive that basically return:

 0 if the method is not a primitive method
 0 otherwise

 But if you execute this on i.e. NumberisNumber or Morph#model compiled
 methods you get that these two are primitive methods. Are they primitive
 methods?

 Other (related) question is: When I executed the expression:

 SystemNavigation default allPrimitiveMethods

 , I get a OrderedCollection with 5581 elements. Are all those methods,
 primitive methods?


 Thanks in advance
 ___
 Pharo-project mailing list
 Pharo-project@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

[Pharo-project] Pharo problem with Windows 7

2010-10-21 Thread Torsten Bergmann
What is the value of f (the filename) when you hit Alt+. ?

Where did you install? Maybe it is a problem with 
the security to not being able to write under 
c:\Program Files\...?

Not able to test it here this week but
did you try to install Pharo under 
for instance c:\foo\ as an alternative and
try to run it from there?

If that doesnt help did you try to run Pharo as
Administrator (right click on exe should allow
you to do that), maybe you can also try to 
set the compatibility mode (right click on exe,
select Properties, then select compatibility 
to WinXP for instance).

Try that and report if any of this helps. 

Bye
T.









-- 
GMX DSL Doppel-Flat ab 19,99 euro;/mtl.! Jetzt auch mit 
gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl

___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


[Pharo-project] Morphic application to production questions

2010-10-21 Thread Torsten Bergmann
Dont know for the morphic stuff ... but I started
an ImageLocker package on squeaksource/PharoGoodies.

There are also some tips on deployment like disabling
sources/changes file. See
http://squeakvm.org/win32/custom.html


Regarding Cmd+.  there is a setting #cmdDotEnabled
Be warned: If you disable it you may not be
able to stop the app.

Maybe it is better to patch the system to 
ask for a password before allowing you to open
the debugger. AFAIK this is what the Teleplace client
(based on Squeak) does.

Maybe we provide a hook for that in Pharo later.

See also UserInterruptHandlerhandleUserInterrupt

Bye
T.

-- 
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail

___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] Loading FFI into Pharo?

2010-10-21 Thread Friedrich Dominicus
Schwab,Wilhelm K bsch...@anest.ufl.edu writes:

 I haven't had much trouble with it.  You can look in the inbox for
 Migrate (for how I load it) and the DolphinCompatibility package for
 things that I have added to the ODBC support.  
Are there any usage examples for ODBC and Pharo or is it go out and find
out yourself? And another maybe stupid question has anyone used it for
accessing .mdb databases from MS-Access?

Regards
Friedrich
-- 
Q-Software Solutions GmbH; Sitz: Bruchsal; Registergericht: Mannheim 
Registriernummer: HRB232138; Geschaeftsfuehrer: Friedrich Dominicus

___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project