Hi,
In C/C++ you can define something like this:
typedef Type TypeAlias;
To be able to model this in FAMIX, I introduced FAMIXTypeAlias in Famix-C. However, now I think we have to move it to the Core because of the following reason.
Suppose we have something like this:
typedef Type TypeAlias;
SubType: TypeAlias
When enumerating the subclasses of Type, I need to get:
- TypeAlias
- SubType
To do this, when traversing with subclassesDo: I need to take into account the typeAliases associated with each type. This means that the notion of TypeAliases must be in the Core.
I hope I explained the matter. Please let me know if you see other alternatives.
Cheers,
Doru
--
www.tudorgirba.com
"To lead is not to demand things, it is to make them happen."
Status: New
Owner: georgega...(a)gmail.com
Labels: Type-Defect Priority-Medium Component-ExternalTools
New issue 702 by tudor.gi...(a)gmail.com: inFusion should include C++
typedefs in inheritance definitions
http://code.google.com/p/moose-technology/issues/detail?id=702
TypeAliases can be inherited from.
For example:
typedef AClass<AConcreteType> ATypeDefinition;
class ASubclass : public ATypeDefinition { }
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 681 by vonbecm...(a)gmail.com: SubclassResponsibility: a
JPEGReadWriter had the subclass responsibility to implement #nextPutImage:
http://code.google.com/p/moose-technology/issues/detail?id=681
SubclassResponsibility: a JPEGReadWriter had the subclass responsibility to
implement #nextPutImage:
Pharo image: Pharo1.3a#13258
Virtual machine used: Croquet Closure Cog VM [CoInterpreter
VMMaker-oscog.51]
Platform Name: unix
Class browser used (if applicable): OBSystemBrowserAdaptor
Steps to reproduce:
#. select a model.
#. select all model namespaces
#. press left button, select visualize>>dependencies(cycles)
you will see the mondrian renderer
#. export to jpeg
#. enter a filename
#. press Ok
Actual Result:
SubclassResponsibility: a JPEGReadWriter had the subclass responsibility to
implement #nextPutImage:
Expected Result:
a filename.jpeg with the graph
* Type-Defect
* Component-Mondrian Renderer
Attachments:
PharoDebug.log 28.6 KB
PharoScreenshot.1.png 69.6 KB
I am not sure I followed all what happened with Mondrian in the past months.
But given that Mondrian has now support for svg/html export, is there some plan to plug the easel into Glamour/Seaside and have it on the web?
--
Simon Denier
Hi!
I am experiencing a situation which is either unintuitive or reflects a bug.
Consider the following script
-=-=-=-=-=-=-=-=-=
| browser |
browser := GLMFinder new.
browser text
act: [:prez :v | v inspect ] on: $i entitled: 'Inspect'.
browser openOn: 'hello world'
-=-=-=-=-=-=-=-=-=
If start to type in it, and trigger the action, an inspector on the string 'hello world' is open, no matter what I typed.
Is there anything obvious that I do not see?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Status: New
Owner: ----
CC: tu...(a)tudorgirba.com
Labels: Type-Defect Priority-Medium Component-Glamour
New issue 700 by alexandr...(a)gmail.com: Hover in Glamour
http://code.google.com/p/moose-technology/issues/detail?id=700
#hover is not yet supported by the rendering. Please open a ticket, because
this is an old to do that should not be difficult to do.
Cheers,
Doru
On 5 Sep 2011, at 21:56, Alexandre Bergel wrote:
Hi!
Just wondering whether #hover is supported in Glamour. Apparently not, but
I just want to be sure.
Cheers,
Alexandre
Hi!
Just wondering whether #hover is supported in Glamour. Apparently not, but I just want to be sure.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Thanks everyone for the suggestions. I will try to look into them.
Cheers,
Doru
On 5 Sep 2011, at 07:04, Lukas Renggli wrote:
> Stanford has many large graph-like datasets to download: social
> networks, web graphs, peer-to-peer networks, shopping networks, road
> networks, wikipedia networks, etc.
>
> http://snap.stanford.edu/data/
>
> Lukas
>
> On 5 September 2011 06:24, Guillermo Polito <guillermopolito(a)gmail.com> wrote:
>> I've used as an example of datamining a dataset about car accidents we got
>> from here http://www.nhtsa.gov/NASS .
>>
>> Hope it helps :)
>> Guille
>>
>> On Sun, Sep 4, 2011 at 11:58 PM, Hernán Morales Durand
>> <hernan.morales(a)gmail.com> wrote:
>>>
>>> 2011/9/4 Tudor Girba <tudor(a)tudorgirba.com>:
>>>> Hi,
>>>>
>>>> Thanks, but I am looking for data sets that contained graphs of entities
>>>> with properties, rather then numbers.
>>>>
>>>
>>> Oh, that was just the top of the iceberg, look at cellular interaction
>>> networks like protein-protein interactions, relations between genes
>>> and QTLs, phylogenetic trees, gene ontology classifications, etc.
>>> probably they have more "properties" and relationships than you ever
>>> imagined. Check for example
>>> http://www.nature.com/msb/journal/v3/n1/fig_tab/msb4100166_F2.html or
>>> the one from the Human Interactome here
>>> http://www.blog.republicofmath.com/archives/2005, or
>>> http://www.biomedcentral.com/content/supplementary/1471-2164-9-96-s6.jpeg
>>> for Gene Ontology "objects". Also PubMed have thousands of related
>>> papers about real case studies.
>>>
>>>> To give an idea, an example would be a set of persons that have multiple
>>>> properties, such as age or function, and have various kinds of relationships
>>>> with other persons. Ideally, it should be something containing some more
>>>> than 5-10 types of entities.
>>>>
>>>> Cheers,
>>>> Doru
>>>>
>>>>
>>>> On 5 Sep 2011, at 02:51, Hernán Morales Durand wrote:
>>>>
>>>>> Hi Tudor,
>>>>>
>>>>> I don't know if you want few data sets or many ones, but for each case
>>>>> I found "Selecting genes with dissimilar discrimination strength for
>>>>> sample class prediction", report case studies in two real cancer
>>>>> microarray datasets (CAR and LUNG) for gene expression profiling. The
>>>>> Lymphoma case study in humans contains 30 case study genes, you may
>>>>> read about it in "Examples and Applications of Fuzzy Measure
>>>>> Similarity Using GO Terms". In general you can find many case studies
>>>>> from SNP data experiments doing all kind of predictions, for example
>>>>> from protein structure prediction studies that use LiveBench data sets
>>>>> (http://en.wikipedia.org/wiki/LiveBench), search for "Consensus fold
>>>>> recognition by predicting model quality".
>>>>> If you need more or something more specific just ask :)
>>>>> Cheers,
>>>>>
>>>>> Hernán
>>>>>
>>>>> 2011/9/4 Tudor Girba <tudor(a)tudorgirba.com>:
>>>>>> Hi,
>>>>>>
>>>>>> To show how Moose can support the analysis of various data sets, I am
>>>>>> looking for a case study containing a complex data structure that does not
>>>>>> represent a software system, and a set of questions associated with it.
>>>>>> Ideally, the data should be freely available and it should contain a set of
>>>>>> entities with various properties and various relationships with other
>>>>>> entities.
>>>>>>
>>>>>> Anyone has any idea regarding such a case study?
>>>>>>
>>>>>> Cheers,
>>>>>> Doru
>>>>>>
>>>>>> --
>>>>>> www.tudorgirba.com
>>>>>>
>>>>>> "There are no old things, there are only old ways of looking at them."
>>>>>>
>>>>>
>>>>
>>>> --
>>>> www.tudorgirba.com
>>>>
>>>> "Every successful trip needs a suitable vehicle."
>>>>
>>>
>>
>>
>
>
>
> --
> Lukas Renggli
> www.lukas-renggli.ch
>
--
www.tudorgirba.com
"Reasonable is what we are accustomed with."
Status: New
Owner: tudor.gi...(a)gmail.com
Labels: Type-Enhancement Priority-Medium Component-Glamour Milestone-4.6
New issue 699 by tudor.gi...(a)gmail.com: Glamour presentations should be
easily extensible
http://code.google.com/p/moose-technology/issues/detail?id=699
Currently, scripting Glamour presentations relies solely on direct setters
to the presentations. This makes it hard to create presentations that rely
on composite structures.
A simple way to provide an extension mechanism would be to implement a
with: method:
GLMPresentation>>with: aBlock
^ aBlock value: self
We could use it like this:
composite text
with: [:textPresentation | textPresentation ... ]