Re: [Pharo-users] Crash in Athens

2017-02-21 Thread Ben Coman
On Wed, Feb 22, 2017 at 11:55 AM, Alexander Samoylovich wrote: > Hello > > I am writing graphic demo programs using Athens on Mac Sierra. > Time by time Pharo VM crashes. Programs not using Athens work reliably. > I believe the behavior is reproducible. > How should I report a bug? > > Alex The *

Re: [Pharo-users] Data Encryption

2017-02-21 Thread Alejandro Infante
Hi! If it help I’m using NaCl to do secure the passwords. You should not store the passwords of your users, not even encrypted. For securing the passwords I use Sha-512 over the salted password. User>>initialize super initialize. salt := (Nacl randomBytes: 16) User>

[Pharo-users] Crash in Athens

2017-02-21 Thread Alexander Samoylovich
Hello I am writing graphic demo programs using Athens on Mac Sierra. Time by time Pharo VM crashes. Programs not using Athens work reliably. I believe the behavior is reproducible. How should I report a bug? Alex

Re: [Pharo-users] Strange behavior

2017-02-21 Thread Hernán Morales Durand
This is unfriendly. A Regex checkbox for the two people in the world who can memorize regular expression patterns... Wouldn't be easier to add a "Exact match" check box? There are also uppercase and lowercase issues there. Cheers, Hernán 2017-02-19 12:37 GMT-03:00 Ben Coman : > You might tick

Re: [Pharo-users] [Versionner] Including remote packages

2017-02-21 Thread Juraj Kubelka
Hi! I recommend you to create two configurations. One for the remote repository, and one for your project. What do you think? Juraj > El 21-02-2017, a las 18:53, sergio ruiz escribió: > > Hi, all.. > > I am creating a configuration using versioner.. as part of this > configuration, I need t

Re: [Pharo-users] Strange behavior

2017-02-21 Thread Martin McClure
I've sometimes thought it would be nice if the Finder were to list any *exact* match first, then puts the inexact matches below. It would save considerable scrolling in cases like this. Regards, -Martin On 02/19/2017 03:24 AM, Sven Van Caekenberghe wrote: > Because 'now' is a case insensitive su

[Pharo-users] [Versionner] Including remote packages

2017-02-21 Thread sergio ruiz
Hi, all.. I am creating a configuration using versioner.. as part of this configuration, I need to include packages (which don’t have a configuration) from a remote repository.. i initially brought the class in from monticello, and included it, but i ended up with a configuration line that goes

[Pharo-users] Voyage hang..

2017-02-21 Thread Hilaire
Hi, Trying to play with multiple repo, it occurs Voyage hangs the image with the script bellow: | orga repo1 repo2| repo1 := VOMongoRepository host: 'localhost' database: 'test1'. repo2 := VOMongoRepository host: 'localhost' database: 'test2'. orga := CGOrganisation new name: 'Pharo'; id: 0; your

Re: [Pharo-users] Latest Voyage for Pharo4

2017-02-21 Thread Dale Henrichs
Oops, wrong project name: Metacello image project: 'Seaside3'; list I'll send mail to you privately to exchange the image .. Thanks, Dale On 02/21/2017 11:00 AM, Hilaire wrote: Hi Dale, Le 21/02/2017 à 18:30, Dale Henrichs a écrit : Metacello image project: 'Seaside'; li

Re: [Pharo-users] Latest Voyage for Pharo4

2017-02-21 Thread Hilaire
Hi Dale, Le 21/02/2017 à 18:30, Dale Henrichs a écrit : > Metacello image > project: 'Seaside'; > list It returns an empty list in this image. Can you send me privately your email at hilaire [AT] drgeo.eu so I can send you a link? (I am reading through gmane news forum and email address i

[Pharo-users] Hash considerations

2017-02-21 Thread Trussardi Dario Romano
Ciao, i have a class with some instance variable. For example a class Product with some instance variable and the = method set to: = anItem anItem ifNil:[^false]. anItem class = self class ifFalse:[ ^false]. ^ rf

Re: [Pharo-users] running code on image starts and quitting

2017-02-21 Thread Raffaello Giulietti
On 2017-02-21 17:43, Cyril Ferlicot D. wrote: On 21/02/2017 17:29, Raffaello Giulietti wrote: Hi Cyril, doesn't seem to work in my case. Just for fun, I try to set a class instance variable to Time current in the class-side #startUp method and quit the image with saving. Upon restarting the i

Re: [Pharo-users] Loading Seaside via Bootstrap in Pharo 6

2017-02-21 Thread Dale Henrichs
Torsten, I don't know whether Pharo uses the latest version of Metacello from github when building Pharo6.0 ... historically Pharo has not used the latest version from github and this has been the case for a very long time and I've been hoping that eventually this would be solved, but perhap

Re: [Pharo-users] Latest Voyage for Pharo4

2017-02-21 Thread Dale Henrichs
On 02/20/2017 09:08 AM, Hilaire wrote: Dale, I try out the lock feature on an archived image, the seaside uprade was still operating :( Hmm, do you think it would be possible to share your image with me ... it's bad enough that the Seaside is getting updated in a mysterious manner, but now t

Re: [Pharo-users] Team programming with Smalltalk

2017-02-21 Thread Dale Henrichs
On 02/20/2017 03:58 AM, Denis Kudriashov wrote: 2017-02-18 8:53 GMT+01:00 itli...@schrievkrom.de >: Sadly this is gone or simply only badly implemented. E.g. in Pharo you can select a package - fine, but to know, wh

Re: [Pharo-users] Latest Voyage for Pharo4

2017-02-21 Thread Dale Henrichs
On 02/19/2017 11:21 PM, Stephan Eggermont wrote: On 19/02/17 18:50, Dale Henrichs wrote: Hilaire, I mentioned last night that I thought that there was a better solution to your problem and I think that if you load the latest Metacello and then lock Seaside3: Metacello image configurati

Re: [Pharo-users] running code on image starts and quitting

2017-02-21 Thread Cyril Ferlicot D.
On 21/02/2017 17:29, Raffaello Giulietti wrote: > > Hi Cyril, > > doesn't seem to work in my case. > > Just for fun, I try to set a class instance variable to Time current in > the class-side #startUp method and quit the image with saving. Upon > restarting the image, the class instance variable

Re: [Pharo-users] running code on image starts and quitting

2017-02-21 Thread Raffaello Giulietti
On 2017-02-21 17:10, Cyril Ferlicot D. wrote: On 21/02/2017 16:54, Raffaello Giulietti wrote: Hi guys, I need to run some Pharo code whenever the image starts. Similarly on (clean) quitting. What's the recommended practice? Regards RG Hello! Every classes should be able to override the met

Re: [Pharo-users] UFFI and ByteArray

2017-02-21 Thread Esteban Lorenzano
usually, something more or less like this: sourceByteArrayOrExternalAddress := … some ... destEnternalAddressOrByteArray replaceFrom: 1 to: sourceByteArrayOrExternalAddress size with: sourceByteArrayOrExternalAddress startingAt: 1 and or course you can play with

Re: [Pharo-users] running code on image starts and quitting

2017-02-21 Thread Sven Van Caekenberghe
You also have to register with SessionManager (see its class comment, see its references). > On 21 Feb 2017, at 17:10, Cyril Ferlicot D. wrote: > > On 21/02/2017 16:54, Raffaello Giulietti wrote: >> Hi guys, >> >> I need to run some Pharo code whenever the image starts. Similarly on >> (clean)

[Pharo-users] UFFI and ByteArray

2017-02-21 Thread Raffaello Giulietti
Hi, I'm having a hard time finding documentation on how to copy a portion of a ByteArray to/from another portion of a heap allocated C byte array with UFFI. My current reference is https://ci.inria.fr/pharo-contribution/view/Books/job/PharoBookWorkInProgress/lastSuccessfulBuild/artifact/book

Re: [Pharo-users] running code on image starts and quitting

2017-02-21 Thread Cyril Ferlicot D.
On 21/02/2017 16:54, Raffaello Giulietti wrote: > Hi guys, > > I need to run some Pharo code whenever the image starts. Similarly on > (clean) quitting. > What's the recommended practice? > > Regards > RG > Hello! Every classes should be able to override the methods #startUp, #startUp:, #shutD

[Pharo-users] running code on image starts and quitting

2017-02-21 Thread Raffaello Giulietti
Hi guys, I need to run some Pharo code whenever the image starts. Similarly on (clean) quitting. What's the recommended practice? Regards RG

Re: [Pharo-users] Loading Seaside via Bootstrap in Pharo 6

2017-02-21 Thread Sven Van Caekenberghe
Hi Torsten, Thanks for your extensive reply, I am too busy to try myself, but I very much appreciate your help. Sven (PS: yes, that was the error that I saw too) > On 21 Feb 2017, at 14:24, Torsten Bergmann wrote: > > Hi, > > regarding the problem Sven mentioned on > http://lists.pharo.org

[Pharo-users] Loading Seaside via Bootstrap in Pharo 6

2017-02-21 Thread Torsten Bergmann
Hi, regarding the problem Sven mentioned on http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/2017-February/030542.html here are my findings: When I use latest Pharo 6 (Image 60404) and run Metacello new smalltalkhubUser: 'Seaside' project: 'MetacelloConfigurations'; con

Re: [Pharo-users] Data Encryption

2017-02-21 Thread Mariano Martinez Peck
As for single username/pass encryption (not the whole DB), and assuming you want two-way encrypt (that you want to decrypt), I have used both, Rijndael and Blowfish, both in combination with SpsSplitPasswordStore. Cheers, On Tue, Feb 21, 2017 at 8:20 AM, Pierce Ng wrote: > On Mon, Feb 20, 2017

Re: [Pharo-users] Data Encryption

2017-02-21 Thread Pierce Ng
On Mon, Feb 20, 2017 at 05:34:41AM -0800, sergio ruiz wrote: > I have been tasked with throwing together a small web app that will hold > the passwords to different projects for my company. Here is a collection for reference. If one of these is suitable you can skip the implementation and just d