Re: [Pharo-users] I feel like an overwhelmed maintenance programmer - how to get some toeholds?

2019-12-18 Thread Hilaire
Sven, Often the intend is wrongly perceived, I am sorry about that. I know about these Pharo books (but not the Pharo with Style which I did not pay attention to), I bought three of them and I wrote the original Morph chapter in the Pharo By Example book, I donated a bit to the Steph proposal

Re: [Pharo-users] I feel like an overwhelmed maintenance programmer - how to get some toeholds?

2019-12-18 Thread Sven Van Caekenberghe
Hilaire, I hope you are well. I consider you a full member of the Pharo community, I have seen you interacting on the mailing lists for many years and I appreciate your work a lot, that is why I was surprised you would not know that there are newer, pharo specific versions of the very old

Re: [Pharo-users] I feel like an overwhelmed maintenance programmer - how to get some toeholds?

2019-12-18 Thread Hilaire
Keep cool and relax, no need to be harsh.  Just mention the additional resources I will happily learn from, I did not see your previous posts. I mentioned resources I was happy to use when learning Smalltalk, I am only distantly following what is going on with Pharo. Last time I code some bits of

Re: [Pharo-users] I feel like an overwhelmed maintenance programmer - how to get some toeholds?

2019-12-18 Thread Sven Van Caekenberghe
Come on, there is http://books.pharo.org/updated-pharo-by-example/ which is the same book, but for Pharo, and updated to 5.0 And http://books.pharo.org/booklet-WithStyle/ being written. Let's appreciate all the effort done by the authors to do the hard work of keeping all this up to

Re: [Pharo-users] I feel like an overwhelmed maintenance programmer - how to get some toeholds?

2019-12-18 Thread Hilaire
Hi Steve, Did you give a look at the "Smalltalk by Example" and "Smalltalk with style" ? There are good starters to get an overall idea of the basic objects and how is written Smalltalk code. It could help to jump in Pharo then. There are very easy reading, the advanced parts may not apply to

Re: [Pharo-users] I feel like an overwhelmed maintenance programmer - how to get some toeholds?

2019-12-18 Thread Ben Coman
On Wed, 18 Dec 2019 at 16:12, Steve Davies wrote: > Hi, > > I'm having yet another go to get to grips with Pharo. > > My project is for home automation. It seems in principle a great match > since object inside Smalltalk are obviously a great match for physical > objects being controlled. > > I

Re: [Pharo-users] I feel like an overwhelmed maintenance programmer - how to get some toeholds?

2019-12-18 Thread Ben Coman
On Wed, 18 Dec 2019 at 23:05, ponyatov wrote: > I'm speaking about 20K SRAM computers and Java-only services. FFI and VMs > do > not matter here. > Ahh, got it. Pharo's never going squeeze down to a 20K device, but I think its feasible for our StackInterpreter VM to be ported to the ESP32

Re: [Pharo-users] I feel like an overwhelmed maintenance programmer - how to get some toeholds?

2019-12-18 Thread ponyatov
I'm speaking about 20K SRAM computers and Java-only services. FFI and VMs do not matter here. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] I feel like an overwhelmed maintenance programmer - how to get some toeholds?

2019-12-18 Thread Ben Coman
On Wed, 18 Dec 2019 at 20:06, ponyatov wrote: > Hello, colleague. > > I'm also working in the same domain, primarily on the target of adapting > the > Actor model (async distributed messaging) for IoT systems in a wide: from > deeply embedded nodes to top-level north-side cloud cervices. > > I

Re: [Pharo-users] Question on MetaLink: access to the calling MessageNode from a MethodNode

2019-12-18 Thread Marcus Denker
> On 18 Dec 2019, at 14:06, Mehrdad Abdi wrote: > > Hello > > For a specific method, I need to log some information when the method is > called, like the state of the receiver, values of arguments, where the method > is called, ... . > > Using following MetaLink, I’m able to capture the

[Pharo-users] Question on MetaLink: access to the calling MessageNode from a MethodNode

2019-12-18 Thread Mehrdad Abdi
Hello For a specific method, I need to log some information when the method is called, like the state of the receiver, values of arguments, where the method is called, ... . Using following MetaLink, I’m able to capture the receiver and arguments and context. link := MetaLink new

Re: [Pharo-users] I feel like an overwhelmed maintenance programmer - how to get some toeholds?

2019-12-18 Thread ponyatov
Hello, colleague. I'm also working in the same domain, primarily on the target of adapting the Actor model (async distributed messaging) for IoT systems in a wide: from deeply embedded nodes to top-level north-side cloud cervices. I like Pharo as a workstation system and IDE, but I'm not

Re: [Pharo-users] [pharo-project/pharo] Proposed improvement : performance of #atRandom: in class Bag (#5392)

2019-12-18 Thread Benoit St-Jean via Pharo-users
--- Begin Message --- While I'm at it, another improvement would be to buffer #newFrom: by reading large chunks of the argument via a ReadStream, adding the objects read to a buffer and inserting into the receiver via #add:withOccurrences:.  That way, if you read say 1000 object (of which

Re: [Pharo-users] I feel like an overwhelmed maintenance programmer - how to get some toeholds?

2019-12-18 Thread Tim Mackinnon
Steve - obviously there are a few books and tutorials to skim through, but worth mentioning the meta-enter key (eg Cmd-enter on Mac) - this is spotter which is a universal grep and browser to help find things, as well as users of things (and lots more tricks) Also, in the playground is where

Re: [Pharo-users] I feel like an overwhelmed maintenance programmer - how to get some toeholds?

2019-12-18 Thread Steve Davies
> > The stuff I need to look into for my project is mixed in with 1000s of classes that I (hopefully) can ignore for now - but there seems to be no way to hide away all the irrelevant stuff. > Is it classes or methods ? Well "Smalttalk allClasses size" gives 9018 Object allSubclasses size

Re: [Pharo-users] I feel like an overwhelmed maintenance programmer - how to get some toeholds?

2019-12-18 Thread Steve Davies
On Wed, 18 Dec 2019 at 10:42, Cédrick Béler wrote: > > > > Le 18 déc. 2019 à 09:37, Sven Van Caekenberghe a écrit : > > > > Here is the class comment of MQTTExperimentalClient, which would be the > one to use: > > > Thank you Sven and Cédrick for the pointers. An existing implementation of

[Pharo-users] Proposed improvement : performance of #atRandom: in class Bag

2019-12-18 Thread Benoit St-Jean via Pharo-users
--- Begin Message --- For those interested, I proposed a fix to *drastically* improve the performance of Bag>>#atRandom: ! See https://github.com/pharo-project/pharo/issues/5392 -- - Benoît St-Jean Yahoo! Messenger: bstjean Twitter: @BenLeChialeux Pinterest: benoitstjean

Re: [Pharo-users] I feel like an overwhelmed maintenance programmer - how to get some toeholds?

2019-12-18 Thread Cédrick Béler
> Le 18 déc. 2019 à 09:37, Sven Van Caekenberghe a écrit : > > > >> On 18 Dec 2019, at 09:30, Sven Van Caekenberghe wrote: >> >> There is not much handholding documentation though, check out the unit tests. > > Here is the class comment of MQTTExperimentalClient, which would be the one

Re: [Pharo-users] I feel like an overwhelmed maintenance programmer - how to get some toeholds?

2019-12-18 Thread Sven Van Caekenberghe
> On 18 Dec 2019, at 09:30, Sven Van Caekenberghe wrote: > > There is not much handholding documentation though, check out the unit tests. Here is the class comment of MQTTExperimentalClient, which would be the one to use: I am MQTTExperimentalClient. I am an MQTTPrimitiveClient and a

Re: [Pharo-users] I feel like an overwhelmed maintenance programmer - how to get some toeholds?

2019-12-18 Thread Sven Van Caekenberghe
Hi Steve, Welcome! Yes, Pharo and similar dynamic object system can seem overwhelming, but they are also powerful. The trick is to find the shortest path from the system to your application, (re)using as much as possible. You should indeed also learn to skip over details and look at the

Re: [Pharo-users] I feel like an overwhelmed maintenance programmer - how to get some toeholds?

2019-12-18 Thread Cédrick Béler
Hi Steve, > > Hi, > > I'm having yet another go to get to grips with Pharo. > > My project is for home automation. Interesting, this si the kind of side project I always have in mind. You should look at PharoThings that may help in some respects. > It seems in principle a great match

[Pharo-users] I feel like an overwhelmed maintenance programmer - how to get some toeholds?

2019-12-18 Thread Steve Davies
Hi, I'm having yet another go to get to grips with Pharo. My project is for home automation. It seems in principle a great match since object inside Smalltalk are obviously a great match for physical objects being controlled. I started at the Pharo Wiki on Github "Setting up a new project".