Re: [Pharo-users] Dolphin Smalltalk open-sourced...

2016-01-04 Thread Tudor Girba
Hi,

Indeed, something seems to have gone wrong with previous Visual C++ 
installation. I now reinstalled it and it worked.

Thanks for the help.

Cheers,
Doru


> On Jan 4, 2016, at 9:17 PM, Ferlicot D. Cyril  
> wrote:
> 
> Le 04/01/2016 17:13, Tudor Girba a écrit :
>> Hi,
>> 
>> I am trying to run it, but I have troubles starting it.
>> 
>> I have a Windows 7 64 bit.
>> 
>> I did the following:
>> 1. I downloaded the repo from:
>> https://github.com/objectarts/Dolphin
>> 2. I then tried to run Dolphin7.exe and BootDCE.cmd, but in both cases I got 
>> the message:
>> “Missing msvcp120.dll”
>> 3. I then installed this dll as described here:
>> http://dllwindows.com/download-msvcp120-dll/
>> 4. I retried to Dolphin7.exe and BootDCE.cmd, but now I get 
>> “The application was unable to start correctly (oxc07b)”
>> 
>> Does anyone know what is wrong with what I am doing?
>> 
>> Cheers,
>> Doru
>> 
>> 
>> --
>> www.tudorgirba.com
>> www.feenk.com
>> 
>> "Things happen when they happen,
>> not when you talk about them happening."
>> 
>> 
> 
> Hi again,
> 
> I tried on my Windows 7 64bits.
> 
> I cloned the Dolphin repo, launched BootAll.cmd then opened DPRO.img7
> with Dolphin7.exe and everything worked out of the box.
> 
> I already had Visual C++ 2013 on my computer. Do you have it installed ?
> (https://www.microsoft.com/en-us/download/details.aspx?id=40784)
> 
> -- 
> Cyril Ferlicot
> 
> http://www.synectique.eu
> 
> 165 Avenue Bretagne
> Lille 59000 France

--
www.tudorgirba.com
www.feenk.com

"To lead is not to demand things, it is to make them happen."







[Pharo-users] Interogation about recursivity or sequential

2016-01-04 Thread Yann Dubois
Hello World, Happy new year 2016 !

I actually work on an integration of a double linked list on Pharo and I
have a little interogation.
It's better to use recursivity or senquential algorithm ?

Yann


Re: [Pharo-users] Dolphin Smalltalk open-sourced...

2016-01-04 Thread Esteban A. Maringolo
2016-01-04 17:25 GMT-03:00 Tudor Girba :
> Hi,
>
> Indeed, something seems to have gone wrong with previous Visual C++ 
> installation. I now reinstalled it and it worked.

Look at the Aspect class and implementors of
#publishedAspectsOfInstances, that's very close to what the
GTInspector provides in a way I find easier to define (maybe because
my mind is shaped by it :-) )

Regards,

Esteban A. Maringolo



Re: [Pharo-users] Dolphin Smalltalk open-sourced...

2016-01-04 Thread Ferlicot D. Cyril
Le 04/01/2016 17:13, Tudor Girba a écrit :
> Hi,
> 
> I am trying to run it, but I have troubles starting it.
> 
> I have a Windows 7 64 bit.
> 
> I did the following:
> 1. I downloaded the repo from:
> https://github.com/objectarts/Dolphin
> 2. I then tried to run Dolphin7.exe and BootDCE.cmd, but in both cases I got 
> the message:
> “Missing msvcp120.dll”
> 3. I then installed this dll as described here:
> http://dllwindows.com/download-msvcp120-dll/
> 4. I retried to Dolphin7.exe and BootDCE.cmd, but now I get 
> “The application was unable to start correctly (oxc07b)”
> 
> Does anyone know what is wrong with what I am doing?
> 
> Cheers,
> Doru
> 
> 
> --
> www.tudorgirba.com
> www.feenk.com
> 
> "Things happen when they happen,
> not when you talk about them happening."
> 
> 

Hi again,

I tried on my Windows 7 64bits.

I cloned the Dolphin repo, launched BootAll.cmd then opened DPRO.img7
with Dolphin7.exe and everything worked out of the box.

I already had Visual C++ 2013 on my computer. Do you have it installed ?
(https://www.microsoft.com/en-us/download/details.aspx?id=40784)

-- 
Cyril Ferlicot

http://www.synectique.eu

165 Avenue Bretagne
Lille 59000 France



signature.asc
Description: OpenPGP digital signature


Re: [Pharo-users] Working with a compressed Fuel file?

2016-01-04 Thread Stephan Eggermont

On 04-01-16 14:29, Mariano Martinez Peck wrote:

Ahh I reported that years ago:
http://forum.world.st/Re-Pharo-project-GZipWriteStream-crashing-my-VM-when-serializing-td4177725.html


I can't seem to find an issue for this. Did we lose it?

Stephan





Re: [Pharo-users] Versionner and package dependencies

2016-01-04 Thread Ferlicot D. Cyril
Le 04/01/2016 10:44, Christophe Demarey a écrit :
> Hi Cyril,
> 
> It is not something we want in Versionner.
> An external project *must* have a configuration to refer to it. If not,
> you will take random packages without knowing if they have themselves
> dependencies.
> What you should do is to create a project for that and then ask
> Versionner to only load the package you need (right-click on the project
> dependency).
> 
> Christophe

Hi,

So we have to create ourself a configuration for each project that
doesn't have a configuration/group that match our needs if we want to
use versionner if I understand right. Ok, thank you.

And is there a way to execute pre/post scripts (#postLoadDoIt: in
ConfigurationOfXXX) with versionner ? If not is it something you want to
add to versionner or this will not be add ?

-- 
Cyril Ferlicot

http://www.synectique.eu

165 Avenue Bretagne
Lille 59000 France



signature.asc
Description: OpenPGP digital signature


Re: [Pharo-users] Using Playgrounds as a notepad

2016-01-04 Thread Dimitris Chloupis
have you tried the Workspace ?

Workspace open.

or you can built your own starting with TextMorph

tm := TextMorph new.
tm openInWindow .

On Mon, Jan 4, 2016 at 3:22 AM Andy Burnett 
wrote:

> I often find that I need to do simple manipulations to passages of text,
> e.g. remove all carriage returns, or extract email addresses etc.
>
> Pasting the text into a Playground doesn't work because there is always an
> apostrophe, or line break or... etc. and the playground complains.
>
> Is there a way to tell a Playground to just ignore the text, and give me a
> handle to its contents, so that I can then do something like
>
> playgroundId contents splitOn:Character space.
>
> Alternatively, is there another object that would be more appropriate?
> Playground would be really useful just because it is in the menu, and
> always available.
>
> Cheers
> Andy
>


Re: [Pharo-users] Lawsuit Tracker app

2016-01-04 Thread Saša Janiška
On Ned, 2016-01-03 at 12:49 +0100, Esteban Lorenzano wrote:

> you have it:
> 
> http://catalog.pharo.org

That's nice, but there are, imho, too many pkgs with "No description
provided", so maybe that should be made as mandatory?


Sincerely,
Gour

-- 
In the material world, one who is unaffected by whatever good 
or evil he may obtain, neither praising it nor despising it, 
is firmly fixed in perfect knowledge.







Re: [Pharo-users] Adding description doc for Catalog browser projects

2016-01-04 Thread Dimitris Chloupis
very good idea Nobert I will do that, and ever better post it here as well

On Mon, Jan 4, 2016 at 12:53 PM Norbert Hartl  wrote:

>
> > Am 04.01.2016 um 11:39 schrieb Dimitris Chloupis  >:
> >
> > It has just occured me to that since meta repo is public and anyone can
> commit to it, is it ok if I add descriptions to projects that have none ?
> Because I am tried of seeing a project on Catalog Browser with no idea what
> it does.
> >
> > But i thought to ask permission to edit other people's configurations,
> though I wont be touching the configurations themselves only add
> descriptions to projects I find interesting yet they have not description.
> >
> > Is that ok with you ?
>
> Most of the configurations are just copied to the meta repo. They are
> usually kept in a project repo and copied from there. So your changes get
> easily lost. But you can provide the catalog methods to the author of the
> package. I think most are happy to include your changes.
>
> Norbert
>


Re: [Pharo-users] Lawsuit Tracker app

2016-01-04 Thread Esteban Lorenzano

> On 04 Jan 2016, at 11:23, Saša Janiška  wrote:
> 
> On Ned, 2016-01-03 at 12:49 +0100, Esteban Lorenzano wrote:
> 
>> you have it:
>> 
>> http://catalog.pharo.org
> 
> That's nice, but there are, imho, too many pkgs with "No description
> provided", so maybe that should be made as mandatory?

it is mandatory… but people does not provide them, and we could reject the 
projects, but then they will be irremediable lost. 
So we took the “least pain” path. 

I encourage people to provide correct project descriptions.

cheers, 
Esteban

> 
> 
> Sincerely,
> Gour
> 
> -- 
> In the material world, one who is unaffected by whatever good 
> or evil he may obtain, neither praising it nor despising it, 
> is firmly fixed in perfect knowledge.
> 
> 
> 
> 
> 




[Pharo-users] Adding description doc for Catalog browser projects

2016-01-04 Thread Dimitris Chloupis
It has just occured me to that since meta repo is public and anyone can
commit to it, is it ok if I add descriptions to projects that have none ?
Because I am tried of seeing a project on Catalog Browser with no idea what
it does.

But i thought to ask permission to edit other people's configurations,
though I wont be touching the configurations themselves only add
descriptions to projects I find interesting yet they have not description.

Is that ok with you ?


Re: [Pharo-users] Adding description doc for Catalog browser projects

2016-01-04 Thread Stephan Eggermont

On 04-01-16 11:39, Dimitris Chloupis wrote:

It has just occured me to that since meta repo is public and anyone can
commit to it, is it ok if I add descriptions to projects that have none
? Because I am tried of seeing a project on Catalog Browser with no idea
what it does.

But i thought to ask permission to edit other people's configurations,
though I wont be touching the configurations themselves only add
descriptions to projects I find interesting yet they have not description.

Is that ok with you ?


Adding descriptions to projects is very helpful.
Another thing that is helpful is checking the symbolic versions
(#stable, #development, #'releaseA.B') and adding #'pharo5.x' versions
(and #'pharo4.x') where that makes sense. Everywhere where #common 
refers to an older version it is an improvement to do so. From the 
version string of the method you can see what the current version of 
pharo was at the time the configuration was updated. Actually trying to 
load the configuration and reporting/fixing issues is of course even better.


Adding a new version of a configuration only in the meta repo is not so 
helpful. It will get overwritten as soon as a new version is copied from 
the original location. A lot of projects are writable though, so you can 
just commit in the original repo and copy to the meta repos.

Just make sure the commit message explains what you changed.

If you make a change, you can copy the configuration to all the older 
meta repos too (I'm not sure why ss3 is missing)


Stephan







Re: [Pharo-users] Slow object printOn: with EURO symbol

2016-01-04 Thread Henrik Johansen

> On 02 Jan 2016, at 10:58 , Hilaire  wrote:
> 
> Hello,
> 
> With Pharo3, in an object of mine, I want its text representation to
> come with the EURO symbol:
> 
> CGMoney>>printOn: aStream
>   aStream << (amount asScaledDecimal: 2) greaseString
>   << ' ' << '€'
> 
> 
> It appears to be very slow when I browse such collection of objects
> (says 1500) from an inspector
> 
> Replacing '€' by 'EUR' gives back normal rendering time.
> 
> Indeed the '€' is encoded as WideString, so not sure what is happening.
> All content converted to WideString or what?


In the fallback code for WriteStream >> #nextPut:, at:put: is called,  so yes, 
streaming a wide char causes the streams collection to be converted from Byte 
to WideString.
Conversion is done using become, which currently triggers a full heap scan for 
references, and is thus very slow.
One could add a fast-path along the lines of #pastEndPut: (which has already 
broken any assumption that a reference to the collection will reflect all 
writes for the lifetime of stream, for the same performance problems one would 
face using #become:); if collection is a ByteString and anObject is a wide 
characters, replace collection with a WideString, and *then* call at:put:
But, it is not a very nice thing to add to a generic streaming class, nor is it 
a very attractive at this point in time considering that making become: a fast 
operation is one of the problems solved by Spur.

Cheers,
Henry


signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: [Pharo-users] Adding description doc for Catalog browser projects

2016-01-04 Thread Norbert Hartl

> Am 04.01.2016 um 11:39 schrieb Dimitris Chloupis :
> 
> It has just occured me to that since meta repo is public and anyone can 
> commit to it, is it ok if I add descriptions to projects that have none ? 
> Because I am tried of seeing a project on Catalog Browser with no idea what 
> it does. 
> 
> But i thought to ask permission to edit other people's configurations, though 
> I wont be touching the configurations themselves only add descriptions to 
> projects I find interesting yet they have not description. 
> 
> Is that ok with you ? 

Most of the configurations are just copied to the meta repo. They are usually 
kept in a project repo and copied from there. So your changes get easily lost. 
But you can provide the catalog methods to the author of the package. I think 
most are happy to include your changes.

Norbert


Re: [Pharo-users] Using Playgrounds as a notepad

2016-01-04 Thread Sven Van Caekenberghe

> On 04 Jan 2016, at 07:34, Tudor Girba  wrote:
> 
> Hi,
> 
>> On Jan 4, 2016, at 3:21 AM, Andy Burnett  
>> wrote:
>> 
>> I often find that I need to do simple manipulations to passages of text, 
>> e.g. remove all carriage returns, or extract email addresses etc. 
>> 
>> Pasting the text into a Playground doesn't work because there is always an 
>> apostrophe, or line break or... etc. and the playground complains.
>> 
>> Is there a way to tell a Playground to just ignore the text, and give me a 
>> handle to its contents, so that I can then do something like
>> 
>> playgroundId contents splitOn:Character space.
>> 
>> Alternatively, is there another object that would be more appropriate? 
>> Playground would be really useful just because it is in the menu, and always 
>> available.
> 
> The Playground does not yet allow you to do that. But, you can use the 
> Clipboard:
> 
> Clipboard clipboardText splitOn:Character space.

I do this a lot: using #clipboardText is a way to get to a copied string 
without any problems.

You can also do a Print It on 'Clipboard clipboardText asString' which will 
render the string using the Pharo quoting conventions.

> Cheers,
> Doru
> 
>> Cheers
>> Andy
> 
> --
> www.tudorgirba.com
> www.feenk.com
> 
> "Value is always contextual."




Re: [Pharo-users] [Pharo-dev] Pharo-contribution down

2016-01-04 Thread Christophe Demarey
yes, a problem on the CI infrastructure.
IT team told me it will be fixed tomorrow

Le 2 janv. 2016 à 18:51, Esteban Lorenzano a écrit :

> everything is down
> I think we need to wait ‘till monday to fix it :(
> 
> Esteban
> 
>> On 02 Jan 2016, at 18:39, Damien Cassou  wrote:
>> 
>> The Jenkins for pharo-contribution seems to be down: builds never
>> finish.
>> 
>> https://ci.inria.fr/pharo-contribution
>> 
>> -- 
>> Damien Cassou
>> http://damiencassou.seasidehosting.st
>> 
>> "Success is the ability to go from one failure to another without
>> losing enthusiasm." --Winston Churchill
>> 
> 
> 



smime.p7s
Description: S/MIME cryptographic signature


Re: [Pharo-users] Versionner and package dependencies

2016-01-04 Thread Christophe Demarey
Hi Cyril,

Le 30 déc. 2015 à 10:17, Ferlicot D. Cyril a écrit :

> Hi,
> 
> I wanted to use versionner to manage some existing configurations but in
> one of these configuration there is some dependencies on packages that
> have no project.
> 
> For example in the baseline there is:
> 
>   spec package: 'Glamour-EyeSee-Presentations'
>   with: [ spec requires: #('EyeSee').
>   spec repository: 
> 'http://smalltalkhub.com/mc/Moose/Glamour/main' ].
> 
> But in versionner I can only add a project as dependency.
> 
> Is there a way to do such a thing or is it a future feature of versionner?

It is not something we want in Versionner.
An external project must have a configuration to refer to it. If not, you will 
take random packages without knowing if they have themselves dependencies.
What you should do is to create a project for that and then ask Versionner to 
only load the package you need (right-click on the project dependency).

Christophe

smime.p7s
Description: S/MIME cryptographic signature


Re: [Pharo-users] Interogation about recursivity or sequential

2016-01-04 Thread Sven Van Caekenberghe
Hi Yann,

> On 04 Jan 2016, at 22:11, Yann Dubois  wrote:
> 
> Hello World, Happy new year 2016 !

And to you too.

> I actually work on an integration of a double linked list on Pharo and I have 
> a little interogation.
> It's better to use recursivity or senquential algorithm ?

Recursive is often cleaner, sequential is often faster.

> Yann

There is already a (minimal) DoubleLinkedList in the image ...

Sven


Re: [Pharo-users] OSX el capitan - SIP

2016-01-04 Thread Ben Coman
On Tue, Jan 5, 2016 at 2:19 AM,   wrote:
> Hi,
>
> OSX el capitan implements System Integrity Protection:
>
> https://en.wikipedia.org/wiki/System_Integrity_Protection
>
> One of the effects of this is you can no longer modify DYLD_LIBRARY_PATH for
> an OSX application. I use a FFI wrapper to load and use an Oracle library in
> Pharo but this requires modification of the DYLD_LIBRARY_PATH to work. Up
> until now I could do this by adding a plist config file to
> /Library/LaunchAgents for the Pharo application which modified
> DYLD_LIBRARY_PATH. This no longer works because of SIP.
>
> Launching Pharo from a terminal having modified DYLD_LIBRARY_PATH via
> .bash_profile works as required but this is less than ideal.
>

If you don't want to modify .bash_profile, is it acceptable to copy
and modify the pharo shell script that invokes the pharo executable to
set OCI_DIR like this? ...
https://github.com/kubo/ruby-oci8/issues/89

btw, seems python suffers the same problem...
http://dmtn-001.lsst.io/en/master/#sip-examples

cheers -ben

> Anyone know of any other way of doing this so I can launch Pharo directly as
> an OSX application ?
>
> Thanks



Re: [Pharo-users] Interogation about recursivity or sequential

2016-01-04 Thread Peter Uhnák
Wouldn't it be better to improve the current (Double)LinkedList instead of
creating new ones? DLL had some improvements recently and I am not aware
that it's missing something.

On Mon, Jan 4, 2016 at 10:34 PM, Sven Van Caekenberghe  wrote:

> Hi Yann,
>
> > On 04 Jan 2016, at 22:11, Yann Dubois  wrote:
> >
> > Hello World, Happy new year 2016 !
>
> And to you too.
>
> > I actually work on an integration of a double linked list on Pharo and I
> have a little interogation.
> > It's better to use recursivity or senquential algorithm ?
>
> Recursive is often cleaner, sequential is often faster.
>
> > Yann
>
> There is already a (minimal) DoubleLinkedList in the image ...
>
> Sven
>


Re: [Pharo-users] Lawsuit Tracker app

2016-01-04 Thread John Pfersich


> On Jan 4, 2016, at 02:23, Saša Janiška  wrote:
> 
>> On Ned, 2016-01-03 at 12:49 +0100, Esteban Lorenzano wrote:
>> 
>> you have it:
>> 
>> http://catalog.pharo.org
> 
> That's nice, but there are, imho, too many pkgs with "No description
> provided", so maybe that should be made as mandatory?
> 

And many of the descriptions there aren't terribly descriptive.

> 
> Sincerely,
> Gour
> 
> -- 
> In the material world, one who is unaffected by whatever good 
> or evil he may obtain, neither praising it nor despising it, 
> is firmly fixed in perfect knowledge.
> 
> 
> 
> 
> 



Re: [Pharo-users] Using Playgrounds as a notepad

2016-01-04 Thread Peter Uhnák
a) Spec

~~~
tm := TextModel new.
tm autoAccept: true. "otherwise you would have to pres ctrl+s to 'save' the
result in memory"
tm openWithSpec. "this will open text window

"and then you can do"
tm text. "retrieve current text from the TextModel (returns an instance of
Text)"
tm text: 'new content' "set a new content"
~~

b) Workspace

~~~
w := Workspace new.
w open.

w contents. "note that you must ctrl+s the content in the workspace for it
to appear here (there's a yellow triangle in top right corner if the
content is not saved"
w contents: '123'.
~~
Workspace can also be saved/loaded to disk.

c) Playground

~~
(page := GTPlayPage new)
saveContent: 'initial content'.
(playground := GTPlayground new)
openOn: page.

page content. "retrieve the content; just like with Workspace you must
ctrl+s when editing in the Playground itself"

"updating is a bit more complex, but it still seems to work"
page saveContent: 'new content'.
playground update.
~~~

Peter

On Mon, Jan 4, 2016 at 11:51 AM, Sven Van Caekenberghe  wrote:

>
> > On 04 Jan 2016, at 07:34, Tudor Girba  wrote:
> >
> > Hi,
> >
> >> On Jan 4, 2016, at 3:21 AM, Andy Burnett <
> andy.burn...@knowinnovation.com> wrote:
> >>
> >> I often find that I need to do simple manipulations to passages of
> text, e.g. remove all carriage returns, or extract email addresses etc.
> >>
> >> Pasting the text into a Playground doesn't work because there is always
> an apostrophe, or line break or... etc. and the playground complains.
> >>
> >> Is there a way to tell a Playground to just ignore the text, and give
> me a handle to its contents, so that I can then do something like
> >>
> >> playgroundId contents splitOn:Character space.
> >>
> >> Alternatively, is there another object that would be more appropriate?
> Playground would be really useful just because it is in the menu, and
> always available.
> >
> > The Playground does not yet allow you to do that. But, you can use the
> Clipboard:
> >
> > Clipboard clipboardText splitOn:Character space.
>
> I do this a lot: using #clipboardText is a way to get to a copied string
> without any problems.
>
> You can also do a Print It on 'Clipboard clipboardText asString' which
> will render the string using the Pharo quoting conventions.
>
> > Cheers,
> > Doru
> >
> >> Cheers
> >> Andy
> >
> > --
> > www.tudorgirba.com
> > www.feenk.com
> >
> > "Value is always contextual."
>
>
>


Re: [Pharo-users] Using Playgrounds as a notepad

2016-01-04 Thread Andy Burnett
@Dimitris

Thanks for the Workspace idea. That is pretty much what I am looking for.
However, I am struggling to get it to behave the way I want.
When I type into the Workspace, and then inspect

ws contents

I just get an empty string. Is there a simple way to get the ws to update
its contents so that I can access it?

@Sven, @Doru. Thanks. The Clipboard approach is very slick. I will use that
for the time being. Out of curiosity, is it possible to access any other
data on the clipboard. For instance, if I copy a pictured from my desktop,
is that accessible via the Clipboard object? I only saw text oriented
methods.

Thanks
Andy


Re: [Pharo-users] Versionner and package dependencies

2016-01-04 Thread Christophe Demarey

Le 4 janv. 2016 à 10:52, Ferlicot D. Cyril a écrit :

> Le 04/01/2016 10:44, Christophe Demarey a écrit :
>> Hi Cyril,
>> 
>> It is not something we want in Versionner.
>> An external project *must* have a configuration to refer to it. If not,
>> you will take random packages without knowing if they have themselves
>> dependencies.
>> What you should do is to create a project for that and then ask
>> Versionner to only load the package you need (right-click on the project
>> dependency).
>> 
>> Christophe
> 
> Hi,
> 
> So we have to create ourself a configuration for each project that
> doesn't have a configuration/group that match our needs if we want to
> use versionner if I understand right. Ok, thank you.

only if they do not have a configuration. If you need some packages or groups, 
you can specify them in the "loads" directive. 


> 
> And is there a way to execute pre/post scripts (#postLoadDoIt: in
> ConfigurationOfXXX) with versionner ? If not is it something you want to
> add to versionner or this will not be add ?

It is Metacello that execute these scripts. Versionner only allows you to edit 
configurations. The load options in Versionner use Metacello, so they are 
executed.

smime.p7s
Description: S/MIME cryptographic signature


Re: [Pharo-users] Working with a compressed Fuel file?

2016-01-04 Thread Mariano Martinez Peck
On Mon, Jan 4, 2016 at 10:16 AM, Stephan Eggermont  wrote:

> On 03-01-16 20:31, Mariano Martinez Peck wrote:
>
>> I may have a hint. Which is the error upon materialization? A dnu on the
>> stream? Which message?
>>
>
> A segmentation fault when saving
>

Ahh I reported that years ago:
http://forum.world.st/Re-Pharo-project-GZipWriteStream-crashing-my-VM-when-serializing-td4177725.html

Cheers,



>
> Smalltalk stack dump:
> 0xffcb7390 M GZipWriteStream(DeflateStream)>deflateBlock 0xe66c808: a(n)
> GZipWriteStream
> 0xffcb73b4 M GZipWriteStream(DeflateStream)>next:putAll:startingAt:
> 0xe66c808: a(n) GZipWriteStream
> 0xffcb73d8 M FLBufferedWriteStream>flushBuffer 0xe66cb48: a(n)
> FLBufferedWriteStream
> 0xffcb73f0 M FLBufferedWriteStream>nextBytesPutAll: 0xe66cb48: a(n)
> FLBufferedWriteStream
> 0xffcb7410 M FLEncoder>encodeString: 0xe66c720: a(n) FLEncoder
> 0xffcb742c M ByteString>serializeOn: 0xcce25a0: a(n) ByteString
> 0xffcb7448 M FLHookPrimitiveCluster>serializeInstance:with: 0xe713af8:
> a(n) FLHookPrimitiveCluster
> 0xffcb746c M [] in
> FLHookPrimitiveCluster(FLIteratingCluster)>serializeInstancesStepWith:
> 0xe713af8: a(n) FLHookPrimitiveCluster
> 0xffcb7494 M IdentitySet(Set)>do: 0xf70b230: a(n) IdentitySet
> 0xffcb74b0 M
> FLHookPrimitiveCluster(FLIteratingCluster)>serializeInstancesStepWith:
> 0xe713af8: a(n) FLHookPrimitiveCluster
> 0xffcb74cc M FLSerialization>clusterInstancesStepOf: 0xe66c6e8: a(n)
> FLSerialization
> 0xffcb74e8 M [] in FLSerialization>instancesStep 0xe66c6e8: a(n)
> FLSerialization
> 0xffcb750c M OrderedCollection>do: 0xf70b1e0: a(n) OrderedCollection
> 0xffcb7530 I FLSerialization>instancesStep 0xe66c6e8: a(n) FLSerialization
> 0xffcb7550 I FLSerialization>run 0xe66c6e8: a(n) FLSerialization
> 0xffcb7574 I [] in FLSerializer>setDefaultSerialization 0xe66c700: a(n)
> FLSerializer
> 0xffcb75a0 I [] in FLSerializer>serialize:on: 0xe66c700: a(n) FLSerializer
> 0xffcb75cc I [] in FLEncoder class>on:globalEnvironment:do: 0x8f20878:
> a(n) FLEncoder class
> 0xffcb75ec M BlockClosure>ensure: 0xe66c770: a(n) BlockClosure
> 0xffcb7614 I FLEncoder class>on:globalEnvironment:do: 0x8f20878: a(n)
> FLEncoder class
> 0xffcb7640 I FLSerializer>serialize:on: 0xe66c700: a(n) FLSerializer
> 0xffcb7668 I FLSerializer class>serialize:on: 0x8eb91d8: a(n) FLSerializer
> class
> 0xffcb7694 I [] in MCProject>saveToFile 0xb92d790: a(n) MCProject
> 0xffcb76c0 I [] in File>writeStreamDo: 0xe612500: a(n) File
> 0xffcb76e0 M BlockClosure>ensure: 0xe66c900: a(n) BlockClosure
> 0xffcb7708 I File>writeStreamDo: 0xe612500: a(n) File
> 0xffcb7734 I MCProject>saveToFile 0xb92d790: a(n) MCProject
> 0xffcb7750 M UndefinedObject>(nil) 0x8b75b00: a(n) UndefinedObject
>  0xb73ad00 s OpalCompiler>evaluate
>  0xb92dec8 s RubSmalltalkEditor>evaluate:andDo:
>  0xb92df58 s RubSmalltalkEditor>highlightEvaluateAndDo:
>  0xb743418 s [] in
> GLMMorphicPharoScriptRenderer(GLMMorphicPharoCodeRenderer)>actOnHighlightAndEvaluate:
>  0xb73ad60 s RubEditingArea(RubAbstractTextArea)>handleEdit:
>  0xb92dff8 s [] in
> GLMMorphicPharoScriptRenderer(GLMMorphicPharoCodeRenderer)>actOnHighlightAndEvaluate:
>  0xb743478 s WorldState>runStepMethodsIn:
>  0xb73adc0 s WorldMorph>runStepMethods
>  0xb92e070 s WorldState>doOneCycleNowFor:
>  0xb7434d8 s WorldState>doOneCycleFor:
>  0xb73ae20 s WorldMorph>doOneCycle
>  0x944db08 s [] in MorphicUIManager>(nil)
>  0x944da80 s [] in BlockClosure>(nil)
>
>
>
>
>


-- 
Mariano
http://marianopeck.wordpress.com


Re: [Pharo-users] Working with a compressed Fuel file?

2016-01-04 Thread Stephan Eggermont

On 04-01-16 14:29, Mariano Martinez Peck wrote:

Ahh I reported that years ago:
http://forum.world.st/Re-Pharo-project-GZipWriteStream-crashing-my-VM-when-serializing-td4177725.html


Ah. That is also when writing a string. Is the automatic conversion of 
ByteString to WideString safe here?


Stephan





Re: [Pharo-users] Working with a compressed Fuel file?

2016-01-04 Thread Stephan Eggermont

On 03-01-16 20:31, Mariano Martinez Peck wrote:

I may have a hint. Which is the error upon materialization? A dnu on the
stream? Which message?


A segmentation fault when saving

Smalltalk stack dump:
0xffcb7390 M GZipWriteStream(DeflateStream)>deflateBlock 0xe66c808: a(n) 
GZipWriteStream
0xffcb73b4 M GZipWriteStream(DeflateStream)>next:putAll:startingAt: 
0xe66c808: a(n) GZipWriteStream
0xffcb73d8 M FLBufferedWriteStream>flushBuffer 0xe66cb48: a(n) 
FLBufferedWriteStream
0xffcb73f0 M FLBufferedWriteStream>nextBytesPutAll: 0xe66cb48: a(n) 
FLBufferedWriteStream

0xffcb7410 M FLEncoder>encodeString: 0xe66c720: a(n) FLEncoder
0xffcb742c M ByteString>serializeOn: 0xcce25a0: a(n) ByteString
0xffcb7448 M FLHookPrimitiveCluster>serializeInstance:with: 0xe713af8: 
a(n) FLHookPrimitiveCluster
0xffcb746c M [] in 
FLHookPrimitiveCluster(FLIteratingCluster)>serializeInstancesStepWith: 
0xe713af8: a(n) FLHookPrimitiveCluster

0xffcb7494 M IdentitySet(Set)>do: 0xf70b230: a(n) IdentitySet
0xffcb74b0 M 
FLHookPrimitiveCluster(FLIteratingCluster)>serializeInstancesStepWith: 
0xe713af8: a(n) FLHookPrimitiveCluster
0xffcb74cc M FLSerialization>clusterInstancesStepOf: 0xe66c6e8: a(n) 
FLSerialization
0xffcb74e8 M [] in FLSerialization>instancesStep 0xe66c6e8: a(n) 
FLSerialization

0xffcb750c M OrderedCollection>do: 0xf70b1e0: a(n) OrderedCollection
0xffcb7530 I FLSerialization>instancesStep 0xe66c6e8: a(n) FLSerialization
0xffcb7550 I FLSerialization>run 0xe66c6e8: a(n) FLSerialization
0xffcb7574 I [] in FLSerializer>setDefaultSerialization 0xe66c700: a(n) 
FLSerializer

0xffcb75a0 I [] in FLSerializer>serialize:on: 0xe66c700: a(n) FLSerializer
0xffcb75cc I [] in FLEncoder class>on:globalEnvironment:do: 0x8f20878: 
a(n) FLEncoder class

0xffcb75ec M BlockClosure>ensure: 0xe66c770: a(n) BlockClosure
0xffcb7614 I FLEncoder class>on:globalEnvironment:do: 0x8f20878: a(n) 
FLEncoder class

0xffcb7640 I FLSerializer>serialize:on: 0xe66c700: a(n) FLSerializer
0xffcb7668 I FLSerializer class>serialize:on: 0x8eb91d8: a(n) 
FLSerializer class

0xffcb7694 I [] in MCProject>saveToFile 0xb92d790: a(n) MCProject
0xffcb76c0 I [] in File>writeStreamDo: 0xe612500: a(n) File
0xffcb76e0 M BlockClosure>ensure: 0xe66c900: a(n) BlockClosure
0xffcb7708 I File>writeStreamDo: 0xe612500: a(n) File
0xffcb7734 I MCProject>saveToFile 0xb92d790: a(n) MCProject
0xffcb7750 M UndefinedObject>(nil) 0x8b75b00: a(n) UndefinedObject
 0xb73ad00 s OpalCompiler>evaluate
 0xb92dec8 s RubSmalltalkEditor>evaluate:andDo:
 0xb92df58 s RubSmalltalkEditor>highlightEvaluateAndDo:
 0xb743418 s [] in 
GLMMorphicPharoScriptRenderer(GLMMorphicPharoCodeRenderer)>actOnHighlightAndEvaluate:

 0xb73ad60 s RubEditingArea(RubAbstractTextArea)>handleEdit:
 0xb92dff8 s [] in 
GLMMorphicPharoScriptRenderer(GLMMorphicPharoCodeRenderer)>actOnHighlightAndEvaluate:

 0xb743478 s WorldState>runStepMethodsIn:
 0xb73adc0 s WorldMorph>runStepMethods
 0xb92e070 s WorldState>doOneCycleNowFor:
 0xb7434d8 s WorldState>doOneCycleFor:
 0xb73ae20 s WorldMorph>doOneCycle
 0x944db08 s [] in MorphicUIManager>(nil)
 0x944da80 s [] in BlockClosure>(nil)






Re: [Pharo-users] Lawsuit Tracker app

2016-01-04 Thread stepharo



http://catalog.pharo.org

configuration browser was not good enough so we replaced it in Pharo 
5 (packages can be used in older versions, and they are listed in the 
catalog web page).

but again… no tool can survive if people does not contribute.

Esteban



You should add a link to catalog.pharo.org  
on the documentation page on Pharo.org . I find it 
is a very useful tool.


I had it in the past and I readd it now ;(


Re: [Pharo-users] Lawsuit Tracker app

2016-01-04 Thread stepharo

And many of the descriptions there aren't terribly descriptive.

If people do not value their work we cannot do more than what we are 
doing sadly


Stef



Re: [Pharo-users] Dolphin Smalltalk open-sourced...

2016-01-04 Thread Ferlicot D. Cyril
Le 04/01/2016 17:13, Tudor Girba a écrit :
> Hi,
> 
> I am trying to run it, but I have troubles starting it.
> 
> I have a Windows 7 64 bit.
> 
> I did the following:
> 1. I downloaded the repo from:
> https://github.com/objectarts/Dolphin
> 2. I then tried to run Dolphin7.exe and BootDCE.cmd, but in both cases I got 
> the message:
> “Missing msvcp120.dll”
> 3. I then installed this dll as described here:
> http://dllwindows.com/download-msvcp120-dll/
> 4. I retried to Dolphin7.exe and BootDCE.cmd, but now I get 
> “The application was unable to start correctly (oxc07b)”
> 
> Does anyone know what is wrong with what I am doing?
> 
> Cheers,
> Doru
> 
> 
> --
> www.tudorgirba.com
> www.feenk.com
> 
> "Things happen when they happen,
> not when you talk about them happening."
> 
> 

Hi,

Did you followed the tutorial
http://www.object-arts.com/gettingstarted.html ?

«Double-clck BootAll.cmd. A console window will open and
sequentially spawn the individual boot jobs. Depending on the heritage
of your Windows environment, you may see a failure message saying that
MSVCRT120.DLL cannot be found. If this is the case on your system, you
will need to download and install the Visual Studio 2013 Redistributable
components. Since Dolphin is a 32 bit application you’ll only need
vcredist_x86.exe. Once done, try the BootAll again.»

If you still have problems with it I can check on my window 7 64bits
when I will be at home.

-- 
Cyril Ferlicot

http://www.synectique.eu

165 Avenue Bretagne
Lille 59000 France



signature.asc
Description: OpenPGP digital signature


Re: [Pharo-users] Dolphin Smalltalk open-sourced...

2016-01-04 Thread Esteban A. Maringolo
I cloned the repo and ran BootAll.cmd and it ran right away in my
Windows 7 64 bit computer.

Regards!

Esteban A. Maringolo


2016-01-04 13:13 GMT-03:00 Tudor Girba :
> Hi,
>
> I am trying to run it, but I have troubles starting it.
>
> I have a Windows 7 64 bit.
>
> I did the following:
> 1. I downloaded the repo from:
> https://github.com/objectarts/Dolphin
> 2. I then tried to run Dolphin7.exe and BootDCE.cmd, but in both cases I got 
> the message:
> “Missing msvcp120.dll”
> 3. I then installed this dll as described here:
> http://dllwindows.com/download-msvcp120-dll/
> 4. I retried to Dolphin7.exe and BootDCE.cmd, but now I get
> “The application was unable to start correctly (oxc07b)”
>
> Does anyone know what is wrong with what I am doing?
>
> Cheers,
> Doru
>
>
>> On Dec 29, 2015, at 1:57 PM, Saša Janiška  wrote:
>>
>> ...with MIT license, so I wonder if that will have some impact on
>> further development of Pharo?
>>
>> Iirc, Dolphin can produce stand-alone Windows executable, but maybe
>> something else can be utilized as well?
>>
>> Here is the link with: http://object-arts.com/gettingstarted.html
>>
>> Sincerely,
>> Gour
>>
>> --
>> The humble sages, by virtue of true knowledge, see with equal
>> vision a learned and gentle brāhmana, a cow, an elephant, a dog
>> and a dog-eater.
>>
>>
>>
>>
>>
>
> --
> www.tudorgirba.com
> www.feenk.com
>
> "Things happen when they happen,
> not when you talk about them happening."
>
>



Re: [Pharo-users] Dolphin Smalltalk open-sourced...

2016-01-04 Thread Tudor Girba
Hi,

I am trying to run it, but I have troubles starting it.

I have a Windows 7 64 bit.

I did the following:
1. I downloaded the repo from:
https://github.com/objectarts/Dolphin
2. I then tried to run Dolphin7.exe and BootDCE.cmd, but in both cases I got 
the message:
“Missing msvcp120.dll”
3. I then installed this dll as described here:
http://dllwindows.com/download-msvcp120-dll/
4. I retried to Dolphin7.exe and BootDCE.cmd, but now I get 
“The application was unable to start correctly (oxc07b)”

Does anyone know what is wrong with what I am doing?

Cheers,
Doru


> On Dec 29, 2015, at 1:57 PM, Saša Janiška  wrote:
> 
> ...with MIT license, so I wonder if that will have some impact on
> further development of Pharo?
> 
> Iirc, Dolphin can produce stand-alone Windows executable, but maybe
> something else can be utilized as well?
> 
> Here is the link with: http://object-arts.com/gettingstarted.html
> 
> Sincerely,
> Gour
> 
> -- 
> The humble sages, by virtue of true knowledge, see with equal 
> vision a learned and gentle brāhmana, a cow, an elephant, a dog 
> and a dog-eater.
> 
> 
> 
> 
> 

--
www.tudorgirba.com
www.feenk.com

"Things happen when they happen,
not when you talk about them happening."




[Pharo-users] OSX el capitan - SIP

2016-01-04 Thread recursive68
Hi,

OSX el capitan implements System Integrity Protection:

https://en.wikipedia.org/wiki/System_Integrity_Protection

One of the effects of this is you can no longer modify DYLD_LIBRARY_PATH
for an OSX application. I use a FFI wrapper to load and use an Oracle
library in Pharo but this requires modification of the DYLD_LIBRARY_PATH to
work. Up until now I could do this by adding a plist config file to
/Library/LaunchAgents for the Pharo application which modified
DYLD_LIBRARY_PATH. This no longer works because of SIP.

Launching Pharo from a terminal having modified DYLD_LIBRARY_PATH via
.bash_profile works as required but this is less than ideal.

Anyone know of any other way of doing this so I can launch Pharo directly
as an OSX application ?

Thanks