[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.

 



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html


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
I may be misunderstanding, but is the example in the link declaring a sqlite
column of type datetime? I didn't think you could do that.

I just created a person table with four text columns and wrote this in my
playground:

|conn sql bindings|
conn := SQLite3Connection on: 'C:\Users\JeffGray\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 it out:
|conn sql c rows|
conn := SQLite3Connection on: 'C:\Users\JeffGray\test.db'.
conn open.
sql := 'select created from person where rowid = 1'.
c := conn execute: sql.
row := c rows first.
(row at: 'created') inspect. 
conn close.

The object I get is a byte string. Is there any magic I can do to get a
DateAndTime or:
1. do I have to know the column is a date and call the DateAndTime
fromString:; or
2. can you make a sqlite column know it's a date (like in the example link);
or
3. is there something else I'm missing?

 



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



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: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



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...)



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



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 now, so
maybe I shouldn't worry about it until I have some concrete examples that
cause issues.   



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



[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 was expecting these two to be the same.

I was hoping to use DateAndTime fromSeconds: and aDateAndTime asSeconds to
convert a DateAndTime to/from a number in order to store it in SQLite, but I
don't like the way the nanos are dropped using this method.
It's all good if I remember to call DateAndTime now truncated, and drop the
nanos myself, but that might be all over the place in my application.

Instead, is there a better way to convert a DateAndTime to and from a
number?  



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



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
problem as the connection won't become stale so for convenience I think I'll
set the connection to nil in my start-up script.

Thanks guys.



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



[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 is easily recovered. I just open a new connection. 
Is there a way I can see if a connection is still good, in my code?
Or should I be opening and closing connections every transaction? I haven't
benchmarked it but I'm assuming it would be slower.
I guess I could set my connection to nil in a start-up script. That would
cause my code to get a new connection after a break from development. 
Any recommendations? 
Thanks, Jeff.



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



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:
'sqlite3:///c:\sqlite3Databases\testDb.db'





--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



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 strength) but I have no idea
whether it will help in your case.
It doesn't do anything funky - it just uses the standard methods from
ZdcSecureSMTPClient. The only time that fails for me is when there's
something wrong with the account/credentials.



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



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 generally to give a speedy UI response) using the
ZdcSecureSMTPClient, which is working like a charm.



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



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 ok but it doesn't
look bootstrappy.
My use case is when I have performed an action on a page, then I want to
display a message and then redirect to a different page.
ie on a "I forgot My Password" page I send an email to the entered address.
Then I display a message to say that the email was sent. When the user
clicks ok they are redirected to the login page.

Is there a better way to handle this than with an inform?  



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



[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: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



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
the sql to return a collection of Tracks and vice versa. 



--
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
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: 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 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.



--
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
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 load packages (I get a progress bar flashing up) but then
Pharo just closes. 
I can't see any error log. Is there another way to load Seaside or do I just
need to wait for Seaside testing to complete? 
Thanks.



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



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: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



[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 application? 



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



[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 application? 



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



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: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



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 from the changes file, which fortunately
did not include the formatting, so could copy back the original code into my
broken image.
Once complete everything works again. 
 



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



[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 see is this error:

 

Should I try too get an older image file or will somebody look at fixing in
a new version?




--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



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: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



[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
fast Wi-Fi and good cheap coffee.

I have been just hacking in Pharo on my own for a while now. I am looking
forward to working in a team environment, adding some rigour to my testing
and sharing techniques and approaches.




--
View this message in context: http://forum.world.st/Brisbane-tp4941489.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



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 
 contentType: MIMEDocument contentTypeHtml  
 content: 'This is test  Pharo <> 
').
ZdcSecureSMTPClient
sendUsingGMailAccount: 'myn...@mydomain.com' 
password: 'MyPWord01'
to: 'myothern...@myotherdomain.com' 
message: mailMessage.

What appeared in the email content was this:
This is test  Pharo <[http://pharo.org> 
http://pharo.org'>Pharo 

Where did I go wrong?
Thanks. 



--
View this message in context: 
http://forum.world.st/GMail-example-html-tp4936801.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



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
good to know there are more of us out there :-) 



--
View this message in context: 
http://forum.world.st/Brisbane-meet-up-tp4925969.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



[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 better way than just storing a string?



--
View this message in context: 
http://forum.world.st/connection-string-etc-tp4923518.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



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 out project name and version number of does metacello have a
list/browse?



--
View this message in context: 
http://forum.world.st/Pharo-catalog-tp4922782p4922814.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



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 context: http://forum.world.st/Pharo-catalog-tp4922782.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



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: 
http://forum.world.st/FileDialog-from-Spec-tp4860608p4860782.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



[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: 
http://forum.world.st/FileDialog-from-Spec-tp4860608.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
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 Nabble.com.



[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)http://www.zazzle.ca
Canada (Français)   http://www.zazzle.ca/?lang=fr
UK  http://www.zazzle.co.uk
Deutschland http://www.zazzle.de
España  http://www.zazzle.es
France  http://www.zazzle.fr
Portugalhttp://www.zazzle.pt
Sverige http://www.zazzle.se
Nederland   http://www.zazzle.nl
Österreich  http://www.zazzle.at
Schweiz (Deutsch)   http://www.zazzle.ch
Suisse (Français)   http://www.zazzle.ch/?lang=fr
Belgique (Français) http://www.zazzle.be
België (Nederlandse)http://www.zazzle.be/?lang=nl
Australia   http://www.zazzle.com.au
New Zealand http://www.zazzle.co.nz
日本  http://www.zazzle.co.jp
대한민국http://www.zazzle.co.kr
Brasil  http://www.zazzle.com.br
 



--
View this message in context: 
http://forum.world.st/Merchandise-in-your-locale-tp4724632.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



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)   http://www.zazzle.ca/pharoshop/?lang=fr
UK  
http://www.zazzle.co.uk/pharoshop
Deutschland http://www.zazzle.de/pharoshop
España  http://www.zazzle.es/pharoshop
France  http://www.zazzle.fr/pharoshop
Portugalhttp://www.zazzle.pt/pharoshop
Sverige http://www.zazzle.se/pharoshop
Nederland   http://www.zazzle.nl/pharoshop
Österreich  http://www.zazzle.at/pharoshop
Schweiz (Deutsch)   http://www.zazzle.ch/pharoshop
Suisse (Français)   http://www.zazzle.ch/pharoshop/?lang=fr
Belgique (Français) http://www.zazzle.be/pharoshop
België (Nederlandse)http://www.zazzle.be/pharoshop/?lang=nl
Australia   http://www.zazzle.com.au/pharoshop
New Zealand http://www.zazzle.co.nz/pharoshop
日本  http://www.zazzle.co.jp/pharoshop
대한민국http://www.zazzle.co.kr/pharoshop
Brasil  http://www.zazzle.com.br/pharoshop  




--
View this message in context: 
http://forum.world.st/Merchandise-in-your-locale-tp4724632p4724640.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



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




--
View this message in context: 
http://forum.world.st/Mugs-n-stuff-logo-and-message-tp4692529p4692613.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



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: 
http://forum.world.st/Mugs-n-stuff-logo-and-message-tp4692529p4692616.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



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 archive at Nabble.com.



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 - Perhaps just the logo and web address?




--
View this message in context: 
http://forum.world.st/Mugs-n-stuff-logo-and-message-tp4692529p4692699.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



[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 logo.

Thoughts?



--
View this message in context: 
http://forum.world.st/Mugs-n-stuff-logo-and-message-tp4692529.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



[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 what comes out of that I'll follow up to get something in
place that will at least please some of the people some of the time.
Pharo is hot! We need to celebrate it.



--
View this message in context: http://forum.world.st/Mugs-n-stuff-tp4692368.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.