Undeclared 'nanos' in Cryptology extension to DateAndTime

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
28 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Undeclared 'nanos' in Cryptology extension to DateAndTime

timrowledge
Whilst checking things after installing Seaside and Cryptography I noticed that Undeclared included 'nanos'.

This is only referenced in DateAndTime>>#milliSecond, which actually breaks the four Cryptology tests that fail because the result is nil and sending #asTruncateString: to nil doesn't do anything very useful. I suspect that a decent implementation would be

milliSecond

        ^utcMicroseconds \\ 1000000 // 1000

It certainly stops the four tests failing.

tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Strange OpCodes: RDR: Rotate Disk Right



Reply | Threaded
Open this post in threaded view
|

Re: Undeclared 'nanos' in Cryptology extension to DateAndTime

Squeak - Dev mailing list

Hi Tim,

I am confused. I have no failing tests and no entry of #nanos into Undeclared. It relies on the following method implementation, no reference to #nanos:

nanoSecond

    ^utcMicroseconds \\ 1000000 * 1000

This is called by

milliseconds

    ^ self nanoSecond // 1000000.

Did you load Cryptography other than

Installer ss project: 'Cryptography'; install: 'ProCrypto-1-1-1'.

Let me know where the issue is and I will get on it. Perhaps I don't know how to check Undeclared. I 'explore it' to Undeclared and get a WeakIdentityDictionary.

K, r

On 5/28/20 4:22 PM, tim Rowledge wrote:
Whilst checking things after installing Seaside and Cryptography I noticed that Undeclared included 'nanos'.

This is only referenced in DateAndTime>>#milliSecond, which actually breaks the four Cryptology tests that fail because the result is nil and sending #asTruncateString: to nil doesn't do anything very useful. I suspect that a decent implementation would be

milliSecond

	^utcMicroseconds \\ 1000000 // 1000

It certainly stops the four tests failing.

tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Strange OpCodes: RDR: Rotate Disk Right





Reply | Threaded
Open this post in threaded view
|

Re: Undeclared 'nanos' in Cryptology extension to DateAndTime

timrowledge
Ah, well after failing to spot anything advising differently I loaded with

Installer ss project: 'Cryptography';  install:  'Cryptography'

in the belief this would get the current versions.

Having now tried
> Installer ss project: 'Cryptography'; install: 'ProCrypto-1-1-1'.
in a clean image I can confirm that it does not result in any Undeclared, which is good.

However, it failed to load the BlowfishTests class that was in the original Blowfish package per Paul DeBruiker, which would be helpful to have included. I used them a couple of days ago to help work out why the string encrypt/decrypt code was so very, very, broken. I have fixes, once we are able to see the proper path to loading everything.

tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
"Bother!" said Pooh, as Piglet pressed <START> on the Microwave...



Reply | Threaded
Open this post in threaded view
|

Re: Undeclared 'nanos' in Cryptology extension to DateAndTime

timrowledge
After building an image with

>> Installer ss project: 'Cryptography'; install: 'ProCrypto-1-1-1'.

used to load crypto, I integrated my suggested changes to Blowfish and published the change to the inbox. I hope they make things better.



tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Strange OpCodes: RG: Read inter-record Gap



Reply | Threaded
Open this post in threaded view
|

Re: Undeclared 'nanos' in Cryptology extension to DateAndTime

Paul DeBruicker
In reply to this post by timrowledge
Uhh.  Hmmm.  Which version of that Blowfish code are you using?  I might not
do anything to the code I wrote but leave it in the past.  

Mariano Martinez Peck I think go it working better (e.g. doing CBC things so
you  can encrypt/decrypt more than 8 bytes)


CBC:
https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#Cipher_block_chaining_(CBC)


I think his version is here:
http://www.smalltalkhub.com/#!/~Cryptography/Cryptography




timrowledge wrote

> Ah, well after failing to spot anything advising differently I loaded with
>
> Installer ss project: 'Cryptography';  install:  'Cryptography'
>
> in the belief this would get the current versions.
>
> Having now tried
>> Installer ss project: 'Cryptography'; install: 'ProCrypto-1-1-1'.
> in a clean image I can confirm that it does not result in any Undeclared,
> which is good.
>
> However, it failed to load the BlowfishTests class that was in the
> original Blowfish package per Paul DeBruiker, which would be helpful to
> have included. I used them a couple of days ago to help work out why the
> string encrypt/decrypt code was so very, very, broken. I have fixes, once
> we are able to see the proper path to loading everything.
>
> tim
> --
> tim Rowledge;

> tim@

> ; http://www.rowledge.org/tim
> "Bother!" said Pooh, as Piglet pressed
> <START>
>  on the Microwave...





--
Sent from: http://forum.world.st/Squeak-Dev-f45488.html

Reply | Threaded
Open this post in threaded view
|

Re: Undeclared 'nanos' in Cryptology extension to DateAndTime

timrowledge


> On 2020-05-28, at 4:04 PM, Paul DeBruicker <[hidden email]> wrote:
>
> Uhh.  Hmmm.  Which version of that Blowfish code are you using?  

The version included in the cryptology package on squeaksource, within the Cryptology-Ciphers package. Ron mentioned recently that we have to be very careful about where this stuff gets published.


> I think his version is here:
> http://www.smalltalkhub.com/#!/~Cryptography/Cryptography

Seems to be a more or less innaccessible site these days? I haven't been able to get to it in ages.


tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Hardware: The parts of a computer system that can be kicked.



Reply | Threaded
Open this post in threaded view
|

Re: Undeclared 'nanos' in Cryptology extension to DateAndTime

Levente Uzonyi
On Thu, 28 May 2020, tim Rowledge wrote:

>
>
>> On 2020-05-28, at 4:04 PM, Paul DeBruicker <[hidden email]> wrote:
>>
>> Uhh.  Hmmm.  Which version of that Blowfish code are you using?
>
> The version included in the cryptology package on squeaksource, within the Cryptology-Ciphers package. Ron mentioned recently that we have to be very careful about where this stuff gets published.
>
>
>> I think his version is here:
>> http://www.smalltalkhub.com/#!/~Cryptography/Cryptography
>
> Seems to be a more or less innaccessible site these days? I haven't been able to get to it in ages.

It was announced to be shut down and replaced with a static site[1], but
only on the Pharo list because who cares about other users.
I suppose the migration[2] was not successful. The website complains about
jquery not being loaded.
Anyway, with some url mangling, the listing is available here:
http://www.smalltalkhub.com/mc/Cryptography/Cryptography/main


Levente
[1] http://forum.world.st/ANN-SmalltalkHub-Deprecation-Notice-td5114407.html
[2] http://forum.world.st/ANN-Smalltalkhub-Readonly-Migration-tuesday-8hs-server-maintenance-migration-td5116817.html

>
>
> tim
> --
> tim Rowledge; [hidden email]; http://www.rowledge.org/tim
> Hardware: The parts of a computer system that can be kicked.

Reply | Threaded
Open this post in threaded view
|

Re: Undeclared 'nanos' in Cryptology extension to DateAndTime

Squeak - Dev mailing list
In reply to this post by timrowledge

Hi tim,

On 5/28/20 5:39 PM, tim Rowledge wrote:
Ah, well after failing to spot anything advising differently I loaded with

Installer ss project: 'Cryptography';  install:  'Cryptography'

in the belief this would get the current versions.
I suppose this loaded Cryptography-rww.115.mcz and since we broke apart the different packages, I have not loaded it.
Having now tried
Installer ss project: 'Cryptography'; install: 'ProCrypto-1-1-1'.
in a clean image I can confirm that it does not result in any Undeclared, which is good.
Excellent news!
However, it failed to load the BlowfishTests class that was in the original Blowfish package per Paul DeBruiker, which would be helpful to have included. I used them a couple of days ago to help work out why the string encrypt/decrypt code was so very, very, broken. I have fixes, once we are able to see the proper path to loading everything.

I am glad to see that code recovered. Sorry I missed it!

You also wrote in another email:
On 5/28/20 7:03 PM, tim Rowledge wrote:
After building an image with

Installer ss project: 'Cryptography'; install: 'ProCrypto-1-1-1'.
used to load crypto, I integrated my suggested changes to Blowfish and published the change to the inbox. I hope they make things better.

Um, I have no idea how publishing to the Inbox works. At all. Please copy your version CryptographyCiphers-tpr.21 to 'Cryptography' and update ProCrypto-1-1-1 to reference it for composite loading. I added you as a User to Cryptography project, tim. Welcome aboard!

Could you explain how we may use the Inbox, please?

Kindly, rabbit



tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
"Bother!" said Pooh, as Piglet pressed <START> on the Microwave...





Reply | Threaded
Open this post in threaded view
|

Re: Undeclared 'nanos' in Cryptology extension to DateAndTime

Squeak - Dev mailing list
In reply to this post by Levente Uzonyi

On 5/28/20 7:40 PM, Levente Uzonyi wrote:

> On Thu, 28 May 2020, tim Rowledge wrote:
>
>>
>>> On 2020-05-28, at 4:04 PM, Paul DeBruicker <[hidden email]> wrote:
>>>
>>> Uhh.  Hmmm.  Which version of that Blowfish code are you using?
>> The version included in the cryptology package on squeaksource, within the Cryptology-Ciphers package. Ron mentioned recently that we have to be very careful about where this stuff gets published.
>>
>>
>>> I think his version is here:
>>> http://www.smalltalkhub.com/#!/~Cryptography/Cryptography
>> Seems to be a more or less innaccessible site these days? I haven't been able to get to it in ages.
> It was announced to be shut down and replaced with a static site[1], but
> only on the Pharo list because who cares about other users.

How unfortunate. I wanted to comment on the insular nature of their
larceny. Cryptography can only be published in the squeak source
repository. A lot of work went into it. Add it to the list...

K, r

> I suppose the migration[2] was not successful. The website complains about
> jquery not being loaded.
> Anyway, with some url mangling, the listing is available here:
> http://www.smalltalkhub.com/mc/Cryptography/Cryptography/main
>
>
> Levente
> [1] http://forum.world.st/ANN-SmalltalkHub-Deprecation-Notice-td5114407.html
> [2] http://forum.world.st/ANN-Smalltalkhub-Readonly-Migration-tuesday-8hs-server-maintenance-migration-td5116817.html
>
>>
>> tim
>> --
>> tim Rowledge; [hidden email]; http://www.rowledge.org/tim
>> Hardware: The parts of a computer system that can be kicked.


Reply | Threaded
Open this post in threaded view
|

Re: Undeclared 'nanos' in Cryptology extension to DateAndTime

Squeak - Dev mailing list
In reply to this post by timrowledge
Hi tim, I also updated the Cryptography project description to specify
loading with: 'ProCrypto-1-1-1'.

K, r

On 5/28/20 7:03 PM, tim Rowledge wrote:

> After building an image with
>
>>> Installer ss project: 'Cryptography'; install: 'ProCrypto-1-1-1'.
> used to load crypto, I integrated my suggested changes to Blowfish and published the change to the inbox. I hope they make things better.
>
>
>
> tim
> --
> tim Rowledge; [hidden email]; http://www.rowledge.org/tim
> Strange OpCodes: RG: Read inter-record Gap
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Undeclared 'nanos' in Cryptology extension to DateAndTime

Squeak - Dev mailing list
In reply to this post by Squeak - Dev mailing list
Hey Ron, since you spent serious time in making our Cryptography project
an official Crypto site, is there any possibility/usefulness in
reporting this violation to the organization you achieved our legitimacy
from? As the code has been ripped out and republished elsewhere, beyond
our controls.

K, r

On 5/28/20 9:37 PM, Robert Withers wrote:

>
> On 5/28/20 7:40 PM, Levente Uzonyi wrote:
>> On Thu, 28 May 2020, tim Rowledge wrote:
>>
>>>> On 2020-05-28, at 4:04 PM, Paul DeBruicker <[hidden email]> wrote:
>>>>
>>>> Uhh.  Hmmm.  Which version of that Blowfish code are you using?
>>> The version included in the cryptology package on squeaksource, within the Cryptology-Ciphers package. Ron mentioned recently that we have to be very careful about where this stuff gets published.
>>>
>>>
>>>> I think his version is here:
>>>> http://www.smalltalkhub.com/#!/~Cryptography/Cryptography
>>> Seems to be a more or less innaccessible site these days? I haven't been able to get to it in ages.
>> It was announced to be shut down and replaced with a static site[1], but
>> only on the Pharo list because who cares about other users.
> How unfortunate. I wanted to comment on the insular nature of their
> larceny. Cryptography can only be published in the squeak source
> repository. A lot of work went into it. Add it to the list...
>
> K, r
>
>> I suppose the migration[2] was not successful. The website complains about
>> jquery not being loaded.
>> Anyway, with some url mangling, the listing is available here:
>> http://www.smalltalkhub.com/mc/Cryptography/Cryptography/main
>>
>>
>> Levente
>> [1] http://forum.world.st/ANN-SmalltalkHub-Deprecation-Notice-td5114407.html
>> [2] http://forum.world.st/ANN-Smalltalkhub-Readonly-Migration-tuesday-8hs-server-maintenance-migration-td5116817.html
>>
>>> tim
>>> --
>>> tim Rowledge; [hidden email]; http://www.rowledge.org/tim
>>> Hardware: The parts of a computer system that can be kicked.


Reply | Threaded
Open this post in threaded view
|

Re: Undeclared 'nanos' in Cryptology extension to DateAndTime

Paul DeBruicker
In reply to this post by Squeak - Dev mailing list
Hi K,r

I copied it from squeaksource over to smalltalkhub evidently on July 14
2013. When (and because) squeaksource was allegedly shutting down.

Can you help me understand which part of copying MIT licensed code from one
computer to another is larcency?


Also, for completeness of your list, its since been copied and modified
here:

https://github.com/pharo-contributions/Cryptography

&

https://github.com/GsDevKit/Cryptography


Hope this helps

Paul

 
Squeak - Dev mailing list wrote
> On 5/28/20 7:40 PM, Levente Uzonyi wrote:
>> On Thu, 28 May 2020, tim Rowledge wrote:
>>
>>>
>>>> On 2020-05-28, at 4:04 PM, Paul DeBruicker &lt;

> pdebruic@

> &gt; wrote:
>>>>
>>>> Uhh.  Hmmm.  Which version of that Blowfish code are you using?
>>> The version included in the cryptology package on squeaksource, within
>>> the Cryptology-Ciphers package. Ron mentioned recently that we have to
>>> be very careful about where this stuff gets published.
>>>
>>>
>>>> I think his version is here:
>>>> http://www.smalltalkhub.com/#!/~Cryptography/Cryptography
>>> Seems to be a more or less innaccessible site these days? I haven't been
>>> able to get to it in ages.
>> It was announced to be shut down and replaced with a static site[1], but
>> only on the Pharo list because who cares about other users.
>
> How unfortunate. I wanted to comment on the insular nature of their
> larceny. Cryptography can only be published in the squeak source
> repository. A lot of work went into it. Add it to the list...
>
> K, r
>
>> I suppose the migration[2] was not successful. The website complains
>> about
>> jquery not being loaded.
>> Anyway, with some url mangling, the listing is available here:
>> http://www.smalltalkhub.com/mc/Cryptography/Cryptography/main
>>
>>
>> Levente
>> [1]
>> http://forum.world.st/ANN-SmalltalkHub-Deprecation-Notice-td5114407.html
>> [2]
>> http://forum.world.st/ANN-Smalltalkhub-Readonly-Migration-tuesday-8hs-server-maintenance-migration-td5116817.html
>>
>>>
>>> tim
>>> --
>>> tim Rowledge;

> tim@

> ; http://www.rowledge.org/tim
>>> Hardware: The parts of a computer system that can be kicked.





--
Sent from: http://forum.world.st/Squeak-Dev-f45488.html

Reply | Threaded
Open this post in threaded view
|

Re: Undeclared 'nanos' in Cryptology extension to DateAndTime

Squeak - Dev mailing list
Hi Paul,

Oh dear. Truly, I meant no offense to you, and clearly that term of larceny applies not, as you were original author,

On Fri, May 29, 2020 at 00:44, Paul DeBruicker <[hidden email]> wrote:
Hi K,r

I copied it from squeaksource over to smalltalkhub evidently on July 14
2013. When (and because) squeaksource was allegedly shutting down.

Can you help me understand which part of copying MIT licensed code from one
computer to another is larcency?
***
i wrote:
I really was thinking more along the lines of those other two links you mentioned below. They were not original authors, to my knowledge. 
I also tried to create github repos [1] for some aspects of Cryptography, particularly ParrotTalk. This was during the time when I was attempting to have both environments load Cryptography source. I rapidly lost this ability as Pharo started using Tonel and lost the ability to load Monticello. I have been excited to learn someone, I forget who, was working on a Tonel port to Squeak. This is good.
Also, for completeness of your list, its since been copied and modified
here:

https://github.com/pharo-contributions/Cryptography
Yes, this one was the port I was thinking about. I apologize for hitching my complaint of this port in the thread speaking of the SmalltalkHub code. 

I read the phrase “on the Pharo list because who cares about other users.” and it triggered my reaction. The lack of mutuality really gets to me, as they “move forwards”, leaving all else behind. And frankly the attitude from them is they don’t give any ****s. If we want it in Squeak, then we can put in the efforts. I suppose that is the price of commercialization. It is challenging being orphaned and I potentially have abandonment issues. This is not the only thing they have so acquired.
&

https://github.com/GsDevKit/Cryptography
This link is new to me. Thank you for sharing.

Hope this helps
It does. I hope you are not upset by what I have written, please don’t be.

Kindly,
Rabbit

[1] CallistoHouse - https://github.com/CallistoHouseLtd
Paul


Squeak - Dev mailing list wrote
> On 5/28/20 7:40 PM, Levente Uzonyi wrote:
>> On Thu, 28 May 2020, tim Rowledge wrote:
>>
>>>
>>>> On 2020-05-28, at 4:04 PM, Paul DeBruicker &lt;

> pdebruic@

> &gt; wrote:
>>>>
>>>> Uhh. Hmmm. Which version of that Blowfish code are you using?
>>> The version included in the cryptology package on squeaksource, within
>>> the Cryptology-Ciphers package. Ron mentioned recently that we have to
>>> be very careful about where this stuff gets published.
>>>
>>>
>>>> I think his version is here:
>>>> http://www.smalltalkhub.com/#!/~Cryptography/Cryptography
>>> Seems to be a more or less innaccessible site these days? I haven't been
>>> able to get to it in ages.
>> It was announced to be shut down and replaced with a static site[1], but
>> only on the Pharo list because who cares about other users.
>
> How unfortunate. I wanted to comment on the insular nature of their
> larceny. Cryptography can only be published in the squeak source
> repository. A lot of work went into it. Add it to the list...
>
> K, r
>
>> I suppose the migration[2] was not successful. The website complains
>> about
>> jquery not being loaded.
>> Anyway, with some url mangling, the listing is available here:
>> http://www.smalltalkhub.com/mc/Cryptography/Cryptography/main
>>
>>
>> Levente
>> [1]
>> http://forum.world.st/ANN-SmalltalkHub-Deprecation-Notice-td5114407.html
>> [2]
>> http://forum.world.st/ANN-Smalltalkhub-Readonly-Migration-tuesday-8hs-server-maintenance-migration-td5116817.html
>>
>>>
>>> tim
>>> --
>>> tim Rowledge;

> tim@

> ; http://www.rowledge.org/tim
>>> Hardware: The parts of a computer system that can be kicked.





--
Sent from: http://forum.world.st/Squeak-Dev-f45488.html





Reply | Threaded
Open this post in threaded view
|

Re: Undeclared 'nanos' in Cryptology extension to DateAndTime

timrowledge
In reply to this post by Squeak - Dev mailing list


> On 2020-05-28, at 6:34 PM, Robert Withers <[hidden email]> wrote:
>>
>>
> Um, I have no idea how publishing to the Inbox works.


The inbox is a place to drop possible fixes/extensions/etc so that they can be reviewed. It's writable for anyone. It's really for core squeak stuff but I really can't see any reason it would be bad to put other-package offerings in there.

It's all explained (for core-squeak) at https://squeak.org/development_process/ and one can do much the same for any package.


tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Littergators resolve disputes about rubbish



Reply | Threaded
Open this post in threaded view
|

Re: Undeclared 'nanos' in Cryptology extension to DateAndTime

timrowledge
In reply to this post by Squeak - Dev mailing list


> On 2020-05-28, at 6:34 PM, Robert Withers <[hidden email]> wrote:
>  Please copy your version CryptographyCiphers-tpr.21 to 'Cryptography' and update ProCrypto-1-1-1 to reference it for composite loading. I added you as a User to Cryptography project, tim. Welcome aboard!

OK; after a minor panic due to forgetting my SqS password, I've updated the  CryptographyCiphers package.
I appear to have updated the mcm correctly so that it is now ProCrypto-1-1-1-tpr.14.mcm and since this is actually the first time I ever used that tool I'll be interested to know if I did it correctly.

I shall now attempt to restore the tests in some fashion, which seems to require loading the separate tests package. More later.

tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Useful random insult:- Proof that evolution CAN go in reverse.



Reply | Threaded
Open this post in threaded view
|

Re: Undeclared 'nanos' in Cryptology extension to DateAndTime

Squeak - Dev mailing list


On 5/29/20 4:09 PM, tim Rowledge wrote:


On 2020-05-28, at 6:34 PM, Robert Withers [hidden email] wrote:
 Please copy your version CryptographyCiphers-tpr.21 to 'Cryptography' and update ProCrypto-1-1-1 to reference it for composite loading. I added you as a User to Cryptography project, tim. Welcome aboard!
OK; after a minor panic due to forgetting my SqS password, I've updated the  CryptographyCiphers package.
I appear to have updated the mcm correctly so that it is now ProCrypto-1-1-1-tpr.14.mcm and since this is actually the first time I ever used that tool I'll be interested to know if I did it correctly.
Your code loaded fine. Whoops, a reproducible error! Blowfish class>>#decryptToString:with: throws MessageNotUnderstood: ByteString>>trimRight:

I just discovered .mcm files recently, myself, when I split the Cryptography monolith into these fragments: Load what you need. They are excellent and straightforwards, a difference from Metacello, IMHO. I strongly dislike the #baseline: and #configurationOf methods required in Metacello.

I really like MCMs! Montcello Configuration files link Repositories and Packages, with specific versions. Evidently, to my understanding, there is a way to set like a wildcard to always load the latest package specified, though I have not learned how to use that.
I shall now attempt to restore the tests in some fashion, which seems to require loading the separate tests package. More later.
My apologies for failing to mention the parallel Tests packages. Please load those and the ParrotTalk/SSL stack, too.

Installer ss
    project: 'Cryptography'; install: 'ProCrypto-1-1-1';
    project: 'Cryptography'; install: 'ProCryptoTests-1-1-1';
    project: 'Cryptography'; install: 'SSLLoader'.
K, r

tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Useful random insult:- Proof that evolution CAN go in reverse.





Reply | Threaded
Open this post in threaded view
|

Re: Undeclared 'nanos' in Cryptology extension to DateAndTime

Squeak - Dev mailing list


On 5/29/20 4:21 PM, Robert Withers via Squeak-dev wrote:


On 5/29/20 4:09 PM, tim Rowledge wrote:

        
On 2020-05-28, at 6:34 PM, Robert Withers [hidden email] wrote:
 Please copy your version CryptographyCiphers-tpr.21 to 'Cryptography' and update ProCrypto-1-1-1 to reference it for composite loading. I added you as a User to Cryptography project, tim. Welcome aboard!
OK; after a minor panic due to forgetting my SqS password, I've updated the  CryptographyCiphers package.
I appear to have updated the mcm correctly so that it is now ProCrypto-1-1-1-tpr.14.mcm and since this is actually the first time I ever used that tool I'll be interested to know if I did it correctly.
Your code loaded fine. Whoops, a reproducible error! Blowfish class>>#decryptToString:with: throws MessageNotUnderstood: ByteString>>trimRight:

I just discovered .mcm files recently, myself, when I split the Cryptography monolith into these fragments: Load what you need. They are excellent and straightforwards, a difference from Metacello, IMHO. I strongly dislike the #baseline: and #configurationOf methods required in Metacello.

I really like MCMs! Montcello Configuration files link Repositories and Packages, with specific versions. Evidently, to my understanding,


***there is a way to set like a wildcard to always load the latest package *specified* [Specified is the wrong word, I meant *available*], though I have not learned how to use that.


I shall now attempt to restore the tests in some fashion, which seems to require loading the separate tests package. More later.
My apologies for failing to mention the parallel Tests packages. Please load those and the ParrotTalk/SSL stack, too.

Installer ss
    project: 'Cryptography'; install: 'ProCrypto-1-1-1';
    project: 'Cryptography'; install: 'ProCryptoTests-1-1-1';
    project: 'Cryptography'; install: 'SSLLoader'.
K, r
tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Useful random insult:- Proof that evolution CAN go in reverse.





Reply | Threaded
Open this post in threaded view
|

Re: Undeclared 'nanos' in Cryptology extension to DateAndTime

timrowledge
In reply to this post by Squeak - Dev mailing list


> On 2020-05-29, at 1:21 PM, Robert Withers <[hidden email]> wrote:
>
>>
> Your code loaded fine. Whoops, a reproducible error! Blowfish class>>#decryptToString:with: throws MessageNotUnderstood: ByteString>>trimRight:

Aargh; damn, that's from the Grease stuff loaded because I also have Seaside installed.


tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
"Bother" said Pooh, as his rucksack opened whilst skydiving



Reply | Threaded
Open this post in threaded view
|

Re: Undeclared 'nanos' in Cryptology extension to DateAndTime

Squeak - Dev mailing list
In reply to this post by Squeak - Dev mailing list

Tim, I love reading your by-lines, I have one posted on my Facebook bio, tho I added a little squeak to it!

In /dev/null no one can hear you scream^,^

On 5/29/20 4:09 PM, tim Rowledge wrote:

tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Useful random insult:- Proof that evolution CAN go in reverse.


Devolution is possible, another tool to explore the fitness landscape. Some call it extinction, a healthy process, so bring it ON climate change! I really don't give a shit!

This brings to mind that The Second Law of Thermodynamics can go in reverse and be violated. In a closed system! Life creates boundaries and reverses entropy and reproduces.

Rock that glows, rocks have some level of life <heh - the waters above, over the waters below, separated by the firmament (chemical bonds between atomic structures and molecular structures)>. Consider fluorescence. Its a high/low system within a phase space, short wavelengths in and longer wavelengths out, long-time decay from a delaying energy level, a short drop from the excitation photon. Same function as a laser, a delayed energy level. So high-lambda excitation photons, excite up to A, A emits very long-lambda to immediately decay to B, a delaying energy level. Fluorescence Atom/Molecule (with a hybrid energy structure) stays at B until stochastic decay. The Rock is glowing, even at night!!! All hail the Rock!

K, r

PS. I appreciate the rare chance, and your patience, to wax lyrical about physics; and about science in the Bible!!! That really gets me going! It has been a bit on the physics.






Reply | Threaded
Open this post in threaded view
|

Re: Undeclared 'nanos' in Cryptology extension to DateAndTime

Squeak - Dev mailing list
In reply to this post by timrowledge
Do we have a collision here? Perhaps promote ByteString>>#trimRight:
into the Kernel somewhere? I dunno the right move on collisions.
Thankfully they have been few and far between. There was one when I was
able to load Crypto in both Pharo & Squeak, that we resolved somehow.
But those days are over. Done. Finished.

k, r

On 5/29/20 4:29 PM, tim Rowledge wrote:

>
>
>> On 2020-05-29, at 1:21 PM, Robert Withers <[hidden email]> wrote:
>>
>> Your code loaded fine. Whoops, a reproducible error! Blowfish class>>#decryptToString:with: throws MessageNotUnderstood: ByteString>>trimRight:
> Aargh; damn, that's from the Grease stuff loaded because I also have Seaside installed.
>
>
> tim
> --
> tim Rowledge; [hidden email]; http://www.rowledge.org/tim
> "Bother" said Pooh, as his rucksack opened whilst skydiving
>
>
>


12