Re: [Pharo-users] Messaging solutions for Pharo

2014-11-19 Thread Sven Van Caekenberghe
> On 19 Nov 2014, at 20:52, Esteban A. Maringolo wrote: > > My current use case is pretty simple, being able to push requests to the > remote devices, and gather the data back, assuming the remote devices > (clients) are already connected to the server, which is a client-related > problem wit

Re: [Pharo-users] Messaging solutions for Pharo

2014-11-19 Thread Esteban A. Maringolo
My current use case is pretty simple, being able to push requests to the remote devices, and gather the data back, assuming the remote devices (clients) are already connected to the server, which is a client-related problem with any messaging solution. I learn about MQTT when looking for alternati

Re: [Pharo-users] Messaging solutions for Pharo

2014-11-19 Thread Sven Van Caekenberghe
Hey Esteban, Since you seem to need to scale to 1000s of concurrent connections, I would go for option 2. RabbitMQ will then work as a demultiplexer and you gain options for using more than one Pharo worker for processing traffic, if that ever becomes necessary. BTW, I never heard of MQTT and

Re: [Pharo-users] Messaging solutions for Pharo

2014-11-19 Thread Andres Fortier
Hi Esteban, Never used either of them, but IIRC there was a Jabber package in Visualworks (JabberXMPP?), although not sure if it provided both client and server. There is also http://www.squeaksource.com/@zQrCJXpxIQLxqde8/tV369AO0. Seems dated, but maybe worth a shot considering you only need the s

[Pharo-users] Messaging solutions for Pharo

2014-11-19 Thread Esteban A. Maringolo
Hi, I'll be needing to add bidirectional messaging to our current Android (Java) application, and as usual I'm expecting to manage the server side of the communication with Pharo. I'm evaluating two alternatives, but I'm in open to other, proven, options. Option 1. WebSockets Open a WebSocket on

[Pharo-users] How to decide if a name can be used as a name for a new class?

2014-11-19 Thread Stephan Eggermont
I found isLegalClassName, but that has interesting properties 'Object' isLegalClassName false 'Bla' isLegalClassName false 'One sentence' isLegalClassName false. Stephan

Re: [Pharo-users] PharoS VM

2014-11-19 Thread Rafael Luque
Thank you! A brief explanation in the zeroconf page would be interesting for newbies like me, because I don't remember any mention to these types of VMs in the Pharo books available. Rafa 2014-11-19 13:26 GMT+01:00 Esteban Lorenzano : > > On 19 Nov 2014, at 13:24, Rafael Luque > wrote: > > Ano

Re: [Pharo-users] PharoS VM

2014-11-19 Thread Mariano Martinez Peck
I think the PharoS is the Cog STACK VM, meaning there is no JIT. On Wed, Nov 19, 2014 at 9:24 AM, Rafael Luque wrote: > Another noob question. > > What's the difference between these two options I see in get.pharo.org? > > get.pharo.org/vmLatest This script downloads the latest Pharo VM. > g

Re: [Pharo-users] PharoS VM

2014-11-19 Thread Esteban Lorenzano
> On 19 Nov 2014, at 13:24, Rafael Luque wrote: > > Another noob question. > > What's the difference between these two options I see in get.pharo.org > ? > > get.pharo.org/vmLatest This script > downloads the latest Pharo VM. lates

[Pharo-users] PharoS VM

2014-11-19 Thread Rafael Luque
Another noob question. What's the difference between these two options I see in get.pharo.org? get.pharo.org/vmLatest This script downloads the latest Pharo VM. get.pharo.org/vmSLatest This script downloads the latest PharoS VM. Thank you. Rafael Luque

Re: [Pharo-users] Building 64-bit pharo VM

2014-11-19 Thread Peter Uhnák
Hi Evan, if the sole purpose of building it yourself is large file support you don't need 64-bit build. There is an open issue for LFS https://pharo.fogbugz.com/f/cases/14250/Enable-large-file-support-on-linux however you can simply add the flag to the cmake file and build it as 32bit. There is a

Re: [Pharo-users] How to fileIn a string content

2014-11-19 Thread Hilaire
Responding to myself, for the reference: CodeImporter evaluateString: aString Hilaire Le 19/11/2014 10:56, Hilaire a écrit : > Hello, > > String streamContents: [:out | DrGeoScriptXXX fileOutOn: out] works well > to fileout a class in a sring. > > How can I do the opposite operation: filein th

Re: [Pharo-users] How to fileIn a string content

2014-11-19 Thread Sven Van Caekenberghe
Probably CodeImporter>>#evaluateFileStream: as used by AbstractFileReference>>#fileIn > On 19 Nov 2014, at 10:56, Hilaire wrote: > > Hello, > > String streamContents: [:out | DrGeoScriptXXX fileOutOn: out] works well > to fileout a class in a sring. > > How can I do the opposite operation: f

[Pharo-users] How to fileIn a string content

2014-11-19 Thread Hilaire
Hello, String streamContents: [:out | DrGeoScriptXXX fileOutOn: out] works well to fileout a class in a sring. How can I do the opposite operation: filein this string to instantiate the class represented in such a string? I did not find out Thanks Hilaire -- Dr. Geo - http://drgeo.eu iStoa -