Hi!
I would like to discuss about MooseModel class>>ownerOf:
I understand the implementation. But this leads to a strange behavior.
For example, the following fails time to time:
element := MooseEntity new.
self assert: (element mooseModel isNil).
It fails since I have written tests about the id generation. And the element may have a mooseID of a previous object.
What should we do? I can remove the tests about the ID generation, but removing tests is never good. Would it be possible to use the privateState to store the mooseModel? Are the hypothesis why we have changed the reference of the mooseModel still valid?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi!
One of the test is yellow because of the mismatching there is of mooseName
DudeDuplication>>mooseName
((signature isNil or: [ referenceCode isNil ]) or: [ duplicateCode isNil ])
ifTrue: [ ^ 'Error' ].
^ 'Chain: ', signature, ' between: ', referenceCode mooseName, ' and ', duplicateCode mooseName
It is wrong to override mooseName. mooseNameOn: should be overridden instead.
Shall I update mooseName into mooseNameOn:?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi!
When I use the wizard of Hapao, I get an error. You can reproduce the problem by doiting and pressing next:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| v control firstPane packagesList part1 lastPane part2 |
control := WizardControl new.
firstPane := WizardFirstPane new.
lastPane := WizardLastPane new.
control addPane: firstPane.
control addPane: lastPane.
part1 := TextPart new
inGroupboxNamed: 'Hapao: select the packages to analyze'.
packagesList := PackageOrganizer default packageNames asSortedCollection: [ :a :b | a < b ].
part2 := MultiSelectionListSelectorWithSmalltalkExpression on: packagesList.
firstPane
addPart: part1
associatedTo: #packagesSelected.
lastPane
addPart: part2
associatedTo: #packagesSelected.
control open
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Unfortunately, I am not able to write a test for this since the window is modal
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi,
I recently remembered that Basil, the library for flash export built by Lucas , was ported by Lucas Streit in Squeak.
I just gave it a try and there is only one test that fails. Also, the examples from Basil-Applications seem to work as well.
In VW, we had a binding for Mondrian:
http://www.moosetechnology.org/tools/vw/basil
If you want to give it a try, you can find it at:
Gofer it
renggli: 'unsorted';
package: 'Basil';
load
Cheers,
Doru
--
www.tudorgirba.com
"What is more important: To be happy, or to make happy?"
Status: New
Owner: ----
CC: cy.delau...(a)gmail.com
Labels: Type-Defect Priority-High
New issue 561 by alexandr...(a)gmail.com: Bug with Merlin
http://code.google.com/p/moose-technology/issues/detail?id=561
When I use the wizard of Hapao, I get an error. You can reproduce the
problem by doiting and pressing next:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| v control firstPane packagesList part1 lastPane part2 |
control := WizardControl new.
firstPane := WizardFirstPane new.
lastPane := WizardLastPane new.
control addPane: firstPane.
control addPane: lastPane.
part1 := TextPart new
inGroupboxNamed: 'Hapao: select the packages to analyze'.
packagesList := PackageOrganizer default packageNames asSortedCollection:
[ :a :b | a < b ].
part2 := MultiSelectionListSelectorWithSmalltalkExpression on:
packagesList.
firstPane
addPart: part1
associatedTo: #packagesSelected.
lastPane
addPart: part2
associatedTo: #packagesSelected.
control open
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Unfortunately, I am not able to write a test for this since the window is
modal
Hi,
moosetechnology.org would benefit from more community effort :).
For example, up to now, I (and sometimes Simon) was basically the only one updating the news content.
Anyone interested in participating?
Cheers,
Doru
--
www.tudorgirba.com
"Reasonable is what we are accustomed with."
Hi all,
I am reproducing some experiments I did time ago,
and I am again using Hapax (latest version for VW).
FYI, I just noticed that there could be an issue in how the
weighting in the TermDocumentMatrix is evaluated.
I attach the method here for convenience:
TermDocumentMatrix>>weight
| newMatrix |
newMatrix := SparseRowMatrix new: matrix dimension.
matrix rows with: newMatrix rows do: [ :row :newRow |
| globalWeight |
globalWeight := globalWeighting forTerm: row.
row doSparseWithIndex: [ :each :index |
newRow at: index put: (localWeighting
forValue: each) * globalWeight ]].
matrix := newMatrix.
this method should apply the tf-idf weighting [1] to the matrix.
This weighting is composed of two parts:
a global weighting (i.e., idf: the more a term is common, the less its weight)
a local weighting (i.e., tf: each term is normalized on the number of
terms appearing).
The global weighting is correctly done in the line:
globalWeight := globalWeighting forTerm: row.
while the local weighting is NOT correctly done in the line:
newRow at: index put: (localWeighting forValue: each) * globalWeight
in fact, the "localWeighting forValue: each" will always return "each" back.
This means that it simply does not apply any local weighting.
Right now I am working on fixing this issue.
Please let me know if I am wrong, or if you have an elegant solution :)
Cheers,
Alberto
[1] http://en.wikipedia.org/wiki/Tf%E2%80%93idf
Hello,
When I want to open a magritte presentation, glamour always open it in a
very small size (in a 'scrollPane'), without filling the whole space of the
cell.
Does anyOne know what could be the problem or what could I do to solve that?
Hi,
I played a bit last night and built this visualization showing how we collaborated on papers around Moose (the info came out of Citezen):
http://www.moosetechnology.org/news/paper-collaborations
Cheers,
Doru
--
www.tudorgirba.com
"Problem solving efficiency grows with the abstractness level of problem understanding."