[Pharo-users] Cairo rendering - why the difference between Pharo and VisualWorks - Quartz?

2022-01-28 Thread Stewart Maclean
Hi, I am working on a proof of concept reimplementation of an application developed in VisualWorks using Cairo and Pango. When I compare the renderings I see that the VisualWorks has a finer grained resolution. Initially I thought is was to do with my anti aliasing settings, but upon further

[Pharo-users] Re: Cairo rendering - why the difference between Pharo and VisualWorks - Quartz?

2022-01-29 Thread Stewart MacLean
; Are you rendering your Cairo results inside a Morphic window? > > Esteban > On Jan 29 2022, at 8:42 am, Stewart Maclean wrote: > > > Hi, > > I am working on a proof of concept reimplementation of an application > developed in VisualWorks using Cairo and Pango. > >

[Pharo-users] Spec border widths of 0 are showing as lines?

2022-02-11 Thread Stewart MacLean
Hi all, I have set the border widths of SpBoxLayout to 0, but there are still lines showing between the various components. Please see attached. As a work around, I thought to set the color of the border to the background color of each panel, but SpBoxLayout doesn't have a borderColor: method. H

[Pharo-users] Changes to class not recorded in change.log?

2022-02-13 Thread Stewart MacLean
Hi, The worst case scenario has just happened - my image is hosed. I've managed to recover a previous set of change/image files (thanks CrashPlan!). Then I've replayed all the intervening changes - however I find that some instance variables that I had defined haven't been reflected in class sha

[Pharo-users] Re: Changes to class not recorded in change.log?

2022-02-20 Thread Stewart MacLean
with Epicea too - but > normally I have been able to recover instance variables too (sometimes the > restore options were a bit confusing and I did it in the wrong order). > > Note - I haven't tried this in V9 though - so possibly something has > regressed. Thought it worth check

[Pharo-users] How to show the process name in the debugger?

2022-04-26 Thread Stewart MacLean
Hi, I am working on a multi green and OS threaded implementation of Apple's Bonjour service discovery. I'd like to show the current Smalltalk process name in the Halt window title. Any clues are very much appreciated. Thanks, Stewart

[Pharo-users] Re: How to show the process name in the debugger?

2022-04-26 Thread Stewart MacLean
tedProcess name , ': ' > , self debuggerActionModel statusStringForContext > > > > There is no other ways yet to customize the window title. > > I do not know how to do it in prior versions of Pharo. > > Steven. > > > > Le 2022-04-26 10:45, Stewa

[Pharo-users] Re: How to show the process name in the debugger?

2022-04-26 Thread Stewart MacLean
me > > regards, > > Norbert > > > Am 26.04.2022 um 10:45 schrieb Stewart MacLean : > > > > Hi, > > > > I am working on a multi green and OS threaded implementation of Apple's > Bonjour service discovery. > > > > I'd like to show

[Pharo-users] Pharo is unresponsive after forcing quit

2022-04-27 Thread Stewart MacLean
Hi, [Pharo 10 on Mac Monterey] Due to the multi-process nature of Bonjour that I'm attempting to interface to, I am crashing the system ALOT as it disappears down a black hole and I try to figure out the cause. However, I've noticed that most of the time when I restart Pharo it is unresponsive t

[Pharo-users] Re: Pharo is unresponsive after forcing quit

2022-04-28 Thread Stewart MacLean
> > Noury > On Apr 28 2022, at 3:47 am, Yanni Chiu wrote: > > Try switching focus to another app on your Mac (e.g. Finder or web > browser), then back to Pharo > > On Wed, Apr 27, 2022 at 8:44 PM Stewart MacLean > wrote: > > Hi, > > [Pharo 10 on Mac

[Pharo-users] Re: Pharo is unresponsive after forcing quit

2022-05-01 Thread Stewart MacLean
ee up the log jam"... somehow... Cheers, Stewart On Fri, Apr 29, 2022 at 7:49 AM Stewart MacLean wrote: > Thanks all for your suggestions/replies. > > Nothing fixes it for now. I accept that due to the single threaded nature > of the UI that there will be glitches occasion

[Pharo-users] Bonjour Service Discovery App available, and FFI library interface help required!

2022-05-10 Thread Stewart MacLean
Ok, after bashing my head against the Spinning Wheel of Death for ages trying to use FFI to interface to the Bonjour service discovery library, I've done it another way using essentially the same design framework, but scraping the command line output from dns-sd with the help of OSSubProcess. This

[Pharo-users] Re: Bonjour Service Discovery App available, and FFI library interface help required!

2022-05-14 Thread Stewart MacLean
what you expect to happen :) > > Esteban > > On May 11 2022, at 3:38 am, Stewart MacLean wrote: > > Ok, after bashing my head against the Spinning Wheel of Death for ages > trying to use FFI to interface to the Bonjour service discovery library, > I've done it another way using

[Pharo-users] MIDI Interface?

2022-05-14 Thread Stewart MacLean
Hi all, Just wondering what the current state of interfaces to MIDI within Pharo are? I gather that there was one (SoundScores that used primitives), but that seems to have disappeared... Cheers, Stewart

[Pharo-users] Re: MIDI Interface?

2022-05-15 Thread Stewart MacLean
-Messages > > That would be nice to put more love in this :-) > > Regards, > > > On Sun, 15 May 2022 at 12:07, Stewart MacLean wrote: > >> Hi all, >> >> Just wondering what the current state of interfaces to MIDI within Pharo >> are? >> >>

[Pharo-users] Re: MIDI Interface?

2022-05-15 Thread Stewart MacLean
https://www.youtube.com/watch?v=yBK0UpalBfk) > > We are trying to recover, in the long term the things in > https://github.com/pharo-contributions/Sound, since there are awesome! > > If you have ideas feel free to share them! > > Santiago > > El dom, 15 may 2022 a la

[Pharo-users] Re: MIDI Interface?

2022-05-20 Thread Stewart MacLean
ucasse wrote: > Antoine can you reply to Stewart? > > > On 16 May 2022, at 01:03, Stewart MacLean wrote: > > Hi Santiago, > > Thanks for this. My primary interest at the moment is interfacing with > Midi. > > The sound stuff looks interesting, even if it is not qui

[Pharo-users] Re: Bonjour Service Discovery App available, and FFI library interface help required!

2022-05-25 Thread Stewart MacLean
if you > find any > > El lun, 23 may 2022 0:11, Stewart MacLean escribió: > >> Hi Yanni, >> >> Apologies for the late reply. I'm working on something else at the >> moment, but will consider this when I get back to it. >> >> Thanks for your suggesti

[Pharo-users] OSSUnixSubprocess - not getting output from a command that pipes to grep

2022-06-06 Thread Stewart MacLean
Hi, I have a command that works fine in terminal, and I'm able to retrieve the output using OSUnixSubprocess. However, when I grep the output in the command, I don't receive any output from OSUnixSubprocess. So I get output from: "/Applications/Logic Pro X.app/Contents/MacOS/Logic Pro X" 2>&1 b

[Pharo-users] Re: OSSUnixSubprocess - not getting output from a command that pipes to grep

2022-06-06 Thread Stewart MacLean
Hi Yanni, Thanks for this. Actually I discovered the equivalent by using shellCommand: instead of command:. What an excellent utility! Cheers, Stewart On Tue, Jun 7, 2022 at 3:12 AM Yanni Chiu wrote: > The equivalent of running in a Terminal is to run it in a shell. Try the > following code:

[Pharo-users] Re: [Pharo-dev] Pharo VM Release - v9.0.21

2022-12-14 Thread Stewart MacLean
Hi Pablo, I'm on Pharo 10 and intermittently experience "the spinning wheel" when making LibC calls. The spin dump is below. I'm wondering if the last fix: - Allocating the opcodes and fixup structs only once and reusing them (Reducing risk of C Stack Overflow)) would potentially rectify this?

[Pharo-users] Re: Sacrilegeous question : what are compelling use cases for Pharo

2023-01-15 Thread Stewart MacLean
Hi Mayuresh, Thanks for sharing your background. My advice would be to simply download it and "suck it and see". I've got twenty years on you and have spent my whole career working with computers (punched cards anyone?). I still get a buzz out of programming in Smalltalk. The reason it is such a

[Pharo-users] Re: Sacrilegeous question : what are compelling use cases for Pharo

2023-01-16 Thread Stewart MacLean
^ThumbsUpEmoji new display On Sun, Jan 15, 2023 at 11:30 PM Tomaž Turk wrote: > Hi Mayuresh, > > I think that the choice of what programming language one needs to learn or > use depends today from the goals that you have - and these goals are not > only tied to specifiic business projects that y

[Pharo-users] Re: Porting from VW to Pharo

2023-04-06 Thread Stewart MacLean
Hi, Having been through this process I found I had to completely rewrite the UI side of things - you can either choose to use Morphic, or the more modern Spec overlay. I used this in conjunction with Roassal, as my UI is mainly graphic. It also renders using Cairo, giving it a nice look. I also us

[Pharo-users] Re: Backing up data

2024-01-20 Thread Stewart MacLean
Hi Sergio, I have used Fuel to good effect to store a tree of objects (with all interlinkages). Saving: saveTo: aFileOrName | aFileName | aFileName := aFileOrName fullName. FLSerializer serialize: self toFileNamed: aFileName Loading: loadFrom: aFileOrFileName | new | new := FLMaterializer

[Pharo-users] Re: [Pharo-dev] "Atlas is a Spec application" — New blog post on all: objects all: theTime

2024-05-05 Thread Stewart MacLean
Hi Koen, Thanks for a very good summary of Spec and your experience with it. I have encountered similar challenges as you have, and empathise with the frustration of delving into the Spec/Morphic machinery to figure out what is going on. Fortunately, it is constantly being improved. All the best