Re: [Pharo-users] next sttep after the example tutorial

2014-11-07 Thread Roelof Wobben
tutorials. if you got Pharo 3 or 4 , finder should be in the tools section of world menu.  On Fri, Nov 7, 2014 at 8:13 PM, Roelof Wobben r.wob...@home.nl wrote: oke, are there books / tutorials I c

Re: [Pharo-users] next sttep after the example tutorial

2014-11-07 Thread Roelof Wobben
a module ?  On Fri, Nov 7, 2014 at 10:45 PM, Roelof Wobben r.wob...@home.nl wrote: Thanks, I can see a choice finder but as far as I can see I cannot use it for modules

[Pharo-users] best solution to store data

2014-09-02 Thread Roelof Wobben
Hello, I want to try to make a financial app for a organisation. There are some 50 customers so also 50 invoices a year. Then the payments . Also 50 a year. Cash and bank accounts . Every month some 10 - 20 things. So on my disk on the programm I now use it costs me some 30 - 50 Kb a year.

Re: [Pharo-users] best solution to store data

2014-09-02 Thread Roelof Wobben
to serialize a graph of objects to disk. You can also have a look at SandstoneDB, it's pretty small and some people use it. Cheers, Francois On Tue, Sep 2, 2014 at 8:17 AM, Roelof

Re: [Pharo-users] best solution to store data

2014-09-02 Thread Roelof Wobben
attention that images can get corrupted so I would in addition use a file based approach (STON or whatever). Cheers, Francois On Tue, Sep 2, 2014 at 8:17 AM, Roelof

Re: [Pharo-users] best solution to store data

2014-09-02 Thread Roelof Wobben
Hello Estaban. Do you have a tutorial or a example how I can store my data in objects. Roelof Esteban Lorenzano schreef op 2-9-2014 15:23: problem with relational databases is that they do not match really

[Pharo-users] free learnig book

2014-04-07 Thread Roelof Wobben
Hello, I wonder if there is a free book with a lot of exercises so I can practice and learn a lot about Smalltalk. Roelof

Re: [Pharo-users] free learnig book

2014-04-07 Thread Roelof Wobben
Jean Baptiste Arnaud schreef op 7-4-2014 8:58: Steph keeps some treasure: http://stephane.ducasse.free.fr/FreeBooks.html On 07 Apr 2014, at 08:43, Roelof Wobben r.wob...@home.nl wrote

[Pharo-users] lasergame problem with Blankcell

2014-04-02 Thread Roelof Wobben
Hello, On the first part I have to make a class named BlankCell which is a subclass of TestCase. So far no problem. But when you are on the MirrorCell part BlankCell must be a subclass of Cell. But then the tests will fail because should: cannot be found. The manual says nothing about

Re: [Pharo-users] lasergame problem with Blankcell

2014-04-02 Thread Roelof Wobben
Camille Teruel schreef op 2-4-2014 13:40: On 2 avr. 2014, at 13:21, Roelof Wobben r.wob...@home.nl wrote: Hello, On the first part I have to make a class named BlankCell which

Re: [Pharo-users] lasergame problem with Blankcell

2014-04-02 Thread Roelof Wobben
Mark Rizun schreef op 2-4-2014 13:51: Hi, You probably misunderstood the task. On the first part I have to make a class named BlankCell which is a

Re: [Pharo-users] lasergame problem with Blankcell

2014-04-02 Thread Roelof Wobben
Mark Rizun schreef op 2-4-2014 14:22: And only on this method the test fail on should: testCellOnState | cell | cell := BlankCell new.

Re: [Pharo-users] lasergame problem with Blankcell

2014-04-02 Thread Roelof Wobben
Mark Rizun schreef op 2-4-2014 14:58: Does this test fails to assert something or it throws you some error? Like I said earlier it fails with this message: MessageNotUnderstood: BlankCell should. Which I find wierd because I use should: also on the other test methods off BlankCell and

Re: [Pharo-users] lasergame problem with Blankcell

2014-04-02 Thread Roelof Wobben
Mark Rizun schreef op 2-4-2014 15:07: Could you give me the code of test that fails? I can but I did already. The code is : testCellOnState | cell | cell := BlankCell new. cell should: [ cell isOff ]. cell shouldnt: [ cell isOn ]. And this is a code which

Re: [Pharo-users] lasergame problem with Blankcell

2014-04-02 Thread Roelof Wobben
Mark Rizun schreef op 2-4-2014 15:16: The mistake is simple. You have to write as follows (just replace cell for self in two lines before should and shouldnt): testCellOnState | cell |

Re: [Pharo-users] leansleft problem

2014-04-02 Thread Roelof Wobben
Nicolai Hess schreef op 2-4-2014 17:05: 2014-04-02 16:40 GMT+02:00 Roelof Wobben r.wob...@home.nl: If I understood everything well on page 26 my Cell initialize must look like

Re: [Pharo-users] Pharo 1

2014-04-01 Thread Roelof Wobben
Pharo4Stef schreef op 1-4-2014 8:22: On which os are you? The new image on mac should be under the ressources folder and the script just opens the default one. Im on Windows 7 at the moment. Roelof

[Pharo-users] lasergame question

2014-04-01 Thread Roelof Wobben
Hello, Im on this page now: http://squeak.preeminent.org/tut2007/html/017.html I do not understand one thing. Where do I put the initialize script When I put it on the initializeActiveSegments then initialize get not found. Or must I make a seperate protocol named ActiveSegments for it. If I

Re: [Pharo-users] lasergame question

2014-04-01 Thread Roelof Wobben
Camille Teruel schreef op 1-4-2014 15:08: On 1 avr. 2014, at 14:52, Roelof Wobben r.wob...@home.nl wrote: Hello, Hello, Im on this page now: http://squeak.preeminent.org/tut2007/html/017.html I do not understand one thing. Where do I put the initialize script #initialize is not a script

Re: [Pharo-users] lasergame question

2014-04-01 Thread Roelof Wobben
Camille Teruel schreef op 1-4-2014 16:34: On 1 avr. 2014, at 16:21, Roelof Wobben r.wob...@home.nl wrote: Camille Teruel schreef op 1-4-2014 15:08: On 1 avr. 2014, at 14:52, Roelof

Re: [Pharo-users] lasergame question

2014-04-01 Thread Roelof Wobben
Nicolai Hess schreef op 1-4-2014 16:44: 2014-04-01 16:21 GMT+02:00 Roelof Wobben r.wob...@home.nl: Camille Teruel schreef op 1-4-2014 15:08

Re: [Pharo-users] lasergame question

2014-04-01 Thread Roelof Wobben
Ben Coman schreef op 1-4-2014 17:13: Camille Teruel wrote: On 1 avr. 2014, at 16:50, Roelof Wobben r.wob...@home.nl wrote: Nicolai Hess schreef op

[Pharo-users] create instance var accesors from menu (Pharo 3.0)

2014-04-01 Thread Roelof Wobben
Hello, On squeeze 3.9 you can make them with a menu. Is there a simular way I can do the same in Pharo 3.0 ? Roelof

Re: [Pharo-users] lasergame question

2014-04-01 Thread Roelof Wobben
Mark Rizun schreef op 1-4-2014 18:12: Hello, Roelof! Stef is partly right. I had implemented Laser Game but on Squeak, not Pharo. If you have any questions, ask me and I will try to help you. Mark First question : I had a working test. I saved it to my hard disk. Closed Pharo . re open it

Re: [Pharo-users] still failing test - spoiler/answer

2014-03-31 Thread Roelof Wobben
Ben Coman schreef op 31-3-2014 2:44: Ben Coman wrote: Roelof Wobben wrote: Ben Coman schreef op 30-3-2014 20:12: Roelof Wobben wrote: Hello, I trying to make the make you own method work. So I first I added this : testShout self assert: ('Don''t panic' shout = 'DONT PANIC!') After

[Pharo-users] Pharo 1

2014-03-31 Thread Roelof Wobben
Hello, Im busy with book 1 and I work with version 1 Now this morning I did some changes and save it under a name. But when I just start up Pharo I see the pharo1.img again without my changes. And I also do not see a menu where I can choose which image I want to use as version 2 of Pharo

Re: [Pharo-users] Pharo 1

2014-03-31 Thread Roelof Wobben
Stephan Eggermont schreef op 31-3-2014 14:37: Hello Roelof, That is a disadvantage of having a one-click that opens everywhere. It contains a script telling the executable which image to open. You should be able to find your image, and drag it onto the vm to open. If you just gave it a

Re: [Pharo-users] Pharo 1

2014-03-31 Thread Roelof Wobben
Stephan Eggermont schreef op 31-3-2014 15:35: Two things come to mind: - method names start with lowercase CellsPerSide you are right, I mistyped that one. I wil change it - did you make cellsPerSide into a separate method? You mean choose all and then type in the text. nope, if that is

Re: [Pharo-users] Pharo 1

2014-03-31 Thread Roelof Wobben
Camille Teruel schreef op 31-3-2014 15:49: On 31 mars 2014, at 15:43, Roelof Wobben r.wob...@home.nl wrote: Stephan Eggermont schreef op 31-3-2014 15:35: Two things come to mind: - method names start with lowercase CellsPerSide you are right, I mistyped that one. I wil change it - did

[Pharo-users] challenges

2014-03-31 Thread Roelof Wobben
Hello, I almost get book 1 ready. Now I wonder if there are challenges so I can practise more in Smaltalk. I know I learn the best by doing things and not just read about it. I like the most if the challenges can start at simple and get more complex . As example what I mean is 99

Re: [Pharo-users] challenges

2014-03-31 Thread Roelof Wobben
Ben Coman schreef op 31-3-2014 18:30: Roelof Wobben wrote: Hello, I almost get book 1 ready. Now I wonder if there are challenges so I can practise more in Smaltalk. I know I learn the best by doing things and not just read about it. I like the most if the challenges can start at simple

Re: [Pharo-users] example does not work

2014-03-30 Thread Roelof Wobben
Ben Coman schreef op 30-3-2014 4:59: Roelof Wobben wrote: p...@highoctane.be schreef op 29-3-2014 16:36: Get the morph examples in the pharoextras smalltallhub repo. Some please point the correct location as I am on a mobe. Thanks, Can then also someone tell me how I can load

[Pharo-users] Loop problem on Dr Stef

2014-03-30 Thread Roelof Wobben
Hello, When I select this part: 1 to: 100 do: [:i | Transcript show: i asString; cr ]. And do print it. I only see 1 where I expected to see all the numbers from 1 till 100. What went wrong ? Roelof

Re: [Pharo-users] Loop problem on Dr Stef

2014-03-30 Thread Roelof Wobben
: Hello, You should open Transcript, and than do it, instead of print it. Mark 2014-03-30 14:45 GMT+03:00 Roelof Wobben r.wob...@home.nl: Hello, When I select

[Pharo-users] writing my own method problem .

2014-03-30 Thread Roelof Wobben
Hello, I have to make my own method but when I enter this: testShout self.assert: ( 'Do not panic' shout = DO NO PANIC) The editor makes this : testShout self. Nothing more expected -assert: ( 'Do not panic' shout = DO NO PANIC) And I do not get a message that shout does not exist.

Re: [Pharo-users] writing my own method problem .

2014-03-30 Thread Roelof Wobben
Esteban Lorenzano schreef op 30-3-2014 16:31: you are using a dot: self DOT assert: is wrong syntax. you need just a space: self assert: Esteban On 30 Mar 2014, at 11:26, Roelof Wobben r.wob...@home.nl wrote: Hello, I have to make my own method but when I enter this: testShout

[Pharo-users] still failing test

2014-03-30 Thread Roelof Wobben
Hello, I trying to make the make you own method work. So I first I added this : testShout self assert: ('Don''t panic' shout = 'DONT PANIC!') After that I added this as described in the book. shout ^ self asUppercase. ! But still the testrunner gives that there is a failing test on

Re: [Pharo-users] still failing test

2014-03-30 Thread Roelof Wobben
Ben Coman schreef op 30-3-2014 20:12: Roelof Wobben wrote: Hello, I trying to make the make you own method work. So I first I added this : testShout self assert: ('Don''t panic' shout = 'DONT PANIC!') After that I added this as described in the book. shout ^ self asUppercase

[Pharo-users] 64 bit version

2014-03-29 Thread Roelof Wobben
Hello, Is there a 64 bit version of Pharo. I use a 64 bit version without the 32 bit libraries so no multilib Roelof

Re: [Pharo-users] 64 bit version

2014-03-29 Thread Roelof Wobben
there is no such thing. Fortunately most open source libraries out there still compile for 32 bit so you should not experience any major issues. On Sat, Mar 29, 2014 at 3:03 PM, Roelof Wobben r.wob...@home.nl wrote: Hello

[Pharo-users] example does not work

2014-03-29 Thread Roelof Wobben
Hello, I have downloaded version2 on Windows 7. Now Im following chapter 1 and have to type BouncingAtomsMorph new openInWorld and then choose do it. But instead of seeing bouncing balls I see a message that BouncingAtomsMorph unknown variable. How to make it work ? Roelof

Re: [Pharo-users] 64 bit version

2014-03-29 Thread Roelof Wobben
kilon alios schreef op 29-3-2014 16:07: what pure means ? as far I know a lib can be either 64 or 32 bit , but not both. Yes you will need the 32 bit version to work it with pharo, of course you still going to need a FFI like nativeboost or to write a VM plugin to get it to work from inside

Re: [Pharo-users] example does not work

2014-03-29 Thread Roelof Wobben
p...@highoctane.be schreef op 29-3-2014 16:36: Get the morph examples in the pharoextras smalltallhub repo. Some please point the correct location as I am on a mobe. Thanks, Can then also someone tell me how I can load the examples. I just begin with smalltalk so I have a lot to learn.

Re: [Pharo-users] 64 bit version

2014-03-29 Thread Roelof Wobben
Pharo4Stef schreef op 29-3-2014 16:02: no yet. Planned for the end of the year. Stef Hello, Is there a 64 bit version of Pharo. I use a 64 bit version without the 32 bit libraries so no multilib Roelof Thanks, then I have to be patience to run Smalltalk on my 64 bit box. Roelof

Re: [Pharo-users] example does not work

2014-03-29 Thread Roelof Wobben
Nicolai Hess schreef op 29-3-2014 17:44: 2014-03-29 16:36 GMT+01:00 p...@highoctane.be p...@highoctane.be: Get the morph examples in the pharoextras smalltallhub repo. Some

[Pharo-users] where can I find the prefences so I make the meta-click workable

2014-03-29 Thread Roelof Wobben
Hello, According to the Pharo by exampkle tutorial I have to do system preferences to see the menu where I can change the keyboard to make a meta-click work, But there is no preferences choice. I have looked at system settings system but also there no keyboard. Does anyone know where the

[Pharo-users] Cannot find the method and Class window

2014-03-29 Thread Roelof Wobben
Hello, According to the tutorial im following these schould be in the world menu. But on 2.0 I cannot find them. Where can I find them. At this moment, it's a rocky start of Pharo. Roelof

Re: [Pharo-users] Cannot find the method and Class window

2014-03-29 Thread Roelof Wobben
Esteban Lorenzano schreef op 29-3-2014 19:58: Hi, you are using incorrect version of pharo. to follow the Pharo by Example book you need to download the right version:

Re: [Pharo-users] Cannot find the method and Class window

2014-03-29 Thread Roelof Wobben
Esteban Lorenzano schreef op 29-3-2014 20:27: On 29 Mar 2014, at 16:23, Roelof Wobben r.wob...@home.nl wrote: Esteban Lorenzano schreef op 29-3-2014 19:58

Re: [Pharo-users] example does not work

2014-03-29 Thread Roelof Wobben
Pharo4Stef schreef op 29-3-2014 21:12: do not hesistate to ask questions. and have fun :) stef Thanks, I can find the interactive tutorial on the help. But how can I start it on 2.0 Roelof

<    1   2   3   4