Issues with the new Mondrian Easel
by Alexandre Bergel
Hi!
I found the new easel often quite problematic. Here is a list of issues I have found:
- Time to time, pressing Ctrl-s does not execute the script, especially on Linux boxes. It instead accepts the text pane instead of executing. I cannot really reproduce it (I do not have a linux right now), but students have experienced this several times
- When the UI thread crashes, a new easel has to be opened. For example, execute the script:
-=-=-=-=-=-=-=-=-=
self foo
view nodes: (1 to: 20)
-=-=-=-=-=-=-=-=-=
It will raise a debugger. Remove the "self foo", and press the check or Cmd-s, then I have the same error, even though "self foo" is not in the script.
- Examples are crucially missing.
These 3 points are quite disturbing for the students. It would be cool to have a sprint on the new easel. I like the fact it is the same UI concept than the rest of the Moose UI.
Shall I open issues for each of these points?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
11 years, 11 months
Something annoying about EyeSee
by Serge Stinckwich
Hi all,
i'm not sure this is a good idea to have to following method on ESDataObject
printOn:aStream
self model printOn:aStream
I built an instance of ESAxis in order to understand how it works:
|axis|
axis := ESAxis new.
axis values: #(1 2 3 4).
And when i inspect : axis values i was really disturbed because it
looks like an array of integer but in fact this is an array of
ESDataObject ...
I propose to remove printOn: method or to rewrite like:
printOn:aStream
aStream
nextPutAll: 'an ';
print: self class;
nextPutAll: '(';
print: self model;
nextPutAll: ')'
In the same class, the instance variable model is used by no one and
model method is defined as:
model
^entity
I propose to remove model inst var.
I put the previous modifications in EyeSee-Core-SergeStinckwich.77
Regards,
--
Serge Stinckwich
UMI UMMISCO 209 (IRD/UPMC), Hanoi, Vietnam
Matsuno Laboratory, Kyoto University, Japan (until 12/2011)
http://www.mechatronics.me.kyoto-u.ac.jp/
Every DSL ends up being Smalltalk
http://doesnotunderstand.org/
11 years, 11 months
invokingMethods broken in moose or inFamix
by Mircea Filip Lungu
hi guys,
one of my students encountered a case where
FAMIXMethod#invokingMethods is not correctly set. i wonder whether
that is a moose problem or an infamix one. anybody knows about this?
the original message is at the end of this mail.
thanks,
--
Dr. Mircea Lungu
Researcher
Software Composition Group
University of Bern
I assumed that FAMIXMethod >> invokingMethods would return all methods
that invoke the method represented by the FAMIXMethod instance, this
doesn't seem to be the case.
I created an mse file with inFamix from the code in svn at
http://svn.apache.org/repos/asf/incubator/stanbol/trunk/enhancer/engines/...
The class org.apache.stanbol.enhancer.engines.keywordextraction.linking.EntityLinker
has both private methods with an empty collection of invokingMethod as
well as with a non-empty one:
- The method getLinkedEntityTypes has an empty collection of invokingMethods
even though the method is in fact invoked:
public void process(){
...
if(linkedEntity == null){
linkedEntity = new LinkedEntity(selectedText,
suggestions, getLinkedEntityTypes(suggestions.subList(0, 1)));
linkedEntities.put(selectedText, linkedEntity);
}
By contrast in the same class
- porcessRedirects has {process} as collection of invokingMethods,
where processRedirects is invokes as follows:
public void process(){
...
if(config.getRedirectProcessingMode() != RedirectProcessingMode.IGNORE){
for(Suggestion suggestion : suggestions){
processRedirects(suggestion);
}
}
All the method I've looked at with an empty collection of
inkingMethods in fact had at least one invokation, I tried to make a
famix model for just the class EntityLinker as this class has both
private method with empty as well as with a non-empty set of ivokers
according to Moose, I hoped that with a small mse file it would be
easier to analyze the problem.
Unfortunately I didn't manage to create such an mse model, I'm getting
the following exception message running `inFamix -lang java -path
source -mse test.mse`:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1931)
at java.lang.String.substring(String.java:1904)
at com.intooitus.infusion.batch.JavaBatchModelBuilder.compute(JavaBatchModelBuilder.java:43)
at com.intooitus.infusion.batch.BatchApplication.run(BatchApplication.java:135)
at com.intooitus.infusion.batch.BatchApplication.start(BatchApplication.java:43)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
Unfortunately as inFamix is not open source and because of section 2.3
of the SLA it's hard for me to tackle this problem so I would
appreciate some help.
11 years, 12 months
Default y: in EyeSee
by Alexandre Bergel
Hi!
What about having
ESSingleAxisDiagram>>y: set to #yourself per default?
I would expect the following to plot the numbers:
-=-=-=-=-=-=-=-=-=-=-=-=
| diagram |
diagram := ESDiagramRenderer new.
diagram lineDiagram
valueAxis;
models: (1 to: 13) / 16.
diagram open
-=-=-=-=-=-=-=-=-=-=-=-=
But instead, I have to say
-=-=-=-=-=-=-=-=-=-=-=-=
| diagram |
diagram := ESDiagramRenderer new.
diagram lineDiagram
y: #yourself;
valueAxis;
models: (1 to: 13) / 16.
diagram open
-=-=-=-=-=-=-=-=-=-=-=-=
So, are you ok for a default initialize of y with #yourself?
Andre, shall I commit?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
11 years, 12 months
Label in EyeSee
by Alexandre Bergel
Hi!
Based on some example (e.g., below), I inferred that #valueAxis set on labels for the vertical axis. The one on the horizontal axis are set by #identifier:
What #labels: is for exactly?
| diagram |
diagram := ESDiagramRenderer new.
(diagram verticalBarDiagram)
y: [:each | each];
labels: #yourself;
identifier: #yourself;
defaultColor: Color blue;
valueAxis;
width: 500;
rotatedLabels: false;
models: (1 to: 21).
^ diagram open
I have produced the following curve. How can I get the label on the vertical axis as float (with 2 decimal), but not fractions.
I will use your answers to comment some of the method in EyeSee.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
11 years, 12 months
#deviationValue: in EyeSee
by Alexandre Bergel
Can someone explain what this method does?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
11 years, 12 months
Some experiments with EyeSee
by Serge Stinckwich
Hi MooseLand,
i'm doing some experiments with cellular automata at the moment. I
would like to be able to visualize the cells value of a very simple
cellular automata with a kind
of Mondrian-like interface. Instead of Mondrian, i use EyeSee, because
of the ESMatrixDiagram class, that is really convenient to visualize
matrix-based information.
Apparently i can't put inside a ESMalArrayMatrix something else than
numbers (i would like to put cells with some state for example):
Yes i know, this is a misappropriation of EyeSee for my needs and
maybe this is better to design another scripting interface dedicated
to cellular automata visualization.
Any ideas ?
BTW, i push a new version of EyeSee-Support package in the repository
to correct a problem with the method ESMalArrayMatrix>>checkInvariant.
Regards,
--
Serge Stinckwich
UMI UMMISCO 209 (IRD/UPMC), Hanoi, Vietnam
Matsuno Laboratory, Kyoto University, Japan (until 12/2011)
http://www.mechatronics.me.kyoto-u.ac.jp/
Every DSL ends up being Smalltalk
http://doesnotunderstand.org/
11 years, 12 months
Glamour - textBackgroundColor:
by Veronica Isabel Uquillas Gomez
Hi,
I started using #textBackgroundColor: which fits pretty good for my purposes as i don't want to overuse icons :)
However, I think there is a conflict with the background color and the selected item color depending on the width of the panel. I attached two screenshots.
The first shows the selection of "14.....", here as the text is short it's easy to see that this item is selected.
But in the second it's very complicate to appreciate that "13 ...." is my item of interest.
Is there a way to make the selection stronger?
Best regards,
Veronica
11 years, 12 months
Glamour
by Júlio Martins
Hi buddies!
I need to know how implement a simple wizard using the glamour. For
example, i need include two radio buttons, a text box and maybe a label, in
this wizard.
Glamour offers this items?
Julio Martins
--
View this message in context: http://forum.world.st/Glamour-tp4160211p4160211.html
Sent from the Moose mailing list archive at Nabble.com.
11 years, 12 months
Call for Participation in the Smalltalk Devroom at FOSDEM 2012.
by Stephan Eggermont
Call for Participation in the Smalltalk Devroom at FOSDEM 2012.
"A devroom for the Pharo, Squeak, GST, Etoilé,
Seaside, Moose Smalltalk projects. Smalltalk environments
offer a very high development productivity, unmatched by
their successors. Come do some pair programming with us
and experience the advantages of a real OO environment."
The meetup will take place Sunday, February 5, 2012,
from 9AM until 5PM, room AW1.126. This room has 72 seats,
a VGA video projector and wireless internet.
More information will be available later.
Proposals on content and format are welcome.
People interested in running a session should announce that
on the smalltalk-devroom mailing list, with the following
information:
- Their name
- The project they are associated with
- A short bio, to be put on the website along with their speaker name
- (optionally) a picture of themselves
- The title of their session (which will go on the website and in the booklet)
- A abstract describing the session in further detail.
- The desired length of the session.
- The desired time slot in which they want to hold the session.
Suggested values for the duration are 55min, 25min, 6m40 (Pecha Kucha).
The desired time slot is meant to help you prevent conflicts with other dev
rooms in which you might have a talk or your travel arrangements.
The deadline for submissions is December 31, 23:00 GMT+1.
Discussion takes place on the
smalltalk-devroom(a)lists.fosdem.org
mailing list. Please subscribe if you are interested:
https://lists.fosdem.org/listinfo/smalltalk-devroom
The local VUB/ULB Smalltalkers have been asked to organize
a sprint/BSUG meeting on Saturday Februari 4.
Devroom related URLs:
http://www.pharo-project.org
http://www.squeak.org/
http://etoileos.com/
http://www.seaside.st/
http://smalltalk.gnu.org/
Please distribute
11 years, 12 months