GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Nifflas (nifflas@mastodon.gamedev.place)'s status on Monday, 08-Jul-2024 03:29:16 JST Nifflas Nifflas

    Weirdly specific problem! So if I want to indicate an item is the second of three items in very, very, very short form I can write 2/3

    But, in my situation, I'm using 0-based indexing so it's actually 1/3 but that means the last item is 2/3 and that makes no sense.

    So, x/y is a bad format here. But, what's a good very short format that shows an item's index and the array's length?

    I do not want to change what the numbers are, so it has to be the format that presents them that's adjusted.

    In conversation about 11 months ago from mastodon.gamedev.place permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: static.tildacdn.com
      Студия Sense. Создаем сайты как кино
      Делаем сайты с понятным текстом и впечатляющим дизайном. Мощно, убедительно, с историей. Создаем новый опыт общения между клиентом и бизнесом в интернете
    • Embed this notice
      Jacek Wesołowski (jzillw@mastodon.gamedev.place)'s status on Monday, 08-Jul-2024 03:29:15 JST Jacek Wesołowski Jacek Wesołowski
      in reply to

      @Nifflas I sometimes face this issue when debugging (I *have* to see the actual numbers when debugging!) and in these cases I usually go for x(y).

      In conversation about 11 months ago permalink
    • Embed this notice
      Nifflas (nifflas@mastodon.gamedev.place)'s status on Monday, 08-Jul-2024 03:29:43 JST Nifflas Nifflas
      in reply to
      • Jacek Wesołowski

      @jzillw Oh yeah, that's a good suggestion!

      In conversation about 11 months ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.