[Pharo-users] Re: Please explain self

2020-12-12 Thread Stéphane Ducasse
Hello All this is explained in the Mooc (with mutliple videos and gradually) and Pharo by Example chapter. Pay attention you do not need to understand the metaclass core to program in Pharo. This is just for fun and a bonus. This is why in general I do not show this diagram directly. Check

[Pharo-users] Re: Please explain self

2020-12-12 Thread Richard O'Keefe
#subclassResponsibility is defined in Object. A good way to find this out is to - select 'subclassResponsibility' with the mouse - type Control-M Control-M asks for a list of the iMplementors of the method. Control-N asks for a list of the seNders of the message. This particular method just rais

[Pharo-users] Re: Please explain self

2020-12-12 Thread Richard Sargent
I'll add a small bit to Davide's excellent answer, by way of connecting some of the dots. In particular, the browser makes a class look like one thing and we talk about instance side and class side. The reality is that the browser presents either the class' behaviours or the metaclass' behaviours,

[Pharo-users] Re: Please explain self

2020-12-12 Thread Davide Grandi
Objects are instances of a class. Classes are objects, so they have methods. 'self class' returns the class of self. If a class doesn't have a methods ... ... the search continues in the superclass. (every class has a superclass ... apart from Object). If you download the Blue Book  - "Smalltalk

[Pharo-users] Please explain self

2020-12-12 Thread g_patrickb--- via Pharo-users
I understand if you have Class A with methods p and q that you can call q from p doing: self q But there are some cases where a method doesn’t exist but self is still used. I found a tutorial on creating a Reddit type app and it had a .mcz which I loaded. Here is an example from Class StLogg

[Pharo-users] Re: Pharo Mars still not working on Ubuntu

2020-12-12 Thread Stéphane Ducasse
tx offray Lua is an inspiration from that perspective. Now we play the game because publishing is also a nice way to understand what we are doing and because this is important to play the game else we would be considered as losers. S. > On 12 Dec 2020, at 19:20, Offray Vladimir Luna Cárdena

[Pharo-users] Re: Pharo Mars still not working on Ubuntu

2020-12-12 Thread Offray Vladimir Luna Cárdenas
Hi, Just to add a little bit to Tim's remark, I'm pretty happy that Pharo academicians, starting with Stéphane, value more making a real difference in the world, via delivering working and improving software, that talking about the theoretical possible changes when paper's "conclusions further pos

[Pharo-users] Re: Pharo Mars still not working on Ubuntu

2020-12-12 Thread Stéphane Ducasse
> On 12 Dec 2020, at 17:08, Santiago Bragagnolo > wrote: > > It is a bug when you have a lot of budget. Luckily we have the monthly > sprints :). > Participants are always more than welcome. You can join and participate to > fix these things the last friday of each month! > I can sit with

[Pharo-users] Re: Pharo Mars still not working on Ubuntu

2020-12-12 Thread Stéphane Ducasse
> On 12 Dec 2020, at 11:05, Tim Mackinnon wrote: > > Just to chip in here - the work demonstrated on Pharo development is > inspirational. Rather than throwing everything away, it shows the alternative > - incrementally improving a running platform - and practicing what we preach > in indust

[Pharo-users] Call for Beta-testers Pharo ARM64 JIT

2020-12-12 Thread Stéphane Ducasse
Dear happy Pharoers and others, Over the last months we have been working on the implementation of a MIT-licensed ARMv8 Just-In-Time compiler for Pharo VM. We are very happy with the advance on this subject, as we have not only implemented a new backend but we have added more than 2500 tests t

[Pharo-users] Re: Pharo Mars still not working on Ubuntu

2020-12-12 Thread Santiago Bragagnolo
It is a bug when you have a lot of budget. Luckily we have the monthly sprints :). Participants are always more than welcome. You can join and participate to fix these things the last friday of each month! I can sit with you and pair program. I am not sure if this month we have sprint, since it is

[Pharo-users] Re: Pharo Mars still not working on Ubuntu

2020-12-12 Thread Tim Mackinnon
Just to chip in here - the work demonstrated on Pharo development is inspirational. Rather than throwing everything away, it shows the alternative - incrementally improving a running platform - and practicing what we preach in industry by refactoring a large elderly code base bit by bit - it's r