> Begin forwarded message:
>
> From: Sven Van Caekenberghe <sven(a)stfx.eu>
> Subject: [Pharo-users] [ ANN ] Pharo Days 2016
> Date: December 9, 2015 at 9:52:09 AM EST
> To: Any question about pharo is welcome <pharo-users(a)lists.pharo.org>, Pharo Development List <pharo-dev(a)lists.pharo.org>, Pharo Business <pharo-business(a)lists.pharo.org>
> Reply-To: Any question about pharo is welcome <pharo-users(a)lists.pharo.org>
>
> Dear fellow Pharoers,
>
> Mark your calendars: on Thursday March 31 & Friday April 1 we are organising the Pharo Days 2016. This year we moved the location to Namur, Belgium, just a bit south of Brussels, at the very beautiful location of the ‘Cercle de Wallonie’ overlooking the river Meuse.
>
> We’ll update the following page moving forward.
>
> https://medium.com/concerning-pharo/pharo-days-2016-c52fe4d7caf
>
> You can ask questions on any of the Pharo mailing lists or you can email the Pharo Board.
>
> Let's make this another success, together ! We hope to see as many of you as possible.
>
>
--
www.tudorgirba.com
"We are all great at making mistakes."
Hello,
Is there a way to set a default selection to a list presentation? so that
when I open the browser, the morphic list has already a value selected.
I tried that:
|tmpBrowser|
tmpBrowser := GLMTabulator new.
tmpBrowser row: #list.
tmpBrowser transmit to: #list; andShow: [:a |
a list
display: [:input | input];
selection: #a;
yourself
].
tmpBrowser openOn: #( b c d v a d f r).
but the list still open with nothing selected
Hi,
Alex Syrel, Andrei Chis and I are happy to announce a new addition to the
Glamorous Toolkit:
GTSpotter, a novel interface for spotting objects.
GTSpotter has two goals:
- Provide a uniform yet moldable interface that can work on any object, and
- Handle searching through arbitrary levels of object nesting.
We think this will have a significant impact on the development workflow in
Pharo.
Here is a couple of screenshots:
[image: Inline image 2] [image: Inline image 1] [image: Inline image 3]
A trailer is available here:
https://www.youtube.com/watch?v=PhSmjR3NOlU
A detailed description is available here:
http://www.humane-assessment.com/blog/introducing-gtspotter
It works already in Pharo 3.0 and can be played with by following the
instructions from:
http://gt.moosetechnology.org
Please let us know what you think.
Enjoy,
The Glamorous Team
Hi,
The 32 bit nodes on Jenkins are offline and I cannot seem to be able to restart them. Does anyone have an idea of what is going on?
Cheers,
Doru
--
www.tudorgirba.comwww.feenk.com
"There are no old things, there are only old ways of looking at them."
Hi,
I was checking the containers in the current Famix and I have found several
strange attributes:
FAMIXSourceAnchor>>#element is container but the relationship to
FAMIXSourcedEntity has one to one cardinality. It is the only case like
this and it is probably wrong.
Does it have any reason or is it an error?
Then the relation between FAMIXSourcedEntity>>#containerFiles
and FAMIXFile>>#entities it the only one with cardinality many to many
where a container is specified but Vincent already told me that this is an
error.
Cheers,
-- Pavel
Hi,
I am trying to use Mondrian for a case in which I have nested elements and crosscutting edges. The issue is that I only found a cumbersome way to specify the layout.
Here is an example:
view := RTMondrian new.
view shape rectangle fillColor: Color transparent.
nodes := view nodes: { { 1 . 2 } . { 11 . 12 } } forEach: [ :col |
view nodes: col ].
view edges source: { 1 . 11 } connectFrom: [ :x | x ] to: [ :x | x + 1 ].
view edges source: { 1 . 2 } connectFrom: [ :x | x ] to: [ :x | x + 10 ].
nodes do: [ :each |
RTNest new
layout: RTTreeLayout new;
on: each nest: each nestedElements ].
view
With bold I have showed the code necessary for applying the layout. In previous versions of Roassal/Mondrian, layouts were applied lazily, after the graph was constructed. This allowed us to write something like this:
view := RTMondrian new.
view shape rectangle fillColor: Color transparent.
view nodes: { { 1 . 2 } . { 11 . 12 } } forEach: [ :col |
view nodes: col.
view layout tree ].
view edges source: { 1 . 11 } connectFrom: [ :x | x ] to: [ :x | x + 1 ].
view edges source: { 1 . 2 } connectFrom: [ :x | x ] to: [ :x | x + 10 ].
view
Did I miss something or is this the only way supported currently?
Cheers,
Doru
--
www.tudorgirba.comwww.feenk.com
"To utilize feedback, you first have to acquire it."
Hi guys,
I am experiencing a problem visualizing histograms in Roassal with Pharo 5.
In the attached image you can observe the first bar shape starts from a
negative X axis value, where I want to start from 0. Besides, some bars are
gapped but I don't know why.
I am using with the following code:
| bins minPoint g ds |
bins := self groupedBySeqLengthDistribution: binNumber.
minPoint := ((bins reject: #isEmpty) detectMin: [ : c | c size ])
anyOne size.
" Build diagram "
g := RTGrapher new
extent: 500 @ 200;
minX: minPoint;
withoutOrigin;
yourself.
ds := RTData new
points: bins;
x: [ : c | c ifEmpty: [ minPoint ] ifNotEmpty: [ : d | d anyOne
size ] ];
y: #size.
ds barShape
borderColor: Color black;
color: aColor;
width: barWidth.
g add: ds.
" Configure axis settings "
g axisY
title: axixYLabel;
color: Color black;
noDecimal.
g axisX
noDecimal;
fromPoint: minPoint;
color: Color black;
title: axisXLabel.
" Open visualization in a new window "
g open.
Any idea what I am missing?
Cheers,
Hernán
Howdy!
I want to build a Playground-like browser and I'd really like some help for
getting the initial prototype up and running.
I see two parts:
- Code entry with "Go" button.
- Code execution with output printed (interpreter running as unix process.)
I have made a start on the "Code entry" pane like this:
| composite |
composite := GLMCompositePresentation new.
composite title: 'Script editor'.
composite text.
composite act: [] iconName: #glamorousGo on: $G entitled: 'Run'.
composite openOn: ''.
which does look the way that I want:
but the part I am missing is how to make the "Go" action (green arrow)
cause a new object to be inspected in a miller column to the right (like in
the Playground and the Inspector.)
Could somebody please tell me how to update the example to make this happen?
The next part is that I want to run the code using an interpreter running
in a separate unix process (a PipeableOSProcess.) I have made a GTInspector
extension to inspect this process and show its output, but I am looking for
a way to automatically refresh the presentation when new output becomes
available (e.g. polling at ~100ms interval and inserting new text that has
been printed.)
Can somebody give me a hint about how to update that presentation with the
latest output of the process?
Then, once the code has finished running, I want to refresh the inspector
with potentially some new views based on the final result. But I would be
more than satisfied to just solve the first two issues for now :-)
Thanks in advance! I have read the masters thesis on Glamour and I feel
like I am slowly developing a mental model but it's not all there yet. To
guess it seems like I need to embed my GLMCompositePresentation into a
browser based on miller-columns and to somehow send my new object to its
#selection port. Or something like that...
Hi,
Are the moose jenkin servers back on? While they seem to be back on I get a
lot of 'Service Temporarily Unavailable', can't start new builds and cannot
download previously built images.
Cheers,
Andrei
Hi,
I'm playing around with Glamour and accordion presentation, however there
are couple things I'm struggling with.
I have a simple presentation:
```
| browser data|
data := {
'First' -> #(1 2 3).
'Second' -> #(a b c).
'Third' -> #(A B C).
'Fourth' -> #(! @ #'#').
}.
browser := GLMTabulator new.
browser column: #accordion.
browser transmit to: #accordion; andShow: [ :a |
a accordionArrangement.
a title: 'Accordion'.
data do: [ :pair |
a fastList
title: pair key;
display: pair value
].
a list.
].
browser openOn: #().
```
* Is it possible to tell the accordion to not take more space than is
needed? E.g. after item 3, and after item $c there's lot of empty space.
* Is it possible to close accordions upwards? I have added an empty list at
the end to consume extra white space, but it is insufficient (see point
above) and ugly.
* Is it possible to control which accordions are opened/closed by default?
* Is it possible to connect all the lists so only one item can be selected
at any time? Currently I can select independently in the lists.
* Is it possible to build the lists from the input data (=openOn: XXX)? I
can fill the data, but if I am making multiple lists then I am lost.
(I could use tree to fix most of the problems, but Accordion looks much
nicer :))
Any pointers appreciated,
Peter