Hi,
I'm working on my project Grafoscopio, to provide a outliner/notebook
like experience to write and visualize data. Details can be found on [1].
[1]
http://mutabit.com/offray/static/blog/output/posts/grafoscopio-idea-and-ini…
I want to create modal nodes by tagging them, so If I mark a node like
code it can behave like a workspace and execute code. You can see a
small demo of this feature on [2]
[2] https://archive.org/details/grafoscopio-tags-alpha1.mp4
My code for tagging nodes is this:
==[a]=============================================
UI>>addTagsTo: a Node
"Tags the node passed as argument with a value from the collection of
tags available"
| selection |
tagsAvailable isNil
ifFalse: [
selection := UIManager default chooseFrom: tagsAvailable title:
'Elija una etiqueta'.
aNode tagAs: (tagsAvailable at: selection)
]
ifTrue: [self messageNoTagsAvailable].
browser update.
=================================================
But I have three questions:
i. How Can I update the nodes views/behaviour without revisiting them?
The code in [a] is updating the node trees, but not the particular node
views.
ii. How can I made the code in a node tagged as "code" get executed?
iii. Can I embed playgrounds instead of workspaces in a browser pane,
with the possibility to explore objects and get more details about them?
Thanks,
Offray
Hi,
Is it still possible to download verveineJ for free ?
I tried: svn checkout svn://scm.gforge.inria.fr/svn/verveinej
But it now seems to require special permissions.
Creating an account at InriaForge does not seem to solve the problem.
Can you help me?
P.S: the moose book (
http://www.themoosebook.org/book/externals/import-export/external/verveineJ)
points to a broken link (http://www.moosetechnology.org/tools/verveinej)
Cheers,
Andrea Caracciolo
_____________________________
Software Composition Group
University of Bern
Hi,
I'm working on analyzing Python source-code with Moose. In Python, one
can write:
import re as regex
and this means "declare a local variable named 'regex' and put a
reference to the PyModule named 're' inside". How can I model that in
the mse file please?
Thanks
--
Damien Cassou
http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill
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