Re: [Pharo-users] finds replacements for deprecated objects

2019-08-15 Thread Ben Coman
On Thu, 15 Aug 2019 at 09:37, Steve Quezadas  wrote:

> Forgive the naive question here. But if an object gets deprecated, how do
> you find the closest replacement object in Pharo? Is there a way to do it
> within the VM or do you just have to check the documentation?
>

Hi Steve,

First I just like to check the language you're using.  The usual discussion
I see about deprecation relates to "classes" that define the objects rather
than the "objects" themselves.
Do you mean "if a class gets deprecated?"

Also the "VM" is compiled with a C-compiler (gcc or clang) and not code
that most Pharo users will ever look at.
Different to other languages (e.g. Java), the Pharo VM contains only
low-level routines for memory-manipulation, bytecode-execution and a few
primitives for interfacing different operating systems libraries.
90% of Pharo library code is stored "within the Image" that runs on top of
the VM.

So if you want to find the replacement for SomeDeprecatedClass that your
application is using,
a bit of investigation in the old Image should be able to discover places
its being used in the default Pharo libraries,
the look at those same places in the latest Image and see which class they
are now using.
Two useful tools for that in SystemBrowser are:
  1. Right-click a class and choose "Analyse > Class refs"
  2. Right-click a method and choose "Senders"

Pharo also has some facilities for creation of deprecation-rules to
automatically identify deprecation-use by your code and suggest the
replacement.
Whether those have been written for the particular thing you are interested
in is another question.
Do you have a particular class or method in mind? And which versions of
Pharo are you considering?

cheers -ben


[Pharo-users] Garage

2019-08-15 Thread Jeff Gray
Is anyone maintaining garage? I get some errors in Pharo 7, which I have
patched as I have needed to. Looked in the GitHub repository and last update
was back in September.



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



Re: [Pharo-users] alt-tab in pharo?

2019-08-15 Thread Julien

> Le 15 août 2019 à 05:28, Tim Mackinnon  a écrit :
> 
> However there is an alternative you can load in that does a better job - 
> Mirage , https://github.com/juliendelplanque/Mirage 
> 
> 

Thanks for promoting it Tim :-)

Cheers,

Julien

---
Julien Delplanque
Doctorant à l’Université de Lille
http://juliendelplanque.be/phd.html
Equipe Rmod, Inria
Bâtiment B 40, Avenue Halley 59650 Villeneuve d'Ascq
Numéro de téléphone: +333 59 35 86 40

Re: [Pharo-users] alt-tab in pharo?

2019-08-15 Thread Sean P. DeNigris
Tim Mackinnon wrote
> there is an alternative you can load in that does a better job - Mirage , 

Wow, looks cool! Didn't know about that



-
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



Re: [Pharo-users] [ANN] Pharo Chip Designer

2019-08-15 Thread Stephan Eggermont
Pavel Krivanek 
wrote:
> 
> I have created a little program based on an old educational game by
> Zachtronics (KOHCTPYKTOP: Engineer of the People[1]) named Pharo Chip
> Designer.
> 
> It is an inaccurate and highly simplified tool for the design of silicon
> chip layouts. Unlike common tools for logic circuits designs, in Pharo Chip
> Designer, you need to face the real-life problems like propagation delays
> or limited amount of layers and available substrate area.

Ha. Back to the Apollo. That is a long time ago

Stephan