Re: [Pharo-users] As a SmallTalk youngster: A few questions...

2019-08-17 Thread Jupiter Jones
Also if you add #FOO to UserGlobals you should be able to reference it like: FOO add: user ie. without the symbol hash (#) > On 17 Aug 2019, at 11:28 pm, ian wrote: > > --- > #FOO add: user > ---

Re: [Pharo-users] As a SmallTalk youngster: A few questions...

2019-08-17 Thread Jupiter Jones
> The difficulty I am having is that when I want to query the UserManager db > with something like: > > --- > RcIdentityBag(users) select: [ :each | each name := 'somename' ] > — Not sure if it’s just a typo, but it appears you’re trying to use assignment ( := ) rather than comparison ( = ) so

[Pharo-users] As a SmallTalk youngster: A few questions...

2019-08-17 Thread ian
Hi All, Learning; Please bear with me. Scenario: 1. Class>>User. InstVars: #(this that other userStatus userMeta) 2. Class>>UserManager (singleton). Instvars: users (RcIdentityBag: users) When User is instantiated all its' instVars are populated correctly. Nested objects as well. To insert

Re: [Pharo-users] Pharo 6.0 and 6.1 64 bit freeze on MacMini -also in 7.03

2019-08-17 Thread TedVanGaalen
Sorry for the later response. yes here too: resizing didn't cause problems. Drastic work around :o) : I have now installed Pharo 7.0 on my other Windows 10 PC, Using the Pharo Launcher. ** Everything works ok, on my windows machine. installed Seaside, my own app dev from .st fileins. etc. Great!

Re: [Pharo-users] Why do I not see the transactions when opening a customer

2019-08-17 Thread Roelof Wobben
Op 17-8-2019 om 12:33 schreef Richard O'Keefe: Good-oh. Looking at Bankaccounts  - the name should be singular, not plural  - Smalltalk uses baStudlyCaps  > Call it BankAccount.

Re: [Pharo-users] Why do I not see the transactions when opening a customer

2019-08-17 Thread Richard O'Keefe
Good-oh. Looking at Bankaccounts - the name should be singular, not plural - Smalltalk uses baStudlyCaps > Call it BankAccount. - you not only provide a getter for the password, but a setter! This means that malevolent/broken code can do aBankAccount password: 'PWNED!'. and then

Re: [Pharo-users] Why do I not see the transactions when opening a customer

2019-08-17 Thread Roelof Wobben
Sorry, then a pointed to a wrong repo this is the  repo with smalltalk code : https://github.com/rwobben/banking Roelof Op 17-8-2019 om 11:25 schreef Richard O'Keefe: https://github.com

Re: [Pharo-users] Why do I not see the transactions when opening a customer

2019-08-17 Thread Richard O'Keefe
https://github.com/rwobben/bankaccount points to a repository with C# code, so I cannot comment on the Smalltalk. There is, however, a striking thing about the C# code, qua C#, that is worth mentioning. It is not encapsulated. Let's start with the most obvious one. A bank account has a password,

Re: [Pharo-users] Why do I not see the transactions when opening a customer

2019-08-17 Thread Roelof Wobben
Op 17-8-2019 om 07:16 schreef Richard O'Keefe: What is the source of the challenge? Is there a version in English? I am having very serious trouble trying to make sense of "your bank accounts