[Cuis-dev] Errors loading solitaire

Juan Vuletich juan at cuis.st
Mon Dec 19 10:27:53 PST 2022


Hi Folks,

On 12/18/2022 8:45 PM, ken.dickey--- via Cuis-dev wrote:
>
> One theory in this case is that the difference in context between a 
> String (hence 'IHDR' is a collection of Characters) and UnicodeString 
> ('IHDR' is a collection of code points).
>
> I note that SmallInteger>>bitXor: is
> <primitive: 16> and
> ZipWriteStream>>updateCrc:from:to:in: is a plugin primitive
> <primitive: 'primitiveUpdateGZipCrc32' module: 'ZipPlugin'>
>
> So I think we are into an interaction between our updated Unicode 
> support and deeper VM usage/expectations.
>
> Juan, do you have time help out here?

The problem was in the fallback code of the primitive. Characters don't 
allow #bitXor: anymore. Assuming they once did. I was not aware of that. 
I any case, why on Earth should Characters know about bitpatterns? Just 
fixed the PNG loader. Seems to work OK now.

> [Or are you still celebrating with the rest of Argentina? Congrads, BTW!]

Oh, yes! Celebrations here will last for several days!

Take a look: 
https://www.theguardian.com/world/video/2022/dec/19/drone-captures-sea-of-fans-celebrating-in-buenos-aires-after-argentinas-world-cup-win-video
People dancing on the top of traffic lights! Tens of people on the roof 
of the bus stop! Easily a million people on the streets. It was great!

If you enjoy soccer (Football would be the correct, English name of the 
game), watch the final. It was thrilling. Some of the best in the world, 
pushing full throttle every minute.

Cheers,

>
>> barry at ford Cuis-Smalltalk-Dev % 
>> ~/Applications/Squeak.app/Contents/MacOS/Squeak -version
>>
>> 5.0 5.20220511.0711 Mac OS X built on May 11 2022 08:13:34 UTC 
>> Compiler: Apple LLVM 12.0.0 (clang-1200.0.32.29) [Production Spur 
>> 64-bit x64 VM]
>> CoInterpreter VMMaker.oscog-mt.3184 uuid: 
>> 57b61827-3f1a-ab45-966e-7c5caaef28d7 May 11 2022
>> StackToRegisterMappingCogit VMMaker.oscog-mt.3179 uuid: 
>> c6fbcb07-2a19-ed4f-8b40-9c119a70882a May 11 2022
>> VM: 202205110711 
>> runner at Mac-1652256021913.local:work/opensmalltalk-vm/opensmalltalk-vm
>> Date: Wed May 11 09:11:21 2022 CommitHash: 95dbe9d
>> Plugins: 202205110711 
>> runner at Mac-1652256021913.local:work/opensmalltalk-vm/opensmalltalk-v
>
> So, 64bit Mac OS and Intel HW.  That rules a few things out.  Thanks!!
>
>
>> I'm hoping this isn't going to be a colossal waste of your time...
>
> Not at all!  We want these things to work as expected and definitely 
> need help to test things which we don't have time to test regularly.  
> Particularly across OS and VM versions.
>
> This is a great help to us!
> -KenD


-- 
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich



More information about the Cuis-dev mailing list