[Pharo-users] Re: Whats the easiest/cheapest way to run a Pharo web app in 2021?

2021-04-12 Thread Jeff Gray
LOL - Yes, time marches forward, and definitely an old dog :-) That ( and some of the other services mentioned already) is pretty inexpensive. What storage do you get for your 3 euros? -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

[Pharo-users] Re: Whats the easiest/cheapest way to run a Pharo web app in 2021?

2021-04-11 Thread Jeff Gray
Considering easiest and cheapest, there's always self hosting, or are you discounting that idea? Most geeks have a bit of spare hardware laying around and broadband up-speeds aren't too bad. I'm guessing that if we are in the $5 a month ball park then we aren't needing a guaranteed up time.

Re: [Pharo-users] Want to contribute.... it is easy

2020-06-23 Thread Jeff Gray
Are there any that you would prioritise, or just a top to bottom? And are we assuming American or British English? -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] DateTime now nanos

2020-06-17 Thread Jeff Gray
\test.db'. conn open. sql := 'insert into person (active, created, first_name, last_name) values ("Y", ?, "Jeff", "Gray")'. bindings := OrderedCollection new. bindings add: DateAndTime now. conn execute: sql with: bindings. conn close. Then I wrote this to pull

Re: [Pharo-users] DateTime now nanos

2020-06-16 Thread Jeff Gray
Thanks Pierce. I thought I had to transform them myself. Need to play more... -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] DateTime now nanos

2020-06-15 Thread Jeff Gray
Wow thanks all. Interesting topic. I think the short answer I can glean here is use a string. I wasn't sure as the SQLite doco suggested either string or number and number felt the right thing to choose. Clearly not :-) -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] DateTime now nanos

2020-06-15 Thread Jeff Gray
Thanks Steph. Running a similar experiment using ZTimestamp: |ts1 ts2| ts1 := ZTimestamp now. tsNumber := ts1 asUnixTime. ts2 := ZTimestamp fromUnixTime: tsNumber. Transcript cr; show: ts1. Transcript cr; show: ts2. I get the output: 2020-06-15T07:05:59Z 2020-06-15T07:05:59Z -- Sent from:

Re: [Pharo-users] DateTime now nanos

2020-06-15 Thread Jeff Gray
I expect you are right. I generally won't be looking for an exact match, even down to time. Maybe a date match, but yes more often it would be greater than less than etc. Maybe I should just be asking what people normally do to store dates in SQLite. (I'm guessing there aren't that many...) --

Re: [Pharo-users] DateTime now nanos

2020-06-15 Thread Jeff Gray
I know what you mean although with something as ubiquitous as a date, which may be initiated from a ui control, or initialised to now, or some other date, like now, or midnight etc, I wouldn't expect to wrap that up in anything. It's hard to say as I'm just working on a persistence layer right

[Pharo-users] DateTime now nanos

2020-06-14 Thread Jeff Gray
Hi all. In Playground I write these lines: Transcript cr; show: DateAndTime now printString. Transcript cr; show: (DateAndTime fromSeconds: (DateAndTime now asSeconds)) printString. and in the Transcript window I get these results: 2020-06-15T14:33:06.630367+10:00 2020-06-15T14:33:06+10:00 I

Re: [Pharo-users] Stale SQLite connection

2020-03-16 Thread Jeff Gray
Hey Vince! Yes it's me. Hope you're well. Those meetings were fun. Shame they petered out, though I now live much further away so I wouldn't be attending anymore. Yep - that lazy eval looks very similar to my code. I think that in general operation, my application would not normally have a

[Pharo-users] Stale SQLite connection

2020-03-12 Thread Jeff Gray
In my code I'm opening a sqlite connection and keeping it open rather than opening and closing one on each transaction. Generally it's working well. I often save and close my image. When I then reopen the image I still have a connection and it says it's open, but using it gives me an error. This

Re: [Pharo-users] sqlite garage

2020-01-30 Thread Jeff Gray
Must have missed the memo Thanks. I'll check it out! -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] sqlite garage

2020-01-29 Thread Jeff Gray
Just thought I'd revisit this as it's been in the back of my mind all this time and I finally found out. Of course, the answer was there in front of me - I just had to look at the tests! If anyone else is interested the connection string has to be in the following format:

Re: [Pharo-users] Connection Timed Out

2019-09-03 Thread Jeff Gray
My code creates a mail message and adds it to a collection. Then in a forked process I read the collection of messages one by one and attempt to send them. It uses a timer to wait and try again, stopping only when the message collection is empty. I can share my code (it's far from enterprise

Re: [Pharo-users] Connection Timed Out

2019-09-02 Thread Jeff Gray
Have you tried manually opening up the gmail account you are sending from in the browser and looking for anything funny? I have had similar issues where the gmail was needing a security prompt/response. I wrote a service to send mails asynchronously (in case the gmail connection was down and

Re: [Pharo-users] Garage

2019-08-18 Thread Jeff Gray
Thanks Sven. Lol - that's a brave new world for me. I have just been a lazy consumer to date! I will attempt to dip a toe into the community proper -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

[Pharo-users] Garage

2019-08-15 Thread Jeff Gray
Is anyone maintaining garage? I get some errors in Pharo 7, which I have patched as I have needed to. Looked in the GitHub repository and last update was back in September. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

[Pharo-users] Bootstrap3 to Bootstrap 4

2019-08-14 Thread Jeff Gray
I have moved my code from using Bootstrap 3 to Bootstrap 4. There were a few updates I had to make and overall it seems cleaner. The one thing I can't seem to convert is informSuccess. There doesn't seem to be an equivalent in Bootstrap 4. For now I am using the vanilla Seaside inform, which is

[Pharo-users] Catalogue Browser - Bootstrap 4

2019-08-09 Thread Jeff Gray
So Bootstrap 4 has just come on to my radar - thanks Esteban. I usually look for things in the Catalogue Browser. Is that no longer the place to go? Do I need to get into searching Git instead? -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Warning Newbie Question: Bootstrap Navbar example works my copy and paste fails?

2019-08-01 Thread Jeff Gray
Have I missed something? Is there a pharo Bootstrap 4? How do I get that? -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

[Pharo-users] seaside hosting

2019-06-19 Thread Jeff Gray
Are there options for hosting seaside apps? I had a look round but didn't see much. I could run it from home I suppose. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

[Pharo-users] sqlite garage

2019-06-19 Thread Jeff Gray
anyone using Garage for accessing SQLite? I am using Garage for MySQL in Pharo 7 on windows and it all works seamlessly but I don't know what connection string to use to connect to a database file that I have in my pharo directory. -- Sent from:

Re: [Pharo-users] Modeling HABTM

2019-06-12 Thread Jeff Gray
This may not be a very object thing to say but if you have a relational database with tables for episode, track and play like in Christopher's diagram, you may not need a class to model play. As it is just a repository for a set of links I might just have a method on an Episode class that calls

Re: [Pharo-users] Pharo 7.0.3 Seaside 3

2019-05-26 Thread Jeff Gray
Righto! Done. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Pharo 7.0.3 Seaside 3

2019-05-26 Thread Jeff Gray
I should have mentioned I was running the 64 bit version. I just downloaded the version 7 32 bit image and vm and Seaside downloaded fine -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Pharo 7.0.3 Seaside 3

2019-05-26 Thread Jeff Gray
Turning off iceberg integration gets me further. If I then load the tonal branch I get an error: ZnUnknownScheme -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Pharo 7.0.3 Seaside 3

2019-05-26 Thread Jeff Gray
Same problem with ZTimestamp. However, I tried Complex and that worked ok -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Pharo 7.0.3 Seaside 3

2019-05-25 Thread Jeff Gray
In fact, if I just do the first statement: Metacello new baseline:'Seaside3'; repository: 'github://SeasideSt/Seaside:master/repository'; get. Pharo closes -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Pharo 7.0.3 Seaside 3

2019-05-25 Thread Jeff Gray
Same result with that script. Pharo just closes -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Pharo 7.0.3 Seaside 3

2019-05-25 Thread Jeff Gray
Just tried an experiment as I haven't used netstat before. I opened a Pharo 6 image with seaside running. Netstat showed a line for 8080. I closed that image, ran netstat again and the 8080 line was gone. So, I'm fairly certain that 8080 isn't being used. -- Sent from:

Re: [Pharo-users] Pharo 7.0.3 Seaside 3

2019-05-25 Thread Jeff Gray
Just as I'd not used Netstat before I tried an experiment. I fired up a Pharo 6 image which has seaside installed and serving content. Ran Netstat and saw the line for port 8080. Then closed that image and ran netstat again and the 8080 line was gone. So I think I'm safe - 8080 not being used.

Re: [Pharo-users] Pharo 7.0.3 Seaside 3

2019-05-25 Thread Jeff Gray
Nothing showed up running netstat, and I tried rebooting just in case something in memory but no, 8080 is not being used. I have checked that I can get other packages. Garage loaded with no problem. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Pharo 7.0.3 Seaside 3

2019-05-25 Thread Jeff Gray
I'll try iceberg later but I just tried this: Metacello new baseline:'Seaside3'; repository: 'github://SeasideSt/Seaside:master/repository'; load Similar to the browser Pharo just closes. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

[Pharo-users] Pharo 7.0.3 Seaside 3

2019-05-25 Thread Jeff Gray
Hey all, Apologies if this one has been done to death. I am on windows 10. Just downloaded a fresh image, 7.0.3 and tried loading Seaside 3 from the catalogue browser. I get the 'Seaside 3 has not been marked as tested for Pharo 7.0.3' dialog but press Yes to continue. It looks like it starts to

Re: [Pharo-users] Sending emails

2018-09-20 Thread Jeff Gray
After trawling through some of the older posts it sounds like an external mail handling service may be the way to go, or I just stick with Gmail. There are some quite generous email services that give in the region of 10,000 mails a month for no charge. -- Sent from:

[Pharo-users] Sending email

2018-09-20 Thread Jeff Gray
Hi all, I can use the ZdcSecureSMTPClient to send emails from a Gmail account but I have tried to do the same from a Microsoft live account without success. It times out on the connection. Do I just need to work out what's wrong or is there an easier, better way to send mails from a pharo

[Pharo-users] Sending emails

2018-09-20 Thread Jeff Gray
Hi all, I can use the ZdcSecureSMTPClient to send emails from a Gmail account but I have tried to do the same from a Microsoft live account without success. It times out on the connection. Do I just need to work out what's wrong or is there an easier, better way to send mails from a pharo

Re: [Pharo-users] Error in fresh image

2018-08-22 Thread Jeff Gray
I just tried downloading from the same link again, renamed the image and changes and added to my Pharo folder. Opened them up and the error didn't happen. I haven't rebooted since I had the initial problem but I now can't reproduce it. Meh. -- Sent from:

Re: [Pharo-users] Error in fresh image

2018-08-19 Thread Jeff Gray
Here's the link as pictured above http://files.pharo.org/platform/Pharo6.1-win.zip -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] RubShoutStylerDecorator doesnotunderstand: #move:for:controller:

2018-08-19 Thread Jeff Gray
I've fixed it. Looks like a lot of the code, but not all, had been auto-formatted. I didn't consciously do it, but I may have fallen asleep while coding and mashed some keys. I'm getting up early (4am) so coming home on the train at 6:00pm is pretty sketchy :-) I pulled the code into a new image

[Pharo-users] Error in fresh image

2018-08-18 Thread Jeff Gray
I am trying to recover my project from a broken image, so thought I could get a fresh image and then import from the old changes file. I just downloaded and unzipped the Pharo Standalone for Windows. I unzipped it and copied the image and changes to my existing Pharo 6.1 folder. The first thing I

Re: [Pharo-users] RubShoutStylerDecorator doesnotunderstand: #move:for:controller:

2018-08-17 Thread Jeff Gray
-- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

[Pharo-users] RubShoutStylerDecorator doesnotunderstand: #move:for:controller:

2018-08-17 Thread Jeff Gray
Hi all, I was debugging my seaside application yesterday. I saved and closed the image. Then when I opened Pharo tonight I got the RubShoutStylerDecorator error. If I close the error window another one immediately pops up. Any idea what I can do? -- Sent from:

[Pharo-users] Brisbane

2017-04-06 Thread Jeff Gray
Hi all, Just an update. I just attended my third Smalltalk meet-up in Brisbane. It's a small group but hopefully we can grow as we gain momentum. We are just now setting up our team and initial project in Smalltalk Hub. We are meeting once a month in a great little venue by the river with free

Re: [Pharo-users] GMail example html

2017-03-02 Thread Jeff Gray
Gah - nabble rendered my source. It was supposed to show a string with an anchor tag embedded in it :-( -- View this message in context: http://forum.world.st/GMail-example-html-tp4936801p4936805.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

[Pharo-users] GMail example html

2017-03-02 Thread Jeff Gray
I copied the example from Zodiac. Changed to my credentials and got a simple message mailed out successfully. Then I tried changing to an html message: | mailMessage | mailMessage := MailMessage empty. mailMessage setField: 'subject' toString: 'Mail Test'. mailMessage body: (MIMEDocument

Re: [Pharo-users] Brisbane meet up

2016-12-06 Thread Jeff Gray
https://www.meetup.com/en-AU/Brisbane-Smalltalk-Programmers-Meetup/events/235975305/ -- View this message in context: http://forum.world.st/Brisbane-meet-up-tp4925969p4926010.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

[Pharo-users] Brisbane meet up

2016-12-06 Thread Jeff Gray
I was poking around the internet wondering if there are many smalltalkers in Brisbane (where I live) and came across a group in Meetup.com. There's a monthly meeting and I've signed up. I'm looking forward to seeing what goes on. Turns out there's 36 in the group. I don't know if they all meet but

[Pharo-users] connection string etc

2016-11-17 Thread Jeff Gray
I'm playing around with Garage. Initially it was easy to get a connection to MySQL and return some rows, so I'm looking forward to using it. Where would you typically keep a connection string, considering it also includes a password? An ini file? That seems rather old school :-) Or is there a

Re: [Pharo-users] Pharo catalog

2016-11-13 Thread Jeff Gray
It's back! Thanks server gods... -- View this message in context: http://forum.world.st/Pharo-catalog-tp4922782p4922862.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] Pharo catalog

2016-11-12 Thread Jeff Gray
Thanks. Is there somewhere I can see the projects and their versions or is that just by investigating via google? E.g. I just found some posts re version of Seaside and followed the advice, so that's now loading. If I want to get others, like bootstrap for example, then I just google it to find

Re: [Pharo-users] Pharo catalog

2016-11-12 Thread Jeff Gray
Is there another way I can load packages in the meantime? -- View this message in context: http://forum.world.st/Pharo-catalog-tp4922782p4922812.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

[Pharo-users] Pharo catalog

2016-11-12 Thread Jeff Gray
Trying the catalog from Pharo I get an exception. IN the browser I get: /Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later./ Is this a maintenance downtime? -- View this message in

Re: [Pharo-users] Beta testers for the Pharo mooc

2016-03-24 Thread Jeff Gray
I tried the link. I got a form to send a mail but it errored with 'Missing domain' Are you getting responses? -- View this message in context: http://forum.world.st/Beta-testers-for-the-Pharo-mooc-tp4886075p4886225.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] FileDialog from Spec

2015-11-13 Thread Jeff Gray
Thanks! That worked like a charm. -- View this message in context: http://forum.world.st/FileDialog-from-Spec-tp4860608p4860831.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] FileDialog from Spec

2015-11-12 Thread Jeff Gray
I just want to call a dialog on a button click. What approach do I take with the Polymorph one? Do I have to open a Polymorph window which then calls the dialog or can I bake the Polymorph dialog into my spec window? -- View this message in context:

[Pharo-users] FileDialog from Spec

2015-11-11 Thread Jeff Gray
In Pharo 4. I'm writing a ui in spec and I want to be able to select and open a file on a button click. I can see one example in polymorph but I don't know if that can be used from spec. Or am I missing something obvious? -- View this message in context:

Re: [Pharo-users] SQLite3 - External module not found

2015-03-02 Thread Jeff Gray
Haha. Coolio. I'll keep using SQLite3 then :-) -- View this message in context: http://forum.world.st/SQLite3-External-module-not-found-tp4808734p4808993.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] SQLite3 - External module not found

2015-03-02 Thread Jeff Gray
Is your intention that NBSQLite3 will replace SQLite3 in the Pharo Configuration Browser at some point? -- View this message in context: http://forum.world.st/SQLite3-External-module-not-found-tp4808734p4808825.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] Mugs, mouse mats, stickers

2013-11-25 Thread Jeff Gray
Thanks. I'll pass on to Lusy to see if we can fix it within Zazzle. It would be nice to keep everything in one store if we can. -- View this message in context: http://forum.world.st/Mugs-mouse-mats-stickers-tp4724644p4725211.html Sent from the Pharo Smalltalk Users mailing list archive at

[Pharo-users] Merchandise in your locale

2013-11-23 Thread Jeff Gray
Just a reminder to have a look in the Pharo store. There are a number of sites around the globe to allow you to shop in your language and to reduce postage charges: USA (English) http://www.zazzle.com USA (Español) http://www.zazzle.com/?lang=es Canada (English)

Re: [Pharo-users] Merchandise in your locale

2013-11-23 Thread Jeff Gray
Silly me. If you use these links you go straight to the shop! USA (English) http://www.zazzle.com/pharoshop USA (Español) http://www.zazzle.com/pharoshop/?lang=es Canada (English)http://www.zazzle.ca/pharoshop Canada (Français)

Re: [Pharo-users] Mugs 'n' stuff - logo and message

2013-06-10 Thread Jeff Gray
Mariano Martinez Peck wrote Hi Jeff, This is not fully related but in https://gforge.inria.fr/frs/?group_id=1299 under Media category you can find lots of icons, logos, etc. -- Mariano http://marianopeck.wordpress.com Thanks Mariano. The logo will be core in our design I suspect

Re: [Pharo-users] Mugs 'n' stuff - logo and message

2013-06-10 Thread Jeff Gray
How about some code. For a mug: Object subclass: #Mug instanceVariableNames: 'coffee milk sugar' classVariableNames: 'Coffees' poolDictionaries: '' category: 'HotDrink' -- View this message in context:

Re: [Pharo-users] Mugs 'n' stuff - logo and message

2013-06-10 Thread Jeff Gray
I haven't checked the syntax, but something like: |aMug| aMug := Mug new fill. aMug isEmpty isFalsle: [ self drinkFrom: aMug ] -- View this message in context: http://forum.world.st/Mugs-n-stuff-logo-and-message-tp4692529p4692618.html Sent from the Pharo Smalltalk Users mailing list

Re: [Pharo-users] Mugs 'n' stuff - logo and message

2013-06-10 Thread Jeff Gray
From the home page: The Live Programming Environment. Like Pharo, it has a clean look and feel :-) Or, maybe we should stick to something very plain to start with and get this thing going; then periodically review and update the selection. E.g. The new winter collection :-) What do you think -

[Pharo-users] Mugs 'n' stuff - logo and message

2013-06-09 Thread Jeff Gray
So does anyone have ideas for what to print on our mugs etc? The pharo lighthouse logo and a web address? An inspirational pharo/ Smalltalk phrase maybe? It would be cool if i were on the train and someone saw the sticker on my laptop and asked me about it. For that we'd need more than just the

[Pharo-users] Mugs 'n' stuff

2013-06-08 Thread Jeff Gray
ok so I need to be writing code in Pharo whilst drinking coffee from a Pharo branded coffee mug. Am I right? Yes of course I am. I'll start 3 discussions: 1. What mechanism for the store front. 2. What images and message do we want to convey. 3. What products do we most want. Then, depending on