Re: [Pharo-users] Behold Pharo: The Modern Smalltalk

2017-10-11 Thread Mark Bestley
horrido wrote: > Interestingly, I'm getting a fair amount of pushback on this. Personally, I > think it would be very helpful to have a live (updatable, so as to keep it > current) reference page for the class library, something that developers can > easily look up what they need. After all, most

Re: [Pharo-users] PlotMorph on Pharo 6.1

2017-09-17 Thread Mark Bestley
Thanks that last fix works for me stephan wrote: > On 16-09-17 09:29, Stephane Ducasse wrote: > > I'm on 10.12.6. too > > I downloaded Pharo 32 using the link. > > And I loaded from Catalog and I cannot get the problem. > > May be there is a problem with a setting in the compiler. > > I will tal

Re: [Pharo-users] PlotMorph on Pharo 6.1

2017-09-15 Thread Mark Bestley
Stephane Ducasse wrote: > --001a113fc0fc9da22e05592a9f54 > Content-Type: text/plain; charset="UTF-8" > > Hi mark > > live is chaotic here with two or three meetings in parallel, visitors, > and a lecture to finish > Now I tested. I took a Pharo 6.1 32 bits and loaded PlotMorph from the catalog

Re: [Pharo-users] PlotMorph on Pharo 6.1

2017-09-13 Thread Mark Bestley
Mark Bestley wrote: > In this case shouldm't the catalog only be added to if someone actually > takes an action to do this - then there is a chance the code would be > checked. Otherwise rollinmg over from one release to another just > accumulates junk. > OK I am now mo

Re: [Pharo-users] PlotMorph on Pharo 6.1

2017-09-13 Thread Mark Bestley
In this case shouldm't the catalog only be added to if someone actually takes an action to do this - then there is a chance the code would be checked. Otherwise rollinmg over from one release to another just accumulates junk. Stephane Ducasse wrote: > Thanks for the report since I need PlotMor

Re: [Pharo-users] PlotMorph on Pharo 6.1

2017-09-13 Thread Mark Bestley
Stephane Ducasse wrote: > Excellent! > > > On Mon, Sep 11, 2017 at 8:10 PM, stephan wrote: > > On 11-09-17 19:20, Stephane Ducasse wrote: > >> > >> Stefan > >> > >> (Did you publish the configuration in the PlotMorph repo?) > >> ifTrue: [ Stefan isPerfect ] > > > > > > PlotMorph, MetaRepo

Re: [Pharo-users] PlotMorph on Pharo 6.1

2017-09-11 Thread Mark Bestley
stephan wrote: > On 10-09-17 23:04, Mark Bestley wrote: > > I downloaded 64bit Pharo from > > <http://files.pharo.org/platform/Pharo6.1-64-mac.zip> > > > > Started it and first thing opend Catalog Browser. > > I searched for plot > > Chose pLotMorp

[Pharo-users] PlotMorph on Pharo 6.1

2017-09-10 Thread Mark Bestley
I downloaded 64bit Pharo from Started it and first thing opend Catalog Browser. I searched for plot Chose pLotMorph and chose Install Stable Version I got an Information window saying There was an error trying to install PlotMorph. Installati

[Pharo-users] REfactoring - extract method.

2017-03-25 Thread Mark Bestley
In Pharo 6 I select some code and then from menu choose Suggestions ExtractMethod If the code is one line it sometimes works but after the first fail it then logs "Could not extract code from method' If it has multiple lines including onbe message over lines I get a debugger call back In S

Re: [Pharo-users] Specifying library dependencies in UFFI

2017-03-17 Thread Mark Bestley
Not that well on macOS. Yes it works but you want to launch Pharo from thr Dock and not via the command line. But yes put the DLLs in with the VM files should work in all main OSs Mark On 17/03/2017 08:44, raffaello.giulie...@lifeware.ch wrote: Hi Pierce, sure, this works on any Unix-like

Re: [Pharo-users] Specifying library dependencies in UFFI

2017-03-16 Thread Mark Bestley
o are lost anyway as soon as you drop so low level. On Thu, Mar 16, 2017 at 3:05 PM mailto:raffaello.giulie...@lifeware.ch>> wrote: Indeed, experimenting using some combination of AddDllDirectory(), SetDllDirectory() and LoadLibraryEx() was in my plan for next week. Thanks

Re: [Pharo-users] Specifying library dependencies in UFFI

2017-03-16 Thread Mark Bestley
Yes the calling process can alter where these indirect DLLs are loaded from and so should be able to be done in UFFI and directly from Smalltalk The OS will load the DLL specified then it runs DllMain and doing that causes the OS to load any DLLs that it calls MSDN https://msdn.microsoft.com/

Re: [Pharo-users] Phobos and printing

2017-01-31 Thread Mark Bestley
There is Electron - although the GUI is HTML/Javascript Mark On 30/01/2017 14:16, Hilaire wrote: Hi Pavel, I am in prospective mode exploring alternative for desktop application vs SAAS application (in the later, the cost to maintain may be too high for only one tec

Re: [Pharo-users] [UFFI] Dealing with Windows types

2016-11-19 Thread Mark Bestley
Sorry I have not got a Windows machine here but MSDN should provide all the documentation you need. Some of these types are not translatable and have to be treated as opaque on the Smalltalk side ie just pass as data All are defined in Windows.h and MSDN provides documentation - for types se

Re: [Pharo-users] How do Smalltalk disambiguate messages?

2016-10-16 Thread Mark Bestley
For an example of a working bridge between the two ways of methods and function see PyObjc which allows Python code to call Objective C messaging (e.g in a similar form to your mapping Javascript to Smalltalk - except Javascript is not class based) https://pythonhosted.org/pyobjc/core/intro.h

Re: [Pharo-users] Using OSSubProcess to invoke Java

2016-06-20 Thread Mark Bestley
java -version outputs to stderr not stdout (also I don't think you need JAVA_HOME /usr/bin/java will do what is needed) On 20/06/2016 15:58, Alexandre Bergel wrote: On OS X, in a terminal, if I type: /usr/bin/java -version I obtain: java version "1.8.0_66" Java(TM) SE Runtime Environment (bu

Re: [Pharo-users] Call for feedbacks: Enterprise Pharo ePub version

2016-05-31 Thread Mark Bestley
It would be OK to read with Calibre but it is designed as a reader so will allow some errors through which would affect other readers. The epubValidator is designed to find issues and so will show much more so it would be better to add that to your working process. Mark On 31/05/2016 15:29

Re: [Pharo-users] Call for feedbacks: Enterprise Pharo ePub version

2016-05-31 Thread Mark Bestley
On 30/05/2016 15:44, Thibault ARLOING wrote: Hi, I created an ePub version of the book Enterprise Pharo for electronic readers. It would be great if you could test it and give me feedbacks on everything that shocks you. You can downlod the file here

Re: [Pharo-users] finding Pharo Launcher

2016-04-11 Thread Mark Bestley
On 11/04/2016 12:56, Damien Cassou wrote: Mark Bestley writes: to try but I can understand only a Pharo 4 one being advertised. I looked on the Pharo Downloads page <http://pharo.org/download> and could not find it. http://smalltalkhub.com/#!/~Pharo/PharoLauncher Googling just

[Pharo-users] finding Pharo Launcher

2016-04-10 Thread Mark Bestley
where can you get a ready to run Pharo Launcher from (I am interested in OSX but other OSes should be answered as well). I would like a Pharo 5 64 bit one to try but I can understand only a Pharo 4 one being advertised. I looked on the Pharo Downloads page and could

Re: [Pharo-users] PharoLauncher as the default Pharo download on pharo.org?

2013-12-22 Thread Mark Bestley
On 22/12/2013 14:04, Johan Fabry wrote: Also, I think it is very wrong to keep the images in the Library folder by default. The Library is "hidden" and a "black magic - do not touch" area for the common user. A sensible default is the Documents folder. If a user thinks the Library is black ma