Hi!
Just to share our latest feature.
We have implemented a simple mechanism in Roassal to prevent the environment to be sluggish with many elements.
The class RTCache has the effect to remove the elements from a view, create a bitmap from them, and add the bitmap to the view. Simple and effective.
Consider the following script:
-=-=—=-=-=—=-=-=—=-=-=—=-=-=—=
v := RTView new.
v @ RTDraggableView.
colors := ColorPalette qualitative colors: 8 scheme:'Set1'.
elements := (RTEllipse new color: [ :aValue | colors atRandom alpha: 0.01 ]; size: #yourself) elementsOn: ((1 to: 500000) collect: [ :vv | 10 atRandom + 5 ]).
elements do: [ :e | e translateTo: 500 atRandom @ 500 atRandom ].
v addAll: elements.
RTCache new cacheView: v.
v
-=-=—=-=-=—=-=-=—=-=-=—=-=-=—=
Without the line "RTCache new cacheView: v.” Pharo would be completely unresponsive. 500 000 elements is quite a lot.
The drawback is that all interaction with the elements are lost. I have some idea on how to add them back. We will work on this in future work.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi,
I would like to create a tag cloud around an avatar taken from the
public profile of a social network (twitter). For that I would like to
know if is possible to make 3 things in Roassal:
1. Put a tag cloud with some layout/form (for example around an object).
2. Put a raster image (the avatar) in the center of that tag cloud.
3. Exclude some words from the tag cloud.
I will be making my explorations tonight and tomorrow morning, but any
pointer in the right direction will be greatly appreciated.
Cheers,
Offray
hi all,
Many test on PetitSmalltalk were failing so i tried to fix them.
someone should review the changes, there are many, and it's my
first time with petitparser.
see attached file.
Steps:
- evaluate
Gofer it
smalltalkhubUser: 'Pharo' project: 'MetaRepoForPharo40';
configurationOf: 'PetitParser';
loadBleedingEdge.
- and merge attached file
Name: PetitSmalltalk-BernardoContreras.84
Author: BernardoContreras
Time: 13 March 2015, 9:24:08.132253 pm
UUID: fc0534b1-3411-485c-87bc-0afa4eaab84d
Ancestors: PetitSmalltalk-TudorGirba.83
PPSmalltalkClassesTests>>#verifyClass:selector:
compare the keywordsPositions instead of the selectorParts
add PPSmalltalkGrammarTests>>#testPragma17
PPSmalltalkGrammarTests>>#testPragma18
PPSmalltalkParserTests>>#testPragma17
PPSmalltalkParserTests>>#testPragma18
tests pragmas with a keyword message.
add PPSmalltalkParser>>#buildSelector:
builds a selector from a array of RB tokens
for every given test add the keywordsPositions assertion.
i think it's needed because the PPSmalltalkClassesTests check the positions.
remove RBValueToken>>#inputValue (noone calls it?)
HTH,
--
Bernardo E.C.
Sent from a cheap desktop computer in South America.
Hi!
I am facing a scenario that spotter does not seem to help. Consider the following scenario:
- Consider the Moose Panel menu:
- I would like to know how to add a new entry in that menu. Best is to look for existing example. So, I would like to see the class behind the entry “import hismo model from MSE files”. I highly suspect that the class contains the word “Hismo” and “Import” in it. Well, let’s see what spotter gives me.
- I open Spotter and enter: hismo import
Instead, I open Nautilus, typed Importer, and found it:
It is MooseHismoImporter. Well, from this class, I end up in MPImportHismoCommand, which is exactly what I am looking for
Did I miss anything obvious in my reasoning?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi Again :-)
So, I compiled a fraction of the BBC News JavaScript application. And I started to visualize their JavaScript application.
Here are my two tries:
So, it seems to work well :-) Happy I am :-)
Cheers,
Alexandre
[ NB: I put the moose mailing list in copy since this may have a great interest in the community ]
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Begin forwarded message:
From: google-code-noreply(a)google.com
Subject: Google Code shutting down
Date: 13 Mar 2015 02:11:08 GMT+1
To: stephane.ducasse(a)gmail.com
Reply-To: google-code-noreply(a)google.com
Google Code
Hello,
Earlier today, Google announced we will be turning down Google Code
Project Hosting. The service started in 2006 with the goal of providing
a scalable and reliable way of hosting open source projects. Since that
time, millions of people have contributed to open source projects hosted
on the site.
But a lot has changed since 2006. In the past nine years, many other
options for hosting open source projects have popped up, along with
vibrant communities of developers. It’s time to recognize that Google
Code’s mission to provide open source projects a home has been
accomplished by others, such as GitHub and Bitbucket.
We will be shutting down Google Code over the coming months. Starting
today, the site will no longer accept new projects, but will remain
functionally unchanged until August 2015. After that, project data will
be read-only. Early next year, the site will shut down, but project data
will be available for download in an archive format.
As the owner of the following projects, you have several options for
migrating your data.
pier
google-summer-of-code-2008-squeak
google-summer-of-code-2007-squeak
bluecoral
seasidexul
moose-technology
The simplest option would be to use the Google Code Exporter, a new tool
that will allow you to export your projects directly to GitHub.
Alternatively, we have documentation on how to migrate to other services
— GitHub, Bitbucket, and SourceForge — manually.
For more information, please see the Google Open Source blog or contact
google-code-shutdown(a)google.com.
-The Google Code team
Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
You have received this mandatory email service announcement to update
you about important changes to Google Code Project Hosting.
Hi!
I am building a small meta-models for c++ analysis.
I have created a class called PCPPFunction, a subclass of MooseEntity. (I know there is a FAMIXFunction, but the PCPPFunction is radically different from FAMIXFunction because if contains many information about dynamic analysis).
When I visualize instance of PCPPFunction, and I click on one, I get an error:
I guess I did not properly define the metamodel behind. But I do not see what is wrong. Here are the definitions:
PCPPObject class>>annotation
<MSEClass: #PCPPObject super: #MooseEntity>
<package: #ProfilerCPP>
^ self
PCPPFunction class>>annotation
<MSEClass: #PCPPFunction super: #PCPPObject>
<package: #ProfilerCPP>
^ self
Is this not enough? Why is there a call to mooseDescription? Help appreciated
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.