[Pharo-users] Cargo & Future Proofing Releases

2018-08-06 Thread Evan Donahue
Hi,

I will have a few general interest packages to release in the near future,
for performance testing, contracts, and the like, and I'm wondering what
the current story is for package release. I've heard some things about an
upcoming "Cargo" package manager, so I'm wondering what the timeline on
that is and whether I should be doing anything in anticipation of that,
whether I should be putting things on the old Catalog, and just generally
what the standard story is right now for releasing packages.

Thanks,
Evan


Re: [Pharo-users] Pharo Launcher & Stored Settings

2018-08-06 Thread Evan Donahue
Hmm, the only things I'm trying to accomplish are 1) use Pharo Launcher and
2) have each new image keep its repositories separate, as advised by others
on the list, so that different images can check out different branches. Does
that set up require custom scripting to adjust the repo path? 

The cache path does seem to do the required adjusting on its own, but the
'metacello default directory' path defaults to that crazy thing that's not a
path on my computer:

/builds/workspace/Pharo-6.0-Update-Step-1-Tracker

PS, Is the 'store settings' button in the settings menu the standard way to
configure cross-image preferences, because that seems to also save things
like these paths that should be generated anew with each new image. Maybe I
should stick with one single place for repos and just configure these paths
to be global?

Thanks



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



Re: [Pharo-users] transactions on pharo objects

2018-08-06 Thread Carlo
Hi

This research from VPRI may be useful: Worlds: Controlling the Scope of Side 
Effects  and Experiments 
with Worlds  (Alessandro 
Warth, Yoshiki Ohshima, Ted Kaehler, and Alan Kay)
They had a JS and Squeak version running which can be found at 
http://www.tinlizzie.org/~awarth/worlds/ 


Regards
Carlo

On 30 Jul 2018, at 15:16, Peter Uhnák mailto:i.uh...@gmail.com>> wrote:

Hi,

is there some library or approach how to do transactions in pharo?
And I don't mean database transactions, but directly in memory on Pharo 
objects... e.g.

p := Person new.

transaction do: [
p name: 'Nobody'.
p age: 70.
] on: Error do: [
transaction rollback.
].

self assert: p name equals: 'Nobody'.
self assert: p age equals: 70.

transaction do: [
p name: 'Somebody'.
p age: 1 / 0.
] on: Error do: [
transaction rollback.
].

self assert: p name equals: 'Nobody'.
self assert: p age equals: 70.

Any pointers appreciated.

Thanks,
Peter




Re: [Pharo-users] BS Web and Pharo

2018-08-06 Thread Esteban A. Maringolo
Ditto here, and I'm already subscribed to the newsletter!

So it's not only nagging, but also superfluous.

On 03/08/2018 21:42, Tim Mackinnon wrote:
> Yeah - that baby… I hate seeing it over and over… presumably its some js
> that a third part coughed up (badly).
> 
> Tim
> 
>> On 4 Aug 2018, at 00:05, Cédrick Béler > > wrote:
>>
>> I guess that one ...
>> As the general warning in cookies (grrr), or the gpdr or 
>> 
>>
>> Envoyé de mon iPhone
>>
>> Le 3 août 2018 à 22:17, Damien Pollet > > a écrit :
>>
>>> On Thu, 2 Aug 2018 at 18:15, Tim Mackinnon >> > wrote:
>>>
>>>  the constant pestering to sign up for the Pharo newsletter.
>>>
>>>
>>> which pestering, where ? :confused: 
> 

-- 
Esteban A. Maringolo