Re: [Pharo-users] Anything on Pharo that would be like Opentalk on VW?

2019-06-25 Thread Petr Fischer via Pharo-users
--- Begin Message --- Look at Seamless: https://github.com/pharo-ide/Seamless Pretty powerfull - you are just using remote objects from another image like any other local object (proxying + serializing). pf > I am looking at some interprocess communication with Pharo. VW has Opentalk, > VASt

Re: [Pharo-users] Symbol equality method #= - issue submitted

2019-03-01 Thread Petr Fischer via Pharo-users
--- Begin Message --- Issue submitted: https://github.com/pharo-project/pharo/issues/2744 pf > > On 1 Mar 2019, at 17:08, Petr Fischer via Pharo-users > > wrote: > > > > > > From: Petr Fischer > > Subject: Symbol equality method #= - weird condition in th

[Pharo-users] Symbol equality method #= - weird condition in the Pharo sourcecode

2019-03-01 Thread Petr Fischer via Pharo-users
--- Begin Message --- Hello, this is Symbol equality method in Pharo: 1: = aSymbol 2: "Compare the receiver and aSymbol." 3: self == aSymbol ifTrue: [^ true]. 4: self class == aSymbol class ifTrue: [^ false]. 5: "Use String comparison otherwise" 6: ^ super = aSymbol Look

Re: [Pharo-users] how to test, if the class has "shared identity" of instances in the whole image (SmallIntegers, Symbols...)

2019-02-20 Thread Petr Fischer via Pharo-users
making copy the identity > is a safety measure. > Examples: Semaphores, Mutexes, SharedQueues, data base > connections, some kinds of streams, singletons. > * Laziness or error (inherited method not revised). > > What is your use case? I see... My use case was too superfic

[Pharo-users] how to test, if the class has "shared identity" of instances in the whole image (SmallIntegers, Symbols...)

2019-02-20 Thread Petr Fischer via Pharo-users
--- Begin Message --- Hello, some classes, like Symbols or SmallIntegers, shares identity of value instances in the whole image (I may say it wrong), so: 1 == 1 copy. [true] #aaa == #aaa copy. [true] all other classes not, like Strings, Objects etc., so: 'aaa' == 'aaa' copy. [false] Is there a

Re: [Pharo-users] Trying to understand Developing with Pharo, Deploying with Gemstone/s

2019-02-09 Thread Petr Fischer via Pharo-users
--- Begin Message --- Terse description how to load project is here: https://github.com/GsDevKit/GsDevKit_home/blob/master/docs/projectsInTode.md#creating-a-new-project They are preparing Tonel support for Gemstone and something new for managing projects. Also subsctibe Glass mailing list, there

Re: [Pharo-users] SQLite3 [UDBC2] - "Could not coerce arguments" error for UTF8 chars

2019-02-06 Thread Petr Fischer via Pharo-users
--- Begin Message --- > On Tue, Feb 05, 2019 at 08:20:22PM +0100, Petr Fischer via Pharo-users wrote: > > But still... I do not expect anyone to create tables through binding > > values (like in your example), so following SQL command is still > > broken: > > db e

Re: [Pharo-users] SQLite3 [UDBC2] - "Could not coerce arguments" error for UTF8 chars

2019-02-05 Thread Petr Fischer via Pharo-users
--- Begin Message --- > On Tue, Feb 05, 2019 at 02:51:42PM +0000, Petr Fischer via Pharo-users wrote: > > When I executing this insert SQL command: > > insert into "TABLE" (..., "VARCHAR_FIELD") values (..., > > 'ěščřžýáíéúůĚŠČŘŽÝÁÍÉÚŮ'); &g

[Pharo-users] SQLite3 [UDBC2] - "Could not coerce arguments" error for UTF8 chars

2019-02-05 Thread Petr Fischer via Pharo-users
--- Begin Message --- Hello, there is a little mess in SQLite 3 drivers for Pharo, so I am using Pharo 7 and newest UDBC2 sqlite driver from here: http://smalltalkhub.com/#!/~TorstenBergmann/UDBC2 When I executing this insert SQL command: insert into "TABLE" (..., "VARCHAR_FIELD") values (..

Re: [Pharo-users] How to intercept instvar write - MetaLinks + anonymous subclass problem

2019-02-02 Thread Petr Fischer via Pharo-users
--- Begin Message --- > > is possible to intercept (before writeú all instance variable writes on > > every existing objects? > > > > Ok, I learned more about MetaLinks and it's perfectly possible to intercept > > instance variable writes via. installing MetaLink into object instance > > (cool

Re: [Pharo-users] How to intercept instvar write - MetaLinks + anonymous subclass problem

2019-02-01 Thread Petr Fischer via Pharo-users
--- Begin Message --- > is possible to intercept (before writeú all instance variable writes on every > existing objects? > > I found a discussion here: > http://forum.world.st/Is-it-possible-to-follow-an-object-through-a-computation-td5092459.html > > Known solutions: > > 3) Metalinks - it

[Pharo-users] How to intercept every instance variable write on all objects

2019-01-31 Thread Petr Fischer via Pharo-users
--- Begin Message --- Hello, is possible to intercept (before writeú all instance variable writes on every existing objects? I found a discussion here: http://forum.world.st/Is-it-possible-to-follow-an-object-through-a-computation-td5092459.html Known solutions: 1) jugglery with object read o

Re: [Pharo-users] Website is down

2019-01-23 Thread Petr Fischer via Pharo-users
--- Begin Message --- What was the number of requests during the release day (and what number of req in the busiest hour)? pf > There is a problem with INRIA servers :( > They does not seems to support high traffic (supposing public from reddit and > yc is high traffic?) > > G > > Esteban

Re: [Pharo-users] adding instance variables (data) to the Object class

2019-01-16 Thread Petr Fischer via Pharo-users
g like a WeakIdentityKeyDictionary. > > On Mon, 14 Jan 2019 at 13:54, Petr Fischer via Pharo-users < > pharo-users@lists.pharo.org> wrote: > > > It looks like I can't simply add statefull trait to the Object like this: > > > > ProtoObject sub

Re: [Pharo-users] adding instance variables (data) to the Object class

2019-01-13 Thread Petr Fischer via Pharo-users
08 Marcus Denker : > > > > > > > On 6 Sep 2018, at 23:35, Petr Fischer via Pharo-users < > > pharo-users@lists.pharo.org> wrote: > > > > > > *From: *Petr Fischer > > *Subject: **adding instance variables (data) to the Object class* > &

Re: [Pharo-users] STON and persisting Dates - problem

2018-10-16 Thread Petr Fischer via Pharo-users
--- Begin Message --- You mean "development" version, right? Will it be available in stable version? Thanks! pf > Petr, > > You should use the latest STON, where Dates are now serialised with a > timezone indicator. > > Sven > > > On 16 Oct 2018, a

[Pharo-users] STON and persisting Dates - problem

2018-10-16 Thread Petr Fischer via Pharo-users
--- Begin Message --- Hello, if I persist Dictionary with Date keys with STON, there is a problem. STON serializes Dates as: Date [ '2018-10-16' ] - there is no info about timezone. So if I put a key "Date now translateToUTC" into dictionary, save to STON file, and then load again from STON f

[Pharo-users] Dictionary and Date as keys

2018-10-16 Thread Petr Fischer via Pharo-users
--- Begin Message --- My problem - use Dates as Dictionary keys - shortly: d1 := Date today translateToUTC. d2 := Date today. d1 = d2. (true!) d := Dictionary new. d at: d1 put: 1. d at: d1. (ok) d at: d2. (bad - key not found) --- pf --- End Message ---

Re: [Pharo-users] [ANN] New Pharo 6.1 stable VM

2018-09-17 Thread Petr Fischer via Pharo-users
--- Begin Message --- Is new VM here? https://files.pharo.org/vm/pharo-spur64/linux/ Thanks, pf > Hi, > > Following what I had in my todo list for when coming back from ESUG, I > promoted a new stable VM for Pharo 6.1. > This is the VM that has been tested during almost two months for Pharo

Re: [Pharo-users] ZnURL and parsing URL with diacritics

2018-09-10 Thread Petr Fischer via Pharo-users
cheme: #http; > host: 'en.wikipedia.org'; > addPathSegment: 'wiki'; > addPathSegment: 'Česká republika'; > retrieveContents. > > Or you could use the url in a ZnClient object. > > BTW, there are many ways to construct URLs, I would mayb

[Pharo-users] ZnURL and parsing URL with diacritics

2018-09-10 Thread Petr Fischer via Pharo-users
--- Begin Message --- Hello, when I try to parse this URL asUrl, error "ZnCharacterEncodingError: ASCII character expected" occurs: 'http://domain.com/ěščýž.html' asUrl. this also does not work: ZnEasy get: 'http://domain.com/ěščýž.html' How to solve this? In the web browser, URL with diacri

Re: [Pharo-users] adding instance variables (data) to the Object class

2018-09-07 Thread Petr Fischer via Pharo-users
--- Begin Message --- I see... will test them, thanks! pf > Talents with statefull traits will help you > > пт, 7 сент. 2018 г., 9:08 Marcus Denker : > > > > > > > On 6 Sep 2018, at 23:35, Petr Fischer via Pharo-users < > > pharo-users@lists.pharo.org&g

[Pharo-users] adding instance variables (data) to the Object class

2018-09-06 Thread Petr Fischer via Pharo-users
--- Begin Message --- Hello! Weird question: why I can't add instance variables to the Object class (for example "oid" or something else)? Is it due to some internal (and different) VM "class layouts"? Or - can I inject my own information to all existing objects (any class)? Thanks! pf --- End

[Pharo-users] XAdES (BES) and XML DSIG signing and verification

2018-08-25 Thread Petr Fischer via Pharo-users
--- Begin Message --- Hello Smalltalkers! Has anyone tried to solve a subject in Pharo/Smalltalk? Thanks! pf --- End Message ---

Re: [Pharo-users] Zinc loading problems (as project dep) - versions mess

2018-08-16 Thread Petr Fischer via Pharo-users
lo mechanism. Here is how you can do > that in direct scripting: > > Metacello new > configuration: 'ZincHTTPComponents'; > repository: 'http://mc.stfx.eu/ZincHTTPComponents'; > version: #stable; > load: #('Core' 'WebSocket' ). > &

Re: [Pharo-users] Zinc loading problems (as project dep) - versions mess

2018-08-16 Thread Petr Fischer via Pharo-users
llo sometimes acts weird when you already have code/projects loaded. > > I am afraid I don't know what could be wrong. > > Sven > > > On 16 Aug 2018, at 17:09, Petr Fischer via Pharo-users > > wrote: > > > > > > From: Petr Fischer > &g

[Pharo-users] Zinc loading problems (as project dep)

2018-08-16 Thread Petr Fischer via Pharo-users
--- Begin Message --- Hello, I am trying to load stable Zinc as dependency in my project, like this: ... project: 'ZincHTTPComponents' with: [ spec className: #ConfigurationOfZincHTTPComponents;