home.social

#pascalcase — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #pascalcase, aggregated by home.social.

  1. @padeluun
    Wichtig wäre, dass die Webapp und die mobilen Apps, einen diese #PascalCase nicht immer austreiben wollen möchten, mit ihren automatischen Vorschlägen. Da muss wohl noch etwas Arbeit unter der Haube erfolgen.

  2. @padeluun Weil ich dazu neulich irgendwo hier den Fachbegriff lernte, wollte ich ihn mal neunmalklug droppen: Also nicht #snakecase und auch nicht #camelCase, sondern #PascalCase
    (Sorry, wisst ihr sicher alle schon, aber ich hab mich drüber gefreut)

  3. ok since hashtags are actually useful around here

    and this place seems to have a culture of accessibility

    please remember to camelCase or PascalCase your tags to make them human, and screen reader, readable

    more info: freecodecamp.org/news/snake-ca

    #camelCase #PascalCase #kebab-case (hashtag kebab, dash case, lol. kebab case does not work for hashtags) #snake_case #accessibility #AltText

  4. ok since hashtags are actually useful around here

    and this place seems to have a culture of accessibility

    please remember to camelCase or PascalCase your tags to make them human, and screen reader, readable

    more info: freecodecamp.org/news/snake-ca

    #camelCase #PascalCase #kebab-case (hashtag kebab, dash case, lol. kebab case does not work for hashtags) #snake_case #accessibility #AltText

  5. ok since hashtags are actually useful around here

    and this place seems to have a culture of accessibility

    please remember to camelCase or PascalCase your tags to make them human, and screen reader, readable

    more info: freecodecamp.org/news/snake-ca

    #camelCase #PascalCase #kebab-case (hashtag kebab, dash case, lol. kebab case does not work for hashtags) #snake_case #accessibility #AltText

  6. ok since hashtags are actually useful around here

    and this place seems to have a culture of accessibility

    please remember to camelCase or PascalCase your tags to make them human, and screen reader, readable

    more info: freecodecamp.org/news/snake-ca

    #camelCase #PascalCase #kebab-case (hashtag kebab, dash case, lol. kebab case does not work for hashtags) #snake_case #accessibility #AltText

  7. ok since hashtags are actually useful around here

    and this place seems to have a culture of accessibility

    please remember to camelCase or PascalCase your tags to make them human, and screen reader, readable

    more info: freecodecamp.org/news/snake-ca

    #camelCase #PascalCase #kebab-case (hashtag kebab, dash case, lol. kebab case does not work for hashtags) #snake_case #accessibility #AltText

  8. Hello! 👋 It’s time for an updated #Introduction because I’ve just moved instances to beige.party (I was formerly @brianlavelle) - any boosts would be most welcome!

    I’m Brian, and I’ve been a #Fediverse dweller since April 2022. This is my only social media…er, medium.

    In no particular order, I quite like:
    #ImprovisedMusic & #ExperimentalMusic
    #FieldRecording
    #Cats (I have two)
    #TTRPG (I have too many)
    #Tea
    #Meditation
    #Books #Poetry & #SpeculativeFiction
    #Trees & #Walking (but not #WalkingTrees)
    #Modernism & #Brutalism
    #SelfHosting & #FOSS
    #AltText & #PascalCase / #CamelCase
    & lots more

    My website: brianlavelle.scot
    My music: brianlavelle.bandcamp.com

    #TransRightsAreHumanRights

    #Introductions

  9. @Szescstopni
    What is too long/too short?

    There can't be any fixed definition for that. Not here in the Fediverse.

    The "Over 200 characters is too long" rule does not work in and can't be applied to the Fediverse. No, sorry, it can't. I've explained it in my (very early WIP) wiki about image descriptions and alt-text in the Fediverse: How are alt-text and image descriptions in the Fediverse different from other places? (tl;dr: On the Web, over 200 characters in alt-text are evil, but you've got captions, and you've got ample of other possibilities to describe an image than the alt-text. On Mastodon, you've only got the alt-text for image descriptions, and people cheer for 1,000-character alt-texts.)

    Depending on a) the kind of image you post, b) the obscurity of its contents, c) your audience (including whoever might stumble upon your image post; if you post in public, that's basically the whole Fediverse and everyone with Web access), d) their knowledge about what your image shows and e) their to-be-expected curiosity about what your image shows, you may have to describe your image in way more than 200 characters.

    This was the last time I've posted an image here on Hubzilla. It's a rendering from within a super-obscure 3-D virtual world. Next to nobody has ever seen it, but due to this being a 3-D virtual world (= proof that "the Metaverse is surprisingly not dead"), curiosity may be high. And my impression of especially Mastodon is that people prefer being given any and all information they may need right away to having to ask. Like, ask what something specific looks like.

    And so the image description in the alt-text is a bit over 1,400 characters long. And it's still very lacking. It doesn't even mention certain elements in the image. And it doesn't transcribe even only one bit of text. It's actually an extremely shortened version of the long image description in the post text itself. Over 60,000 characters of visual description and necessary explanations and text transcripts. That's over 10,000 words. That's probably over three hours of a screen reader rambling. That's two full days of me examining the place up-close, looking up additional information and writing the description. But I deemed it necessary.

    If it was an absolute requirement for me to a) cut the alt-text down to a maximum of 200 characters and b) cut the long description altogether, lots and lots and lots of information would be lost, including all text transcripts.

    I must learn more about the rules of the capitalization police.


    If you use a hashtag like #⁠superbowl, how is NVDA or any other screen reader software supposed to know whether that means "Super Bowl" or "superb owl"?

    Thus, any new word in a multiple-word hashtag must be capitalised so that screen readers know that this is where a new word starts.

    There are two ways of doing this.

    One is camel case. Camel case is the lazy variant: The first word is not capitalised, all other words are. #⁠oneTwoThree

    The other one is Pascal case, named after the programming language Pascal. Pascal case is the prettier variant: All words are capitalised. #⁠OneTwoThree

    Oops, I shouldn't have posted those images in replies as public. Anyway, 833 out of 836 images with alttext ain't so bad.

    Replying to a public post with a DM isn't supported everywhere in the Fediverse anyway. This only works on purist microblogging server applications on which a thread is just a bunch of posts tied together with mentions.

    It does not, however, work on more elaborate Fediverse server applications like Hubzilla (where I'm commenting from right now), (streams) and Forte. On these, a thread is an enclosed object with exactly one post, the start post, and otherwise comments. They have a highly complex permissions system in which all permissions in a conversation are defined by the post. If the post is public, all comments are public, full stop. So if you had replied to this otherwise 100% public, 100% Mastodon thread with a DM, then Hubzilla would have monkey-wrenched your DM into a public comment with a red padlock symbol for a permission conflict.

    CC: @Stefan Bohacek

    #Long #LongPost #CWLong #CWLongPost #AltText #AltTextMeta #CWAltTextMeta #ImageDescription #ImageDescriptions #ImageDescriptionMeta #CWImageDescriptionMeta #FediMeta #FediverseMeta #CWFediMeta #CWFediverseMeta #Hubzilla #Streams #(streams) #Forte #CamelCase #PascalCase #Permissions
  10. I just noticed that "Mastodon Tag Case Corrector" was updated last month, if you use it.

    If you are unaware of what that is, it's "a Python script for Mastodon instance admins to convert the display names of hashtags to #PascalCase, when possible.

    There are two possible strategies:

    Find tagged posts to determine the most used casing, and/or
    Split words with wordninja."

    Also worth noting, "the tool will not revisit any tags that have been changed either by the tool or manually by the admins." #MastoAdmin #Accessibility #a11y .

    codeberg.org/austinhuang/masto

  11. @crimperman

    Hi.

    It's called camel case because it has a hump in the middle. Like this - #camelCase

    The one with a capital for each word is called #PascalCase, though Pascal itself doesn't enforce this, it's a Pascal programmers' convention.

  12. Question aux personnes concernées et/ou expertes en accessibilité numérique :

    Je me rappelle, il y a longtemps, que le camelCase (mettre une capitale à chaque nouveau mot) était bien mieux pour les hashtags. Cela facilitait la lecture, notamment avec les lecteurs d'écran.

    Est-ce toujours le cas ?
    Edit: Oui

    (Je découvre d'ailleurs sur Wikipedia que j'utilise surtout le "PascalCase" puisque je mets aussi une capitale au 1er mot.)

    #CamelCase #PascalCase #AccessibilitéNumérique #LecteurDÉcran

  13. Question aux personnes concernées et/ou expertes en accessibilité numérique :

    Je me rappelle, il y a longtemps, que le camelCase (mettre une capitale à chaque nouveau mot) était bien mieux pour les hashtags. Cela facilitait la lecture, notamment avec les lecteurs d'écran.

    Est-ce toujours le cas ?
    Edit: Oui

    (Je découvre d'ailleurs sur Wikipedia que j'utilise surtout le "PascalCase" puisque je mets aussi une capitale au 1er mot.)

    #CamelCase #PascalCase #AccessibilitéNumérique #LecteurDÉcran

  14. Question aux personnes concernées et/ou expertes en accessibilité numérique :

    Je me rappelle, il y a longtemps, que le camelCase (mettre une capitale à chaque nouveau mot) était bien mieux pour les hashtags. Cela facilitait la lecture, notamment avec les lecteurs d'écran.

    Est-ce toujours le cas ?
    Edit: Oui

    (Je découvre d'ailleurs sur Wikipedia que j'utilise surtout le "PascalCase" puisque je mets aussi une capitale au 1er mot.)

    #CamelCase #PascalCase #AccessibilitéNumérique #LecteurDÉcran

  15. Question aux personnes concernées et/ou expertes en accessibilité numérique :

    Je me rappelle, il y a longtemps, que le camelCase (mettre une capitale à chaque nouveau mot) était bien mieux pour les hashtags. Cela facilitait la lecture, notamment avec les lecteurs d'écran.

    Est-ce toujours le cas ?
    Edit: Oui

    (Je découvre d'ailleurs sur Wikipedia que j'utilise surtout le "PascalCase" puisque je mets aussi une capitale au 1er mot.)

    #CamelCase #PascalCase #AccessibilitéNumérique #LecteurDÉcran

  16. Question aux personnes concernées et/ou expertes en accessibilité numérique :

    Je me rappelle, il y a longtemps, que le camelCase (mettre une capitale à chaque nouveau mot) était bien mieux pour les hashtags. Cela facilitait la lecture, notamment avec les lecteurs d'écran.

    Est-ce toujours le cas ?
    Edit: Oui

    (Je découvre d'ailleurs sur Wikipedia que j'utilise surtout le "PascalCase" puisque je mets aussi une capitale au 1er mot.)

    #CamelCase #PascalCase #AccessibilitéNumérique #LecteurDÉcran

  17. @Hippie ...nach einiger Recherche komme ich zu dem (immer noch unqualifizierzen) Schluss, daß #PascalCase für hashtags wohl besser ist. Es wird an verschiedenen Stellen argumentiert, daß der erste Buchstabe groß geschrieben für alle besser zu lesen ist. Und international scheint sich das bei latainischer Schrift durchzusetzen.

    Durch Deinen trööt habe ich gerade gelernt, daß camelCase auch lowerCamelCase genannt wird und PascalCase auch UpperCamelCase - aaahhh 😵‍💫😂

    @OskarImKeller @wurzelmann

  18. @Hippie Das klingt jetzt vielleicht zunächst etwas kleinlich, aber wenn auch der erste Buchstabe immer ein Großbuchstabe wäre, nennt man es #PascalCase (oder UpperCamelCase) bei #camelCase (eigentlich LowerCamelCase) hingegen ist der erste Buchstabe immer klein. Finde ich wichtig, wenn man einen "Styleguide" verabschieden würde, schon bei der Definition präzise zu sein. Sonst ist das Ergebnis nachher uneinheitlich.
    @OskarImKeller @wurzelmann

  19. Tips for bruk av emneknagger: skriv med #PascalCase eller #snake_case istedet for #altiett. Når en elektronisk leser skal lese opp emneknagger så kan ikke maskinen eller personen forstå hvordan ordet skal deles opp, siden de har ikke goden av å kunne lese hele ord i emneknaggene som sådan, men må lese de lineært, bokstav for bokstav.

    De fleste av oss, personer som kan lese uten assistanse, leser hele ordet på en gangen, så for oss er det ikke alltid et problem.

  20. Tips for bruk av emneknagger: skriv med #PascalCase eller #snake_case istedet for #altiett. Når en elektronisk leser skal lese opp emneknagger så kan ikke maskinen eller personen forstå hvordan ordet skal deles opp, siden de har ikke goden av å kunne lese hele ord i emneknaggene som sådan, men må lese de lineært, bokstav for bokstav.

    De fleste av oss, personer som kan lese uten assistanse, leser hele ordet på en gangen, så for oss er det ikke alltid et problem.

  21. #TIL that #SnakeCase is a less frequently used tagging scheme on the #fediverse.

    This could be due to that some services break their internal tagging schema, e.g. #Minds doesn't work well with #KebabCase.

    Or it could be due to the laziness of the users and subjectively arguing that #snake_case doesn't add to the readability of #PascalCase or #camelCase tags.

    In return the argument is that snake_case can add value if the tag has a not obvious word break, especially if the tag is completely written in lowercase or UPPERCASE.

    Or if the the underscore replaces a different character other than space like slash, pipe, hyphen, etc.

    And in AReallyLongTag / a_really_long_tag it could aid readability.

    Thus if one wants grouping and discoverability of posts while creating a brand identity consider using snake_case tags.

    #mastodon #ActivityPub #friendica #pixelfed

  22. #TIL that #SnakeCase is a less frequently used tagging scheme on the #fediverse.

    This could be due to that some services break their internal tagging schema, e.g. #Minds doesn't work well with #KebabCase.

    Or it could be due to the laziness of the users and subjectively arguing that #snake_case doesn't add to the readability of #PascalCase or #camelCase tags.

    In return the argument is that snake_case can add value if the tag has a not obvious word break, especially if the tag is completely written in lowercase or UPPERCASE.

    Or if the the underscore replaces a different character other than space like slash, pipe, hyphen, etc.

    And in AReallyLongTag / a_really_long_tag it could aid readability.

    Thus if one wants grouping and discoverability of posts while creating a brand identity consider using snake_case tags.

    #mastodon #ActivityPub #friendica #pixelfed

  23. #TIL that #SnakeCase is a less frequently used tagging scheme on the #fediverse.

    This could be due to that some services break their internal tagging schema, e.g. #Minds doesn't work well with #KebabCase.

    Or it could be due to the laziness of the users and subjectively arguing that #snake_case doesn't add to the readability of #PascalCase or #camelCase tags.

    In return the argument is that snake_case can add value if the tag has a not obvious word break, especially if the tag is completely written in lowercase or UPPERCASE.

    Or if the the underscore replaces a different character other than space like slash, pipe, hyphen, etc.

    And in AReallyLongTag / a_really_long_tag it could aid readability.

    Thus if one wants grouping and discoverability of posts while creating a brand identity consider using snake_case tags.

    #mastodon #ActivityPub #friendica #pixelfed

  24. What thing bothers you a lot, but it's so petty and unimportant that you'd feel ridiculous "um, actually"ing people about it?

    I'll start:

    It's #PascalCase, mofos. #camelCase needs a head that's lower than it's humps.

  25. @jcsteh @joachim @juliette

    Please DO capitalize the words within a hashtag.

    camelCase and PascalCase are two very similar norms that allow words to be joined without hyphenation but distinguished by readers through capitalization of the first letters of words.

    The difference is that Pascal Case requires the first letter of the first word to be capitalized but camel Case just insists on the following words. The two terms are often referred to without distinction here though.

    Be aware that Mastodon autocomplete will offer up the first version created for a hashtag. So, it’s important to be careful to make sure a hashtag that you type isn’t autocompleted to a version without capitals.

    #CamelCase #PascalCase #Accessibility #a11y

  26. @alan
    This just in: for the first time ever, Mastodon app didn’t try to “correct” my hashtag when I typed #PhonyStark. Typically, it would remove the caps. Finally. I’ve been asking for that change forever.
    #PascalCase

  27. How not using pascal case or camel case can ruin your brand.

    Because Bluesky is not written with a capital S, my screen reader pronounces it as Blueski. So it sounds like some Russian website.

    Remember to capitalize combined words in cases where spaces are not allowed, like in HashTags, so screen reader users won't get confused.

    #ScreenReader #accessibility #PascalCase #camelCase #blind #LowVision #BlueSky

  28. In response to the #hashtag casing issue, I've written a script for #MastoAdmin's to try to convert as many of them as possible to #PascalCase automatically:
    codeberg.org/austinhuang/masto
    Feedbacks & contributors welcome! (I'm still considering whether I should incorporate recent tagged posts to counter the computerized results.)

    #accessibility #camelCase

  29. @tsadiq j'utilise la version #camelCase comme monsieur Jourdain, mais comme je ne savais pas ce que c'était, j'ai regardé #Wikipedia qui mentionne les 2 variantes, selon l'usage de la personne qui l'emploie :

    fr.wikipedia.org/wiki/Camel_ca

    J'en déduis donc que #CamelCase et #camelCase se valent. Et #PascalCase est une variante aussi.

  30. Je vois des gens se battre pour leur convictions à utiliser du camel case dans les hashtag, et qui mettent la première lettre en majuscule. J'essaye de rester diplomate mais c'est dur. #camelCase #PascalCase

  31. I’m very very short of sleep otherwise I would totally die on the hill marked
    #PascalCase is not #camelCase

  32. @weirdwriter @[email protected] @elan @jamesbritt
    (2/2)
    ...switch back to #PascalCase. (I don't use #camelCase as I think it looks weird.)
    freecodecamp.org/news/snake-ca

    Now that we've got this paragraph issue settled, how about my 2 examples, are #UShistory or #USpol o.k. for you to listen to or do you need #USHistory and #USPol? Especially the second one can be misleading for sighted people, as USP (Unique Selling Proposition) is actually a much used acronym, therefore I prefer my personal slight variation.

  33. @weirdwriter

    #Inclusion and #Programming

    #snake_case,
    #kebap-case,
    #camelCase, and
    #PascalCase

    (1/n)

    " I wish all apps made all hashtags pascal case! "
    Thanks for sharing this introspective, Robert.
    Me, too. In fact, it makes long hashtags more easily readable for "sighted people" as well. ;) It is quite a bit more work, alas, in particular, as my apps try suggesting (and auto-replacing) previously used #Hashtags with all small letters, which I then have to...

    @MoiraEve @elan @jamesbritt

  34. @weirdwriter

    #Inclusion and #Programming

    #snake_case,
    #kebap-case,
    #camelCase, and
    #PascalCase

    (1/n)

    " I wish all apps made all hashtags pascal case! "
    Thanks for sharing this introspective, Robert.
    Me, too. In fact, it makes long hashtags more easily readable for "sighted people" as well. ;) It is quite a bit more work, alas, in particular, as my apps try suggesting (and auto-replacing) previously used #Hashtags with all small letters, which I then have to...

    @MoiraEve @elan @jamesbritt

  35. @weirdwriter

    #Inclusion and #Programming

    #snake_case,
    #kebap-case,
    #camelCase, and
    #PascalCase

    (1/n)

    " I wish all apps made all hashtags pascal case! "
    Thanks for sharing this introspective, Robert.
    Me, too. In fact, it makes long hashtags more easily readable for "sighted people" as well. ;) It is quite a bit more work, alas, in particular, as my apps try suggesting (and auto-replacing) previously used #Hashtags with all small letters, which I then have to...

    @MoiraEve @elan @jamesbritt

  36. @weirdwriter

    #Inclusion and #Programming

    #snake_case,
    #kebap-case,
    #camelCase, and
    #PascalCase

    (1/n)

    " I wish all apps made all hashtags pascal case! "
    Thanks for sharing this introspective, Robert.
    Me, too. In fact, it makes long hashtags more easily readable for "sighted people" as well. ;) It is quite a bit more work, alas, in particular, as my apps try suggesting (and auto-replacing) previously used #Hashtags with all small letters, which I then have to...

    @MoiraEve @elan @jamesbritt

  37. @weirdwriter

    #Inclusion and #Programming

    #snake_case,
    #kebap-case,
    #camelCase, and
    #PascalCase

    (1/n)

    " I wish all apps made all hashtags pascal case! "
    Thanks for sharing this introspective, Robert.
    Me, too. In fact, it makes long hashtags more easily readable for "sighted people" as well. ;) It is quite a bit more work, alas, in particular, as my apps try suggesting (and auto-replacing) previously used #Hashtags with all small letters, which I then have to...

    @MoiraEve @elan @jamesbritt

  38. This really isn't how alt text works.

    I assume it's written by ai... and another example of how ai can suck.

    #altText #accessibility #ai

    Also see: #HashtagsAtTheEnd #camelCase #PascalCase

  39. This really isn't how alt text works.

    I assume it's written by ai... and another example of how ai can suck.

    #altText #accessibility #ai

    Also see: #HashtagsAtTheEnd #camelCase #PascalCase

  40. This really isn't how alt text works.

    I assume it's written by ai... and another example of how ai can suck.

    #altText #accessibility #ai

    Also see: #HashtagsAtTheEnd #camelCase #PascalCase

  41. This really isn't how alt text works.

    I assume it's written by ai... and another example of how ai can suck.

    #altText #accessibility #ai

    Also see: #HashtagsAtTheEnd #camelCase #PascalCase

  42. @BlindQuilter
    Very welcome.

    I do it all the time, but make one slightly amendment to #UpperCamelCase (#PascalCase:)
    When a #Hashtag includes an abbreviations, such as "US," I continue with a small letter e.g. in #USpol as #USPol makes you wonder if the tag isn't about USPs (Unique Selling Propositions.)--
    Does this work for you, too?