Re: [Pharo-users] Becoming proficient in Pharo

2015-01-14 Thread stepharo
Le 13/1/15 15:13, nacho a écrit : Hello, As I struggle, not without fun of course, to learn more about Pharo and its frameworks and idea came to my mind. We could put together some guidelines on how to become proficient in Pharo, and eventually come to be a power user and / or a developer. I rea

Re: [Pharo-users] SmalltalkHub.com <- Flakey?

2015-01-14 Thread Ben Coman
no problem here. On Wed, Jan 14, 2015 at 12:55 PM, sergio_101 wrote: > Is the smalltalk hub site really flakey lately, or is it just me? > > i am having problems loading pages, loading projects, etc.. > > code seems to be uploading okay, though. >

Re: [Pharo-users] SmalltalkHub.com <- Flakey?

2015-01-14 Thread kilon alios
Smalltalk hub has its good and bad moments, I have been experiencing weird behaviour from time to time On Wed, Jan 14, 2015 at 11:22 AM, Ben Coman wrote: > no problem here. > > On Wed, Jan 14, 2015 at 12:55 PM, sergio_101 wrote: > >> Is the smalltalk hub site really flakey lately, or is it just

[Pharo-users] New post on blog about Rewrite Tool

2015-01-14 Thread Mark Rizun
Hello! Please, visit my blog and read new information about developement and updates for Rewrite Tool. Link: myfuncoding.blogspot.com You can install the tool by evaluating this: Gofer new url: 'http://smalltalkhub.com/mc/MarkRizun/RewriteTool/main'; package: 'ConfigurationOfRewriteTool'; l

Re: [Pharo-users] Becoming proficient in Pharo

2015-01-14 Thread nacho
Ben, How do you actually use the halt method? I don't follow you. Seems like an interesting thing to explore. thanks Nacho - Nacho Smalltalker apprentice. Buenos Aires, Argentina. -- View this message in context: http://forum.world.st/Becoming-proficient-in-Pharo-tp4799284p4799495.html Sen

Re: [Pharo-users] Becoming proficient in Pharo

2015-01-14 Thread Johan Fabry
The halt method is used to put a breakpoint in the code, popping up the debugger. Just write the following: self halt. and when this gets executed the debugger jumps into action. I am surprised this is not clear, I thought that all beginner documentation mentioned this. Can you tell me what

Re: [Pharo-users] Becoming proficient in Pharo

2015-01-14 Thread kilon alios
by using the message "self halt" inside any method. When it reaches this message it will stop execution and pop up the debugger, from there on its just a matter of using the debugger to inspect the variables and move execution one step at a time, the true power of smalltalk. This way you can see ex

Re: [Pharo-users] Becoming proficient in Pharo

2015-01-14 Thread nacho
Thanks! Kilon, is this feature included in one of your amazing videos? thanks - Nacho Smalltalker apprentice. Buenos Aires, Argentina. -- View this message in context: http://forum.world.st/Becoming-proficient-in-Pharo-tp4799284p4799505.html Sent from the Pharo Smalltalk Users mailing lis

Re: [Pharo-users] Becoming proficient in Pharo

2015-01-14 Thread Ben Coman
The other thing I like about Smalltalk debugger is from there being able to select code and spawn a sub-debugger, so later I can return to the original location and continue. On Wed, Jan 14, 2015 at 10:18 PM, nacho <0800na...@gmail.com> wrote: > Thanks! > Kilon, is this feature included in one of

Re: [Pharo-users] Becoming proficient in Pharo

2015-01-14 Thread kilon alios
i am afraid not. But it will definitely be my next video tutorial ;) On Wed, Jan 14, 2015 at 4:18 PM, nacho <0800na...@gmail.com> wrote: > Thanks! > Kilon, is this feature included in one of your amazing videos? > thanks > > > > > - > Nacho > Smalltalker apprentice. > Buenos Aires, Argentina.

Re: [Pharo-users] Becoming proficient in Pharo

2015-01-14 Thread Offray Vladimir Luna Cárdenas
Hi, I totally agree with what Martin says here. In my case I was interested in Smalltalk for long time, but the game tutorial didn't catch my attention. I planned several projects to learn, but none of them where easy to start with. It was not until the expansion of Moose from software analys

Re: [Pharo-users] Notification on GC of an object?

2015-01-14 Thread Johan Fabry
Yes, adding it to the weak registry does the trick! Thank you Esteban for the pointer and Torsten for the magic line of code WeakRegistry default add: anObject. Being able to hook into the GC in this way is extremely cool, it saves me a lot of housekeeping work and I am very happy because of t

Re: [Pharo-users] Notification on GC of an object?

2015-01-14 Thread Luc Fabresse
Hi Johan, Be careful, it is not the object that will execute the finalizing code but a shallow copy of it. It can lead to deep debugging session sometimes ;-) o := Object new. WeakRegistry default add: o. "a shallow copy of o is registered" o := nil. Smalltalk garbageCollect.

Re: [Pharo-users] Notification on GC of an object?

2015-01-14 Thread Johan Fabry
Yes, in the end it’s not working out for me, sadly. I think it’s because of that, but I’m not sure as it’s complicated … I’ll show you next week if you want to know more. > On Jan 14, 2015, at 16:14, Luc Fabresse wrote: > > Hi Johan, > > Be careful, it is not the object that will execute the

Re: [Pharo-users] Notification on GC of an object?

2015-01-14 Thread Ben Coman
what if the object stores a reference to itself? then you can access it from the shadow copy? On Thu, Jan 15, 2015 at 4:39 AM, Johan Fabry wrote: > > Yes, in the end it’s not working out for me, sadly. I think it’s because > of that, but I’m not sure as it’s complicated … I’ll show you next week

Re: [Pharo-users] Becoming proficient in Pharo

2015-01-14 Thread kilon alios
you asked and I delivered. A video tutorial on the debugger , deeper into live coding and a powerful tool to understand the internals of objects and their structure https://www.youtube.com/watch?v=ZE2T2D8hikE I will of course follow it with additional tutorials since its a rather big subject but

Re: [Pharo-users] Useful tools?

2015-01-14 Thread laura
i'm afraid i posed the question too broadly to be answerable, so reformulating... What are some tools you frequently use to ease development which are neither built in the current official distribution nor domain-specific? (for example i added TilingWindowManager, RBConfigurableFormatter, many sho

[Pharo-users] How to keep the system updated?

2015-01-14 Thread Laura Risani
How do i keep the system updated? Should i just wait to the next version release or should i do something in the the midtime? I was feeling curious about World Menu> System> Software update , i tried it (having saved the image) and after downloading some packages lots of predebug windows showed up

[Pharo-users] Making objects persistent

2015-01-14 Thread sergio_101
I am building a seaside application, and am in the process of building my models and unit tests. I have a few objects that build up my data by creating objects. when i run the data creation methods, everything is fine. immediately afterward, since these objects to belong to anything, they are cle

Re: [Pharo-users] Making objects persistent

2015-01-14 Thread stepharo
Le 15/1/15 06:06, sergio_101 a écrit : I am building a seaside application, and am in the process of building my models and unit tests. I have a few objects that build up my data by creating objects. when i run the data creation methods, everything is fine. immediately afterward, since these

Re: [Pharo-users] How to keep the system updated?

2015-01-14 Thread stepharo
Hi laura The update mechanism is sometimes updating part of the systems that are currently used and hence it is difficult to control what is happening. What I suggest is to download new version using the PharoLauncher or scripts Stef Le 15/1/15 05:30, Laura Risani a écrit : How do i keep t

[Pharo-users] Could we keep Pharo-dev for Pharo-dev?

2015-01-14 Thread stepharo
Hi guys I will start to be picky about the mails to which I reply or even read. We should be more disciplined. Pharo-dev should be about Pharo-dev this is important for our concentration. I really like the other discussions but we should have them in Pharo-users. I think that it makes sense. S

Re: [Pharo-users] Making objects persistent

2015-01-14 Thread p...@highoctane.be
On Thu, Jan 15, 2015 at 6:06 AM, sergio_101 wrote: > I am building a seaside application, and am in the process of building my > models and unit tests. > > I have a few objects that build up my data by creating objects. > > when i run the data creation methods, everything is fine. immediately > a

Re: [Pharo-users] Making objects persistent

2015-01-14 Thread jtuc...@objektfabrik.de
Sergio, I'D say you first need to define what you mean by "persistent" If all you need is to have them survive a Garbage Collection, you just need to make sure these objects are referenced by som eother objects. Depending on your use case, this can be Seaside Sessions, Global variables (proba

Re: [Pharo-users] Could we keep Pharo-dev for Pharo-dev?

2015-01-14 Thread Tudor Girba
+1 Doru On Thu, Jan 15, 2015 at 8:24 AM, stepharo wrote: > Hi guys > > I will start to be picky about the mails to which I reply or even read. > We should be more disciplined. Pharo-dev should be about Pharo-dev this is > important > for our concentration. > I really like the other discussions