Re: [Pharo-users] How to programatically select an item in a Spec TreeModel ?

2015-10-23 Thread Thierry Goubier
Le 24 oct. 2015 8:12 AM, "Peter Uhnák" a écrit : >> >> Waiting for the FT-based rewrite is the thing to do. > > > If by waiting you mean doing FT-based rewrite, then sure. :) Ah, you want to do it? ;) > Unless Cyril is going to do the rewrite himself. Wasn't that the plan? I'm confused :) Thie

Re: [Pharo-users] How to programatically select an item in a Spec TreeModel ?

2015-10-23 Thread Peter Uhnák
> > Waiting for the FT-based rewrite is the thing to do. If by waiting you mean doing FT-based rewrite, then sure. :) Unless Cyril is going to do the rewrite himself. P

Re: [Pharo-users] Matrix error

2015-10-23 Thread Offray Vladimir Luna Cárdenas
Hi, I made an small matrix implementation. Nothing fancy. Just an array of arrays and is working. Just curious now about the error message. Cheers, Offray On 23/10/15 19:56, Offray Vladimir Luna Cárdenas wrote: Hi, I was testing the code here: =[1]= | medMatrix | medMatrix := M

[Pharo-users] Matrix error

2015-10-23 Thread Offray Vladimir Luna Cárdenas
Hi, I was testing the code here: =[1]= | medMatrix | medMatrix := Matrix new. medMatrix numberOfColumns: 7; numberOfRows: 5. 1 to: medMatrix numberOfRows do: [:row | 1 to: medMatrix numberOfColumns do: [ :column | "medMatrix at: row at: column put: 0." Tr

Re: [Pharo-users] Pharo family update

2015-10-23 Thread Offray Vladimir Luna Cárdenas
Hi Adam, Thanks for this work. It helps a lot. Some suggestions: - I would put "(beginners) education" instead of learning for DrGeo and Phratch - I would add AidaWeb to the Web Development spot and put Import/Export and output near to data, because is closer to the path I have taken in my ow

Re: [Pharo-users] Pharo family update

2015-10-23 Thread Hernán Morales Durand
Hello Adam, Some feedback about the visualization: - The OmniBrowser is not supported anymore in Pharo. You could add Nautilus which is the browser implementation (but not a browser library). - Monticello, Gofer and Metacello could be closer. I think Versionner and FileTree (or GitFileTree) shoul

Re: [Pharo-users] Pharo family update

2015-10-23 Thread Ferlicot D. Cyril
Le 23/10/2015 23:58, Adam a écrit : > Hello, > > I just updated drawing of projects around Pharo. > > Main idea is to guide people (new users of Pharo) through fields of interests > - something they might be looking for. I choose these 10 fields devided into > some specific subjects. Somewhere

[Pharo-users] Would smart variable ordering improve performance?

2015-10-23 Thread Alexandre Bergel
Hi! It is known that increasing data locality is a good way to benefit from CPU caches. There has been some effort from the IBM’s JVM crew that aligns some frequently accessed variables at a particular offset to improve accesses. Would this approach works in Pharo? Other similar situation: wi

Re: [Pharo-users] Updated Pharo By Example

2015-10-23 Thread Stephan Eggermont
On 23-10-15 19:15, Thierry Goubier wrote: Le 23 oct. 2015 7:00 PM, "Dimitris Chloupis" a écrit : I completely agree with Stef, I did actually removed some screenshots and someone put them pack Maybe I can create a pharo script to auto make them for each version Wasn't there a way to run S

Re: [Pharo-users] How to programatically select an item in a Spec TreeModel ?

2015-10-23 Thread Thierry Goubier
Le 23/10/2015 21:01, Peter Uhnák a écrit : It's also possible that it is simply bugged. PackageRemotesManager doesn't use TreeModel, it uses different widget (whose API looks cleaner). I'll try to look at this tomorrow (unless someone else beats me to it) how this could be done (and maybe even

Re: [Pharo-users] memory question

2015-10-23 Thread Werner Kassens
Thank you Norbert and Alexandre, #sizeInMemory was obviously what i was looking for. and the hint about the little complication in a collection that can grow, was helpful indeed! werner

Re: [Pharo-users] How to programatically select an item in a Spec TreeModel ?

2015-10-23 Thread Peter Uhnák
It's also possible that it is simply bugged. PackageRemotesManager doesn't use TreeModel, it uses different widget (whose API looks cleaner). I'll try to look at this tomorrow (unless someone else beats me to it) how this could be done (and maybe even take a stab at cleaning the API a bit...). P

Re: [Pharo-users] Updated Pharo By Example

2015-10-23 Thread Cyril Ferlicot
The possibility to take automatic screenshot should be added to Pillar but for now it's just an idea and no one have the time to do it. On Fri, Oct 23, 2015 at 6:59 PM, Dimitris Chloupis wrote: > I completely agree with Stef, I did actually removed some screenshots and > someone put them pack > >

Re: [Pharo-users] Updated Pharo By Example

2015-10-23 Thread Thierry Goubier
Le 23 oct. 2015 7:00 PM, "Dimitris Chloupis" a écrit : > > I completely agree with Stef, I did actually removed some screenshots and someone put them pack > > Maybe I can create a pharo script to auto make them for each version Wasn't there a way to run Smalltalk code inside pillar? Code that wou

Re: [Pharo-users] Updated Pharo By Example

2015-10-23 Thread Dimitris Chloupis
I completely agree with Stef, I did actually removed some screenshots and someone put them pack Maybe I can create a pharo script to auto make them for each version On Fri, Oct 23, 2015 at 5:24 PM Damien Cassou wrote: > > Dimitris Chloupis writes: > > > "Yes we can ask oscar and after will ho

[Pharo-users] How to programatically select an item in a Spec TreeModel ?

2015-10-23 Thread Edouard KLEIN
Hi ! I've been playing with Pharo again. In the application I'm building, I need to load a file from disk, and depending on what is inside this file, select an item in a tree that is displayed on the main window. The SearchableTree subclass I use is copied at the end of the email. It is nothing f

Re: [Pharo-users] FOSDEM 2016 devroom selection

2015-10-23 Thread Alexandre Bergel
Not be discouraged! Go go go! Alexandre > On Oct 23, 2015, at 11:58 AM, Stephan Eggermont wrote: > > On 23/10/15 12:07, Jose San Leandro wrote: >> Sad news. > > Indeed. I'll try again next year. > There are of course several devrooms where we can propose talks, e.g. > "Containers and Process

Re: [Pharo-users] Fwd: FOSDEM 2016 devroom selection

2015-10-23 Thread Stephan Eggermont
On 23/10/15 12:07, Jose San Leandro wrote: Sad news. Indeed. I'll try again next year. There are of course several devrooms where we can propose talks, e.g. "Containers and Process Isolation" should be interested to hear about our long-time experience with images Stephan https://fosdem.org/

Re: [Pharo-users] Updated Pharo By Example

2015-10-23 Thread Damien Cassou
Dimitris Chloupis writes: > "Yes we can ask oscar and after will host it also at books.pharo.org and in > HTML version too as for all the other books. please contact "Oscar Nierstrasz" to: - get the website sources - redirect pharobyexample.org to files.pharo.org/books/pharobyexample > "pay

Re: [Pharo-users] VM crash on Ubuntu 14.04

2015-10-23 Thread Ben Coman
On Thu, Oct 22, 2015 at 2:25 AM, Johan Fabry wrote: > Hi all, > > I am having some unpleasant experiences on Ubuntu 14.04 (experimenting with > Live Robot Programming on PhaROS). The VM crashes after a random amount of > time (< 25 minutes), with no clear sequence of steps on how to reproduce th

Re: [Pharo-users] memory question

2015-10-23 Thread Alexandre Bergel
Well, this is not enough. This #sizeInMemory only tells you the size of the object, which is simply the number of variables * 4 + size of the header. For collection, such as OrderedCollection and Dictionary, it is worth asking #size and #capacity: - #size tells you the amount of objects

Re: [Pharo-users] memory question

2015-10-23 Thread Norbert Hartl
> Am 23.10.2015 um 13:29 schrieb Werner Kassens : > > sorry, wrong thread, that was unintentional. werner > > On 10/23/2015 01:24 PM, Werner Kassens wrote: >> Hi, >> i'd like to test how much memory a dictionary uses. i guess i could >> simply delete that dictionary and see how much memory the g

Re: [Pharo-users] Feedback on #assert: vs. #assert:equals:

2015-10-23 Thread Nahuel Garbezza
Thanks for the answers, and for addressing this soon :) I would like to participate on the sprint but I can't make it this time. Nahuel 2015-10-22 12:15 GMT-03:00 Alexandre Bergel : > Dear Nahuel, > > I think you are raising in excellent point. > I think that assert: should raise an assertion er

Re: [Pharo-users] memory question

2015-10-23 Thread Werner Kassens
sorry, wrong thread, that was unintentional. werner On 10/23/2015 01:24 PM, Werner Kassens wrote: Hi, i'd like to test how much memory a dictionary uses. i guess i could simply delete that dictionary and see how much memory the garbage collector releases, but i wonder how i could measure that wi

[Pharo-users] memory question

2015-10-23 Thread Werner Kassens
Hi, i'd like to test how much memory a dictionary uses. i guess i could simply delete that dictionary and see how much memory the garbage collector releases, but i wonder how i could measure that without destroying that dictionary? werner

Re: [Pharo-users] Fwd: FOSDEM 2016 devroom selection

2015-10-23 Thread Jose San Leandro
Sad news. 2015-10-22 17:05 GMT+02:00 stephan : > > Forwarded Message Subject: FOSDEM 2016 devroom selection > Date: > Thu, 22 Oct 2015 13:18:25 +0200 From: Johan van Selst > To: devro...@fosdem.org > > Hi, > > I'm sorry to inform you that we declined your devroom proposal. >