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
    Aral Balkan (aral@mastodon.ar.al)'s status on Monday, 13-Nov-2023 05:33:39 JST Aral Balkan Aral Balkan
    • Forgejo

    :kitten: 🎉 Kitten is now using the new versioning/deployments system hosted on https://kittens.small-web.org

    This is going to allow us to handle automatic updates of Small Web places rather elegantly.

    Installation is also now much faster.

    You can find out more about Kitten at https://codeberg.org/kitten/app#kitten

    Known issue: commit links on the Kittens site are 404ing right now. I just opened an issue to see if @forgejo can add support for 6-digit git hashes*

    * https://codeberg.org/forgejo/forgejo/issues/1760

    #Kitten #SmallWeb

    In conversation Monday, 13-Nov-2023 05:33:39 JST from mastodon.ar.al permalink

    Attachments


    1. Domain not in remote thumbnail source whitelist: codeberg.org
      app
      from kitten
      A web development kit that’s small, purrs, and loves you.
    2. Domain not in remote thumbnail source whitelist: codeberg.org
      [FEAT] Support six digit short git hashes in /commit route
      from forgejo
      ### Needs and benefits Currently, seven digit short git hashes are supported in the `/commit` route but six digit hashes return a 404. So, for example, this works: https://codeberg.org/kitten/app/commit/90bb2ba But this does not: https://codeberg.org/kitten/app/commit/90bb2b In [Kitten](https://codeberg.org/kitten/app), we expose six digit hashes as they correspond to the Kitten’s favourite CSS colour (yes, it’s just a bit of fun/character) and [kittens.small-web.org](https://kittens.small-web.org) links to commits on Codeberg using this. These are currently 404ing. ![Screenshot of Kitten CLI, showing the current version with sixel illustration of a minimalist grey cat sitting on a hill in front of a blue sky: Kitten by Aral Balkan, Small Technology Foundation. Version 1-15c5ba-20.7.0-20231112202329. Born 2023/11/12 at 20:23:29 UTC (Scorpio). Fav. colour #15c5ba. API version 1. Runtime Node.js 20.7.0…](/attachments/88f72f3d-51f9-4e20-bb32-fb6009f17af4) Given its a tiny change I was wondering if you’d consider updating the route to support six-digit and above short hashes instead of seven. ### Feature Description Update /commit route so it accepts short git hashes of 6 digits or more instead of 7 digits and more. ### Other implementations Here’s a six digit short hash working on GitHub: https://github.com/bigskysoftware/htmx/commit/f71638
    • Embed this notice
      Aral Balkan (aral@mastodon.ar.al)'s status on Monday, 13-Nov-2023 05:44:03 JST Aral Balkan Aral Balkan
      in reply to

      PS. Like everything else I do, the Kittens site¹ is free and open source and written in Kitten itself. So if you’d like to see a real-world example of simple site created in Kitten, head over to:

      https://codeberg.org/kitten/kittens.small-web.org

      (I also just added a View Source link to the bottom of the Kittens site.)

      ¹ https://kittens.small-web.org

      #Kitten #SmallWeb #web #dev

      In conversation Monday, 13-Nov-2023 05:44:03 JST permalink

      Attachments


    • Embed this notice
      Aral Balkan (aral@mastodon.ar.al)'s status on Monday, 13-Nov-2023 05:53:42 JST Aral Balkan Aral Balkan
      in reply to

      Also, if you are looking at the code, notice how I’m persisting and retrieving custom JavaScript objects from the database and generally interacting with the database as I would with any JavaScript object.

      e.g., https://codeberg.org/kitten/kittens.small-web.org/src/branch/main/upload.post.js#L80

      That’s thanks to the built-in JavaScript Database (JSDB) that Kitten uses:

      https://codeberg.org/small-tech/jsdb#javascript-database-jsdb

      To see how the custom classes are created, see the database app module:

      e.g., https://codeberg.org/kitten/kittens.small-web.org/src/branch/main/app_modules/database

      #Kitten #SmallWeb #JavaScript #JSDB #js #web #dev

      In conversation Monday, 13-Nov-2023 05:53:42 JST permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: codeberg.org
        kittens.small-web.org
        from kitten
        Kitten distribution management place. Handles uploads and downloads of Kitten distributions.
      2. Domain not in remote thumbnail source whitelist: codeberg.org
        kittens.small-web.org
        from kitten
        Kitten distribution management place. Handles uploads and downloads of Kitten distributions.
    • Embed this notice
      Aral Balkan (aral@mastodon.ar.al)'s status on Monday, 13-Nov-2023 05:54:26 JST Aral Balkan Aral Balkan
      in reply to
      • Isaac

      @yelircaasi No, this has a slightly different scope ;)

      https://ar.al/2020/08/07/what-is-the-small-web/

      #SmallWeb

      In conversation Monday, 13-Nov-2023 05:54:26 JST permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: ar.al
        What is the Small Web?
        Updated June 19th, 2023 Sorry, your browser doesn't support embedded videos. But that doesn’t mean you can’t watch it! You can download Small Is Beautiful #23 directly, and watch it with your favourite video player. Small Is Beautiful (Oct, 2022): What is the Small Web and why do we need it? Today, I want to introduce you to a concept – and a vision for the future of our species in the digital and networked age – that I’ve spoken about for a while but never specifically written about:
    • Embed this notice
      Isaac (yelircaasi@rheinneckar.social)'s status on Monday, 13-Nov-2023 05:54:29 JST Isaac Isaac
      in reply to
      • Forgejo

      @aral @forgejo Hold on, this isn't a collection of plugins for Kitty terminal emulator! I feel clickbaited

      In conversation Monday, 13-Nov-2023 05:54:29 JST permalink
    • Embed this notice
      Aral Balkan (aral@mastodon.ar.al)'s status on Monday, 13-Nov-2023 05:59:56 JST Aral Balkan Aral Balkan
      in reply to
      • Codeberg.org
      • Forgejo

      Finally, please ignore the annoying and incorrect “This file contains ambiguous Unicode characters!” messages on @Codeberg. This is a longstanding @forgejo bug:

      https://codeberg.org/forgejo/forgejo/issues/564

      #codeberg #forgeJo #ambiguousCharacters #bug

      In conversation Monday, 13-Nov-2023 05:59:56 JST permalink
    • Embed this notice
      Aral Balkan (aral@mastodon.ar.al)'s status on Monday, 13-Nov-2023 15:51:15 JST Aral Balkan Aral Balkan
      in reply to
      • Magical Cat
      • Sofie

      @Sofie @koteisaev :kitten:💕

      In conversation Monday, 13-Nov-2023 15:51:15 JST permalink
    • Embed this notice
      Sofie (sofie@subversive.zone)'s status on Monday, 13-Nov-2023 15:51:17 JST Sofie Sofie
      in reply to
      • Magical Cat

      @koteisaev

      Oh ok, thanks. Now I can see what it's good for. I'm really only a user in IT. If I ever need something like that, I now know who to ask. And I still think the kittis are cute.😉

      @aral

      In conversation Monday, 13-Nov-2023 15:51:17 JST permalink
    • Embed this notice
      Magical Cat (koteisaev@mastodon.online)'s status on Monday, 13-Nov-2023 15:51:18 JST Magical Cat Magical Cat
      in reply to
      • Sofie

      @Sofie
      That thing @aral builds is for making that how websites built easier to understand and use by newcomers, by people who never built websites before.

      In conversation Monday, 13-Nov-2023 15:51:18 JST permalink
    • Embed this notice
      Sofie (sofie@subversive.zone)'s status on Monday, 13-Nov-2023 15:51:19 JST Sofie Sofie
      in reply to

      @aral

      I don't understand any of developer, but I love kittis.😂
      Have a nice evening.

      In conversation Monday, 13-Nov-2023 15:51:19 JST permalink
    • Embed this notice
      Aral Balkan (aral@mastodon.ar.al)'s status on Tuesday, 14-Nov-2023 01:44:40 JST Aral Balkan Aral Balkan
      in reply to
      • Codeberg.org
      • Forgejo

      Just published a userstyle for the Stylus Firefox extension¹ that removes the ambiguous character warnings on @Codeberg code listings (for example, when you use proper curly quotes in comments and strings, etc.)

      Should work with any @forgejo install if you tweak the domain it pertains to.

      https://userstyles.world/style/13057/remove-ambiguous-character-warnings-on-codeberg

      ¹ https://addons.mozilla.org/en-US/firefox/addon/styl-us/

      #codeberg #forgejo #hack #stylus #css

      In conversation Tuesday, 14-Nov-2023 01:44:40 JST permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: addons.mozilla.org
        Stylus – Get this Extension for 🦊 Firefox (en-US)
        Download Stylus for Firefox. Redesign your favorite websites with Stylus, an actively developed and community driven userstyles manager. Easily install custom themes from popular online repositories, or create, edit, and manage your own personalized CSS stylesheets.
    • Embed this notice
      Aral Balkan (aral@mastodon.ar.al)'s status on Tuesday, 14-Nov-2023 03:47:11 JST Aral Balkan Aral Balkan
      in reply to
      • Codeberg.org
      • Forgejo
      • jokeyrhyme

      @jokeyrhyme In this case, we⚠️ ’re seeing warnings for curly quotes in comments and strings ;)

      @Codeberg @forgejo

      In conversation Tuesday, 14-Nov-2023 03:47:11 JST permalink
    • Embed this notice
      jokeyrhyme (jokeyrhyme@aus.social)'s status on Tuesday, 14-Nov-2023 03:47:14 JST jokeyrhyme jokeyrhyme
      in reply to
      • Codeberg.org
      • Forgejo

      @aral @Codeberg @forgejo it's possible this is related to CVEs like this one: https://blog.rust-lang.org/2021/11/01/cve-2021-42574.html

      But, it's certainly annoying to see warnings that a compiler/interpreter will trip over anyway (e.g. quote symbols), because that's what CI is for

      Really should only see warnings/errors for text that is both valid to the compiler, and also conceals code from human review (per the CVE)

      In conversation Tuesday, 14-Nov-2023 03:47:14 JST permalink

      Attachments


    • Embed this notice
      Aral Balkan (aral@mastodon.ar.al)'s status on Tuesday, 14-Nov-2023 04:00:33 JST Aral Balkan Aral Balkan
      in reply to

      The new Kittens site now also serves the Kitten installation script and I’ve updated the installation commands accordingly.

      On my machine, it now takes ~2.5 seconds to install Kitten the first time and ~0.8 seconds to install it a second time (the difference is the amount of time the installer takes to download and install the Node.js runtime).

      I think I’m happy with that performance now so I’m going to move onto implementing server auto updates now.

      :kitten: 💕

      #Kitten #SmallWeb #web #dev

      In conversation Tuesday, 14-Nov-2023 04:00:33 JST permalink

      Attachments


      1. https://s3-eu-central-1.amazonaws.com/mastodon-aral/media_attachments/files/111/404/771/825/849/760/original/e3d213a66516a23e.png

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.