Re: [Pharo-project] Jenkis notification when Squeaksource is down [WAS] Re: [Pharo-fuel] Build failed in Jenkins: Fuel #112

2011-08-17 Thread Lukas Renggli
On 17 August 2011 00:41, Mariano Martinez Peck marianop...@gmail.com wrote: Marcus, is there a way to catch the errors when SqueakSource is down so that to avoid false alarms ? Gofer new disableRepositoryErrors; ... and everything loads silently from the package-cache. Lukas

[Pharo-project] Policy for storing metacello configurations

2011-08-17 Thread Max Leske
I would like to complain a bit about the current way Metacello configurations are distributed in different repositories. I ended up using the wrong configuration for two different projects twice in just two days. Apart from the date in the configuration file (and possibly the version number,

Re: [Pharo-project] Fwd: [Pharo-fuel] Two nice things I did in 2 hours with Fuel

2011-08-17 Thread laurent laffont
Do I hear remote tools ? Laurent On Tue, Aug 16, 2011 at 9:37 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: This clearly opens the door to really amazing experiment. Stef *From: *Mariano Martinez Peck marianop...@gmail.com *Date: *August 16, 2011 8:58:03 PM GMT+02:00 *To: *The

Re: [Pharo-project] Headless image hanging

2011-08-17 Thread Sven Van Caekenberghe
Bernat, You could try to use the Finder to search the source(s) for this string or parts of it. I couldn't find it in my image… Sven On 17 Aug 2011, at 07:32, Bernat Romagosa wrote: Hi list, I think I asked this a while ago but never managed to find a solution, so here we go: I have

Re: [Pharo-project] Headless image hanging

2011-08-17 Thread Mariano Martinez Peck
On Wed, Aug 17, 2011 at 9:16 AM, Sven Van Caekenberghe s...@beta9.bewrote: Bernat, You could try to use the Finder to search the source(s) for this string or parts of it. I couldn't find it in my image… That's an assert that is failing in the VM side. index = 0 index = numSignalRequests

Re: [Pharo-project] Headless image hanging

2011-08-17 Thread Mariano Martinez Peck
BTW...your VM is quite old. Why don't you give a try with a new one? On Wed, Aug 17, 2011 at 9:35 AM, Mariano Martinez Peck marianop...@gmail.com wrote: On Wed, Aug 17, 2011 at 9:16 AM, Sven Van Caekenberghe s...@beta9.bewrote: Bernat, You could try to use the Finder to search the

Re: [Pharo-project] Policy for storing metacello configurations

2011-08-17 Thread Damien Pollet
On 17 August 2011 08:59, Max Leske maxle...@gmail.com wrote: Some people seem to have adopted MetacelloRepository as the standard repository for all configurations, others keep the configuration for a project in the project repositories and a third group uses both repositories (where one

Re: [Pharo-project] Headless image hanging

2011-08-17 Thread Sven Van Caekenberghe
On 17 Aug 2011, at 09:35, Mariano Martinez Peck wrote: BTW, is not this the problem of Sempahores or I don't know what that you need to change/make bigger in Cog ? Probably, http://code.google.com/p/pharo/issues/detail?id=4505 Hendrik fixed it for 1.4 You can manually extend the table in

Re: [Pharo-project] Headless image hanging

2011-08-17 Thread Bernat Romagosa
Thanks all! So I extended the table, let's see how it holds up now! Mariano, I know the vm's a little bit old, but I had already tried updating to the latest one and still had the same problem. Will update it anyway now that I noticed :) Thanks again! Cheers, 2011/8/17 Sven Van Caekenberghe

Re: [Pharo-project] deprecated annotation?

2011-08-17 Thread Philippe Marschall
On 16.08.2011 19:51, Igor Stasenko wrote: Hello, i know that we're already having #deprecated: , #deprecated: on: in: etc but one thing what i think useful about annotations that it is a way to indicate that method is deprecated without showing a warning. The problem with using

Re: [Pharo-project] deprecated annotation?

2011-08-17 Thread Levente Uzonyi
On Wed, 17 Aug 2011, Philippe Marschall wrote: On 16.08.2011 19:51, Igor Stasenko wrote: Hello, i know that we're already having #deprecated: , #deprecated: on: in: etc but one thing what i think useful about annotations that it is a way to indicate that method is deprecated without showing

Re: [Pharo-project] deprecated annotation?

2011-08-17 Thread Igor Stasenko
On 17 August 2011 14:23, Lukas Renggli reng...@gmail.com wrote: What you think? How would that help anybody to find out whether they are relying on deprecated methods? This seems like a big step backwards form a user point of view. Suddenly a method is gone and you didn't get a warning. You

Re: [Pharo-project] seaside #stable on pharo.13?

2011-08-17 Thread Philippe Marschall
On 16.08.2011 23:07, Dale Henrichs wrote: Doru, The 'Base' group defines the minimal set of packages for Seaside (it does not include OB)... The only thing that you need in addition to 'Base' is to decide which of the Adaptors you want to use and you can have a perfectly functioning

Re: [Pharo-project] deprecated annotation?

2011-08-17 Thread Philippe Marschall
On 17.08.2011 14:24, Igor Stasenko wrote: On 17 August 2011 14:14, Philippe Marschall kus...@gmx.net wrote: On 16.08.2011 19:51, Igor Stasenko wrote: Hello, i know that we're already having #deprecated: , #deprecated: on: in: etc but one thing what i think useful about annotations that it

Re: [Pharo-project] deprecated annotation?

2011-08-17 Thread Igor Stasenko
On 17 August 2011 14:26, Levente Uzonyi le...@elte.hu wrote: On Wed, 17 Aug 2011, Philippe Marschall wrote: On 16.08.2011 19:51, Igor Stasenko wrote: Hello, i know that we're already having #deprecated: , #deprecated: on: in: etc but one thing what i think useful about annotations that it

Re: [Pharo-project] deprecated annotation?

2011-08-17 Thread Lukas Renggli
How would that help anybody to find out whether they are relying on deprecated methods? This seems like a big step backwards form a user point of view. Suddenly a method is gone and you didn't get a warning. You are you supposed to check for deprecated methods? Debug each and every one of

Re: [Pharo-project] deprecated annotation?

2011-08-17 Thread Henrik Johansen
On Aug 17, 2011, at 2:40 34PM, Lukas Renggli wrote: How would that help anybody to find out whether they are relying on deprecated methods? This seems like a big step backwards form a user point of view. Suddenly a method is gone and you didn't get a warning. You are you supposed to check

[Pharo-project] Squeaksource not synchronized

2011-08-17 Thread Torsten Bergmann
Trouble with SqS again: JQWidgetBox-Dynatree-Core-tbn.1.mcz JQWidgetBox-Dynatree-Core-tbn.2.mcz JQWidgetBox-Dynatree-Core-tbn.3.mcz JQWidgetBox-Dynatree-Dev-tbn.1.mcz JQWidgetBox-Dynatree-Dev-tbn.2.mcz JQWidgetBox-Dynatree-Dev-tbn.3.mcz I saved them yesterday to SqS - then later Squeaksource

Re: [Pharo-project] Squeaksource not synchronized

2011-08-17 Thread Fabrizio Perin
I will try to run a script that should fix it now. So SS will be down for some minuts cheers, Fabrizio 2011/8/17 Torsten Bergmann asta...@gmx.de Trouble with SqS again: JQWidgetBox-Dynatree-Core-tbn.1.mcz JQWidgetBox-Dynatree-Core-tbn.2.mcz JQWidgetBox-Dynatree-Core-tbn.3.mcz

[Pharo-project] primitiveSetGCSemaphore puzzle

2011-08-17 Thread Igor Stasenko
I am a bit puzzled with this primitive. There is no sender of #setGCSemaphore: semaIndex in image, and VM seems like using it for signaling semaphore as a post-GC action. I expected that it is finalization process, which should use that guy.. but no, it just using special objects array indice:

Re: [Pharo-project] deprecated annotation?

2011-08-17 Thread Hernán Morales Durand
Hi Lukas, Igor 2011/8/17 Lukas Renggli reng...@gmail.com: How would that help anybody to find out whether they are relying on deprecated methods? This seems like a big step backwards form a user point of view. Suddenly a method is gone and you didn't get a warning. You are you supposed to

Re: [Pharo-project] Squeaksource not synchronized

2011-08-17 Thread Fabrizio Perin
It seems not working. Could you please double check? I don't know how to proceed. Someone have any idea? 2011/8/17 Fabrizio Perin fabrizio.pe...@gmail.com I will try to run a script that should fix it now. So SS will be down for some minuts cheers, Fabrizio 2011/8/17 Torsten Bergmann

[Pharo-project] Squeaksource not synchronized

2011-08-17 Thread Torsten Bergmann
It seems not working. Could you please double check? I don't know how to proceed. Someone have any idea? It's not there yet. Still wrong. Maybe you could delete the core/dev 1-3 mcz's on the hard disk and I reimport them. Andreas Raab also seems to miss packages:

Re: [Pharo-project] Policy for storing metacello configurations

2011-08-17 Thread Dale Henrichs
Max, You have reason to complain... Not all projects use Metacello so there are still cases where the configuration is only found in the MetacelloRepository. Sometimes developers forget to copy the configurations to the MetacelloRepository. And so on In self defense: 1. Use the

Re: [Pharo-project] Policy for storing metacello configurations

2011-08-17 Thread Dale Henrichs
Damien, Stef and I are going to talk at ESUG about the procedures/recommendations/tools for managing configurations in Pharo. I (almost) apologize for naming the class MetacelloToolBox, but what do you expect from a person who makes up names all the time? With project names like Metacello or

Re: [Pharo-project] Squeaksource not synchronized

2011-08-17 Thread Marcus Denker
On Aug 17, 2011, at 6:02 PM, Torsten Bergmann wrote: It seems not working. Could you please double check? I don't know how to proceed. Someone have any idea? It's not there yet. Still wrong. Maybe you could delete the core/dev 1-3 mcz's on the hard disk and I reimport them. Yes, we

Re: [Pharo-project] Policy for storing metacello configurations

2011-08-17 Thread Damien Pollet
On 17 August 2011 19:04, Dale Henrichs dhenr...@vmware.com wrote: Stef and I are going to talk at ESUG about the procedures/recommendations/tools for managing configurations in Pharo. Cool, I'm interested too (though probably to obsessive-compulsive to have a useful point of view) I (almost)

Re: [Pharo-project] Policy for storing metacello configurations

2011-08-17 Thread Lukas Renggli
 1. Use the configuration found in the project repository.  2. Use the configuration found in MetacelloRepository The following code would do that automatically (i.e. for Moose): Gofer new squeaksource: 'Moose'; squeaksource: 'MetacelloRepository'; package:

Re: [Pharo-project] Policy for storing metacello configurations

2011-08-17 Thread Stéphane Ducasse
The policy should be - put a configurationOf in your package - publish when you want a copy of it in metacellorepository I will sit with dale sunday because we want the publish to copy all the dependent package also in the DistributionMetacelloRepository On Aug 17, 2011, at

Re: [Pharo-project] deprecated annotation?

2011-08-17 Thread Philippe Marschall
On 17.08.2011 16:05, Hernán Morales Durand wrote: Hi Lukas, Igor 2011/8/17 Lukas Renggli reng...@gmail.com: How would that help anybody to find out whether they are relying on deprecated methods? This seems like a big step backwards form a user point of view. Suddenly a method is gone and

Re: [Pharo-project] Policy for storing metacello configurations

2011-08-17 Thread Johan Brichau
Maybe a bit of wishful thinking but… Ideally, I think of the metacellorepository as a kind of 'smart folder' where all metacello configurations of public repositories are automatically included. Something like a smart mail folder on mac mail. Having two locations with the same package almost

Re: [Pharo-project] [squeak-dev] new Cog VMs available

2011-08-17 Thread Lukas Renggli
Hi Eliot, This is great news. I am totally happy that I can get accurate coverage data again :-) Unfortunately there is a new problem: The VM sometimes crashes when running the coverage analysis. I am using the same test setup

Re: [Pharo-project] Policy for storing metacello configurations

2011-08-17 Thread Bernat Romagosa
I'm not sure whether this is one of the goals of the community or whether maybe someone's already heading in this direction, but something like Gofer install: #myPackage that looked up which repo and version are the suitable ones would really rock big time. The apt-get of Pharo, call it... To go

Re: [Pharo-project] Policy for storing metacello configurations

2011-08-17 Thread Dale Henrichs
Bernat, A while ago, Esteban Lorenzano released the GoferProjectLoader[1] that extends Gofer and allows one to load configurations. For example: Gofer project load: 'Seaside30'; load: 'Pier2'. loads the latest version of Seaside30 and then Pier2 ... there are options for

Re: [Pharo-project] Policy for storing metacello configurations

2011-08-17 Thread Stéphane Ducasse
What I would like is that the published conf in the distro projects should get loaded, tests run automatically. Stef On Aug 17, 2011, at 8:14 PM, Johan Brichau wrote: Maybe a bit of wishful thinking but… Ideally, I think of the metacellorepository as a kind of 'smart folder' where

[Pharo-project] Aida ToDo example ready

2011-08-17 Thread Janko Mivšek
Dear Smalltalkers, As part of comparison of web frameworks [1] Hannes Hirzel proposed to make a concrete example of web app in all three frameworks [2]. He proposed a ToDo example and here it is, an Aida version of it! I also prepared a short description with screenshots and code snippets,

Re: [Pharo-project] Policy for storing metacello configurations

2011-08-17 Thread Bernat Romagosa
Great, really! :) So, ideally we'd have ONE single config repo (MetacelloRepository), and Gofer project would look there, is that it? 2011/8/17 Dale Henrichs dhenr...@vmware.com Bernat, A while ago, Esteban Lorenzano released the GoferProjectLoader[1] that extends Gofer and allows one to

Re: [Pharo-project] Policy for storing metacello configurations

2011-08-17 Thread Dale Henrichs
Damien and others, I am hoping to have a set of relatively informal discussions of Metacello and collaboration on Saturday and Sunday at Camp Smalltalk with additional discussions throughout the week. I'll send mail to the Metacello mailing list[1] and tweet[2] about times and locations,

Re: [Pharo-project] Squeaksource not synchronized

2011-08-17 Thread Fabrizio Perin
do you want the entire folder or just the missing files? 2011/8/17 Marcus Denker marcus.den...@inria.fr On Aug 17, 2011, at 6:02 PM, Torsten Bergmann wrote: It seems not working. Could you please double check? I don't know how to proceed. Someone have any idea? It's not there yet.

[Pharo-project] what are the comments of cull: cull: cull:cull: and friends?

2011-08-17 Thread stephane ducasse
Hi guys I would like to get a better system and I would appreciate some comments for these methods. Stef

Re: [Pharo-project] what are the comments of cull: cull: cull:cull: and friends?

2011-08-17 Thread Stéphane Ducasse
I wrote cull: anArg Execute the receiver with one or zero argument. [ 1 + 2 ] cull: 5 returns 3 [ :x | 1+ 2 + x] cull: 5 returns 8 ^numArgs = 0 ifTrue: [self value] ifFalse: [self

Re: [Pharo-project] what are the comments of cull: cull: cull:cull: and friends?

2011-08-17 Thread Philippe Marschall
On 17.08.2011 22:17, Stéphane Ducasse wrote: I wrote cull: anArg Execute the receiver with one or zero argument. [ 1 + 2 ] cull: 5 returns 3 [ :x | 1+ 2 + x] cull: 5 returns 8 ^numArgs = 0 ifTrue:

Re: [Pharo-project] what are the comments of cull: cull: cull:cull: and friends?

2011-08-17 Thread Igor Stasenko
execute or evaluate? On 17 August 2011 23:17, Stéphane Ducasse stephane.duca...@inria.fr wrote: I wrote cull: anArg        Execute the receiver with one or zero argument.        [ 1 + 2 ] cull: 5                returns 3        [ :x | 1+ 2 + x] cull: 5                returns 8        

Re: [Pharo-project] what are the comments of cull: cull: cull:cull: and friends?

2011-08-17 Thread Igor Stasenko
this is a convenience methods On 17 August 2011 23:29, Philippe Marschall kus...@gmx.net wrote: On 17.08.2011 22:17, Stéphane Ducasse wrote: I wrote cull: anArg       Execute the receiver with one or zero argument.       [ 1 + 2 ] cull: 5               returns 3       [ :x | 1+ 2 + x]

Re: [Pharo-project] what are the comments of cull: cull: cull:cull: and friends?

2011-08-17 Thread Henrik Sperre Johansen
On 17.08.2011 22:11, stephane ducasse wrote: Hi guys I would like to get a better system and I would appreciate some comments for these methods. Stef Execute receiving block with as many arguments as it requires. This allows us to write blocks more concisely when we are not necessarily

Re: [Pharo-project] what are the comments of cull: cull: cull:cull: and friends?

2011-08-17 Thread Stéphane Ducasse
I prefer execute :) because evaluate looks like you don't run fast and generate possibly assembly on the fly. I stopped long time ago to use evaluate because people also think that Smalltalk is slow because of that evaluation silly idiots but they are out there. Stef (Ze mass educator)

[Pharo-project] Concurrency-Oriented Programming in Pharo

2011-08-17 Thread Andrew P. Black
I was looking at some old slides of Joe Armstrong on Concurrency-orinted programming. He set the following challenge: Put N processes in a ring: Send a simple message round the ring M times. Increase N until the system crashes. How long did it take to start the ring? How long did it take to

Re: [Pharo-project] what are the comments of cull: cull: cull:cull: and friends?

2011-08-17 Thread Stéphane Ducasse
thanks I will be in the Block chapter I'm revising now :) On Aug 17, 2011, at 10:47 PM, Henrik Sperre Johansen wrote: On 17.08.2011 22:11, stephane ducasse wrote: Hi guys I would like to get a better system and I would appreciate some comments for these methods. Stef Execute receiving

Re: [Pharo-project] what are the comments of cull: cull: cull:cull: and friends?

2011-08-17 Thread Henrik Sperre Johansen
On 17.08.2011 22:29, Philippe Marschall wrote: On 17.08.2011 22:17, Stéphane Ducasse wrote: I wrote cull: anArg Execute the receiver with one or zero argument. [ 1 + 2 ] cull: 5 returns 3 [ :x | 1+ 2 + x] cull: 5 returns 8

Re: [Pharo-project] Concurrency-Oriented Programming in Pharo

2011-08-17 Thread Eliot Miranda
Hi Andrew, On Wed, Aug 17, 2011 at 1:50 PM, Andrew P. Black bl...@cs.pdx.edu wrote: I was looking at some old slides of Joe Armstrong on Concurrency-orinted programming. He set the following challenge: Put N processes in a ring: Send a simple message round the ring M times. Increase N

Re: [Pharo-project] what are the comments of cull: cull: cull:cull: and friends?

2011-08-17 Thread Igor Stasenko
On 17 August 2011 23:45, Stéphane Ducasse stephane.duca...@inria.fr wrote: I prefer execute :) because evaluate looks like you don't run fast and generate possibly assembly on the fly. :) I stopped long time ago to use evaluate because people also think that Smalltalk is slow because of

Re: [Pharo-project] what are the comments of cull: cull: cull:cull: and friends?

2011-08-17 Thread Igor Stasenko
On 17 August 2011 23:57, Henrik Sperre Johansen henrik.s.johan...@veloxit.no wrote: On 17.08.2011 22:29, Philippe Marschall wrote: On 17.08.2011 22:17, Stéphane Ducasse wrote: I wrote cull: anArg        Execute the receiver with one or zero argument.        [ 1 + 2 ] cull: 5            

Re: [Pharo-project] Concurrency-Oriented Programming in Pharo

2011-08-17 Thread Stéphane Ducasse
Each process is a Pharo object (an instance of ERringElement) that contains a counter, a reference to the next ERringElement, and an ErlangProcess that is a Process that contains a reference to an instance of SharedQueue (its mailbox). The good news is that up to 50k processes, it

Re: [Pharo-project] Concurrency-Oriented Programming in Pharo

2011-08-17 Thread Igor Stasenko
On 18 August 2011 00:02, Eliot Miranda eliot.mira...@gmail.com wrote: Hi Andrew, On Wed, Aug 17, 2011 at 1:50 PM, Andrew P. Black bl...@cs.pdx.edu wrote: I was looking at some old slides of Joe Armstrong on Concurrency-orinted programming.  He set the following challenge: Put N processes

Re: [Pharo-project] Concurrency-Oriented Programming in Pharo

2011-08-17 Thread Stefan Marr
Hi Andrew: On 17 Aug 2011, at 22:50, Andrew P. Black wrote: I can imagine that the increasing process-creation time is due to beating on the memory manager. But why the increasing message-sending time as the number of processes increases? (Recall that exactly one process is runnable at

Re: [Pharo-project] Concurrency-Oriented Programming in Pharo

2011-08-17 Thread Igor Stasenko
On 18 August 2011 00:20, Igor Stasenko siguc...@gmail.com wrote: On 18 August 2011 00:02, Eliot Miranda eliot.mira...@gmail.com wrote: Hi Andrew, On Wed, Aug 17, 2011 at 1:50 PM, Andrew P. Black bl...@cs.pdx.edu wrote: I was looking at some old slides of Joe Armstrong on Concurrency-orinted

Re: [Pharo-project] Concurrency-Oriented Programming in Pharo

2011-08-17 Thread Igor Stasenko
On 18 August 2011 00:24, Stefan Marr ph...@stefan-marr.de wrote: Hi Andrew: On 17 Aug 2011, at 22:50, Andrew P. Black wrote: I can imagine that the increasing process-creation time is due to beating on the memory manager.  But why the increasing message-sending time as the number of

Re: [Pharo-project] Fwd: [Pharo-fuel] Two nice things I did in 2 hours with Fuel

2011-08-17 Thread Craig Latta
Do I hear remote tools ? How would that work, exactly? Wouldn't you want to keep the contexts where they are, and interact with them with remote messages? Otherwise, it seems like differences between the two object memories would cause trouble eventually. -C -- Craig Latta