[Pharo-users] Performance Testing Tools

2017-07-18 Thread Evan Donahue
Hi, I've been doing a lot of performance testing lately, and I've found myself wanting to upgrade my methods from ad hoc use of bench and message tally. Is there any kind of framework for like, statistically comparing improvements in performance benchmarks across different versions of code, or

Re: [Pharo-users] could not find module vm-display-X11

2017-07-18 Thread Alistair Grant
Hi Hilaire, On 18 July 2017 at 22:27, Hilaire wrote: > Hi, > > On Ubuntu 16.04 (Ubuntu MAte), I ahve the following error with DR. Geo > (release based on Pharo3). Of course the needed 32bits libs are installed. > Could it be the new graphic back end of Ubuntu? > > >

Re: [Pharo-users] bitAnd: Documentation

2017-07-18 Thread Stephane Ducasse
I opened a bug entry. https://pharo.fogbugz.com/f/cases/20257/bitAnd-description-is-wrong On Tue, Jul 18, 2017 at 11:16 PM, Stephane Ducasse wrote: > Thanks Koos. This description is indeed wrong. > > > On Tue, Jul 18, 2017 at 8:47 PM, Koos Brandt

Re: [Pharo-users] bitAnd: Documentation

2017-07-18 Thread Stephane Ducasse
Thanks Koos. This description is indeed wrong. On Tue, Jul 18, 2017 at 8:47 PM, Koos Brandt wrote: > Hi > > I am new to this environment > > I am on Pharo 6.0 - 64 Mac OSX version, Downloaded over the weekend. > > Just did some learning and found that the description for

[Pharo-users] could not find module vm-display-X11

2017-07-18 Thread Hilaire
Hi, On Ubuntu 16.04 (Ubuntu MAte), I ahve the following error with DR. Geo (release based on Pharo3). Of course the needed 32bits libs are installed. Could it be the new graphic back end of Ubuntu? hilaire@PCHome:~/DrGeo.app$ ./DrGeo.sh could not find module vm-display-X11 Abandon (core

Re: [Pharo-users] Mysterious problem in loading Pharo

2017-07-18 Thread Herby Vojčík
Herby Vojčík wrote: It is a real problem (I was getting it in 100% of the cases, restart did not help, restore of system disk image from last (this monday, so s/from last/from last backup/ including the recent update) helped. What I wanted to point to, is, at stack overflow they mentioned

Re: [Pharo-users] [Pharo-dev] [Ann] Keccak hashing algorithm

2017-07-18 Thread Santiago Bragagnolo
Hahahaha, Thanks for the feedback. Sven, I am quite new in this domain. I'll study your questions and come with solutions tomorrow :). Thanks, i really need this interaction. On Tue, 18 Jul 2017 at 20:28 Sven Van Caekenberghe wrote: > Great work. I love libraries like these. > > I

[Pharo-users] bitAnd: Documentation

2017-07-18 Thread Koos Brandt
Hi I am new to this environment I am on Pharo 6.0 - 64 Mac OSX version, Downloaded over the weekend. Just did some learning and found that the description for bitAnd: is probably wrong. It reads exactly the same as bitOr: here are some tests as performed in the workspace Also included

Re: [Pharo-users] [Pharo-dev] [Ann] Keccak hashing algorithm

2017-07-18 Thread Sven Van Caekenberghe
Great work. I love libraries like these. I am a bit confused though, in your #updateString: you seem to be implementing UTF-8 encoding, something we already have. Normally, hashing algorithms are defined on bytes and result in bytes (yours returns a plain Array, which is also strange). It

[Pharo-users] [Ann] Keccak hashing algorithm

2017-07-18 Thread Santiago Bragagnolo
Hi there! I am just releasing the first version of the Keccak-256 hashing algorithm. https://en.wikipedia.org/wiki/SHA-3 You can find it at: https://github.com/sbragagnolo/Keccak This version is based on a javascript implementation: https://github.com/emn178/js-sha3 This implementation

Re: [Pharo-users] Mysterious problem in loading Pharo

2017-07-18 Thread Herby Vojčík
It is a real problem (I was getting it in 100% of the cases, restart did not help, restore of system disk image from last (this monday, so including the recent update) helped. What I wanted to point to, is, at stack overflow they mentioned this error happens when dlls depend on each other, are

Re: [Pharo-users] Encoding and conversion problem

2017-07-18 Thread Cyril Ferlicot
On Tue, Jul 18, 2017 at 4:27 PM, Sven Van Caekenberghe wrote: > > In general, the stream API is much, much too wide, IMHO. Not all streams > (hence the word stream) can see all their content all the time (think of > network or encrypted streams, most work with a sliding buffer,

Re: [Pharo-users] Encoding and conversion problem

2017-07-18 Thread Sven Van Caekenberghe
> On 18 Jul 2017, at 16:10, Cyril Ferlicot wrote: > > On Tue, Jul 18, 2017 at 3:54 PM, Sven Van Caekenberghe wrote: >> >> These are all aliases [ see: https://en.wikipedia.org/wiki/ISO/IEC_8859-1 ]. >> >> So you could add it, yes >> >> But why use

Re: [Pharo-users] Encoding and conversion problem

2017-07-18 Thread Cyril Ferlicot
On Tue, Jul 18, 2017 at 3:54 PM, Sven Van Caekenberghe wrote: > > These are all aliases [ see: https://en.wikipedia.org/wiki/ISO/IEC_8859-1 ]. > > So you could add it, yes > > But why use TextConverter at all ? > I used this because this is what I found while browsing for code.

Re: [Pharo-users] Encoding and conversion problem

2017-07-18 Thread Sven Van Caekenberghe
> On 18 Jul 2017, at 15:42, Cyril Ferlicot wrote: > > Hi, > > I did a refactoring in Moose in order to use the encoding detector > that Sven did some weeks ago while reading a file. > > With the latest stable version of ZincHTTPComponent, I can get the > encoding

[Pharo-users] Encoding and conversion problem

2017-07-18 Thread Cyril Ferlicot
Hi, I did a refactoring in Moose in order to use the encoding detector that Sven did some weeks ago while reading a file. With the latest stable version of ZincHTTPComponent, I can get the encoding like this: fileReference binaryReadStreamDo: [ :in | (ZnCharacterEncoder detectEncoding: in

Re: [Pharo-users] get output of a forked process on windows

2017-07-18 Thread Thierry Goubier
Hi Christophe, You have to use ProcessWrapper. Metacello new configuration: 'ProcessWrapper'; repository: 'http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo40/main'; load (as extracted from the baseline of GitFileTree for Pharo4) Regards, Thierry 2017-07-18 15:34 GMT+02:00 Christophe

Re: [Pharo-users] get output of a forked process on windows

2017-07-18 Thread Christophe Demarey
PharoConsole.exe is only available for image versions > 50. I need a solution that works on older image versions. Thanks for the advice, Christophe > Le 18 juil. 2017 à 14:26, Guillermo Polito a > écrit : > > Have you checked the Console version of the windows VM? >

Re: [Pharo-users] get output of a forked process on windows

2017-07-18 Thread Guillermo Polito
Have you checked the Console version of the windows VM? On Tue, Jul 18, 2017 at 10:48 AM, Christophe Demarey < christophe.dema...@inria.fr> wrote: > Hi, > > I would like to evaluate a Smalltalk expression in a forked process (i.e. > something like OSProcess thisOSProcess waitForCommandOutput:

[Pharo-users] get output of a forked process on windows

2017-07-18 Thread Christophe Demarey
Hi, I would like to evaluate a Smalltalk expression in a forked process (i.e. something like OSProcess thisOSProcess waitForCommandOutput: 'pharo Pharo.image eval "SystemVersion current dottedMajorMinor"'). It is doable on linux/mac with OSProcess but not on Windows. Is there another way to do