Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • Populære
  • Verden
  • Bruger
  • Grupper
Temaer
  • Light
  • Brite
  • 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 (No Skin)
  • No Skin
Kollaps
FARVEL BIG TECH
  1. Forside
  2. Ikke-kategoriseret
  3. I’ve been working on this for a while, but let’s make it official: I started a little Tumblr-like microblog about software craft and quality!

I’ve been working on this for a while, but let’s make it official: I started a little Tumblr-like microblog about software craft and quality!

Planlagt Fastgjort Låst Flyttet Ikke-kategoriseret
91 Indlæg 42 Posters 0 Visninger
  • Ældste til nyeste
  • Nyeste til ældste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne tråd er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • mwichary@mastodon.onlineM This user is from outside of this forum
    mwichary@mastodon.onlineM This user is from outside of this forum
    mwichary@mastodon.online
    wrote sidst redigeret af
    #63

    @Ember Yeah, I agree that part is a bit muddy where every scheme has pros and cons. This one seems to indicate there is more hierarchy than there actually is…

    1 Reply Last reply
    0
    • mez@mastodon.nzM mez@mastodon.nz

      @mwichary Regarding the note about adding a human friendly slug to the end of a URL, do you have a thought or preference to putting that part before the unique id?

      flickr.com/mwichary/sets/alishan-forest-railway-72177720330077904

      On an app I run I went with that style so the all the human readable bits could be typed and autocompleted. It does seem to be a little harder to read since it’s in the middle of the text though.

      For example: https://app.mythic.nz/book/public-storybooks/sharable-public-storybooks/v4dUmg8Jjk6LmQYQlqy6Pw

      `public-storybooks` is the collection slug, and `sharable-public-storybooks` is the page title slug.

      mwichary@mastodon.onlineM This user is from outside of this forum
      mwichary@mastodon.onlineM This user is from outside of this forum
      mwichary@mastodon.online
      wrote sidst redigeret af
      #64

      @mez Good question. I don’t know! I naturally put it at the front but that might be because I only saw it that way. Interesting point about autocomplete!

      1 Reply Last reply
      0
      • mwichary@mastodon.onlineM mwichary@mastodon.online

        In which I celebrate the craft of Flickr’s original, amazing URL scheme: https://unsung.aresluna.org/unsung-heroes-flickrs-urls-scheme/

        csilverman@mastodon.socialC This user is from outside of this forum
        csilverman@mastodon.socialC This user is from outside of this forum
        csilverman@mastodon.social
        wrote sidst redigeret af
        #65

        @mwichary The idea of URLs as user interface elements is such a good take. I've seen some people use URLs as design/communications elements as well, like Jessica Hische:

        https://www.jessicahische.is/thinkingthoughts

        https://www.jessicahische.is/working

        https://jessicahische.is/anoversharer

        I love that approach. Modern browsers and preview cards often obscure URLs, but people still see these things; printed materials, links in emails, etc.

        1 Reply Last reply
        0
        • mwichary@mastodon.onlineM mwichary@mastodon.online

          In which I celebrate the craft of Flickr’s original, amazing URL scheme: https://unsung.aresluna.org/unsung-heroes-flickrs-urls-scheme/

          nelson@tech.lgbtN This user is from outside of this forum
          nelson@tech.lgbtN This user is from outside of this forum
          nelson@tech.lgbt
          wrote sidst redigeret af
          #66

          @mwichary this clean URI scheme is also why FlickrClient.py could support 68 methods of the Flickr API in just 48 lines of code. The core magic:

          def __getattr__(self, method):
          def method(_self=self, _method=method, **params):
          _method = _method.replace("_", ".")
          url = HOST + PATH + "?method=%s&%s&api_key=%s" %
          (_method, urlencode(params), self.api_key)
          try: rsp = xmltramp.load(url)
          except: return None
          return _self._parseResponse(rsp)
          1 Reply Last reply
          0
          • mwichary@mastodon.onlineM mwichary@mastodon.online

            In which I celebrate the craft of Flickr’s original, amazing URL scheme: https://unsung.aresluna.org/unsung-heroes-flickrs-urls-scheme/

            polarbirke@indieweb.socialP This user is from outside of this forum
            polarbirke@indieweb.socialP This user is from outside of this forum
            polarbirke@indieweb.social
            wrote sidst redigeret af
            #67

            @mwichary Much agreement!

            There is plenty of prior art, some examples that I particularly remember:
            - 2010: https://warpspire.com/posts/url-design/
            - 2017: https://www.hanselman.com/blog/urls-are-ui
            - 2018: https://alexpounds.com/blog/2018/12/29/four-cool-urls

            mwichary@mastodon.onlineM 1 Reply Last reply
            0
            • polarbirke@indieweb.socialP polarbirke@indieweb.social

              @mwichary Much agreement!

              There is plenty of prior art, some examples that I particularly remember:
              - 2010: https://warpspire.com/posts/url-design/
              - 2017: https://www.hanselman.com/blog/urls-are-ui
              - 2018: https://alexpounds.com/blog/2018/12/29/four-cool-urls

              mwichary@mastodon.onlineM This user is from outside of this forum
              mwichary@mastodon.onlineM This user is from outside of this forum
              mwichary@mastodon.online
              wrote sidst redigeret af
              #68

              @polarbirke Thanks for sharing!

              1 Reply Last reply
              0
              • mwichary@mastodon.onlineM mwichary@mastodon.online

                In which I celebrate the craft of Flickr’s original, amazing URL scheme: https://unsung.aresluna.org/unsung-heroes-flickrs-urls-scheme/

                cogdog@cosocial.caC This user is from outside of this forum
                cogdog@cosocial.caC This user is from outside of this forum
                cogdog@cosocial.ca
                wrote sidst redigeret af
                #69

                @mwichary I love the Flickr url pattern. You could not find a collections link with knowing the pattern.

                I am fine with the unique id as shorter url. Also knowing where it is in a downloaded photo allows the secret url trick to find the original page https://cogdogblog.com/2015/10/flickr-trickr/

                mwichary@mastodon.onlineM paulmison@sfba.socialP 2 Replies Last reply
                0
                • cogdog@cosocial.caC cogdog@cosocial.ca

                  @mwichary I love the Flickr url pattern. You could not find a collections link with knowing the pattern.

                  I am fine with the unique id as shorter url. Also knowing where it is in a downloaded photo allows the secret url trick to find the original page https://cogdogblog.com/2015/10/flickr-trickr/

                  mwichary@mastodon.onlineM This user is from outside of this forum
                  mwichary@mastodon.onlineM This user is from outside of this forum
                  mwichary@mastodon.online
                  wrote sidst redigeret af
                  #70

                  @cogdog Whoa! This would’ve saved me so much trouble throughout the years.

                  splorp@mastodon.socialS 1 Reply Last reply
                  0
                  • mwichary@mastodon.onlineM mwichary@mastodon.online

                    In which I celebrate the craft of Flickr’s original, amazing URL scheme: https://unsung.aresluna.org/unsung-heroes-flickrs-urls-scheme/

                    jimniels@mastodon.socialJ This user is from outside of this forum
                    jimniels@mastodon.socialJ This user is from outside of this forum
                    jimniels@mastodon.social
                    wrote sidst redigeret af
                    #71

                    @mwichary fwiw I wrote some of my favs a while back

                    https://blog.jim-nielsen.com/2023/examples-of-great-urls/

                    mwichary@mastodon.onlineM 1 Reply Last reply
                    0
                    • jimniels@mastodon.socialJ jimniels@mastodon.social

                      @mwichary fwiw I wrote some of my favs a while back

                      https://blog.jim-nielsen.com/2023/examples-of-great-urls/

                      mwichary@mastodon.onlineM This user is from outside of this forum
                      mwichary@mastodon.onlineM This user is from outside of this forum
                      mwichary@mastodon.online
                      wrote sidst redigeret af
                      #72

                      @jimniels Thanks! Added here, maybe it helps someone! https://unsung.aresluna.org/mailbag-urls-as-ui/

                      1 Reply Last reply
                      0
                      • mwichary@mastodon.onlineM mwichary@mastodon.online

                        @cogdog Whoa! This would’ve saved me so much trouble throughout the years.

                        splorp@mastodon.socialS This user is from outside of this forum
                        splorp@mastodon.socialS This user is from outside of this forum
                        splorp@mastodon.social
                        wrote sidst redigeret af
                        #73

                        @mwichary @cogdog One pattern I use a lot to locate my own images is for tags.

                        https://flickr.com/photos/splorp/tags/blue

                        mx@typo.socialM luke@typo.socialL 2 Replies Last reply
                        0
                        • splorp@mastodon.socialS splorp@mastodon.social

                          @mwichary @cogdog One pattern I use a lot to locate my own images is for tags.

                          https://flickr.com/photos/splorp/tags/blue

                          mx@typo.socialM This user is from outside of this forum
                          mx@typo.socialM This user is from outside of this forum
                          mx@typo.social
                          wrote sidst redigeret af
                          #74

                          @splorp @mwichary @cogdog Slightly offtopic, but I still use `/photo.gne?id=` URL to find where I downloaded certain photos years ago: https://www.flickr.com/photo.gne?rb=1&id=3399133066

                          splorp@mastodon.socialS 1 Reply Last reply
                          0
                          • splorp@mastodon.socialS splorp@mastodon.social

                            @mwichary @cogdog One pattern I use a lot to locate my own images is for tags.

                            https://flickr.com/photos/splorp/tags/blue

                            luke@typo.socialL This user is from outside of this forum
                            luke@typo.socialL This user is from outside of this forum
                            luke@typo.social
                            wrote sidst redigeret af
                            #75

                            @splorp @mwichary @cogdog look at that patina on that bus design. Just don’t look at the poorly applied window tint.

                            splorp@mastodon.socialS 1 Reply Last reply
                            0
                            • mx@typo.socialM mx@typo.social

                              @splorp @mwichary @cogdog Slightly offtopic, but I still use `/photo.gne?id=` URL to find where I downloaded certain photos years ago: https://www.flickr.com/photo.gne?rb=1&id=3399133066

                              splorp@mastodon.socialS This user is from outside of this forum
                              splorp@mastodon.socialS This user is from outside of this forum
                              splorp@mastodon.social
                              wrote sidst redigeret af
                              #76

                              @mx @mwichary @cogdog Just the fact that those legacy Game Neverending URIs still function after all this time is mind-blowing.

                              mwichary@mastodon.onlineM 1 Reply Last reply
                              0
                              • luke@typo.socialL luke@typo.social

                                @splorp @mwichary @cogdog look at that patina on that bus design. Just don’t look at the poorly applied window tint.

                                splorp@mastodon.socialS This user is from outside of this forum
                                splorp@mastodon.socialS This user is from outside of this forum
                                splorp@mastodon.social
                                wrote sidst redigeret af
                                #77

                                @Luke @mwichary @cogdog Those air pockets make my teeth hurt.

                                1 Reply Last reply
                                0
                                • splorp@mastodon.socialS splorp@mastodon.social

                                  @mx @mwichary @cogdog Just the fact that those legacy Game Neverending URIs still function after all this time is mind-blowing.

                                  mwichary@mastodon.onlineM This user is from outside of this forum
                                  mwichary@mastodon.onlineM This user is from outside of this forum
                                  mwichary@mastodon.online
                                  wrote sidst redigeret af
                                  #78

                                  @splorp @mx @cogdog Cool URIs Never End

                                  dokas@mas.toD 1 Reply Last reply
                                  0
                                  • mwichary@mastodon.onlineM mwichary@mastodon.online

                                    @splorp @mx @cogdog Cool URIs Never End

                                    dokas@mas.toD This user is from outside of this forum
                                    dokas@mas.toD This user is from outside of this forum
                                    dokas@mas.to
                                    wrote sidst redigeret af
                                    #79

                                    @mwichary @splorp @mx @cogdog Just wanted to pipe up and mention that while the photo.gne trick isn't advertised it's known and so useful I even have a Launchbar search plugin for it.

                                    1 Reply Last reply
                                    0
                                    • mez@mastodon.nzM mez@mastodon.nz

                                      @mwichary Regarding the note about adding a human friendly slug to the end of a URL, do you have a thought or preference to putting that part before the unique id?

                                      flickr.com/mwichary/sets/alishan-forest-railway-72177720330077904

                                      On an app I run I went with that style so the all the human readable bits could be typed and autocompleted. It does seem to be a little harder to read since it’s in the middle of the text though.

                                      For example: https://app.mythic.nz/book/public-storybooks/sharable-public-storybooks/v4dUmg8Jjk6LmQYQlqy6Pw

                                      `public-storybooks` is the collection slug, and `sharable-public-storybooks` is the page title slug.

                                      imsop@tech.lgbtI This user is from outside of this forum
                                      imsop@tech.lgbtI This user is from outside of this forum
                                      imsop@tech.lgbt
                                      wrote sidst redigeret af
                                      #80

                                      @mez @mwichary

                                      Off the top of my head...

                                      ID first means the URL can survive truncation of the slug part. Particularly good if you can keep the prefix short.

                                      Slug first means URLs sort in alphabetical order by their slug. Maybe more suitable for small numbers of items, like a blog?

                                      ID first is also marginally easier to construct a URL by hand - you generally don't need to add a fake slug, just end the URL at the ID and it still meets the pattern

                                      Random example of slug-first that happened to be in my history:
                                      - canonical URL: https://www.hollywoodreporter.com/tv/tv-news/stargate-revived-prime-video-new-series-1236431118/
                                      - doesn't work with only ID: https://www.hollywoodreporter.com/tv/tv-news/1236431118/
                                      - works if you know the format and add a fake slug: https://www.hollywoodreporter.com/tv/tv-news/yeehaw-1236431118/

                                      mwichary@mastodon.onlineM 1 Reply Last reply
                                      0
                                      • imsop@tech.lgbtI imsop@tech.lgbt

                                        @mez @mwichary

                                        Off the top of my head...

                                        ID first means the URL can survive truncation of the slug part. Particularly good if you can keep the prefix short.

                                        Slug first means URLs sort in alphabetical order by their slug. Maybe more suitable for small numbers of items, like a blog?

                                        ID first is also marginally easier to construct a URL by hand - you generally don't need to add a fake slug, just end the URL at the ID and it still meets the pattern

                                        Random example of slug-first that happened to be in my history:
                                        - canonical URL: https://www.hollywoodreporter.com/tv/tv-news/stargate-revived-prime-video-new-series-1236431118/
                                        - doesn't work with only ID: https://www.hollywoodreporter.com/tv/tv-news/1236431118/
                                        - works if you know the format and add a fake slug: https://www.hollywoodreporter.com/tv/tv-news/yeehaw-1236431118/

                                        mwichary@mastodon.onlineM This user is from outside of this forum
                                        mwichary@mastodon.onlineM This user is from outside of this forum
                                        mwichary@mastodon.online
                                        wrote sidst redigeret af
                                        #81

                                        @imsop @mez In theory a well-functioning URL bar/omnibox should handle both, so that’s somewhat reassuring.

                                        imsop@tech.lgbtI 1 Reply Last reply
                                        0
                                        • mwichary@mastodon.onlineM mwichary@mastodon.online

                                          @imsop @mez In theory a well-functioning URL bar/omnibox should handle both, so that’s somewhat reassuring.

                                          imsop@tech.lgbtI This user is from outside of this forum
                                          imsop@tech.lgbtI This user is from outside of this forum
                                          imsop@tech.lgbt
                                          wrote sidst redigeret af
                                          #82

                                          @mwichary @mez
                                          I actually found the example by typing "-123" into Firefox's address bar and looking what it came up with 🙃

                                          However, Firefox's completion searches history by both URL and title, in any order. If I type "new stargate series", I get both that article and https://reactormag.com/stargate-amazon-mgm-studios/

                                          1 Reply Last reply
                                          0
                                          Svar
                                          • Svar som emne
                                          Login for at svare
                                          • Ældste til nyeste
                                          • Nyeste til ældste
                                          • Most Votes


                                          • Log ind

                                          • Har du ikke en konto? Tilmeld

                                          • Login or register to search.
                                          Powered by NodeBB Contributors
                                          Graciously hosted by data.coop
                                          • First post
                                            Last post
                                          0
                                          • Hjem
                                          • Seneste
                                          • Etiketter
                                          • Populære
                                          • Verden
                                          • Bruger
                                          • Grupper