[squeak-dev] Porting Speech/TTS to Squeak Trunk (was: Speech.sar is missing)

David T. Lewis lewis at mail.msen.com
Tue Sep 21 21:23:55 UTC 2021


Hello Christoph,

I figured out what is happening. Attached is your user ID on squeaksource.com
exactly as it appears in the squeaksource image. When you entered your
author initials, the Unicode characters got converted into a 9-byte string.
SqueakSource maintains a dictionary of users, and this is the key to your
account in that dictionary. Your actual author intials are recorded
separately in your account information, and these appear as 'ct'.

This means that if you log in to squeaksource.com using 'c​t' rather
than 'ct' as your user ID, you will be able to log in successfully.

That leaves two problems:

1) Your author initials are the same as those of Christophe Tricot.
I don't know if this will cause problems or not, but you should be
aware if it in case of issues.

2) Using 'c​t' to log in to this repository is not very convenient.

I think that you may well be the first person to explore the concept
of using incomprehensible user names as a technique for authentication.
This might prove to be an exciting new frontier in computer security ;-)

Note, this bug in SqueakSource has been present since the beginning.
We had frequent problems with this back when squeaksource.com was
being used for classroom assignments. I had hoped that the issue
would somehow have been fixed when I updated squeaksource.com to
the latest sources, and ran it on a Squeak 5.3 image. Unfortunately
the problem is apparently still with us. I think that we do not see
it on our source.squeak.org server because it has a much smaller
number of user accounts, and no multibyte user IDs.

Dave


On Mon, Sep 20, 2021 at 08:15:43PM -0400, David T. Lewis wrote:
> Hi Christoph,
> 
> It's not a Unicode issue, rather it seems that you may not be the
> first person to have used initials 'ct' on squeaksource, see attached.
> 
> Tricot Christophe ('ct') has some legitimate projects on the SqueakSource
> server (PicaRobot and BotIncPica).
> 
> I am not sure of the right way to handle this.
> 
> Dave
> 
> 
> On Mon, Sep 20, 2021 at 11:29:30PM +0000, Thiede, Christoph wrote:
> > Hm ... Still no access (401 Unauthorized). What could this be? Is this because of the unfortunate Unicode space in my initials?
> > 
> > 
> > Best,
> > 
> > Christoph
> > 
> > ________________________________
> > Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von David T. Lewis <lewis at mail.msen.com>
> > Gesendet: Montag, 20. September 2021 23:08:04
> > An: The general-purpose Squeak developers list
> > Betreff: Re: [squeak-dev] Porting Speech/TTS to Squeak Trunk (was: Speech.sar is missing)
> > 
> > Hi Christoph,
> > 
> > A added you as developer on http://www.squeaksource.com/Speech.
> > You can copy your Speech-ct.11.mcz from inbox to this repo, then
> > merge and commit freely. There is no need for reviews or approvals,
> > you know what you are doing so please just go ahead and do whatever
> > updates you feel are appropriate.
> > 
> > Thanks!
> > Dave
> > 
> > 
> > On Mon, Sep 20, 2021 at 04:24:34PM +0000, Thiede, Christoph wrote:
> > > Here are my author initials again in plain Unicode:
> > >
> > > ct
> > >
> > > Copying and pasting all three characters should work, I hope. :-)
> > >
> > >
> > > Best,
> > >
> > > Christoph
> > >
> > > ________________________________
> > > Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von Thiede, Christoph
> > > Gesendet: Samstag, 18. September 2021 18:35:35
> > > An: squeak-dev at lists.squeakfoundation.org; lewis at mail.msen.com
> > > Betreff: Re: [squeak-dev] Porting Speech/TTS to Squeak Trunk (was: Speech.sar is missing)
> > >
> > > Hi Dave,
> > >
> > > no problem, thanks for the pointer. I now have registered on Squeaksource with the author initials returned by 'c%E2%80%8Bt' unescapePercents (sorry, it contains a Unicode character that the SMTPClient currently rejects to encode correctly, simple 'ct' was already in use ...).
> > >
> > > I have also updated the Wiki entry<https://wiki.squeak.org/squeak/651> and added a link to this Squeaksource project. :-)
> > >
> > > Best,
> > > Christoph
> > >
> > > ---
> > > Sent from Squeak Inbox Talk<https://github.com/hpi-swa-lab/squeak-inbox-talk>
> > >
> > > On 2021-09-18T10:51:03-04:00, lewis at mail.msen.com wrote:
> > >
> > > > On Sat, Sep 18, 2021 at 04:01:03PM +0200, christoph.thiede at student.hpi.uni-potsdam.de wrote:
> > > > > Hi all,
> > > > >
> > > > > I have finally found the time to try again to get Speech running under Squeak 5.3. The SAR file in the wiki is incomplete, but this one can be loaded with almost zero errors into a fresh trunk image: https://source.squeak.org/39a/Speech-md.9.mcz
> > > > >
> > > > > I have just uploaded Speech-ct.11 to the inbox which can be loaded without any hickups into Squeak Trunk. :-) The question, what shall we do it? Speech is no longer part of the Trunk (I don't know why), I have no idea what is the best way to keep it in a maintainable state. Shall we readd it to the Trunk? Shall I make a separate GitHub repository for it? Open to your ideas. :-)
> > > > >
> > > >
> > > > Hi Christoph,
> > > >
> > > > Please set up an account for yourself on squeaksource.com, exactly
> > > > like your ct account on source.squeak.org. There is already a
> > > > Speech project there (http://www.squeaksource.com/Speech) that
> > > > begins with the Speech-md.9.mcz that you found. I'll add you to
> > > > that project so that you can contribute directly. You can copy
> > > > your Speech-ct.11 directly there, and merge as needed. The most
> > > > recent update in that repository is from 2012, so I'm sure that
> > > > it is overdue for some updates :-)
> > > >
> > > > Presumably someone should also update the SqueakMap entry for
> > > > Speech, which apparently points to an old copy that was extracted
> > > > from Squeak 3.4.
> > > >
> > > > Sorry I did not mention this earlier, but I honestly had forgotten
> > > > that the squeaksource repository was there, even though I am the
> > > > person who set it up long ago.
> > > >
> > > > Dave
> > > >
> > > >
> > 
> > >
> > 
> > 
> 
> > 
> 


> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ByteString.png
Type: image/png
Size: 9428 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20210921/f4160761/attachment.png>


More information about the Squeak-dev mailing list