[Pharo-dev] [Bug] In ClassDescription#linesOfCode

2013-11-15 Thread Roberto Minelli
Hi, I looked at the implementation of #linesOfCode of ClassDescription. It is actually wrong, a correct version should be: linesOfCode An approximate measure of lines of code. Includes comments, but excludes blank lines. | lines | lines := self localMethods

Re: [Pharo-dev] [Bug] In ClassDescription#linesOfCode

2013-11-15 Thread Roberto Minelli
. Cheers, R On Nov 15, 2013, at 2:30 PM, Marcus Denker marcus.den...@inria.fr wrote: On 15 Nov 2013, at 14:18, Marcus Denker marcus.den...@inria.fr wrote: On 15 Nov 2013, at 14:07, Roberto Minelli roberto.mine...@usi.ch wrote: Hi, I looked at the implementation of #linesOfCode

Re: [Pharo-dev] Nautilus Tree

2013-12-02 Thread Roberto Minelli
what you are browsing influence the browser. Ben!! We should definitely sync on that! On Dec 2, 2013, at 11:27 AM, Benjamin benjamin.vanryseghem.ph...@gmail.com wrote: You can have a look here http://smalltalkhub.com/#!/~BenjaminVanRyseghem/Nautilus/ I started (and will resume working

Re: [Pharo-dev] Responsible development

2013-12-02 Thread Roberto Minelli
Well, +1 We should, in a way, form a sort of “Pharo UI Team” that keeps pushing and fixing Nautilus co. On Dec 2, 2013, at 2:02 PM, Yuriy Tymchuk yuriy.tymc...@me.com wrote: Hi guys, I have some thoughts about how we develop for Pharo. I was doing something in in Nautilus, and it started

Re: [Pharo-dev] Responsible development

2013-12-02 Thread Roberto Minelli
And we should all work to *make it better*, in one way or another! In the end we will be satisfied with what we have! ;-) Keep up the good work! Cheers, R On Dec 2, 2013, at 5:47 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: I'm not satisfied to what we have but we have it.

Re: [Pharo-dev] Komitter

2013-12-04 Thread Roberto Minelli
I am actually using it since 2 days. Cool work! Cheers, R On Dec 4, 2013, at 2:42 PM, Benjamin benjamin.vanryseghem.ph...@gmail.com wrote: I did not annonce it yet since some features are missing, and few bugs needs to be fixed (actually the slice are waiting to be integrated :P) the

[Pharo-dev] StartupAction and StartupLoader

2013-12-04 Thread Roberto Minelli
Hi, Is there any way to specify the order of the preferences? Now I put a couple of .st files in my ~/Library/Preferences/pharo folder containing calls to StartupLoader default executeAtomicItems: { StartupAction name: 'Setting my preferences...' code: [ … ] and I am wondering if

[Pharo-dev] [Nautilus] Selecting package

2013-12-04 Thread Roberto Minelli
Hi guys, I recently moved my tool to Pharo 3 and I am experiencing problems with the Nautilus. Long story sort: Why the argument of Nautilus#selectedPackage: aPackage is *not* a package but some weird PackageTreeSelection or subclass of it? I don’t followed (unfortunately) the evolution of

Re: [Pharo-dev] [Nautilus] Selecting package

2013-12-05 Thread Roberto Minelli
Hi Stef, On Dec 5, 2013, at 8:31 AM, Stéphane Ducasse stephane.duca...@inria.fr wrote: Hi Stef, I spoke with Esteban before, however thanks for the clarification. IMHO however the current structure is confusing, and names are misleading. The thing about packages, categories, namespaces

Re: [Pharo-dev] [Spy] How to inject code *inside* a method

2013-12-06 Thread Roberto Minelli
WOW.. Thank you guys for such answers!! It seems this is an hot topic. However, now I will try to hack something on top of Spy and look at Phantom in the weekend ;) Cheers, R On Dec 6, 2013, at 10:35 AM, Marcus Denker marcus.den...@inria.fr wrote: On 06 Dec 2013, at 10:01, Roberto Minelli

[Pharo-dev] [Spec] Non resizable window

2013-12-09 Thread Roberto Minelli
Hi, Is there any simple way to make a SpecWindow not resizable? Cheers, R

Re: [Pharo-dev] [Spec] Non resizable window

2013-12-09 Thread Roberto Minelli
On Dec 10, 2013, at 8:11 AM, Stéphane Ducasse stephane.duca...@inria.fr wrote: On Dec 10, 2013, at 7:49 AM, Roberto Minelli roberto.mine...@usi.ch wrote: Hi, Is there any simple way to make a SpecWindow not resizable? No idea but we should be able to specify that in the spec +1

[Pharo-dev] lowSpaceWatcher fresh Pharo 3.0 image

2013-12-10 Thread Roberto Minelli
Hi, I just downloaded a fresh Pharo 3.0 image and I got a notification when I open the image Not enough memory to launch the lowSpaceWatcher. This is triggered by SmalltalkImage#lowSpaceWatcher Is this normal? Cheers, R

Re: [Pharo-dev] lowSpaceWatcher fresh Pharo 3.0 image

2013-12-10 Thread Roberto Minelli
Downloaded new VM… Now it works… On Dec 10, 2013, at 10:57 AM, Yuriy Tymchuk yuriy.tymc...@me.com wrote: Please check if this is not caused by your autoloading scripts Uko On 10 Dec 2013, at 10:38, Roberto Minelli roberto.mine...@usi.ch wrote: Hi, I just downloaded a fresh Pharo 3.0

[Pharo-dev] Missing collectAsSet: in Pharo 3.0

2013-12-10 Thread Roberto Minelli
Hi, In Pharo 3 you guys integrated Doru’s CollectionsExtension package, which is great. You forgot, however, to integrate the utility method #collectAsSet: I was using in several places in my code. It should be simply ^ self collect: aBlock as: Set Could someone please put this in the

Re: [Pharo-dev] Missing collectAsSet: in Pharo 3.0

2013-12-10 Thread Roberto Minelli
, After all, you can just replace your calls for #collect:as: Esteban On Tue, Dec 10, 2013 at 2:21 PM, Roberto Minelli roberto.mine...@usi.ch wrote: Hi, In Pharo 3 you guys integrated Doru’s CollectionsExtension package, which is great. You forgot, however, to integrate

Re: [Pharo-dev] Missing collectAsSet: in Pharo 3.0

2013-12-10 Thread Roberto Minelli
:, not the absence of the other(s). Esteban On Tue, Dec 10, 2013 at 2:38 PM, Nicolas Cellier nicolas.cellier.aka.n...@gmail.com wrote: And then rejectAsSet: selectAsHeap: etc... A big -1 2013/12/10 Yuriy Tymchuk yuriy.tymc...@me.com On 10 Dec 2013, at 14:26, Roberto Minelli roberto.mine

Re: [Pharo-dev] Missing collectAsSet: in Pharo 3.0

2013-12-10 Thread Roberto Minelli
So if self do: [:each | tally := tally + 1] computes the size of a collection, why do we need the #size selector? On Dec 10, 2013, at 3:08 PM, Igor Stasenko siguc...@gmail.com wrote: So if collect:as: does the job why the hell add yet another selector?

Re: [Pharo-dev] Missing collectAsSet: in Pharo 3.0

2013-12-10 Thread Roberto Minelli
have my own #collectAsSet: and I am fine with that and I will never use #collect:as: But you could find better example of some more questionable methods in Squeak/Pharo. 2013/12/10 Roberto Minelli roberto.mine...@usi.ch So if self do: [:each | tally := tally + 1] computes the size

Re: [Pharo-dev] Missing collectAsSet: in Pharo 3.0

2013-12-10 Thread Roberto Minelli
speaking of incorporating some messages in trunk development? Then you have to deal with other's opinion. Mine does not count that much. At the end, anyway, Steph and Marcus decide. 2013/12/10 Roberto Minelli roberto.mine...@usi.ch On Dec 10, 2013, at 4:19 PM, Nicolas Cellier

[Pharo-dev] Fwd: Categories, packages, and tags [cont'd]

2013-12-11 Thread Roberto Minelli
Hi guys, I have a question about the new “PackageTreeModel”… In a previous discussion (https://www.mail-archive.com/pharo-dev@lists.pharo.org/msg09271.html) we discussed about the new package model. Now I understood it but I am wondering one thing. Since Stef said that categories will be

[Pharo-dev] [Spec] whenSelectedItemsChanged: on TreeModel

2013-12-11 Thread Roberto Minelli
Hi, I am experiencing problems with #whenSelectedItemsChanged: on a TreeModel. In particular, the block (i.e., argument of #whenSelectedItemsChanged: gets randomly executed a couple of times (3/4) the second time that the selection happens. The first time is fine. It looks like the

Re: [Pharo-dev] Categories, packages, and tags [cont'd]

2013-12-11 Thread Roberto Minelli
Thx Stef! I also found RPackage organizer packages ;) Cheers, R On Dec 12, 2013, at 8:25 AM, Stéphane Ducasse stephane.duca...@inria.fr wrote: On Dec 11, 2013, at 1:40 PM, Roberto Minelli roberto.mine...@usi.ch wrote: Hi guys, I have a question about the new “PackageTreeModel

[Pharo-dev] Spec, groups and version-specific packages

2014-06-26 Thread Roberto Minelli
Hi, I have my project with my Configuration and I am using spec groups to load different sets of packages (e.g., development and user groups). With the porting to Pharo 4.0 I discovered that there are some functionalities specific to Pharo 3.0 and others to Pharo 4.0, for example the fact that

Re: [Pharo-dev] Spec, groups and version-specific packages

2014-06-26 Thread Roberto Minelli
' )]. spec for: #gemstone do: [ spec package: 'CoolBrowser-Platform' with: 'CoolBrowser-PlatformGemstone']. spec for: #pharo do: [ spec package: 'CoolBrowser-Platform' with: 'CoolBrowser-PlatformPharo']. Le 26 juin 2014 à 13:43, Roberto Minelli a écrit : Hi, I have my project

[Pharo-dev] [Roassal3D] R3GridLayout, which one?

2014-07-03 Thread Roberto Minelli
Hi, I was trying Roassal3D and I need the simplest (and only!) grid layout that places elements on the XY plane. Looking at both examples and class hierarchies it seems that the R3XYGridLayout should do, but as soon as you add an #height (I am expecting the height to go along the Z axis) to

[Pharo-dev] DFlow needs you

2014-07-29 Thread Roberto Minelli
Hi guys, As part of my research, I am conducting an experiment on how Pharo developers use the IDE and I really need you. My final goal, as we discussed at ESUG last year, is to improve the UI of our IDE to better fit our needs. To do so, I first need to collect interaction data from real

[Pharo-dev] DFlow needs you

2014-07-29 Thread Roberto Minelli
Hi guys, As part of my research, I am conducting an experiment on how Pharo developers use the IDE and I really need you. My final goal, as we discussed at ESUG last year, is to improve the UI of our IDE to better fit our needs. To do so, I first need to collect interaction data from real

Re: [Pharo-dev] DFlow needs you

2014-07-29 Thread Roberto Minelli
? Thierry Le 29/07/2014 10:01, Roberto Minelli a écrit : Hi guys, As part of my research, I am conducting an experiment on how Pharo developers use the IDE and I really need you. My final goal, as we discussed at ESUG last year, is to improve the UI of our IDE to better fit our needs. To do

[Pharo-dev] Our vision: Self-Adaptive IDEs

2014-08-12 Thread Roberto Minelli
Hi guys, I uploaded a web page to explain Self-Adaptive IDEs, the vision I will develop for my Ph.D http://www.inf.usi.ch/phd/minelli/self-adaptive-ides/index.html. Please take a minute to look at it and tell me your opinion! At the moment we are conducting an experiment with my interaction

Re: [Pharo-dev] Our vision: Self-Adaptive IDEs

2014-08-12 Thread Roberto Minelli
answer you the most important question what I want to use and how I want to use it . On Tue, Aug 12, 2014 at 10:30 AM, Roberto Minelli roberto.mine...@usi.ch wrote: Hi guys, I uploaded a web page to explain Self-Adaptive IDEs, the vision I will develop for my Ph.D http://www.inf.usi.ch

Re: [Pharo-dev] Our vision: Self-Adaptive IDEs

2014-08-13 Thread Roberto Minelli
through methods was instantaneous but with DFlow I see at least a one second lag which make its use quite an obstacle to my workflow. I am on macos 10.9 maverics with a 2011 macbook air. On Tue, Aug 12, 2014 at 4:31 PM, Roberto Minelli roberto.mine...@usi.ch wrote: Hi, I agree

Re: [Pharo-dev] Our vision: Self-Adaptive IDEs

2014-08-13 Thread Roberto Minelli
tolerate it. On Wed, Aug 13, 2014 at 9:58 AM, Roberto Minelli roberto.mine...@usi.ch wrote: Hi Kilon, I am using DFlow everyday and never experienced an noticeable slowdown. I will do my best to make it fast! Cheers, R On Aug 12, 2014, at 3:48 PM, kilon alios kilon.al

[Pharo-dev] Ring

2014-10-21 Thread Roberto Minelli
Hi guys, I haven’t been programming for the last few weeks… I just discovered that Ring is no longer part of the image. I am wondering if it has been replaced by a new model or it just disappeared. Cheers, Roberto

Re: [Pharo-dev] Ring

2014-10-21 Thread Roberto Minelli
just simplified it ( eg remiving ring factory) On Tue, Oct 21, 2014 at 9:06 AM, Roberto Minelli roberto.mine...@usi.ch wrote: Hi guys, I haven’t been programming for the last few weeks… I just discovered that Ring is no longer part of the image. I am wondering if it has been

[Pharo-dev] Morph to TakskbarMorph

2014-12-28 Thread Roberto Minelli
Hi, I am trying to understand some Morphic. It looks like the dark side. Anyway, I am trying to reconstruct the relationship between a Morph, say a SystemWindow and its PluggableButtonMorph contained in the TakskbarMorph. Any suggestion? Each PluggableButtonMorph in the TakskbarMorph has as

Re: [Pharo-dev] '/is/this/possible?' asFileReference size

2015-02-04 Thread Roberto Minelli
“Design”? On 04 Feb 2015, at 15:18, Sean P. DeNigris s...@clipperadams.com wrote: Roberto Minelli-3 wrote I just discovered that if you ask #size to a non-eistent file reference you obtain False. That was a design decision to make people feel more comfortable coming from C++... 0

[Pharo-dev] '/is/this/possible?' asFileReference size

2015-02-04 Thread Roberto Minelli
Hi, I just discovered that if you ask #size to a non-eistent file reference you obtain False. I submitted an issue @ https://pharo.fogbugz.com/f/cases/14862/is-this-possible-asFileReference-size Cheers, Roby

Re: [Pharo-dev] Who are the experts?

2015-02-04 Thread Roberto Minelli
Sorry for the late reply, Stef. Cool that you cleaned AbstractTool and about the second part of my email.. I was indeed wrong! Cheers, R On 31 Jan 2015, at 20:39, stepharo steph...@free.fr wrote: Le 27/1/15 13:21, Roberto Minelli a écrit : ### NautilusRefactoring - How does it work

Re: [Pharo-dev] Who are the experts?

2015-01-27 Thread Roberto Minelli
Hi Sven, Yes, I’ll be there at the Pharo Days! Super cool that I can discuss with you about the Zinc-HTTP-Client-Server! See you at the Pharo Days then! Cheers, Roberto On 27 Jan 2015, at 13:24, Sven Van Caekenberghe s...@stfx.eu wrote: On 27 Jan 2015, at 13:21, Roberto Minelli

Re: [Pharo-dev] Who are the experts?

2015-01-27 Thread Roberto Minelli
or #selectedMethod. For a Playground I should probably extract the source code displayed and parse it? I have no idea on how to do that.. Cheers, Roberto On 27 Jan 2015, at 13:51, Henrik Johansen henrik.s.johan...@veloxit.no wrote: On 27 Jan 2015, at 1:21 , Roberto Minelli roberto.mine...@usi.ch wrote

[Pharo-dev] Who are the experts?

2015-01-27 Thread Roberto Minelli
Dear all, I have some questions about the following topics: Morphic, the Zinc-HTTP-Client-Server, and NautilusRefactoring. I am wondering if someone can help ;) I am visiting RMoD @ INRIA these days (I am now sitting at the “visiting tables” @ 3rd floor of INRIA). If someone is willingness to

Re: [Pharo-dev] Plague Doctor

2015-01-30 Thread Roberto Minelli
not help at all, what is that window plague ? On Fri, Jan 30, 2015 at 1:28 PM, stepharo steph...@free.fr wrote: :) Great picture! I love Plague Doctor freaking guy. Stef Le 30/1/15 11:29, Roberto Minelli a écrit : To follow Stef’s advice of advertising our projects, here is the Plague

Re: [Pharo-dev] Order/priority of StartupAction

2015-02-09 Thread Roberto Minelli
for sharing your automagic way of initializing your image ;) Cheers, R On 09 Feb 2015, at 15:50, Sean P. DeNigris s...@clipperadams.com wrote: Roberto Minelli-3 wrote Is there any way to specify an order or priority of StartupAction? The startup action framework is an awesome tool to set

Re: [Pharo-dev] Order/priority of StartupAction

2015-02-09 Thread Roberto Minelli
in it. Roby On 09 Feb 2015, at 16:41, Sven Van Caekenberghe s...@stfx.eu wrote: On 09 Feb 2015, at 16:37, Roberto Minelli roberto.mine...@usi.ch wrote: Hi Sean, On the one side, I see (and agreed) what you said. But suppose you want to provide users with a script that loads your package

Re: [Pharo-dev] Order/priority of StartupAction

2015-02-09 Thread Roberto Minelli
Caekenberghe s...@stfx.eu wrote: No, it only works for the default group and stable version. On 09 Feb 2015, at 17:09, Roberto Minelli roberto.mine...@usi.ch wrote: Thanks Sven! P.s. any way to specify, for example, which group to load? In my configuration, for example, I was using this method

[Pharo-dev] Order/priority of StartupAction

2015-02-09 Thread Roberto Minelli
Hi, I already asked this question a while ago, and I’d love to know if something has changed: Is there any way to specify an order or priority of StartupAction? In my case, for example, I really need that one of my scripts gets executed last. Can I do that? I could imagine something like

Re: [Pharo-dev] Order/priority of StartupAction

2015-02-09 Thread Roberto Minelli
action the code of the second startup action ] runOnce: true } El Mon Feb 09 2015 at 12:07:04 PM, Roberto Minelli roberto.mine...@usi.ch escribió: Hi, I already asked this question a while ago, and I’d love to know if something has changed: Is there any

Re: [Pharo-dev] Order/priority of StartupAction

2015-02-09 Thread Roberto Minelli
it in the wrong way, it’s their problem. Cheers, R On 09 Feb 2015, at 13:36, Damien Pollet damien.pol...@gmail.com wrote: And what if you have several first actions? On 9 February 2015 at 12:44, Roberto Minelli roberto.mine...@usi.ch wrote: Nope. Imagine (and this is my case) that I

Re: [Pharo-dev] Dark side of variables

2015-01-08 Thread Roberto Minelli
Thanks a lot Marcus! Indeed I used it also like that once. Cheers, Roberto On 07 Jan 2015, at 18:13, Marcus Denker marcus.den...@inria.fr wrote: On 07 Jan 2015, at 14:06, Roberto Minelli roberto.mine...@usi.ch wrote: Thank you, Clément! We use instance var on class side

Re: [Pharo-dev] Dark side of variables

2015-01-07 Thread Roberto Minelli
different objects in it). 2015-01-07 17:40 GMT+01:00 Roberto Minelli roberto.mine...@usi.ch: Hi guys, Can anyone please quickly explain to me the difference between (1) an instance variable defined on the class side and (2) a class variable defined on the instance side? Thanks a lot

[Pharo-dev] Dark side of variables

2015-01-07 Thread Roberto Minelli
Hi guys, Can anyone please quickly explain to me the difference between (1) an instance variable defined on the class side and (2) a class variable defined on the instance side? Thanks a lot! Cheers, Roberto