GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Notices by Merc (merc@fanimations.club)

  1. Embed this notice
    Merc (merc@fanimations.club)'s status on Thursday, 20-Aug-2026 14:29:18 JST Merc Merc
    in reply to
    • Dymphna

    @f0x wearing my wife's skin and claiming I love myself

    In conversation about 9 hours ago from fanimations.club permalink
  2. Embed this notice
    Merc (merc@fanimations.club)'s status on Thursday, 20-Aug-2026 09:24:48 JST Merc Merc
    in reply to
    • T man :sex: :puffgiga: :puffpowerroll:
    • Kirby

    @theorytoe @kirby I do wish giving type annotations was syntax sugar for having asserts that it is that type :P

    In conversation about 14 hours ago from fanimations.club permalink
  3. Embed this notice
    Merc (merc@fanimations.club)'s status on Thursday, 20-Aug-2026 09:07:16 JST Merc Merc
    in reply to
    • T man :sex: :puffgiga: :puffpowerroll:
    • Kirby

    @theorytoe @kirby I think it's useful to say 'whatever type this is, if it occurs here, it will also occur here'

    If you're getting to more complicated shit like 'whatever type this is, a subtype with __open__ defined on it will occur here', you are going to hell you are going to hell you are going to hell you are g

    In conversation about 14 hours ago from fanimations.club permalink
  4. Embed this notice
    Merc (merc@fanimations.club)'s status on Thursday, 20-Aug-2026 09:04:23 JST Merc Merc
    in reply to
    • T man :sex: :puffgiga: :puffpowerroll:
    • Kirby

    @theorytoe @kirby I should just start writing in Cython and see if people tell me to fuck off

    In conversation about 14 hours ago from fanimations.club permalink
  5. Embed this notice
    Merc (merc@fanimations.club)'s status on Thursday, 20-Aug-2026 09:00:55 JST Merc Merc
    in reply to
    • T man :sex: :puffgiga: :puffpowerroll:
    • Kirby

    @theorytoe @kirby You can do shit like l = list[T]() and I think that's pretty sexy but the people here hate it.

    In conversation about 14 hours ago from fanimations.club permalink
  6. Embed this notice
    Merc (merc@fanimations.club)'s status on Thursday, 20-Aug-2026 09:00:02 JST Merc Merc
    in reply to
    • T man :sex: :puffgiga: :puffpowerroll:
    • pwm
    • Kirby

    @pwm @theorytoe @kirby Not everything, sigh

    https://boltons.readthedocs.io/en/latest/
    https://grantjenks.com/docs/sortedcontainers/
    uhhhhh I guess pandas and numpy too. And pyyaml. Maybe pillow.

    In conversation about 14 hours ago from fanimations.club permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: grantjenks.com
      Python Sorted Containers — Sorted Containers 2.4.0 documentation
  7. Embed this notice
    Merc (merc@fanimations.club)'s status on Thursday, 20-Aug-2026 08:53:53 JST Merc Merc
    in reply to
    • T man :sex: :puffgiga: :puffpowerroll:
    • Kirby

    @theorytoe @kirby https://discuss.python.org/t/pep-718-subscriptable-functions/28457 I read the fucking forums this has Guido's blessing

    In conversation about 14 hours ago from fanimations.club permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: us1.discourse-cdn.com
      PEP 718: subscriptable functions
      TLDR; This PEP proposes making various function-like instances subscriptable for typing purposes so doing things like: def create_list[T](*args: T) -> list[T]: ... create_list[int]() # type is list[int] would work without raising a TypeError. Previous discussion: Making functions subscriptable at runtime Thanks for reading, happy to answer any questions.
  8. Embed this notice
    Merc (merc@fanimations.club)'s status on Thursday, 20-Aug-2026 08:51:14 JST Merc Merc

    I just called for...else the "en passant of python"

    In conversation about 14 hours ago from fanimations.club permalink
  9. Embed this notice
    Merc (merc@fanimations.club)'s status on Thursday, 20-Aug-2026 08:51:11 JST Merc Merc
    in reply to
    • Kirby

    @kirby fuck I looked it up, I thought the else only triggered if the for loop was empty

    In conversation about 14 hours ago from fanimations.club permalink
  10. Embed this notice
    Merc (merc@fanimations.club)'s status on Thursday, 20-Aug-2026 08:51:11 JST Merc Merc
    in reply to
    • Kirby

    @kirby I figure it's rare but if it's an option you gotta do it for the meme

    In conversation about 14 hours ago from fanimations.club permalink
  11. Embed this notice
    Merc (merc@fanimations.club)'s status on Thursday, 20-Aug-2026 08:51:10 JST Merc Merc
    in reply to
    • Kirby

    @kirby I'm not retarded, that should be the intuitive understanding of it. Its iterable was empty, so it evaluates to false (unless you did something stupid), so the else triggers

    In conversation about 14 hours ago from fanimations.club permalink
  12. Embed this notice
    Merc (merc@fanimations.club)'s status on Thursday, 20-Aug-2026 08:51:09 JST Merc Merc
    in reply to
    • Kirby

    @kirby This is stupid. Make for...else for if the iterable evaluates false (if there's a for _ in x...else, have that be syntactic sugar for if x for _ in x... else), then use finally. You'd need to decide if the finally would trigger even if the for loop returns (I would make it so), though.

    In conversation about 14 hours ago from fanimations.club permalink
  13. Embed this notice
    Merc (merc@fanimations.club)'s status on Thursday, 20-Aug-2026 08:51:08 JST Merc Merc
    in reply to
    • Kirby

    @kirby "breaking change" so what nigga who the fuck uses this anyways.

    from future import for_else_is_finally

    In conversation about 14 hours ago from fanimations.club permalink
  14. Embed this notice
    Merc (merc@fanimations.club)'s status on Thursday, 20-Aug-2026 08:51:07 JST Merc Merc
    in reply to
    • Kirby

    @kirby ```python3

    def better_for_loop[T](it: Iterable[T], fin: Callable[[], None] = lambda: None) -> Generator[T, None, bool]:
    if not it:
    return False
    yield from it
    fin()
    return True

    Citation for subscriptable functions notation: https://discuss.python.org/t/pep-718-subscriptable-functions/28457
    In conversation about 14 hours ago from fanimations.club permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: us1.discourse-cdn.com
      PEP 718: subscriptable functions
      TLDR; This PEP proposes making various function-like instances subscriptable for typing purposes so doing things like: def create_list[T](*args: T) -> list[T]: ... create_list[int]() # type is list[int] would work without raising a TypeError. Previous discussion: Making functions subscriptable at runtime Thanks for reading, happy to answer any questions.
  15. Embed this notice
    Merc (merc@fanimations.club)'s status on Thursday, 20-Aug-2026 04:06:21 JST Merc Merc
    in reply to
    • lainy
    • sanek

    @lain @sanek He's listening to the supercomputer slip on pee hypothetical again

    In conversation about 19 hours ago from gnusocial.jp permalink
  16. Embed this notice
    Merc (merc@fanimations.club)'s status on Thursday, 20-Aug-2026 03:41:03 JST Merc Merc

    I love you but in an unwoke way

    In conversation about 19 hours ago from fanimations.club permalink
  17. Embed this notice
    Merc (merc@fanimations.club)'s status on Thursday, 20-Aug-2026 00:42:44 JST Merc Merc
    in reply to
    • þernia
    • anime graf mays ?️?
    • Ace Attorney Bot
    • T man :sex: :puffgiga: :puffpowerroll:
    • Mr. Bacon
    • φ
    • pistolero
    • احمدابن محمد الخيام
    • KIRBY!! :pleromatan:
    • wormthen
    • pwm
    • syzygy
    • Kate Taxi
    • grauburgunder

    @aceattorneybot @graf @theorytoe @authen @fiore @Tony @pernia @pwm @syzygy @ktaxi @kirby @p @sysrq @grauburgunder @zuck zuck hire me when you start your own neuralink

    In conversation about a day ago from fanimations.club permalink
  18. Embed this notice
    Merc (merc@fanimations.club)'s status on Thursday, 20-Aug-2026 00:41:50 JST Merc Merc
    in reply to
    • þernia
    • anime graf mays ?️?
    • Ace Attorney Bot
    • T man :sex: :puffgiga: :puffpowerroll:
    • Mr. Bacon
    • φ
    • pistolero
    • احمدابن محمد الخيام
    • KIRBY!! :pleromatan:
    • wormthen
    • pwm
    • syzygy
    • Kate Taxi
    • grauburgunder

    @graf @theorytoe @authen @fiore @Tony @pernia @pwm @syzygy @ktaxi @kirby @p @sysrq @grauburgunder @zuck @aceattorneybot render

    In conversation about a day ago from fanimations.club permalink
  19. Embed this notice
    Merc (merc@fanimations.club)'s status on Wednesday, 19-Aug-2026 10:01:09 JST Merc Merc
    in reply to
    • T man :sex: :puffgiga: :puffpowerroll:

    @theorytoe theorytoe girl theory?

    In conversation about 2 days ago from fanimations.club permalink
  20. Embed this notice
    Merc (merc@fanimations.club)'s status on Wednesday, 19-Aug-2026 08:56:09 JST Merc Merc

    I know everything ask me anything

    In conversation about 2 days ago from fanimations.club permalink
  • Before

User actions

    Merc

    Merc

    You are greater ðan ðᵉ sum of your parts.

    Tags
    • (None)

    Following 0

      Followers 0

        Groups 0

          Statistics

          User ID
          414513
          Member since
          15 Aug 2026
          Notices
          27
          Daily average
          5

          Feeds

          • 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.