Stories
Slash Boxes
Comments

SoylentNews is people

The Fine print: The following are owned by whoever posted them. We are not responsible for them in any way.

Journal by takyon

Regional Indicator Symbol

I am adding some flag emoji to the Soylent Upgrade extension. It seems to work although they don't render as anything other than letters or boxes on my main system. I'm sure that 95% of them will work on my Chromebook, however.

I don't want to include every possible flag on the list (sorry Lesotho, New Caledonia, Svalbard and Jan Mayen...). I included the ten that were proposed as part of a draft standard in 2007, flags of the ten most populous countries (Bangladesh, Nigeria, and Indonesia OMG), the EU flag, Puerto Rico, and a number of other territories that are in the news often or are amusing.

Fun fact, separate emoji for England, Scotland, and Wales were added to Unicode in 2017. Good timing! I added England to my list below, but it renders very differently from the other symbols, showing up as one box instead of two boxes, "GBENG", or whatever.

There is no Nazi flag in Unicode, aristarchus, I already checked. However, it might be fun to speculate on what unreserved regional indicator (of the 26x26) could be used. NZ = New Zealand and SS = South Sudan so those are out. Actually, given that GB-ENG, GB-SCT, and GB-WLS were added, you are no longer constrained by 676 choices (is it 26^5 or 11,881,376 now?) and DE-NZI might be the best option. US-NZI? US-CSA?

Should the flag of Antarctica be orange?

Here's what I have included so far:

🇦🇫 - \uD83C\uDDE6\uD83C\uDDEB - AF / Afghanistan
🇦🇶 - \uD83C\uDDE6\uD83C\uDDF6 - AQ / Antarctica
🇦🇺 - \uD83C\uDDE6\uD83C\uDDFA - AU / Australia
🇧🇩 - \uD83C\uDDE7\uD83C\uDDE9 - BD / Bangladesh
🇧🇷 - \uD83C\uDDE7\uD83C\uDDF7 - BR / Brazil
🇨🇦 - \uD83C\uDDE8\uD83C\uDDE6 - CA / Canada
🇨🇳 - \uD83C\uDDE8\uD83C\uDDF3 - CN / China
🇨🇺 - \uD83C\uDDE8\uD83C\uDDFA - CU / Cuba
🇩🇪 - \uD83C\uDDE9\uD83C\uDDEA - DE / Germany
🇪🇬 - \uD83C\uDDEA\uD83C\uDDEC - EG / Egypt
🇪🇸 - \uD83C\uDDEA\uD83C\uDDF8 - ES / Spain
🇪🇺 - \uD83C\uDDEA\uD83C\uDDFA - EU / European Union
🇫🇷 - \uD83C\uDDEB\uD83C\uDDF7 - FR / France
🇬🇧 - \uD83C\uDDEC\uD83C\uDDE7 - GB / United Kingdom
🏴󠁧󠁢󠁥󠁮󠁧󠁿 - \uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67\uDB40\uDC7F - GB-ENG / England
🇮🇩 - \uD83C\uDDEE\uD83C\uDDE9 - ID / Indonesia
🇮🇪 - \uD83C\uDDEE\uD83C\uDDEA - IE / Ireland
🇮🇱 - \uD83C\uDDEE\uD83C\uDDF1 - IL / Israel
🇮🇳 - \uD83C\uDDEE\uD83C\uDDF3 - IN / India
🇮🇶 - \uD83C\uDDEE\uD83C\uDDF6 - IQ / Iraq
🇮🇷 - \uD83C\uDDEE\uD83C\uDDF7 - IR / Iran
🇮🇹 - \uD83C\uDDEE\uD83C\uDDF9 - IT / Italy
🇯🇵 - \uD83C\uDDEF\uD83C\uDDF5 - JP / Japan
🇰🇵 - \uD83C\uDDF0\uD83C\uDDF5 - KP / North Korea
🇰🇷 - \uD83C\uDDF0\uD83C\uDDF7 - KR / South Korea
🇲🇽 - \uD83C\uDDF2\uD83C\uDDFD - MX / Mexico
🇳🇬 - \uD83C\uDDF3\uD83C\uDDEC - NG / Nigeria
🇵🇰 - \uD83C\uDDF5\uD83C\uDDF0 - PK / Pakistan
🇵🇷 - \uD83C\uDDF5\uD83C\uDDF7 - PR / Puerto Rico
🇵🇸 - \uD83C\uDDF5\uD83C\uDDF8 - PS / Palestinian Territory
🇷🇺 - \uD83C\uDDF7\uD83C\uDDFA - RU / Russia
🇸🇦 - \uD83C\uDDF8\uD83C\uDDE6 - SA / Saudi Arabia
🇸🇪 - \uD83C\uDDF8\uD83C\uDDEA - SE / Sweden
🇹🇷 - \uD83C\uDDF9\uD83C\uDDF7 - TR / Turkey
🇺🇸 - \uD83C\uDDFA\uD83C\uDDF8 - US / United States
🇻🇦 - \uD83C\uDDFB\uD83C\uDDE6 - VA / Vatican City
🇻🇪 - \uD83C\uDDFB\uD83C\uDDEA - VE / Venezuela
🇿🇦 - \uD83C\uDDFF\uD83C\uDDE6 - ZA / South Africa

If you think a country should be included, comment and make your case.

South American representation is looking particularly bad.

Antarctica, England, and Puerto Rico and others should probably be removed if they just don't render anywhere.

One stupid thing is that there is currently no way for me to add a tooltip that identifies the flag your are hovering over. I will think about the best way to add this.

-----

New ordered list buttons will be added. Now the type attribute can be changed (discussed here). Clicking the "1. List" button will output <ol type="1">. "A. List" adds type="A", and "I. List" adds type="I" (Roman numerals). I could make two more buttons for the lowercase versions, but that seems excessive. Having the two new options should be a good enough reminder that you can change the look of your ordered list.

  1. Wow
  2. Who
  3. Even
  4. Uses
  5. Roman
  6. Numerals
  7. Anymore
  8. Latin
  9. Is
  10. A
  11. Dead
  12. Language
  13. Plus
  14. What
  15. Happened
  16. To
  17. The
  18. Zero?

  1. This
  2. Is
  3. A
  4. Test

  1. This
  2. Is
  3. Another
  4. Test

Too bad we can't access the incredible variety added by CSS3 and later's list-style-type.

Also on the agenda:

  • Title case fix(es) such as "IPhone" to "iPhone".
  • Fix so the title case button appears even after you have previewed a journal.
  • Recognize the poll results/comments page so commenting features are added. The URL in question is https://soylentnews.org/pollBooth.pl?qid=110&aid=-1 where QID is the number of the poll.
  • Take a look at *New* comment cycling. The button appears on some individual thread pages where there are no actual new comments (but there were new comments on the overall story).

These are just ideas:

Maybe a "Now" button on admin.pl?op=edit so editors can set the story release time to the current time. Not sure about this, would entertain other ideas about the release time field, such as manipulation of the time using [+60m] and [+90m] buttons (including correct handling of the date change). The only thing the extension currently does with this field is add a check to make sure whether or not you want to post a story in the past (typically because you forgot to add a day).

If I missed anything or you have any ideas, let me know.

Display Options Threshold/Breakthrough Reply to Article Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
(1)
  • (Score: 2) by Gaaark on Tuesday October 17 2017, @03:50PM (4 children)

    by Gaaark (41) Subscriber Badge on Tuesday October 17 2017, @03:50PM (#583505) Journal

    On my palemoon, it is letters and boxes also.

    --
    --- Please remind me if I haven't been civil to you: I'm channeling MDC. ---Gaaark 2.0 ---
    • (Score: 2) by takyon on Tuesday October 17 2017, @04:55PM (2 children)

      by takyon (881) <takyonNO@SPAMsoylentnews.org> on Tuesday October 17 2017, @04:55PM (#583536) Journal

      It could be as dependent on the OS as the browser. It is weird that implementations don't pick all letters or boxes though.

      On the Chromebook, every single flag renders correctly (including Antarctica, Puerto Rico, etc.) except for GB-ENG, which displays as a generic black/grey flag.

      I'm also surprised to see how good the flags look despite them being 14px and having a wavy shape.

      --
      [SIG] 10/28/2017: Soylent Upgrade v14 [soylentnews.org]
    • (Score: 2) by chromas on Wednesday October 18 2017, @06:42AM

      by chromas (34) Subscriber Badge on Wednesday October 18 2017, @06:42AM (#583825) Journal

      Do you have an emoji-supporting font installed? Something like google's noto-emoji. Some programs like Firefox and Pale Moon support the colored variant—oops I mean, "variant of color". There's also Unifont but it's uglier. You don't have to make it your default font; most major operating systems—except maybe TempleOS—will fall back to it for characters your font doesn't support.

  • (Score: 0) by Anonymous Coward on Tuesday October 17 2017, @04:48PM (3 children)

    by Anonymous Coward on Tuesday October 17 2017, @04:48PM (#583533)

    Remember to get all your essential vitamins. Eat the orange snow saturated with Linux penguin piss.

  • (Score: 0) by Anonymous Coward on Tuesday October 17 2017, @05:53PM (10 children)

    by Anonymous Coward on Tuesday October 17 2017, @05:53PM (#583569)

    There is no Nazi flag in Unicode, aristarchus, I already checked. However, it might be fun to speculate on what unreserved regional indicator (of the 26x26) could be used. NZ = New Zealand and SS = South Sudan so those are out. Actually, given that GB-ENG, GB-SCT, and GB-WLS were added, you are no longer constrained by 676 choices (is it 26^5 or 11,881,376 now?) and DE-NZI might be the best option. US-NZI? US-CSA?

    The correct code is, of course, not in the 26x26 character space.
    I propose ⎇→ [wikipedia.org] :D

    • (Score: 2) by takyon on Tuesday October 17 2017, @06:00PM (6 children)

      by takyon (881) <takyonNO@SPAMsoylentnews.org> on Tuesday October 17 2017, @06:00PM (#583576) Journal

      Did you come up with this or is it "a thing"? I did a few searches but it seems resistant.

      --
      [SIG] 10/28/2017: Soylent Upgrade v14 [soylentnews.org]
      • (Score: 0) by Anonymous Coward on Tuesday October 17 2017, @07:11PM (5 children)

        by Anonymous Coward on Tuesday October 17 2017, @07:11PM (#583604)
        • (Score: 2) by takyon on Tuesday October 17 2017, @09:32PM (4 children)

          by takyon (881) <takyonNO@SPAMsoylentnews.org> on Tuesday October 17 2017, @09:32PM (#583679) Journal

          I meant: "Are alt righters using this character code to identify each other?"

          --
          [SIG] 10/28/2017: Soylent Upgrade v14 [soylentnews.org]
          • (Score: 0) by Anonymous Coward on Tuesday October 17 2017, @10:09PM (2 children)

            by Anonymous Coward on Tuesday October 17 2017, @10:09PM (#583691)

            OP here.

            I don't know if they're using "⎇→", or any other representation of that key combination. Probably not. At least I've never seen it before, and it kind of popped up into my mind after reading the quoted part. Well, what popped up was the way-too-obvious "alt+right", and I search-engine'd for how to best represent it in two characters. Turns out that "alt" key has the official representation of "⎇", though since that's the first time I've seen it, it doesn't seem to be all that widely adopted... Meh, it's useful for this, so it wasn't a *total* loss of a Unicode code point :D

            • (Score: 2) by takyon on Tuesday October 17 2017, @10:26PM (1 child)

              by takyon (881) <takyonNO@SPAMsoylentnews.org> on Tuesday October 17 2017, @10:26PM (#583699) Journal

              It's the kind of symbol that is printed on SOME keyboards. The Wikipedia article shows it on an Apple keyboard.

              The only other thing I can think of where it would be used: lists of keyboard shortcuts. Yup, ⎇ instead of "Alt".

              There are other software related Unicode characters that I find a lot more useful for UI stuff, like:

              📢 📎 📖 📅 📋 📁 📂 💾 🔍 🔎 🔒 🔓 🔖 🔔 🔗 📱 📴 📧 📨 📩 🔃 💱 💬 💩 💣

              --
              [SIG] 10/28/2017: Soylent Upgrade v14 [soylentnews.org]
              • (Score: 0) by Anonymous Coward on Wednesday October 18 2017, @03:06AM

                by Anonymous Coward on Wednesday October 18 2017, @03:06AM (#583786)

                It's the kind of symbol that is printed on SOME keyboards. The Wikipedia article shows it on an Apple keyboard.

                It doesn't, look more carefully :) "Macintosh keyboards equate the Alt key with the ⌥ Option key, which has its own, related, symbol." It's somewhat similar, but the symbol for the Apple "Option" key is flipped and doesn't have an arrow. "⎇" vs "⌥". Edgy!

                The only other thing I can think of where it would be used: lists of keyboard shortcuts. Yup, ⎇ instead of "Alt".

                Good lord, no. Maybe for "techie" software, but please don't do it for "normal" users. There'd be chaos, I tell ya. Chaos.

                There are other software related Unicode characters that I find a lot more useful for UI stuff, like:

                📢 📎 📖 📅 📋 📁 📂 💾 🔍 🔎 🔒 🔓 🔖 🔔 🔗 📱 📴 📧 📨 📩 🔃 💱 💬 💩 💣

                Those are nice! ... wait, exploding poop?
                While that's descriptive of a lot of software, I doubt devs would be allowed to put it in the UI :)

          • (Score: 1) by Sulla on Tuesday October 17 2017, @10:25PM

            by Sulla (5173) on Tuesday October 17 2017, @10:25PM (#583698) Journal

            That sounds like the premise of a really good Huff Post article.

            Would put it up there with,
            "Anonymous - Hackers on Steroids"

            --
            Ceterum censeo Sinae esse delendam
    • (Score: 3, Interesting) by takyon on Tuesday October 17 2017, @06:01PM (2 children)

      by takyon (881) <takyonNO@SPAMsoylentnews.org> on Tuesday October 17 2017, @06:01PM (#583577) Journal
      • (Score: 0) by Anonymous Coward on Tuesday October 17 2017, @08:30PM (1 child)

        by Anonymous Coward on Tuesday October 17 2017, @08:30PM (#583637)
        🇰🇵 Kim
        🇰🇵 Jong
        🇰🇵 Nuked

        Paging realDonaldTrump

        • (Score: 2) by realDonaldTrump on Wednesday October 18 2017, @06:43AM

          by realDonaldTrump (6614) on Wednesday October 18 2017, @06:43AM (#583826) Homepage Journal

          I thank you for your support. America and our allies will never be intimidated. We will defend our people, our nations, and our civilization, from all who dare to threaten our way of life. This includes the regime of North Korea, which has one again shown its utter contempt for its neighbors, and the entire world community. After seeing your capabilities and commitment here today, I am more confident than ever that our options in addressing this threat are both effective and overwhelming. These new flag capabilities are fabulous. Does this cyber upgrade mean I can now have flags in my journal? If I can have flags in my journal, that puts a powerful new option on the table. When I put in a flag but it comes out as question marks, that makes me look foolish. Makes me look like an idiot. I can't afford that when I'm going up against Chairman Kim Jong-un. I'll tell you, he's a smart cookie, with terrific cyber. So I need the very best cyber. Big, big thanks to takyon! And if the flag of Scotland can be supported that will be fabulous. Scotland is a more important country than ever. More and more, it's an important country. As important as Puerto Rico, maybe more so. 🇺🇸

  • (Score: 2) by Post-Nihilist on Tuesday October 17 2017, @09:13PM (2 children)

    by Post-Nihilist (5672) on Tuesday October 17 2017, @09:13PM (#583666)

    Those feature sounds great...

    Many thanks for the work you and the others put into this site

    --
    Be like us, be different, be a nihilist!!!
  • (Score: 0) by Anonymous Coward on Tuesday October 17 2017, @09:20PM (2 children)

    by Anonymous Coward on Tuesday October 17 2017, @09:20PM (#583671)

    When can we expect the talking flags? Sheldon will be so excited.

  • (Score: 2) by rcamera on Wednesday October 18 2017, @03:24PM (1 child)

    by rcamera (2360) on Wednesday October 18 2017, @03:24PM (#583974) Homepage Journal
    The old jolly roger [wikipedia.org] with U+2620 would be a good addition. especially on 19.Sept
    --
    /* no comment */
    • (Score: 2) by takyon on Wednesday October 18 2017, @08:36PM

      by takyon (881) <takyonNO@SPAMsoylentnews.org> on Wednesday October 18 2017, @08:36PM (#584120) Journal

      Displays as a black flag to the left of a skull and crossbones on my system:

      🏴‍☠️

      https://emojipedia.org/pirate-flag/ [emojipedia.org]

      The Pirate Flag emoji is a sequence of the 🏴 Waving Black Flag and ☠ Skull and Crossbones emojis. These are combined using a zero width joiner between each character and display as a single emoji on supported platforms.

      🚩 This Emoji ZWJ Sequence has not been Recommended For General Interchange (RGI) by Unicode. Expect limited cross-platform support.

      --
      [SIG] 10/28/2017: Soylent Upgrade v14 [soylentnews.org]
(1)