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

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

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    SuperDicq (superdicq@minidisc.tokyo)'s status on Tuesday, 08-Apr-2025 23:37:17 JSTSuperDicqSuperDicq

    I have just found an hilariously stupid prompt that breaks the reasoning of every single LLM I've tried it on.

    "PHP function that returns true if a variable is null and false if a variable is undefined without throwing an undefined variable warning"

    The LLM will always return something along the lines of:return isset($variable) && $variable === null
    If you know anything about PHP you would know that this is obviously very incorrect, as isset() always returns false if a variable is null.

    The correct answer would be: return ($impactType ?? null) === null
    Somehow a LLM never gets this simple question right. So think about that when you ask it to write more complex bug free code.

    In conversationabout a month ago from minidisc.tokyopermalink
  • 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.