Re: [Pharo-project] databases

2010-02-18 Thread Adrian Lienhard
On Feb 18, 2010, at 00:43 , csra...@bol.com.br wrote:

 All those interesting pieces of information about what works and what does 
 not is very valuable.
 
 Is there a means of having a place in Pharo Wiki where we could publish and 
 update this?

Yes, sure. Please add a page to the wiki http://code.google.com/p/pharo/w/list 
(if you don't have access, please send me the mail address of your google 
account).

Some of the mentioned DB clients are also listed here: 
http://code.google.com/p/pharo/wiki/PackagesTestedInPharo

Cheers,
Adrian

 
 --
 Cesar Rabak
 
 
 Em 17/02/2010 13:05, Germán Arduino  gardu...@gmail.com  escreveu:
 
 
 
 2010/2/17 Dave Woodward davewoodw...@promedmedical.net
 
 
 
 
 On 2/17/10 6:46 AM, Germán Arduino wrote:
 
 
 
 2010/2/17 laurent laffont laurent.laff...@gmail.com
 
 Hi,
 
 I would like to learn on Pharo + databases. I've seen there's several 
 solutions in both object and relational databases.
 - Which (open source) object database should I start with (most used) ?
 
 
 
 Magma is the option I select, but not tried yet on Pharo.
 
 
 
 
 Magma 1.0v43 works on Pharo,
 
 
 
 Good to know.
 
 
 
 
 ___
 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] inspiring CRUD like

2010-02-18 Thread Stéphane Ducasse
I think that the idea is really interesting to capture a lot of lists 
collection like application

http://www.query-vision.com/qv.html

Stef


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


[Pharo-project] Problems using java code importer with inFusion under windows

2010-02-18 Thread Fabrizio Perin
Hi,
i was using moose in windows and i had an error trying to use the function
import from Java source with inFusion. Seems that OSProcess doesn't work
properly. To reproduce the error just try to import java code using
this function in the Moose panel in windows. In Mac i never had problem
using that cool function.

Anybody can help me to figure out where the problem is?

Thanks in advance for the support,

Fabrizio

PS: Here the stack trace:

--- The full stack ---
UndefinedObject(Object)doesNotUnderstand: #nextPutAll:
ExternalWindowsOSProcessvalue
ExternalWindowsOSProcess classcommand:
WindowsProcesscommand:
WindowsProcesswaitForCommand:
OSProcess classwaitForCommand:
MooseImportFromJavaSourceFilesWizardvalidateImportation
[] in MooseImportFromJavaSourceFilesWizardperformTerminateButtonAction
[] in ProgressInitiationExceptiondefaultAction
BlockClosureensure:
ProgressInitiationExceptiondefaultAction
UndefinedObjecthandleSignal:
MethodContext(ContextPart)handleSignal:
ProgressInitiationException(Exception)signal
ProgressInitiationExceptiondisplay:at:from:to:during:
ProgressInitiationException classdisplay:at:from:to:during:
PSUIManager(MorphicUIManager)displayProgress:at:from:to:during:
MooseImportFromJavaSourceFilesWizardperformTerminateButtonAction
WizardLastPaneterminateButtonAction
PluggableButtonMorphPlus(PluggableButtonMorph)performAction
PluggableButtonMorphPlusperformAction
[] in PluggableButtonMorphPlus(PluggableButtonMorph)mouseUp:
Array(SequenceableCollection)do:
PluggableButtonMorphPlus(PluggableButtonMorph)mouseUp:
PluggableButtonMorphPlusmouseUp:
PluggableButtonMorphPlus(Morph)handleMouseUp:
MouseButtonEventsentTo:
PluggableButtonMorphPlus(Morph)handleEvent:
PluggableButtonMorphPlus(Morph)handleFocusEvent:
[] in HandMorphsendFocusEvent:to:clear:
[] in PasteUpMorphbecomeActiveDuring:
BlockClosureon:do:
PasteUpMorphbecomeActiveDuring:
HandMorphsendFocusEvent:to:clear:
HandMorphsendEvent:focus:clear:
HandMorphsendMouseEvent:
HandMorphhandleEvent:
HandMorphprocessEvents
[] in WorldStatedoOneCycleNowFor:
 - - - - - - - - - - - - - - -
 - - - - - - - - - - - - - - - - - -
Array(SequenceableCollection)do:
WorldStatehandsDo:
WorldStatedoOneCycleNowFor:
WorldStatedoOneCycleFor:
PasteUpMorphdoOneCycle
[] in Project classspawnNewProcess
[] in BlockClosurenewProcess
___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Re: [Pharo-project] Problems using java code importer with inFusion under windows

2010-02-18 Thread Cyrille Delaunay
The command send to OSProcess is a Unix-specific command .This command
generate the mse file usimg the '.sh' file from inFusion. The solution add a
condition, and use the .bat file (and the command line that come with ) if
the OS is windows.

2010/2/18 Fabrizio Perin fabrizio.pe...@gmail.com

 Hi,
 i was using moose in windows and i had an error trying to use the function
 import from Java source with inFusion. Seems that OSProcess doesn't work
 properly. To reproduce the error just try to import java code using
 this function in the Moose panel in windows. In Mac i never had problem
 using that cool function.

 Anybody can help me to figure out where the problem is?

 Thanks in advance for the support,

 Fabrizio

 PS: Here the stack trace:

 --- The full stack ---
 UndefinedObject(Object)doesNotUnderstand: #nextPutAll:
 ExternalWindowsOSProcessvalue
 ExternalWindowsOSProcess classcommand:
 WindowsProcesscommand:
 WindowsProcesswaitForCommand:
 OSProcess classwaitForCommand:
 MooseImportFromJavaSourceFilesWizardvalidateImportation
 [] in MooseImportFromJavaSourceFilesWizardperformTerminateButtonAction
 [] in ProgressInitiationExceptiondefaultAction
 BlockClosureensure:
 ProgressInitiationExceptiondefaultAction
 UndefinedObjecthandleSignal:
 MethodContext(ContextPart)handleSignal:
 ProgressInitiationException(Exception)signal
 ProgressInitiationExceptiondisplay:at:from:to:during:
 ProgressInitiationException classdisplay:at:from:to:during:
 PSUIManager(MorphicUIManager)displayProgress:at:from:to:during:
 MooseImportFromJavaSourceFilesWizardperformTerminateButtonAction
 WizardLastPaneterminateButtonAction
 PluggableButtonMorphPlus(PluggableButtonMorph)performAction
 PluggableButtonMorphPlusperformAction
 [] in PluggableButtonMorphPlus(PluggableButtonMorph)mouseUp:
 Array(SequenceableCollection)do:
 PluggableButtonMorphPlus(PluggableButtonMorph)mouseUp:
 PluggableButtonMorphPlusmouseUp:
 PluggableButtonMorphPlus(Morph)handleMouseUp:
 MouseButtonEventsentTo:
 PluggableButtonMorphPlus(Morph)handleEvent:
 PluggableButtonMorphPlus(Morph)handleFocusEvent:
 [] in HandMorphsendFocusEvent:to:clear:
 [] in PasteUpMorphbecomeActiveDuring:
 BlockClosureon:do:
 PasteUpMorphbecomeActiveDuring:
 HandMorphsendFocusEvent:to:clear:
 HandMorphsendEvent:focus:clear:
 HandMorphsendMouseEvent:
 HandMorphhandleEvent:
 HandMorphprocessEvents
 [] in WorldStatedoOneCycleNowFor:
  - - - - - - - - - - - - - - -
  - - - - - - - - - - - - - - - - - -
 Array(SequenceableCollection)do:
 WorldStatehandsDo:
 WorldStatedoOneCycleNowFor:
 WorldStatedoOneCycleFor:
 PasteUpMorphdoOneCycle
 [] in Project classspawnNewProcess
 [] in BlockClosurenewProcess





 ___
 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] inspiring CRUD like

2010-02-18 Thread Geert Claes

Looks a bit like an ugly and light version of DabbleDB :)
-- 
View this message in context: 
http://n4.nabble.com/inspiring-CRUD-like-tp1559798p1559928.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.

___
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] #10511

2010-02-18 Thread Stéphane Ducasse
just a question.
I remember that we discussed sort: / sorted (check 25 december 2009 thread)

- sort: should be understood by 
SortedCollection and all the others more or less for inplace 
change

and what is missing is sorted returning a new version

So marcus is  sort: (in place that you add?)
We should create an issue for sorted 

Stef


On Feb 17, 2010, at 8:15 PM, Marcus Denker wrote:

 10511
 -
 
 Issue 1984:   add sort: for Seaside
 --
 Marcus Denker  -- http://www.marcusdenker.de
 INRIA Lille -- Nord Europe. Team RMoD.
 
 
 ___
 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] Issue 1884: NetNameResolver doesn't work in PharoCore

2010-02-18 Thread Stéphane Ducasse
thanks for the information. 

Stef


 On 2/17/10 5:03 PM, Miguel Enrique Cobá Martinez wrote:
 El mié, 17-02-2010 a las 16:12 -0500, Dave Woodward escribió:
 
 I got it working in OS X by also changing the tcp/ip IPv6 setting from
 Automatically to Off.  I haven't tried it in Linux yet.  Hope this
 helps.
 
 I don't understand, what you changed, the OS X settings or the image
 code settings (I didn't know about settings for ipv6 in pharo).
 
 I had to do both changes.  I changed the NetNameResolver in the image, 
 AND I changed OS X's settings.  I believe that it didn't work without 
 also changing OS X.
 
 FWIW, I worked on a project last year that used Erlang, and it had the 
 same problem on OS X.  I know IPv6 is supposed to be the new standard 
 and all, but it sure seems to cause more problems when its on than off :).
 Maybe unrelated, some months ago, my wife's macbook caused my linux
 laptop to disconnect every time she connected to the wireless network.
 We had any idea but after a while we noticed that even if I had a
 perfect working connection after she connected my connection crashed.
 I had to disconnect, she connected, and then after she had a connection
 I connected.
 
 After some research I found that OS X had a setting in the airport
 configuration about ipv6. I disabled it lefting only the ipv4 settings
 enabled.
 
 We never had a problem after that.
 
 As I said, maybe unrelated but... mac os, ipv6, problems.
 
 Cheers
 -- 
 Dave Woodward
 ...
 www.promedmedical.net
 davewoodw...@promedmedical.net
 
 
 ___
 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] So your working on a cool project and Pharo crashes

2010-02-18 Thread Stéphane Ducasse
I imagine that you can also recoever from another image.
At least in VW we could do that.
Nathan the first thing to do is to copy your image/changes because each time to 
receover you add
new info to you changes.

So if you screw it up now. Go back to before the first time you crashed because 
all your changes are
still there. This is juts a matter of identifying them. Pay attention that we 
do not have classDefinition
as in Cuis and VW so doit for class definition should be replayed too.

finally did you save your code with monticello?
Because this is the best way, publish often.

Stef



On Feb 18, 2010, at 7:25 AM, Alexandre Bergel wrote:

 The change file needs to have the same name than the image to have it  
 listed when you do a recover lost changes.
 Else, you can simply edit the .changes using any (robust) text editor.  
 Cut and paste what you feel relevant into a new file that you name  
 yourchanges.cs
 You then have created a changeset file, which can be easily loaded  
 with a drag and drop from your OS desktop to the Pharo image.  
 Alternatively, you can use the file loader.
 
 Hope it helps.
 
 Cheers,
 Alexandre
 
 On 18 Feb 2010, at 03:13, Nathan Tuttle wrote:
 
 One thing. It looks like there is a changes file that has more up to  
 date information. How do I pull this in?
 
 On Wed, Feb 17, 2010 at 11:44 PM, Alexandre Bergel alexan...@bergel.eu 
 wrote:
 I also had the very same feeling the first times I used the recover
 lost changes option.  Now that I gained experience, I live
 comfortably with it.
 
 Cheers,
 Alexandre
 
 On 18 Feb 2010, at 02:37, Nathan Tuttle wrote:
 
 actually, to tell  the truth I figured out how to get most of my
 methods back. But not the right versions. I wonder if I can back out
 the changes and try to select the ones that I do need, but there are
 soo many.
 
 It does throw an error when I select multiple changesets. When I use
 the remove do it that helps the most.
 
 its just such a mess right now
 
 On Wed, Feb 17, 2010 at 11:23 PM, Alexandre Bergel alexan...@bergel.eu
 wrote:
 Hi Nathan,
 
 Is there any way to do a recovery besides the Recover Lost Changes
 option that doesn't seem to work?
 
 What do you mean by doesn't seem to work? I have always been happy
 with it.
 Does it raise an error?
 
 It seems the change log that was left behind has some promising
 things in it.
 
 
 You can directly inspect the .changes file next to your image.
 
 Cheers,
 Alexandre
 --
 _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
 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 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 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 mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] inspiring CRUD like

2010-02-18 Thread Stéphane Ducasse
Yes but I would love to have one like that in opensource mode that we can tweak 
it.

Stef

On Feb 18, 2010, at 11:41 AM, Geert Claes wrote:

 
 Looks a bit like an ugly and light version of DabbleDB :)
 -- 
 View this message in context: 
 http://n4.nabble.com/inspiring-CRUD-like-tp1559798p1559928.html
 Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
 
 ___
 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] databases

2010-02-18 Thread Bart Gauquie
Dear All,

We've also created a (little) project that uses Magma:
http://www.squeaksource.com/SunnysidePlanning2/

http://www.squeaksource.com/SunnysidePlanning2/We've noticed, if you cache
the correct things, Magma is single user very fast; but also highly scalable
(ha options + the number of items it can hold in a collection).

Once the initial setUp was done, adding new behaviour on our domain objects
took no effort. No effort at all. It just got saved ...

Kind Regards,

Bart


2010/2/17 laurent laffont laurent.laff...@gmail.com

 Gofer new
 squeaksource: 'MetacelloRepository';
 package: 'ConfigurationOfMagma';
  load.
 (Smalltalk at:#ConfigurationOfMagma) project latestVersion load

 Fantastic !

 and there's also:
 ConfigurationOfGlorpDBX
 ConfigurationOfSQLite3
 ConfigurationOfSqueakDBX

 Laurent Laffont


 2010/2/17 Germán Arduino gardu...@gmail.com



 2010/2/17 Dave Woodward davewoodw...@promedmedical.net

  On 2/17/10 6:46 AM, Germán Arduino wrote:



 2010/2/17 laurent laffont laurent.laff...@gmail.com

 Hi,

  I would like to learn on Pharo + databases. I've seen there's several
 solutions in both object and relational databases.
 - Which (open source) object database should I start with (most used) ?



 Magma is the option I select, but not tried yet on Pharo.


 Magma 1.0v43 works on Pharo,



 Good to know.


 ___
 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




-- 
imagination is more important than knowledge - Albert Einstein
Logic will get you from A to B. Imagination will take you everywhere -
Albert Einstein
Learn from yesterday, live for today, hope for tomorrow. The important thing
is not to stop questioning. - Albert Einstein
The true sign of intelligence is not knowledge but imagination. - Albert
Einstein
However beautiful the strategy, you should occasionally look at the results.
- Sir Winston Churchill
It's not enough that we do our best; sometimes we have to do what's
required. - Sir Winston Churchill
___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Re: [Pharo-project] databases

2010-02-18 Thread Stéphane Ducasse
I like the idea that you do not have to change your root class superclass to 
get it saved.

Stef

On Feb 17, 2010, at 9:08 PM, Matthias Berth wrote:

 Laurent,
 
 you might want to have a look at SqueakSave
 
  http://www.hpi.uni-potsdam.de/hirschfeld/projects/squeaksave/index.html
 
 an object-relational (O/R) mapping framework. It looks similar to the
 rails ActiveRecord framework (from what I have seen so far) so it
 might be fine in scenarios where you absolutely want a relational
 database.
 
 A bit older:
 
 http://video.google.com/videoplay?docid=-5024583807516452190hl=en#
 
 2010/2/17 laurent laffont laurent.laff...@gmail.com:
 Hi,
 I would like to learn on Pharo + databases. I've seen there's several
 solutions in both object and relational databases.
 - Which (open source) object database should I start with (most used) ?
 - Which object database can be accessed from Smalltalk AND  Ruby or Python ?
 How ?
 - I want to try MySQL too.
 Is there up to date small applications on squeaksource which show this stuff
 quite well ?
 Thanks for help !
 Laurent Laffont
 
 ___
 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] [update 1.1] #11214

2010-02-18 Thread Stéphane Ducasse

On Feb 17, 2010, at 8:03 PM, Marcus Denker wrote:

 11214
 -
 
 Issue 1945:   registration mechanism for the menu 
 Very nice, Alain!!!

alain this is really cool
Where is the menu created?

Stef



 Issue 1974:   remove #disableSubmorphFocusForHand: (part 1)
 --
 Marcus Denker  -- http://www.marcusdenker.de
 INRIA Lille -- Nord Europe. Team RMoD.
 
 
 ___
 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] ConfigurationOfXMLSupport...

2010-02-18 Thread Stéphane Ducasse
Can you give the names of the files because I should have them on my disc :)

Stef

On Feb 17, 2010, at 8:40 PM, Alexandre Bergel wrote:

 I am not sure to understand. Running XML-Testing in my image results  
 in 835 run, 789 errors. These tests rely on external files that I have  
 no clue where to find them.
 
 Cheers,
 Alexandre
 
 
 On 17 Feb 2010, at 08:12, Tudor Girba wrote:
 
 I also used it for several projects without problems.
 
 Cheers,
 Doru
 
 
 On 17 Feb 2010, at 12:09, George Herolyants wrote:
 
 2010/2/17 Stéphane Ducasse stephane.duca...@inria.fr:
 I would be good to make the test of mike running.
 
 It runs without much problems. I did it. But a lot of the tests fail
 or execute with errors. I don't know if it's supposed to be so or  
 not.
 
 ___
 Pharo-project mailing list
 Pharo-project@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
 
 --
 www.tudorgirba.com
 
 Speaking louder won't make the point worthier.
 
 
 ___
 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 mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] ConfigurationOfXMLSupport...

2010-02-18 Thread George Herolyants
2010/2/18 Stéphane Ducasse stephane.duca...@inria.fr:
 Can you give the names of the files because I should have them on my disc :)

Of course: http://www.oasis-open.org/committees/xmltest/xmlconf-19990712.zip.
Actually this is mentioned in the class comment of the XMLParserTests
from the XML-Testing package. There are also instructions on how to
configure your environment to use these files. Here's a part of it:

XMLParserTests uses XML tests by James Clark, Sun, and OASIS. These
tests are distributed as test suite by OASIS at:
http://www.oasis-open.org/committees/xmltest/xmlconf-19990712.zip This
link can be found on the page:
http://www.oasis-open.org/committees/xmltest/testsuite.htm.

To run the test suite you must:
Install the OASIS test suite on your hard drive
Edit the class method baseTestDirectory to include the full path of
the directory containing the OASIS test suite.
install Sunit.
Run the tests the standard way: TestRunner open

Actually the page mentioned doesn't exist anymore AFAICS, because they
have the Second Edition of this test suite now:
http://www.oasis-open.org/committees/xml-conformance/xml-test-suite.shtml
and the test suite itself:
http://www.oasis-open.org/committees/xml-conformance/suite-v1se/xmlconf-20010315.tar.gz

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


[Pharo-project] Window resize

2010-02-18 Thread Torsten Bergmann
Is there an event when the Squeak window is resized,
so one can react and resize morphs accordingly?

Thx
T.
-- 
NEU: Mit GMX DSL über 1000,- ¿ sparen!
http://portal.gmx.net/de/go/dsl02

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


Re: [Pharo-project] ConfigurationOfXMLSupport...

2010-02-18 Thread George Herolyants
2010/2/17 Alexandre Bergel alexan...@bergel.eu:
 Hi George,

 I included your change found on http://bugs.squeak.org/view.php?
 id=7441 in XML-Parser-Alexandre_Bergel.27
 The test of CAnalyzer and Adore (which intensively use XMLParser) are
 ok.

 Thanks for your improvement.

Thank you! Glad to help. :)

George

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


Re: [Pharo-project] ConfigurationOfXMLSupport...

2010-02-18 Thread George Herolyants
2010/2/17 Alexandre Bergel alexan...@bergel.eu:
 I am not sure to understand. Running XML-Testing in my image results
 in 835 run, 789 errors. These tests rely on external files that I have
 no clue where to find them.

Running these tests with required files gives the following results:
835 run, 303 passes, 0 expected failures, 481 failures, 51 errors, 0
unexpected passes

And for the Second Edition of the test suite:
835 run, 300 passes, 0 expected failures, 481 failures, 54 errors, 0
unexpected passes

___
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.1] #11214

2010-02-18 Thread Alain Plantec
Stéphane Ducasse a écrit :
 On Feb 17, 2010, at 8:03 PM, Marcus Denker wrote:

   
 11214
 -

 Issue 1945:  registration mechanism for the menu 
 Very nice, Alain!!!
 

 alain this is really cool
   
thanks
 Where is the menu created?
   
see PasteUpMorphinvokeWorldMenu: evt.

the menu building is implemented in WorldState.
see the #'world menu building' method category.

to see all menu registration methods, just browse all senders to
#worldMenu (the pragma keyword).

See also MenuRegistration and PragmaMenuBuilder comments.

Alain
 Stef



   
 Issue 1974:  remove #disableSubmorphFocusForHand: (part 1)
 --
 Marcus Denker  -- http://www.marcusdenker.de
 INRIA Lille -- Nord Europe. Team RMoD.


 ___
 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] Polymorph: Window with title

2010-02-18 Thread Gary Chambers
Yes, #labelled: does a basic new, sets label then an initialize.
#initialize for a StandardWindow sets a default title and so overwrites the 
previous specified label.

IMHO this is an abuse of #intialize in the #labelled: method! Probably done 
for performance (though likely undetectable).

I suggest rewriting #labelled: to

^self new setLabel: labelString

Regards, Gary

- Original Message - 
From: Torsten Bergmann asta...@gmx.de
To: pharo-project@lists.gforge.inria.fr
Sent: Thursday, February 18, 2010 12:41 AM
Subject: [Pharo-project] Polymorph: Window with title


 Hi Gary,

 there is a difference here, first one displays the title
 while the second one not:

   window := SystemWindow labelled: 'Foo'.
   window openInWorld

 vs.

   window := StandardWindow labelled: 'Foo'.
   window openInWorld

 An explicit #title: call is required here.

 Bye
 T.
 -- 
 Sicherer, schneller und einfacher. Die aktuellen Internet-Browser -
 jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/atbrowser

 ___
 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] Window resize

2010-02-18 Thread Gary Chambers
Not yet... perhaps an announcement could be done in 
PasteUpMorphrestoreMorphicDisplay.
Alternatively, some sort of layout policy could be used on the World for 
your example.

Regards, Gary

- Original Message - 
From: Torsten Bergmann asta...@gmx.de
To: squeak-...@lists.squeakfoundation.org; 
pharo-project@lists.gforge.inria.fr
Sent: Thursday, February 18, 2010 11:39 AM
Subject: [Pharo-project] Window resize


Is there an event when the Squeak window is resized,
so one can react and resize morphs accordingly?

Thx
T.
-- 
NEU: Mit GMX DSL über 1000,- ¿ sparen!
http://portal.gmx.net/de/go/dsl02

___
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] ConfigurationOfXMLSupport...

2010-02-18 Thread Stéphane Ducasse
thanks 
Indded I found xmlconf.zip on my disc

now what would be great is to be able to have such files used by the tests.

Stef

On Feb 18, 2010, at 12:34 PM, George Herolyants wrote:

 2010/2/18 Stéphane Ducasse stephane.duca...@inria.fr:
 Can you give the names of the files because I should have them on my disc :)
 
 Of course: http://www.oasis-open.org/committees/xmltest/xmlconf-19990712.zip.
 Actually this is mentioned in the class comment of the XMLParserTests
 from the XML-Testing package. There are also instructions on how to
 configure your environment to use these files. Here's a part of it:
 
 XMLParserTests uses XML tests by James Clark, Sun, and OASIS. These
 tests are distributed as test suite by OASIS at:
 http://www.oasis-open.org/committees/xmltest/xmlconf-19990712.zip This
 link can be found on the page:
 http://www.oasis-open.org/committees/xmltest/testsuite.htm.
 
 To run the test suite you must:
   Install the OASIS test suite on your hard drive
   Edit the class method baseTestDirectory to include the full path of
 the directory containing the OASIS test suite.
   install Sunit.
   Run the tests the standard way: TestRunner open
 
 Actually the page mentioned doesn't exist anymore AFAICS, because they
 have the Second Edition of this test suite now:
 http://www.oasis-open.org/committees/xml-conformance/xml-test-suite.shtml
 and the test suite itself:
 http://www.oasis-open.org/committees/xml-conformance/suite-v1se/xmlconf-20010315.tar.gz
 
 ___
 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] ConfigurationOfXMLSupport...

2010-02-18 Thread George Herolyants
2010/2/18 George Herolyants george.herolya...@gmail.com:
 Running these tests with required files gives the following results:
 835 run, 303 passes, 0 expected failures, 481 failures, 51 errors, 0
 unexpected passes

 And for the Second Edition of the test suite:
 835 run, 300 passes, 0 expected failures, 481 failures, 54 errors, 0
 unexpected passes

Oh, sorry. Running them on the latest version of XML-Parser gives
835 run, 291 passes, 0 expected failures, 493 failures, 51 errors, 0
unexpected passes
and
835 run, 288 passes, 0 expected failures, 493 failures, 54 errors, 0
unexpected passes
respectively.

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


Re: [Pharo-project] So your working on a cool project and Pharocrashes

2010-02-18 Thread Gary Chambers
We have a few simple enhancements for ChangeList/ChangeRecord that 
identifies class defs, method removals etc.
That way one can remove doits while keeping class definitions etc.

I can post a changeset if anyone is interested.

Regards, Gary

- Original Message - 
From: Stéphane Ducasse stephane.duca...@inria.fr
To: Pharo-project@lists.gforge.inria.fr
Sent: Thursday, February 18, 2010 10:58 AM
Subject: Re: [Pharo-project] So your working on a cool project and 
Pharocrashes


I imagine that you can also recoever from another image.
 At least in VW we could do that.
 Nathan the first thing to do is to copy your image/changes because each 
 time to receover you add
 new info to you changes.

 So if you screw it up now. Go back to before the first time you crashed 
 because all your changes are
 still there. This is juts a matter of identifying them. Pay attention that 
 we do not have classDefinition
 as in Cuis and VW so doit for class definition should be replayed too.

 finally did you save your code with monticello?
 Because this is the best way, publish often.

 Stef



 On Feb 18, 2010, at 7:25 AM, Alexandre Bergel wrote:

 The change file needs to have the same name than the image to have it
 listed when you do a recover lost changes.
 Else, you can simply edit the .changes using any (robust) text editor.
 Cut and paste what you feel relevant into a new file that you name
 yourchanges.cs
 You then have created a changeset file, which can be easily loaded
 with a drag and drop from your OS desktop to the Pharo image.
 Alternatively, you can use the file loader.

 Hope it helps.

 Cheers,
 Alexandre

 On 18 Feb 2010, at 03:13, Nathan Tuttle wrote:

 One thing. It looks like there is a changes file that has more up to
 date information. How do I pull this in?

 On Wed, Feb 17, 2010 at 11:44 PM, Alexandre Bergel alexan...@bergel.eu
 wrote:
 I also had the very same feeling the first times I used the recover
 lost changes option.  Now that I gained experience, I live
 comfortably with it.

 Cheers,
 Alexandre

 On 18 Feb 2010, at 02:37, Nathan Tuttle wrote:

 actually, to tell  the truth I figured out how to get most of my
 methods back. But not the right versions. I wonder if I can back out
 the changes and try to select the ones that I do need, but there are
 soo many.

 It does throw an error when I select multiple changesets. When I use
 the remove do it that helps the most.

 its just such a mess right now

 On Wed, Feb 17, 2010 at 11:23 PM, Alexandre Bergel alexan...@bergel.eu
 wrote:
 Hi Nathan,

 Is there any way to do a recovery besides the Recover Lost Changes
 option that doesn't seem to work?

 What do you mean by doesn't seem to work? I have always been happy
 with it.
 Does it raise an error?

 It seems the change log that was left behind has some promising
 things in it.


 You can directly inspect the .changes file next to your image.

 Cheers,
 Alexandre
 --
 _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
 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 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 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 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] ConfigurationOfXMLSupport...

2010-02-18 Thread Alexandre Bergel
Michael sent me the files yesterday. I will see how to include them in  
the XML-Testing package.

Cheers,
Alexandre


On 18 Feb 2010, at 08:34, George Herolyants wrote:

 2010/2/18 Stéphane Ducasse stephane.duca...@inria.fr:
 Can you give the names of the files because I should have them on  
 my disc :)

 Of course: http://www.oasis-open.org/committees/xmltest/xmlconf-19990712.zip 
 .
 Actually this is mentioned in the class comment of the XMLParserTests
 from the XML-Testing package. There are also instructions on how to
 configure your environment to use these files. Here's a part of it:

 XMLParserTests uses XML tests by James Clark, Sun, and OASIS. These
 tests are distributed as test suite by OASIS at:
 http://www.oasis-open.org/committees/xmltest/xmlconf-19990712.zip This
 link can be found on the page:
 http://www.oasis-open.org/committees/xmltest/testsuite.htm.

 To run the test suite you must:
   Install the OASIS test suite on your hard drive
   Edit the class method baseTestDirectory to include the full path of
 the directory containing the OASIS test suite.
   install Sunit.
   Run the tests the standard way: TestRunner open

 Actually the page mentioned doesn't exist anymore AFAICS, because they
 have the Second Edition of this test suite now:
 http://www.oasis-open.org/committees/xml-conformance/xml-test-suite.shtml
 and the test suite itself:
 http://www.oasis-open.org/committees/xml-conformance/suite-v1se/xmlconf-20010315.tar.gz

 ___
 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


Re: [Pharo-project] So your working on a cool project and Pharocrashes

2010-02-18 Thread Fernando olivero
yes please! 

Cuis has class definition change reification, and i found it very useful to be 
able to do remove DoIts , when programming in CUIS.


On Feb 18, 2010, at 1:18 PM, Gary Chambers wrote:

 We have a few simple enhancements for ChangeList/ChangeRecord that 
 identifies class defs, method removals etc.
 That way one can remove doits while keeping class definitions etc.
 
 I can post a changeset if anyone is interested.
 
 Regards, Gary
 
 - Original Message - 
 From: Stéphane Ducasse stephane.duca...@inria.fr
 To: Pharo-project@lists.gforge.inria.fr
 Sent: Thursday, February 18, 2010 10:58 AM
 Subject: Re: [Pharo-project] So your working on a cool project and 
 Pharocrashes
 
 
 I imagine that you can also recoever from another image.
 At least in VW we could do that.
 Nathan the first thing to do is to copy your image/changes because each 
 time to receover you add
 new info to you changes.
 
 So if you screw it up now. Go back to before the first time you crashed 
 because all your changes are
 still there. This is juts a matter of identifying them. Pay attention that 
 we do not have classDefinition
 as in Cuis and VW so doit for class definition should be replayed too.
 
 finally did you save your code with monticello?
 Because this is the best way, publish often.
 
 Stef
 
 
 
 On Feb 18, 2010, at 7:25 AM, Alexandre Bergel wrote:
 
 The change file needs to have the same name than the image to have it
 listed when you do a recover lost changes.
 Else, you can simply edit the .changes using any (robust) text editor.
 Cut and paste what you feel relevant into a new file that you name
 yourchanges.cs
 You then have created a changeset file, which can be easily loaded
 with a drag and drop from your OS desktop to the Pharo image.
 Alternatively, you can use the file loader.
 
 Hope it helps.
 
 Cheers,
 Alexandre
 
 On 18 Feb 2010, at 03:13, Nathan Tuttle wrote:
 
 One thing. It looks like there is a changes file that has more up to
 date information. How do I pull this in?
 
 On Wed, Feb 17, 2010 at 11:44 PM, Alexandre Bergel alexan...@bergel.eu
 wrote:
 I also had the very same feeling the first times I used the recover
 lost changes option.  Now that I gained experience, I live
 comfortably with it.
 
 Cheers,
 Alexandre
 
 On 18 Feb 2010, at 02:37, Nathan Tuttle wrote:
 
 actually, to tell  the truth I figured out how to get most of my
 methods back. But not the right versions. I wonder if I can back out
 the changes and try to select the ones that I do need, but there are
 soo many.
 
 It does throw an error when I select multiple changesets. When I use
 the remove do it that helps the most.
 
 its just such a mess right now
 
 On Wed, Feb 17, 2010 at 11:23 PM, Alexandre Bergel alexan...@bergel.eu
 wrote:
 Hi Nathan,
 
 Is there any way to do a recovery besides the Recover Lost Changes
 option that doesn't seem to work?
 
 What do you mean by doesn't seem to work? I have always been happy
 with it.
 Does it raise an error?
 
 It seems the change log that was left behind has some promising
 things in it.
 
 
 You can directly inspect the .changes file next to your image.
 
 Cheers,
 Alexandre
 --
 _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
 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 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 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 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] #10511

2010-02-18 Thread Marcus Denker

On Feb 18, 2010, at 11:51 AM, Stéphane Ducasse wrote:

 just a question.
 I remember that we discussed sort: / sorted (check 25 december 2009 thread)
 
 - sort: should be understood by 
   SortedCollection and all the others more or less for inplace 
 change
 
 and what is missing is sorted returning a new version
 
 So marcus is  sort: (in place that you add?)

yes

 We should create an issue for sorted 
 

the sorting protocol needs some cleanup, yes.

--
Marcus Denker  -- http://www.marcusdenker.de
INRIA Lille -- Nord Europe. Team RMoD.


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


[Pharo-project] Fwd: [squeak-dev] Window resize

2010-02-18 Thread Stéphane Ducasse


Begin forwarded message:

 From: pharo-project-ow...@lists.gforge.inria.fr
 Date: February 18, 2010 1:33:02 PM GMT+01:00
 To: stephane.duca...@gmail.com
 Subject: Re: [squeak-dev] Window resize
 
 You are not allowed to post to this mailing list, and your message has
 been automatically rejected.  If you think that your messages are
 being rejected in error, contact the mailing list owner at
 pharo-project-ow...@lists.gforge.inria.fr.
 
 
 From: stephane ducasse stephane.duca...@gmail.com
 Date: February 18, 2010 1:32:56 PM GMT+01:00
 To: Pharo-project Development pharo-project@lists.gforge.inria.fr
 Subject: Re: [squeak-dev] Window resize
 
 
 I thought that events has been added in 1.1.
 Which version of pharo are you referring to.
 Alex I thought that we merged your changes
   Issue 1785: Window event notification
 but I cannot find them 
 Probably not integrated. I checked and the code is still in PharoTaskForces.
 Alex can you have a look because your package contains reference to 
 PackageNode...
 
 
 Stef
 
 On Feb 18, 2010, at 12:39 PM, Torsten Bergmann wrote:
 
 Is there an event when the Squeak window is resized,
 so one can react and resize morphs accordingly?
 
 Thx
 T.
 -- 
 NEU: Mit GMX DSL über 1000,- ¿ sparen!
 http://portal.gmx.net/de/go/dsl02
 
 
 
 
 

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

Re: [Pharo-project] ConfigurationOfXMLSupport...

2010-02-18 Thread Stéphane Ducasse
cool!!!
This is why I got them on my disc :)

Stef
On Feb 18, 2010, at 1:28 PM, Alexandre Bergel wrote:

 Michael sent me the files yesterday. I will see how to include them in  
 the XML-Testing package.
 
 Cheers,
 Alexandre
 
 
 On 18 Feb 2010, at 08:34, George Herolyants wrote:
 
 2010/2/18 Stéphane Ducasse stephane.duca...@inria.fr:
 Can you give the names of the files because I should have them on  
 my disc :)
 
 Of course: http://www.oasis-open.org/committees/xmltest/xmlconf-19990712.zip 
 .
 Actually this is mentioned in the class comment of the XMLParserTests
 from the XML-Testing package. There are also instructions on how to
 configure your environment to use these files. Here's a part of it:
 
 XMLParserTests uses XML tests by James Clark, Sun, and OASIS. These
 tests are distributed as test suite by OASIS at:
 http://www.oasis-open.org/committees/xmltest/xmlconf-19990712.zip This
 link can be found on the page:
 http://www.oasis-open.org/committees/xmltest/testsuite.htm.
 
 To run the test suite you must:
  Install the OASIS test suite on your hard drive
  Edit the class method baseTestDirectory to include the full path of
 the directory containing the OASIS test suite.
  install Sunit.
  Run the tests the standard way: TestRunner open
 
 Actually the page mentioned doesn't exist anymore AFAICS, because they
 have the Second Edition of this test suite now:
 http://www.oasis-open.org/committees/xml-conformance/xml-test-suite.shtml
 and the test suite itself:
 http://www.oasis-open.org/committees/xml-conformance/suite-v1se/xmlconf-20010315.tar.gz
 
 ___
 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 mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] So your working on a cool project and Pharocrashes

2010-02-18 Thread Stéphane Ducasse
Please do
Ideally I would like to have the classdefinition kind of idea similar to CUIS 
and VW.
But it requires some coding so that we can do it well.

Stef

On Feb 18, 2010, at 1:18 PM, Gary Chambers wrote:

 We have a few simple enhancements for ChangeList/ChangeRecord that 
 identifies class defs, method removals etc.
 That way one can remove doits while keeping class definitions etc.
 
 I can post a changeset if anyone is interested.
 
 Regards, Gary
 
 - Original Message - 
 From: Stéphane Ducasse stephane.duca...@inria.fr
 To: Pharo-project@lists.gforge.inria.fr
 Sent: Thursday, February 18, 2010 10:58 AM
 Subject: Re: [Pharo-project] So your working on a cool project and 
 Pharocrashes
 
 
 I imagine that you can also recoever from another image.
 At least in VW we could do that.
 Nathan the first thing to do is to copy your image/changes because each 
 time to receover you add
 new info to you changes.
 
 So if you screw it up now. Go back to before the first time you crashed 
 because all your changes are
 still there. This is juts a matter of identifying them. Pay attention that 
 we do not have classDefinition
 as in Cuis and VW so doit for class definition should be replayed too.
 
 finally did you save your code with monticello?
 Because this is the best way, publish often.
 
 Stef
 
 
 
 On Feb 18, 2010, at 7:25 AM, Alexandre Bergel wrote:
 
 The change file needs to have the same name than the image to have it
 listed when you do a recover lost changes.
 Else, you can simply edit the .changes using any (robust) text editor.
 Cut and paste what you feel relevant into a new file that you name
 yourchanges.cs
 You then have created a changeset file, which can be easily loaded
 with a drag and drop from your OS desktop to the Pharo image.
 Alternatively, you can use the file loader.
 
 Hope it helps.
 
 Cheers,
 Alexandre
 
 On 18 Feb 2010, at 03:13, Nathan Tuttle wrote:
 
 One thing. It looks like there is a changes file that has more up to
 date information. How do I pull this in?
 
 On Wed, Feb 17, 2010 at 11:44 PM, Alexandre Bergel alexan...@bergel.eu
 wrote:
 I also had the very same feeling the first times I used the recover
 lost changes option.  Now that I gained experience, I live
 comfortably with it.
 
 Cheers,
 Alexandre
 
 On 18 Feb 2010, at 02:37, Nathan Tuttle wrote:
 
 actually, to tell  the truth I figured out how to get most of my
 methods back. But not the right versions. I wonder if I can back out
 the changes and try to select the ones that I do need, but there are
 soo many.
 
 It does throw an error when I select multiple changesets. When I use
 the remove do it that helps the most.
 
 its just such a mess right now
 
 On Wed, Feb 17, 2010 at 11:23 PM, Alexandre Bergel alexan...@bergel.eu
 wrote:
 Hi Nathan,
 
 Is there any way to do a recovery besides the Recover Lost Changes
 option that doesn't seem to work?
 
 What do you mean by doesn't seem to work? I have always been happy
 with it.
 Does it raise an error?
 
 It seems the change log that was left behind has some promising
 things in it.
 
 
 You can directly inspect the .changes file next to your image.
 
 Cheers,
 Alexandre
 --
 _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
 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 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 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 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] cull: protocol

2010-02-18 Thread Henrik Johansen
Refactoring the AXAnnouncements abit so there's no separate classes for
0-, 1-, and 2-arg blocks, and really missing these methods from
VisualWorks...
cull: is equivalent to value: protocol except they accept block with N
or less blockArgs
Yes, I know valueWithEnoughArguments:/valueWithPossibleArgs: provide the
same functionality, but the code looks much less nice using them, you
end up constructing arrays needlessly etc.
Look at the senders of valueWithPossibleArgs: for examples, very few of
those actually need the ability to accept blocks with more arguments
than they provide, and would also look nicer with cull:.

Would anyone object strongly to adding the cull:, cull:cull: methods in
core instead of putting them as extension methods?

Cheers,
Henry

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


Re: [Pharo-project] Fwd: [squeak-dev] Window resize

2010-02-18 Thread Gary Chambers
I think Torsten meant the main Pharo host window...

Regards, Gary

  - Original Message - 
  From: Stéphane Ducasse 
  To: Pharo-project Development 
  Sent: Thursday, February 18, 2010 12:36 PM
  Subject: [Pharo-project] Fwd: [squeak-dev] Window resize






  Begin forwarded message:


From: pharo-project-ow...@lists.gforge.inria.fr

Date: February 18, 2010 1:33:02 PM GMT+01:00

To: stephane.duca...@gmail.com

Subject: Re: [squeak-dev] Window resize


You are not allowed to post to this mailing list, and your message has
been automatically rejected.  If you think that your messages are
being rejected in error, contact the mailing list owner at
pharo-project-ow...@lists.gforge.inria.fr.



From: stephane ducasse stephane.duca...@gmail.com

Date: February 18, 2010 1:32:56 PM GMT+01:00

To: Pharo-project Development pharo-project@lists.gforge.inria.fr

Subject: Re: [squeak-dev] Window resize



I thought that events has been added in 1.1.
Which version of pharo are you referring to.
Alex I thought that we merged your changes
Issue 1785: Window event notification
but I cannot find them 
Probably not integrated. I checked and the code is still in PharoTaskForces.
Alex can you have a look because your package contains reference to 
PackageNode...


Stef

On Feb 18, 2010, at 12:39 PM, Torsten Bergmann wrote:


  Is there an event when the Squeak window is resized,

  so one can react and resize morphs accordingly?



  Thx

  T.

  -- 

  NEU: Mit GMX DSL über 1000,- ¿ sparen!

  http://portal.gmx.net/de/go/dsl02












--


  ___
  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] So your working on a cool project andPharocrashes

2010-02-18 Thread Gary Chambers

Attached (after Pharofication (was for Squeak 3.9))...

Also has an menu option to remove items not matching an author, not sure how 
useful that is in pratice.


Regards, Gary

- Original Message - 
From: Fernando olivero olive...@lu.unisi.ch

To: Pharo-project@lists.gforge.inria.fr
Sent: Thursday, February 18, 2010 12:33 PM
Subject: Re: [Pharo-project] So your working on a cool project 
andPharocrashes



yes please!

Cuis has class definition change reification, and i found it very useful to 
be able to do remove DoIts , when programming in CUIS.



On Feb 18, 2010, at 1:18 PM, Gary Chambers wrote:


We have a few simple enhancements for ChangeList/ChangeRecord that
identifies class defs, method removals etc.
That way one can remove doits while keeping class definitions etc.

I can post a changeset if anyone is interested.

Regards, Gary

- Original Message - 
From: Stéphane Ducasse stephane.duca...@inria.fr

To: Pharo-project@lists.gforge.inria.fr
Sent: Thursday, February 18, 2010 10:58 AM
Subject: Re: [Pharo-project] So your working on a cool project and
Pharocrashes



I imagine that you can also recoever from another image.
At least in VW we could do that.
Nathan the first thing to do is to copy your image/changes because each
time to receover you add
new info to you changes.

So if you screw it up now. Go back to before the first time you crashed
because all your changes are
still there. This is juts a matter of identifying them. Pay attention 
that

we do not have classDefinition
as in Cuis and VW so doit for class definition should be replayed too.

finally did you save your code with monticello?
Because this is the best way, publish often.

Stef



On Feb 18, 2010, at 7:25 AM, Alexandre Bergel wrote:


The change file needs to have the same name than the image to have it
listed when you do a recover lost changes.
Else, you can simply edit the .changes using any (robust) text editor.
Cut and paste what you feel relevant into a new file that you name
yourchanges.cs
You then have created a changeset file, which can be easily loaded
with a drag and drop from your OS desktop to the Pharo image.
Alternatively, you can use the file loader.

Hope it helps.

Cheers,
Alexandre

On 18 Feb 2010, at 03:13, Nathan Tuttle wrote:


One thing. It looks like there is a changes file that has more up to
date information. How do I pull this in?

On Wed, Feb 17, 2010 at 11:44 PM, Alexandre Bergel alexan...@bergel.eu

wrote:

I also had the very same feeling the first times I used the recover
lost changes option.  Now that I gained experience, I live
comfortably with it.

Cheers,
Alexandre

On 18 Feb 2010, at 02:37, Nathan Tuttle wrote:


actually, to tell  the truth I figured out how to get most of my
methods back. But not the right versions. I wonder if I can back out
the changes and try to select the ones that I do need, but there are
soo many.

It does throw an error when I select multiple changesets. When I use
the remove do it that helps the most.

its just such a mess right now

On Wed, Feb 17, 2010 at 11:23 PM, Alexandre Bergel 
alexan...@bergel.eu

wrote:

Hi Nathan,


Is there any way to do a recovery besides the Recover Lost Changes
option that doesn't seem to work?


What do you mean by doesn't seem to work? I have always been happy
with it.
Does it raise an error?


It seems the change log that was left behind has some promising
things in it.



You can directly inspect the .changes file next to your image.

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
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 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 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 mailing list
Pharo-project@lists.gforge.inria.fr

Re: [Pharo-project] Fwd: [squeak-dev] Window resize

2010-02-18 Thread Stéphane Ducasse
ok :)
Stef
On Feb 18, 2010, at 2:23 PM, Gary Chambers wrote:

 I think Torsten meant the main Pharo host window...
 
 Regards, Gary
 - Original Message -
 From: Stéphane Ducasse
 To: Pharo-project Development
 Sent: Thursday, February 18, 2010 12:36 PM
 Subject: [Pharo-project] Fwd: [squeak-dev] Window resize
 
 
 
 Begin forwarded message:
 
 From: pharo-project-ow...@lists.gforge.inria.fr
 Date: February 18, 2010 1:33:02 PM GMT+01:00
 To: stephane.duca...@gmail.com
 Subject: Re: [squeak-dev] Window resize
 
 You are not allowed to post to this mailing list, and your message has
 been automatically rejected.  If you think that your messages are
 being rejected in error, contact the mailing list owner at
 pharo-project-ow...@lists.gforge.inria.fr.
 
 
 From: stephane ducasse stephane.duca...@gmail.com
 Date: February 18, 2010 1:32:56 PM GMT+01:00
 To: Pharo-project Development pharo-project@lists.gforge.inria.fr
 Subject: Re: [squeak-dev] Window resize
 
 
 I thought that events has been added in 1.1.
 Which version of pharo are you referring to.
 Alex I thought that we merged your changes
 Issue 1785: Window event notification
 but I cannot find them 
 Probably not integrated. I checked and the code is still in PharoTaskForces.
 Alex can you have a look because your package contains reference to 
 PackageNode...
 
 
 Stef
 
 On Feb 18, 2010, at 12:39 PM, Torsten Bergmann wrote:
 
 Is there an event when the Squeak window is resized,
 so one can react and resize morphs accordingly?
 
 Thx
 T.
 -- 
 NEU: Mit GMX DSL über 1000,- ¿ sparen!
 http://portal.gmx.net/de/go/dsl02
 
 
 
 
 
 
 
 
 ___
 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] [update 1.1] #11215

2010-02-18 Thread Marcus Denker
11215
-

Issue 1945: registration mechanism for the menu (2nd try)
Issue 1989: fix #labelled:
Issue 1974: remove #disableSubmorphFocusForHand: (part 2)

--
Marcus Denker  -- http://www.marcusdenker.de
INRIA Lille -- Nord Europe. Team RMoD.


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


Re: [Pharo-project] databases

2010-02-18 Thread Stéphane Ducasse
we are working on setting up a pier book so that you guys can structure this 
information in a nice way.

On Feb 18, 2010, at 12:43 AM, csra...@bol.com.br wrote:

 All those interesting pieces of information about what works and what does 
 not is very valuable.
 
 Is there a means of having a place in Pharo Wiki where we could publish and 
 update this?
 
 --
 Cesar Rabak
 
 
 Em 17/02/2010 13:05, Germán Arduino  gardu...@gmail.com  escreveu:
 
 
 
 2010/2/17 Dave Woodward davewoodw...@promedmedical.net
 
 
 
 
 On 2/17/10 6:46 AM, Germán Arduino wrote:
 
 
 
 2010/2/17 laurent laffont laurent.laff...@gmail.com
 
 Hi,
 
 I would like to learn on Pharo + databases. I've seen there's several 
 solutions in both object and relational databases.
 - Which (open source) object database should I start with (most used) ?
 
 
 
 Magma is the option I select, but not tried yet on Pharo.
 
 
 
 
 Magma 1.0v43 works on Pharo,
 
 
 
 Good to know.
 
 
 
 
 ___
 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] databases

2010-02-18 Thread Levente Uzonyi

On Wed, 17 Feb 2010, laurent laffont wrote:


Really great informations :
Scenario˙˙s

In different situations, there are different storage needs

  1. You are writing a small demonstration program to show your customers,
  and want to populate the system with some representative data. Add a class
  instance variable to store the instances, and simply save the image.
  2. You have a small system with a few hundred/thousand objects, and are
  not dependent on external systems. A prevayler-like system like SandstoneDB
  might be a perfect fit. Each object save means a disk access, so scaling
  ends with disk speed. A few old versions of the data are kept around, so
  backing up or reverting is easy. If you want a readable representation, SIXX
  might help.
  3. You have a legacy (relational) database, with extensive reporting
  written for it. Use an ORM.


Relational databases are not legacy, they have features which modern 
key-value stores don't (and won't). ORMs may ease the programmer's work, 
but they tend to have bad runtime performance and can't use (all) the 
features of todays RDBMSs.



Levente


  4. You have a complex and large object model that has to support changing
  the object model while developing. The solution is an OODB. Gemstone is the
  large and proven commercial offering. It has a free version for smaller
  databases (4GB data, 1 core, 1G ram), and has proven scalability to 500
  machines. Magma is an open source OODB, seeing active development and
  growing more and more advanced functionality.



Laurent Laffont


On Wed, Feb 17, 2010 at 3:07 PM, laurent laffont
laurent.laff...@gmail.comwrote:


No :)  Thanks for the link !

Laurent Laffont



On Wed, Feb 17, 2010 at 2:23 PM, Stephan Eggermont step...@stack.nlwrote:


Hello Laurent,

I assume you are aware of:

http://www.seaside.st/documentation/persistence

Stephan

___
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 User Group?

2010-02-18 Thread Alexandre Bergel
Stef,

Few weeks ago you said you will meet some layers at inria to know  
whether something like ESUG may be set for Pharo. Do you have any news?

I am just curious.

Cheers,
Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
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


Re: [Pharo-project] databases

2010-02-18 Thread Miguel Enrique Cobá Martinez
El jue, 18-02-2010 a las 16:51 +0100, Levente Uzonyi escribió:
 On Wed, 17 Feb 2010, laurent laffont wrote:
 
  Really great informations :
  Scenario˙˙s
 
  In different situations, there are different storage needs
 
1. You are writing a small demonstration program to show your customers,
and want to populate the system with some representative data. Add a class
instance variable to store the instances, and simply save the image.
2. You have a small system with a few hundred/thousand objects, and are
not dependent on external systems. A prevayler-like system like 
  SandstoneDB
might be a perfect fit. Each object save means a disk access, so scaling
ends with disk speed. A few old versions of the data are kept around, so
backing up or reverting is easy. If you want a readable representation, 
  SIXX
might help.
3. You have a legacy (relational) database, with extensive reporting
written for it. Use an ORM.
 
 Relational databases are not legacy, they have features which modern 
 key-value stores don't (and won't).


I don't think he is refering to RDBMS as legacy, as we know that they
aren't. I think that he meant that when you have a fully populated
database (legacy) and you are building a new seaside/pharo application
to exploit that data, the best is to use an ORM for simple querys and
direct querys for complex ones.

  ORMs may ease the programmer's work, 
 but they tend to have bad runtime performance and can't use (all) the 
 features of todays RDBMSs.

That is true but also the right thing, it isn't expected that an ORM
standardize a way to backup a database, partition a table, replication,
node management, user sessions and transaction monitoring, change index
types and in general everything that is considered metadata or simply
database administration.
An ORM is for user stuff querys, insertions, deletion, etc.

Cheers
 
 
 Levente
 
4. You have a complex and large object model that has to support changing
the object model while developing. The solution is an OODB. Gemstone is 
  the
large and proven commercial offering. It has a free version for smaller
databases (4GB data, 1 core, 1G ram), and has proven scalability to 500
machines. Magma is an open source OODB, seeing active development and
growing more and more advanced functionality.
 
 
 
  Laurent Laffont
 
 
  On Wed, Feb 17, 2010 at 3:07 PM, laurent laffont
  laurent.laff...@gmail.comwrote:
 
  No :)  Thanks for the link !
 
  Laurent Laffont
 
 
 
  On Wed, Feb 17, 2010 at 2:23 PM, Stephan Eggermont step...@stack.nlwrote:
 
  Hello Laurent,
 
  I assume you are aware of:
 
  http://www.seaside.st/documentation/persistence
 
  Stephan
 
  ___
  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

-- 
Miguel Cobá
http://miguel.leugim.com.mx


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

[Pharo-project] Portugese translation :)

2010-02-18 Thread stephane ducasse
Hi guys

A portuguese speaking person (Christian Guimarães) asks if it was possible to 
translated pharo by example.
We will host the translations (as we are doing for the french, spanish ones) 
and give access to bern infrastructure.
Now may be some other people want to join in this effort.

Stef

 Hi Dr. Andrew
 
 First of all, congratulation for the excelent work with Pharo and the book 
 Pharo By Example.
 
 My name is Christian Guimaraes, I'm an electrical engineer with strong 
 background in software development. Nowadays I work as consultant for 
 Fujitsu (in Europe) and in many other projects.
 
 I've started my studies in Smalltalk, for my pleasure and I've interested in 
 translate the book Pharo By Example to the portuguese (I'm brazilian). I 
 saw that already have some thing in this sense. Who is the responsible? 
 Maybe I could help him.
 
 Thanks.
 
 - Christian

___
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 User Group?

2010-02-18 Thread Stéphane Ducasse

On Feb 18, 2010, at 5:11 PM, Alexandre Bergel wrote:

 Stef,
 
 Few weeks ago you said you will meet some layers at inria to know  
 whether something like ESUG may be set for Pharo. Do you have any news?

Yes we discussed. I'm sure that they understood what we would like to build
and they sent us a report and we should read it :)
They suggested for example to be hosted by the OW2 consortium but I did not 
have the time
to look at that.
Else what we may end up doing is to create a french loi association (which is 
understood in Europe)
to manage it. 

Stef

 
 I am just curious.
 
 Cheers,
 Alexandre
 -- 
 _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
 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 mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


[Pharo-project] Polymorph: Window with title

2010-02-18 Thread Torsten Bergmann
Gary wrote:
I suggest rewriting #labelled:

OK, I've created an issue

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

Thx
T.

-- 
NEU: Mit GMX DSL über 1000,- ¿ sparen!
http://portal.gmx.net/de/go/dsl02

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


Re: [Pharo-project] Polymorph: Window with title

2010-02-18 Thread Marcus Denker

On Feb 18, 2010, at 8:29 PM, Torsten Bergmann wrote:

 Gary wrote:
 I suggest rewriting #labelled:
 
 OK, I've created an issue
 
 http://code.google.com/p/pharo/issues/detail?id=1994

bah, *far* to slow ;-)

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


--
Marcus Denker  -- http://www.marcusdenker.de
INRIA Lille -- Nord Europe. Team RMoD.


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


[Pharo-project] Cross post: Squeak Oversight Board Election 2010 started!

2010-02-18 Thread Göran Krampe
Hi Smalltalking friends!

I just wanted to alert some Smalltalk communities about the yearly 
Election in the Squeak community that was just kickstarted:

http://lists.squeakfoundation.org/pipermail/squeak-dev/2010-February/144641.html

...and as that post said, all current info here:

http://wiki.squeak.org/squeak/6150

regards, Göran Krampe (Election leader)


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


Re: [Pharo-project] Fwd: [squeak-dev] Re: ScriptLoader loadFFI doesn't work anymore

2010-02-18 Thread Dale Henrichs

- Yanni Chiu ya...@rogers.com wrote:

| Dale Henrichs wrote:
|  - Yanni Chiu ya...@rogers.com wrote:
|  
|  | BTW, since all FFI-Examples packages were removed from the FFI 
|  | repository, even Metacello versions would fail because the
| package
|  | is 
|  | no longer there.
|  
|  This underscores Lukas' argument that you need to create your own
| repository of packages that you use. 
| 
| I don't understand how this jives with Metacello. If I depend on a 
| Metacello configuration then I inherit the repository dependencies of
| 
| that configuration -- unless I maintain my own copy of the
| configuration 
| and the packages it references.

This was a comment about keeping Pharo-level repositories, rather than 
individual repositories.

In theory the Metacello configuration is created by the maintainers of the 
project, so in theory the maintainers won't remove packages that are needed for 
development and won't remove packages for which they've published a version.

In practice, the FFI configuration is maintained by Pharo and the code in 
question is being managed by Squeak (and the Squeak folks aren't using 
Metacello). 

If Pharo has it's own repository for things like FFI, etc. then the problem of 
disappearing packages shouldn't happen.

| 
|  As far as I am concerned, it is a cardinal sin to remove packages
| from a public repository ...
| 
| I agree. I assume the reason for removing the package was to eliminate
| confusion caused when the latest version of the package is loaded, but
| doesn't work, because none of the code should be there. Another
| approach  might have been to delete all the classes/methods from the 
package,and 
| submit it as the latest version. Though I'm not sure Monticello would
| accept an empty package.

There's no question that the folks managing that repository had a good reason 
for doing what they did, but if a developer happened to have branched 
FFI-Examples, she'd be SOL, unless she copied the packages in self 
defense...which is Lukas' point.

If you are going to depend upon a set of packages in a repository, then you are 
at the mercy of the maintainers of the repository as far as uptime as well as 
contents.

| 
|  We'll have to mark the earlier versions of FFI as broken in the
| Metacello config unless we can recover the older files...
| 
| I probably can find an old version in a package-cache, but the 
| repository for FFI is on http://source.squeakfoundation.org, which
| seems 
| to be the active code base for Squeak (correct me if I'm wrong).

I assume that FFI is actually being maintained in separate (private) repository 
and the public repository (where we've been grabbing FFI) is simply a staging 
area for publishing the latest version of the code...

Dale

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


Re: [Pharo-project] {Spam?} Re: Real packages.

2010-02-18 Thread Dale Henrichs
Gemstone uses an order list of dictionaries for global lookup. Each user can 
change the order of the list or insert their own dictionaries into the list ... 
makes for quite a bit of flexibility you can load code into a particular 
dictionary...and the global resolution is at compile time (you can do lookup at 
runtime if you wish).

The advantage is that the code itself has no namespace artifacts at all.

I'm mentioning this as a point of information more than a serious suggestion 
that Pharo adopt such an approach, though:)

Dale

- Wilhelm K Schwab bsch...@anest.ufl.edu wrote:

| Sorry, I can't resist exploiting the typo: the would be grate (vs.
| great) for me too.  I also suspect that name spaces would turn into a
| horrible mess in short order.
| 
| I could learn to live with messages as class names, something like
| 
|   Smalltalk goGators Dictionary etc.
| 
| so that the name space is really an object accessed by a selector
| (#goGators above) and Dictionary then is a message to same.  I got the
| idea from Dolphin.  AFAIK, it has not gone terribly far, but my sense
| is that it does what one really needs from name spaces without
| inviting the slippery slope into Java packages.
| 
| Bill
| 
| 
| -Original Message-
| From: pharo-project-boun...@lists.gforge.inria.fr
| [mailto:pharo-project-boun...@lists.gforge.inria.fr] On Behalf Of
| Esteban Lorenzano
| Sent: Wednesday, February 17, 2010 3:40 PM
| To: pharo-project@lists.gforge.inria.fr
| Subject: Re: [Pharo-project] {Spam?} Re: Real packages.
| 
| Well... I disagree with you, Mariano. If you allow packages, suddenly
| you will have things like:
| 
| com.pirulo.Date,
| ar.com.pirulin.Date
| 
| and a lot of classes who, in fact, should be just Date
| 
| (and that's just an example)
| 
| Cheers,
| Esteban
| 
| On 2009-02-11 12:13:07 -0300, Mariano Martinez Peck
| marianop...@gmail.com said:
| 
|  
|  
|  I hate not having a real namespace. I hate to call my class 
|  DBXConnection instead of Connection. I think namespaces are very 
|  useful. Something like Java packages or similar would be grate for
| me.
|  
|  Cheers,
|  
|  Mariano
|  
|  On Tue, Feb 10, 2009 at 7:09 PM, Travis Kay t...@nb.sympatico.ca 
|  wrote:
|  
|  Bill Schwab wrote:
|  Stef,
|  
|  Re Dolphin, class categories have long been of marginal use; I'll
| 
|  speak
|  for myself on that but suspect others would agree.
|  I am a Dolphin Pro, Squeak and Pharo users, I agree.
|  
|  Travis
|  
|  Packages are of course extremely useful.  Method categories are
| also
|  quite useful, and Dolphin allows multiple categories to be assigned
| 
|  to a given method.  Dolphin mixes virtual categories (computed by 
|  rules) with static ones maintained by the user (and serialized as
| part of packages).
|  
|  I can easily see where OB would get quite a speed boost out of
| it.
|  
|  Bill
|  
|  
|  
|  
|  
|  Wilhelm K. Schwab, Ph.D.
|  University of Florida
|  Department of Anesthesiology
|  PO Box 100254
|  Gainesville, FL 32610-0254
|  
|  Email: bsch...@anest.ufl.edu
|  Tel: (352) 273-6785
|  FAX: (352) 392-7029
|  
|  
|  
|  stephane.duca...@inria.fr 2/10/2009 4:41:10 PM 
|  
|  Alexandre implemented long time ago an hybrid model where both
| kind 
|  of packages could coexist and we should probably revive it for
| 1.1
|  
|  Stef
|  On Feb 10, 2009, at 10:28 PM, Michael van der Gulik wrote:
|  
|  
|  On Wed, Feb 11, 2009 at 9:21 AM, David R=F6thlisberger 
|  squ...@webcita=
|  s.ch
|  
|  wrote:
|  
|  So if we had real packages in Pharo as first class entities, OB 
|  would be much faster and simpler to maintain. Right now, OB
| models 
|  packages and class cats itself, has to take the information from
| 
|  both the Monticello's working copy managers and the 
|  SystemOrganizer. This is a mess and a huge pain, but what can we
| do.
|  We should really invest in bringing real packages to Pharo.
|  
|  
|  If you want real packages, I've implemented them in Squeak:
|  
|  http://gulik.pbwiki.com/Namespaces
|  http://gulik.pbwiki.com/Packages
|  
|  The places the code is held, including a video and a Squeak image
| is
|  linked from here:
|  http://gulik.pbwiki.com/SecureSqueak
|  
|  I'm not interested in Pharo, but the code is there and is
| released
|  under the MIT license if anybody else wants it.
|  
|  Gulik.
|  
|  --
|  http://people.squeakfoundation.org/person/mikevdg
|  http://gulik.pbwiki.com/
|  ___
|  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
| 
| 

[Pharo-project] Polymorph: Window with title

2010-02-18 Thread Torsten Bergmann
 bah, *far* to slow ;-)

I'm getting old! 8)

Bye
T.



-- 
Sicherer, schneller und einfacher. Die aktuellen Internet-Browser -
jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/chbrowser

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


[Pharo-project] Fwd: [squeak-dev] Re: ScriptLoader loadFFI doesn't work anymore

2010-02-18 Thread Torsten Bergmann
Dale wrote:

In theory the Metacello configuration is created by the maintainers of the 
project

Yes - in theory ;)

There's no question that the folks managing that repository had a good reason 
for doing what they did, 

See 
http://lists.squeakfoundation.org/pipermail/squeak-dev/2010-February/144628.html

If Pharo has it's own repository for things like FFI, etc. then the problem of 
disappearing packages shouldn't happen.

Maybe by having an own SqS server (for Pharo only) with packages
known to work (together with configurations).

BTW: Linus on Git:  http://www.youtube.com/watch?v=4XpnKHJAok8, interesting.

Bye
T.
-- 
Sicherer, schneller und einfacher. Die aktuellen Internet-Browser -
jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/chbrowser

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


[Pharo-project] self halt :)

2010-02-18 Thread Stéphane Ducasse
Hi guys

I do not know anything about BalloonBezierSimulation but it contains too many 
self halt.

Do you have an idea if this is something that can be fixed?

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


Re: [Pharo-project] Keyboard events issue on Mac VM

2010-02-18 Thread John M McIntosh
You are mistaken in your interpretation of the event codes. 
please read http://isqueak.org/ioGetNextEvent

You will find the windows VM will return Windows meta key codes which won't 
match the values for keyStroke

Tweak in Croquet  Sophie uses  KeyDown/keyUp for Tweak event handling and 
ignores keyStroke: 


On 2010-02-18, at 12:32 PM, Pavel Krivanek wrote:

 Hi,
 
 The Mac OS virtual machine has wrong processing of keyUp and keyDown
 events. It discards event character value.
 
 This events are very rarely used (keyStroke is preferred) so there`s
 no surprise that it was not reported before.
 
 See http://code.google.com/p/pharo/issues/detail?id=1995
 
 Cheers,
 -- Pavel
 
 ___
 Pharo-project mailing list
 Pharo-project@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
===
John M. McIntosh john...@smalltalkconsulting.com   Twitter:  squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===





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


Re: [Pharo-project] cull: protocol

2010-02-18 Thread Stéphane Ducasse




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

Purpose of code changes on this branch:
Provide a cull: protocol on BlockClosure, equivalent to value: protocol, 
but taking N or more args, where N is numArgs. 
This is already provided by valueWithPossibleArgs:, but this only takes an 
array, and fills out missing arguments if block numArgs is higher than 
array size, as well as leading to extra syntax when your number of 
variable args is low and constant compared to cull:

f.ex.
ifNotNil: ifNotNilBlock
^ifNotNilBlock valueWithPossibleArgs: {self}
turns into:
ifNotNil: ifNotNilBlock
^ifNotNilBlock cull: self

and: 

ifError: errorHandlerBlock
^ self on: Error do: [:ex |
errorHandlerBlock valueWithPossibleArgs: {ex description. 
ex receiver}]
turns into:
ifError: errorHandlerBlock
^ self on: Error do: [:ex |
errorHandlerBlock cull: ex description cull: ex receiver]

When reviewing my code changes, please focus on:

- Code clarity (there are speedier but uglier implementations)
- Unnecessary array creation
- Usefulness






On Feb 18, 2010, at 2:23 PM, Henrik Johansen wrote:

 Refactoring the AXAnnouncements abit so there's no separate classes for
 0-, 1-, and 2-arg blocks, and really missing these methods from
 VisualWorks...
 cull: is equivalent to value: protocol except they accept block with N
 or less blockArgs
 Yes, I know valueWithEnoughArguments:/valueWithPossibleArgs: provide the
 same functionality, but the code looks much less nice using them, you
 end up constructing arrays needlessly etc.
 Look at the senders of valueWithPossibleArgs: for examples, very few of
 those actually need the ability to accept blocks with more arguments
 than they provide, and would also look nicer with cull:.
 
 Would anyone object strongly to adding the cull:, cull:cull: methods in
 core instead of putting them as extension methods?
 
 Cheers,
 Henry
 
 ___
 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] cull: protocol

2010-02-18 Thread Stéphane Ducasse
henrik 

I'm trying to get the pros and cons of cull:
So am'I correct that this is useful only for situation where we have a block 
and we do not know
upfront its number of argument: = places where valueWithPossibleArgs: 
Now what cull: offers is that the client does not have to create the array.

 I did not check your implementation.

Stef



On Feb 18, 2010, at 2:23 PM, Henrik Johansen wrote:

 Refactoring the AXAnnouncements abit so there's no separate classes for
 0-, 1-, and 2-arg blocks, and really missing these methods from
 VisualWorks...
 cull: is equivalent to value: protocol except they accept block with N
 or less blockArgs
 Yes, I know valueWithEnoughArguments:/valueWithPossibleArgs: provide the
 same functionality, but the code looks much less nice using them, you
 end up constructing arrays needlessly etc.
 Look at the senders of valueWithPossibleArgs: for examples, very few of
 those actually need the ability to accept blocks with more arguments
 than they provide, and would also look nicer with cull:.
 
 Would anyone object strongly to adding the cull:, cull:cull: methods in
 core instead of putting them as extension methods?
 
 Cheers,
 Henry
 
 ___
 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] {Spam?} Re: Real packages.

2010-02-18 Thread Miguel Enrique Cobá Martinez
El jue, 18-02-2010 a las 12:18 -0800, Dale Henrichs escribió:
 Gemstone uses an order list of dictionaries for global lookup. Each user can 
 change the order of the list or insert their own dictionaries into the list 
 ... makes for quite a bit of flexibility you can load code into a 
 particular dictionary...and the global resolution is at compile time (you can 
 do lookup at runtime if you wish).
 
 The advantage is that the code itself has no namespace artifacts at all.
 
 I'm mentioning this as a point of information more than a serious suggestion 
 that Pharo adopt such an approach, though:)

Why not, if it has been proved for a long time in Gemstone, shouldn't be
sensible to create something similar for Pharo? Or it uses some kind of
proprietary technology from Gemstone?

Well just asking. 

Thanks 
 
 Dale
 
 - Wilhelm K Schwab bsch...@anest.ufl.edu wrote:
 
 | Sorry, I can't resist exploiting the typo: the would be grate (vs.
 | great) for me too.  I also suspect that name spaces would turn into a
 | horrible mess in short order.
 | 
 | I could learn to live with messages as class names, something like
 | 
 |   Smalltalk goGators Dictionary etc.
 | 
 | so that the name space is really an object accessed by a selector
 | (#goGators above) and Dictionary then is a message to same.  I got the
 | idea from Dolphin.  AFAIK, it has not gone terribly far, but my sense
 | is that it does what one really needs from name spaces without
 | inviting the slippery slope into Java packages.
 | 
 | Bill
 | 
 | 
 | -Original Message-
 | From: pharo-project-boun...@lists.gforge.inria.fr
 | [mailto:pharo-project-boun...@lists.gforge.inria.fr] On Behalf Of
 | Esteban Lorenzano
 | Sent: Wednesday, February 17, 2010 3:40 PM
 | To: pharo-project@lists.gforge.inria.fr
 | Subject: Re: [Pharo-project] {Spam?} Re: Real packages.
 | 
 | Well... I disagree with you, Mariano. If you allow packages, suddenly
 | you will have things like:
 | 
 | com.pirulo.Date,
 | ar.com.pirulin.Date
 | 
 | and a lot of classes who, in fact, should be just Date
 | 
 | (and that's just an example)
 | 
 | Cheers,
 | Esteban
 | 
 | On 2009-02-11 12:13:07 -0300, Mariano Martinez Peck
 | marianop...@gmail.com said:
 | 
 |  
 |  
 |  I hate not having a real namespace. I hate to call my class 
 |  DBXConnection instead of Connection. I think namespaces are very 
 |  useful. Something like Java packages or similar would be grate for
 | me.
 |  
 |  Cheers,
 |  
 |  Mariano
 |  
 |  On Tue, Feb 10, 2009 at 7:09 PM, Travis Kay t...@nb.sympatico.ca 
 |  wrote:
 |  
 |  Bill Schwab wrote:
 |  Stef,
 |  
 |  Re Dolphin, class categories have long been of marginal use; I'll
 | 
 |  speak
 |  for myself on that but suspect others would agree.
 |  I am a Dolphin Pro, Squeak and Pharo users, I agree.
 |  
 |  Travis
 |  
 |  Packages are of course extremely useful.  Method categories are
 | also
 |  quite useful, and Dolphin allows multiple categories to be assigned
 | 
 |  to a given method.  Dolphin mixes virtual categories (computed by 
 |  rules) with static ones maintained by the user (and serialized as
 | part of packages).
 |  
 |  I can easily see where OB would get quite a speed boost out of
 | it.
 |  
 |  Bill
 |  
 |  
 |  
 |  
 |  
 |  Wilhelm K. Schwab, Ph.D.
 |  University of Florida
 |  Department of Anesthesiology
 |  PO Box 100254
 |  Gainesville, FL 32610-0254
 |  
 |  Email: bsch...@anest.ufl.edu
 |  Tel: (352) 273-6785
 |  FAX: (352) 392-7029
 |  
 |  
 |  
 |  stephane.duca...@inria.fr 2/10/2009 4:41:10 PM 
 |  
 |  Alexandre implemented long time ago an hybrid model where both
 | kind 
 |  of packages could coexist and we should probably revive it for
 | 1.1
 |  
 |  Stef
 |  On Feb 10, 2009, at 10:28 PM, Michael van der Gulik wrote:
 |  
 |  
 |  On Wed, Feb 11, 2009 at 9:21 AM, David R=F6thlisberger 
 |  squ...@webcita=
 |  s.ch
 |  
 |  wrote:
 |  
 |  So if we had real packages in Pharo as first class entities, OB 
 |  would be much faster and simpler to maintain. Right now, OB
 | models 
 |  packages and class cats itself, has to take the information from
 | 
 |  both the Monticello's working copy managers and the 
 |  SystemOrganizer. This is a mess and a huge pain, but what can we
 | do.
 |  We should really invest in bringing real packages to Pharo.
 |  
 |  
 |  If you want real packages, I've implemented them in Squeak:
 |  
 |  http://gulik.pbwiki.com/Namespaces
 |  http://gulik.pbwiki.com/Packages
 |  
 |  The places the code is held, including a video and a Squeak image
 | is
 |  linked from here:
 |  http://gulik.pbwiki.com/SecureSqueak
 |  
 |  I'm not interested in Pharo, but the code is there and is
 | released
 |  under the MIT license if anybody else wants it.
 |  
 |  Gulik.
 |  
 |  --
 |  http://people.squeakfoundation.org/person/mikevdg
 |  http://gulik.pbwiki.com/
 |  ___
 |  Pharo-project mailing list
 |  Pharo-project@lists.gforge.inria.fr
 | 
 | 

Re: [Pharo-project] databases

2010-02-18 Thread Igor Stasenko
2010/2/18 laurent laffont laurent.laff...@gmail.com:

 On Wed, Feb 17, 2010 at 1:12 PM, Torsten Bergmann asta...@gmx.de wrote:

 Hi Laurent,

 I think this topic or persistence in general would require more than
 one screencast to show people several options

 It's true ... but we need a first one on an option, then a second one on
 another option .
 I'm totally newbie on object databases, I want to learn, recording a
 screencast is a way to learn.
 If someone wants to help
 :) http://pharocasts.blogspot.com/2010/02/how-i-record-screencasts-for-pharocasts.html


 (like using the native
  drivers/database) up to higher level stuff mit OR mapping (Glorp) or
  Gemstone.

 Also well known (Oracle, MySQL, ...) vs. alternative databases (Magma,
  CouchDB, ...) or persistence in XML, ReferenceStreams, ...

 CouchDB looks good, it's on my to-look-at list...


Yeah, there are two Couchy interfaces for squeak on SqS. One is mine,
which i started recently.
Please try it out :)
Any feedback is appreciated.


 Maybe SQLite could be used for a simple database example using
 Pharo and SQL.

 There is a metacello config for it:

 http://n4.nabble.com/ANN-SQLite3-wrapper-updated-with-tests-td1294969.html

 Have a look at the test cases to see some code.


 I will ! Thanks

 Laurent Laffont
 ___
 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] databases

2010-02-18 Thread Mariano Martinez Peck
Hi Laurent.

I agree with you. From my point of view, there are a lot of persistence
strategies and possibilities. But the problem I faced most of the time is
that you are not able to choose. It is not common you can choose the
database and even more the database. At least in real business or company
applications. Thee are a LOT of reason, logical and not logical. If you want
I can share with you the reasons I found so far.

If you can choose, I would probably use a OO database. Magma or GLASS are
the better solutions for me. There is also GOODS but I heard bad comments
from a friends that are using it at their work.

Then you have all those non traditional databases like Toyko, CouchDB,
MongoDB, etc. You can give them a try.

You have also serializers like SIXX, ImageSegments, SmartRefStream, save in
the image, etc. This can be a solution for very limited for my opinion
(small apps). However, they are very useful when starting a project or even
for prototyping.

Finally, you may HAVE or you want to use relational database. First, which
database?  most of the time, you cannot choose. For Pharo, there seems to be
native drivers for PostgreSQL and MySQL. The first one is working on Pharo.
The second one I don't know. SQLite driver I think it is not native (maybe I
am wrong...). We did SqueakDBX where you can talk with Oracle, MSSQL, MySQL,
PostgreSQL, Sqlite3, Firebird (only windows) and ODBC in all OS (Linux, Mac
Os and Windows).

After the driver layer then you have Glorp and SqueakSave mostly. Glorp is
much powerful and complete. But, the Pharo/Squeak version is quite old as
Glorp is developed in VW. The problem with Glorp is that you have to write
all the queries by hand. If you want to use other that PostgreSQL with Glorp
in Pharo then you need to install GlorpDBX. You can SandstoneDB if you want
and then you also have Glorp-ActiveRecord, but only VW (as it is new, it is
not ported to squeak or pharo). In those approaches, the time of developing
is less as you don't have to write all the mappings.
Finally, with SqueakSave you can automatically persist. It takes care of
writing everything. You don't need to write the mappings. Of course, you
need to follow certain conventions in the names. SqueakSave supports MySQL
and PostgreSQL only althought they wanted to interface with SqueakDBX to
support all databases.  I don't know neither if it works on Pharo. Of
course, it seems to be a less slower than Glorp as the queries are not the
faster.

If I were you, for the screencast, I would really like to see the following
scenario:  you have a domain model and then you persists:

1) Image based / serializers  (sixx, ImageSegments, SmartRefStream, etc)
2) OO database - magma or GLASS
3) Relational database - Glorp, SqueakSave, etc

Each item can be a different post and for each item you show the advantages
or disadvantages and of course, in each item, the domain model is the same.
Of course this may require a lot of time and effort :)

U now I realized this is almost the same Torsted said. Sorry.

Cheers

Mariano



2010/2/17 laurent laffont laurent.laff...@gmail.com

 Hi,

 I would like to learn on Pharo + databases. I've seen there's several
 solutions in both object and relational databases.
 - Which (open source) object database should I start with (most used) ?
 - Which object database can be accessed from Smalltalk AND  Ruby or Python
 ? How ?
 - I want to try MySQL too.
 Is there up to date small applications on squeaksource which show this
 stuff quite well ?

 Thanks for help !

 Laurent Laffont

 ___
 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] Keyboard events issue on Mac VM

2010-02-18 Thread Pavel Krivanek
If you press the key a, you`ll get

#(2 2534082 0 1 0 0 0 1)
#(2 2534082 97 0 0 97 0 1)
#(2 2534157 0 2 0 0 0 1)

from the virtual machine. For A:

#(2 2536225 0 1 1 0 0 1)
#(2 2536225 65 0 1 65 0 1)
#(2 2536413 0 2 8 0 0 1)

The only event with the information about pressed character is
keyStroke (the fourth value is 0) so you will not know the resultant
character because MacRoman charCode and/or utf32Code is missing (they
are present on Linux). It is printed from
InputEventFetchersignalEvent:. Am I missing something?

-- Pavel


On Thu, Feb 18, 2010 at 9:46 PM, John M McIntosh
john...@smalltalkconsulting.com wrote:
 You are mistaken in your interpretation of the event codes.
 please read http://isqueak.org/ioGetNextEvent

 You will find the windows VM will return Windows meta key codes which won't 
 match the values for keyStroke

 Tweak in Croquet  Sophie uses  KeyDown/keyUp for Tweak event handling and 
 ignores keyStroke:


 On 2010-02-18, at 12:32 PM, Pavel Krivanek wrote:

 Hi,

 The Mac OS virtual machine has wrong processing of keyUp and keyDown
 events. It discards event character value.

 This events are very rarely used (keyStroke is preferred) so there`s
 no surprise that it was not reported before.

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

 Cheers,
 -- Pavel

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

 --
 ===
 John M. McIntosh john...@smalltalkconsulting.com   Twitter:  squeaker68882
 Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
 ===





 ___
 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] databases

2010-02-18 Thread laurent laffont
Thank you very much Mariano.

Now I can choose because Pharo is still a hobby for me ;)  I've started
learning Magma, it's fun, so easy 

Laurent Laffont


2010/2/18 Mariano Martinez Peck marianop...@gmail.com


 Hi Laurent.

 I agree with you. From my point of view, there are a lot of persistence
 strategies and possibilities. But the problem I faced most of the time is
 that you are not able to choose. It is not common you can choose the
 database and even more the database. At least in real business or company
 applications. Thee are a LOT of reason, logical and not logical. If you want
 I can share with you the reasons I found so far.

 If you can choose, I would probably use a OO database. Magma or GLASS are
 the better solutions for me. There is also GOODS but I heard bad comments
 from a friends that are using it at their work.

 Then you have all those non traditional databases like Toyko, CouchDB,
 MongoDB, etc. You can give them a try.

 You have also serializers like SIXX, ImageSegments, SmartRefStream, save in
 the image, etc. This can be a solution for very limited for my opinion
 (small apps). However, they are very useful when starting a project or even
 for prototyping.

 Finally, you may HAVE or you want to use relational database. First, which
 database?  most of the time, you cannot choose. For Pharo, there seems to be
 native drivers for PostgreSQL and MySQL. The first one is working on Pharo.
 The second one I don't know. SQLite driver I think it is not native (maybe I
 am wrong...). We did SqueakDBX where you can talk with Oracle, MSSQL, MySQL,
 PostgreSQL, Sqlite3, Firebird (only windows) and ODBC in all OS (Linux, Mac
 Os and Windows).

 After the driver layer then you have Glorp and SqueakSave mostly. Glorp
 is much powerful and complete. But, the Pharo/Squeak version is quite old as
 Glorp is developed in VW. The problem with Glorp is that you have to write
 all the queries by hand. If you want to use other that PostgreSQL with Glorp
 in Pharo then you need to install GlorpDBX. You can SandstoneDB if you want
 and then you also have Glorp-ActiveRecord, but only VW (as it is new, it is
 not ported to squeak or pharo). In those approaches, the time of developing
 is less as you don't have to write all the mappings.
 Finally, with SqueakSave you can automatically persist. It takes care of
 writing everything. You don't need to write the mappings. Of course, you
 need to follow certain conventions in the names. SqueakSave supports MySQL
 and PostgreSQL only althought they wanted to interface with SqueakDBX to
 support all databases.  I don't know neither if it works on Pharo. Of
 course, it seems to be a less slower than Glorp as the queries are not the
 faster.

 If I were you, for the screencast, I would really like to see the following
 scenario:  you have a domain model and then you persists:

 1) Image based / serializers  (sixx, ImageSegments, SmartRefStream, etc)
 2) OO database - magma or GLASS
 3) Relational database - Glorp, SqueakSave, etc

 Each item can be a different post and for each item you show the advantages
 or disadvantages and of course, in each item, the domain model is the same.
 Of course this may require a lot of time and effort :)

 U now I realized this is almost the same Torsted said. Sorry.

 Cheers

 Mariano



 2010/2/17 laurent laffont laurent.laff...@gmail.com

 Hi,

 I would like to learn on Pharo + databases. I've seen there's several
 solutions in both object and relational databases.
 - Which (open source) object database should I start with (most used) ?
 - Which object database can be accessed from Smalltalk AND  Ruby or Python
 ? How ?
 - I want to try MySQL too.
 Is there up to date small applications on squeaksource which show this
 stuff quite well ?

 Thanks for help !

 Laurent Laffont

 ___
 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] Namespaces

2010-02-18 Thread James Foster

On Feb 18, 2010, at 12:59 PM, Miguel Enrique Cobá Martinez wrote:

 El jue, 18-02-2010 a las 12:18 -0800, Dale Henrichs escribió:
 Gemstone uses an order list of dictionaries for global lookup. Each user can 
 change the order of the list or insert their own dictionaries into the list 
 ... makes for quite a bit of flexibility you can load code into a 
 particular dictionary...and the global resolution is at compile time (you 
 can do lookup at runtime if you wish).
 
 The advantage is that the code itself has no namespace artifacts at all.
 
 I'm mentioning this as a point of information more than a serious suggestion 
 that Pharo adopt such an approach, though:)
 
 Why not, if it has been proved for a long time in Gemstone, shouldn't be
 sensible to create something similar for Pharo? Or it uses some kind of
 proprietary technology from Gemstone?

You've heard the phrase, Imitation is the sincerest form of flattery? It's 
true! We would be delighted to see Pharo use a similar scheme for namespaces. 
Not only is it is an elegant approach, but its adoption by Pharo would ease the 
upgrade path to GemStone should the opportunity arise.

For an overview of GemStone namespaces, see 
http://www.youtube.com/watch?v=z84n3O8YUsI. For more information see the 
Chapter 3 of the Programming Guide 
(http://seaside.gemstone.com/docs/GS64-ProgGuide-2.2.pdf).

James Foster
GemStone Systems, Inc.
___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] Keyboard events issue on Mac VM

2010-02-18 Thread John M McIntosh

On 2010-02-18, at 1:37 PM, Pavel Krivanek wrote:

 If you press the key a, you`ll get
 
 #(2 2534082 0 1 0 0 0 1)
 #(2 2534082 97 0 0 97 0 1)
 #(2 2534157 0 2 0 0 0 1)
 
 from the virtual machine. For A:
 
 #(2 2536225 0 1 1 0 0 1)
 #(2 2536225 65 0 1 65 0 1)
 #(2 2536413 0 2 8 0 0 1)
 
 The only event with the information about pressed character is
 keyStroke (the fourth value is 0) so you will not know the resultant
 character because MacRoman charCode and/or utf32Code is missing (they
 are present on Linux). It is printed from
 InputEventFetchersignalEvent:. Am I missing something?
 
 -- Pavel

It works as designed. 

 The only event with the information about pressed character is
 keyStroke (the fourth value is 0)


Is zero ON PURPOSE because the windows VM is unable to supply what character 
or unicode is being pressed at that point in time.
The keycode for the 'a' key is zero, the macroman value is 97, and the unicode 
value is 97. 
looks fine

I note the bug is that the key up's modifier should be 1 versus the 8. 


===
John M. McIntosh john...@smalltalkconsulting.com   Twitter:  squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===





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


Re: [Pharo-project] Keyboard events issue on Mac VM

2010-02-18 Thread Pavel Krivanek
On Thu, Feb 18, 2010 at 11:05 PM, John M McIntosh
john...@smalltalkconsulting.com wrote:

 On 2010-02-18, at 1:37 PM, Pavel Krivanek wrote:

 If you press the key a, you`ll get

 #(2 2534082 0 1 0 0 0 1)
 #(2 2534082 97 0 0 97 0 1)
 #(2 2534157 0 2 0 0 0 1)

 from the virtual machine. For A:

 #(2 2536225 0 1 1 0 0 1)
 #(2 2536225 65 0 1 65 0 1)
 #(2 2536413 0 2 8 0 0 1)

 The only event with the information about pressed character is
 keyStroke (the fourth value is 0) so you will not know the resultant
 character because MacRoman charCode and/or utf32Code is missing (they
 are present on Linux). It is printed from
 InputEventFetchersignalEvent:. Am I missing something?

 -- Pavel

 It works as designed.

 The only event with the information about pressed character is
 keyStroke (the fourth value is 0)


 Is zero ON PURPOSE because the windows VM is unable to supply what 
 character or unicode is being pressed at that point in time.
 The keycode for the 'a' key is zero, the macroman value is 97, and the 
 unicode value is 97.
 looks fine

 I note the bug is that the key up's modifier should be 1 versus the 8.

Ok, thank you
-- 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] Pharo User Group?

2010-02-18 Thread Bouraqadi Noury

On 18 févr. 10, at 19:36, Stéphane Ducasse wrote:


 On Feb 18, 2010, at 5:11 PM, Alexandre Bergel wrote:

 Stef,

 Few weeks ago you said you will meet some layers at inria to know
 whether something like ESUG may be set for Pharo. Do you have any  
 news?

 Yes we discussed. I'm sure that they understood what we would like  
 to build
 and they sent us a report and we should read it :)
 They suggested for example to be hosted by the OW2 consortium but I  
 did not have the time
 to look at that.
OW2 is the consortium with Fractal components and other Java software...

 Else what we may end up doing is to create a french loi association  
 (which is understood in Europe)
 to manage it.

 Stef


 I am just curious.

 Cheers,
 Alexandre
 -- 
 _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
 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 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] Something I don't understand with ImageSegments

2010-02-18 Thread Sheridan Mahoney

Hi all,

I've been catching up on ImageSegment news, and came across this old post
from January, 
and got interested in discovering the mindset behind the outPointers array. 
I re-ran
Mariano's original test code, with a small change:  turned 'Object new' into
TestOutPointers, a new 
subclass of Object, with 2 inst vars and one method.  I'd be interested in
getting feedback on
whether my guesses (in quotes below) are in the ball park.  The results seem
to explain why
Association is not in outPointers - what is captured there in the case of
adding a class 
is a lot like what you would need for filling in a class template.  If you
add an instance of a class,
you just need the name of the class.

Some comments I have gleaned from the ImageSegment class on outPointers :
This array contains:
- OOPs of all objects outside the segment that are pointed to from
inside segment.
- outPointers that are necessary to turn the bits in the file into 
objects.

Here's the code:

| segment external internal root |

 external := TestOutpointers. 
 internal := true - external.
 root := false - internal.
 internal := nil.

segment := ImageSegment new
 copyFromRoots: (Array with: root with: external)
 sizeHint: 5000
 areUnique: true.
 ^ (segment outPointers ) - (segment arrayOfRoots )  

== result =
{ false.  object outside the segment that is
pointed to from inside segment.
Object.  superclass of TestOutpointers
a MethodDictionary(#tryList-a CompiledMethod(1725:
TestOutpointerstryList) )   MethodDictionary
#('iv1' 'iv2') inst var names
('testing' tryList)  method category
nil.object outside the segment that is
pointed to from inside segment.
#TestOutpointers.   symbol representing name of new class
Smalltalk.  environment that TestOutpointers is
assigned to
#'IST-outPointers'.  category name for TestOutpointers
true.  object outside the segment that is
pointed to from inside segment.
Metaclass. for initializing class variables and
instance creation messages particular to a class.
Object class.  class of TestOutpointers superclass
ClassOrganizer.  need this in order to determine whether
TestOutpointers has been changed in the local env
#'as yet unclassified'.  ??
}
-
{false-true-TestOutpointers. TestOutpointers}



Any feedback would be very welcome...

Cheers,
Sheri

-- 
View this message in context: 
http://n4.nabble.com/Something-I-don-t-understand-with-ImageSegments-tp1296982p1560990.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.

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


[Pharo-project] [ANN] Hobbes for Pharo

2010-02-18 Thread Pavel Krivanek
Hi,

I`ve created a SqueakSource repository for the Hobbes (Highly
Objectified Blue Book Equivalent Smalltalk, a virtual machine for the
original Smalltalk-80 Version 2 by Xerox). Many thanks to Vassili
Bykov for this great stuff and support.

http://www.squeaksource.com/Hobbes.html
original VisualWorks version in action: http://simberon.com/hobbes.htm

Cheers,
-- 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] databases

2010-02-18 Thread Göran Krampe
Hi!

Chris Muller wrote:
 Hi Göran, since this is at least the second time you've indicated
 having a performance issue with Magma, I'd like to reiterate my offer
 of assistance.

Thanks. :)

 I know it takes time to evaluate other persistence options, so I would
 be surprised if you've already started off in another direction merely
 because you thought nothing could be done.  Indeed, and you even
 indicated optimism that the slowness can probably be fixed.  Given my
 limited knowledge of Gjaller, it seems to me that Magma should be a
 perfect fit for it, especially in terms of performance and
 scalability.
 
 My own curiousity is brimming, you are having a performance issue,
 there are many many opportunities for optimization, wouldn't you like
 to talk about it?

Sure, my problem is that I have a general lack of time. But I intend to 
try to take a serious look soon.

I presume that strategies in combination with running with external 
server might help enough. Getting a session takes time, I have written 
a second preallocated session queue to remove that issue, and it seems 
to work ok.

It was a long time since I worked on this, so I don't have more details 
at hand right now. I need to start by rebasing on newest Magma.

regards, Göran


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

Re: [Pharo-project] databases

2010-02-18 Thread csrabak
Em 18/02/2010 13:51, Levente Uzonyi  le...@elte.hu  escreveu:
 On Wed, 17 Feb 2010, laurent laffont wrote:

[snipped]

  3.  You have a legacy (relational) database, with extensive
  reporting written for it. Use an ORM.

  Relational  databases  are not  legacy,  they  have features  which
 modern  key-value stores  don't  (and won't).  ORMs  may ease  the
 programmer's work, but they tend to have bad runtime performance and
 can't use (all) the features of todays RDBMSs.

Levente,

I think the advice doesn't intend to imply that RDBMSs are legacy
_technology_.  What I understand from the text is understanding the
existence of an application (or a lot of data) already using a RDBMS,
and so it is legacy for the programmer with the task at hand.

OTOH, if we take the features of the RDBMS is central to task at hand,
(and not available to Pharo) or ORM makes performance unacceptable
then it may end that Pharo should not contemplated to start with, so
the point becomes moot. . .

just my 0.01

--
Cesar Rabak

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


Re: [Pharo-project] self halt :)

2010-02-18 Thread csrabak

You mean other than deleting all of them? ;-)



Em 18/02/2010 18:46, Stéphane Ducasse  stephane.duca...@inria.fr  escreveu:
Hi guys

I do not know anything about BalloonBezierSimulation but it contains too many 
self halt.

Do you have an idea if this is something that can be fixed?

Stef
___
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] self halt :)

2010-02-18 Thread John M McIntosh
Hah, this reminds me of a time where I put like 58 halts in some group shared 
code I was auditing. 
The next day the manager had a fit, because I screwed up  coding that night. 

Well I repled each halt was there because the code was broken and if the 
programmers were 
thinking they were making progress, I assure you they weren't... because when 
the code was fixed
then all the callers would be broken.

Beside why did you load the developer code out of Envy anyway? Oh because it's 
broken and you
were hoping to get the latest fixes? 

On 2010-02-18, at 12:46 PM, Stéphane Ducasse wrote:

 Hi guys
 
 I do not know anything about BalloonBezierSimulation but it contains too many 
 self halt.
 
 Do you have an idea if this is something that can be fixed?
 
 Stef
 ___
 Pharo-project mailing list
 Pharo-project@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
===
John M. McIntosh john...@smalltalkconsulting.com   Twitter:  squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===





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


[Pharo-project] Is there a public repository that we can put our work

2010-02-18 Thread Nathan Tuttle
The default one
MCHttpRepository
location: 'http://www.squeaksource.com/'
user: 'squeak'
password: 'squeak'

doesn't seem to work.

I don't mind hosting my own, but I am definitely a noob at squeak source
control.
___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Re: [Pharo-project] So your working on a cool project and Pharo crashes

2010-02-18 Thread Ramon Leon
On 2/17/2010 11:25 PM, Alexandre Bergel wrote:
 The change file needs to have the same name than the image to have it
 listed when you do a recover lost changes.

Not really, you can drag and drop any changes file onto any image and 
it'll popup the same changes editor that recover lost changes does.  If 
you're after the latest changes just remove older versions, then remove 
up to date versions, then remove any unnecessary do it's and what's left 
will be the diffs, review and file them in.

 Else, you can simply edit the .changes using any (robust) text editor.
 Cut and paste what you feel relevant into a new file that you name
 yourchanges.cs

Unnecessary because of the above.

-- 
Ramon Leon
http://onsmalltalk.com

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


Re: [Pharo-project] Is there a public repository that we can put our work

2010-02-18 Thread Nathan Tuttle
Thanks David!!

On Thu, Feb 18, 2010 at 11:17 PM, David T. Lewis le...@mail.msen.comwrote:

 On Thu, Feb 18, 2010 at 10:46:05PM -0600, Nathan Tuttle wrote:
  The default one
  MCHttpRepository
  location: 'http://www.squeaksource.com/'
  user: 'squeak'
  password: 'squeak'
 
  doesn't seem to work.
 
  I don't mind hosting my own, but I am definitely a noob at squeak source
  control.

 Connect to squeaksource.com with an ordinary web browse. Select register
 member and register yourself with a new account. You will have your own
 user ID and password that you can use for making the MCHttpRepository
 connections.

 Yuu can use the ordinary web browser for setting up your account and
 project, and once that is done you can use Monticello in Pharo/Squeak
 to save versions of your project.

 Dave


 ___
 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 User Group?

2010-02-18 Thread Marcus Denker

On Feb 19, 2010, at 12:05 AM, Bouraqadi Noury wrote:

 
 On 18 févr. 10, at 19:36, Stéphane Ducasse wrote:
 
 
 On Feb 18, 2010, at 5:11 PM, Alexandre Bergel wrote:
 
 Stef,
 
 Few weeks ago you said you will meet some layers at inria to know
 whether something like ESUG may be set for Pharo. Do you have any  
 news?
 
 Yes we discussed. I'm sure that they understood what we would like  
 to build
 and they sent us a report and we should read it :)
 They suggested for example to be hosted by the OW2 consortium but I  
 did not have the time
 to look at that.
 OW2 is the consortium with Fractal components and other Java software...
 
Yes, that was our first comment, too. We will evaluate and than see what are 
the options.


--
Marcus Denker  -- http://www.marcusdenker.de
INRIA Lille -- Nord Europe. Team RMoD.


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


[Pharo-project] Class Browser

2010-02-18 Thread Anthony G. Anton III
My apologies if I have overlooked obvious sources which provide the 
answer to the question...

Where is there documentation to be found describing the meaning of 
list entries in the Class Browser?

I am poking around in the Pharo1.0-10508-rc2dev10.01.2 image and am 
not coming up with answers. I've been able to guess at the meaning of 
some but others escape me.

-- 
--
Anthony Anton3800 243rd Place SE  Phone:  425-313-1024
  Issaquah, WA 98029   Cell:   425-444-3084
Concept Systems  aganton...@earthlink.net FAX:425-313-1024

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


Re: [Pharo-project] Class Browser

2010-02-18 Thread Anthony G. Anton III
Correction (sorry for the confusion)...

My apologies if I have overlooked obvious sources which provide the
answer to the question...

Where is there documentation to be found describing the meaning of
list entry icons (on left side of lists) in the Class Browser?

I am poking around in the Pharo1.0-10508-rc2dev10.01.2 image and am
not coming up with answers. I've been able to guess at the meaning of
some but others escape me.

-- 
--
Anthony Anton3800 243rd Place SE  Phone:  425-313-1024
  Issaquah, WA 98029   Cell:   425-444-3084
Concept Systems  aganton...@earthlink.net FAX:425-313-1024

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


Re: [Pharo-project] Something I don't understand with ImageSegments

2010-02-18 Thread Stéphane Ducasse
Sheridan mariano can send you the document he wrote about image segment.
I can help you.

Stef

On Feb 19, 2010, at 12:35 AM, Sheridan Mahoney wrote:

 
 Hi all,
 
 I've been catching up on ImageSegment news, and came across this old post
 from January, 
 and got interested in discovering the mindset behind the outPointers array. 
 I re-ran
 Mariano's original test code, with a small change:  turned 'Object new' into
 TestOutPointers, a new 
 subclass of Object, with 2 inst vars and one method.  I'd be interested in
 getting feedback on
 whether my guesses (in quotes below) are in the ball park.  The results seem
 to explain why
 Association is not in outPointers - what is captured there in the case of
 adding a class 
 is a lot like what you would need for filling in a class template.  If you
 add an instance of a class,
 you just need the name of the class.
 
 Some comments I have gleaned from the ImageSegment class on outPointers :
 This array contains:
- OOPs of all objects outside the segment that are pointed to from
 inside segment.
   - outPointers that are necessary to turn the bits in the file into 
 objects.
 
 Here's the code:
 
 | segment external internal root |
 
 external := TestOutpointers. 
 internal := true - external.
 root := false - internal.
 internal := nil.
 
segment := ImageSegment new
 copyFromRoots: (Array with: root with: external)
 sizeHint: 5000
 areUnique: true.
 ^ (segment outPointers ) - (segment arrayOfRoots )  
 
 == result =
 { false.  object outside the segment that is
 pointed to from inside segment.
 Object.  superclass of TestOutpointers
 a MethodDictionary(#tryList-a CompiledMethod(1725:
 TestOutpointerstryList) )   MethodDictionary
 #('iv1' 'iv2') inst var names
 ('testing' tryList)  method category
 nil.object outside the segment that is
 pointed to from inside segment.
 #TestOutpointers.   symbol representing name of new class
 Smalltalk.  environment that TestOutpointers is
 assigned to
 #'IST-outPointers'.  category name for TestOutpointers
 true.  object outside the segment that is
 pointed to from inside segment.
 Metaclass. for initializing class variables and
 instance creation messages particular to a class.
 Object class.  class of TestOutpointers superclass
 ClassOrganizer.  need this in order to determine whether
 TestOutpointers has been changed in the local env
 #'as yet unclassified'.  ??
 }
 -
 {false-true-TestOutpointers. TestOutpointers}
 
 
 
 Any feedback would be very welcome...
 
 Cheers,
 Sheri
 
 -- 
 View this message in context: 
 http://n4.nabble.com/Something-I-don-t-understand-with-ImageSegments-tp1296982p1560990.html
 Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
 
 ___
 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