Re: [Pharo-users] GTTools and Mongo

2015-03-10 Thread Tudor Girba
He he. When the cost of building a tool gets too low, developers feel compelled to work on embellishments just to feel like they did something :). And I see you used yet another undocumented feature: filtering the inspector :) Nice job! Doru On Tue, Mar 10, 2015 at 9:14 PM, Torsten Bergmann

Re: [Pharo-users] When to use a stream for concatenating text..

2015-03-10 Thread Esteban A. Maringolo
Andres Valloud performed some benchmarking in the past and his conclusion was that there was a threshold higher than expected when the streamed concatenation was faster and memory savvier. This was years ago, and of course I don't remember such threshold. However from the code aesthetics I use sim

Re: [Pharo-users] GTTools and Mongo

2015-03-10 Thread Ben Coman
A blog article on that would be cool :) On Wed, Mar 11, 2015 at 4:14 AM, Torsten Bergmann wrote: > I spend some more minutes. So using GTTools in Pharo 4beta and a few more > methods, > pragmas, icons later we now have: > > MongoBrowser open > > which I also made available in the Tools m

Re: [Pharo-users] When to use a stream for concatenating text..

2015-03-10 Thread Ben Coman
There are a few things floating around the web saying that it is faster using a stream for concatenation, but its been shown a while back to be "not necessarily" true. It depends on the use case so you should profile - if its that important. cheers -ben On Wed, Mar 11, 2015 at 2:09 AM, sergio_101

Re: [Pharo-users] GTTools and Mongo

2015-03-10 Thread Torsten Bergmann
I spend some more minutes. So using GTTools in Pharo 4beta and a few more methods, pragmas, icons later we now have: MongoBrowser open which I also made available in the Tools menu. If you want to try out go to "Tools" -> "ConfigurationBrowser" and load MongoTalk in Pharo 4beta. See at

Re: [Pharo-users] When to use a stream for concatenating text..

2015-03-10 Thread sergio_101
gotcha.. this makes sense. On Tue, Mar 10, 2015 at 2:18 PM Esteban A. Maringolo wrote: > 2015-03-10 15:09 GMT-03:00 sergio_101 : > > > > it seems that in more cases than not, i find that developers use a stream > > when concatenating some text strings. > > > > I am wondering if this is a smallta

Re: [Pharo-users] When to use a stream for concatenating text..

2015-03-10 Thread Esteban A. Maringolo
2015-03-10 15:09 GMT-03:00 sergio_101 : > > it seems that in more cases than not, i find that developers use a stream > when concatenating some text strings. > > I am wondering if this is a smalltalk thing, or is there a real speed > benefit when using streams in this way. It is not a matter of sp

Re: [Pharo-users] Running startup scripts after the UI has finished

2015-03-10 Thread Esteban Lorenzano
Smalltalk addDeferredStartupAction: aBlock. aBlock will be executed after startup, as the comment says: "Add the monadic or nulladic block to the list of actions that we will be performed immediately after the startup is totally executed.” and World defer: aBlock aBlock will be executed in

[Pharo-users] Running startup scripts after the UI has finished

2015-03-10 Thread Peter Uhnák
Hi, is it possible to execute startup scripts after the UI has finished rendering / the image has loaded? I have install startup script that executes when I create the image, however since it starts executing very early the UI is frozen and I don't get any progress bar so I don't know what's happ

Re: [Pharo-users] stdout on windows

2015-03-10 Thread Esteban Lorenzano
AFAIK, GetStdHandle will answer NULL, as explained here: https://msdn.microsoft.com/en-us/library/windows/desktop/ms683231(v=vs.85).aspx (Windows is not my speciality, so I can be wrong… but AFAIK, Eliot also had

[Pharo-users] stdout on windows

2015-03-10 Thread Torsten Bergmann
Esteban wrote: >you cannot. >and the reason is deeply inside the inners of the vm implementation and the >windows architecture not true as to my knowledge even a windows app can get a handle to stdout (or set one) and this is not dependent if you build it as consol or ui app. you can even crea

Re: [Pharo-users] Any framework to create a blog over seaside?

2015-03-10 Thread Julien Delplanque
On 10/03/15 17:28, Stephan Eggermont wrote: > On 10/03/15 16:12, Julien Delplanque wrote: >> On 09/03/15 21:56, stepharo wrote: >>> If you take pier you get a blog out of the box >> It's no longer maintained isn't it? > > What do you mean? Diego posted on how to make a > Bootstrap based one. Oh ok

Re: [Pharo-users] Why `aFileReference asString = aFileReference fullName` is false?

2015-03-10 Thread Sven Van Caekenberghe
> On 10 Mar 2015, at 17:31, Peter Uhnák wrote: > > /Users/sven/Desktop/foo.txt > file:///Users/sven/Desktop/foo.txt > > But what about native (OS platform) conventions ? > > I don't want to see Windows backslashes, but Windows user might disagree. > > file:// is URI scheme and as per RFC ( ht

Re: [Pharo-users] Why `aFileReference asString = aFileReference fullName` is false?

2015-03-10 Thread Peter Uhnák
> > /Users/sven/Desktop/foo.txt > file:///Users/sven/Desktop/foo.txt > > But what about native (OS platform) conventions ? > > I don't want to see Windows backslashes, but Windows user might disagree. > file:// is URI scheme and as per RFC ( http://tools.ietf.org/html/rfc1630 ) there is always for

Re: [Pharo-users] Any framework to create a blog over seaside?

2015-03-10 Thread Stephan Eggermont
On 10/03/15 16:12, Julien Delplanque wrote: On 09/03/15 21:56, stepharo wrote: If you take pier you get a blog out of the box It's no longer maintained isn't it? What do you mean? Diego posted on how to make a Bootstrap based one. https://ci.inria.fr/pharo-contribution/job/Pier3/ https://ci

Re: [Pharo-users] stdout on windows

2015-03-10 Thread Esteban Lorenzano
you cannot. and the reason is deeply inside the inners of the vm implementation and the windows architecture (if is a graphical app, then it does not have a console, etc.) sorry :( Esteban > On 10 Mar 2015, at 17:13, Tudor Girba wrote: > > Hi, > > Can anyone point me to how to write someth

Re: [Pharo-users] stdout on windows

2015-03-10 Thread Esteban Lorenzano
ah, btw… in the future we will provide 2 executables for windows: UI and command line, to fix this issue. > On 10 Mar 2015, at 17:18, Esteban Lorenzano wrote: > > you cannot. > and the reason is deeply inside the inners of the vm implementation and the > windows architecture (if is a graphic

Re: [Pharo-users] Why `aFileReference asString = aFileReference fullName` is false?

2015-03-10 Thread Sven Van Caekenberghe
the standard string representation of an abstract platform independent representation of a file should be that: abstract & platform independent (it would be terrible to mask that behind a platform dependent external representation) furthermore it makes sense that the print string gives an indi

[Pharo-users] stdout on windows

2015-03-10 Thread Tudor Girba
Hi, Can anyone point me to how to write something to standard out when executing Pharo from the Windows command line? Cheers, Doru -- www.tudorgirba.com "Every thing has its own flow"

Re: [Pharo-users] when iterating over a collection how to determine the current objects index

2015-03-10 Thread Peter Uhnák
> > 1. Is there any way to query an object to finds its index value in the > original collection ... > say when all the objects from a collection are displayed and user clicks on > one item - I want to locate the object back in the collection. Knowing the > index for me would be most efficient. ==

Re: [Pharo-users] when iterating over a collection how to determine the current objects index

2015-03-10 Thread Norbert Hartl
Always try to do it as you would say it anObject = aCollection last Norbert > Am 10.03.2015 um 15:05 schrieb Joachim Tuchel : > > (aCollection indexOf: anObject) = aCollection size > > > >> Am 10.03.2015 um 14:47 schrieb Sanjay Minni : >> >> >> sorry folks ... >> >> so back to terra firma

Re: [Pharo-users] when iterating over a collection how to determine the current objects index

2015-03-10 Thread Peter Uhnák
> > The Principle Of Least Surprise would imply that the variables appear in > the same order that they appear in the method name. Of course that doesn't > mean you don't get surprised sometimes. Are there any that don't follow > that rule? We should consider fixing them. It would be interesting

Re: [Pharo-users] Any framework to create a blog over seaside?

2015-03-10 Thread Julien Delplanque
On 09/03/15 21:56, stepharo wrote: > If you take pier you get a blog out of the box It's no longer maintained isn't it? On 10/03/15 13:54, Esteban Lorenzano wrote: > there are also a couple of implementations > > http://smalltalkhub.com/#!/~mikefilonov/QDBlog >

Re: [Pharo-users] Native language support

2015-03-10 Thread Sean P. DeNigris
> Now it is Pharo3.0 Latest update: #30862 and Pharo4.0 Latest update: #40474, > but previous updates worked the same (ignore cyrillic capital letters ЁНПОЛЄМ) > What is the exact image version (incl. update number)? I meant specifically regarding the #isArrow error. I don’t think you can be havi

Re: [Pharo-users] Any framework to create a blog over seaside?

2015-03-10 Thread Davorin Rusevljan
On Tue, Mar 10, 2015 at 3:34 PM, sergio_101 wrote: > i have made several blogs using pier, and once you get the idea of what is > going on, it's a really great system.. > > I have blog on it, and it is certainly great and flexible to use and in many ways fun and refreshing, once one gets a feelin

Re: [Pharo-users] Searching package for comment content

2015-03-10 Thread sergio_101
thanks all! this is just what i was looking for.. On Mon, Mar 9, 2015 at 11:01 AM Esteban Lorenzano wrote: > I always do: > > self flag: #todo. “An explanation here” > > probably not the best… but works. > > Esteban > > On 09 Mar 2015, at 15:55, Andrei Chis wrote: > > Or you can add > > > and

Re: [Pharo-users] Any framework to create a blog over seaside?

2015-03-10 Thread sergio_101
i have made several blogs using pier, and once you get the idea of what is going on, it's a really great system.. On Tue, Mar 10, 2015 at 10:32 AM Stephan Eggermont wrote: > On 10/03/15 13:54, Esteban Lorenzano wrote: > > there are also a couple of implementations > > > > http://smalltalkhub.com

Re: [Pharo-users] Any framework to create a blog over seaside?

2015-03-10 Thread Esteban Lorenzano
> On 10 Mar 2015, at 15:31, Stephan Eggermont wrote: > > On 10/03/15 13:54, Esteban Lorenzano wrote: >> there are also a couple of implementations >> >> http://smalltalkhub.com/#!/~mikefilonov/QDBlog >> http://smalltalkhub.com/#!/~mikefilonov/CSDBlog >> >> I don’t actually know any of them, bu

Re: [Pharo-users] Any framework to create a blog over seaside?

2015-03-10 Thread Stephan Eggermont
On 10/03/15 13:54, Esteban Lorenzano wrote: there are also a couple of implementations http://smalltalkhub.com/#!/~mikefilonov/QDBlog http://smalltalkhub.com/#!/~mikefilonov/CSDBlog I don’t actually know any of them, but if you are looking for a blog without pier… I would probably start there.

Re: [Pharo-users] when iterating over a collection how to determine the current objects index

2015-03-10 Thread Joachim Tuchel
(aCollection indexOf: anObject) = aCollection size > Am 10.03.2015 um 14:47 schrieb Sanjay Minni : > > > sorry folks ... > > so back to terra firma ... > > 1. Is there any way to query an object to finds its index value in the > original collection ... > say when all the objects from a coll

Re: [Pharo-users] when iterating over a collection how to determine the current objects index

2015-03-10 Thread Thierry Goubier
Hi Sanjay, 2015-03-10 14:47 GMT+01:00 Sanjay Minni : > > sorry folks ... > > so back to terra firma ... > > 1. Is there any way to query an object to finds its index value in the > original collection ... > say when all the objects from a collection are displayed and user clicks on > one item - I

Re: [Pharo-users] when iterating over a collection how to determine the current objects index

2015-03-10 Thread Sanjay Minni
sorry folks ... so back to terra firma ... 1. Is there any way to query an object to finds its index value in the original collection ... say when all the objects from a collection are displayed and user clicks on one item - I want to locate the object back in the collection. Knowing the index

Re: [Pharo-users] when iterating over a collection how to determine the current objects index

2015-03-10 Thread Joachim Tuchel
Marcus So sorry for this false accusation. It is proprietary in Squeak. And even if it was Dan's idea to rename it, I'd like to learn more about the reasoning. My understanding would be: #do: iterates over a collection #doWithIndex: iterates over a collection and also keeps track of the current

Re: [Pharo-users] when iterating over a collection how to determine the current objects index

2015-03-10 Thread Sanjay Minni
Is there a way to query an object to its index value otherwise in withIndexDo: I have to explicitly store the index values if I need it later in some cases regards Sanjay - --- Regards, Sanjay -- View this message in context: http://forum.world.st/when-iterating-over-a-collection-how-to

Re: [Pharo-users] when iterating over a collection how to determine the current objects index

2015-03-10 Thread Thierry Goubier
2015-03-10 14:13 GMT+01:00 Ben Coman : > > > > >> >> 2015-03-10 13:27 GMT+01:00 Peter Uhnák : >> >>> On Tue, Mar 10, 2015 at 1:23 PM, Joachim Tuchel >> > wrote: >>> #doWithIndex: ? >>> >>> doWithIndex: elementAndIndexBlock >>> "Use the new version with consistent naming" >>> ^ self withI

Re: [Pharo-users] when iterating over a collection how to determine the current objects index

2015-03-10 Thread Marcus Denker
> On 10 Mar 2015, at 14:25, Joachim Tuchel wrote: > > Sounds like a bad naming to me. I don't see why withIndexDo is any better. It > even contradicts the order of the arguments. And it is Proprietary to Pharo. > No, if you look a the timeStamp it was done in 1997 by Dan. > Joachim > >

Re: [Pharo-users] Cleaning changes file?

2015-03-10 Thread Marcus Denker
> On 10 Mar 2015, at 14:17, Johan Fabry wrote: > > >> On Mar 10, 2015, at 03:58, Marcus Denker wrote: >> >>> >>> You can do that using the expression: >>> >>> PharoChangesCondenser condense >>> >>> Although that also means you lose the version history of methods inside >>> your image. Thi

Re: [Pharo-users] when iterating over a collection how to determine the current objects index

2015-03-10 Thread Joachim Tuchel
Sounds like a bad naming to me. I don't see why withIndexDo is any better. It even contradicts the order of the arguments. And it is Proprietary to Pharo. Joachim > Am 10.03.2015 um 13:39 schrieb Sanjay Minni : > > Yes usually I have to open the code and see, use intuition or write a sample

Re: [Pharo-users] GTTools and Mongo

2015-03-10 Thread Johan Fabry
Excellent !! > On Mar 10, 2015, at 06:20, Torsten Bergmann wrote: > > After loading MongoTalk or VoyageMongo in Pharo 4 you can additionally > load the package: "Mongo-Pharo-Tools" from mongotalk repo on SmalltalkHub. > > This way you can browse your mongo database (collections and documents)

Re: [Pharo-users] Cleaning changes file?

2015-03-10 Thread Johan Fabry
> On Mar 10, 2015, at 03:58, Marcus Denker wrote: > >> >> You can do that using the expression: >> >> PharoChangesCondenser condense >> >> Although that also means you lose the version history of methods inside your >> image. This is typically not done a lot, maybe for production deploy, may

Re: [Pharo-users] when iterating over a collection how to determine the current objects index

2015-03-10 Thread Ben Coman
> > 2015-03-10 13:27 GMT+01:00 Peter Uhnák : > >> On Tue, Mar 10, 2015 at 1:23 PM, Joachim Tuchel >> wrote: >> >>> #doWithIndex: ? >>> >> >> doWithIndex: elementAndIndexBlock >> "Use the new version with consistent naming" >> ^ self withIndexDo: elementAndIndexBlock >> > > On Tue, Mar 10, 2015 at

Re: [Pharo-users] Any framework to create a blog over seaside?

2015-03-10 Thread Esteban Lorenzano
there are also a couple of implementations http://smalltalkhub.com/#!/~mikefilonov/QDBlog http://smalltalkhub.com/#!/~mikefilonov/CSDBlog I don’t actually know any of them, but if you are looking

Re: [Pharo-users] when iterating over a collection how to determine the current objects index

2015-03-10 Thread Sanjay Minni
Yes usually I have to open the code and see, use intuition or write a sample code to find out incidentally here I also have to figure out which is the current and which is the deprecated version ... well thats it sanjay --- Sanjay Minni +91-9900-902902 http://in.linkedin.com/in/sanjayminni On T

Re: [Pharo-users] Native language support

2015-03-10 Thread Nick Doodka
Now it is Pharo3.0 Latest update: #30862 and Pharo4.0 Latest update: #40474, but previous updates worked the same (ignore cyrillic capital letters ЁНПОЛЄМ). 2015-03-10 13:06 GMT+02:00 Sean P. DeNigris : > Nick Doodka wrote > > next error MessageNotUnderstood:Character>>isArrow. > > What is the ex

Re: [Pharo-users] Any framework to create a blog over seaside?

2015-03-10 Thread Damien Cassou
Pier is a CMS, on top of Seaside. Pier has a blog engine. Marina is another CMS with a blog engine but simpler and doesn't require Seaside. On Mar 9, 2015 11:52 AM, "Julien Delplanque" wrote: > Hi, > > I wonder if there are existing projects/frameworks to create a blog in > pharo? > If there are

Re: [Pharo-users] when iterating over a collection how to determine the current objects index

2015-03-10 Thread Sanjay Minni
Thanks Joachim and Peter ... Its worked regards Sanjay - --- Regards, Sanjay -- View this message in context: http://forum.world.st/when-iterating-over-a-collection-how-to-determine-the-current-objects-index-tp4810920p4810932.html Sent from the Pharo Smalltalk Users mailing list archive a

Re: [Pharo-users] when iterating over a collection how to determine the current objects index

2015-03-10 Thread Thierry Goubier
And one has to guess that elementAndIndexBlock means [:each :i | ... ] ? (and of course not [:i :each | ... ] ) I'm allways looking for senders with that type of code ;) arguments to blocks are usually not documented. Thierry 2015-03-10 13:27 GMT+01:00 Peter Uhnák : > On Tue, Mar 10, 2015 at 1

Re: [Pharo-users] when iterating over a collection how to determine the current objects index

2015-03-10 Thread Peter Uhnák
On Tue, Mar 10, 2015 at 1:23 PM, Joachim Tuchel wrote: > #doWithIndex: ? > doWithIndex: elementAndIndexBlock "Use the new version with consistent naming" ^ self withIndexDo: elementAndIndexBlock

Re: [Pharo-users] Dealing with multiple cases of a string while keeping code short and OOP friendly

2015-03-10 Thread kilon alios
I have seen a similar pattern in Kent Beck book Smalltalk Patterns , but I was not sure this was a good way to go in this case . So I thought that would not hurt to ask for a second opinion from a more experienced Pharo coder. On Tue, Mar 10, 2015 at 12:03 AM, Sean P. DeNigris wrote: > kilon.al

Re: [Pharo-users] when iterating over a collection how to determine the current objects index

2015-03-10 Thread Joachim Tuchel
#doWithIndex: ? > Am 10.03.2015 um 13:11 schrieb Sanjay Minni : > > Hi > > when iterating over a sequenced collection (array / ordered collection) how > can I determine the current objects index value (without explicitly storing > a counter or looking to match each time) > > Typically I need

[Pharo-users] when iterating over a collection how to determine the current objects index

2015-03-10 Thread Sanjay Minni
Hi when iterating over a sequenced collection (array / ordered collection) how can I determine the current objects index value (without explicitly storing a counter or looking to match each time) Typically I need it: 1. to display a serial number when printing a report. 2. to determine if I am o

Re: [Pharo-users] Why `aFileReference asString = aFileReference fullName` is false?

2015-03-10 Thread Esteban A. Maringolo
2015-03-10 8:43 GMT-03:00 Sven Van Caekenberghe : > Sorry, but the mechanism is one thing, the semantics another. Calling it > displayString won't solve the problem. > > The problem is that there is often more than one useful string representation. That's why I said it is a matter of taste. In th

Re: [Pharo-users] smaller configurations vs groups [was Re: Pillar and GT tools in Pharo4]

2015-03-10 Thread stepharo
I agree Stef Le 8/3/15 13:24, Tudor Girba a écrit : Hi, I summarize below why I think fine grained configurations should be preferred to groups. The group is not a first class configuration, although it can be depended on. If you depend on a group of a configuration, it's harder

Re: [Pharo-users] new link to query all projects in smalltalkhub

2015-03-10 Thread Nicolai Hess
2015-03-10 11:50 GMT+01:00 Esteban Lorenzano : > Hi, > You can now look at > > http://smalltalkhub.com/projectList > > to query all public smalltalkhub projects. > Great! > is an “old style” web page… so do not expect too much… but at least you > can see what is around :) > > enjoy, > Esteban >

Re: [Pharo-users] Why `aFileReference asString = aFileReference fullName` is false?

2015-03-10 Thread Sven Van Caekenberghe
Sorry, but the mechanism is one thing, the semantics another. Calling it displayString won't solve the problem. The problem is that there is often more than one useful string representation. Like for the example at hand. (FileLocator desktop / 'foo.txt') resolve. Has the following #printString

Re: [Pharo-users] Why `aFileReference asString = aFileReference fullName` is false?

2015-03-10 Thread Esteban A. Maringolo
El mar 10, 2015 8:13 AM, "Sean P. DeNigris" escribió: > > Ben Coman wrote > > Now the followup question is whether its natural to expect something > > better from #asString > > I feel like #asString is such a general question that no answer would be > satisfying. What string representation should

Re: [Pharo-users] Why `aFileReference asString = aFileReference fullName` is false?

2015-03-10 Thread Tudor Girba
Well, not now. In Pharo 5 :) Doru On Tue, Mar 10, 2015 at 12:18 PM, Tudor Girba wrote: > Indeed. In GT, we introduced gtDisplayString which is meant to be used as > a default brief string representation. > > I think that we could promote this to displayString now that it is in the > Pharo image

Re: [Pharo-users] Why `aFileReference asString = aFileReference fullName` is false?

2015-03-10 Thread Tudor Girba
Indeed. In GT, we introduced gtDisplayString which is meant to be used as a default brief string representation. I think that we could promote this to displayString now that it is in the Pharo image. Cheers, Doru On Tue, Mar 10, 2015 at 12:03 PM, Sean P. DeNigris wrote: > Ben Coman wrote > > N

Re: [Pharo-users] Native language support

2015-03-10 Thread Sean P. DeNigris
Nick Doodka wrote > next error MessageNotUnderstood:Character>>isArrow. What is the exact image version (incl. update number)? - Cheers, Sean -- View this message in context: http://forum.world.st/Native-language-support-tp4809392p4810892.html Sent from the Pharo Smalltalk Users mailing li

Re: [Pharo-users] Why `aFileReference asString = aFileReference fullName` is false?

2015-03-10 Thread Sean P. DeNigris
Ben Coman wrote > Now the followup question is whether its natural to expect something > better from #asString I feel like #asString is such a general question that no answer would be satisfying. What string representation should be returned? 'file://'? '/path/to'? And what to do with memory file

Re: [Pharo-users] GTTools and Mongo

2015-03-10 Thread Esteban Lorenzano
cool! > On 10 Mar 2015, at 10:20, Torsten Bergmann wrote: > > After loading MongoTalk or VoyageMongo in Pharo 4 you can additionally > load the package: "Mongo-Pharo-Tools" from mongotalk repo on SmalltalkHub. > > This way you can browse your mongo database (collections and documents) > direc

[Pharo-users] new link to query all projects in smalltalkhub

2015-03-10 Thread Esteban Lorenzano
Hi, You can now look at http://smalltalkhub.com/projectList to query all public smalltalkhub projects. is an “old style” web page… so do not expect too much… but at least you can see what is around :) enjoy, Esteban

Re: [Pharo-users] GTTools and Mongo

2015-03-10 Thread Christophe Demarey
Really nice addition! Thanks Le 10 mars 2015 à 10:20, Torsten Bergmann a écrit : > After loading MongoTalk or VoyageMongo in Pharo 4 you can additionally > load the package: "Mongo-Pharo-Tools" from mongotalk repo on SmalltalkHub. > > This way you can browse your mongo database (collections an

Re: [Pharo-users] GTTools and Mongo

2015-03-10 Thread Tudor Girba
Nice job! Doru On Tue, Mar 10, 2015 at 10:20 AM, Torsten Bergmann wrote: > After loading MongoTalk or VoyageMongo in Pharo 4 you can additionally > load the package: "Mongo-Pharo-Tools" from mongotalk repo on SmalltalkHub. > > This way you can browse your mongo database (collections and documen

Re: [Pharo-users] Cleaning changes file?

2015-03-10 Thread Thierry Goubier
2015-03-10 9:48 GMT+01:00 Marcus Denker : > > On 10 Mar 2015, at 09:43, Thierry Goubier > wrote: > > > > 2015-03-10 9:28 GMT+01:00 Marcus Denker : > >> > >> > But stiil, the changes allow you a recovery in case of a crash. It has >> some valuables side effects. >> > >> >> Yes, it was genius to me

Re: [Pharo-users] Why `aFileReference asString = aFileReference fullName` is false?

2015-03-10 Thread Ben Coman
On Tue, Mar 10, 2015 at 9:52 AM, Esteban A. Maringolo wrote: > Yo should use #pathString to obtain the full path of the file reference. > > #asString isn't implemented in FileReference and it's inherited from > Object, which delegates it to the default implementation of > #printString, which isn'

Re: [Pharo-users] smaller configurations vs groups [was Re: Pillar and GT tools in Pharo4]

2015-03-10 Thread Tudor Girba
Hi, Thanks for raising the issue. The "ripple" effect exists anyway when you have nested configurations, even with groups, only when you have groups you do not notice it because it is implicit. As you say, the solution is to build tool support, and among others, I argued that tooling and debuggi

Re: [Pharo-users] smaller configurations vs groups [was Re: Pillar and GT tools in Pharo4]

2015-03-10 Thread Stephan Eggermont
This is one of the issues we need to avoid: having an unneeded ripple effect. GlamourCore was updated, making it necessary to update everything that has a hard version dependency on it. Even worse is that there is actually no change in GlamourCore 3.0.4. This problem gets worse the more configurat

Re: [Pharo-users] Cleaning changes file?

2015-03-10 Thread Marcus Denker
> On 10 Mar 2015, at 09:43, Thierry Goubier wrote: > > > > 2015-03-10 9:28 GMT+01:00 Marcus Denker >: > > > > But stiil, the changes allow you a recovery in case of a crash. It has some > > valuables side effects. > > > > Yes, it was genius to merge both sourc

Re: [Pharo-users] Cleaning changes file?

2015-03-10 Thread Thierry Goubier
2015-03-10 9:28 GMT+01:00 Marcus Denker : > > > > But stiil, the changes allow you a recovery in case of a crash. It has > some valuables side effects. > > > > Yes, it was genius to merge both source storage and transaction log 30 > years ago... today we would > not do that. > Wouldn't we? Or wou

Re: [Pharo-users] Cleaning changes file?

2015-03-10 Thread Marcus Denker
> > But stiil, the changes allow you a recovery in case of a crash. It has some > valuables side effects. > Yes, it was genius to merge both source storage and transaction log 30 years ago… today we would not do that. Marcus

Re: [Pharo-users] Cleaning changes file?

2015-03-10 Thread Marcus Denker
> On 10 Mar 2015, at 09:21, Luc Fabresse wrote: > > Hi Marcus, > > Speaking of .changes and .source files, I remember a mid-term goal of > introducing them inside the image. > This would imply only one file (.image) and not so much space wasted IIRC an > experiment (done by Camillo?) where it

Re: [Pharo-users] Cleaning changes file?

2015-03-10 Thread Thierry Goubier
2015-03-10 7:58 GMT+01:00 Marcus Denker : > > > On 10 Mar 2015, at 07:36, Sven Van Caekenberghe wrote: > > > > Laura, > > > > You can do that using the expression: > > > > PharoChangesCondenser condense > > > > Although that also means you lose the version history of methods inside > your image.

Re: [Pharo-users] Cleaning changes file?

2015-03-10 Thread Luc Fabresse
Hi Marcus, Speaking of .changes and .source files, I remember a mid-term goal of introducing them inside the image. This would imply only one file (.image) and not so much space wasted IIRC an experiment (done by Camillo?) where it was zipped on the fly. Am just wondering if this is still a goal?