Search results

  1. fukurou

    👨‍💻 dev Eliza swift port

    class LimUniqueResponder { private var responses: [String] = [] private var urg: UniqueRandomGenerator private let lim: Int // Constructor init(lim: Int) { self.lim = lim self.urg = UniqueRandomGenerator(range: 0) } // Method to get a response...
  2. fukurou

    Eliza C# port

    public class LimUniqueResponder { private List<string> responses; private UniqueRandomGenerator urg = new UniqueRandomGenerator(0); private readonly int lim; // Constructor public LimUniqueResponder(int lim) { responses = new List<string>(); this.lim =...
  3. fukurou

    eliza port vb.aSS

    Public Class LimUniqueResponder Private responses As List(Of String) Private urg As UniqueRandomGenerator = New UniqueRandomGenerator(0) Private ReadOnly lim As Integer ' Constructor Public Sub New(lim As Integer) responses = New List(Of String)() Me.lim =...
  4. fukurou

    Eliza ports

    class LimUniqueResponder: def __init__(self, lim: int): self.responses: List[str] = [] self.lim = lim self.urg = UniqueRandomGenerator(0) def get_a_response(self) -> str: if not self.responses: return "" return...
  5. fukurou

    skill branch upgrade

    vb.net Public Class AXLearnability Private algSent As Boolean = False ' Problems that may result because of the last deployed algorithm: Public defcons As HashSet(Of String) = New HashSet(Of String)() ' Major chaotic problems that may result because of the last deployed...
  6. fukurou

    ass shit

    // Service Interface public interface MyService { void execute(); } // Service Implementation public class MyServiceImpl implements MyService { public void execute() { System.out.println("Executing service..."); } } // Service Locator public class ServiceLocator {...
  7. fukurou

    c district

    import random # Initialize scores player_score = 0 opponent_score = 0 # Choices for the game choices = ["rock", "paper", "scissors"] def check_win(player_choice, opponent_choice): """ Determines if the player wins against the opponent. Returns True if the player wins, False...
  8. fukurou

    👨‍💻 dev yoga skill

    class DiYoga(Skill): def __init__(self): super().__init__() self.UResponder: UniqueResponder = UniqueResponder() self.UResponder.addResponse("frog pose") self.UResponder.addResponse("butterfly pose") self.chat: EventChat = EventChat(self.UResponder...
  9. fukurou

    To open a .png file in Python

    pip install pillow from PIL import Image # Open an image file image = Image.open('path/to/your/image.png') # Display the image image.show()
  10. fukurou

    jizzm.JS

    livingrimoire.js // livingrimoire.js class AbsDictionaryDB { save(key, value) { // Save to DB (override me) } load(key) { // Override me return "null"; } } class Mutatable { constructor() { this.algKillSwitch = false; } // Abstract...
  11. fukurou

    deepseek API

    import requests def deepseek_chat(api_key, user_message): url = "https://api.deepseek.com/chat/completions" headers = { "Content-Type": "application/json", "Authorization": f"Bearer {api_key}" } data = { "model": "deepseek-chat", "messages": [...
  12. fukurou

    stand by mode dev

    class AXStandBy: def __init__(self, pause: int): self._tg:TimeGate = TimeGate(pause) def standBy(self, ear: str) -> bool: # only returns true after pause minutes of no input if len(ear) > 0: # restart count self._tg.openForPauseMinutes()...
  13. fukurou

    DiSpiderSense

    import java.util.Scanner; public class SpiderSenseDemo { public static void main(String[] args) { SpiderSense spiderSense = new SpiderSense(); Scanner scanner = new Scanner(System.in); while (true) { System.out.print("Enter an event: ")...
  14. fukurou

    👨‍💻 dev diinsulted

    def count_occurrences(lst, element): return lst.count(element) # Example usage: my_list = [1, 2, 3, 2, 4, 2, 5] element_to_count = 2 count = count_occurrences(my_list, element_to_count) print(f"The element {element_to_count} appears {count} times in the list.")
  15. fukurou

    jizz board

    class YourClass: def __init__(self, ur: UniqueResponder, *args): self._dic = {arg: ur for arg in args} def add_items(self, ur: UniqueResponder, *args): for arg in args: self._dic[arg] = ur
  16. fukurou

    👨‍💻 dev AXContains

    from typing import Set def contains_element(my_set: Set[int], element: int) -> bool: return element in my_set # Example usage my_set: Set[int] = {1, 2, 3, 4, 5} print(contains_element(my_set, 3)) # Output: True print(contains_element(my_set, 6)) # Output: False
  17. fukurou

    test

    :s8:
  18. fukurou

    AH2

    (?<=add di).*
  19. fukurou

    👨‍💻 dev event chatbot

    def create_dict(objectx, *args): return {arg: objectx for arg in args} # Example usage: class ObjectX: pass obj = ObjectX() result = create_dict(obj, "key1", "key2", "key3") print(result)
  20. fukurou

    AI hormones test

    from __future__ import annotations # for the builder pattern from AXPython import TimeGate from LivinGrimoire23 import Skill, Chobits class AH1(Skill): def __init__(self, chobit: Chobits): super().__init__() # Call the parent class constructor self._chobit: Chobits =...
Top