[Pharo-users] Re: Silly question about storing and displaying currency amounts?

2021-08-30 Thread David Pennington
k or petrol prices which use 3 or 4 or even more > digits)? > > Joachim > > > > > > Am 30.08.21 um 14:31 schrieb Sven Van Caekenberghe: >> David, >> >>> On 30 Aug 2021, at 14:02, David Pennington wrote: >>> >>> Hi everyone. I have a li

[Pharo-users] Silly question about storing and displaying currency amounts?

2021-08-30 Thread David Pennington
Hi everyone. I have a little bank analysis package for my own use but having trouble displaying and storing amounts. I parse out a CSV file from the bank and convert the amounts from text to ScaledDecimal. I then store these into a STON file, which converts them back to text. I then read them

[Pharo-users] Re: Using new VM but can't find any log files

2021-08-28 Thread David Pennington
> On 28 Aug 2021, at 16:47, David Pennington wrote: > > Hi there. I have installed the new M1 VM that supposedly gives much better > information into a log file. However, my image is still disappearing such > that it now doesn’t last more than 12 hours before going.

[Pharo-users] Using new VM but can't find any log files

2021-08-28 Thread David Pennington
Hi there. I have installed the new M1 VM that supposedly gives much better information into a log file. However, my image is still disappearing such that it now doesn’t last more than 12 hours before going. I have searched for these log files but I can’t find any. Can anyone help me in this as

[Pharo-users] Re: Private Methods

2021-08-18 Thread David Pennington
I found this useful when creating commercial frameworks for VAST. For instance, in the printing framework, I used the idea of a turtle (from turtlegraphics) to create pages. All the turtle commands - turn(50) etc - were public but the code that actually created the printing code was all

[Pharo-users] Re: File-in Issue - Pharo 9

2021-08-16 Thread David Pennington
Drag and drop always works for me. DavidOn 16 Aug 2021 00:17, Craig Johnson wrote:Hi All, I just filed-out a small project that I playing with, and refreshed the image.  The new image cannot file-in the package from the File Browser. "Instance of RubSmalltalkEditor did not understand

[Pharo-users] Re: Zeroconf downloading latest rather than stable

2021-07-29 Thread David Pennington
Is there any one who can help with this? It must be possible to download the latest VM surely. David > On 27 Jul 2021, at 11:04, David Pennington wrote: > > Hi there. > > I have done a clean install of Pharo 9.0 using the zeroconf on get.pharo.org. > > I am using curl

[Pharo-users] Zeroconf downloading latest rather than stable

2021-07-27 Thread David Pennington
Hi there. I have done a clean install of Pharo 9.0 using the zeroconf on get.pharo.org. I am using curl https://get.pharo.org | bash When running the environment, I get a message at startup telling me that my VM is too old and that I should install a newer one - I am running it on an M1

[Pharo-users] Re: The Greatest Contributors to Smalltalk since 1980

2021-07-25 Thread David Pennington
If you knew Digitalk then remember the contribution that Eric Clayberg provided through the old Compuserve forums. A lot of us would never have got started if we hadn’t had that support. Eric’s knowledge and help got me going back with Mac System 7 and Digitalk back in 1990. David > On 25 Jul

[Pharo-users] Re: Problem installing 9.0 on MacMini M1

2021-06-16 Thread David Pennington
e, 15 Jun 2021, at 5:58 PM, Rob Sayers wrote: >> Hi, I can't help with the Pharo specific issue, but for installing brew, you >> can find the directions here: https://brew.sh/ <https://brew.sh/> >> >> On Tue, Jun 15, 2021 at 10:16 AM David Pennington > <mailto:da...@total

[Pharo-users] Problem installing 9.0 on MacMini M1

2021-06-15 Thread David Pennington
Hi everyone. It is your favourite newbie speaking :-) I have now got a new M1 MacMini which I want to configure up as a server for my Seaside apps. So far, I have found that the Mac mini doesn’t have wget or brew installed! I have sorted wget but not brew. Secondly, I have transferred all of

[Pharo-users] Re: And it goes on - How do I fix a missing repository

2021-06-03 Thread David Pennington
Surely, one of the bases of OO development is to subclass and extend existing classes? How can you code on the fly, as mentioned as one great benefit of Smalltalk, if you can’t set break points? I have lost you here. David > On 3 Jun 2021, at 08:39, Esteban Lorenzano wrote: > > I still do

[Pharo-users] And it goes on - How do I fix a missing repository

2021-06-01 Thread David Pennington
I am obviously out of the loop when it comes to all of this repository stuff. So, I have imported my 8.0 code into 9.0 but I can’t add an extension method to ScaledDecimal because a repository is missing. I check what to do and get sent to Iceberg. Somehow, as a newbie, I am supposed to

[Pharo-users] 9.0 My VM is too old

2021-05-27 Thread David Pennington
I am getting the VM too old error on startup with my V 9.0 image. Can I fix this? David

[Pharo-users] STON reader problem

2021-05-27 Thread David Pennington
rrors is this: Character 122 is at the conjunction of the 4 and 9 in the ewntryAmount: 5041216832887849/140737488355328s8, Any help on this would be great. I have a few thousand entries to fix if there is a problem with the file (although my code works fine with this file under 8.0) David Pennington

[Pharo-users] Re: New VM, how do I get it

2021-05-24 Thread David Pennington
/davidpennington/Documents/Pharo/images/Pharo 8.0 - 64bit (stable)). As my database relies on disk paths, this is going to create a difference between the two versions which surely should not be so. > On 24 May 2021, at 16:38, Stéphane Ducasse wrote: > > > >> On 24 May 2021, at 15:06

[Pharo-users] Re: New VM, how do I get it

2021-05-21 Thread David Pennington
ucasse wrote: > > you execute on a unix shell > > wget -O - https://get.pharo.org/vmLatest90 <https://get.pharo.org/vmLatest90> > | bash > > S > >> On 21 May 2021, at 13:16, David Pennington > <mailto:da...@totallyobjects.com>> wrote: >> >&

[Pharo-users] Re: New VM, how do I get it

2021-05-21 Thread David Pennington
gt; not magical; we will need to leave something aside. Also, future versions of > the Pharo Launcher will have support for detecting the architecture. > > In the meantime, Pharo 8 / 9 can be used without a problem with Rossetta, > although the performance is not ideal. > >

[Pharo-users] New VM, how do I get it

2021-05-18 Thread David Pennington
Hi there. I am currently using v8.0 on a new M1 MacBookAir. When I save the image I keep getting a message telling me that my VM is too old and to download a new one. I have looked in my Pharo Launcher but there is no new one there. What do I do please? David

[Pharo-users] Re: Seaside disappearing under Windows

2021-04-22 Thread David Pennington
16:13, Sven Van Caekenberghe wrote: > > David, > >> On 20 Apr 2021, at 17:01, David Pennington wrote: >> >> I have finally given up on trying to sort this out. Under both Windows >> Server 2012 and Windows 10 my Pharo image just exits leaving nothing, not >&

[Pharo-users] Re: Seaside disappearing under Windows

2021-04-20 Thread David Pennington
I am sure that I do. In any case both the Windows machines have double the memory of the Mac and the Mac is still going.On 20 Apr 2021 16:13, Sven Van Caekenberghe wrote:David, > On 20 Apr 2021, at 17:01, David Pennington wrote: > > I have finally given up on trying to sort this o

[Pharo-users] Re: Seaside disappearing under Windows

2021-04-20 Thread David Pennington
I have finally given up on trying to sort this out. Under both Windows Server 2012 and Windows 10 my Pharo image just exits leaving nothing, not even a crash file. Hence, I have fixed my MacBookAir so that it stays alive with the lid down and I am now using that as my Seaside server. It has

[Pharo-users] Re: Crash after http request, see the dump file

2021-04-16 Thread David Pennington
Nope. Just stderr. It is continuing to happy at random times so it is obviously connected to page requests. I have some logging in. Place so I have increased that to try and help get to the point where it happens. David > On 16 Apr 2021, at 15:45, Davide Varvello via Pharo-users > wrote: >

[Pharo-users] Re: Crash after http request, see the dump file

2021-04-15 Thread David Pennington
Sorry to but in here but I have just moved my Pharo/Seaside server software from my MacBookAir, where it has run without issue for the last couple of weeks, onto firstly a Lenovo desktop running Windows 2012 server and then, in frustration , onto a Dell laptop but it hasn’t managed to run for

[Pharo-users] Re: Problem with Pharo 9 - repositories missing

2021-04-12 Thread David Pennington
That worked perfectly. I copied the three files across, created a new VM, copied my database and (apart from a single issue) everything worked fine. Thank you so much for your help. It never occurred to me that this would be possible. There is one big difference between Windows and the Mac but

[Pharo-users] Recommended way to move a package

2021-04-03 Thread David Pennington
I have Pharo 8.0 on my MacBookAir and Pharo 9.0 on my server. I have having lost of trouble doing what I thought would be a simple process - File out a package on one and file it in on the other but I having lo=ts of trouble - to many issues to document to be honest. So, tell me, how do I do

[Pharo-users] Re: Problem installing Seaside on Windows

2021-04-02 Thread David Pennington
name as you have taken. Change it to very short like p8-1 to keep image file name and consequently the folder name length to a minimum Then install seaside. If that doesn't work repost and we will try still another option Regards Sanjay On Fri, 2 Apr, 2021, 9:36 pm David Pennington, wrote

[Pharo-users] Re: Problem installing Seaside on Windows

2021-04-02 Thread David Pennington
ename or extension is too long. " Any thoughts? On 22/03/2021 18:18, David Pennington wrote: I am sorry but github is a mystery to me. I installed all of this on my mac with no troubles. Surely it can't be anymore difficult on PC? On 22 Mar 2021 18:05, Stéphane Ducasse wrote: david

[Pharo-users] Startup warning

2021-04-01 Thread David Pennington
I am getting the following in the Transcript. Where do I go to change this please? WARNING: Had to increase size of semaphore signal handling table due to many external objects concurrently in use You should increase this size at startup using #maxExternalSemaphoresSilently: Current table size:

[Pharo-users] Re: Connecting to a MongoDB Atlas Cluster

2021-03-25 Thread David Pennington
If you are on Windows,  use curl and wire shark to see what is needed. Thats what I did to connect to RiakDBOn 18 Mar 2021 11:43, Sanjay Minni wrote:Hi can anyone pls help me with an example of connecting to a MongoDB Atlas cluster (their cloud service). My Atlas cluster replica set is at

[Pharo-users] Re: Problem installing Seaside on Windows

2021-03-23 Thread David Pennington
> Because Pharo is just using libgit. > > S. > >> On 22 Mar 2021, at 18:58, David Pennington wrote: >> >> Tried that. I got the following >> >> Failed to get server certificate: the handle is in the wrong state for the requested operation.

[Pharo-users] Re: Problem installing Seaside on Windows

2021-03-22 Thread David Pennington
is just using libgit. S. On 22 Mar 2021, at 18:58, David Pennington <david@totallyobjects.com> wrote:Tried that. I got the followingFailed to get server certificate: the handle is in the wrong state for the requested operation. I assume that someone thinks that this is helpful:-)On 22 Mar 2021

[Pharo-users] Re: Problem installing Seaside on Windows

2021-03-22 Thread David Pennington
Tried that. I got the followingFailed to get server certificate: the handle is in the wrong state for the requested operation. I assume that someone thinks that this is helpful:-)On 22 Mar 2021 16:06, Sanjay Minni wrote:Hi David, I have repeatedly installed Seaside on Pharo 8 / 9 64 bit -

[Pharo-users] Problem installing Seaside on Windows

2021-03-22 Thread David Pennington
Hi everyone. I have been developing a new web site using Seaside on my M1 MacBookAir and I have had no issues. To deploy it, I have to install Pharo on either a Windows 10 or a Windows Server 2012 server. Pharo has installed on both without any issues. However, I am having problems installing

[Pharo-users] Code not showing all items in directory

2021-03-07 Thread David Pennington
Hi there. I am a long time user of VAST recently moved to Pharo. I have a directory that contains 20 JSON items. I am using the following code to load all of them into a collection. bucketList | top fileDirectory bucketList nameList | top := FileSystem disk

[Pharo-users] Sharing classes between packages

2021-03-01 Thread David Pennington
I have a small Key/Value database that I have written for my Seaside apps. I have one Package - Family-Accounts which defines the classes for this database. I am now writing a new Seaside app (IPMSClacton) that will also need to use the database. How do I share the code between the two

[Pharo-users] Re: Problem when loading Pharo 9.0

2021-02-17 Thread David Pennington
I have been struggling all afternoon trying to install Pharo 9.0 on my M1 Mac. I have finally got everything loaded - 9.0 + Seaside, IniFile and STON. However, I am having some difficulty getting my software to run correctly. Firstly, when I try and import the STON objects from file I get an

[Pharo-users] Re: Problem with Dictionary and Associations

2021-02-16 Thread David Pennington
Thank you, where do I get Pharo 9? > On 16 Feb 2021, at 19:44, Stéphane Ducasse wrote: > > Hello David, > > We just sent an update and a blog post to get the new VM and install it. > So let us know. I think that Pharo will be a lot snappier because Rosetta is > slowing Pharo a lot. > > S >

[Pharo-users] A question about packaging

2021-02-16 Thread David Pennington
Hi everyone. I have been using Pharo sine I got my M1 MacBookAir in late December. Before then, I was a VAST user since around 1995. I have a question about packaging. Example, in VAST, I have an Application called Family_Accounts. Inside that I have some classes such as FAEntry, FABudget and

[Pharo-users] Re: StackVM for M1 ready

2021-02-16 Thread David Pennington
I can’t wait. My M1 M On 16 Feb 2021, at 19:38, Stéphane Ducasse wrote: > > Hello happy Pharoers > > Today we could access our building where the M1 machine is and Pablo packaged > it > so that you can test the first version. > > Pablo wrote a little blog post for you. > >

[Pharo-users] Re: Problem with Dictionary and Associations

2021-02-13 Thread David Pennington
And so far I think that we are doing super good. You see > like the first ARM64 bits based JIT > and the first VM for M1 machine. > > BTW for the new mac machines, we can give you access to a VM that is going > faster than the Rosetta one. > > S. > > > >> On

[Pharo-users] Re: Problem with Dictionary and Associations

2021-02-13 Thread David Pennington
021, at 16:20, Stéphane Ducasse wrote: > > Thanks david. > Do you have a visual? > Preferably in Pharo? > > S. > >> On 13 Feb 2021, at 13:40, David Pennington > <mailto:da...@totallyobjects.com>> wrote: >> >> OK, here goes. >> >>

[Pharo-users] Re: Problem with Dictionary and Associations

2021-02-13 Thread David Pennington
a good few frameworks for VAST so, now that my program is running successfully, I will have a look and see if I can port anything else. Watch this space. David Pennington Totally Objects (Http://www.totallyobjects.com <http://www.totallyobjects.com/>) > On 13 Feb 2021, at 11:09, Stéphan

[Pharo-users] Re: Problem with Dictionary and Associations

2021-02-11 Thread David Pennington
tryObjectFrom:, and see what > exactly it does with the junk in your .dat file. > > HTH > > Peter Kenny > > > -Original Message- > From: David Pennington > Sent: 11 February 2021 16:46 > To: Any question about pharo is welcome > Subject: [Pharo-users] Re: Pro

[Pharo-users] Re: Problem with Dictionary and Associations

2021-02-11 Thread David Pennington
this is STON not JSON). > > What I do see in the input is junk after the last } > > That can happen when you overwrite an existing file with shorter content. You > should truncate such a file. > > From your screenshot I can see nothing wrong, #entryAmount seems an existing >

[Pharo-users] Re: Problem with Dictionary and Associations

2021-02-11 Thread David Pennington
github.com/pharo-project/pharo/issues/8411>? > > Pierre > > On 11/02/2021 16:33, David Pennington wrote: >> I attach a couple of screen shots and a file containing the item that I am >> trying to open. What else can I supply? This has been working for a couple >

[Pharo-users] Re: Is there a file selector in Pharo

2021-01-27 Thread David Pennington
il means that > dialog was canceled. > > Thanks > Torsten > > > David Pennington wrote: > > > > I am moving to Pharo from VisualAge Smalltalk as I am now using an M1 > > MacBook. > > > > I am building software to manage our home accounts

[Pharo-users] Is there a file selector in Pharo

2021-01-27 Thread David Pennington
I am moving to Pharo from VisualAge Smalltalk as I am now using an M1 MacBook. I am building software to manage our home accounts and to do this, I download each day a text file from my bank that contains about 1 month’s worth of transactions. In VAST, I use a FileSelector that opens a window