Re: [Pharo-users] How can we celebrate the 50th anniversary of Smalltalk?

2020-01-04 Thread horrido
horrido wrote > https://medium.com/@richardeng/how-can-we-celebrate-the-50th-anniversary-of-smalltalk-e6b35dbc09a9 Amazingly, no one has any suggestions! I'm afraid the 50th anniversary will pass very quietly. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] can I make this so the vm would not be not responsibe when running the tests

2020-01-04 Thread tbrunz
Sean, I hope your comment doesn't discourage Roelof! I might agree that "mastery" of a given programming language could take a decade of working with it, but it doesn't take anywhere near that long to "learn" a programming language. There are other factors, such as whether or not you already know

Re: [Pharo-users] can I make this so the vm would not be not responsibe when running the tests

2020-01-04 Thread Sean P. DeNigris
Pharo Smalltalk Users mailing list wrote > im still not happy with my answer at this moment. Contrary to the delusion of "Learn [Programming Language] in 21 Days" or 7 minutes or 3 seconds or whatever the "code boot camps" are marketing these days, mastering any language (and by extension program

Re: [Pharo-users] why is my css not found in a seaside project

2020-01-04 Thread Richard Sargent
On Sat, Jan 4, 2020 at 2:17 AM Roelof Wobben via Pharo-users < pharo-users@lists.pharo.org> wrote: > Hello, > > I have this in my library class on the instance side : > > > updateRoot: anHtmlRoot > super updateRoot: anHtmlRoot. > anHtmlRoot stylesheet url: self class / #mainCss. > anHt

Re: [Pharo-users] why is my css not found in a seaside project

2020-01-04 Thread Sven Van Caekenberghe
You might want to read the following article: https://medium.com/concerning-pharo/reddit-st-in-10-cool-pharo-classes-1b5327ca0740 sections 7 & 8 are about the Seaside app, but it is simple enough to read completely. It is a bit old, but as far as I know, it should still work, especially the

Re: [Pharo-users] why is my css not found in a seaside project

2020-01-04 Thread Roelof Wobben via Pharo-users
--- Begin Message --- Op 4-1-2020 om 22:48 schreef Sven Van Caekenberghe: | app | app := WAAdmin register: YourWAComponent asApplicationAt: 'my-app'. app addLibrary: YourLibrary; Oke, so like I did in my last commit here : https://github.com/RoelofWobben/paintings but still I do n

Re: [Pharo-users] why is my css not found in a seaside project

2020-01-04 Thread Sven Van Caekenberghe
Yes, you typically put that code in a class side method, like #register. Then you can call #register from your class' #initialize if you want. The advantage is that your registration process is now written out programmatically, instead of being a UI procedure, so it is more repeatable, shareabl

Re: [Pharo-users] can I make this so the vm would not be not responsibe when running the tests

2020-01-04 Thread Roelof Wobben via Pharo-users
--- Begin Message --- Thanks for the lessson and its correct that English is not my mother language. Im from the Netherlands and were very bad at languages but good at math, science  and that sort of things at school. Some of the names as squareAt:  were g

Re: [Pharo-users] can I make this so the vm would not be not responsibe when running the tests

2020-01-04 Thread tbrunz
Richard Sargent wrote > One of the most important skills you will ever develop is to understand > that a request for a feature may not be accurately describing the problem. > A feature request is often a description of a problem from a single > perspective. Learning to recognize whether it is one o

Re: [Pharo-users] [ANN] Phoedown - Markdown to HTML

2020-01-04 Thread giorgio ferraris
Hello, first of all, have a wonderful 2020.. sorry for jumping in, I'm not a contributor to Pharo, and actually never a user of it ( when I work in Smalltalk, I use VW mostly, and still need to find the time to try Pharo seriously), but I do work in Smalltalk (and Pharo is a dialect of) from earl

Re: [Pharo-users] can I make this so the vm would not be not responsibe when running the tests

2020-01-04 Thread Richard Sargent
On Sat, Jan 4, 2020 at 10:37 AM Roelof Wobben via Pharo-users < pharo-users@lists.pharo.org> wrote: > Oke, > > So I can better not use recursion for this problem if I understand you > well, Richard. > That is oversimplifying. If the purpose of the *training* *exercise* is to learn how to use rec

Re: [Pharo-users] why is my css not found in a seaside project

2020-01-04 Thread Roelof Wobben via Pharo-users
--- Begin Message --- So, if I understand the seaside book well , I have to add this to the painting class : initialize  | app | app := WAAdmin register: YourWAComponent asApplicationAt: 'my-app'. app addLibrary: YourLibrary; or must I use another class and if so, which class. Roelof

Re: [Pharo-users] can I make this so the vm would not be not responsibe when running the tests

2020-01-04 Thread Roelof Wobben via Pharo-users
--- Begin Message --- Oke, So I can better not use recursion for this problem if I understand you well,  Richard. Roelof Op 4-1-2020 om 19:02 schreef Richard Sargent: On Sat, Jan 4, 20

Re: [Pharo-users] can I make this so the vm would not be not responsibe when running the tests

2020-01-04 Thread Richard Sargent
On Sat, Jan 4, 2020 at 9:47 AM Roelof Wobben via Pharo-users < pharo-users@lists.pharo.org> wrote: > Hello, > > For a exercism challenge I need to calculate the total grains on a > chessboard. > So I did : > > atSquare: anInteger > self validateInput: anInteger. > ^ anInteger = 1 >

Re: [Pharo-users] can I make this so the vm would not be not responsibe when running the tests

2020-01-04 Thread Joachim Tuchel
You can wrap the whole thing in a block and execute it in the background. Look for uses of fork: or forkAt: Joachim > Am 04.01.2020 um 18:46 schrieb Roelof Wobben via Pharo-users > : > >

[Pharo-users] can I make this so the vm would not be not responsibe when running the tests

2020-01-04 Thread Roelof Wobben via Pharo-users
--- Begin Message --- Hello, For a exercism challenge I need to calculate the total grains on a chessboard. So I did : atSquare: anInteger     self validateInput: anInteger.     ^ anInteger = 1         ifTrue: [ 1 ]         ifFalse: [ 2 * (self atSquare: anInteger - 1) ] but when I run the t

Re: [Pharo-users] why is my css not found in a seaside project

2020-01-04 Thread Roelof Wobben via Pharo-users
--- Begin Message --- Yes, I added it by using localhost:8080/config and then choose for the application. In the tutorial Im following that was the way the application is registered and the library. So where should I add the code you are saying to use. Here is the code I have so far: https:/

Re: [Pharo-users] why is my css not found in a seaside project

2020-01-04 Thread Sven Van Caekenberghe
Did you add your library to your application ? | app | app := WAAdmin register: YourWAComponent asApplicationAt: 'my-app'. app addLibrary: YourLibrary; > On 4 Jan 2020, at 11:58, Roelof Wobben via Pharo-users > wrote: > > > From: Roelof Wobben > Subject: Re: [Pharo-us

Re: [Pharo-users] why is my css not found in a seaside project

2020-01-04 Thread Roelof Wobben via Pharo-users
--- Begin Message --- Yes. it is callled Roelof Op 4-1-2020 om 11:48 schreef Sven Van Caekenberghe: Try putting a breakpoint inside the #updateRoot: of your library class. Is it even called ? On 4 Jan 2020, at 11:17, Roelof Wobben via Pharo-users wrote: From: Roelof Wobben Subject: why

Re: [Pharo-users] why is my css not found in a seaside project

2020-01-04 Thread Sven Van Caekenberghe
Try putting a breakpoint inside the #updateRoot: of your library class. Is it even called ? > On 4 Jan 2020, at 11:17, Roelof Wobben via Pharo-users > wrote: > > > From: Roelof Wobben > Subject: why is my css not found in a seaside project > Date: 4 January 2020 at 11:17:13 GMT+1 > To: Any q

[Pharo-users] why is my css not found in a seaside project

2020-01-04 Thread Roelof Wobben via Pharo-users
--- Begin Message --- Hello, I have this in my library class on the instance side : updateRoot: anHtmlRoot super updateRoot: anHtmlRoot. anHtmlRoot stylesheet url: self class / #mainCss. anHtmlRoot _javascript_ url: self class / #mainJs