Login  Register

[Pharo-dev] [ANN]: Pharo x.5

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
13 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

[Pharo-dev] [ANN]: Pharo x.5

Sean P. DeNigris
Administrator
5777 posts
Are you both impatient and conservative (and apparently confused) like me? I want to use the stable release of Pharo with the best new features of the alpha version. Also, do you ever think of cool enhancements to the IDE that for whatever reason have not made it into the release?

Well, I've been collecting these things into ConfigurationOfPharoSpd. There are many little parts, which you can load with: 
    Gofer it 
   squeaksource3: 'PharoSpd'; 
   package: 'ConfigurationOfPharoSpd'; 
   load.
(Smalltalk at: #ConfigurationOfPharoSpd) load.

Here is a screenshot of its little browser showing the issues which have been addressed (gray means the issue is not applicable to the current image version, green means the fix has been applied):
There are also a bunch of little IDE enhancements.

This one is one of my favorites. Instead of sprinkling method comments like "self open" in every class-side unary method, there are Nautilus menu items to send them (and optionally inspect the result):
Or you can add a boilerplate ComposableModel to a package:
And some extension methods I find myself using often, like:
* String>>surroundedByDoubleQuotes
* DateAndTime>>printUS, which returns a string like '6/18/2013 @ 9:20 am'
* ZnNetworkingUtils>>isPortAvailable: (doesn't take ip6 into account)

Anyway, enjoy! Feedback welcome...
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: [Pharo-dev] [ANN]: Pharo x.5

Marcus Denker-4
7582 posts

On Jun 18, 2013, at 3:31 PM, DeNigris Sean <[hidden email]> wrote:

> Are you both impatient and conservative (and apparently confused) like me? I want to use the stable release of Pharo with the best new features of the alpha version. Also, do you ever think of cool enhancements to the IDE that for whatever reason have not made it into the release?
>
Keep in mind that we can integrate important fixes in 2.0…. someone just needs to take initiative.

        Marcus


Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: [Pharo-dev] [ANN]: Pharo x.5

Sven Van Caekenberghe-2
5697 posts
In reply to this post by Sean P. DeNigris
Sean,

On 18 Jun 2013, at 15:30, DeNigris Sean <[hidden email]> wrote:

> * ZnNetworkingUtils>>isPortAvailable: (doesn't take ip6 into account)

I am interested in this one but I can't open the package named: 'ZnNetworkingUtils&gt;&gt;usedPorts', can you ?

Sven


Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: [Pharo-dev] [ANN]: Pharo x.5

Sean P. DeNigris
Administrator
5777 posts
In reply to this post by Marcus Denker-4
Marcus Denker-4 wrote
Keep in mind that we can integrate important fixes in 2.0…. someone just needs to take initiative.
Thanks for the reminder! I'm clear about that after all the work we did together getting 2.0 issues backported to 1.4 :) And... my understanding is that we have a policy to only backport bug fixes. The features in this project are either:
- fixes waiting to be integrated
- enhancements that do not fit the backporting policy
- extensions that I find extremely useful, but I'm not clear how useful they'd be to others
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: [Pharo-dev] [ANN]: Pharo x.5

Sean P. DeNigris
Administrator
5777 posts
In reply to this post by Sven Van Caekenberghe-2
Sven Van Caekenberghe-2 wrote
> * ZnNetworkingUtils>>isPortAvailable: (doesn't take ip6 into account)

I am interested in this one but I can't open the package named: 'ZnNetworkingUtils>>usedPorts', can you ?
No, I can't either... but it's okay because I moved the method into Zinc-HTTPSpd ;) I was experimenting with packaging each method individually, but didn't see the point, so I changed to mirroring the packages being extended...
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: [Pharo-dev] [ANN]: Pharo x.5

Stéphane Ducasse
17193 posts
In reply to this post by Sean P. DeNigris
Hi sean

        I like your browser showing issue.
        What does it show?
        Because I'm always lost with figbuz :)

        For the DateAndTime long time ago camillo was mentioning that dart as a nice way to specify how to print dates so may be we should have a look

Stef

On Jun 18, 2013, at 3:30 PM, DeNigris Sean <[hidden email]> wrote:

> Are you both impatient and conservative (and apparently confused) like me? I want to use the stable release of Pharo with the best new features of the alpha version. Also, do you ever think of cool enhancements to the IDE that for whatever reason have not made it into the release?
>
> Well, I've been collecting these things into ConfigurationOfPharoSpd. There are many little parts, which you can load with:
>     Gofer it
>    squeaksource3: 'PharoSpd';
>    package: 'ConfigurationOfPharoSpd';
>    load.
> (Smalltalk at: #ConfigurationOfPharoSpd) load.
>
> Here is a screenshot of its little browser showing the issues which have been addressed (gray means the issue is not applicable to the current image version, green means the fix has been applied):
> <Screen Shot 2013-06-18 at 9.13.03 AM.png>
> There are also a bunch of little IDE enhancements.
>
> This one is one of my favorites. Instead of sprinkling method comments like "self open" in every class-side unary method, there are Nautilus menu items to send them (and optionally inspect the result):
> <Screen Shot 2013-06-18 at 9.15.47 AM.png>
> Or you can add a boilerplate ComposableModel to a package:
> <Screen Shot 2013-06-18 at 9.17.50 AM.png>
> And some extension methods I find myself using often, like:
> * String>>surroundedByDoubleQuotes
> * DateAndTime>>printUS, which returns a string like '6/18/2013 @ 9:20 am'
> * ZnNetworkingUtils>>isPortAvailable: (doesn't take ip6 into account)
>
> Anyway, enjoy! Feedback welcome...


Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: [Pharo-dev] [ANN]: Pharo x.5

Sean P. DeNigris
Administrator
5777 posts
Stéphane Ducasse wrote
        I like your browser showing issue.
        What does it show?
        Because I'm always lost with figbuz :)
Yes, I'm starting to get used to fogbugz, but I've found the interface to be counter-intuitive :/ Unfortunately the issue browser is not connected to fogbugz. It simply collects subclasses of SpdPharoIssue, which each have e.g. #number and #description hard-coded, and then for the status, #isFixed which checks to see e.g. whether a certain method which is implemented in the fix is present. It's not a general-purpose browser, but just to make sure that the configuration loaded the correct fixes. Thanks to Spec, it's so easy to build little UI's like this ;)
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: [Pharo-dev] [ANN]: Pharo x.5

Stéphane Ducasse
17193 posts
can you then send me the issues that I should look at :)
Stef

On Jun 19, 2013, at 1:10 PM, Sean P. DeNigris <[hidden email]> wrote:

> Stéphane Ducasse wrote
>> I like your browser showing issue.
>> What does it show?
>> Because I'm always lost with figbuz :)
>
> Yes, I'm starting to get used to fogbugz, but I've found the interface to be
> counter-intuitive :/ Unfortunately the issue browser is not connected to
> fogbugz. It simply collects subclasses of SpdPharoIssue, which each have
> e.g. #number and #description hard-coded, and then for the status, #isFixed
> which checks to see e.g. whether a certain method which is implemented in
> the fix is present. It's not a general-purpose browser, but just to make
> sure that the configuration loaded the correct fixes. Thanks to Spec, it's
> so easy to build little UI's like this ;)
>
>
>
> -----
> Cheers,
> Sean
> --
> View this message in context: http://forum.world.st/Pharo-dev-ANN-Pharo-x-5-tp4693932p4694117.html
> Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
>


Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: [Pharo-dev] [ANN]: Pharo x.5

Sean P. DeNigris
Administrator
5777 posts
Stéphane Ducasse wrote
can you then send me the issues that I should look at :)
I'm not sure what you're asking. If you load the config from the OP (works in 2.0), you will see the issue classes...
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: [Pharo-dev] [ANN]: Pharo x.5

Mark Bestley-2
11 posts
In reply to this post by Sean P. DeNigris
DeNigris Sean <[hidden email]> wrote:

> Are you both impatient and conservative (and apparently confused) like me?
> I want to use the stable release of Pharo with the best new features of
> the alpha version. Also, do you ever think of cool enhancements to the IDE
> that for whatever reason have not made it into the release?
>
> Well, I've been collecting these things into ConfigurationOfPharoSpd.
> There are many little parts, which you can load with:
>     Gofer it
>       squeaksource3: 'PharoSpd';
>       package: 'ConfigurationOfPharoSpd';
>       load.
>   (Smalltalk at: #ConfigurationOfPharoSpd) load.

I am new to Smalltalk and thought I would like to use these extensions

I have tried loading this using Pharo 2 image but it fails with
'Could not load RPackage-Tests-SeanDeNigris.110.mcz: ZnHttpUnsuccessful:
404 Not Found'

Looking with the Monticello browser I can see only RPackage-Tests
version 109.

How do I get the later version?

--
Mark


Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: [Pharo-dev] [ANN]: Pharo x.5

Sean P. DeNigris
Administrator
5777 posts
Mark Bestley-2 wrote
'Could not load RPackage-Tests-SeanDeNigris.110.mcz: ZnHttpUnsuccessful:
404 Not Found'
...
How do I get the later version?
I've uploaded it. Please try again.
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: [Pharo-dev] [ANN]: Pharo x.5

Mark Bestley-2
11 posts
Sean P. DeNigris <[hidden email]> wrote:

> Mark Bestley-2 wrote
> > 'Could not load RPackage-Tests-SeanDeNigris.110.mcz: ZnHttpUnsuccessful:
> > 404 Not Found'
> > ...
> > How do I get the later version?
>
> I've uploaded it. Please try again.
>
>

It nw fails with Could not load RPackage-Core-SeanDeNigris.215.mcz:
ZnHttpUnsuccessful: 404 Not Found'

However I did go back to an earlier ConfigurationOfPharoSpd and that
worked.

Being new at Pharo is this because not all Monitcello packages get
published?

--
Mark


Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: [Pharo-dev] [ANN]: Pharo x.5

Sean P. DeNigris
Administrator
5777 posts
> It nw fails with Could not load RPackage-Core-SeanDeNigris.215.mcz:
> ZnHttpUnsuccessful: 404 Not Found'
Okay I'll take a better look at what's missing...

> However I did go back to an earlier ConfigurationOfPharoSpd and that
> worked.
Good!

> is this because not all Monitcello packages get
> published?
It's because until now the project was just for my own use, so those packages are probably all in my local package cache and it works so I didn't realize I hadn't uploaded them. I should probably set up a Jenkins job so a pre-loaded image can be downloaded...
Cheers,
Sean