[Cuis-dev] Siren progress and questions

Stephen Travis Pope stephen at heaveneverywhere.com
Thu Dec 1 19:17:18 PST 2022


Hello all,

1. I have to say that I’m *loving* Cuis development (except that my dislike of Morphic now borders on…).


2. Is there a central place for documentation of the language changes in Cuis, such as,

	{ … }
	` … `
	::

(Part of the reason I was so shocked by Pharo is that I played a bit in the browser and thought, “I wonder what language this is…”)

(The only language extension I was ever motivated to make to Smalltalk was to use “{ }" as nesting comment characters.)

The main usage I find of the { … } form in Cuis is in menu creation, where one sees,

	{#label -> 'find class... (f)'. #selector -> #findClass} asDictionary.
 
which could more easily be written in “standard” Smalltalk-80 as,

	(#label -> 'find class... (f)’) , (#selector -> #findClass)

using the shorthand that,
	(association, association) -> dictionary 
and,
	(dictionary, association) adds association to the dictionary.


3. I’d really love to hear from anyone who can get the FFI or Socket back-end to work on an ARM-based Mac.  I’m having no luck at all, and have checked that the app resources contain binary bundles with the right external code tokens in the name list.  Could it be the loader?


Thanks to the team!!!

Latest image of the display list stuff is below, still no interaction with the items, though the menu works…

stp

——

Screen shot - DisplayListView with random lines, rectangles, strings and polylines; images work too. (Clipping obviously problematic…)  I make tests with thousands of items like this to test display speed, required if it’s music notation we’re displaying.



--------

Stephen Travis Pope    Ojai, California, USA
    
     http://HeavenEverywhere.com
     http://FASTLabInc.com
     https://vimeo.com/user19434036/videos
     http://heaveneverywhere.com/Reflections



> On Nov 30, 2022, at 5:44 AM, Juan Vuletich via Cuis-dev <cuis-dev at lists.cuis.st> wrote:
> 
> Hi Stephen,
> 
> On 11/29/2022 11:36 PM, Stephen Travis Pope via Cuis-dev wrote:
>> 
>> 
>> Hello Colleagues,
>> 
>> The good news is that I have a basic display list view that can display and scroll my brand of display items (see screen shot below).
>> I don’t use morphs for the low-level display items; my display item classes can simply draw themselves on a morphic (or other) canvas.
>> The view scrolls in 2D; I don’t really need zooming for now.
> 
> This is great to know. I'm glad that the Cuis drawing machinery suits your needs! It is great that you are making real progress with Siren on Cuis!
> 
>> My question lies elsewhere: I can’t seem to get the FFI test to work; I get error 16 or 1 for anything I try, even the simplest printf call example.
>> Is there a special rule or method to set this up?  
>> Does the VM have to be in the same directory as the VI? 
> 
> Not at all.
> 
>> Are there known issues with the Mac port?
>> I’m running on a Mac with a 64-bit ARM V8 processor running MacOS Ventura 13.01.
>> I’m using the latest squeak.cog.spur_macos64ARMv8 VM from https://github.com/OpenSmalltalk.
> 
> Others and me have used FFI quite a bit on Mac (For OpenCL, TensorFlow and possibly others). But it was on Intel based Macs. I'd need to borrow an M1 Mac and do some testing.
> 
>> Since the VM supports FFI but not the socket interfaces by default, I was going to write both the MIDI and OSC interfaces using FFI for now.
> 
> But the VM does support sockets. Doing `Feature require: 'Network-Kernel'` will bring the traditional Socket code from Squeak. Would this work for you?
> 
>> 
>> Another Q: What’s the interrupt key?
> 
> On Macs it is Option-. You may need to press it a couple of times, as it will do nothing is the process to interrupt is the background process. You can keep a Transcript open to see notices about this.
> 
>> 
>> …any replies most appreciated...
> 
> Cheers,
> 
>> 
>> stp
>> 
>> ——
>> 
>> Attached screen shot - display list with random rectangles, lines and strings
>> 
>> <Mail Attachment.jpeg>
>> 
>> --------
>> 
>> Stephen Travis Pope    Ojai, California, USA
>>      
>>      http://HeavenEverywhere.com <http://heaveneverywhere.com/>
>>      http://FASTLabInc.com <http://fastlabinc.com/>
>>      https://vimeo.com/user19434036/videos
>>      http://heaveneverywhere.com/Reflections
>> 
>> 
>> 
> 
> 
> -- 
> Juan Vuletich
> cuis.st <http://cuis.st/>
> github.com/jvuletich <http://github.com/jvuletich>
> researchgate.net/profile/Juan-Vuletich <http://researchgate.net/profile/Juan-Vuletich>
> independent.academia.edu/JuanVuletich <http://independent.academia.edu/JuanVuletich>
> patents.justia.com/inventor/juan-manuel-vuletich <http://patents.justia.com/inventor/juan-manuel-vuletich>
> linkedin.com/in/juan-vuletich-75611b3 <http://linkedin.com/in/juan-vuletich-75611b3>
> twitter.com/JuanVuletich <http://twitter.com/JuanVuletich>-- 
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st <mailto:Cuis-dev at lists.cuis.st>
> https://lists.cuis.st/mailman/listinfo/cuis-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20221201/0fa28676/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dlv2.jpg
Type: image/jpeg
Size: 222921 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20221201/0fa28676/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedGraphic.tiff
Type: image/tiff
Size: 2442 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20221201/0fa28676/attachment-0001.tiff>


More information about the Cuis-dev mailing list