How did you install garage and glorp? Catalog, configurations? Can you
paste here the installation instructions you followed?
On Sun, Aug 6, 2017 at 1:37 AM, Herby Vojčík wrote:
> Herby Vojčík wrote:
>
>> Guillermo Polito wrote:
>>
>>> AFAIR, PharoDatabaseAccessor was meant to work with SqueakDB
vonbecmann wrote
> did you try with negate?
That is the standard trick with PP, but the problem here is that I'm trying
to say, not just "anything which is not Y", but "any string of these
characters as long is it doesn't also match Y"
-
Cheers,
Sean
--
View this message in context:
http:/
Herby Vojčík wrote:
Guillermo Polito wrote:
AFAIR, PharoDatabaseAccessor was meant to work with SqueakDBX/DBXTalk
driver. No other driver should use it. At the time Garage did not even
exist.
So I'd say that you should not use PharoDatabaseAccessor with another
driver than the one it was origin
Hello,
The projects are a logic programming and machine learning system
respectively, so they probably warrant more involved tutorial-style
documentation. I will take a look at the Pillar docs, but just to think
ahead a bit, assuming I write up some docs in Pillar, what would be the best
way to di
Guillermo Polito wrote:
AFAIR, PharoDatabaseAccessor was meant to work with SqueakDBX/DBXTalk
driver. No other driver should use it. At the time Garage did not even
exist.
So I'd say that you should not use PharoDatabaseAccessor with another
driver than the one it was originally mean to? I do no
Esteban A. Maringolo wrote:
Which version of Pharo, Glorp and SQLite are you using?
As for SQLite dll, I don't know (does it change the fact if
queryEncoding method is present?).
Pharo is 6.1, Glorp, Garage etc. are #stable loaded from Pharo60 catalog
(see attachment).
Herby
Esteban A
Which version of Pharo, Glorp and SQLite are you using?
Esteban A. Maringolo
2017-08-05 19:20 GMT-03:00 Herby Vojčík :
> Esteban A. Maringolo wrote:
>>
>> 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 i
AFAIR, PharoDatabaseAccessor was meant to work with SqueakDBX/DBXTalk
driver. No other driver should use it. At the time Garage did not even
exist.
So I'd say that you should not use PharoDatabaseAccessor with another
driver than the one it was originally mean to? I do not know exactly your
setup,
2017-08-05 19:21 GMT-03:00 Peter Uhnak :
> If I want to initialize the value in a separate method (typically for testing
> or reuse), then I prefer to avoid state mutation there and instead I return
> the result.
>
> MyClass>>#property
> ^ property ifNil: [ property := self createNewProp
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 DeBruicker :
> Seems lik
Personally I prever to avoid long lazy initializations, so I have it nice and
tidy in a single method.
MyClass>>#property
^ property ifNil: [ property := self bar collect: #food ]
If I want to initialize the value in a separate method (typically for testing
or reuse), then I prefer to a
Esteban A. Maringolo wrote:
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
It's hard. The problem is
PharoDatabaseAcces
Seems like either way would have unmeasurable performance impact for your
application vs the other and you should go for whats most
legible/comprehensible.
On that metric I prefer the first but #yolo
Esteban A. Maringolo wrote
> Hi there,
>
> I have a question about lazy initialization
did you try with negate?
comment
^ ($" asParser , $" asParser negate star , $" asParser) flatten
On Sat, Aug 5, 2017 at 5:26 PM, Sean P. DeNigris
wrote:
> How do I tell Petit Parser to parse a string of certain allowable
> characters
> as long as the final result isn't a particular string? E.
Hi there,
I have a question about lazy initialization accessor methods that always
keep me thinking in terms of performance and style.
For years I did something like:
MyClass>>#property
property isNil ifTrue: [ self initializeProperty ]. "It could be ifNil:
as well"
^property
MyClass>>#init
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 :
> Alistair Grant wrote:
>
>> Hi H
How do I tell Petit Parser to parse a string of certain allowable characters
as long as the final result isn't a particular string? E.g. consume an
identifier as long as it's not 'Baz' or 'Bar'
Thanks
-
Cheers,
Sean
--
View this message in context:
http://forum.world.st/PetitParser-Parse-X
Alistair Grant wrote:
Hi Herby,
On 5 August 2017 at 18:09, Herby Vojčík wrote:
Hello!
First of all, what is preferred way to (first time) login into database? I
had the impression that `aDatabaseAccessor login` is sorta low-level, and
one should do `session login` (after all, it is session yo
Hi Herby,
On 5 August 2017 at 18:09, Herby Vojčík wrote:
> Hello!
>
> First of all, what is preferred way to (first time) login into database? I
> had the impression that `aDatabaseAccessor login` is sorta low-level, and
> one should do `session login` (after all, it is session you get to work
>
In the EnterprisePharo Book there is a chapter "Fuel Format Migration". There
the format migration form Fuel version 1.7 to 1.9 is shown. I ask me if there
is a similar possibility for the migration between Fuel in Pharo 4 and 6.
Johannes
Am 05.08.2017 um 15:08 schrieb Cyril Ferlicot
mailto:cyr
This is question of time and energy.
I should restart to work and make it smaller and nicer.
I want ecstatic too.
On Wed, Aug 2, 2017 at 10:21 PM, Tim Mackinnon wrote:
> Out of curiosity (as Pillar - well actually Ecstatic, was on my next hitlist
> to research), but is it so different from someth
Hi Evan
Depending on the size of the documentation.
- if you have a kind of tutorial I would go (and I can help) for a
pillar booklet or a chapter.
- else class comments are simply cool with examples
stef
On Sat, Aug 5, 2017 at 2:19 AM, Evan Donahue wrote:
> Hello,
>
> I'm working on cleaning
Hello!
First of all, what is preferred way to (first time) login into database?
I had the impression that `aDatabaseAccessor login` is sorta low-level,
and one should do `session login` (after all, it is session you get to
work with, not an accessor).
But with Garage SQLite, `session login`,
On sam. 5 août 2017 at 13:10, Johannes Brauer
wrote:
> Peter
>
> Your suggestion is correct. I correct the expression to
>
> (FLMaterializer materializeFromFileNamed: aFileRefence *fullName*)
>
> Now I get another exception.
> KeyNotFound: key #'ositive8SmallIntegerClusterJ 4Ü 1‚ ð+ –( %? "< 9 ª
Peter
Your suggestion is correct. I correct the expression to
(FLMaterializer materializeFromFileNamed: aFileRefence fullName)
Now I get another exception.
KeyNotFound: key #'ositive8SmallIntegerClusterJ4Ü1‚ð+–(
%?"<9ª6PM¾0d*ÒD ''x!Œ8' not found in SystemDictionary
I think thi
Johannes
Just a suggestion: FLMaterializer class >>materializeFromFileNamed: requires
as argument aFilename, not aFileRefence. Presumably this means the name as a
string. This makes sense, because #convertToWithConverter: is the name of a
method understood by strings. If your invocation of the
26 matches
Mail list logo