Questions tagged [gemstone]

Gemstone/S is a distributed Smalltalk system with a massive, persistent memory.

21 questions
7
votes
5 answers

Is it OK to leave the [ and ] out for messages like at:ifAbsent: if you don't need a full block?

In Smalltalk (and specifically Pharo/Squeak) I want to know if it is OK to leave out the "[" and "]" for the argument to messages like at:ifAbsent: if you don't need a block, like this; ^ bookTitles at: bookID ifAbsent: ''. and ^ books at: bookID…
claudio
  • 71
  • 1
6
votes
2 answers

Questions about GemStone/S

I'm having a hard time understanding the big picture of GemStone for Smalltalk. I am aware of GLASS as an application server using Linux, Seaside and Apache. But I want to know if it is an usable environment for non-Seaside applications. I'm also…
user869097
  • 1,342
  • 8
  • 14
6
votes
3 answers

Zodiac mail sending in Pharo smalltalk

I am trying to send mail with the gmail smtp in pharo with zodiac in CentOS machine. I am receiving the following error. "SSL/TLS plugin initialization failed. VM missing plugin? " I had downloaded and put the "so.SqueakSSL" in the virtual machine…
VARUN ISAC
  • 443
  • 2
  • 12
5
votes
6 answers

GemStone-Linux-Apache-Seaside-Smalltalk.. how practical is 4GB?

I am really interested in GLASS. The 4GB limit for the free version has me concerned. Especially when I consider the price for the next level ($7000 year). I know this can be subjective and variable, but can someone describe for me in everyday…
Paulb
  • 1,299
  • 2
  • 14
  • 35
3
votes
3 answers

Multi-web server ajax callback with refresh on Enter

Question about how to send a jQuery callback with an onSuccess: refresh from a textInput when the user presses [Enter]. We use the [Enter] press to trigger a search callback. Our GS Seaside app uses HAProxy. This means the onSuccess: script is…
Bob Nemec
  • 306
  • 1
  • 4
  • 9
3
votes
1 answer

What is **the** way to interconnect two Smalltalk(s)?

If I would like to interconnect two Smalltalks, namely Smalltalk/X with GemStone/S, what approach would you recommend? I would like to have an application in Smalltalk/X with persistent objects in GemStone/S. Prior any development I tried to…
tukan
  • 13,399
  • 1
  • 15
  • 39
3
votes
1 answer

Accessing a Gemstone/S server via a local or remote netLDI

Gemstone/S is generally accessed via netLDI service. I have a Gemstone/S on a hosted server and I connect to it from my development environment in my notebook. The question is, what is best practice (or provide for a more stable environment):…
Ezequiel Tolnay
  • 3,469
  • 1
  • 15
  • 24
3
votes
2 answers

Sharing seaside sessions using Gemstone/S

I am writing a web application using VisualWorks Smalltalk, Seaside and Gemstone/S. At the moment the session state for the client can be maintained only if the client always returns to the same image (though if the session expires the client can…
3
votes
1 answer

REST service in seaside Smalltalk

I have the following class in Pharo WARestfulHandler subclass: #PgUserAddHandler instanceVariableNames: ' employeeId' classVariableNames: '' poolDictionaries: '' category: 'abc-Model' I want to implement a function which renders a page of a…
VARUN ISAC
  • 443
  • 2
  • 12
3
votes
1 answer

Filing an ST into the GemStone server with Gem Tools

1) I have the GemStone server running. 2) I have a Pharo 1.0 image with the gemStone Tools loaded. 3) I could succesfully login to the server after creating a session. Now I have an "abc.st" file done by me in another Pharo-Image. I couldn't find…
VARUN ISAC
  • 443
  • 2
  • 12
2
votes
2 answers

Create a const char ** in Visual Works image

How i should create a (const char **) to pass it to a C function ? Let say my const char ** is named prompts then: user := 'User:' copyToHeap: #malloc:. pwd := 'Password:' copyToHeap: #malloc:. prompts := (ByteArray new: 64) copyToHeap:…
bruno bb
  • 112
  • 8
2
votes
1 answer

How is ETL done for GemStone Smalltalk?

I would like to (re)-start again with GemStone/S. I have done multiple ETL transformations for relational databases but I'm still fuzzy on how this is done at GemStone/S. I would like to load data into GemStone from different sources. It could be…
tukan
  • 13,399
  • 1
  • 15
  • 39
2
votes
2 answers

Subclassing Stream

I am interested in creating my own Stream subclass and I'm wondering what methods I should override (deploying on pharo and Gemstone). I have a collection with various types of things in it and I want to be able to stream over a subset of it,…
Lyn Headley
  • 10,260
  • 3
  • 30
  • 35
2
votes
1 answer

Sending Mail in seaside+Gemstone " a Message: NotUnderstood occurred (error 2010), a UndefinedObject does not understand #'isEmpty' "

Tried with a similar question earlier, but could not I make headway. So I did new tests and here is the new question: I did a brand new installation of PHARO 1.4 and GEMSTONE 3.0.1.2 on the same machine. (Linux CENTOS). Loaded seaside 3.0 in Pharo…
2
votes
0 answers

GEMSTONE hangs when executing WAEmailMessage in readSmtpResult

I have installed on my MAC with MACOSX Lion, in the latest version of Gemtools (1.0 beta 87) with the latest version of glass workspace (1.0 beta 8.7.4) and the latest version of GEMSTONE: 3.1.0.1. On this I have loaded Seaside using…
1
2