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

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 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 step...@stack.nl: You might want to inspect this to

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 Sven Van Caekenberghe
On 07 Feb 2015, at 10:19, Thierry Goubier thierry.goub...@gmail.com 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

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 tu...@tudorgirba.com 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

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 17:43, Laura Risani laura.ris...@gmail.com 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

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've

[Pharo-users] DateAndTimefromJavaScriptTime:

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] 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] 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

[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:

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 s...@clipperadams.com: hernanmd wrote Use the halos... select the Menu halo (red) - debug... - explore morph Yes,

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 would be

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 Morph new

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 s...@stfx.eu wrote: Yes,

[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 laura.ris...@gmail.com wrote: Hi Doru , On Fri, Feb 6, 2015 at 9:40 AM, Tudor Girba tu...@tudorgirba.com wrote: In the

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+Shift+Left

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

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 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 hernan.mora...@gmail.com wrote: I see!

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

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 s...@clipperadams.com 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

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

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:

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,