Re: [Pharo-users] Hackathon question (kind of urgent): Adding labels to a treemap

2016-03-05 Thread Offray Vladimir Luna Cárdenas
Almost there! === | b labels popup | labels := #('uno' 'dos' 'tres' 'cuatro' 'cinco'). popup := RTPopup new. popup text: [:object | labels at: object ]. b := RTTreeMapBuilder new. b shape fillColor: Color random. b from: (1 to: 5) using: [#()]. b weight: [:n

Re: [Pharo-users] Hackathon question (kind of urgent): Adding labels to a treemap

2016-03-05 Thread Offray Vladimir Luna Cárdenas
Thanks Alexandre, even more being away of the computer... It kind of works. Now the visualization shows the labels in the upper side of each rectangle. Like this: The idea is to put labels like "uno", "dos", "tres", "cuatro", "cinco" on each rectagle instead of the numbers. Anyway we have

Re: [Pharo-users] Hackathon question (kind of urgent): Adding labels to a treemap

2016-03-05 Thread Alexandre Bergel
I am not in front of my computer: B view elements @ RTLabelled I think it should do it Alexandre > Le 5 mars 2016 à 19:44, Offray Vladimir Luna Cárdenas > a écrit : > > Hi, > > We're in our local Open Data Day hackathon, creating a treemap to visualize > public

[Pharo-users] Hackathon question (kind of urgent): Adding labels to a treemap

2016-03-05 Thread Offray Vladimir Luna Cárdenas
Hi, We're in our local Open Data Day hackathon, creating a treemap to visualize public spending. We have cleaned the dataset and made some queries to zoom into the info we're interested in. So far, so good, but now we would like to change the labels on a treemap. So consider this code:

Re: [Pharo-users] Rubric docs

2016-03-05 Thread Miguel Campusano
I don't think this is documented, but you can take a look at the SemanticWarningIconStyler class. This class is in charge of styling the semantic warnings. In AbstractNautilusUI>>addIconStyle you can see more how the icons are added. In short, you have to extend AbstractIconStyler for your own

Re: [Pharo-users] Suggestion: ChronosManager Should Enable Sound in Settings

2016-03-05 Thread Dimitris Chloupis
Hey Sean first of all which OS you use ChronosManager on, currently ChronosManager depends on PharoSound for the alarm sound and this work on MacOS but not Linux, no idea about Windows. I tried to set up on my Ubuntu as it was saying in instructions but the primitive kept failing to initialize.

Re: [Pharo-users] adding credentials to a repo via a playground script

2016-03-05 Thread Sean P. DeNigris
Peter Uhnák wrote > repo > user: 'peteruhnak'; > password: '**' > ... has no effect. Hmm, I wonder if something changed in 5.0. I do this all the time. In fact I wrote a small tool that picks up the credentials from a config file so I can invoke it from the World menu - Cheers, Sean --

Re: [Pharo-users] adding credentials to a repo via a playground script

2016-03-05 Thread Cyril Ferlicot D.
Le 05/03/2016 12:08, Peter Uhnák a écrit : > Hi, > > is it possible to add credentials to an existing repo via a script? > > I've tried something like > > ~ > |repo| > repo := MCSmalltalkhubRepository allInstances detect: [ :each | each > location includesSubstring:

Re: [Pharo-users] Using the new OSProcess still no Stdout string

2016-03-05 Thread Dimitris Chloupis
thanks for freezing my image !!! Ar :D On Sat, Mar 5, 2016 at 10:44 AM john pfersich wrote: > Well, I have to take back the comment on command:. I have this code > snippet that gets output from a command: > > | p d | > p := (PipeableOSProcess command: 'netstat -a

Re: [Pharo-users] [Pharo-dev] Call about Numerical Methods in Pharo :)

2016-03-05 Thread Sven Van Caekenberghe
> On 05 Mar 2016, at 11:37, Esteban Lorenzano wrote: > > frankly all this zealot mails do not have any sense. > > first, SciSmalltalk is a project made fundamentally by Serge, and is Serge > who has pointed he wants a change of name for something sexier… what is the >

Re: [Pharo-users] [Pharo-dev] Call about Numerical Methods in Pharo :)

2016-03-05 Thread Esteban Lorenzano
frankly all this zealot mails do not have any sense. first, SciSmalltalk is a project made fundamentally by Serge, and is Serge who has pointed he wants a change of name for something sexier… what is the problem? second, by discussing a nonsense (because is subjective and everybody has a

Re: [Pharo-users] PharoLauncher eventual slowdown

2016-03-05 Thread Peter Uhnák
> Same here. > 3 min to launch Stef, try to disable write access on a fresh install to the PharoLauncher.changes and PharoLauncher.image At least for me it seems that it stays fast now. > Do you notice the slow down by launching images or do you use the PharoLauncher image for anything else?

Re: [Pharo-users] Lost class migrating from 3.0 to 4.0

2016-03-05 Thread stepharo
Hi Hilaire I am migrating a web application from 3.0 to 4.0. I noted one class can't get load! It is however present in the Squeaksource repo. you did not get a warning that the superclass is not loaded I imagine. So this is strange. I never got such problem. Yesterday I got a bug that I

Re: [Pharo-users] PharoLauncher eventual slowdown

2016-03-05 Thread stepharo
Hi nicolai what you use it for? I'm intrigued. Stef Le 4/3/16 18:59, Nicolai Hess a écrit : 2016-03-04 17:15 GMT+01:00 Ben Coman >: Hi Peter, I see you had this problem 12 months ago.

Re: [Pharo-users] PharoLauncher eventual slowdown

2016-03-05 Thread stepharo
Yeah I saw that when he was in Prague (incidentally that's where my launcher slowdown started :)). I'm a bug attractor. I can crash yosemite in 0.5 s: drag and drop two files on the desktop and bam you get the loggin screen :) I've removed write access and will report back in couple of

Re: [Pharo-users] PharoLauncher eventual slowdown

2016-03-05 Thread stepharo
Same here. 3 min to launch So I cloned the laucnher from time to time and it is a mess :) Stef Le 3/3/16 21:56, Peter Uhnák a écrit : Hi, I've been using Pharo Launcher for quite a while and problem that I am constantly encountering is that launching of it becomes slower and slower. Up

Re: [Pharo-users] Little how to

2016-03-05 Thread stepharo
Tx This is a cool challenge Le 3/3/16 13:08, Sven Van Caekenberghe a écrit : On 03 Mar 2016, at 09:23, stepharo wrote: Hi guys for the mooc I would like have a list of how to that students should look in the system and implement. The idea is to show to the participants

Re: [Pharo-users] Call about Numerical Methods in Pharo :)

2016-03-05 Thread stepharo
Le 3/3/16 06:25, Hernán Morales Durand a écrit : Hi Stef, For bioinformatics research it would be **really** nice to have: - Tree creation algorithms: UPGMA, WPGMA. - MCMC methods: Metropolis-adjusted Langevin algorithm (MALA and SMMALA), Metropolis-coupled MCMC (MC3) would enable Bayesian

Re: [Pharo-users] Using the new OSProcess still no Stdout string

2016-03-05 Thread john pfersich
I just loaded the latest image and vm using curl get.pharo.org/alpha+vmLatest | bash and OSProcess and CommandShell seem to work OK. On Friday, March 4, 2016, john pfersich wrote: > You want to use waitForCommand: instead of command:, like > > Transcript show:

Re: [Pharo-users] Using the new OSProcess still no Stdout string

2016-03-05 Thread john pfersich
Well, I have to take back the comment on command:. I have this code snippet that gets output from a command: | p d | p := (PipeableOSProcess command: 'netstat -a | grep LISTEN | grep 27017'). p keepInitialStdOutOpen: true. d := Delay forMilliseconds: 500. d wait. [Transcript show: (p next:

Re: [Pharo-users] Call about Numerical Methods in Pharo :)

2016-03-05 Thread stepharo
Thanks for this great list!!! Alex what would be cool is to sketch a test with some data some that like that it is a good incentive for didier. :) Hi ! - Do a public call to know what is missing for you: this is this mail :) Didier would like to work on concrete cases. I love that