Pharo-dev
By thread
pharo-dev@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- 4 participants
- 144625 messages
Re: [Pharo-project] [Seaside] Re: [Metacello] What is the plan with Pharo changes?
by stephane ducasse
Hi Philippe
sounds quite good to me
>> Thanks for considering this a friendly and positive thread.
>
> So instead of lamenting the state of the world I went ahead and wrote
> some code. To find out what breaks in Seaside I created new packages
> for every Pharo package that didn't work. So I ended up with:
>
> - Grease-Pharo20-Core
> - Grease-Tests-Pharo20-Core
> - Seaside-Pharo20-Core
> - Seaside-Tests-Pharo20-Core
> - Javascript-Pharo20-Core
>
> You can find them in the Seaside 3.1 repository [1]. I'm not really
> sure this was a clever idea but it sounded better than writing a long
> mail.
>
> Things I ran into:
> - file system (obviously)
> - SystemAnnouncer
> - BlockContext is gone
BlockContext has been abandoned some earth cycles ago already :)
> - extension methods are now present on String
> - different Float number printing
this is strange
> File system and SystemAnnouncer are only used by file library.
>
> Right now two tests fail because the GRPackage dependencies are
> inconsistent due to a mix of Pharo and Pharo20 packages. The rest
> seems to work, also functionally.
So this is a good news.
>
> Things I didn't test or even load:
> - OB tooling
> - Slime/SLint tooling
>
> [1] http://www.squeaksource.com/Seaside31
>
> Cheers
> Philippe
> _______________________________________________
> seaside mailing list
> seaside(a)lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
Aug. 4, 2012
Re: [Pharo-project] [Seaside] Re: [Metacello] What is the plan with Pharo changes?
by Stéphane Ducasse
ok we will discuss with the crew here to see what is the best strategy.
Stef
On Aug 4, 2012, at 6:08 PM, Dale Henrichs wrote:
> SystemChangeNotification is used in the tests...The tests (obviously) do a whole lot of loading and unloading of packages and suppressing change notifications during some tests has a significant impact on how long it takes to run the tests ...
>
> The solution for me is to add some code to the platform packages to hide SystemChangeNotification and use my own variant of silentlyDo: ...
>
> The real sticky problem is with FileDirectory...
>
> Dale
>
> ----- Original Message -----
> | From: "Stéphane Ducasse" <stephane.ducasse(a)inria.fr>
> | To: Pharo-project(a)lists.gforge.inria.fr
> | Cc: "Seaside - general discussion" <seaside(a)lists.squeakfoundation.org>, metacello(a)googlegroups.com
> | Sent: Saturday, August 4, 2012 5:01:48 AM
> | Subject: Re: [Pharo-project] [Seaside] Re: [Metacello] What is the plan with Pharo changes?
> |
> |
> | On Aug 4, 2012, at 11:21 AM, Mariano Martinez Peck wrote:
> |
> | > Hi all. I am answering to all together:
> | >
> | > Stef: Yes, I imported and loaded the Pier of DBX website in Pharo
> | > 2.0 with seaside and magritte. With 5 minutes of opening debuggers
> | > and change things I was able to correctly make it work (at least,
> | > my app, I didn't run all tests to see).
> | >
> | > Dale: We don't want to just help you with "hacks", that why I send
> | > this email and several others, to see what others think so that
> | > can find better and non-hacky solutions. So, let's try to find
> | > good solutions:
> | >
> | > 1) does it help if we put back FildeDirectory and we remove it
> | > later ? so that you have time to update Metacello and that we can
> | > still use Metacello :)
> | > 2) for the SystemChangeNotifier does it make sense to delegate to
> | > the closures? [ xx ] valueWithoutSystemNotifications. Or we add
> | > a #doSilently: and we add a MetacelloPharo20Platform that
> | > overrides the behavior.
> |
> | I do not understand why metacello is concerned about
> | systemChangeNotification.
> |
> |
> | > 3) as Janko said, what about improving/using Grease/Sport for this
> | > purpose? do they provide something for this? could this be added?
> | > 4) Should we integrate Metacello in the image with our changes
> | > until you have time and find a good solution that works
> | > everywhere? Maybe if we do 1) it is not very necessary.
> | >
> | > Thanks for considering this a friendly and positive thread.
> | >
> | > On Sat, Aug 4, 2012 at 9:16 AM, Janko Mivšek
> | > <janko.mivsek(a)eranova.si> wrote:
> | > Hi Dale,
> | >
> | > Dne 04. 08. 2012 07:31, piše Dale Henrichs:
> | >
> | > > The bigger problem is that I have to have a code base that runs
> | > > on multiple platforms while being maintainable, so a "port" to
> | > > Pharo-2.0 is only a starting point. In the case of FileTree,
> | > > which is the real bottleneck there's a lot code that is written
> | > > against the FileDirectory API, so there will need to be
> | > > significant work to find a way to keep a common code base .... a
> | > > much tougher problem, than "just getting it working", it can be
> | > > solved with time, but I didn't budget time for an emergency
> | > > rewrite of FileTree ... today.
> | >
> | > Just FYI, there is a Sport portability library and by using Sport's
> | > SpFilename you have an instantly portable file support over quite a
> | > dozen Smalltalks. So, if someone adapt Sport to a new Pharo 2.0
> | > filesystem first ..
> | >
> | > Best regards
> | > Janko
> | >
> | >
> | > --
> | > Janko Mivšek
> | > Aida/Web
> | > Smalltalk Web Application Server
> | > http://www.aidaweb.si
> | > _______________________________________________
> | > seaside mailing list
> | > seaside(a)lists.squeakfoundation.org
> | > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> | >
> | >
> | >
> | > --
> | > Mariano
> | > http://marianopeck.wordpress.com
> | >
> |
> |
> |
>
Aug. 4, 2012
[Pharo-project] [ENH]: FileReference subclasses
by Sean P. DeNigris
Thoughts? Comments? Opinions?
Issue 6525: [ENH]: FileReference subclasses
http://code.google.com/p/pharo/issues/detail?id=6525
Different types of files have different behaviors. Currently, we need to add
all those behaviors (e.g. #fileIn) to FileReference, even though they only
make sense with a fraction of instances.
I propose that we match the filename against FileReference subclasses. The
following is a conversation starter. It works with strings...
Usage:
'/Users/sean/start.st' asFileReference. "anStFileReference"
'/Users/sean/start.unknown' asFileReference. "aFileReference"
'file:///Users/me.st' asUrl asFileReference "not handled by current
implementation, will default to aFileReference"
For example, I can create a custom .st file subclass, with:
StFileReference>>isClassFor: aResolvable
(aResolvable isKindOf: String) ifFalse: [ ^ false ]. "just a hack to avoid
DNU"
^ aResolvable endsWith: '.st'.
Enhancing the following method will catch aString asFileReference, but not
e.g. aFileUrl asFileReference:
FileSystem>>referenceTo: aResolvable
"Answer a reference to the argument from the context of the receiver
filesystem.
Example: FSFilesystem disk referenceTo: 'plonk.taz'"
| referenceClass |
referenceClass := FileReference allSubclasses
detect: [ :e | e isClassFor: aResolvable ]
ifNone: [ FileReference ].
^ referenceClass
fileSystem: self
path: (self pathFromObject: aResolvable).
--
View this message in context: http://forum.world.st/ENH-FileReference-subclasses-tp4643116.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
Aug. 4, 2012
Re: [Pharo-project] [Seaside] Re: [Metacello] What is the plan with Pharo changes?
by Dale Henrichs
Philippe,
Cami provided a port of FileTree to Pharo-2.0 within an hour...
Getting FileTree to run is not the issue ... for me ... FileTree was written to be very _dependent_ on FileDirectory and needs to be rewritten...
I think the Pharo folks are correct that most applications will not be hit nearly as hard by the removal of FileDirectory.
Dale
----- Original Message -----
| From: "Philippe Marschall" <philippe.marschall(a)gmail.com>
| To: "Seaside - general discussion" <seaside(a)lists.squeakfoundation.org>
| Cc: Pharo-project(a)lists.gforge.inria.fr
| Sent: Saturday, August 4, 2012 10:27:42 AM
| Subject: Re: [Pharo-project] [Seaside] Re: [Metacello] What is the plan with Pharo changes?
|
| On Sat, Aug 4, 2012 at 11:21 AM, Mariano Martinez Peck
| <marianopeck(a)gmail.com> wrote:
| > Hi all. I am answering to all together:
| >
| > Stef: Yes, I imported and loaded the Pier of DBX website in Pharo
| > 2.0 with
| > seaside and magritte. With 5 minutes of opening debuggers and
| > change things
| > I was able to correctly make it work (at least, my app, I didn't
| > run all
| > tests to see).
| >
| > Dale: We don't want to just help you with "hacks", that why I send
| > this
| > email and several others, to see what others think so that can find
| > better
| > and non-hacky solutions. So, let's try to find good solutions:
| >
| > 1) does it help if we put back FildeDirectory and we remove it
| > later ? so
| > that you have time to update Metacello and that we can still use
| > Metacello
| > :)
| > 2) for the SystemChangeNotifier does it make sense to delegate to
| > the
| > closures? [ xx ] valueWithoutSystemNotifications. Or we add a
| > #doSilently:
| > and we add a MetacelloPharo20Platform that overrides the behavior.
| > 3) as Janko said, what about improving/using Grease/Sport for this
| > purpose?
| > do they provide something for this? could this be added?
| > 4) Should we integrate Metacello in the image with our changes
| > until you
| > have time and find a good solution that works everywhere? Maybe if
| > we do 1)
| > it is not very necessary.
| >
| > Thanks for considering this a friendly and positive thread.
|
| So instead of lamenting the state of the world I went ahead and wrote
| some code. To find out what breaks in Seaside I created new packages
| for every Pharo package that didn't work. So I ended up with:
|
| - Grease-Pharo20-Core
| - Grease-Tests-Pharo20-Core
| - Seaside-Pharo20-Core
| - Seaside-Tests-Pharo20-Core
| - Javascript-Pharo20-Core
|
| You can find them in the Seaside 3.1 repository [1]. I'm not really
| sure this was a clever idea but it sounded better than writing a long
| mail.
|
| Things I ran into:
| - file system (obviously)
| - SystemAnnouncer
| - BlockContext is gone
| - extension methods are now present on String
| - different Float number printing
|
| File system and SystemAnnouncer are only used by file library.
|
| Right now two tests fail because the GRPackage dependencies are
| inconsistent due to a mix of Pharo and Pharo20 packages. The rest
| seems to work, also functionally.
|
| Things I didn't test or even load:
| - OB tooling
| - Slime/SLint tooling
|
| [1] http://www.squeaksource.com/Seaside31
|
| Cheers
| Philippe
| _______________________________________________
| seaside mailing list
| seaside(a)lists.squeakfoundation.org
| http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
|
Aug. 4, 2012
Re: [Pharo-project] [Seaside] Re: [Metacello] What is the plan with Pharo changes?
by Dale Henrichs
Esteban ... I agree with all of your points
----- Original Message -----
| From: "Esteban Lorenzano" <estebanlm(a)gmail.com>
| To: metacello(a)googlegroups.com
| Cc: "Seaside - general discussion" <seaside(a)lists.squeakfoundation.org>, Pharo-project(a)lists.gforge.inria.fr
| Sent: Saturday, August 4, 2012 3:04:02 AM
| Subject: Re: [Pharo-project] [Seaside] Re: [Metacello] What is the plan with Pharo changes?
|
| Hi,
|
|
|
| On Aug 4, 2012, at 11:21 AM, Mariano Martinez Peck <
| marianopeck(a)gmail.com > wrote:
|
|
| Hi all. I am answering to all together:
|
|
| Stef: Yes, I imported and loaded the Pier of DBX website in Pharo 2.0
| with seaside and magritte. With 5 minutes of opening debuggers and
| change things I was able to correctly make it work (at least, my
| app, I didn't run all tests to see).
|
|
| Dale: We don't want to just help you with "hacks", that why I send
| this email and several others, to see what others think so that can
| find better and non-hacky solutions. So, let's try to find good
| solutions:
|
|
| 1) does it help if we put back FildeDirectory and we remove it later
| ? so that you have time to update Metacello and that we can still
| use Metacello :)
|
|
| Ok, we could do as Dale proposed, reload the package adding prefix
| Obsolete... that will work just for a while, and I certainly prefer
| to help on the adaptation than reintroduce it... of course, maybe we
| should do that in the first instance and in this case it was
| possible (se below), but well... we already screw it, so, I prefer
| to do step forwards than backward (if possible).
|
|
|
|
|
| 2) for the SystemChangeNotifier does it make sense to delegate to the
| closures? [ xx ] valueWithoutSystemNotifications. Or we add a
| #doSilently: and we add a MetacelloPharo20Platform that overrides
| the behavior.
|
|
| SystemChangeNotifier is a complete different situation than
| FileDirectory, and we removed it because the effort of keeping the
| system working having two different notification centers was eating
| all our time for make improvements. So, we (I myself) decided to
| unload it and stop waisting time on try to make the synchronization
| work... if you see the "before" and "after" (once we finish, that is
| not done yet) you will notice the clarity and simplicity gained.
| So... SystemChangeNotification is not going to go back, but an
| approach like Mariano proposed would work fine, since Metacello just
| uses the #doSilently stuff.
| Btw... this is internal from Pharo, and 99.99% of the packages around
| shouldn't even notice the difference. Of course, Metacello is in the
| 0.01% remaining :)
|
|
|
|
| 3) as Janko said, what about improving/using Grease/Sport for this
| purpose? do they provide something for this? could this be added?
|
|
| I'm strongly against this option, because I think Metacello (base)
| should be part of Pharo Core (in fact I was planning to introduce it
| next days). If I need to load grease or sport, I certainly will
| banish Metacello from core... and I don't want to. Again, I prefer
| to spend time fixing Metacello to load on Pharo (and I maintain my
| offer of spending it, he).
|
|
|
| 4) Should we integrate Metacello in the image with our changes until
| you have time and find a good solution that works everywhere? Maybe
| if we do 1) i
|
|
| t is not very necessary.
|
|
| I want Metacello in core, so... this is probably a good idea.
|
|
| best,
| Esteban
|
|
|
|
|
| Thanks for considering this a friendly and positive thread.
|
|
| On Sat, Aug 4, 2012 at 9:16 AM, Janko Mivšek <
| janko.mivsek(a)eranova.si > wrote:
|
|
| Hi Dale,
|
| Dne 04. 08. 2012 07 :31, piše Dale Henrichs:
|
|
| > The bigger problem is that I have to have a code base that runs on
| > multiple platforms while being maintainable, so a "port" to
| > Pharo-2.0 is only a starting point. In the case of FileTree, which
| > is the real bottleneck there's a lot code that is written against
| > the FileDirectory API, so there will need to be significant work
| > to find a way to keep a common code base .... a much tougher
| > problem, than "just getting it working", it can be solved with
| > time, but I didn't budget time for an emergency rewrite of
| > FileTree ... today.
|
| Just FYI, there is a Sport portability library and by using Sport's
| SpFilename you have an instantly portable file support over quite a
| dozen Smalltalks. So, if someone adapt Sport to a new Pharo 2.0
| filesystem first ..
|
| Best regards
| Janko
|
|
| --
| Janko Mivšek
| Aida/Web
| Smalltalk Web Application Server
| http://www.aidaweb.si
|
|
| _______________________________________________
| seaside mailing list
| seaside(a)lists.squeakfoundation.org
| http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
|
|
|
|
| --
| Mariano
| http://marianopeck.wordpress.com
|
|
|
Aug. 4, 2012
Re: [Pharo-project] [Seaside] Re: [Metacello] What is the plan with Pharo changes?
by Dale Henrichs
----- Original Message -----
| From: "Mariano Martinez Peck" <marianopeck(a)gmail.com>
| To: "Seaside - general discussion" <seaside(a)lists.squeakfoundation.org>
| Cc: Pharo-project(a)lists.gforge.inria.fr, metacello(a)googlegroups.com
| Sent: Saturday, August 4, 2012 2:21:27 AM
| Subject: Re: [Pharo-project] [Seaside] Re: [Metacello] What is the plan with Pharo changes?
|
| Hi all. I am answering to all together:
|
|
| Stef: Yes, I imported and loaded the Pier of DBX website in Pharo 2.0
| with seaside and magritte. With 5 minutes of opening debuggers and
| change things I was able to correctly make it work (at least, my
| app, I didn't run all tests to see).
|
|
| Dale: We don't want to just help you with "hacks", that why I send
| this email and several others, to see what others think so that can
| find better and non-hacky solutions. So, let's try to find good
| solutions:
|
|
| 1) does it help if we put back FildeDirectory and we remove it later
| ? so that you have time to update Metacello and that we can still
| use Metacello :)
Deferring the removal of FileDirectory would buy me time for getting a more portable solution in place.
| 2) for the SystemChangeNotifier does it make sense to delegate to the
| closures? [ xx ] valueWithoutSystemNotifications. Or we add a
| #doSilently: and we add a MetacelloPharo20Platform that overrides
| the behavior.
The solution for SystemChangeNotifier is for me to add a message to the MetacelloPlatform class (my Grease layer) and use the currently correct method for Pharo-2.0.
| 3) as Janko said, what about improving/using Grease/Sport for this
| purpose? do they provide something for this? could this be added?
The right answer for FileTree is to re-architect the implementation. The code is currently liberally sprinkled with FileDirectoryisms as FileTree does a lot of directory traversal ...
Cami made a pass at replacing the FileDirectory calls with Filesystem calls[1] so I have a good blueprint for building an implementation neutral directory structure traversal class that can isolate the FileDirectory/Filesystem calls into a manageable location (right now there are just too many places that are different) ... So given time (and as I mentioned elsewhere I have to start preparing my ESUG talk because that's a hard deadline) I can get a handle on this.
Eventually I plan to port Filesystem to GemStone, so moving away from FileDirectory is in my future plans as well, it's just the timing that is an issue, not the direction.
I think that Sport should eventually end up with a port to Pharo-2.0, but for FileTree I don't think I want to require Sport. The FileTree implementation will benefit by the removal of the FileDiretoryisms, so that's the route I will take.
[1] https://github.com/dh83/filetree/commit/4232898d4dbdd9712f4276f69c9404e14a6…
| 4) Should we integrate Metacello in the image with our changes until
| you have time and find a good solution that works everywhere? Maybe
| if we do 1) it is not very necessary.
If you decide to stick with your decision to drop FileDirectory, then a fork or Metacello will be a good choice for the near term ... you can freely make the most efficient changes to Metacello to keep it running and focus your energies on making Pharo-2.0 better ... I can take my time to port FileTree.
If you rename FileDirectory or decide to keep it for a while longer, then I will be able to start immediate work on getting the Metacello Preview running on top of Pharo-2.0 (which shouldn't take too much work)...
|
|
| Thanks for considering this a friendly and positive thread.
|
It was good that you made a point of focussing on the technical solutions to the problem. Leaving the politics for another thread, if any.
|
| On Sat, Aug 4, 2012 at 9:16 AM, Janko Mivšek <
| janko.mivsek(a)eranova.si > wrote:
|
|
| Hi Dale,
|
| Dne 04. 08. 2012 07 :31, piše Dale Henrichs:
|
|
| > The bigger problem is that I have to have a code base that runs on
| > multiple platforms while being maintainable, so a "port" to
| > Pharo-2.0 is only a starting point. In the case of FileTree, which
| > is the real bottleneck there's a lot code that is written against
| > the FileDirectory API, so there will need to be significant work
| > to find a way to keep a common code base .... a much tougher
| > problem, than "just getting it working", it can be solved with
| > time, but I didn't budget time for an emergency rewrite of
| > FileTree ... today.
|
| Just FYI, there is a Sport portability library and by using Sport's
| SpFilename you have an instantly portable file support over quite a
| dozen Smalltalks. So, if someone adapt Sport to a new Pharo 2.0
| filesystem first ..
|
| Best regards
| Janko
|
|
| --
| Janko Mivšek
| Aida/Web
| Smalltalk Web Application Server
| http://www.aidaweb.si
|
|
| _______________________________________________
| seaside mailing list
| seaside(a)lists.squeakfoundation.org
| http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
|
|
|
|
| --
| Mariano
| http://marianopeck.wordpress.com
|
|
Aug. 4, 2012
Re: [Pharo-project] [Seaside] Re: [Metacello] What is the plan with Pharo changes?
by Dale Henrichs
SystemChangeNotification is used in the tests...The tests (obviously) do a whole lot of loading and unloading of packages and suppressing change notifications during some tests has a significant impact on how long it takes to run the tests ...
The solution for me is to add some code to the platform packages to hide SystemChangeNotification and use my own variant of silentlyDo: ...
The real sticky problem is with FileDirectory...
Dale
----- Original Message -----
| From: "Stéphane Ducasse" <stephane.ducasse(a)inria.fr>
| To: Pharo-project(a)lists.gforge.inria.fr
| Cc: "Seaside - general discussion" <seaside(a)lists.squeakfoundation.org>, metacello(a)googlegroups.com
| Sent: Saturday, August 4, 2012 5:01:48 AM
| Subject: Re: [Pharo-project] [Seaside] Re: [Metacello] What is the plan with Pharo changes?
|
|
| On Aug 4, 2012, at 11:21 AM, Mariano Martinez Peck wrote:
|
| > Hi all. I am answering to all together:
| >
| > Stef: Yes, I imported and loaded the Pier of DBX website in Pharo
| > 2.0 with seaside and magritte. With 5 minutes of opening debuggers
| > and change things I was able to correctly make it work (at least,
| > my app, I didn't run all tests to see).
| >
| > Dale: We don't want to just help you with "hacks", that why I send
| > this email and several others, to see what others think so that
| > can find better and non-hacky solutions. So, let's try to find
| > good solutions:
| >
| > 1) does it help if we put back FildeDirectory and we remove it
| > later ? so that you have time to update Metacello and that we can
| > still use Metacello :)
| > 2) for the SystemChangeNotifier does it make sense to delegate to
| > the closures? [ xx ] valueWithoutSystemNotifications. Or we add
| > a #doSilently: and we add a MetacelloPharo20Platform that
| > overrides the behavior.
|
| I do not understand why metacello is concerned about
| systemChangeNotification.
|
|
| > 3) as Janko said, what about improving/using Grease/Sport for this
| > purpose? do they provide something for this? could this be added?
| > 4) Should we integrate Metacello in the image with our changes
| > until you have time and find a good solution that works
| > everywhere? Maybe if we do 1) it is not very necessary.
| >
| > Thanks for considering this a friendly and positive thread.
| >
| > On Sat, Aug 4, 2012 at 9:16 AM, Janko Mivšek
| > <janko.mivsek(a)eranova.si> wrote:
| > Hi Dale,
| >
| > Dne 04. 08. 2012 07:31, piše Dale Henrichs:
| >
| > > The bigger problem is that I have to have a code base that runs
| > > on multiple platforms while being maintainable, so a "port" to
| > > Pharo-2.0 is only a starting point. In the case of FileTree,
| > > which is the real bottleneck there's a lot code that is written
| > > against the FileDirectory API, so there will need to be
| > > significant work to find a way to keep a common code base .... a
| > > much tougher problem, than "just getting it working", it can be
| > > solved with time, but I didn't budget time for an emergency
| > > rewrite of FileTree ... today.
| >
| > Just FYI, there is a Sport portability library and by using Sport's
| > SpFilename you have an instantly portable file support over quite a
| > dozen Smalltalks. So, if someone adapt Sport to a new Pharo 2.0
| > filesystem first ..
| >
| > Best regards
| > Janko
| >
| >
| > --
| > Janko Mivšek
| > Aida/Web
| > Smalltalk Web Application Server
| > http://www.aidaweb.si
| > _______________________________________________
| > seaside mailing list
| > seaside(a)lists.squeakfoundation.org
| > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
| >
| >
| >
| > --
| > Mariano
| > http://marianopeck.wordpress.com
| >
|
|
|
Aug. 4, 2012
Re: [Pharo-project] [Seaside] Re: [Metacello] What is the plan with Pharo changes?
by Dale Henrichs
FileDirectory is the current show-stopper ... with FileDirectory back I will move forward on getting the Preview working on Pharo-2.0
DAle
----- Original Message -----
| From: "Stéphane Ducasse" <stephane.ducasse(a)inria.fr>
| To: Pharo-project(a)lists.gforge.inria.fr
| Sent: Saturday, August 4, 2012 12:01:25 AM
| Subject: Re: [Pharo-project] [Seaside] Re: [Metacello] What is the plan with Pharo changes?
|
| BTW we discussed about it yesterday and I proposed that we keep the
| FileDirectory package for compatibility even if we are in 2.0.
| Dale I imagine that it would solve your problem.
| Stef
|
|
| On Aug 4, 2012, at 8:54 AM, Stéphane Ducasse wrote:
|
| > Dale
| >
| > Can we use an old version of Metacello that we maintain?
| > Then we migrate when needed and this is ok.
| >
| > Stef
| >
| >
| >> | > What I'd _like_ to do for Metacello and Pharo-2.0 is to make
| >> | > the
| >> | > changes against the MetacelloPreview release, which I'm
| >> | > managing
| >> | > on github.
| >> | >
| >> | > The MetacelloPreview is aimed at an eventual 1.0 release of
| >> | > Metacello (hopefully in the fall).
| >> | >
| >> | > I would _like_ Metacello-Base to be included in the Pharo-2.0
| >> | > base
| >> | > image, the sooner the better and I'm poised to pull the
| >> | > trigger on
| >> | > that, but the recent changes have crippled FileTree ...
| >> | >
| >> | yeah.. we talking about it all the time "how good it would be to
| >> | have
| >> | metacello preloaded in image" :)
| >> |
| >> | > So until FileTree is functional again, I can't really do
| >> | > anything
| >> | > with Pharo-2.0...
| >> | >
| >> | > Hacking Metacello to get it running on Pharo-2.0 doesn't help
| >> | > _me_
| >> | > move forward.
| >> | >
| >> |
| >> | You can tell how they could help, so they will (if they will
| >> | still
| >> | want), leaving less work for you :) Of course, if you need help
| >> | or
| >> | can
| >> | see where it can be useful.
| >> | But i know it is hard to coordinate & organize activities..
| >> | sometimes
| >> | harder than doing everything alone. :)
| >>
| >> The bigger problem is that I have to have a code base that runs on
| >> multiple platforms while being maintainable, so a "port" to
| >> Pharo-2.0 is only a starting point. In the case of FileTree,
| >> which is the real bottleneck there's a lot code that is written
| >> against the FileDirectory API, so there will need to be
| >> significant work to find a way to keep a common code base .... a
| >> much tougher problem, than "just getting it working", it can be
| >> solved with time, but I didn't budget time for an emergency
| >> rewrite of FileTree ... today.
| >>
| >> |
| >> | > It is likely that I will have to redo whatever hacks that are
| >> | > done
| >> | > to get it running on Pharo-2.0 to be compatible with the rest
| >> | > of
| >> | > platforms that I am supporting and doing it right takes a
| >> | > little
| >> | > more effort ...
| >> | >
| >> | yes.. it is hard to keep up with moving target.. But i hope this
| >> | is
| >> | for good of us all (FileSystem ,as to me, is no doubt much
| >> | better
| >> | comparing to what we had before).
| >>
| >> Oh don't get me wrong, I agree with the overall goals ... I
| >> actually think that renaming FileDirectory to
| >> ObsoleteFileDirectory (and keeping the implementation) would be a
| >> good compromise ... I can easily switch class names for the short
| >> term which then buys me time for doing a proper rewrite ...
| >>
| >> |
| >> | > So if you are just going to hack around to get things running
| >> | > on
| >> | > Pharo-2.0 I guess I would have to say that I don't care what
| >> | > you
| >> | > do, because the hacks don't make my job any easier.
| >> | >
| >> | > Dale
| >> | >
| >> |
| >> | --
| >> | Best regards,
| >> | Igor Stasenko.
| >> | _______________________________________________
| >> | seaside mailing list
| >> | seaside(a)lists.squeakfoundation.org
| >> | http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
| >> |
| >>
| >
| >
|
|
|
Aug. 4, 2012
Re: [Pharo-project] [Seaside] Re: [Metacello] What is the plan with Pharo changes?
by Dale Henrichs
Stef,
That would be fine with me ...
That would buy time for me to come up with a port to 2.0 that satisfies my need for portability and allows you guys to keep forging ahead without being dragged back by me:)
Dale
----- Original Message -----
| From: "Stéphane Ducasse" <stephane.ducasse(a)inria.fr>
| To: Pharo-project(a)lists.gforge.inria.fr
| Sent: Friday, August 3, 2012 11:54:24 PM
| Subject: Re: [Pharo-project] [Seaside] Re: [Metacello] What is the plan with Pharo changes?
|
| Dale
|
| Can we use an old version of Metacello that we maintain?
| Then we migrate when needed and this is ok.
|
| Stef
|
|
| > | > What I'd _like_ to do for Metacello and Pharo-2.0 is to make
| > | > the
| > | > changes against the MetacelloPreview release, which I'm
| > | > managing
| > | > on github.
| > | >
| > | > The MetacelloPreview is aimed at an eventual 1.0 release of
| > | > Metacello (hopefully in the fall).
| > | >
| > | > I would _like_ Metacello-Base to be included in the Pharo-2.0
| > | > base
| > | > image, the sooner the better and I'm poised to pull the trigger
| > | > on
| > | > that, but the recent changes have crippled FileTree ...
| > | >
| > | yeah.. we talking about it all the time "how good it would be to
| > | have
| > | metacello preloaded in image" :)
| > |
| > | > So until FileTree is functional again, I can't really do
| > | > anything
| > | > with Pharo-2.0...
| > | >
| > | > Hacking Metacello to get it running on Pharo-2.0 doesn't help
| > | > _me_
| > | > move forward.
| > | >
| > |
| > | You can tell how they could help, so they will (if they will
| > | still
| > | want), leaving less work for you :) Of course, if you need help
| > | or
| > | can
| > | see where it can be useful.
| > | But i know it is hard to coordinate & organize activities..
| > | sometimes
| > | harder than doing everything alone. :)
| >
| > The bigger problem is that I have to have a code base that runs on
| > multiple platforms while being maintainable, so a "port" to
| > Pharo-2.0 is only a starting point. In the case of FileTree, which
| > is the real bottleneck there's a lot code that is written against
| > the FileDirectory API, so there will need to be significant work
| > to find a way to keep a common code base .... a much tougher
| > problem, than "just getting it working", it can be solved with
| > time, but I didn't budget time for an emergency rewrite of
| > FileTree ... today.
| >
| > |
| > | > It is likely that I will have to redo whatever hacks that are
| > | > done
| > | > to get it running on Pharo-2.0 to be compatible with the rest
| > | > of
| > | > platforms that I am supporting and doing it right takes a
| > | > little
| > | > more effort ...
| > | >
| > | yes.. it is hard to keep up with moving target.. But i hope this
| > | is
| > | for good of us all (FileSystem ,as to me, is no doubt much better
| > | comparing to what we had before).
| >
| > Oh don't get me wrong, I agree with the overall goals ... I
| > actually think that renaming FileDirectory to
| > ObsoleteFileDirectory (and keeping the implementation) would be a
| > good compromise ... I can easily switch class names for the short
| > term which then buys me time for doing a proper rewrite ...
| >
| > |
| > | > So if you are just going to hack around to get things running
| > | > on
| > | > Pharo-2.0 I guess I would have to say that I don't care what
| > | > you
| > | > do, because the hacks don't make my job any easier.
| > | >
| > | > Dale
| > | >
| > |
| > | --
| > | Best regards,
| > | Igor Stasenko.
| > | _______________________________________________
| > | seaside mailing list
| > | seaside(a)lists.squeakfoundation.org
| > | http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
| > |
| >
|
|
|
Aug. 4, 2012
Re: [Pharo-project] 'self halt' safety net
by Benjamin
I do :)
A plugin that shows all the #flag: messages
Ben
On Aug 4, 2012, at 5:40 PM, Mariano Martinez Peck wrote:
>
>
> On Sat, Aug 4, 2012 at 3:44 PM, Fernando Olivero <fernando.olivero(a)usi.ch> wrote:
> What about a Nautilus plugin, that allows browsing all the methods
> that send #halt, #flag:,#log:? (the "development" messages).
>
>
> That's a great idea. In fact, I remember being sit at my desk in Douai and doing that with Guille..
> Guille, do you remember?
>
> Since finding all the halts, doesn't seem something that needs to be
> performed all the time, an optional Nautilus plugin would suffice.
>
>
> Fernando
>
> On Sat, Aug 4, 2012 at 3:02 PM, Sean P. DeNigris <sean(a)clipperadams.com> wrote:
> >
> > Mariano Martinez Peck wrote
> >>
> >>> Another thought, are there any plans for a "breakpoint" facility, so that
> >>> I don't dirty a package by only inserting 'self halt' to aid debugging.
> >> it already exists. Right click on a method -> Add breakpoint
> >>
> >
> > I, too would love to have the features you suggest. However, as it stands, I
> > would strongly advise against using breakpoints (someone definitely let me
> > know, maybe this is not still a problem in 2.0). In my experience, they are
> > incredibly buggy. Historically:
> > * if you add a breakpoint in one tool, and try to disable it in another, it
> > may still be active; and who remembers what tool they enabled it in???
> > * there is very little feedback as to when a breakpoint is enabled
> > - no icon in the browsers
> > - the menu item was "toggle breakpoint" instead of dynamically "enable"
> > vs. "disable"
> >
> > In all, I found it very confusing to figure out when a breakpoint was
> > enabled, and how to disable. Of course, anyway, these are not breakpoints as
> > typically offered by an IDE, which can be attached to any statement, but
> > only at the method level.
> >
> > Cheers,
> > Sean
> >
> >
> >
> > --
> > View this message in context: http://forum.world.st/self-halt-safety-net-tp4643012p4643070.html
> > Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
> >
>
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
Aug. 4, 2012