Wow things have changed.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Wow things have changed.

Eagle Offshore
Looking at Pharo 4.0

First, I'm a little confused by the Configuration Browser - did this replace Monticello?.

I'm not clear on the difference between a package and configuration and also the "Load Stable" vs "Load Configuration".  Is Load Configuration the bleeding edge or something?

I guess I could use a primer on the new modern way of managing code packages.

I have a project to do that will involve a raspberry pi 2, a data feed from an arduino managing sensors, mapping/navigation, and a touch screen.  

In my googling I have spotted some articles on running Pharo on raspberry pi, and open street map with roassal2.  I'm basically building an appliance here but would love to develop on my mac and deploy to the raspberry pi 2 as full screen.  I looked at the release notes for raspbian OS and it seems a package 'squeak-vm' was updated in 2013 for it.  Not sure about cairo for roassal2?

Any pointers?  I think this could be a really cool use case for Pharo.

Thanks
-Todd Blanchard
Reply | Threaded
Open this post in threaded view
|

Re: Wow things have changed.

Mariano Martinez Peck


On Thu, Nov 5, 2015 at 9:25 PM, Eagle Offshore <[hidden email]> wrote:
Looking at Pharo 4.0

First, I'm a little confused by the Configuration Browser - did this replace Monticello?.


No, this is just a kind of centralized repository / catalog from which you can download projects that have a working Metacello configuration (Metacello is a package management system for Monticello) for the Pharo version you are running.
You may want to read about Metacello (there is a Pharo By Example chapter out there). 
 
I'm not clear on the difference between a package and configuration and also the "Load Stable" vs "Load Configuration".  Is Load Configuration the bleeding edge or something?

I recommend you reading Metacello book chapter. Those are all possible ways of loading a project with Metacello (a project that does have a Metacello configuration defined). 
Load Configuration just loads the Metacello configuration class for that project. Nothing else. Loading a particular version (like stable or bleeding edge or a fixed number version) does load the code, packages and dependencies of that project.

BTW note that if a project isn't in the ConfigurationBrowser it does not mean it doesn't exist nor it won't work in that Pharo. It could mean that noone did the effort of publishing the ConfigurationOf class in the correct repository and a couple of other tasks required by the Configuration Browser. 
 

I guess I could use a primer on the new modern way of managing code packages.

I have a project to do that will involve a raspberry pi 2, a data feed from an arduino managing sensors, mapping/navigation, and a touch screen.

In my googling I have spotted some articles on running Pharo on raspberry pi, and open street map with roassal2.  I'm basically building an appliance here but would love to develop on my mac and deploy to the raspberry pi 2 as full screen.  I looked at the release notes for raspbian OS and it seems a package 'squeak-vm' was updated in 2013 for it.  Not sure about cairo for roassal2?


 
Any pointers?  I think this could be a really cool use case for Pharo.

Thanks
-Todd Blanchard



--
Reply | Threaded
Open this post in threaded view
|

Re: Wow things have changed.

abergel
In reply to this post by Eagle Offshore
Hi!

Roassal 2 uses Athens, itself using Cairo.

Alexandre

> Le 5 nov. 2015 à 21:25, Eagle Offshore <[hidden email]> a écrit :
>
> In my googling I have spotted some articles on running Pharo on raspberry pi, and open street map with roassal2.  I'm basically building an appliance here but would love to develop on my mac and deploy to the raspberry pi 2 as full screen.  I looked at the release notes for raspbian OS and it seems a package 'squeak-vm' was updated in 2013 for it.  Not sure about cairo for roassal2?

Reply | Threaded
Open this post in threaded view
|

Re: Wow things have changed.

Ben Coman
In reply to this post by Eagle Offshore
On Fri, Nov 6, 2015 at 8:25 AM, Eagle Offshore <[hidden email]> wrote:
> I'm not clear on the difference between a package and configuration and also the "Load Stable" vs "Load Configuration".  Is Load Configuration the bleeding edge or something?

A Metacello Configuration defines which versions of Monticello
packages go together.  Tools>Versioneer helps you define a
Configuration. The Configuration is stored as a separate Monticello
package.

"Load Stable" first loads the Configuration package, then processes it
to load the Monticello package versions defined as #stable.  "Load
Configuration"  only loads the package. Then you can load other
versions.

cheers -ben