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
    zhenech (zhenech@chaos.social)'s status on Friday, 23-Dec-2022 23:15:20 JST zhenech zhenech

    Repeat after me: JSON is not a valid choice for human-editable configuration files.

    In conversation Friday, 23-Dec-2022 23:15:20 JST from chaos.social permalink
    • silverwizard likes this.
    • Embed this notice
      silverwizard (silverwizard@convenient.email)'s status on Friday, 23-Dec-2022 23:18:14 JST silverwizard silverwizard
      in reply to
      • Quincy
      • Farseen
      @zhenech @quincy @farseen The list syntax mandating ,s on all list items, except the last

      That kind of violation of postel's law makes it a giant pain for humans
      In conversation Friday, 23-Dec-2022 23:18:14 JST permalink
    • Embed this notice
      Farseen (farseen@social.linux.pizza)'s status on Friday, 23-Dec-2022 23:18:20 JST Farseen Farseen
      in reply to
      • Quincy

      @quincy @zhenech Yeah lack of comments is a big one. But apart from that isn't it okay?

      In conversation Friday, 23-Dec-2022 23:18:20 JST permalink
      silverwizard likes this.
    • Embed this notice
      Quincy (quincy@chaos.social)'s status on Friday, 23-Dec-2022 23:18:22 JST Quincy Quincy
      in reply to

      @zhenech True. JSON files don't even support comments (!!)

      In conversation Friday, 23-Dec-2022 23:18:22 JST permalink
      silverwizard likes this.
    • Embed this notice
      silverwizard (silverwizard@convenient.email)'s status on Friday, 23-Dec-2022 23:21:24 JST silverwizard silverwizard
      in reply to
      • silverwizard
      • Quincy
      • Farseen
      @zhenech @quincy @farseen I am a TOML evangelist who thinks YAML is read-only, writing is beyond finicky ime
      In conversation Friday, 23-Dec-2022 23:21:24 JST permalink
      hypolite and silverwizard like this.
    • Embed this notice
      Farseen (farseen@social.linux.pizza)'s status on Friday, 23-Dec-2022 23:21:25 JST Farseen Farseen
      in reply to
      • silverwizard
      • Quincy

      @silverwizard @zhenech @quincy riight the trailing comma.

      What do you think of YAML btw?

      In conversation Friday, 23-Dec-2022 23:21:25 JST permalink
      silverwizard likes this.
    • Embed this notice
      Quincy (quincy@chaos.social)'s status on Friday, 23-Dec-2022 23:21:54 JST Quincy Quincy
      in reply to
      • silverwizard
      • Farseen

      @farseen @silverwizard @zhenech I've used it, but it's kind of hard to get the syntax right

      In conversation Friday, 23-Dec-2022 23:21:54 JST permalink
      silverwizard likes this.
    • Embed this notice
      Quincy (quincy@chaos.social)'s status on Friday, 23-Dec-2022 23:22:41 JST Quincy Quincy
      in reply to
      • silverwizard
      • Farseen

      @silverwizard @zhenech @farseen oh yeah, almost forgot about that

      In conversation Friday, 23-Dec-2022 23:22:41 JST permalink
      silverwizard likes this.
    • Embed this notice
      Quincy (quincy@chaos.social)'s status on Friday, 23-Dec-2022 23:23:04 JST Quincy Quincy
      in reply to
      • Farseen

      @farseen for me it's the main sticking point. what about you, @zhenech ?

      In conversation Friday, 23-Dec-2022 23:23:04 JST permalink
      silverwizard likes this.
    • Embed this notice
      silverwizard (silverwizard@convenient.email)'s status on Saturday, 24-Dec-2022 04:30:23 JST silverwizard silverwizard
      in reply to
      • Menno Deij - van Rijswijk 🏳️‍🌈
      @zhenech @mennodeij People who like JSON are obsessed with the idea that XML is bad which is the most annoying thing

      1) XML is not as bad as JSON
      2) who cares about XML, it's not 2001
      In conversation Saturday, 24-Dec-2022 04:30:23 JST permalink
    • Embed this notice
      Menno Deij - van Rijswijk 🏳️‍🌈 (mennodeij@mastodon.social)'s status on Saturday, 24-Dec-2022 04:30:29 JST Menno Deij - van Rijswijk 🏳️‍🌈 Menno Deij - van Rijswijk 🏳️‍🌈
      in reply to

      @zhenech neither is XML, yet here we are

      In conversation Saturday, 24-Dec-2022 04:30:29 JST permalink
    • Embed this notice
      silverwizard (silverwizard@convenient.email)'s status on Saturday, 24-Dec-2022 05:16:30 JST silverwizard silverwizard
      in reply to
      • me
      • silverwizard
      @me JSON is designed to not be readable at a glance and resist quick updates

      XML is criticized for being too verbose
      In conversation Saturday, 24-Dec-2022 05:16:30 JST permalink
    • Embed this notice
      me (me@social.jlamothe.net)'s status on Saturday, 24-Dec-2022 05:16:31 JST me me
      in reply to
      • silverwizard
      @silverwizard I'm genuinely curious, in what way is XML better than JSON? The only argument I can see for XML over JSON is support for namespaces, but I don't find that a terribly compelling argument.

      To be clear, I don't think that either should be used for configuration files.
      In conversation Saturday, 24-Dec-2022 05:16:31 JST permalink
    • Embed this notice
      silverwizard (silverwizard@convenient.email)'s status on Saturday, 24-Dec-2022 05:22:04 JST silverwizard silverwizard
      in reply to
      • me
      • silverwizard
      @me Nah, when it is a {,[, or (, and how do you add a thing to a list? What if it's in the middle? What if at the end?

      To be clear - if you run JS a lot, JSON makes a lot more sense, but that's an unrelated crime
      In conversation Saturday, 24-Dec-2022 05:22:04 JST permalink
    • Embed this notice
      me (me@social.jlamothe.net)'s status on Saturday, 24-Dec-2022 05:22:05 JST me me
      in reply to
      • silverwizard
      @silverwizard I think that with proper use of whitespace, JSON can be quite readable.

      I will concede that machine-generated JSON is frequently a nightmare, but I find it no worse than machine-generated XML.
      In conversation Saturday, 24-Dec-2022 05:22:05 JST 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.