Aside from the fact that this issue is filed on the pharo instead of the
moose bugtracker
14858 <https://pharo.fogbugz.com/default.asp?14858> Hangup when rendering
TRLabelShape with SmallInteger instance as text
I wonder why the error locks the UI.
I can see a RMOD, maybe Trachel should stop any attempt for rendering
if the Morph has the #errorOnDraw property set?
nicolai
Hi all,
I managed to implement large portion of YAML grammar (hopefully most of the
tricky parts) because of my research project.
If anyone is interested in YAML grammar, let me know or have a look at:
http://smalltalkhub.com/#!/~JanKurs/PetitParser/packages/PetitYAML
I am pretty sure, it is not far from being finished, tests are of course
included.
Cheers,
Jan
Just wondering if that was/is on purpose
in Moose 5.1 asLegalSelector is not available any more.
Regards
Friedrich
--
Q-Software Solutions GmbH; Sitz: Bruchsal; Registergericht: Mannheim
Registriernummer: HRB232138; Geschaeftsfuehrer: Friedrich Dominicus
Hi all,
I'm advancing at making my interactive notebook for open/garage/citizen
research & science in Moose called Grafoscopio[0]. This are baby steps
towards an alternate approach to what Andrei, Jan and Doru are trying
[1][2] for documentation, that begins with a document tree inside the
image and "projects" the files (markdown by traversing the tagged tree
and then latex and html, via pandoc and pdf via pdftex/luatex). In this
way you can have a complete interactive document (book size) inside the
image, stored/shared/versioned in the lightweight STON with arbitrary
levels of deepness and only think about files when you are exporting to
pdf or intermediate formats. Also I think that this solution is easier
to run on Windows that Pillar Book Skeleton.
[0] http://smalltalkhub.com/#!/~Offray/Grafoscopio
[1]
http://www.humane-assessment.com/blog/writing-pillar-books-with-the-gtinspe…
[2]
http://www.humane-assessment.com/blog/creating-custom-browsers-out-of-inspe…
Markdown (pandoc's variant) express only the surface of the writing,
while deeper structure is stored in the image and STON. I call this the
"iceberg metaphor" for writing and data visualization, so instead of
WYSIWYG (What You See Is What You Get) of common word processors you
have WYSIOTSOWYH (What You See Is Only The Surface Of What You Have)
which is what happens with most of the time and the common word
processing and file oriented metaphors can capture/express. New
metaphors for writing are needed if we want to bootstrap more
open/inclusive ways to do science and research, coming not only from
academia but also from non canonical places like citizens and garages,
maker/hacker spaces.
Here is a small video of how interface looks today, which allow me to
introduce some practical questions on how to deliver this vision:
https://archive.org/details/grafoscopio-tags-alpha1.mp4
As you can see, I can tag a node as code (código) and the node view and
behaviour gets updated after revisiting the node, providing
auto-completion and syntax highlighting, so:
1. There is any way to get the node view/behaviour updated instantly
without the need to revisit the node?
2. When I press the accept icon I don't get the code executed, even if I
selected all previously. There is any way to get the code executed?
3. My idea in the future is to make the node view of the tree at the
right side a complete playground instead of a workspace, with their
emergent lateral panels when an object is selected. There is any way to
embed a playground in a browser pane or any plan to implement this feature?
4. At the very end of the video you see the trace of an error that is
raised when I select and empty part of the tree. This is the most
annoying behaviour and can create lost of information if you have write
a node and not saved the tree just before clicking and empty tree space.
I imagine that this can be solved with a "when:" message that can be
used to tell the browser only to show something in the right if there
is something selected at the left. I will try to debug this, but any
pointer in the right direction would be appreciated.
It has been a pleasure to work with Pharo and Moose for this project. Is
a very empowering platform to express ideas about how interactive
documentation could be done, among other things and the community is
welcoming and awesome!
Thanks,
Offray
ps: attached is the ston file for the document used in the video).
Dear All,
I am personally away and near-to-be offline until Feb 22. I am sending this rather personal email since there are many questions about Roassal these days.
The Object Profile team is highly competent and they will offer a great support!
Happy Pharo days!
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi. So to have glamour roassal presentations, do I have to load a specific package from the glamour repo, or there is a more gentle way (because I don’t like peeking packages form remote repos)
Uko
Hi Thierry, Onil,
First let me iterate what I wrote last week, the OSM stuff in Roassal is very cool, very well written. Great work.
Since I have some experience with OSM maps, tiles and serving them, I had a look to see if I could optimise the tile drawing/loading, which is visibly a bit slow, one would assume because of the loading of the tiles over the network.
I just committed (based on code that I wrote some time ago):
===
Name: Roassal2-SvenVanCaekenberghe.719
Author: SvenVanCaekenberghe
Time: 28 January 2015, 2:31:50.462461 pm
UUID: 0978fb6a-d6d0-4d86-a9ae-1f2f83a0b6a2
Ancestors: Roassal2-AlexandreBergel.718
Experimental branch.
Introduction of TROSMTileProvider to optimize getting OSM tiles, adds one shared memory cache and a local file system cache, predefines and reuses 6 http clients spread over different hosts.
Modifies TROSMShape>>#getTile: and adds TROSMShape>>#tileNamed:
===
The strange thing is though, that I can optimise the loading (as benchmarked separately), but in most cases (not when they are in the memory cache, but when they are in the file cache) the drawing still has the same pauses as before - which I don't understand, at all. But it is a bit hard to explain.
Anyway, Thierry, I will see you tomorrow and the day thereafter and I hope I can show you what I mean.
Regards,
Sven
Hi,
I was a bit busy, so I’ve missed the new Grapher release. Now I’m converting my code from Charter to Grapher and I encounter one problem:
as points in a data set I use my objects non of which are associations. And I have a popup interaction defined for them. Now sometimes when I hover I get DNU because an association does not understand my object’s method. Where do these associations come from?
Uko
http://moosetechnology.org/#learn
;-)
> On 27 Jan 2015, at 20:16, sergio_101 <sergio.rrd(a)gmail.com> wrote:
>
> is there a place where we can systematically learn more about moose?
> thanks!
>
>
> On Tue Jan 27 2015 at 3:20:01 AM Sven Van Caekenberghe <sven(a)stfx.eu> wrote:
> Nice, thank you.
>
> > On 27 Jan 2015, at 08:32, Tudor Girba <tudor(a)tudorgirba.com> wrote:
> >
> > Hi,
> >
> > I put together an A4 Moose poster:
> > http://moosetechnology.org/res/artwork/moose-poster.pdf
> >
> > Cheers,
> > Doru
> >
> > --
> > www.tudorgirba.com
> >
> > "Every thing has its own flow"
>
>
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 1106 by christop...(a)inria.fr: Be able to get the rawSelection in
a GLMPresentation even if noSelection is used
https://code.google.com/p/moose-technology/issues/detail?id=1106
A GLMPresentation does not allow to get the selected value if the option
noSelection is specified. It looks right but ... noSelection is used if we
don't want to trigger a transmission to the selection port (and open a new
pane in GTInspector for example).
In this case, it makes sense to always populate the rawSelection so that
the selection remains available to other actions.
To do that, only a small change is needed in GLMPresentation>>selection:
selection: anObject
"Tell the pane about the new selection. This method is called when the
user changes a view's selection' (e.g., he clicks on an element in a list
morph)."
(self pane port: #rawSelection) value: anObject.
self acceptsSelection ifFalse: [^ self].
rawSelectionTransmissions do: #transmit
--
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 all,
just to notify that in today’s Pharo 40461 doing a ConfigurationOfPetitParser loadDevelopment leads to a broken image: red morphs of death appear in already open windows and opening the spotter gives a DNU GLMBrick>>widthBlock It would be cool if some knowledgeable person had a look at this, thanks :-)
Greetings.
---> Save our in-boxes! http://emailcharter.org <---
Johan Fabry - http://pleiad.cl/~jfabry
PLEIAD lab - Computer Science Department (DCC) - University of Chile
Hi,
I'm looking at the Basic Examples browser and I would like to use the
"Tree with tags" examples as an inspiration to build a custom browser.
My idea is to make a browser with two columns. Left is a tree with tags
and right is the "content" of that tree. According with the tags in the
tree the display and behaviour of the content will change. For example,
if the tree node is tagged with "code" the left browser will be and
executable pane, if not it will be just plain text.
For that I will like to change the order in which tags and children
names are shown in a tree with tags. I would like to have tags first and
children names second, which is the reverse order of what we have now. I
see in the examples that the message to build a tree with tags have the
form:
=[1]========================
a tree
display: [];
children: [];
tags: [].
============================
and I would like something with the form:
=[2]========================
a tree
display: [];
tags: [];
children: [].
============================
I tried to find the message for [1] at the GLMTabulator and
GLMTreePresentation but it's not there and I don't know where else to
look for.
How can I change the order of tags and children names in a tree with
tags presentation for a browser?
Thanks,
Offray
Hi!
I wanted to familiarize myself with Moose and the GlamourToolkit.
Since 2 days I try to load a stable and fully working environment but it
is not poassible no matter how many combinations of version ans
repositories I use.
Here are the steps I would expect to result in a working Moose-Image
based on a Pharo 3.0 virgin image.
Download a Pharo 3.0 installation.
Sytem - Software update (with and without this step... no different result)
Open Workspace and execute this:
Gofer new
smalltalkhubUser: 'Moose' project: 'Moose';
configuration;
loadStable. (or loadDevelopment but both have the same results)
While loading the Moose package, I get several warnings about missing
prerequisites or application that are about to be modified (mainly
GTSpotter and Context related issues). I guess the load order is not
right there.
Now here are my bugs:
- Pharo Critic Browser is broken after loading Moose. I attached the
stack. No I didn't it is 8mb,... too much for the forum, I guess
- On a small netbook screen one can't import smalltalk code into Moose.
The final import form/widget is so big, that the "finish" button can not
be pressed and the widget can't be moved. A different layout might be
helpful. The taskbar overlays and intercapts mouse events.
- When I want to close a Model in Moose Panel and I close the main tab I
get a massive amount of debuggers and it is better to shutdown the image.
- Roassal widgets with text overlays show a red background debugger on
mouse over events. StrikeFont dnu.... (LocalFont glyphRendererOn:). I
meanwhile know that I can solve this by changing the Font settings of my
image.
- The Moose Panel's tabs behaves wierd. On mouse over they change the
size of the tab's labels and one can't read and localize the desired tab
anymore. This gets worse when you have many tabs opened
- When I just close one of many tabs in Moose panel, I get errors
regarding doLayout is not understood by undefined Object and the whole
image freezes or after a further clicks,... the image is swamped with
debuggers.
Now, even when Pharo seems to have issues already. I go on an try this:
Gofer new
smalltalkhubUser: 'Moose' project: 'GToolkit';
configuration;
loadStable.
#GTImageSetupCommandLineHandler asClass new activateWithoutSaving
- it is unclear to me how I can start the gtspotter....
- Open playground do a 1 inspect and get a Debugger saying SmallInteger
class dnu allSLots
Okay this is the last thing that makes the most enthusiastic user go
away from .... I hope not Smalltalk.
I started a software night here in town last Tuesday and I want to add
Smalltalk flavour. So far they where amazed about it but I used
VASmalltalk to show a "real live development system" sinceI know that it
is bullit proof. And it was.
But I also want to introduce the aspect of Smalltalk as tool and that is
where Phaor and Moose come in... it would be great if I had a stable
image that I could use for future nights.
It would be great if somebody could look into that.
Cheers!
Sebastian
Hi,
I have some problem to change the colors of the nodes when I use one
condition.
Per example :
"b nodes
if: [:c | self halt. c inheritsFrom: RTShape];
color: Color yellow."
I try to put one breakpoint on the condition but that don't execute my
condition and also don't change color of nodes.
Thank you,
Cheers,
Jonathan.
Hi all,
so I am impatient and I could not wait for Alex’s solution to my question of yesterday. I hacked something together that works most of the time, and now I have my scatterplot that updates itself quite quickly ! :- ) I give the core of the code below, and then report on a problem :-(
I have a builder instance variable, and an open and a refresh method. Open opens the first time, and refresh refreshes the view. (I call buildDataset, which builds the right dataset for the graph, that’s not relevant here).
open
builder := RTGrapher new.
builder add: self buildDataset.
builder build open
refresh
| view |
view := builder view.
view cleanAll.
builder := RTGrapher new.
builder view: view.
builder add: self buildDataset.
builder build
view signalUpdate.
And if you want this animated, just make an infinite loop that calls refresh (with a delay in-between to not hog the CPU).
autorefresh
self open.
[[true] whileTrue: [self refresh. (Delay forMilliseconds: 100) wait]] fork
Et voila! C’est cool quoi! (Yes, I’m in France right now :-) )
There is sadly one problem: sometimes I get the red morph of death in the window :-( AthensCairoCanvas>>setShape: sends asAthensShapeOn: to nil. It’s not immediate, but after some time (variable) I always get it :-(. Any pointers on what it may be and how to fix it??
---> Save our in-boxes! http://emailcharter.org <---
Johan Fabry - http://pleiad.cl/~jfabry
PLEIAD lab - Computer Science Department (DCC) - University of Chile
Hi all,
I am thinking about a specific setting where I want to make a scatterplot that is somewhat dynamic: I have collections of points coming in regularly and when a new collection has arrived I want to remove the existing plot and show the new data. I thought I would be able to do something with the existing Grapher infrastructure. My idea was to remove all elements from the open RTView instance, then remove the dataset from the RTGrapher instance, add the new dataset to the RTGrapher instance and call build again. But I cannot remove a dataset from a RTGrapher, so apparently no go.
Is there a way to do something like this without making modifications to Roassal? I could hack something together of course but prefer existing infrastructure, if present.
Also, I want to set max X and max Y beforehand because I know what the range of the incoming points is.
Any pointers would be appreciated!
---> Save our in-boxes! http://emailcharter.org <---
Johan Fabry - http://pleiad.cl/~jfabry
PLEIAD lab - Computer Science Department (DCC) - University of Chile
Hi everyone,
I'm working on a visualization using Roassal where
I created a label for a RTBox:
*box @ (RTLabelled new text: (Text fromString: 'blabla')).*
It works perfectly, but I'd like to change the font size of
the text. Does anyone know how to do it?
Cheers,
--
Ricardo Terra