Re: [Pharo-users] Import a pharo 6 image in pharo 7

2019-10-19 Thread Alejandro Infante
I wouldn’t recommend Mongo for this use because it doesn’t automagically resolve cycles, so you would have to do a lot of work in order to serialize the data. I agree with the previous suggestions and use Fuel or STON. Cheers, Alejandro > On Oct 19, 2019, at 4:16 PM, Oswall Verny Arguedas C.

Re: [Pharo-users] [Voyage] How to declare an instance variable as transient?

2018-05-03 Thread Alejandro Infante
Hi Sergio, You have to add a method to the class side with a pragma. In my case, I wanted to set the instance variable “questionReferences” to transient. myClass class>>mongoQuestionReferences ^VOTransientDescription new attributeName:

Re: [Pharo-users] Question about GLORP class models

2018-03-29 Thread Alejandro Infante
gt; polymorphically and have a common semantic root (it is "Question"), it > is hard for me to see why they don't have a common ancestor. > > Disclaimer: the above code was written without testing it, based on my > memory only :) > > Regards, > > Esteban A. Maringolo

[Pharo-users] Question about GLORP class models

2018-03-29 Thread Alejandro Infante
Hi guys! I’m trying to use GLORP and I’m having problems defining the class model for a class which has an instance variable which is a collection of instances of two different classes: I have 3 classes named: { Section . Question . QuestionGroup } and I have problems for specifying the glorp

[Pharo-users] Who is maintaining of Artefact?

2017-09-11 Thread Alejandro Infante
Hi! I would like to explore having support for Unicode characters. I want to help for it. Who is the right person to talk about it? Cheers! Alejandro

[Pharo-users] NaCl loading failing in Pharo5.0 stable

2017-06-07 Thread Alejandro Infante
Hi! Loading NaCl from the catalog is failing because the ConfigurationOf attempts in the preLoad to download libsodium.dylib from an url that answers 404 error. The url is from dropbox. Who is responsible of that url? Cheers! Alejandro

Re: [Pharo-users] pharocloud alternative

2017-05-30 Thread Alejandro Infante
I also host my application in Digital Ocean. It is cheap, but still is a pain the maintenance of the server. Any serious business-application should take care of user privileges, firewall directives, database configuration, database replication, backups, keep-alive of Pharo, etc… This year I

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)

Re: [Pharo-users] Deployment pharo with multiple instances and voyage

2017-01-25 Thread Alejandro Infante
17, at 7:27 AM, Esteban Lorenzano <esteba...@gmail.com> wrote: > >> >> On 25 Jan 2017, at 01:30, Alejandro Infante <alejandroinfant...@gmail.com> >> wrote: >> >> Hi! >> >> I’m close to deploy a web service using Pharo with Voyage and MongoDB

[Pharo-users] Deployment pharo with multiple instances and voyage

2017-01-24 Thread Alejandro Infante
Hi! I’m close to deploy a web service using Pharo with Voyage and MongoDB. I have been playing with it and everything works ok with a single Pharo image. Couple of days ago I started questioning myself about how voyage behaves when you have multiple pharo images using the same mongo database

Re: [Pharo-users] [Esug-list] Any Pharo 5 in the industrial setup?

2016-11-29 Thread Alejandro Infante
Hi Yuriy, I’m planning on porting my start-up app from Pharo4 to Pharo5 in mid-december. Maybe we could talk on January after I spend some time using it :). Alejandro > On Nov 29, 2016, at 7:45 AM, Yuriy Tymchuk wrote: > > Dear all, > > my name is Yuriy Tymchuk, I am a

Re: [Pharo-users] Roassal Performance Issues when applying layout

2015-12-07 Thread Alejandro Infante
Hi, It is really difficult to help you just with a profile and without looking at your code. Even though, I have noticed that most of the time is used on calculating properties related to CompositeShapes (like position and encompassing rectangle). Would be possible for you to run the same code

Re: [Pharo-users] Question about color

2015-09-28 Thread Alejandro Infante
As far as I remember, Color>>#r:g:b: expects 3 numbers between 0 and 1, instead of integers from 0 to 255. Inspecting a color using the fractions proposed by Wolframalpha gives you the expected color: Color r: 0.06 g: 0.39 b: 0.39 Cheers,

Re: [Pharo-users] Coverage tools

2015-07-13 Thread Alejandro Infante
Hapao does work at method level, but without reflectivity going further to AST level is not possible. Alexandre is going to show in ESUG an integration of Hapao reports with EclEmma plugin for Jenkins and also a Roassal visualization of the Hapao report in the browser to be attached in Jenkins

Re: [Pharo-users] Customize serialization with Fuel

2015-05-07 Thread Alejandro Infante
Cool! Thanks, Alejandro On May 7, 2015, at 2:45 PM, Mariano Martinez Peck marianop...@gmail.com wrote: On Thu, May 7, 2015 at 2:21 PM, Alejandro Infante alejandroinfant...@gmail.com mailto:alejandroinfant...@gmail.com wrote: Hello all, Currently I’m in the need of serializing

[Pharo-users] Customize serialization with Fuel

2015-05-07 Thread Alejandro Infante
Hello all, Currently I’m in the need of serializing some Spy instances and my problem is that some of the objects hold references to Classes and CompiledMethods. This gives me headaches because I would like to materialize Spy in another image which possibly does not define those classes and

Re: [Pharo-users] How to silently generate and remove code

2015-03-27 Thread Alejandro Infante
Hi, As far as I know the source code is not stored in the image, but in the changes file. So from that perspective the changes files is more than just logs, it actually store our code, so not recording that entry would be similar as having a method without the actual code. Maybe a possible

Re: [Pharo-users] How much users ?

2015-01-26 Thread Alejandro Infante
Is interesting that we have more people in Pharo-Dev than in Pharo-Users, I thought it was the other way. Any reason for that? Cheers, Alejandro On Jan 26, 2015, at 2:43 PM, Marcus Denker marcus.den...@inria.fr wrote: On 26 Jan 2015, at 14:22, Pierre CHANSON chans.pie...@gmail.com wrote:

Re: [Pharo-users] How to encrypt a stream?

2014-06-08 Thread Alejandro Infante
Hi, Have you seen the Cryptography package, you can get it by downloading Nacl from Configuration Browser. It implements RC4 which is a Stream Cipher, but seems that a little bit of work is needed in order to use it on a Stream since it receives a ByteArray. Cheers, Alejandro On Jun 7, 2014,

Re: [Pharo-users] [gsoc-mentors] Re: GSoC: call for ideas

2014-02-14 Thread Alejandro Infante
Project idea Name: Instance Derreferencer for Pharo Skill level: Intermediate Possible Mentors: Name of the Student: Alejandro Infante Description: A problem with image based environment is, when you detect a memory leak is removing those objects from the system. This tool would provide a handy

Re: [Pharo-users] Instance-specific behavior

2014-02-04 Thread Alejandro Infante
Proxy maybe? I remember an example in Pharo by Example Book chapter 13 or 14. So the main idea would be: Create MyProxy, subclass of ProtoObject and with an instance variable. MyProxyinitialize morph := self. Override doesNotUnderstand to dispatch the message to the other object. Also

Re: [Pharo-users] Roassal visualizations

2014-01-10 Thread Alejandro Infante
The first thing you should do when you install Roassal is to run the Eassel World MenuToolsRoassal Easel And then select the examples, there are lots of examples and all of them includes the code needed to create the visualization. Also there are a really cool examples in the facebook page of

[Pharo-users] Garbage collector Memory Profiling

2013-07-30 Thread Alejandro Infante
Hello, We are currently working on memory profiling and we are having troubles to detect when an object is garbage collected. Any ideas? Thanks for the help, Alejandro Infante