Hello.
Is there some way to implement the hiding and showing some roassal elements? For example if I want to have the buttons in my view which will give me this opportunity.
Best regards,
Natalia
Hi!,
I want to present you RTCircularTreeMapBuilder a variation of
RTTreeMapBuilder.
For example to visualize the RTObject subclasses, type the next piece of
code:
.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=
| b | b := RTCircularTreeMapBuilder new. b shape color: Color transparent;
borderWidth: 1; borderColor: Color black; if: [ :cls | cls subclasses
isEmpty ] fillColor: [ :cls| (Smalltalk includesKey: (cls name, 'Test')
asSymbol) ifTrue: [ Color green ] ifFalse: [ Color purple ] ]. b
baseradius: 200; weight: [ :cls | cls withAllSubclasses size]. b explore:
RTObject using: #subclasses. b build. ^ b view
.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=
[image: Imágenes integradas 2]
Another example in the file system.
.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=
| b dirSize |
b := RTCircularTreeMapBuilder new.
b shape
color: Color transparent;
borderWidth: 1;
borderColor: Color white;
if: [ :f | f isDirectory ] fillColor: Color transparent;
if: [ :f | f isDirectory not ] fillColor: Color white.
dirSize := nil.
dirSize := [ :file | | size |
file isDirectory
ifTrue: [
size := 0.
file children do: [ :child | size := size + (dirSize value: child)].
size isZero ifTrue: [ 1 ] ifFalse: [ size ] ]
ifFalse: [ size := file size.
size isNumber ifTrue: [ size ] ifFalse: [ 1 ] ] ].
b
baseradius: 200;
weight: [:file | file isDirectory ifTrue: [ dirSize value: file ] ifFalse:
[ file size ] ].
b explore: FileLocator home asFileReference
using: [:file | | children |
[ children := file isDirectory ifTrue: [ file children ] ifFalse: [ #() ] ]
on: Error do: [ children := #() ].
children ] .
b build.
b view canvas color: Color black.
b view
.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=
You can see the result in the next link
http://objectprofile.com/examples/circle.html
Cheers,
Milton
Dear All,
This week end I have integrated the excellent work of Onil Goubier and Thierry Goubier. They have worked on a bridge between OpenStreetMap and Roassal. As a result, you can easily decorate a map with element describing metrics and properties of geolocation. Consider the following:
I think the following screenshot should be self-explanatory:
Below are some results of 10lines-long scripts. Seisms during the last 30 days:
Refugies monitored by the United Nations High Commissioner for Refugees:
We started to write a chapter for Agile Visualization. Here it is:
https://dl.dropboxusercontent.com/u/31543901/AgileVisualization/OpenStreetM…
Again, thanks Onil and Thierry. This is a very valuable contribution for the whole community!
Cheers,
Alexandre
NB: Sorry for the cross-post, but I believe the content of this email goes well beyond to the Moose people interest.
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi,
Would it make sense to show the hidden values from the stack in the
debugger?
This would show in the case of message sends with parameters the actual
parameters that will be used.
For example below [temp2] and [temp3] are the two parameters of
#openInWindowLabeled:inWorld,
while [temp1] is the receiver.
The downside is that in methods with loops this will also show the internal
index of those loops.
[image: Inline image 1]
Cheers,
Andrei
Hi!
When I load the following in the last moose image:
Gofer it
smalltalkhubUser: 'Moose' project: 'GToolkit';
package: 'GT-SpotterExtensions-CoreRoassal';
load.
I have an error when I use spotter. Any idea what’s going wrong?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi!
You may have noticed the new button Doru introduced when visualizing a RTView.
I made a small video that illustrates its use.
https://vimeo.com/116886609
Doru, would it be possible to have a toggle instead? Because I have already all the necessary to readjust the camera at each refresh. But I need to say it somehow.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Dear all,
We have reached a milestone today. We have been able to make Roassal display on a super large screen gently provided by INRIA Chile.
If there would be a contest on displaying Roassal-made visualizations on the largest (and most expensive) super-screen ever, then we will be on a good run.
From the technical point of view, we export SVG and use a cluster-friendly SVG renderer. This expands the range of what can be achieved.
Cheers,
The Object Profile Team
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi,
I'm working in making a browser view change according to the tags on a
tree but trying to reach documentation on-line I found that the web site
is down (which is not uncommon).
There is any way to read the Moose Book off-line?
Thanks,
Offray
Hi,
For some reason, if we load the development version of
ConfigurationOfMoose, the Rubric package does not get updated. If I load
the development version of ConfigurationOfGlamour, it still does not get
updated.
But, if I load the development version of ConfigurationOfGlamourCore,
Rubric does get updated.
I do not understand why.
Until we figure it out, the Moose 5.1 load job loads first the
ConfigurationOfGlamourCore development.
Cheers,
Doru
--
www.tudorgirba.com
"Every thing has its own flow"
Hi!
What is the idea behind getting the items and Raw tab when inspecting a string?
I have the impression that these two tab should be removed. They are rather disturbing. Or at least, having the ‘String’ tab selected by default.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Dear all,
the CORMAS modelling platform is now open-source and available under
the MIT licence.
CORMAS (Common-pool Resources and Multiagent Systems; Bousquet et al.,
1998) has been
developed to provide a multi-agent framework that can be used to
simulate the interactions
between a group of agents and a shared environment holding natural resources.
The code is written in VisualWorks 7.6 and a port to the Pharo/MOOSE
has started recently.
If you are interested, you can join the mailing-list here:
https://groups.google.com/forum/#!forum/cormas-dev
All issues are here: https://github.com/cormas/cormas/issues
An early dev version on Pharo can be loaded in the last MOOSE 5.0 image:
Gofer new
url: 'http://smalltalkhub.com/mc/SergeStinckwich/CORMAS/main';
package: 'ConfigurationOfCormas';
load.
(Smalltalk at: #ConfigurationOfCormas) loadDevelopment
Regards,
--
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/
Dear all,
Over the last few months we have built an infrastructure to export our visualizations.
Here is a small example we have built:
https://dl.dropboxusercontent.com/u/31543901/online/WebReport/seisms.html
Here is a screenshot:
I think this example illustrates well where we are heading to: we are entering in the fierce field currently dominated by D3, QlikView, Protoviz, RaphaelJS…
Big clap to Milton Mamani, he did all the large effort!
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi,
I want to have a better way to organize menus and submenus in Moose. I
don't know if I'm stretching the platform to much, but at this moment I
don't like what I have.
Attached is a screenshot of my apprentice notebook made with Moose and
STON (as storage format). Because the idea of a notebook the actions on
it can get really diverse. I want to make somethings with the
tree/notebook, some with a project (a fossil repository with all the
history of the files that a notebook creates/needs) and some other with
tags. And because I have not named menus and submenus the one menu is
getting cluttered.
There is any way to add named menus or submenus to a moose application?
Thanks,
Offray
Dear Friends and Colleagues,
We are happy to announce Memory Profiler, a new profiler for Pharo. This profiler gives a nice output that indicates the memory consumption along the method call graph. Consider the following piece of code:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
(MSP profile: [
Object browse
] onPackagesMatching: 'Nautilus*' ) inspect
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Consider that MSP uses instrumentation, therefore long execution may take really long. The code above takes about 19 seconds on my iMac.
It opens a visualization that indicates some interesting fact about memory consumption. For example, the expression “Object browse” consumes 14 851 kb with instances of the class Point. More than 1M of points are created.
Here is the blueprint obtained:
https://dl.dropboxusercontent.com/u/31543901/TMP/memoryBlueprintExample.html
A description of the visualization is available here:
https://dl.dropboxusercontent.com/u/31543901/MyPapers/Infa15a-MemoryProfili…
You need to load Spy from the Configuration Browser. Else the following incantation should work:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Gofer it
smalltalkhubUser: 'ObjectProfile' project: 'S2py';
configurationOf: 'Spy';
loadDevelopment.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Cheers,
Alejandro & Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi!
Searching for elements in a visualization is a recurrent problem, for which we have no good solution so far.
I have the impression that GTSpotter cannot be used to look for elements in a Roassal visualization.
Can someone from the GT team confirm my feeling? Should I built my own search framework on top of Roassal?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 1104 by v.blonde...(a)gmail.com: Inspection of one item in a
MooseGroup should be the item and not a group containing the item
https://code.google.com/p/moose-technology/issues/detail?id=1104
Describe the problem: what do you get? what do you expect?
When you select a item in a group, you expect to inspect only the item and
not a group containing the item.
By the way, there is a strange thing because in the 'Raw' and 'meta' tabs I
inspect the group but in the others I inspect the item.
How to reproduce the problem: step by step if necessary
Do:
LANPackageTestResource current model allClasses inspect
Select a class in the list.
Do: 'self class', you got a FAMIXClassGroup
Additional information: platform, context which may impact the problem
Moose latest
Please fill in the labels with the following information:
* Type-Defect
* Component-GT
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Hi,
The challenge with Python parsing is dealing with whitespace properly.
Jan Kurs was working on such a parser. I do not know how advanced it is.
Jan?
Cheers,
Doru
On Fri, Jan 9, 2015 at 7:30 PM, kilon alios <kilon.alios(a)gmail.com> wrote:
> Hello guys I am learning PettitParser , I dowloaded the video tutorials of
> Tudor Girba (very good tutorial Tudor , well done ) and other
> documentation and I was wondering if a parser for Python already exists . I
> hope I am not asking something obvious.
>
> For my project I want to parse python types , that will be given to me as
> strings , to pharo objects. So that means parsing lists, dictionaries and
> other usual candidates. For example a python list is like
>
> '[1, 3, 50, [45, 'hello', 0.2], 63]'
>
> etc
>
> Anyone already worked on such problem ?
>
>
>
--
www.tudorgirba.com
"Every thing has its own flow"
Début du message transféré :
> Expéditeur: kilon alios <kilon.alios(a)gmail.com>
> Date: 9 janvier 2015 15:30:20 UTC−3
> Destinataire: Pharo Development List <pharo-dev(a)lists.pharo.org>
> Objet: [Pharo-dev] PettitParser and Python
> Répondre à: Pharo Development List <pharo-dev(a)lists.pharo.org>
>
> Hello guys I am learning PettitParser , I dowloaded the video tutorials of Tudor Girba (very good tutorial Tudor , well done ) and other documentation and I was wondering if a parser for Python already exists . I hope I am not asking something obvious.
>
> For my project I want to parse python types , that will be given to me as strings , to pharo objects. So that means parsing lists, dictionaries and other usual candidates. For example a python list is like
>
> '[1, 3, 50, [45, 'hello', 0.2], 63]'
>
> etc
>
> Anyone already worked on such problem ?
>
>
Hi!
I have just modified the configuration of Roassal to load the spotter extension that search into the example of Roassal.
Here is a small screenshot:
Just pressed cmd+enter and typed: edge linear
I am now working on the find element using spotter
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Stable version for Smalldude changed to specify a version for the package
Moose-Tests-Core so that we do not load the latest changes to the package
for Moose 5.1. These changes caused some tests to fail in Moose 5.0 stable.
Name: ConfigurationOfSmallDude-usmanbhatti.32
Author: usmanbhatti
Time: 9 January 2015, 12:41:18.75054 pm
UUID: 209a51a1-8716-4090-b203-2a9afc6b28f7
Ancestors: ConfigurationOfSmallDude-TudorGirba.31
specifying a version for moose-core-tests for stable version.