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
    Rich Felker (dalias@hachyderm.io)'s status on Wednesday, 15-Apr-2026 12:14:08 JST Rich Felker Rich Felker
    • anna
    • pinskia

    @pinskia @navi I feel like this is more of an ideological want than a practical one. Are there ever bugs from lack of a mechanism to force the type match here? The call point choosing the callback and context object type to pass has both of those as static things not some complex runtime variable.

    In conversation about 2 months ago from hachyderm.io permalink
    • Embed this notice
      pinskia (pinskia@hachyderm.io)'s status on Wednesday, 15-Apr-2026 12:20:45 JST pinskia pinskia
      in reply to
      • anna

      @dalias @navi

      Yes I have one case where I was moving from one callback to another and I forgot to change the context object.

      I only noticed when I reviewed the code. It was able to compile; stopping at compile would have saved me time.

      In this case; the original call back was checking a hashset to see if an edge was in that set and we added all edges into that hashset except for the latch.
      the new callback only checked one edge. So I was trying to speed up the code :).

      In conversation about 2 months ago permalink

      Attachments


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.