Re: [Pharo-users] Blue book, worth reading?

2014-09-16 Thread stepharo


On 16/9/14 20:58, Ichiseki wrote:

Is it a good idea to invest some time in reading & studing the blue book? or
better expend that time on other sources?



I would read first
- smalltalk with style
- Smalltalk by example
- best smalltalk practices
- Design pattern Smalltalk companion

Stef

thankyou
ichisan



--
View this message in context: 
http://forum.world.st/Blue-book-worth-reading-tp4778445.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.







Re: [Pharo-users] [ANN] SortFunctions (Multiple criteria sorting)

2014-09-16 Thread stepharo

Esteban
for now we do not have a systematic and automatic process to validate 
packages that are pushed in the

metarepo so please do it.
The metarepo is the way to go.

Stef

On 16/9/14 20:48, Esteban A. Maringolo wrote:

After the discussion about multiple sort criteria [1] I decided to
make some modifications I was needing, and also repackage the initial
port Nicolas Cellier did.

The result is the transformation of Nicolas' TAG-SortFunctions [2]
"experiment"  to a first class project plainly named 'SortFunctions'
available at:
http://smalltalkhub.com/#!/~emaringolo/SortFunctions/

Nicolas said:
"Since I got absolutely zero feedback after a long thread, I assumed
it was not interesting anybody...
But my personal opinion differs: this should be included in each and
every Smalltalk."

I sorry for not replying before, I also think this kind of features
should be easily discoverable in a default image, and that's why I
built a Metacello config to be included, maybe, in the MetaRepo.

Credits were preserved in the STHub project site both for Travis and Nicolas.


Best regards,


Esteban A. Maringolo



[1] 
http://forum.world.st/Has-someone-ever-built-a-sort-block-generator-tp4771241p4771481.html

[2] I guess TAG is for Travis A. Griggs







Re: [Pharo-users] Blue book, worth reading?

2014-09-16 Thread Davorin Rusevljan
For me, one of the few Books with capital B. It will teach you spirit of
Smalltalk like nothing else.

But if you are looking for book that will give you practical kickstart in
Smalltalk, Pharo by example might be the ticket.
On Sep 16, 2014 8:59 PM, "Ichiseki"  wrote:

> Is it a good idea to invest some time in reading & studing the blue book?
> or
> better expend that time on other sources?
> thankyou
> ichisan
>
>
>
> --
> View this message in context:
> http://forum.world.st/Blue-book-worth-reading-tp4778445.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>
>


Re: [Pharo-users] Blue book, worth reading?

2014-09-16 Thread Esteban A. Maringolo
Well... it is a book worth reading, but also is a book worth having :)

Pharo By Example and Pharo for the Enterprise are definitely more
current, and will probably provide you with more useful content. But
that depends on what is your purpose.

Regards!


Esteban A. Maringolo


2014-09-16 15:58 GMT-03:00 Ichiseki :
> Is it a good idea to invest some time in reading & studing the blue book? or
> better expend that time on other sources?
> thankyou
> ichisan
>
>
>
> --
> View this message in context: 
> http://forum.world.st/Blue-book-worth-reading-tp4778445.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>



[Pharo-users] Blue book, worth reading?

2014-09-16 Thread Ichiseki
Is it a good idea to invest some time in reading & studing the blue book? or
better expend that time on other sources?
thankyou
ichisan



--
View this message in context: 
http://forum.world.st/Blue-book-worth-reading-tp4778445.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



[Pharo-users] [ANN] SortFunctions (Multiple criteria sorting)

2014-09-16 Thread Esteban A. Maringolo
After the discussion about multiple sort criteria [1] I decided to
make some modifications I was needing, and also repackage the initial
port Nicolas Cellier did.

The result is the transformation of Nicolas' TAG-SortFunctions [2]
"experiment"  to a first class project plainly named 'SortFunctions'
available at:
http://smalltalkhub.com/#!/~emaringolo/SortFunctions/

Nicolas said:
"Since I got absolutely zero feedback after a long thread, I assumed
it was not interesting anybody...
But my personal opinion differs: this should be included in each and
every Smalltalk."

I sorry for not replying before, I also think this kind of features
should be easily discoverable in a default image, and that's why I
built a Metacello config to be included, maybe, in the MetaRepo.

Credits were preserved in the STHub project site both for Travis and Nicolas.


Best regards,


Esteban A. Maringolo



[1] 
http://forum.world.st/Has-someone-ever-built-a-sort-block-generator-tp4771241p4771481.html

[2] I guess TAG is for Travis A. Griggs



Re: [Pharo-users] Zoomable & Infinitely scrollable PasteupMorph

2014-09-16 Thread Denis Kudriashov
Hi.

Do you think Roassal can replace Morphic at all?


2014-09-16 20:07 GMT+04:00 Alexandre Bergel :

> In the word “submorph” there are two important parts. “sub” and “morph”.
> Roassal support subelements, but only one morph is around, the trachel
> morph that contains all the drawing.
> Why staying in Morphic? Morphic does not scale well, does not have layout,
> and morphs are hardly composable with other morphs :-)
>
> Cheers,
> Alexandre
>
>
> On Sep 16, 2014, at 7:13 AM, Sean P. DeNigris 
> wrote:
>
> > On Sep 15, 2014, at 9:54 PM, "abergel [via Smalltalk]" <[hidden email]>
> wrote:
> > > Can you describe a bit more what you need? In Roassal, you do not have
> submorph, but do you really need them?
> > Yes, I want to create a Self-like world that is also zoomable, so you
> could say the whole purpose is to have submorphs ;)
> > Cheers,
> > Sean
> >
> > View this message in context: Re: Zoomable & Infinitely scrollable
> PasteupMorph
> > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>


[Pharo-users] [ANN] Test Coverage with Hapao

2014-09-16 Thread Alexandre Bergel
Dear all,

We are happy to release Hapao2 for Pharo. Ricard Jacas and Alejandro Infante 
put quite some work on Spy2 (an über cool profiling framework for Pharo) and 
Hapao2.
Hapao2 is about assessing the test coverage of your code and is a major revamp 
of Hapao1, which was presented a couple of years ago by Vanessa.
Hapao2 does not only list covered and uncovered methods, as most test coverage 
tool on Earth will do. Hapao gives a great visualization to easily navigate in 
your code, assess its complexity, and give you a great visual output telling 
its coverage.

You need Roassal in your image:

Gofer new smalltalkhubUser: 'ObjectProfile'
project: 'Roassal2';
package: 'ConfigurationOfRoassal2';
load.
(Smalltalk at: #ConfigurationOfRoassal2) load


and you need S2py:
MCHttpRepository
location: 'http://smalltalkhub.com/mc/ObjectProfile/S2py/main'
user: ''
password: ''


New entries will appear in the world menu:


You can run the test coverage on :
 - the class classes you have modified,
 - on a particular
 - on a particular class category
 - on the last class categories you have modified
 - on the last packages you have modified

Here is a portion of a large coverage:



A technical description of Hapao may be found on 
http://bergel.eu/download/papers/Berg12c-HapaoSCP.pdf

We are daily using Hapao to help us understand our tests. 

Cheers,
Ricardo, Alejandro & Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.





Re: [Pharo-users] Zoomable & Infinitely scrollable PasteupMorph

2014-09-16 Thread Sean P. DeNigris
On Sep 16, 2014, at 12:20 PM, "abergel [via Smalltalk]" 
 wrote:
> Zooming is not infinite here
Zooming wouldn't need to be, only scrolling e.g. an infinitely large world 
viewed through a small viewport





-
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/Zoomable-Infinitely-scrollable-PasteupMorph-tp4778229p4778411.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] Zoomable & Infinitely scrollable PasteupMorph

2014-09-16 Thread Alexandre Bergel
Here is an example:
-=-=-=-=-=-=-=-=-=-=-=-=
| v |
v := RTView new.
v @ RTZoomableView.
v add: (RTLabel new elementOn:
'Scroll your mouse wheel
while hovering cursor
over the view to zoom it').
v
-=-=-=-=-=-=-=-=-=-=-=-=

https://www.facebook.com/video.php?v=700319393387994&set=vb.340543479365589&type=2&theater

Zooming is not infinite here. There is nothing that prevent us from doing it. 
It is just we have not faced any need. What would be a simple and compelling 
example of infinite zooming? This would be fun to implement. Each element 
should have a depth right? And zooming is actually moving the camera in and out?

Cheers,
Alexandre


On Sep 16, 2014, at 12:13 PM, Sean P. DeNigris  wrote:

> On Sep 16, 2014, at 12:08 PM, "abergel [via Smalltalk]" <[hidden email]> 
> wrote: 
> > Why staying in Morphic? 
> I want a "morph" with all the existing capabilities of a WorldMorph, that 
> also has zooming and infinite scrolling. Is this easily possible via 
> Roassal/Trachel?
> Cheers, 
> Sean
> 
> View this message in context: Re: Zoomable & Infinitely scrollable 
> PasteupMorph
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






Re: [Pharo-users] Zoomable & Infinitely scrollable PasteupMorph

2014-09-16 Thread Sean P. DeNigris
On Sep 16, 2014, at 12:08 PM, "abergel [via Smalltalk]" 
 wrote:
> Why staying in Morphic?
I want a "morph" with all the existing capabilities of a WorldMorph, that also 
has zooming and infinite scrolling. Is this easily possible via Roassal/Trachel?



-
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/Zoomable-Infinitely-scrollable-PasteupMorph-tp4778229p4778406.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] Zoomable & Infinitely scrollable PasteupMorph

2014-09-16 Thread Alexandre Bergel
In the word “submorph” there are two important parts. “sub” and “morph”. 
Roassal support subelements, but only one morph is around, the trachel morph 
that contains all the drawing.
Why staying in Morphic? Morphic does not scale well, does not have layout, and 
morphs are hardly composable with other morphs :-)

Cheers,
Alexandre


On Sep 16, 2014, at 7:13 AM, Sean P. DeNigris  wrote:

> On Sep 15, 2014, at 9:54 PM, "abergel [via Smalltalk]" <[hidden email]> 
> wrote: 
> > Can you describe a bit more what you need? In Roassal, you do not have 
> > submorph, but do you really need them? 
> Yes, I want to create a Self-like world that is also zoomable, so you could 
> say the whole purpose is to have submorphs ;)
> Cheers, 
> Sean
> 
> View this message in context: Re: Zoomable & Infinitely scrollable 
> PasteupMorph
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






[Pharo-users] Cast in FFI

2014-09-16 Thread Annick Fron
How is it possible to do a cast in FFI ?

Annick



Re: [Pharo-users] How can I help make installing Pharo easier (on Debian Wheezy)?

2014-09-16 Thread Esteban Lorenzano

On 16 Sep 2014, at 16:10, Sloane Simmons  wrote:

>> http://files.pharo.org/vm/pharo/linux/old-libc/pharovm-ubuntu804.tar.gz
> 
> I'll give this another look; I had tried this and I think this was
> mostly working, but think I ran into some problems when using the
> latest image/sources with the old VM.  (May have just been that I set
> things up properly, or was using an old image as well).  I'll give it
> another go for bootstrapping.

I have scheduled to build a new vm for old glibc… some moment this week, I 
hope. 
(I also have scheduled configure a job to automate that… I would try both, he)

Esteban

> 
>> https://github.com/pharo-project/pharo-ubuntu/tree/master/pharo-vm-core-i386
> 
> Was not aware of this; I'll also try this.
> 
>> http://philippeback.be/2014/02/pharovm-now-running-on-debian-wheezy/
> 
> Upgrading glibc would really be a last resort (for me); I'd probably
> just upgrade my distro to unstable if doing this, but I *know* things
> will break.
> 
>> 4/ use the nix package manager that already has a package for Pharo:
> I've never tried Nix but I could give that package a shot as well.
> 
> Thanks for all of the responses!  I'm still just working by through
> the Pharo by Example book, so for now I'm just focused on learning
> Smalltalk, but I'll use one of the methods above, and try to put
> together a package for Debian.  Someone else may want to be the
> maintainer(?), but I'll do my best in getting it submitted, assuming
> that I can get it working on my machine first, of course ;).
> 
> Regards,
> Sloane
> 
> 
> On Tue, Sep 16, 2014 at 8:16 AM, p...@highoctane.be  
> wrote:
>> Like this
>> 
>> http://philippeback.be/2014/02/pharovm-now-running-on-debian-wheezy/
>> 
>> ---
>> Philippe Back
>> Visible Performance Improvements
>> Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027
>> Mail:p...@highoctane.be | Web: http://philippeback.eu
>> Blog: http://philippeback.be | Twitter: @philippeback
>> Youtube: http://www.youtube.com/user/philippeback/videos
>> 
>> High Octane SPRL
>> rue cour Boisacq 101 | 1301 Bierges | Belgium
>> 
>> Pharo Consortium Member - http://consortium.pharo.org/
>> Featured on the Software Process and Measurement Cast -
>> http://spamcast.libsyn.com
>> Sparx Systems Enterprise Architect and Ability Engineering EADocX Value
>> Added Reseller
>> 
>> 
>> 
>> On Tue, Sep 16, 2014 at 2:48 PM, Damien Cassou 
>> wrote:
>>> 
>>> On Mon, Sep 15, 2014 at 9:51 PM, Sloane Simmons 
>>> wrote:
 For learning Smalltalk, running in a virtualbox VM absolutely works
 (for me), but I'd like to try and compile for Debian stable (or
 statically link glibc(?)) and then add to the official repositories so
 that it's easier to install.  Bonus points would be making a 64-bit
 version... ;)
>>> 
>>> You have a few solutions solutions:
>>> 
>>> 1/ try this
>>> http://files.pharo.org/vm/pharo/linux/old-libc/pharovm-ubuntu804.tar.gz
>>> 2/ try the .deb file for Ubuntu that is closest to your distribution:
>>> https://launchpad.net/~pharo/+archive/unstable/+packages
>>> 3/ create a .deb file yourself using the deb generator scripts I
>>> wrote:
>>> https://github.com/pharo-project/pharo-ubuntu/tree/master/pharo-vm-core-i386
>>> (as soon as it is compiled, it will work fine on 64 bits
>>> architectures)
>>> 4/ use the nix package manager that already has a package for Pharo:
>>> http://nixos.org/nix/manual/. Nix can very easily be installed on any
>>> Unix system including Debian and Mac OSX
>>> 
>>> 
>>> --
>>> Damien Cassou
>>> http://damiencassou.seasidehosting.st
>>> 
>>> "Success is the ability to go from one failure to another without
>>> losing enthusiasm."
>>> Winston Churchill
>>> 
>>> 
>> 
> 




Re: [Pharo-users] How can I help make installing Pharo easier (on Debian Wheezy)?

2014-09-16 Thread Sloane Simmons
>http://files.pharo.org/vm/pharo/linux/old-libc/pharovm-ubuntu804.tar.gz

I'll give this another look; I had tried this and I think this was
mostly working, but think I ran into some problems when using the
latest image/sources with the old VM.  (May have just been that I set
things up properly, or was using an old image as well).  I'll give it
another go for bootstrapping.

>https://github.com/pharo-project/pharo-ubuntu/tree/master/pharo-vm-core-i386

Was not aware of this; I'll also try this.

>http://philippeback.be/2014/02/pharovm-now-running-on-debian-wheezy/

Upgrading glibc would really be a last resort (for me); I'd probably
just upgrade my distro to unstable if doing this, but I *know* things
will break.

>4/ use the nix package manager that already has a package for Pharo:
I've never tried Nix but I could give that package a shot as well.

Thanks for all of the responses!  I'm still just working by through
the Pharo by Example book, so for now I'm just focused on learning
Smalltalk, but I'll use one of the methods above, and try to put
together a package for Debian.  Someone else may want to be the
maintainer(?), but I'll do my best in getting it submitted, assuming
that I can get it working on my machine first, of course ;).

Regards,
Sloane


On Tue, Sep 16, 2014 at 8:16 AM, p...@highoctane.be  wrote:
> Like this
>
> http://philippeback.be/2014/02/pharovm-now-running-on-debian-wheezy/
>
> ---
> Philippe Back
> Visible Performance Improvements
> Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027
> Mail:p...@highoctane.be | Web: http://philippeback.eu
> Blog: http://philippeback.be | Twitter: @philippeback
> Youtube: http://www.youtube.com/user/philippeback/videos
>
> High Octane SPRL
> rue cour Boisacq 101 | 1301 Bierges | Belgium
>
> Pharo Consortium Member - http://consortium.pharo.org/
> Featured on the Software Process and Measurement Cast -
> http://spamcast.libsyn.com
> Sparx Systems Enterprise Architect and Ability Engineering EADocX Value
> Added Reseller
>
>
>
> On Tue, Sep 16, 2014 at 2:48 PM, Damien Cassou 
> wrote:
>>
>> On Mon, Sep 15, 2014 at 9:51 PM, Sloane Simmons 
>> wrote:
>> > For learning Smalltalk, running in a virtualbox VM absolutely works
>> > (for me), but I'd like to try and compile for Debian stable (or
>> > statically link glibc(?)) and then add to the official repositories so
>> > that it's easier to install.  Bonus points would be making a 64-bit
>> > version... ;)
>>
>> You have a few solutions solutions:
>>
>> 1/ try this
>> http://files.pharo.org/vm/pharo/linux/old-libc/pharovm-ubuntu804.tar.gz
>> 2/ try the .deb file for Ubuntu that is closest to your distribution:
>> https://launchpad.net/~pharo/+archive/unstable/+packages
>> 3/ create a .deb file yourself using the deb generator scripts I
>> wrote:
>> https://github.com/pharo-project/pharo-ubuntu/tree/master/pharo-vm-core-i386
>> (as soon as it is compiled, it will work fine on 64 bits
>> architectures)
>> 4/ use the nix package manager that already has a package for Pharo:
>> http://nixos.org/nix/manual/. Nix can very easily be installed on any
>> Unix system including Debian and Mac OSX
>>
>>
>> --
>> Damien Cassou
>> http://damiencassou.seasidehosting.st
>>
>> "Success is the ability to go from one failure to another without
>> losing enthusiasm."
>> Winston Churchill
>>
>>
>



Re: [Pharo-users] Recursive #printOn: renders the image unusable

2014-09-16 Thread Johan Fabry
Hi all,

for what it’s worth, I actually would prefer Object>>name to be removed. It 
does not make sense to me to be defined at that level, and whenever I define an 
Object subclass with a name instvar and accessors, I am surprised (luckily no 
longer worried) when I see that I am overriding name.

On Sep 15, 2014, at 8:48 PM, Esteban A. Maringolo  wrote:

> Today I made the mistake (twice) of developing in the debugger a
> #printOn: method depending on a not yet defined #name method in the
> same class.
> 
> The result is an image completely blocked out, with an infinite
> recursion trying to print receiver
> 
> The culprit is Object>>#name, which by default... is the receiver
> printString (bypassing the #printStringLimitedTo:... version)!
> 
> So if you implement #printOn: depending on #name, but you didn't
> implement #name differently to how Object does, you created yourself
> an infinite recursion.
> 
> Now I found why it is happening, so I will explicitly define #name
> prior to any #printOn: implementation. Particularly if I'm inside the
> debugger which will try to print the offending class or any variable
> affected by this bug.
> 
> However I have a few questions about this:
> 
> a) Shouldn't a recursion too deep be detected?
> b) Why can't I interrupt a process running in the UI thread like this one?
> 
> Regards.
> 
> 
> Esteban A. Maringolo
> 
> 
> The call stack:
> 
> DTColumnParameter(Object)>>printOn:
> DTColumnParameter>>printOn:
> DTColumnParameter(Object)>>printStringLimitedTo: in Block: [ :s | self
> printOn: s ]
> String class(SequenceableCollection class)>>streamContents:limitedTo:
> DTColumnParameter(Object)>>printStringLimitedTo:
> DTColumnParameter(Object)>>printString
> DTColumnParameter(Object)>>name << Here we go...
> DTColumnParameter>>printOn:
> DTColumnParameter(Object)>>printStringLimitedTo: in Block: [ :s | self
> printOn: s ]
> String class(SequenceableCollection class)>>streamContents:limitedTo:
> DTColumnParameter(Object)>>printStringLimitedTo:
> DTColumnParameter(Object)>>printString
> DTColumnParameter(Object)>>name
> 
> 



---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile




Re: [Pharo-users] Zoomable & Infinitely scrollable PasteupMorph

2014-09-16 Thread Thierry Goubier
For infinitely zoomable interface, an old body of work and research on the
possibilities is Pad++ [http://www.cs.umd.edu/hcil/pad++/] .

Parcplace did some stuff too. Squeak seemed to have something at one point.

Thierry


2014-09-16 15:09 GMT+02:00 Sean P. DeNigris :

> On Sep 16, 2014, at 7:59 AM, "S Krish [via Smalltalk]" <[hidden email]
> > wrote:
> > I am sure it will be lot more involved beyond a point to make everything
> contained zoomable, text editor: text / image , other compositions ,
> layouts being honored properly..
> Yes I assume that text is where things would get complicated
>
> > I am not aware of Self zoom.. need to check on it.
> Self doesn't zoom, but it scrolls infinitely.
> Cheers,
> Sean
>
> --
> View this message in context: Re: Zoomable & Infinitely scrollable
> PasteupMorph
> 
> Sent from the Pharo Smalltalk Users mailing list archive
>  at Nabble.com.
>


Re: [Pharo-users] [ANN] Easy I18N for Pharo

2014-09-16 Thread Hilaire

Le 16/09/2014 09:50, Johan Brichau a écrit :

So why not write a similar docu for GetText including code snippets and all 
the knowledge that

   seems to be there already from using it...


Already done since a couple of years in the collaboractive book.

--
Dr. Geo - http://drgeo.eu
iStoa - http://istao.drgeo.eu




Re: [Pharo-users] How can I help make installing Pharo easier (on Debian Wheezy)?

2014-09-16 Thread p...@highoctane.be
Like this

http://philippeback.be/2014/02/pharovm-now-running-on-debian-wheezy/

---
Philippe Back
Visible Performance Improvements
Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027
Mail:p...@highoctane.be | Web: http://philippeback.eu
Blog: http://philippeback.be | Twitter: @philippeback
Youtube: http://www.youtube.com/user/philippeback/videos

High Octane SPRL
rue cour Boisacq 101 | 1301 Bierges | Belgium

Pharo Consortium Member - http://consortium.pharo.org/
Featured on the Software Process and Measurement Cast -
http://spamcast.libsyn.com
Sparx Systems Enterprise Architect and Ability Engineering EADocX Value
Added Reseller



On Tue, Sep 16, 2014 at 2:48 PM, Damien Cassou 
wrote:

> On Mon, Sep 15, 2014 at 9:51 PM, Sloane Simmons 
> wrote:
> > For learning Smalltalk, running in a virtualbox VM absolutely works
> > (for me), but I'd like to try and compile for Debian stable (or
> > statically link glibc(?)) and then add to the official repositories so
> > that it's easier to install.  Bonus points would be making a 64-bit
> > version... ;)
>
> You have a few solutions solutions:
>
> 1/ try this
> http://files.pharo.org/vm/pharo/linux/old-libc/pharovm-ubuntu804.tar.gz
> 2/ try the .deb file for Ubuntu that is closest to your distribution:
> https://launchpad.net/~pharo/+archive/unstable/+packages
> 3/ create a .deb file yourself using the deb generator scripts I
> wrote:
> https://github.com/pharo-project/pharo-ubuntu/tree/master/pharo-vm-core-i386
> (as soon as it is compiled, it will work fine on 64 bits
> architectures)
> 4/ use the nix package manager that already has a package for Pharo:
> http://nixos.org/nix/manual/. Nix can very easily be installed on any
> Unix system including Debian and Mac OSX
>
>
> --
> Damien Cassou
> http://damiencassou.seasidehosting.st
>
> "Success is the ability to go from one failure to another without
> losing enthusiasm."
> Winston Churchill
>
>
>


Re: [Pharo-users] Zoomable & Infinitely scrollable PasteupMorph

2014-09-16 Thread Sean P. DeNigris
On Sep 16, 2014, at 7:59 AM, "S Krish [via Smalltalk]" 
 wrote:
> I am sure it will be lot more involved beyond a point to make everything 
> contained zoomable, text editor: text / image , other compositions , layouts 
> being honored properly.. 
Yes I assume that text is where things would get complicated

> I am not aware of Self zoom.. need to check on it.
Self doesn't zoom, but it scrolls infinitely.



-
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/Zoomable-Infinitely-scrollable-PasteupMorph-tp4778229p4778347.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] How can I help make installing Pharo easier (on Debian Wheezy)?

2014-09-16 Thread Damien Cassou
On Mon, Sep 15, 2014 at 9:51 PM, Sloane Simmons  wrote:
> For learning Smalltalk, running in a virtualbox VM absolutely works
> (for me), but I'd like to try and compile for Debian stable (or
> statically link glibc(?)) and then add to the official repositories so
> that it's easier to install.  Bonus points would be making a 64-bit
> version... ;)

You have a few solutions solutions:

1/ try this 
http://files.pharo.org/vm/pharo/linux/old-libc/pharovm-ubuntu804.tar.gz
2/ try the .deb file for Ubuntu that is closest to your distribution:
https://launchpad.net/~pharo/+archive/unstable/+packages
3/ create a .deb file yourself using the deb generator scripts I
wrote: 
https://github.com/pharo-project/pharo-ubuntu/tree/master/pharo-vm-core-i386
(as soon as it is compiled, it will work fine on 64 bits
architectures)
4/ use the nix package manager that already has a package for Pharo:
http://nixos.org/nix/manual/. Nix can very easily be installed on any
Unix system including Debian and Mac OSX


-- 
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm."
Winston Churchill



Re: [Pharo-users] Zoomable & Infinitely scrollable PasteupMorph

2014-09-16 Thread S Krish
Interesting thought from a CAD drawing world, one does this all the time..

Basic morph level zooms as a contained sub morphs to some extent could be
possible as proof of concept.

I am sure it will be lot more involved beyond a point to make everything
contained zoomable, text editor: text / image , other compositions ,
layouts being honored properly..

I am not aware of Self zoom.. need to check on it.



On Tue, Sep 16, 2014 at 4:43 PM, Sean P. DeNigris 
wrote:

> On Sep 15, 2014, at 9:54 PM, "abergel [via Smalltalk]" <[hidden email]
> > wrote:
> > Can you describe a bit more what you need? In Roassal, you do not have
> submorph, but do you really need them?
> Yes, I want to create a Self-like world that is also zoomable, so you
> could say the whole purpose is to have submorphs ;)
> Cheers,
> Sean
>
> --
> View this message in context: Re: Zoomable & Infinitely scrollable
> PasteupMorph
> 
>
> Sent from the Pharo Smalltalk Users mailing list archive
>  at Nabble.com.
>


Re: [Pharo-users] Zoomable & Infinitely scrollable PasteupMorph

2014-09-16 Thread Sean P. DeNigris
On Sep 15, 2014, at 9:54 PM, "abergel [via Smalltalk]" 
 wrote:
> Can you describe a bit more what you need? In Roassal, you do not have 
> submorph, but do you really need them? 
Yes, I want to create a Self-like world that is also zoomable, so you could say 
the whole purpose is to have submorphs ;)



-
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/Zoomable-Infinitely-scrollable-PasteupMorph-tp4778229p4778292.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] [ANN] Easy I18N for Pharo

2014-09-16 Thread Johan Brichau

On 15 Sep 2014, at 23:18, Torsten Bergmann  wrote:

> I just refer to my original announcement: "Need an EASY translation 
> framework for your Pharo application with NO EXTERNAL dependency?”

Hi Torsten,

Agree with you 100% and that’s also how I understood your announcement of i18n.

>  so let the users decide what
> he wants to use.

exactly

> 1. Why is "GetText" not easily loadable from the config browser? If we
>want people to find and use it we should make it accessible.

The ConfigurationOfGettext exists but I don’t have access to the metarepo.

> 2. When you google for "Pharo" and "GetText" you will find 
>https://code.google.com/p/seaside/wiki/Gettext as the first match.
> 
>The page is outdated, points to the old repository on SqueakSource 
>http://www.squeaksource.com/PharoNonCorePackages/ and even that
>page does not include a hint that meanwhile the package moved to STHub.

Point taken. I will move the page to the Seaside book.

> 3. Also the new hosting on the STHub page 
> http://smalltalkhub.com/#!/~PharoExtras/Gettext 
>seems broken, it includes the following comment:
> 
>  "Migrated from PharoNonCorePackages. Should be adapted to Pharo2.0"
> 
> Outdated comment or not usable in Pharo 3.0/4.0?

Outdated comment. I updated it.

> 4. The last version there is Gettext-HilaireFernandes.33, that is the one 
> that is
>also included in Dr. Geo. The code should be updated as
> 
>  a) it includes a reference to missing class "MethodReference" in 
> #appendVocabulary:domains: 
>  b) the  NaturalLanguageTranslator>>cleanUp method references a class 
> variable that is not there
> 
>Any takers?

Allright, as I have been mostly using the Seaside extension to it, this are 
parts I have not used.
Ok, will take a look at them since I’m working in this area concerning the 
gemstone port as well.

> 5. Writing a simple docu for I18N on STHub took me only a few minutes using 
> markdown and 
>https://stackedit.io. (Pillar and PillarHub provide the same, but STHub 
> does not support it).
> 
>So why not write a similar docu for GetText including code snippets and 
> all the knowledge that 
>seems to be there already from using it...

Ha, a bit optimistic there… I don’t write a page of text in a couple of 
minutes, but I know what you mean ;)

cheers
Johan