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
    Karsten Johansson (ksaj@infosec.exchange)'s status on Tuesday, 20-May-2025 13:48:21 JST Karsten Johansson Karsten Johansson
    • Elias Mårtenson
    • Glitzersachen.de
    • Alfred M. Szmidt

    @glitzersachen @loke @amszmidt Format and loop are pretty durn close to kitchen sinks.

    I'd say format isn't even a very consistent sink. Every conversion it can make is reversable, except one (technically two, since it comes with a variant). And there's technically no reason it is missing.

    In conversation about 23 days ago from infosec.exchange permalink
    • Embed this notice
      Alfred M. Szmidt (amszmidt@mastodon.social)'s status on Tuesday, 20-May-2025 13:48:20 JST Alfred M. Szmidt Alfred M. Szmidt
      in reply to
      • Elias Mårtenson
      • Glitzersachen.de

      @ksaj FORMAT and LOOP are relatively small, compare to sed or grep. Is sed a kitchen sink, it is about 2.3k lines in OpenBSD?

      wc -l:
      2694 sys2/loop.lisp
      1651 io/format.lisp
      980 GNU/coreutils/src/wc.c

      FORMAT is just 30 lines of code.

      @glitzersachen @loke

      In conversation about 23 days ago permalink

      Attachments


      1. https://files.mastodon.social/media_attachments/files/114/538/347/848/454/335/original/77d7df240f190d00.png
    • Embed this notice
      Alfred M. Szmidt (amszmidt@mastodon.social)'s status on Tuesday, 20-May-2025 15:41:23 JST Alfred M. Szmidt Alfred M. Szmidt
      in reply to
      • Elias Mårtenson
      • Glitzersachen.de
      • (roll m3tti)

      @m3tti It is more subtle. C makes it very difficult to share code. Take FORMAT, there is a function called ROMAN-STEP which returns the "next" Roman number. I can use this trivially in any other part of the code, be it the system or some other separate program.

      @ksaj @glitzersachen @loke

      In conversation about 23 days ago permalink
    • Embed this notice
      (roll m3tti) (m3tti@functional.cafe)'s status on Tuesday, 20-May-2025 15:41:24 JST (roll m3tti) (roll m3tti)
      in reply to
      • Elias Mårtenson
      • Glitzersachen.de
      • Alfred M. Szmidt

      @amszmidt @ksaj @glitzersachen @loke i guess this is due the fact that lisp has a crazy load of core libraries that do a bunch of stuff. Like stringp loop macro ...

      In conversation about 23 days 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.