Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse

Chebucto Regional Softball Club

  1. Home
  2. Uncategorized
  3. If anyone wants a horrible python program that will write integers in cuneiform sexegesimal (base sixty) using unicode so you can paste it all over the place in emails, documents and text messages I have just the thing.
A forum for discussing and organizing recreational softball and baseball games and leagues in the greater Halifax area.

If anyone wants a horrible python program that will write integers in cuneiform sexegesimal (base sixty) using unicode so you can paste it all over the place in emails, documents and text messages I have just the thing.

Scheduled Pinned Locked Moved Uncategorized
37 Posts 17 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • myrmepropagandistF This user is from outside of this forum
    myrmepropagandistF This user is from outside of this forum
    myrmepropagandist
    wrote on last edited by
    #1

    If anyone wants a horrible python program that will write integers in cuneiform sexegesimal (base sixty) using unicode so you can paste it all over the place in emails, documents and text messages I have just the thing. Use with https://en.wikipedia.org/wiki/Plimpton_322

    For maximum amusement.

    Link Preview Image
    trinket: run code anywhere

    Python in the browser. No installation required.

    favicon

    trinket.io (trinket.io)

    myrmepropagandistF ? D ? ? 8 Replies Last reply
    0
    • myrmepropagandistF myrmepropagandist

      If anyone wants a horrible python program that will write integers in cuneiform sexegesimal (base sixty) using unicode so you can paste it all over the place in emails, documents and text messages I have just the thing. Use with https://en.wikipedia.org/wiki/Plimpton_322

      For maximum amusement.

      Link Preview Image
      trinket: run code anywhere

      Python in the browser. No installation required.

      favicon

      trinket.io (trinket.io)

      myrmepropagandistF This user is from outside of this forum
      myrmepropagandistF This user is from outside of this forum
      myrmepropagandist
      wrote on last edited by
      #2

      Here is a worksheet to help you decode the tablet.

      https://drive.google.com/file/d/1NlcSv2T4K_VeES22zRWjNGxpAOgi6mro/view?usp=sharing

      (maybe the art teacher can help me make a clay replica.. that could be fun)

      myrmepropagandistF llewellyL 2 Replies Last reply
      0
      • myrmepropagandistF myrmepropagandist

        Here is a worksheet to help you decode the tablet.

        https://drive.google.com/file/d/1NlcSv2T4K_VeES22zRWjNGxpAOgi6mro/view?usp=sharing

        (maybe the art teacher can help me make a clay replica.. that could be fun)

        myrmepropagandistF This user is from outside of this forum
        myrmepropagandistF This user is from outside of this forum
        myrmepropagandist
        wrote on last edited by
        #3

        The answers for the last table are in the wikipedia article. There are some mistakes but the numbers are shockingly largeβ€” my students were impressed they did this without calculators.

        swopeS myrmepropagandistF 2 Replies Last reply
        0
        • myrmepropagandistF myrmepropagandist

          Here is a worksheet to help you decode the tablet.

          https://drive.google.com/file/d/1NlcSv2T4K_VeES22zRWjNGxpAOgi6mro/view?usp=sharing

          (maybe the art teacher can help me make a clay replica.. that could be fun)

          llewellyL This user is from outside of this forum
          llewellyL This user is from outside of this forum
          llewelly
          wrote on last edited by
          #4

          @futurebird I just realized I follow an archaelogist who sometimes posts about his efforts to reconstruct clay archaelogy artefacts using traditional and hypothesized methods, and I can't recall who it is! (He does archaelogy in the southeast of the USA, though. )

          1 Reply Last reply
          0
          • myrmepropagandistF myrmepropagandist

            The answers for the last table are in the wikipedia article. There are some mistakes but the numbers are shockingly largeβ€” my students were impressed they did this without calculators.

            swopeS This user is from outside of this forum
            swopeS This user is from outside of this forum
            swope
            wrote on last edited by
            #5

            @futurebird

            How about reprogramming a CNC router to imprint a clay slab one stroke at a time?

            A cuneiform printer.

            1 Reply Last reply
            0
            • myrmepropagandistF myrmepropagandist

              If anyone wants a horrible python program that will write integers in cuneiform sexegesimal (base sixty) using unicode so you can paste it all over the place in emails, documents and text messages I have just the thing. Use with https://en.wikipedia.org/wiki/Plimpton_322

              For maximum amusement.

              Link Preview Image
              trinket: run code anywhere

              Python in the browser. No installation required.

              favicon

              trinket.io (trinket.io)

              ? Offline
              ? Offline
              Guest
              wrote on last edited by
              #6
              Interesting! I didn't realize the distinction between "𒐕" and "π’Œ‹" was so that you could make multiple character digits, for 10's, 20's, 30's, 40's and 50's. It's like a base 10 numbering system rejiggered so it works in base 60. So with "16" 1, and 6 directly map to π’Œ‹ and π’š, so π’Œ‹π’š equals 16. But if you see π’Œ‹π’šπ’Œ‹π’š it represents the number 16 * 60+16 or 976 in base 10, not 1616 in base 10. It's like base 10 for any single digit, then base 60 between multiple digits!
              myrmepropagandistF 1 Reply Last reply
              0
              • myrmepropagandistF myrmepropagandist

                If anyone wants a horrible python program that will write integers in cuneiform sexegesimal (base sixty) using unicode so you can paste it all over the place in emails, documents and text messages I have just the thing. Use with https://en.wikipedia.org/wiki/Plimpton_322

                For maximum amusement.

                Link Preview Image
                trinket: run code anywhere

                Python in the browser. No installation required.

                favicon

                trinket.io (trinket.io)

                D This user is from outside of this forum
                D This user is from outside of this forum
                dcode
                wrote on last edited by
                #7

                @futurebird I wonder what the uses for base-60 would be. Maybe for representing hours and minutes?

                I know the ancient Babylonians used base-60, but other than that I can't think of any uses!

                Neo EhproqueE Kyle Memoir πŸ‰F ? 3 Replies Last reply
                1
                0
                • myrmepropagandistF myrmepropagandist shared this topic on
                • D dcode

                  @futurebird I wonder what the uses for base-60 would be. Maybe for representing hours and minutes?

                  I know the ancient Babylonians used base-60, but other than that I can't think of any uses!

                  Neo EhproqueE This user is from outside of this forum
                  Neo EhproqueE This user is from outside of this forum
                  Neo Ehproque
                  wrote on last edited by
                  #8

                  @dylancode @futurebird i was actually taught about it in computer science, but it takes a lot of gesticulating and pointing at finger parts; let's say your fingers (minus thumb) in one hand have 12 falanxes (is that the right word in English?) so you can go through them with successive fingers of the other hand (which does include thumb). Apparently my professor's father used this to count sheep

                  1 Reply Last reply
                  0
                  • myrmepropagandistF myrmepropagandist

                    The answers for the last table are in the wikipedia article. There are some mistakes but the numbers are shockingly largeβ€” my students were impressed they did this without calculators.

                    myrmepropagandistF This user is from outside of this forum
                    myrmepropagandistF This user is from outside of this forum
                    myrmepropagandist
                    wrote on last edited by
                    #9

                    Someone on etsy made a replica, although, I think it's a bit larger than the original.

                    To make one we'd need a cuneiform stylus. I wonder what kind of clay they used back in old Babylon?

                    Seems wrong to make it of sculpy...

                    etsy.com

                    favicon

                    (www.etsy.com)

                    llewellyL 1 Reply Last reply
                    0
                    • myrmepropagandistF myrmepropagandist

                      If anyone wants a horrible python program that will write integers in cuneiform sexegesimal (base sixty) using unicode so you can paste it all over the place in emails, documents and text messages I have just the thing. Use with https://en.wikipedia.org/wiki/Plimpton_322

                      For maximum amusement.

                      Link Preview Image
                      trinket: run code anywhere

                      Python in the browser. No installation required.

                      favicon

                      trinket.io (trinket.io)

                      ? Offline
                      ? Offline
                      Guest
                      wrote on last edited by
                      #10

                      @futurebird now i'm going to write something to rewrite factions in egyptian fractions thanks

                      myrmepropagandistF 1 Reply Last reply
                      0
                      • ? Guest

                        @futurebird now i'm going to write something to rewrite factions in egyptian fractions thanks

                        myrmepropagandistF This user is from outside of this forum
                        myrmepropagandistF This user is from outside of this forum
                        myrmepropagandist
                        wrote on last edited by
                        #11

                        @deilann

                        I would like this please, those gave me a headache last time I messed with them.

                        1 Reply Last reply
                        0
                        • D dcode

                          @futurebird I wonder what the uses for base-60 would be. Maybe for representing hours and minutes?

                          I know the ancient Babylonians used base-60, but other than that I can't think of any uses!

                          Kyle Memoir πŸ‰F This user is from outside of this forum
                          Kyle Memoir πŸ‰F This user is from outside of this forum
                          Kyle Memoir πŸ‰
                          wrote on last edited by
                          #12

                          @dylancode @futurebird

                          The Mayan calendar is equally interesting:

                          Link Preview Image
                          Maya calendar - Wikipedia

                          favicon

                          (en.m.wikipedia.org)

                          Ages ago I read a book called 'Time Among the Maya' that was pretty good.

                          Base 60, being divisible by 12 makes for a nice number system arithmetic-wise.

                          1 Reply Last reply
                          1
                          0
                          • myrmepropagandistF myrmepropagandist

                            If anyone wants a horrible python program that will write integers in cuneiform sexegesimal (base sixty) using unicode so you can paste it all over the place in emails, documents and text messages I have just the thing. Use with https://en.wikipedia.org/wiki/Plimpton_322

                            For maximum amusement.

                            Link Preview Image
                            trinket: run code anywhere

                            Python in the browser. No installation required.

                            favicon

                            trinket.io (trinket.io)

                            myrmepropagandistF This user is from outside of this forum
                            myrmepropagandistF This user is from outside of this forum
                            myrmepropagandist
                            wrote on last edited by
                            #13

                            If any unicode/python nerds want to show me how to use the unicode addresses to make the string look-up table I'd *love* that but I found working with python and unicode very annoying and just ended up using the unicode support in trinket. Which is setting a bad example for The Children.

                            Think of the children!

                            myrmepropagandistF G SmoljaguarS 3 Replies Last reply
                            0
                            • myrmepropagandistF myrmepropagandist

                              If any unicode/python nerds want to show me how to use the unicode addresses to make the string look-up table I'd *love* that but I found working with python and unicode very annoying and just ended up using the unicode support in trinket. Which is setting a bad example for The Children.

                              Think of the children!

                              myrmepropagandistF This user is from outside of this forum
                              myrmepropagandistF This user is from outside of this forum
                              myrmepropagandist
                              wrote on last edited by
                              #14

                              Part of the problem is there are multiple representations for some of the numbers and I've used the ones that look most like the Plimpton 322 tablet. But, that means they aren't neatly in order. And just to be annoying it seems like the unicode block doesn't have all 59 symbols as characters, so the symbol list has to contain strings. Don't even get me started on there being no zero. But, we can blame THAT on the Babylonians.

                              myrmepropagandistF stuart yeatesS 2 Replies Last reply
                              0
                              • myrmepropagandistF myrmepropagandist

                                Someone on etsy made a replica, although, I think it's a bit larger than the original.

                                To make one we'd need a cuneiform stylus. I wonder what kind of clay they used back in old Babylon?

                                Seems wrong to make it of sculpy...

                                etsy.com

                                favicon

                                (www.etsy.com)

                                llewellyL This user is from outside of this forum
                                llewellyL This user is from outside of this forum
                                llewelly
                                wrote on last edited by
                                #15

                                @futurebird there must be copious archaelogical reserch into this, but I've no idea where to look. To me, it looks like kaolin based clay, with maybe a little bit of iron oxide, but surely not very much iron oxide.

                                1 Reply Last reply
                                0
                                • myrmepropagandistF myrmepropagandist

                                  If any unicode/python nerds want to show me how to use the unicode addresses to make the string look-up table I'd *love* that but I found working with python and unicode very annoying and just ended up using the unicode support in trinket. Which is setting a bad example for The Children.

                                  Think of the children!

                                  G This user is from outside of this forum
                                  G This user is from outside of this forum
                                  Glitzersachen
                                  wrote on last edited by
                                  #16

                                  @futurebird

                                  Python 3.13.2 (main, Feb 5 2025, 08:05:21) [GCC 14.2.1 20250128] on linux
                                  Type "help", "copyright", "credits" or "license" for more information.
                                  >>>
                                  >>> symbols = ["𒐕", "𒐖"]
                                  >>> symbols[0]
                                  '𒐕'
                                  >>>

                                  Probably didn't get the problem. Do you might explaining?

                                  G 1 Reply Last reply
                                  0
                                  • G Glitzersachen

                                    @futurebird

                                    Python 3.13.2 (main, Feb 5 2025, 08:05:21) [GCC 14.2.1 20250128] on linux
                                    Type "help", "copyright", "credits" or "license" for more information.
                                    >>>
                                    >>> symbols = ["𒐕", "𒐖"]
                                    >>> symbols[0]
                                    '𒐕'
                                    >>>

                                    Probably didn't get the problem. Do you might explaining?

                                    G This user is from outside of this forum
                                    G This user is from outside of this forum
                                    Glitzersachen
                                    wrote on last edited by
                                    #17

                                    @futurebird

                                    I am not sure (I don't know enough cuneiform):

                                    >>> for i in range(0,20):
                                    ... print(chr(ord(symbols[0])+i), "\n")
                                    ...
                                    𒐕

                                    𒐖

                                    𒐗

                                    π’˜

                                    𒐙

                                    π’š

                                    𒐛

                                    π’œ

                                    𒐝

                                    π’ž

                                    π’Ÿ

                                    𒐠

                                    𒐑

                                    𒐒

                                    𒐣

                                    𒐀

                                    π’₯

                                    𒐦

                                    𒐧

                                    𒐨

                                    So you can find the characters by using ord/char and adding some offset. This seems to work nice until ~9. The symbol you show, though, look different.

                                    myrmepropagandistF 1 Reply Last reply
                                    0
                                    • G Glitzersachen

                                      @futurebird

                                      I am not sure (I don't know enough cuneiform):

                                      >>> for i in range(0,20):
                                      ... print(chr(ord(symbols[0])+i), "\n")
                                      ...
                                      𒐕

                                      𒐖

                                      𒐗

                                      π’˜

                                      𒐙

                                      π’š

                                      𒐛

                                      π’œ

                                      𒐝

                                      π’ž

                                      π’Ÿ

                                      𒐠

                                      𒐑

                                      𒐒

                                      𒐣

                                      𒐀

                                      π’₯

                                      𒐦

                                      𒐧

                                      𒐨

                                      So you can find the characters by using ord/char and adding some offset. This seems to work nice until ~9. The symbol you show, though, look different.

                                      myrmepropagandistF This user is from outside of this forum
                                      myrmepropagandistF This user is from outside of this forum
                                      myrmepropagandist
                                      wrote on last edited by
                                      #18

                                      @glitzersachen

                                      chr(n)
                                      is only defined up to n=256

                                      SmoljaguarS Riley S. FaelanR 2 Replies Last reply
                                      0
                                      • myrmepropagandistF myrmepropagandist

                                        Part of the problem is there are multiple representations for some of the numbers and I've used the ones that look most like the Plimpton 322 tablet. But, that means they aren't neatly in order. And just to be annoying it seems like the unicode block doesn't have all 59 symbols as characters, so the symbol list has to contain strings. Don't even get me started on there being no zero. But, we can blame THAT on the Babylonians.

                                        myrmepropagandistF This user is from outside of this forum
                                        myrmepropagandistF This user is from outside of this forum
                                        myrmepropagandist
                                        wrote on last edited by
                                        #19

                                        I can't prove it but it seems like they just added the cuneiform characters to unicode as they were requested by whoever needed them for their papers and that's the order they are in. "can you add these?" ... and a bunch of new ones get tacked on.

                                        ? 1 Reply Last reply
                                        0
                                        • ? Guest
                                          Interesting! I didn't realize the distinction between "𒐕" and "π’Œ‹" was so that you could make multiple character digits, for 10's, 20's, 30's, 40's and 50's. It's like a base 10 numbering system rejiggered so it works in base 60. So with "16" 1, and 6 directly map to π’Œ‹ and π’š, so π’Œ‹π’š equals 16. But if you see π’Œ‹π’šπ’Œ‹π’š it represents the number 16 * 60+16 or 976 in base 10, not 1616 in base 10. It's like base 10 for any single digit, then base 60 between multiple digits!
                                          myrmepropagandistF This user is from outside of this forum
                                          myrmepropagandistF This user is from outside of this forum
                                          myrmepropagandist
                                          wrote on last edited by
                                          #20

                                          @cy

                                          It's odd how they use base 10 inside of the base 60. It sounds like it'd be a big mess, but it's not that hard to work with once you get into it.

                                          1 Reply Last reply
                                          0

                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • 1
                                          • 2
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          Powered by NodeBB Contributors
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups