• DevMahasen@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    Oh man, thank you. I still don’t have access to custom GPTs yet but as soon as I do, I will give this a whirl.

  • simendsjo@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    Wouldn’t ChatGPT already have been trained on these books? Are you seeing drastically different results?

    • MCHerb@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      Go to the “Explore” link in the side bar. It will take you to https://chat.openai.com/gpts/discovery. Then click “Create a GPT”. If you don’t have access yet then it must not be fully rolled out yet. I had access after about a day after its release.

      • anticrisisg@alien.topB
        link
        fedilink
        English
        arrow-up
        1
        ·
        10 months ago

        Link must be broken, sorry. Here’s the generated text:

        Ah, Common Lisp Object System (CLOS), a fascinating topic indeed! CLOS offers several advantages over using structs and generic functions. Let’s delve into these benefits:

        1. Dynamic Dispatch: CLOS supports multiple dispatch, allowing methods to be specialized on the types of more than one argument. This is more flexible than single dispatch found in many object-oriented languages, which can only specialize on one argument (usually the receiver).

        2. Method Combination: CLOS provides a powerful method combination mechanism. This means you can control how the results of different methods are combined when they are applicable to a particular call. It allows for before, after, and around methods, providing a level of control that is typically not available with structs and generic functions.

        3. Rich Inheritance Model: CLOS supports a sophisticated inheritance model. Unlike simple structs, CLOS classes can inherit from multiple superclasses, allowing for a more nuanced and powerful form of code reuse and specialization.

        4. Dynamic Behavior Change: Objects in CLOS can change their class at runtime, and the system can dynamically adapt to these changes. This allows for highly dynamic and adaptable systems, which is difficult to achieve with static structs.

        5. Introspection and Reflection: CLOS provides facilities for introspection and reflection, enabling programs to examine and modify the structure and behavior of objects at runtime. This is something structs and generic functions do not inherently provide.

        6. Declarative Method Definition: CLOS allows for a more declarative approach to defining methods. You can specify a method’s behavior directly in relation to the classes of its arguments, which can make the code more readable and maintainable.

        7. Encapsulation and Modularity: While structs can offer some level of data encapsulation, CLOS provides a more robust system with private, protected, and public slots (fields), and methods, enhancing modularity and encapsulation.

        In summary, CLOS provides a more dynamic, flexible, and powerful framework for object-oriented programming in Lisp compared to using structs and generic functions. It excels particularly in scenarios where complex method dispatching and runtime adaptability are required.

  • Wood_Work16666@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    Like evolution repeatedly finding the crab’s body plan an optimal design solution for doing the locomotion on the bottom of oceans, will AI evolve all the received Lisps, Arc, Bel to the ultimate lisp?

    • bitwize@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      Carcinization is the Greenspun’s Tenth Law of aquatic arthropod evolution.