Re: [Pharo-users] Spotter vs Spotlight was: [Re: Cleaning code completition's namespace]

2015-02-07 Thread Sean P. DeNigris
Nicolai Hess wrote > Spotlight... even if you type in a the exact > class name that exists, the first entries > spotlight shows, may only include that name. (Searching and opening a > browser for String or Morph for example) Secret workaround: After typing an exact class/message name e.g. Morph, p

Re: [Pharo-users] Spotter vs Spotlight was: [Re: Cleaning code completition's namespace]

2015-02-07 Thread Nicolai Hess
I can understand Lauras point. I used spotlight quite a lot for searching messages and classes, even if I know the exact name of the message or class, so I don't use it only for "searching" but as an interface to quickly open a new Browser or MessageList. There are some minor differences that actu

Re: [Pharo-users] How to send messages to an object.

2015-02-07 Thread Ben Coman
If you want to do it as part of your application, maybe** look into sender and implementers of #acceptDroppingMorph:event: cheers -ben ** I have no great experience with this. Just had a poke around for an answer. On Sun, Feb 8, 2015 at 7:21 AM, Sven Van Caekenberghe wrote: > Yes, but please do

Re: [Pharo-users] How to send messages to an object.

2015-02-07 Thread Sven Van Caekenberghe
Yes, but please don't just limit it to UI things. I want to be able to 'Copy an object' to an 'Object Clipboard' when I am on 'self' in an Inspector. And I want to be able to 'Paste an object' in a slot of an Inspector, or wherever that makes sense. I always emulate this with a global, like XXX

Re: [Pharo-users] How to send messages to an object.

2015-02-07 Thread Tudor Girba
Indeed, this is a little feature a proper object-oriented environment should not miss :) Doru On Sun, Feb 8, 2015 at 12:02 AM, Damien Pollet < damien.pollet+ph...@gmail.com> wrote: > What if inspectors and workspaces were able to copy-paste object > references? > When pasting, a new binding woul

Re: [Pharo-users] How to send messages to an object.

2015-02-07 Thread Damien Pollet
What if inspectors and workspaces were able to copy-paste object references? When pasting, a new binding would be made with some automatic name. I always wondered why this was not part of Morphic… On 7 February 2015 at 23:52, Hernán Morales Durand wrote: > I see! something like? > > self addMor

Re: [Pharo-users] How to send messages to an object.

2015-02-07 Thread Hernán Morales Durand
I see! something like? self addMorphCentered: (EllipseMorph allInstances detect: [ : i | i name = 'an EllipseMorph(485752832)' ]) 2015-02-07 19:39 GMT-03:00 Sean P. DeNigris : > hernanmd wrote > > Use the halos... select the Menu halo (red) -> debug... -> explore morph > > Yes, you can bring up

Re: [Pharo-users] RadarMorph (was Re: Canvas Transform Goes Haywire if Scaled)

2015-02-07 Thread Tudor Girba
Hi, Nice. I see your environment is advancing nicely. Keep it up! Doru On Thu, Feb 5, 2015 at 7:06 PM, Sean P. DeNigris wrote: > Nicolai Hess wrote > > What do you want to achieve? > > I've created an infinite desktop a la Self. To make things manageable, I'm > currently writing a RadarView (a

Re: [Pharo-users] Spotter: How to see more beyond #/##

2015-02-07 Thread Tudor Girba
Hi, I agree (again) that the shortcuts are not well explained and we will work on it. Showing a list of all actions far away from the context in which they should be used is more of a patch than a solution though. Let us search for a better way :). Tooltips will probably be the first thing we'll t

Re: [Pharo-users] How to send messages to an object.

2015-02-07 Thread Sean P. DeNigris
hernanmd wrote > Use the halos... select the Menu halo (red) -> debug... -> explore morph Yes, you can bring up an inspector/explorer on each morph, but the hiccup is how do you connect them i.e. send one as an argument to the other? - Cheers, Sean -- View this message in context: http://f

Re: [Pharo-users] How to send messages to an object.

2015-02-07 Thread Hernán Morales Durand
2015-02-07 19:28 GMT-03:00 nacho <0800na...@gmail.com>: > @Hernan > Sending a message to an object using the inspector allows me to do: > self addMoprh: EllipseMorph new. > > But what I want is to add a morph to another morph that is already > instantiated. > Use the halos. In Windows is Alt+Shif

[Pharo-users] Spotter vs Spotlight was: [Re: Cleaning code completition's namespace]

2015-02-07 Thread Tudor Girba
Hi, Thanks for the detail feedback. I provided some inlined answers and took the liberty of changing the thread subject. On Sat, Feb 7, 2015 at 4:58 PM, Laura Risani wrote: > Hi Doru , > > On Fri, Feb 6, 2015 at 9:40 AM, Tudor Girba wrote: >> >> >> In the latest Pharo 4 Spotter works properly

Re: [Pharo-users] How to send messages to an object.

2015-02-07 Thread nacho
@Hernan Sending a message to an object using the inspector allows me to do: self addMoprh: EllipseMorph new. But what I want is to add a morph to another morph that is already instantiated. I want to reference the object that is somewhere in the memory an be able to manipulated even if I have not

Re: [Pharo-users] How to send messages to an object.

2015-02-07 Thread Sean P. DeNigris
nacho wrote > How do I achieve this? Two options: 1. (Unscalable hack) Identify them by a unique feature of their description e.g. "(World submorphs detect: [ :e | e color = Color blue ]) addMorph: (World submorphs detect: [ :e | e isKindOf: EllipseMorph ])" 2. Bring back a feature like that of Ma

Re: [Pharo-users] How to send messages to an object.

2015-02-07 Thread Hernán Morales Durand
2015-02-07 17:46 GMT-03:00 nacho <0800na...@gmail.com>: > Hi, > Suppose I do: > Morph new openInWorld > > and then: > EllipseMorph new openInWorld > > without referencing them to a variable. > How do I access those objects? > Morph new openInWorld inspect. Morph new openInWorld explore. or Morp

[Pharo-users] How to send messages to an object.

2015-02-07 Thread nacho
Hi, Suppose I do: Morph new openInWorld and then: EllipseMorph new openInWorld without referencing them to a variable. How do I access those objects? Since the only thing I know is that is a "a Morph(428605440)" and a "an EllipseMorph(448004096)" If I want to Morph(428605440) addMorph: EllipseMor

Re: [Pharo-users] Spotter: How to see more beyond #/##

2015-02-07 Thread Tudor Girba
Hi Stef, I think we are misunderstanding our terms :) Let's take an example: When you have the default Spotter, don't you feel like clicking on the triangle that goes outside of the normal bounds of the window? And once you do that, does that not teach you about a new functionality without any ma

Re: [Pharo-users] Spotter: How to see more beyond #/##

2015-02-07 Thread Johan Fabry
+1 on what Stef said. And for what it’s worth, I think that the biggest step to add usability of the spotter right now would be a simple legend at the bottom of the results. It would list the shortcut keys applicable to the current selection with a small description of what they do. It’s not

Re: [Pharo-users] Image growing size

2015-02-07 Thread Sven Van Caekenberghe
> On 07 Feb 2015, at 17:43, Laura Risani wrote: > > Problemution (problem+solution) found! > > I've tried > clearing package cache, image cleanup -> size decreased a little. > unloading all my packages -> size unchanged. > > Yet i haven't thought as my doing about TilingWindowManager i've in

[Pharo-users] [ANN] Pharo Consortium New Academic Partner: REVEAL University of Lugano

2015-02-07 Thread Marcus Denker
The Pharo Consortium is very happy to announce that the REVEAL research group of the University of Lugano has joined the Consortium as an Academic Partner. The REVEAL (Reverse Engineering, Visualization, Evolution Analysis Lab) group carries out research in diverse aspects of how to ease the c

[Pharo-users] Slides PharoDays...

2015-02-07 Thread Marcus Denker
Hi, Slides are online: http://www.slideshare.net/pharoproject/presentations (thanks to Santiago for collecting and uploading!) Videos soon… need to put titles and cross links to slides. Marcus

Re: [Pharo-users] DateAndTime>>fromJavaScriptTime:

2015-02-07 Thread Martin Bähr
Excerpts from Sebastian Sastre's message of 2015-02-07 18:08:20 +0100: > When you have a JavaScript date number like: > new Date(1412279266711) > for > Thu Oct 02 2014 16:47:46 GMT-0300 (BRT) > > It would be really great to be able to do in Pharo something like: > > DateAndTime fromJavaScriptTim

[Pharo-users] DateAndTime>>fromJavaScriptTime:

2015-02-07 Thread Sebastian Sastre
Hi guys, When you have a JavaScript date number like: new Date(1412279266711) for Thu Oct 02 2014 16:47:46 GMT-0300 (BRT) It would be really great to be able to do in Pharo something like: DateAndTime fromJavaScriptTime: 1412279266711 Do we have something that can do that?

Re: [Pharo-users] Image growing size

2015-02-07 Thread Laura Risani
Problemution (problem+solution) found! I've tried clearing package cache, image cleanup -> size decreased a little. unloading all my packages -> size unchanged. Yet i haven't thought as my doing about TilingWindowManager i've installed! It has an option for snapshooting worlds, it's possible i'v

Re: [Pharo-users] Cleaning code completition's namespace

2015-02-07 Thread Marcus Denker
> > Does anyone know why was Spotlight removed from distribution v4? > Because Spotter replaces it. Marcus

Re: [Pharo-users] Cleaning code completition's namespace

2015-02-07 Thread Laura Risani
Hi Doru , On Fri, Feb 6, 2015 at 9:40 AM, Tudor Girba wrote: > > > In the latest Pharo 4 Spotter works properly with the Dark Theme. > Starting from a fresh image (downloaded this week), and doing nothing more than setting the theme to Pharo 3 Dark, GTSpotter shows white, what is curious because

Re: [Pharo-users] Spotter: How to see more beyond #/##

2015-02-07 Thread stepharo
Le 5/2/15 14:38, Tudor Girba a écrit : Hi, Yes. As Alex said, we want all actions to have a visual representation. This is on our todo list. The question is why should we learn a visual representation presenting "cmd"-> is more effective (there are plenty of research paper on UI learnability

Re: [Pharo-users] Image growing size

2015-02-07 Thread Sven Van Caekenberghe
> On 07 Feb 2015, at 10:19, Thierry Goubier wrote: > > Hi, > > a fairly long report on the image and memory hogs is : > > SmalltalkImage current reportCPUandRAM Cool. I didn't know that one. Thanks. > Writes files in the image folder containing all the information. Takes a > while to run. >

Re: [Pharo-users] Image growing size

2015-02-07 Thread Trygve Reenskaug
I had this trouble with Squeak. It transpired that Squeak has a recycle bin! I changed a preference and all my junk objects disappeared. On 07.02.2015 10:19, Thierry Goubier wrote: Hi, a fairly long report on the image and memory hogs is : SmalltalkImage current reportCPUandRAM Writes files

Re: [Pharo-users] Image growing size

2015-02-07 Thread Thierry Goubier
Hi, a fairly long report on the image and memory hogs is : SmalltalkImage current reportCPUandRAM Writes files in the image folder containing all the information. Takes a while to run. Thierry 2015-02-07 9:53 GMT+01:00 Stephan Eggermont : > You might want to inspect this to see if this gets y

Re: [Pharo-users] Image growing size

2015-02-07 Thread Stephan Eggermont
You might want to inspect this to see if this gets you something interesting. (Object allSubclasses collect: [ :aClass | aClass -> aClass allInstances size]) sort: [ :a :b | a value > b value ] It takes some time to run, especially in a larger image. Stephan

Re: [Pharo-users] Image growing size

2015-02-07 Thread Hilaire
Personally I never got a 200MB image size, you have very likely persisted large collection of objects of your own in your image. Le 06/02/2015 23:29, Laura Risani a écrit : > I've tried, at some degree, all of your suggestions, but i failed to > reduce the image size significantly. I'll keep tryin