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
    Cecilie 🧙‍♀️ (cvennevik@hachyderm.io)'s status on Monday, 18-Dec-2023 04:02:45 JST Cecilie 🧙‍♀️ Cecilie 🧙‍♀️

    Well fuck me. Can't import JavaScript modules over your local file system, because browsers enforce the Same-Origin Policy on module scripts, and browsers treat all files as having different origins.

    It being permitted for non-module scripts is viewed as something regrettable that they can't break.

    So to develop web pages with JavaScript that you can run locally, I have to rely on behavior that browser vendors would have eliminated if they could.

    That's some rain on my parade.

    In conversation Monday, 18-Dec-2023 04:02:45 JST from hachyderm.io permalink

    Attachments



    • Embed this notice
      Rimu (rimu@mastodon.nzoss.nz)'s status on Monday, 18-Dec-2023 04:03:20 JST Rimu Rimu
      in reply to

      @cvennevik Any decent web framework should provide a command you can run to start up a temporary development web server.

      E.g. yarn run
      Or
      flask run

      In conversation Monday, 18-Dec-2023 04:03:20 JST permalink
    • Embed this notice
      Cecilie 🧙‍♀️ (cvennevik@hachyderm.io)'s status on Monday, 18-Dec-2023 04:03:21 JST Cecilie 🧙‍♀️ Cecilie 🧙‍♀️
      in reply to

      Ughhhh I guess some sort of web server is basically mandatory now for developing web pages locally. Can't just open the files in your browser anymore. Piss.

      In conversation Monday, 18-Dec-2023 04:03:21 JST permalink
    • Embed this notice
      Rimu (rimu@mastodon.nzoss.nz)'s status on Monday, 18-Dec-2023 04:39:51 JST Rimu Rimu
      in reply to

      @cvennevik Oh cool! Well, I guess you don't *have* to use js modules... They are a fairly recent addition to the language.

      In conversation Monday, 18-Dec-2023 04:39:51 JST permalink
    • Embed this notice
      Cecilie 🧙‍♀️ (cvennevik@hachyderm.io)'s status on Monday, 18-Dec-2023 04:39:53 JST Cecilie 🧙‍♀️ Cecilie 🧙‍♀️
      in reply to
      • Rimu

      @rimu I know, I'm well aware! I've used frameworks for years. I'm trying to *opt out* of frameworks and Node and package managers and all of that and develop as "bare metal" as possible on the web platform. Because I think that would be nice.

      In conversation Monday, 18-Dec-2023 04:39:53 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.