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.
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: 'questionReference
ymorphically 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. Ma
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
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
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
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 wi
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>
5, 2017, at 7:27 AM, Esteban Lorenzano wrote:
>
>>
>> On 25 Jan 2017, at 01:30, Alejandro Infante
>> wrote:
>>
>> Hi!
>>
>> I’m close to deploy a web service using Pharo with Voyage and MongoDB. I
>> have been playing with it and everything w
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 (h
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 researcher from Bern U
The tutorial is awesome!
Thank you guys!
Alejandro
> On Dec 13, 2015, at 7:18 AM, stepharo wrote:
>
> Hi guys
>
> Here is the ci of the magritte tutorial that I'm revising and collecting
> material for
>
> https://ci.inria.fr/pharo-contribution/view/Books/job/Magritte/lastSuccessfulBuild/art
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
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,
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
Cool!
Thanks,
Alejandro
> On May 7, 2015, at 2:45 PM, Mariano Martinez Peck
> wrote:
>
>
>
> On Thu, May 7, 2015 at 2:21 PM, Alejandro Infante
> mailto:alejandroinfant...@gmail.com>> wrote:
> Hello all,
>
> Currently I’m in the need of serializing
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 met
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 solu
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 wrote:
>
>
>> On 26 Jan 2015, at 14:22, Pierre CHANSON wrote:
>>
>> Hi all,
>>
>> anyone know how m
My bad, the configuration is called ApplicationSecurity, which includes Nacl
and Cryptography.
Cheers
On Jun 8, 2014, at 8:39 PM, Alejandro Infante
wrote:
> Hi,
>
> Have you seen the Cryptography package, you can get it by downloading Nacl
> from Configuration Browser. It im
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,
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
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.
MyProxy>>initialize
morph := self.
Override doesNotUnderstand to dispatch the message to the other object.
Also implem
The first thing you should do when you install Roassal is to run the Eassel
World Menu>>Tools>Roassal 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 Ob
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
25 matches
Mail list logo