Re: [Pharo-dev] Missing #removeDuplicates

2016-04-09 Thread stepharo
Le 9/4/16 22:36, Volkert a écrit : What happens to OrderedCollection>>removeDuplicates in Pharo 5.0? In Pharo 4.0 it was part of a Package "GroupManager"? It was probably badly implemented or only used in group manager (whose code was terrible) and we cleaned it. Now we could reintroduce

Re: [Pharo-dev] Pharo5.0 crashing on Ubuntu14.04

2016-04-09 Thread Cyril Ferlicot Delbecque
On 09/04/2016 23:51, Jigyasa Grover wrote: > Hey > > I have been treing to create a new Pharo 5.0 image and it seems to crash > giving the error /"This interpreter (vers. 6505) cannot read image file > (vers. 6521)."/ I am using PharoLauncher on Ubuntu 14.04 to manage Pharo > images. Hi, I

[Pharo-dev] Pharo5.0 crashing on Ubuntu14.04

2016-04-09 Thread Jigyasa Grover
Hey I have been treing to create a new Pharo 5.0 image and it seems to crash giving the error /"This interpreter (vers. 6505) cannot read image file (vers. 6521)."/ I am using PharoLauncher on Ubuntu 14.04 to manage Pharo images. Help appreciated :) Best Jigyasa Grover -- View this message

[Pharo-dev] Missing #removeDuplicates

2016-04-09 Thread Volkert
What happens to OrderedCollection>>removeDuplicates in Pharo 5.0? In Pharo 4.0 it was part of a Package "GroupManager"? It breaks the nice Package "AthensScratch" in Pharo 5.0 BW. Volkert

Re: [Pharo-dev] new pharo cheatsheet

2016-04-09 Thread Mark Bestley
On 09/04/2016 10:59, serge.stinckw...@gmail.com wrote: Yes you are right. We have 2 students (3rd Year at University) here that have been exposed only to C or Java and they are totally index-intoxicated ... They can't reason on collections. Difficult for them to change their habits. Sent from

Re: [Pharo-dev] Proportional Layout does not work for me

2016-04-09 Thread kmo
Thanks everybody. That' s great. -- View this message in context: http://forum.world.st/Proportional-Layout-does-not-work-for-me-tp4889237p4889240.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.

Re: [Pharo-dev] Proportional Layout does not work for me

2016-04-09 Thread Stephan Eggermont
Rectangles can no longer have negative sizes. Use Margin Stephan

Re: [Pharo-dev] Proportional Layout does not work for me

2016-04-09 Thread Thierry Goubier
Hi, you're falling prey to the Rectangle / LayoutFrame api issue: your offsets, when written this way, are reversed. You need to use a different API: for example: frame := (0 @ 0 corner: 1.0 @ 1.0) asLayoutFrame topLeftOffset: 0 @ 50; bottomRightOffset: 0@50 negated. Thierry Le

[Pharo-dev] Proportional Layout does not work for me

2016-04-09 Thread kmo
I was just experimenting with creating a user interface in Pharo using Morphic. I wanted to create a sub-morph that fills its parent with a 50 pixel gap at the top and a 50 pixel gap at the bottom (leaving space for a toolbar at the top and a status bar at the bottom). This code works in pharo 3

Re: [Pharo-dev] new pharo cheatsheet

2016-04-09 Thread stepharo
Le 9/4/16 10:04, philippe.b...@highoctane.be a écrit : On Apr 9, 2016 9:54 AM, "olivier auverlot" > wrote: > > I think that it could be interesting to use it also on a simple HTML page for the Pharo web site. This document

Re: [Pharo-dev] new pharo cheatsheet

2016-04-09 Thread stepharo
Yes I should/may update it Le 8/4/16 22:03, Cyril Ferlicot Delbecque a écrit : On 08/04/2016 21:56, stepharo wrote: new cheatsheet for Pharo syntax. Any feedback is welcome Hi, The screen seems to be from Pharo 1 no? Stef

Re: [Pharo-dev] new pharo cheatsheet

2016-04-09 Thread Ben Coman
On Sat, Apr 9, 2016 at 3:52 PM, olivier auverlot wrote: > I think that it could be interesting to use it also on a simple HTML page > for the Pharo web site. This document can be put in the main menu > ("Beginners" ?) just before "Documentation". > > It's really cool

Re: [Pharo-dev] new pharo cheatsheet

2016-04-09 Thread Ben Coman
On Sat, Apr 9, 2016 at 3:56 AM, stepharo wrote: > new cheatsheet for Pharo syntax. > Any feedback is welcome So I really went to town and picked the eyes out of it... > #(abc 123) > literal array with the symbol #abc and the number 123 This one surprised me. I had to test it

Re: [Pharo-dev] new pharo cheatsheet

2016-04-09 Thread serge . stinckwich
Yes you are right. We have 2 students (3rd Year at University) here that have been exposed only to C or Java and they are totally index-intoxicated ... They can't reason on collections. Difficult for them to change their habits. Sent from my iPhone > On 9 avr. 2016, at 11:51, Stephan Eggermont

Re: [Pharo-dev] new pharo cheatsheet

2016-04-09 Thread Stephan Eggermont
On 09-04-16 10:55, Cyril Ferlicot D. wrote: I use Pharo since 1 year now and I had to use indexes only 3-4 times. Probably on day 1 and 2 :) The problem is that people new to Smalltalk have a background. If they have programming experience, it is likely with a language where indexes are

Re: [Pharo-dev] new pharo cheatsheet

2016-04-09 Thread olivier auverlot
@cyril +1 Le 9 avr. 2016 10:56 AM, "Cyril Ferlicot D." a écrit : > Le 08/04/2016 22:08, J.F. Rick a écrit : > > It looks good. I might mention that most data structures are 1 indexed > > as most other languages tend to be 0 indexed and that throws people new > > to the

Re: [Pharo-dev] new pharo cheatsheet

2016-04-09 Thread Cyril Ferlicot D.
Le 08/04/2016 22:08, J.F. Rick a écrit : > It looks good. I might mention that most data structures are 1 indexed > as most other languages tend to be 0 indexed and that throws people new > to the language. > I use Pharo since 1 year now and I had to use indexes only 3-4 times. I think it is

Re: [Pharo-dev] new pharo cheatsheet

2016-04-09 Thread philippe.b...@highoctane.be
On Apr 9, 2016 9:54 AM, "olivier auverlot" wrote: > > I think that it could be interesting to use it also on a simple HTML page for the Pharo web site. This document can be put in the main menu ("Beginners" ?) just before "Documentation". > > It's really cool to have

Re: [Pharo-dev] new pharo cheatsheet

2016-04-09 Thread olivier auverlot
I think that it could be interesting to use it also on a simple HTML page for the Pharo web site. This document can be put in the main menu ("Beginners" ?) just before "Documentation". It's really cool to have a synthesis document for the newcomers. 2016-04-09 8:09 GMT+02:00 Ben Coman

Re: [Pharo-dev] new pharo cheatsheet

2016-04-09 Thread philippe.b...@highoctane.be
On Apr 9, 2016 8:11 AM, "Ben Coman" wrote: > > On Sat, Apr 9, 2016 at 6:16 AM, Damien Pollet wrote: > > On 8 April 2016 at 22:57, Sven Van Caekenberghe wrote: > >> > >> Since we are simpler and more logical, a cheat sheet should not

Re: [Pharo-dev] new pharo cheatsheet

2016-04-09 Thread Ben Coman
On Sat, Apr 9, 2016 at 6:16 AM, Damien Pollet wrote: > On 8 April 2016 at 22:57, Sven Van Caekenberghe wrote: >> >> Since we are simpler and more logical, a cheat sheet should not confuse >> people by describing what we are not. > > > I beg to disagree.