Re: [Pharo-users] Roassal2 on Ubuntu 64

2016-03-10 Thread Ben Coman
On Thu, Mar 10, 2016 at 3:19 PM, Evan Donahue wrote: > Hello, > > I'm trying to learn Roassal, but I can't seem to get the first visualization > from > https://dl.dropboxusercontent.com/u/31543901/AgileVisualization/QuickStart/0101-QuickStart.html > working on any combination of image and vm. I've

Re: [Pharo-users] Roassal2 on Ubuntu 64

2016-03-10 Thread Thierry Goubier
Hi Evan, Ben, I believe you need to install the 32 bits version of libcairo2, with for example $ sudo apt-get install libcairo2:i386 Regards, Thierry 2016-03-10 9:26 GMT+01:00 Ben Coman : > On Thu, Mar 10, 2016 at 3:19 PM, Evan Donahue wrote: > > Hello, > > > > I'm trying to learn Roassal, b

Re: [Pharo-users] Fwd: Fwd: Phratch + Debian

2016-03-10 Thread jannik laval
Thank you Stef ! Jannik 2016-03-09 22:03 GMT+01:00 stepharo : > Cool initiative! > Tx Jannik > I blogged it and twitted it :) > > > Le 9/3/16 08:47, jannik laval a écrit : > > Finally, I made it. > > It is available here: http://www.phratch.com/download/phratch.deb > > Best regards, > Jannik > >

[Pharo-users] Gitfiletree on pharo5

2016-03-10 Thread Norbert Hartl
I tried a new pharo 5 image today and wanted to load my code via gitfiletree into the image but it does not work. I can see on the console that git commands are invoked and the output is to be seen on the console. It seems the image does not get the same information. I can remember there is an

Re: [Pharo-users] Gitfiletree on pharo5

2016-03-10 Thread Thierry Goubier
Hi Norbert, yes, there is a problem with the OSProcess plugin in Mac OS X, which makes GitFileTree unable to recover the output of the external commands. The best way is to use GitFileTree with OSSubprocess, with the following: Metacello new baseline: 'FileTree'; repository: 'github://da

[Pharo-users] Get the code of a method - Artefact

2016-03-10 Thread Guillaume Ongenae
Hello, I'm a student at Lille 1 university, so I'm still a beginner in Pharo I'm working on Artefact to create a more understable and complete demonstration. To do that I would like to print the code of a given method. However I can find how to decompiled the given method. Any help is welcome. -

Re: [Pharo-users] Get the code of a method - Artefact

2016-03-10 Thread Henrik Nergaard
( aClass >> #aSelector ) sourceCode. Ex: (Morph>>#drawOn:) sourceCode For class side methods: (Object class >> #taskbarIcon) sourceCode Best regards, Henrik From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of Guillaume Ongenae Sent: Thursday, March 10, 2016 11:14 AM T

Re: [Pharo-users] Get the code of a method - Artefact

2016-03-10 Thread Cyril Ferlicot
Hi, Do you really need to decompile the method? A CompiledMethod know his source code. See: Object methods first sourceCode But you can get the decompiled code with: Object methods first codeForNoSource I hope this help you On Thu, Mar 10, 2016 at 11:14 AM, Guillaume Ongenae < guillaume.onge.

Re: [Pharo-users] Get the code of a method - Artefact

2016-03-10 Thread Clément Bera
sourceCode is the best way to do it. It answers the original sources if available, and the decompiled sources if not available. 2016-03-10 11:22 GMT+01:00 Cyril Ferlicot : > Hi, > > Do you really need to decompile the method? A CompiledMethod know his > source code. > > See: Object methods first

Re: [Pharo-users] Get the code of a method - Artefact

2016-03-10 Thread g_ongenae
Yes, sourceCode is what what I was looking for, but couldn't find. Cyril Ferlicot, no, I don't need to decompile it, I was just thinking that it could be a solution. Anyway. Thank you. Cheers. Guillaume -- View this message in context: http://forum.world.st/Get-the-code-of-a-method-Artefact

Re: [Pharo-users] Get the code of a method - Artefact

2016-03-10 Thread Stephan Eggermont
On 10-03-16 11:14, Guillaume Ongenae wrote: Hello, I'm a student at Lille 1 university, so I'm still a beginner in Pharo I'm working on Artefact to create a more understable and complete demonstration. Artefact the pdf library? Stephan

Re: [Pharo-users] [ARTICLE] Tiny, yet so beautiful

2016-03-10 Thread Peter Uhnák
"Nice article. But asBit has existed in @SqueakSmalltalk since at least 2004. Why not say so?" https://twitter.com/bertfreudenberg/status/707922868273856512 And indeed, in Pharo I see it added on 27.3. and 28.12.2012 (why almost a year difference?) And in Squeak I see it added 1.7.2004 (although

Re: [Pharo-users] Roassal2 on Ubuntu 64

2016-03-10 Thread Alexandre Bergel
Evan, let us know how it goes! This is important to understand what’s going on Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > On Mar 10, 2016, at 5:57 AM, Thierry Goubier > wrote: > >

Re: [Pharo-users] Roassal2 on Ubuntu 64

2016-03-10 Thread Peter Uhnák
On Thu, Mar 10, 2016 at 3:01 PM, Alexandre Bergel wrote: > Evan, let us know how it goes! This is important to understand what’s > going on > Well this is well-known thing. Pharo is 32bit only, so all libraries have to be also. But maybe it could be mentioned just-in-case somewhere on the websi

[Pharo-users] Postdoc in Chile

2016-03-10 Thread Alexandre Bergel
Hi! We have an opportunity for doing a postdoc in Chile, in the field of software engineering and/or data visualization. I could provide a lengthy description about living in Chile, and its fantastic food, latin atmosphere, and gorgeous nature. But I will surely be far from the truth. If you

Re: [Pharo-users] [ARTICLE] Tiny, yet so beautiful

2016-03-10 Thread Henrik Johansen
> On 10 Mar 2016, at 3:01 , Peter Uhnák wrote: > > "Nice article. But asBit has existed in @SqueakSmalltalk since at least 2004. > Why not say so?" > https://twitter.com/bertfreudenberg/status/707922868273856512 > > > And indeed,

Re: [Pharo-users] [Moose-dev] RTAnchorConstraint

2016-03-10 Thread Johan Fabry
> On Mar 9, 2016, at 18:51, Peter Uhnák wrote: > > > > On Wed, Mar 9, 2016 at 10:02 PM, Johan Fabry > wrote: > Heh, also a funny feature of your anchor constraints: they do not play well > with layouts and animations. Try the code below (adapted from the example

Re: [Pharo-users] Roassal2 on Ubuntu 64

2016-03-10 Thread Thierry Goubier
2016-03-10 15:12 GMT+01:00 Peter Uhnák : > On Thu, Mar 10, 2016 at 3:01 PM, Alexandre Bergel > wrote: > >> Evan, let us know how it goes! This is important to understand what’s >> going on >> > > Well this is well-known thing. Pharo is 32bit only, so all libraries have > to be also. > Well, mayb

Re: [Pharo-users] Roassal2 on Ubuntu 64

2016-03-10 Thread Offray Vladimir Luna Cárdenas
Evan, We had this problem in every Data Week workshop. Is just matter of installing the libcairo 32 bits package for your Linux distro. In the case of ubuntu, you could adapt instructions at [1]. For a smother Gnu/Linux experience, the message could be a little bit more descriptive, something

Re: [Pharo-users] Roassal2 on Ubuntu 64

2016-03-10 Thread Peter Uhnák
> > I'm looking at the dependencies of pharo-launcher on ubuntu, and I don't > see any dependency on libcairo2:i386. It's a Cairo dependency, not necessarily Pharo's dependency — i.e. you can use Pharo for a long time and never need cairo. For a smother Gnu/Linux experience, the message could be

Re: [Pharo-users] [Pharo-dev] [Moose-dev] RTAnchorConstraint

2016-03-10 Thread Alexandre Bergel
Any code I can have to reproduce the problem? Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > On Mar 10, 2016, at 11:25 AM, Johan Fabry wrote: > > But now there is a new bug RTAnchorCons

Re: [Pharo-users] [Pharo-dev] [Moose-dev] RTAnchorConstraint

2016-03-10 Thread Alexandre Bergel
> > There is no other solution? Alex, do you have any idea? To which problem? Alexandre

Re: [Pharo-users] Roassal2 on Ubuntu 64

2016-03-10 Thread Thierry Goubier
2016-03-10 15:52 GMT+01:00 Peter Uhnák : > I'm looking at the dependencies of pharo-launcher on ubuntu, and I don't >> see any dependency on libcairo2:i386. > > > It's a Cairo dependency, not necessarily Pharo's dependency — i.e. you can > use Pharo for a long time and never need cairo. > > For a

Re: [Pharo-users] [Moose-dev] [Pharo-dev] RTAnchorConstraint

2016-03-10 Thread Johan Fabry
> On Mar 10, 2016, at 12:08, Alexandre Bergel wrote: > >> >> There is no other solution? Alex, do you have any idea? > > To which problem? Copy-paste from original mail: anchor constraints: they do not play well with layouts and animations. Try the code below (adapted from the example to us

Re: [Pharo-users] Roassal2 on Ubuntu 64

2016-03-10 Thread Offray Vladimir Luna Cárdenas
Hi, On 10/03/16 09:52, Peter Uhnák wrote: I'm looking at the dependencies of pharo-launcher on ubuntu, and I don't see any dependency on libcairo2:i386. It's a Cairo dependency, not necessarily Pharo's dependency — i.e. you can use Pharo for a long time and never need cairo. Fo

Re: [Pharo-users] Roassal2 on Ubuntu 64

2016-03-10 Thread Stephan Eggermont
On 10-03-16 15:28, Thierry Goubier wrote: Recommande: pharo-vm-core:i386 pharo-vm-core suggest pharo-vm-desktop, and pharo-vm-desktop only recommand libcairo2 ? So, maybe we need to change the dependencies then ? Yes, that sounds wrong. I would assume it to be: Pharo launcher is a desktop app

Re: [Pharo-users] [Moose-dev] Re: [Pharo-dev] RTAnchorConstraint

2016-03-10 Thread Peter Uhnák
> To which problem? The problem is that RTSpringLayoutStepping always uses all the elements in the view and ignores what you set to the layout. This is a problem, because it will try to also layout the anchor, but that will trigger the anchor to fix itself… and we get endless spinning. On Thu, M

Re: [Pharo-users] Roassal2 on Ubuntu 64

2016-03-10 Thread Peter Uhnák
> Ok. Just to check. Are you advocating that leaving out cairo as a dependency of the main pharo app for new pharo users is a 'feature'? Until Bloc it is a feature, but if it is installed via package manager then it should imho also install cairo because that's not that hard there. The problem is

Re: [Pharo-users] Roassal2 on Ubuntu 64

2016-03-10 Thread Evan Donahue
D'oh. Yep, this did it. I think I've been bitten by 32 bits before both on sound and on file opening. One day I'll learn, and on that day, Pharo will be 64 bit. Thanks, Evan -- View this message in context: http://forum.world.st/Roassal2-on-Ubuntu-64-tp4883675p4883840.html Sent from the Pharo

Re: [Pharo-users] Fwd: Fwd: Phratch + Debian

2016-03-10 Thread Hilaire
We should help to promote Phratch at the Education Nationale/FR because there is now the need for graphic programming tools. Right now Scratch2.0 is what most recommend but there is problem to use it on some situation. Moreover when custom features are needed, it is far more easier to get it done w

Re: [Pharo-users] Roassal2 on Ubuntu 64

2016-03-10 Thread Sven Van Caekenberghe
> On 10 Mar 2016, at 17:08, Evan Donahue wrote: > > D'oh. Yep, this did it. I think I've been bitten by 32 bits before both on > sound and on file opening. One day I'll learn, and on that day, Pharo will > be 64 bit. ;-) > Thanks, > Evan > > > > -- > View this message in context: > http://

Re: [Pharo-users] [Pharo-dev] [Moose-dev] Re: RTAnchorConstraint

2016-03-10 Thread Alexandre Bergel
Hi! Thanks Peter for having spotted the problem. I have fixed it somehow (“somehow” because this is not an ideal solution, but good enough for now). Try this after having updated Roassal: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= | v lbls es e1 e2 a1 a2 layout stepping| v := RTView new.

Re: [Pharo-users] Analyzing Tweets

2016-03-10 Thread stepharo
Hi arturo do you have more information about this? Stef Le 27/11/15 04:13, Arturo Zambrano a écrit : Looks nice, very similar to what Agustin presented in Smalltalks a few days ago. We will post more info soon. So there are at least 3 known projects working in Pharo + Roassal Are the author

Re: [Pharo-users] [ARTICLE] Tiny, yet so beautiful

2016-03-10 Thread Sven Van Caekenberghe
Here is my response to some of the comments on the article (published with the article itself): == @Bert Ah, my mistake. I did obviously check several implementations but the fact that the abstract method did not exist on Boolean itself misled me, weird. In any case, the two methods on Tr

[Pharo-users] [FUN] Fibonacci spiral

2016-03-10 Thread Hilaire
Hello, A step by step construction of the Fibonacci Spiral with Smalltalk code and DrGeo :) http://blog.drgeo.eu/post/2016/Fibonacci-spiral Hilaire -- Dr. Geo http://drgeo.eu

Re: [Pharo-users] [FUN] Fibonacci spiral

2016-03-10 Thread Offray Vladimir Luna Cárdenas
Nice. May be there is a typo on the phrase "mathematician from the XIIIe century" (the "e" at the end of XIII looks strange). Cheers, Offray On 10/03/16 14:42, Hilaire wrote: Hello, A step by step construction of the Fibonacci Spiral with Smalltalk code and DrGeo :) http://blog.drgeo.eu/pos

Re: [Pharo-users] Analyzing Tweets

2016-03-10 Thread Arturo Zambrano
Hi Stef, all We need to publish that info. Sorry for the delay, we are in a hurry last months due to ... well... side-effects of the political "change" here. We will post something soon. arturo On Thu, Mar 10, 2016 at 4:15 PM, stepharo wrote: > Hi arturo > > do you have more information ab

Re: [Pharo-users] [ARTICLE] Tiny, yet so beautiful

2016-03-10 Thread Dimitris Chloupis
"Pharo forked in 2008, that is a long time ago. Get over it. We are not looking backwards, we are looking forwards." Yeah who cares ? Afterall Squeak only made Pharo possible. No big deal, lets look forward. Pharo is not Smalltalk and is not Squeak, its back from the future. On Thu, Mar 10, 201

Re: [Pharo-users] Gitfiletree on pharo5

2016-03-10 Thread Dimitris Chloupis
Ah nice I did not know you were using SubProcess, thank you Thierry you are awesome :) On Thu, Mar 10, 2016 at 11:36 AM Thierry Goubier wrote: > Hi Norbert, > > yes, there is a problem with the OSProcess plugin in Mac OS X, which makes > GitFileTree unable to recover the output of the external c

Re: [Pharo-users] [FUN] Fibonacci spiral

2016-03-10 Thread Dimitris Chloupis
Hilaire you have made a very beautiful and powerful Pharo software , congratulations and lovely article too, keep doing the great work :) On Thu, Mar 10, 2016 at 11:19 PM Offray Vladimir Luna Cárdenas < offray.l...@mutabit.com> wrote: > Nice. May be there is a typo on the phrase "mathematician f

Re: [Pharo-users] [ARTICLE] Tiny, yet so beautiful

2016-03-10 Thread Offray Vladimir Luna Cárdenas
Hi, On 10/03/16 19:04, Dimitris Chloupis wrote: "Pharo forked in 2008, that is a long time ago. Get over it. We are not looking backwards, we are looking forwards." Yeah who cares ? Afterall Squeak only made Pharo possible. No big deal, lets look forward. Pharo is not Smalltalk and is not Squ