[Pharo-users] Re: Easiest light weight cloud/web persistence for Pharo?

2020-10-06 Thread Esteban A. Maringolo
Hi Tim, I think that the persistence you choose will depend heavily on a few things: - The complexity of the objects graphs in your domain models - This architecture of your system - How these objects/data is acceded (Atomically/In clusters) In any case, for a lightweight solution you go the

Re: [Pharo-users] PharoLauncher "version determination error"

2018-10-02 Thread Esteban A. Maringolo
-Tests-Core-VincentBlondeau.24 Regards, On 10/2/2018 9:09 PM, Sean P. DeNigris wrote: > Esteban A. Maringolo wrote >> Am I doing something wrong? > > No. It was a bug that has been fixed. From Christophe in another thread: >> The problem is probably fixed in the latest Pharo

Re: [Pharo-users] Smalltalk Security Landscape - survey for ESUG 2018

2018-09-04 Thread Esteban A. Maringolo
nkey.com/r/esug2018 >> >> Thank you for your help, and hope to see you in Cagliari! >> >> *Jerry Kott* >> This message has been digitally signed.  >> PGP Fingerprint: >> A9181736DD2F1B6CC7CF9E51AC8514F48C0979A5 >> >> >> > -- Esteban A. Maringolo signature.asc Description: OpenPGP digital signature

Re: [Pharo-users] BS Web and Pharo

2018-08-06 Thread Esteban A. Maringolo
n Pollet > <mailto:damien.pollet+ph...@gmail.com>> a écrit : >> >>> On Thu, 2 Aug 2018 at 18:15, Tim Mackinnon >> <mailto:tim@testit.works>> wrote: >>> >>>  the constant pestering to sign up for the Pharo newsletter. >>> >>> >>> which pestering, where ? :confused:  > -- Esteban A. Maringolo

Re: [Pharo-users] transactions on pharo objects

2018-08-02 Thread Esteban A. Maringolo
El mié., 1 de ago. de 2018 20:52, Richard Sargent < richard.sarg...@gemtalksystems.com> escribió: > Esteban A. Maringolo wrote > > As a general purpose solution if you can do that, you end up > > implementing a mini gemstone in Pharo :) > > > > But what's su

Re: [Pharo-users] transactions on pharo objects

2018-07-30 Thread Esteban A. Maringolo
El lun., 30 jul. 2018 a las 11:03, Sean P. DeNigris () escribió: > > Peter Uhnák wrote > > is there some library or approach how to do transactions… directly in > > memory on Pharo > > objects > > Magritte? It uses the Memento pattern to verify all changes before > committing to real object. But

Re: [Pharo-users] transactions on pharo objects

2018-07-30 Thread Esteban A. Maringolo
y'. p age: 70. ]. self assert: p name equals: 'Nobody'. self assert: p age equals: 70. I'm using System here, to make it compatible with GemStone. #transaction: could be implemented in terms of #beginTransaction, #commitTransaction and internally use #abortTransaction if an unhandled Error is si

Re: [Pharo-users] [ANN] Cryptography package on github

2018-07-23 Thread Esteban A. Maringolo
Good work Norbert. Thanks! Esteban A. Maringolo El lun., 23 jul. 2018 a las 8:59, Norbert Hartl () escribió: > > After several attempts to solve the Cryptography package problems over the > years I decided to move it on my own to github. > > What I did: > > - researched

Re: [Pharo-users] Request for Windows test

2018-07-13 Thread Esteban A. Maringolo
long the used Windows system. > > -> http://www.drgeo.eu/download > > Thanks a lot > > Hilaire > -- Esteban A. Maringolo

Re: [Pharo-users] Naming parameters - conventions?

2018-07-12 Thread Esteban A. Maringolo
ostly to not clash with instance variables firstName and lastName. Another criteria is to never name a parameter as aSomething if Something isn't a class (and of course the class of the passed argument). The same applies to #asSomething. And _never_ use anObject as name, unless it really can hold any class of object. -- Esteban A. Maringolo

Re: [Pharo-users] Smalltalk Programming Competition

2018-06-21 Thread Esteban A. Maringolo
t as they download it. IMO if we don't understand that as a community, Pharo will still have it's niche user base. Not that I dislike it, but I would be more comfortable as a niche but with a bigger user base. Regards, -- Esteban A. Maringolo

Re: [Pharo-users] Why doesn't Iceberg checkin other assets (scripts) but does check them out?

2018-06-18 Thread Esteban A. Maringolo
can probably live with the above nuance for my desire for > atomic commits. We're grown ups trying to improve Pharo, so unless stated otherwise or clear agressions are visible (ad-hominems, passive agressiveness, etc.), it's healthier to assume all comments are honest, constructive and with good intentions. Let's avoid the meta-disussion. :) Regards, -- Esteban A. Maringolo

Re: [Pharo-users] Why doesn't Iceberg checkin other assets (scripts) but does check them out?

2018-06-13 Thread Esteban A. Maringolo
as well, and should be added for staging on each commit, which means that Iceberg should have a "file explorer" of some sort integrated into its GUI. Regards, -- Esteban A. Maringolo

Re: [Pharo-users] Pharo 6, bad debugger behaviour

2018-06-08 Thread Esteban A. Maringolo
now if it is still around in Pharo 7. Regards, [1] https://twitter.com/emaringolo/status/603939752098816000 -- Esteban A. Maringolo

Re: [Pharo-users] Understanding ZnJSONReader mapping?

2018-06-07 Thread Esteban A. Maringolo
onal to the objects (unless you use the default class side #neoJsonMapping:) WAJsonCanvas offers stream based writing, but there are no mappings, but if you always serialize a proper hierarchy of renderJsonOn: implementors could prove to be effective, in particular if you have to build your objects

Re: [Pharo-users] Is it bad to have an order NeoJsonObject?

2018-06-07 Thread Esteban A. Maringolo
ind dangerous. > > Haha, it was modelled after a JavaScript object, of course it is worse, but > more convenient in scripting code. > Sure, a plain Dictionary is better. Nothing that syntax sugar mapping some convenient property accessor to #at: couldn't fix. :) -- Esteban A. Maringolo

Re: [Pharo-users] Why doesn't Pharo 7 Iceberg write changes to the git filesystem as you go?

2018-05-22 Thread Esteban A. Maringolo
ack you mentioned, but I guess this enables you to simultaneously save the same package to more than one repository. Maybe a diagram could make the whole picture more clear. Regards, Esteban A. Maringolo 2018-05-22 12:23 GMT-03:00 Tim Mackinnon <tim@testit.works>: > Hi - when

Re: [Pharo-users] #ast vs. #parseTree

2018-05-04 Thread Esteban A. Maringolo
> its meaning even without searching. I think that the "we have a TMA situation" is a nice joke if the right guess is that TMA means "Too Many Acronyms" :) Regards! -- Esteban A. Maringolo

Re: [Pharo-users] #ast vs. #parseTree

2018-05-03 Thread Esteban A. Maringolo
+1 to avoid acronyms. Esteban A. Maringolo 2018-05-03 12:47 GMT-03:00 Francisco Garau <francisco.ga...@gmail.com>: > I'd rather be also explicit in the name and avoid acronyms. > #newAbstractSyntaxTree and #cachedAbstractSyntaxTree > > - Francisco > > >

Re: [Pharo-users] Why no collect:ifNone: ?

2018-04-30 Thread Esteban A. Maringolo
r | r collect: [:I | i hours ]] > > which is ok, but seems a mouthful? > > Am I missing a trick? > > Tim > > Sent from my iPhone > -- Esteban A. Maringolo

Re: [Pharo-users] Literals

2018-04-27 Thread Esteban A. Maringolo
> (MyClass>>#foo) literalAt: ((MyClass>>#foo) literals indexOf: #bar) put: > Set new. > > MyClass new foo  > >>>> a Set () > > Obviously it depends what you mean by literal, the latter code uses the > literal bytecode instruction, which does not make the pushed object a > literal object... -- Esteban A. Maringolo

Re: [Pharo-users] Literals

2018-04-27 Thread Esteban A. Maringolo
On 27/04/2018 15:35, Richard Sargent wrote: > On Fri, Apr 27, 2018 at 2:08 PM, Esteban A. Maringolo > <emaring...@gmail.com <mailto:emaring...@gmail.com>> wrote: > As far as I knew the only way to have new literals was to modify the > compiler. > >

Re: [Pharo-users] Literals

2018-04-27 Thread Esteban A. Maringolo
a Set with 1 and 2 as elements, there is no way to do it. Or this %{$a -> 1. 'foo' -> false. 'baz' -> #{1 1 2}} to create a dictionary with such set as literal. :) Regards, -- Esteban A. Maringolo

Re: [Pharo-users] What next for Pharo vm?

2018-04-22 Thread Esteban A. Maringolo
o make it run in a VM such as Truffle/GraalVM [1]. A longest path maybe, but you'll be able to piggyback on an existing community of VM developers, and be able to interact not only with Java but it other languages as well. [1] https://www.graalvm.org/ Regards! -- Esteban A. Maringolo

Re: [Pharo-users] Best method for connecting to an Oracle 11g database

2018-04-20 Thread Esteban A. Maringolo
t; >> Before I spend alot of time trying to debug DBXtalk I wanted to see if >> anyone else had any recommendations. Is there currently any better method >> for connecting from Pharo 6 to an Oracle database? >> >> Thanks! > -- Esteban A. Maringolo

Re: [Pharo-users] [Pharo-Launcher] call for tests on Windows

2018-04-16 Thread Esteban A. Maringolo
speeds. Can't we use something like AWS S3 to store the files of files.pharo.org? > We do not have windows users around so it’s hard to know if it works outside > our tests boxes. Once it finishes I'll let you know. I'm one the few out there still using Windows 7 Pro. Regards, -- Esteban A. Maringolo

[Pharo-users] [OT] Reminder about quoting/top-posting

2018-04-13 Thread Esteban A. Maringolo
of previous quotes, or in the case of top-posters, they keep the replied emails accumulating in the bottom, causing a scroll down to find nothing else was there. Thanks! -- Esteban A. Maringolo signature.asc Description: OpenPGP digital signature

Re: [Pharo-users] Where do we go now ?

2018-04-13 Thread Esteban A. Maringolo
eric classes. "Objects all the way down". Most problems surge from the lack of proper abstractions. -- Esteban A. Maringolo

Re: [Pharo-users] Where do we go now ?

2018-04-13 Thread Esteban A. Maringolo
sounds cool actually)). Fortunately in the past the lack of namespaces caused the use of prefixes instead of suffixes. With time prefixes become invisible. A suffix, instead, will get into all your names, bothering with other existing suffixes like `Component`, `Model`, `Collection`, and so on. -- Esteban A. Maringolo

Re: [Pharo-users] Where do we go now ?

2018-04-13 Thread Esteban A. Maringolo
On 13/04/2018 09:39, Esteban Lorenzano wrote: > > >> On 13 Apr 2018, at 14:33, Andrew Glynn > > wrote: >> >> I find NPM as obscure as Pharo, honestly, and VA Smalltalk is worse >> (wth does abt or sst stand for?).  Grunt, Gulp, etc., how do the

Re: [Pharo-users] Where do we go now ?

2018-04-13 Thread Esteban A. Maringolo
ub. True, and it's also giving visibility to Pharo and Smalltalk as active technologies. Regards, -- Esteban A. Maringolo

Re: [Pharo-users] Where do we go now ?

2018-04-13 Thread Esteban A. Maringolo
On 13/04/2018 09:05, Richard O'Keefe wrote: > There are a lot of subsystems in Pharo, and being a bear of > very little brain, I have a hard time relating Zinc, Calypso, > to, well, whatever they are.  I presume there is > somewhere a list of topic/name/PFX triples for guidance. > Can some kind

Re: [Pharo-users] Namespaces and ASN1 types in Cryptography package

2018-03-31 Thread Esteban A. Maringolo
Norbert's ASN1 package as a dependency instead. Regards, Esteban A. Maringolo 2018-03-31 12:11 GMT-03:00 Holger Freyther <hol...@freyther.de>: > Hi, > > I was debugging some test failures and it turns out that my code defines an > ASN1IntegerType and the Cryptography pac

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

2018-03-29 Thread Esteban A. Maringolo
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 2018-03-29 11:43 GMT-03:00 Alejandro Infa

Re: [Pharo-users] Zeroconf for Windows?

2018-03-26 Thread Esteban A. Maringolo
o ;) Or there could be a PowerShell / cmd alternative if somebody is willing to put the effort to install it. The server could return the bash/sh based script or the batch one based on the request headers. But I'd put the burden of doing it to somebody with the real need. Regards, Esteban A. Maringolo

Re: [Pharo-users] Porting Transducers to Pharo

2018-03-21 Thread Esteban A. Maringolo
was the choosen tool? I tried FileOuterNG but it doesn't work in VW PUL 8.2, and I don't understand the reasoning behind the "bindings" mappings (it fails when building the default mappings). The FileOut30 package doesn't seem to respect encodings at all. Thanks! Esteban A. Maringolo

Re: [Pharo-users] inquiring question about ifTrue: implementation

2018-03-19 Thread Esteban A. Maringolo
d:, or the well known #ifEmpty: Regards, Esteban A. Maringolo 2018-03-19 9:40 GMT-03:00 Petr Fischer <petr.fisc...@me.com>: >> Infinite recursion ? >> >> You use #ifTrue: in your implementation of Object>>#ifTrue: >> >> Plus, non-booleans cannot meaningful

Re: [Pharo-users] What is Reef? (was: Tide/Amber)

2018-03-15 Thread Esteban A. Maringolo
Oh my goodness. Willow works ON TOP of Seaside? I always thought it was a separate project using some of its concepts (canvas, etc.). Regards, Esteban A. Maringolo 2018-03-15 5:53 GMT-03:00 Esteban Lorenzano <esteba...@gmail.com>: > > > On 15 Mar 2018, at 09:47, H. Hir

Re: [Pharo-users] Something is happening...

2018-03-14 Thread Esteban A. Maringolo
ally a lot of things going on. :) Regards, Esteban A. Maringolo 2018-03-13 4:27 GMT-03:00 Marcus Denker <marcus.den...@inria.fr>: > Hi, > > There is something odd happening… or better: There is *a lot* happening. > > Just one example: for the Newsletter, the original idea

[Pharo-users] Base58/Base58Check encoder package

2018-03-09 Thread Esteban A. Maringolo
I created a small utility class `Base58Encoder` that allows you to encode/decode ByteArrays to/from Base58 and Base58Check. For more information: https://github.com/eMaringolo/pharo-base58 Regards, Esteban A. Maringolo

Re: [Pharo-users] Bitwise operations in ByteArray (slicing, etc.)

2018-03-06 Thread Esteban A. Maringolo
2018-03-06 12:06 GMT-03:00 Henrik Sperre Johansen <henrik.s.johan...@veloxit.no>: > Esteban A. Maringolo wrote > BaseX encode/decode can be simple enough to fit in a small workspace: > > base := 58. > base58Lookup := > '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmno

Re: [Pharo-users] Bitwise operations in ByteArray (slicing, etc.)

2018-03-05 Thread Esteban A. Maringolo
blog post of your own. Thanks in advance. Esteban A. Maringolo 2018-03-05 21:55 GMT-03:00 Richard O'Keefe <rao...@gmail.com>: > I note that the specification in question does not > deal with arbitrary bit strings but with "entropies" > that are 128 to 256 bits long and

Re: [Pharo-users] Bitwise operations in ByteArray (slicing, etc.)

2018-03-05 Thread Esteban A. Maringolo
2018-03-05 14:02 GMT-03:00 Stephane Ducasse <stepharo.s...@gmail.com>: > On Sun, Mar 4, 2018 at 9:43 PM, Esteban A. Maringolo > <emaring...@gmail.com> wrote: >> 2018-03-04 17:15 GMT-03:00 Sven Van Caekenberghe <s...@stfx.eu>: >>> Bits are actually num

Re: [Pharo-users] Bitwise operations in ByteArray (slicing, etc.)

2018-03-05 Thread Esteban A. Maringolo
sing an Integer. > Smalltalk/X has a BitArray class; see > http://live.exept.de/ClassDoc/classDocOf:,BitArray > for documentation. This class basically does the job. Thank you for the reference. Esteban A. Maringolo

Re: [Pharo-users] [Pharo-dev] Looking for names for the booklet collection

2018-03-04 Thread Esteban A. Maringolo
2018-03-04 13:49 GMT-03:00 Peter Uhnák <i.uh...@gmail.com>: >> Pharo Tools & Technologies >> Pharo Language & Environment > > +1 ... simple, obvious, to the point I adhere to this. I add one more option: "Pharo Tools & Libraries" Regards, Esteban A. Maringolo

Re: [Pharo-users] Bitwise operations in ByteArray (slicing, etc.)

2018-03-04 Thread Esteban A. Maringolo
to check whether something like that already existed. Regards! [1] https://github.com/eMaringolo/pharo-bip39mnemonic/blob/master/src/BIP39Mnemonic-Core.package/BIP39MnemonicTest.class/instance/jsonTestVectors.st Esteban A. Maringolo

Re: [Pharo-users] Bitwise operations in ByteArray (slicing, etc.)

2018-03-04 Thread Esteban A. Maringolo
g when I could have done it myself :) Regards, Esteban A. Maringolo 2018-03-04 16:40 GMT-03:00 Sven Van Caekenberghe <s...@stfx.eu>: > Take a 24-bit number and you want to isolate the first 5 (these are actually > the last, higher order) bits. > > n := 2r10101000000

[Pharo-users] Bitwise operations in ByteArray (slicing, etc.)

2018-03-04 Thread Esteban A. Maringolo
operations, but I couldn't find something that does the above in a conciser way. Performance in my case isn't critical, but working with strings is probably two orders of magnitude slower than manipulating bits in integers or ByteArrays Regards, Esteban A. Maringolo

Re: [Pharo-users] HMAC-SHA512

2018-03-04 Thread Esteban A. Maringolo
2018-03-04 0:45 GMT-03:00 Pierce Ng <pie...@samadhiweb.com>: > On Fri, Mar 02, 2018 at 11:24:36AM -0300, Esteban A. Maringolo wrote: >> There is a PBKDF2 package made by Udo Schneider, and seems to be >> easily pluggable with a different hashing algorithm, so I'd n

Re: [Pharo-users] casting to subclass

2018-03-02 Thread Esteban A. Maringolo
XMLElement` Then all subclasses of `ILHTMLBuilderElement` will know what to look and what to omit from the `XMLElement` parameter. Regards! Esteban A. Maringolo 2018-03-02 17:08 GMT-03:00 Stephan Eggermont <step...@stack.nl>: > Siemen Baader <siemenbaa...@gmail.com> wrote: >> >

Re: [Pharo-users] HMAC-SHA512

2018-03-02 Thread Esteban A. Maringolo
2018-03-02 8:54 GMT-03:00 Ben Coman <b...@openinworld.com>: > On 2 March 2018 at 10:43, Esteban A. Maringolo <emaring...@gmail.com> wrote: >> So after all this what's the recommended way to use HMAC-SHA512 in Pharo >> 6? > Libsodium installation instructions.

Re: [Pharo-users] HMAC-SHA512

2018-03-01 Thread Esteban A. Maringolo
Hi Ben, all, So after all this what's the recommended way to use HMAC-SHA512 in Pharo 6? I'd need it in combination with PBKDF2 to replicate this Python call: PBKDF2(password, salt, iterations, macmodule=hmac, digestmodule=hashlib.sha512).read(64) Regards, Esteban A. Maringolo 2017-12-10 6

Re: [Pharo-users] adding 1 year to the date - bug?

2018-02-26 Thread Esteban A. Maringolo
This is a discussion we already had years ago. And comes back every once in a while. Pharo, and all dialects to my knowledge, uses incremental based calculations instead of field based calculations (like java.util.Calendar). This is the best thread I remember where we discussed this.

Re: [Pharo-users] [ANN] PI

2018-02-19 Thread Esteban A. Maringolo
! Esteban A. Maringolo 2018-02-18 17:12 GMT-03:00 Hernán Morales Durand <hernan.mora...@gmail.com>: > Thanks, please let me know issues or ideas for enhacements. > > I just uploaded a new version adding a search packages feature, > supporting both GitHub and SmalltalkHub reposi

Re: [Pharo-users] canonical way to convert Symbol into Class (retrieve class by its name)

2018-02-10 Thread Esteban A. Maringolo
acing approach adds more complexity than anything else, I'd use a more dynamic approach, like using modules. Regards, Esteban A. Maringolo

Re: [Pharo-users] Generate equality

2018-02-07 Thread Esteban A. Maringolo
d hashcode() functions based on the attributes of your choice. Regards! Esteban A. Maringolo 2018-02-07 17:09 GMT-03:00 Norbert Hartl <norb...@hartl.name>: > I think that implementing = and hash is almost always wrong. So I guess the > answer is no :) > > Norbert > &g

Re: [Pharo-users] [ANN] sentry.io (OSS error tracking platform) SDK

2018-02-07 Thread Esteban A. Maringolo
, not only for Sentry. Esteban A. Maringolo 2018-02-07 16:20 GMT-03:00 Stephane Ducasse <stepharo.s...@gmail.com>: > Nice :) > > Do you send the stack? > > Stef > > On Tue, Feb 6, 2018 at 10:55 PM, Peter Uhnák <i.uh...@gmail.com> wrote: > >> I guess the subject sho

Re: [Pharo-users] looking for another iterator :)

2018-01-24 Thread Esteban A. Maringolo
2018-01-22 6:57 GMT-03:00 Sven Van Caekenberghe <s...@stfx.eu>: > yes, we need composition to avoid API explosion (things are already very bad > in this respect) And the names of the proposed selectors suggests it could be even worst. +1 to composition. Esteban A. Maringolo

Re: [Pharo-users] Databases

2018-01-15 Thread Esteban A. Maringolo
I, used extensively for DB access where there is more wait and transfer state, than execution. Esteban A. Maringolo

Re: [Pharo-users] Zinc JSON parsing error handling

2017-12-14 Thread Esteban A. Maringolo
Is this Bittrex client available somewhere to play with? Regards! Esteban A. Maringolo 2017-12-13 3:59 GMT-03:00 Ben Coman <b...@openinworld.com>: > > With... > Object subclass: #BittrexResponse > instanceVariableNames: 'success message result' > classVariableNames: '

Re: [Pharo-users] Namespaces (was Re: Behold Pharo: The Modern Smalltalk)

2017-10-13 Thread Esteban A. Maringolo
as such. Only Modtalk tried to do that, but the project seems defunct now. Regards, Esteban A. Maringolo 2017-10-13 12:00 GMT-03:00 Dimitris Chloupis <kilon.al...@gmail.com>: > Modularisation is coming whether you like it or not > its called > > Bootstrap > > And th

Re: [Pharo-users] Namespaces (was Re: Behold Pharo: The Modern Smalltalk)

2017-10-13 Thread Esteban A. Maringolo
2017-10-13 5:55 GMT-03:00 Norbert Hartl : > >> Am 13.10.2017 um 10:24 schrieb stephan : >> >> On 13-10-17 09:55, Thierry Goubier wrote: >>> Because namespaces, by essence, come with serious issues. I won't take >>> someone seriously on namespaces until he can

Re: [Pharo-users] why are Help topics in the meta-side

2017-10-03 Thread Esteban A. Maringolo
on / descriptions > / help information / examples are kept on the class side. In fact I don't like that Magritte moved the descriptions from class to instance side. My two cents on this. Regards! Esteban A. Maringolo

Re: [Pharo-users] PharoCloud method sources

2017-09-22 Thread Esteban A. Maringolo
It's pretty simple for small graphics. Although I'm not using it anymore. There is also a great Seaside wrapper for Highcharts, which is more actively used and maintained. Esteban A. Maringolo 2017-09-22 15:04 GMT-03:00 Stephane Ducasse <stepharo.s...@gmail.com>: > Cool I did not k

[Pharo-users] PharoCloud method sources

2017-09-21 Thread Esteban A. Maringolo
` instad. Can this be fixed somehow? [1] http://pharo.pharocloud.com/bootstrap/browser/Alerts [2] http://pharo.pharocloud.com/rickshaw Esteban A. Maringolo

Re: [Pharo-users] Web stack practices (Glorp / QCMagritte)

2017-09-18 Thread Esteban A. Maringolo
ith before porting it to Pharo, if it's worth it. Maybe we think about another strategy but still using the DDL objects of Glorp. Regards! Esteban A. Maringolo 2017-09-18 7:22 GMT-03:00 laurent <laurent.laff...@gmail.com>: > Hi all, > > it's been a long time :) At work we are cu

Re: [Pharo-users] How to convert avoiding parser

2017-09-13 Thread Esteban A. Maringolo
Hi, Side note: Please sanitize the strings you use for the concatenation or use prepared statements, otherwise you could be vulnerable to SQL INJECTION attacks. Best regards, Esteban A. Maringolo 2017-09-13 17:34 GMT-03:00 Sven Van Caekenberghe <s...@stfx.eu>: > >> On 13 Sep

Re: [Pharo-users] Object>>#name deprecated in Pharo 6 -- what do I need to do?

2017-09-11 Thread Esteban A. Maringolo
2017-09-11 14:44 GMT-03:00 Norbert Hartl <norb...@hartl.name>: >> Am 11.09.2017 um 19:05 schrieb H. Hirzel <hannes.hir...@gmail.com>: >> Now 488 out of 479 tests pass. > I would call that superb quality  It's a 10+taxes as we say :) Esteban A. Maringolo

Re: [Pharo-users] Standalone HTML Model

2017-09-11 Thread Esteban A. Maringolo
, Esteban A. Maringolo 2017-09-11 7:31 GMT-03:00 Pierce Ng <pie...@samadhiweb.com>: > On Fri, Sep 08, 2017 at 03:15:56PM -0700, Sean P. DeNigris wrote: > > I'd like to create HTML via a DSL, like Seaside's canvas builder, but > without > > loading a whole web framework

Re: [Pharo-users] Dark Mode

2017-08-28 Thread Esteban A. Maringolo
I think it not only a matter of user preference, but also environment lighting conditions. In bright environments, as with natural light, I prefer to use the light theme. At night or with artificial light dark theme fits better. Regards, Esteban A. Maringolo 2017-08-28 9:30 GMT-03:00 Tim

Re: [Pharo-users] [ANN] Pharo wiki , is here

2017-08-24 Thread Esteban A. Maringolo
Why are you using markup documents to create the wiki when you could use Github wiki itself? For portability? Esteban A. Maringolo 2017-08-24 9:59 GMT-03:00 Dimitris Chloupis <kilon.al...@gmail.com>: > Actually I have already done this > > https://github.com/SquareBracketAssoc

Re: [Pharo-users] Minimizing an Application

2017-08-24 Thread Esteban A. Maringolo
memory, but I haven't know of any production system using it. Regards! Esteban A. Maringolo

Re: [Pharo-users] Minimizing an Application

2017-08-22 Thread Esteban A. Maringolo
ince they are web applications, I always deployed the whole image in the server, built from a vanilla one, but without stripping anything. Regards, Esteban A. Maringolo 2017-08-22 0:22 GMT-03:00 Richard Sargent <richard.sarg...@gemtalksystems.com>: > VA Smalltalk doesn't strip an im

Re: [Pharo-users] [ANN] Pharo wiki , is here

2017-08-21 Thread Esteban A. Maringolo
different syntax). So if Torsten's wiki has lots of contents (I wasn't aware of it), and most people want to move to a new wiki server, we should consider recovering Swiki's content. It's a fun project as well (if you have the time). Regards, Esteban A. Maringolo 2017-08-20 6:43 GMT-03:00 Torste

Re: [Pharo-users] What is proper fix for this?

2017-08-17 Thread Esteban A. Maringolo
ppl at Cincom would welcome any > >>> volunteers to support them in keeping things portable and improve the > >>> ecosystem for this. > >>> Is any of you going to be at ESUG? > >> I will, but I will not maintain Glorp port… I have just too much work :) > >

[Pharo-users] GTInspect auto-update in raw view?

2017-08-16 Thread Esteban A. Maringolo
variables of the new object in the instance variable. E.g. [image: Imágenes integradas 1] Is this a bug or a feature? Regards! Esteban A. Maringolo

Re: [Pharo-users] What is proper fix for this? (was: Re: Big Glorp problem w/ type coercion, pls help)

2017-08-16 Thread Esteban A. Maringolo
Herby, Please apologize I can't take the time to look into your code. I granted you write access to <http://smalltalkhub.com/#!/~DBXTalk/Glorp/>, could you upload your latter version to it? Regards! Esteban A. Maringolo 2017-08-15 19:07 GMT-03:00 <he...@mailbox.sk>: > BTW I

Re: [Pharo-users] Encoding Login information in your image (safely)

2017-08-16 Thread Esteban A. Maringolo
ation, but it's well known that security by obfuscation won't get you far. Regards, Esteban A. Maringolo

Re: [Pharo-users] Big Glorp problem w/ type coercion, pls help

2017-08-14 Thread Esteban A. Maringolo
Do you have the code somewhere loadable? Reading chunk is something I do only when everything crashed :D Esteban A. Maringolo 2017-08-14 13:44 GMT-03:00 Herby Vojčík <he...@mailbox.sk>: > Hello! > > I encountered a problem with OneToOneMapping and type coercion. When writing >

Re: [Pharo-users] Honest question, new to ecosystem: are Glorp and Garage alive?

2017-08-14 Thread Esteban A. Maringolo
nOfUDBC) loadBleedingEdge. Gofer it smalltalkhubUser: 'DBXTalk' project: 'Garage'; configurationOf: 'GarageGlorp'; load. (Smalltalk at: #ConfigurationOfGarageGlorp) project stableVersion load. Gofer it smalltalkhubUser: 'DBXTalk' project: 'Glorp'; package: 'Glorp-SQLite3'; load. >> About

Re: [Pharo-users] [ANN] PharoLambda 1.5 - Pharo running on AWS Lambda now with saved Debug sessions via S3

2017-08-10 Thread Esteban A. Maringolo
like this from you. Regards! Esteban A. Maringolo 2017-08-10 10:47 GMT-03:00 Tim Mackinnon <tim@testit.works>: > I just wanted to thank everyone for their help in getting my pet project > further along, so that now I can announce that PharoLambda is now working > with the V7 minimal

Re: [Pharo-users] Stylistic question: private helper vs extension method?

2017-08-09 Thread Esteban A. Maringolo
esponsePayload at: each ifPresentPut: [ :uuid | uuid asString ]. or: responsePayload at: each ifPresentPut: [ 'FooBaz' ]. Regards, Esteban A. Maringolo

Re: [Pharo-users] Fetching https site content with Zinc

2017-08-07 Thread Esteban A. Maringolo
of that SmartContract. Also, you can use an available Pharo driver for Ethereum: https://github.com/sbragagnolo/Fog I'm not familiar with Ethereum, but according to Fog's docs you can get the contract doing: FogConnection eth getContract: 'ContractHash' blockTag: 'latest' Regards! Esteban A. Maringolo

Re: [Pharo-users] Glorp: `session login` fails for Garage SQLite

2017-08-06 Thread Esteban A. Maringolo
login methods as the Pharo version. [1] See: http://files.pharo.org/books-pdfs/booklet-Glorp/2017-05-02-Glorp-Spiral.pdf Regards, Esteban A. Maringolo

Re: [Pharo-users] Glorp: `session login` fails for Garage SQLite

2017-08-05 Thread Esteban A. Maringolo
Which version of Pharo, Glorp and SQLite are you using? Esteban A. Maringolo 2017-08-05 19:20 GMT-03:00 Herby Vojčík <he...@mailbox.sk>: > Esteban A. Maringolo wrote: >> >> Herby, >> >> I regularly use `session login`, but I don't use SQLite in Pharo, but I

Re: [Pharo-users] Lazy-initialization patterns

2017-08-05 Thread Esteban A. Maringolo
lizationMethod returning the value instead of the receiver is a > > code smell to me. > > For this reason I tend to name such methods createNewX, initializeX says to > me "only mutate state and return self" I like this approach very much, it makes the accessor code concise and separates the implementation of the property creation. Thank you! Esteban A. Maringolo

Re: [Pharo-users] Lazy-initialization patterns

2017-08-05 Thread Esteban A. Maringolo
I know the compiler is smart enough in most cases, and even if it isn't, an extra send or two won't hurt me in the kind of computation I do. But it's the style what "worried" me the most. Let's use the first then :) Esteban A. Maringolo 2017-08-05 19:18 GMT-03:00 Paul DeBruic

[Pharo-users] Lazy-initialization patterns

2017-08-05 Thread Esteban A. Maringolo
slots) to implement the lazy initialization themselves :) Best regards! Esteban A. Maringolo

Re: [Pharo-users] Glorp: `session login` fails for Garage SQLite

2017-08-05 Thread Esteban A. Maringolo
Herby, I regularly use `session login`, but I don't use SQLite in Pharo, but I do in VisualWorks and it works just fine. Maybe if there is a bug we should fix it. Even with a no-op method. Regards! Esteban A. Maringolo 2017-08-05 15:52 GMT-03:00 Herby Vojčík <he...@mailbox.sk>: >

Re: [Pharo-users] How to load a baseline in Iceberg? Get #addTo: sent to nil?

2017-08-02 Thread Esteban A. Maringolo
What is the Metacello integration setting? Esteban A. Maringolo 2017-08-02 19:01 GMT-03:00 Tim Mackinnon <tim@testit.works>: > Answering a portion of my own question - enabling the Metacello > Integration setting, does get a bit further, but then it expects my > BaselineOF

Re: [Pharo-users] Problems verifying the cryptographic signature of a file.

2017-07-31 Thread Esteban A. Maringolo
How do check the signature of a file? I guess you must ensure the file creation is complete as well as its digital signing. So if these steps are done asynchronously you should synchronize them by means of a semaphore or similar. Regards! Esteban A. Maringolo 2017-07-31 14:11 GMT-03:00 Offray

Re: [Pharo-users] Iceberg and removing packages

2017-07-31 Thread Esteban A. Maringolo
mit/7d2d7422812216615e684c838f9bd7521590cc27> Regards! Esteban A. Maringolo 2017-07-31 9:30 GMT-03:00 Esteban Lorenzano <esteba...@gmail.com>: > Did you commit? > >> On 31 Jul 2017, at 14:06, Esteban A. Maringolo <emaring...@gmail.com> wrote: >> >> That's exactly wh

Re: [Pharo-users] Iceberg and removing packages

2017-07-31 Thread Esteban A. Maringolo
That's exactly what I did. But after synchronizing the repo, the package wasn't listed on Iceberg but it still was in in the repo. It happened with another package in another repo as well. If it happens again I'll let you know. Regards! Esteban A. Maringolo 2017-07-31 7:03 GMT-03:00 Esteban

Re: [Pharo-users] NeoJSON "conditional" parsing/mapping

2017-07-30 Thread Esteban A. Maringolo
s the map to my specific instances, so each instance holds a reference to the map object used to build it. I didn't feel comfortable subclassing domain specific classes from Dictionary. Regards! Esteban A. Maringolo [1] It's available at https://github.com/eMaringolo/NeoJSONRPC but I'm still learning

Re: [Pharo-users] Iceberg and removing packages

2017-07-30 Thread Esteban A. Maringolo
UI. What is the "This is all you need to read to understand Iceberg?" document I should read? I read its wiki, but it seems there is more to go. Regards! Esteban A. Maringolo 2017-07-30 11:28 GMT-03:00 Peter Uhnak <i.uh...@gmail.com>: > This was supposedly fixed in April &

[Pharo-users] Iceberg and removing packages

2017-07-30 Thread Esteban A. Maringolo
of my repos in Github, then I decided to remove one of the packages from the repo, then I synchronized it but in the repo there is still is the package folder for the package I removed. What should I do to definitely remove those files from the commit? Regards! Esteban A. Maringolo

Re: [Pharo-users] Pharo Seaside RESTful services pragma question

2017-07-29 Thread Esteban A. Maringolo
Did you try setting the pragma in the list method? Esteban A. Maringolo 2017-07-28 18:40 GMT-03:00 Greg Hutchinson <the.greg.hutchin...@gmail.com>: > I am new to Pharo/Seaside and it has been a long time since I have used > Smalltalk. I am trying to make a RESTful service a

Re: [Pharo-users] NeoCSV on Irregular Files

2017-07-26 Thread Esteban A. Maringolo
used from #upToEnd, add a #atSectionEnd). But it all depends on > your specific format. It's harder to do if it is char based, instead of "line" based. Or at least harder to code. Regards! Esteban A. Maringolo

Re: [Pharo-users] NeoCSV on Irregular Files

2017-07-26 Thread Esteban A. Maringolo
; (like a window function), so passing the segment to the reader implied copying its string contents within the segment delimiters. It's something I already put some thought into, but never had the will to code and share publicly. Regards, Esteban A. Maringolo 2017-07-26 12:02

[Pharo-users] NeoJSON "conditional" parsing/mapping

2017-07-25 Thread Esteban A. Maringolo
his. Best regards! [1] http://www.jsonrpc.org/specification#response_object Esteban A. Maringolo

  1   2   3   4   5   >