[squeak-dev] The Trunk: System-mt.1262.mcz

Marcel Taeumel marcel.taeumel at hpi.de
Fri Dec 3 11:37:37 UTC 2021


Please take a look at the changes in System-mt.1263. Hopefully, those adjustments are more agreeable to you. No specific form is requested. Nobody is forced to use their actual name. Just give a hint about a potential conflict.



Best,
Marcel
Am 03.12.2021 10:59:09 schrieb Marcel Taeumel <marcel.taeumel at hpi.de>:
Huh? I don't quite understand some of the thoughts here. To me, it clearly tries to balance the existing situation with new contributors to come.

Nobody should be forced to use a different set of initials than the ones already in use. So, "dtl" will remain "dtl" and "tpr" will remain "tpr".

(Dave) > I cannot imagine any circumstance in which I would want to be identified
as 'david.lewis'.

Just don't do it. How is this related to this change here? Please keep using the initials you feel most comfortable with. So, I do need to rephrase the wording. It seems to be misleading.

(Chris) > Are you sure names are less ambiguous than initials?

Of course. It's more letters. That helps a lot. Of course, it's not perfect. In practice, it will help our students.

(Chris) >  IMO, it would be prudent to consider all the ways such properties manifest throughout the system use cases [...]

At the moment, we cannot ensure the absence of naming conflicts. This change here is just to inform the user about the current situation.

(Chris) > [...] before recommending such a drastic, irreversible change.

Why is this "drastic"? People can use the initials they want to. It is just a documentation of the information that are already out there. :-/

***

I will keep observing this discussion. If it gets any more "heated", I will move this to the inbox again.

Best,
Marcel
Am 03.12.2021 03:55:10 schrieb David T. Lewis <lewis at mail.msen.com>:
It's a nice idea and well implemented, but could we please take a look
at Cuis before adopting it? I am 'dtl' in various things that I write,
and I don't care to have my identity translated into multiple incompatible
identifiers.

I cannot imagine any circumstance in which I would want to be identified
as 'david.lewis'. It is not my name, and it cannot be used to identify
me uniquely even in my home town, never mind the entire internet. There
are tens of thousands of internet sites that have users registered as
'david.lewis'. None of those people are me.

Cuis wants to convert my 'dtl' author initials to 'Dave Lewis', which
is hardly a unique identifier, although it does have the advantage of
being my actual name.

So please, if we're going to do this, could we look into making it
compatible with existing conventions in Cuis? And maybe consider
asking at least one person from Japan or India or Korea or China if
the idea makes sense to them (I don't know).

Dave (*)

(*) Not the only 'Dave' on the internet. My email identifier is
"David T. Lewis", which is what I used back in the 1980's because it
matched the name plate on my office desk. It still appears in
my various email signatures in 2021.


On Thu, Dec 02, 2021 at 04:15:01PM +0100, Marcel Taeumel wrote:
>
>
> ;o)
>
> (Is the wording okay? Any tips from native speakers .. err.. squeakers?)
> Am 02.12.2021 16:13:22 schrieb commits at source.squeak.org :
> Marcel Taeumel uploaded a new version of System to project The Trunk:
> http://source.squeak.org/trunk/System-mt.1262.mcz
>
> ==================== Summary ====================
>
> Name: System-mt.1262
> Author: mt
> Time: 2 December 2021, 4:13:05.311715 pm
> UUID: 777eacd2-3987-4b40-9431-85e1eb125748
> Ancestors: System-dtl.1261
>
> When the system asks you for your author intials, cross-check against the list of known contributors. If there is a match, greet the user and ask if the match is correct. Encourage the user to enter "firstname.lastname" as author initials to avoid conflicts with older initials.
>
> Thanks to Christoph (ct) for the idea!
>
> Try to derive #authorName from #authorInitials and vice versa using the list of known contributors.
>
> Minor tweak of the text layout for the version's alpha-warning text.
>
> =============== Diff against System-dtl.1261 ===============
>
> Item was changed:
> ----- Method: SystemVersion>>description (in category 'printing') -----
> description
>
> + self isAlpha ifTrue: [^ 'ALPHA. New features which are not stable yet may come in\with each update. Also, existing features might not work\reliably due to updates and related changes.' translated withCRs].
> - self isAlpha ifTrue: [^ 'ALPHA. New features which are not stable yet may come in\with each update. Also, existing features might not work reliably\due to updates and related changes.' translated withCRs].
>
> (self isFeatureFreeze and: [self isCodeFreeze not]) ifTrue: [^ 'FEATURE FREEZE. A new release is being prepared.\There will be only bugfixes, but no new features.' translated withCRs].
>
> self isCodeFreeze ifTrue: [^ 'RELEASE CANDIDATE. The new release is almost ready.\There will be only bugfixes, if any.' translated withCRs].
>
> self isRelease ifTrue: [^ ''].!
>
> Item was changed:
> ----- Method: Utilities class>>authorInitials (in category 'identification') -----
> authorInitials
> + "Maybe interactive. Answer the initials to be used to identify the current code author. Ask the user if the initials are empty. Try to derive the initials from the existing author name."
> - "Answer the initials to be used to identify the current code author. "
>
> + (AuthorInitials isEmpty and: [AuthorName notEmpty])
> + ifTrue: [
> + SystemNavigation authors
> + at: AuthorName
> + ifPresent: [:authorInitials |
> + AuthorInitials := authorInitials anyOne. "Can be multiple matches"
> + self setAuthorInitials "Let the user confirm"]].
> +
> [AuthorInitials isEmpty] whileTrue: [self setAuthorInitials].
> ^ AuthorInitials!
>
> Item was changed:
> ----- Method: Utilities class>>authorName (in category 'identification') -----
> authorName
> + "Maybe interactive. Answer the full name to be used in various tools to identify the user/author. Ask the user if the name is empty. Try to derive the name from existing initials."
> +
> + ^ AuthorName ifEmpty: [
> + AuthorInitials
> + ifEmpty: [self setAuthorName. AuthorName]
> + ifNotEmpty: [:initials |
> + SystemNavigation authorsInverted
> + at: initials
> + ifPresent: [:authorNames |
> + AuthorName := authorNames sorted joinSeparatedBy: '/'.
> + self setAuthorName. "Let the user confirm"]
> + ifAbsent: [self setAuthorName. AuthorName]]]!
> - AuthorName ifEmpty: [self setAuthorName].
> - ^ AuthorName!
>
> Item was changed:
> ----- Method: Utilities class>>setAuthorInitials (in category 'identification') -----
> setAuthorInitials
> + "Put up a dialog allowing the user to specify the author's initials. Inform the user about collisions with known contributors. See SystemNavigation class >> #authors. "
> - "Put up a dialog allowing the user to specify the author's initials. "
>
> + | newInitials newName |
> + newInitials := Project uiManager
> + request: 'Please type your initials:' translated
> + initialAnswer: AuthorInitials.
> +
> + SystemNavigation authorsInverted at: newInitials ifPresent: [:existingNames |
> + newName := existingNames sorted joinSeparatedBy: '/'].
> +
> + (self confirm: ('Hello, {1}!! :-)
>
> Our list of known contributors associates the initials you
> have entered with this name. If this is not you, please
> consider entering alternative initials, preferably in the
> format firstName.lastName to avoid collisions. [code://{3}]
>
> Are these your author initials?
>
> {2}' translated format: {
> + newName ifNil: [newInitials].
> + newInitials.
> + 'SystemReporter open model categoryAt: 1 put: true'.
> + Preferences standardButtonFont familyName.
> + Preferences standardButtonFont pointSize.
> + "mt: Avoid triggering the Windows Defender. See http://lists.squeakfoundation.org/pipermail/squeak-dev/2021-December/217346.html"
> + 'a' }) asTextFromHtml)
> +
> + ifTrue: [self authorInitials: newInitials].!
> - self authorInitials:
> - (UIManager default request: 'Please type your initials: ' translated
> - initialAnswer: AuthorInitials)!
>
> Item was changed:
> ----- Method: Utilities class>>setAuthorName (in category 'identification') -----
> setAuthorName
> +
> + AuthorName := Project uiManager
> + request: 'Please type your name:' translated
> + initialAnswer: (AuthorName ifEmpty: ['Your Name' translated]).!
> - AuthorName := UIManager default
> - request: 'Please type your name:' translated
> - initialAnswer: 'Your Name' translated!
>
>



>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20211203/29c4df6c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 29007 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20211203/29c4df6c/attachment-0001.png>


More information about the Squeak-dev mailing list