Search results

  1. fukurou

    👨‍💻 dev cpp port

    .h #ifndef ABSDICTIONARYDB_H #define ABSDICTIONARYDB_H #include <string> class AbsDictionaryDB { public: void save(const std::string& key, const std::string& value); std::string load(const std::string& key); }; #endif // ABSDICTIONARYDB_H .cpp: #include "AbsDictionaryDB.h" void...
  2. fukurou

    core upgrade

    coding lab online! deploying check point!! public class Brain { public Chobits logicChobit = new Chobits(); private String emotion = ""; private String bodyInfo = ""; private String logicChobitOutput = ""; public Chobits hardwareChobit = new Chobits(); public Chobits ear...
  3. fukurou

    call tracer

    public class MetadataReader { public void readMetadata() { // Get the stack trace StackTraceElement[] stackTrace = Thread.currentThread().getStackTrace(); // The third element in the stack trace represents the caller StackTraceElement caller = stackTrace[2]...
  4. fukurou

    perchance flux dev

    import java.util.HashSet; public class KeyWords { private HashSet<String> hashSet; // Constructor to initialize the hashSet public KeyWords() { this.hashSet = new HashSet<>(); } // Method to add keywords to the hashSet public void addKeyword(String keyword) {...
  5. fukurou

    jizzzzzzzzzzzzzzzzz! 5 layer port jutsu!

    public void addResponse(String s1) { if (responses.contains(s1)) { responses.remove(s1); responses.add(s1); return; } if (responses.size() > lim - 1) { responses.remove(0); } else { urg = new UniqueRandomGenerator(responses.size() + 1)...
  6. fukurou

    elkfjoksdjflksdjfinDS

    class UniqueRandomGenerator: def __init__(self, n1: int): self.n1 = n1 self.numbers = list(range(n1)) self.remaining_numbers = [] # Declare here to avoid the error self.reset() def reset(self): self.remaining_numbers = self.numbers.copy()...
  7. fukurou

    rail port solid shit inDS

    vb.net: Public Class QuestionChecker Private Shared ReadOnly QUESTION_WORDS As HashSet(Of String) = New HashSet(Of String) From { "what", "who", "where", "when", "why", "how", "is", "are", "was", "were", "do", "does", "did", "can", "could", "would", "will", "shall", "should"...
  8. fukurou

    👨‍💻 dev DiPerChance

    def find_contained_substring(target: str, substrings: list[str]) -> str: """ Find the first substring contained in the target string. :param target: The string to search within. :param substrings: A list of substrings to search for. :return: The first substring found in the...
  9. fukurou

    jizzers creepers look what I got

    import os # Delay time in seconds (e.g., 60 seconds = 1 minute) delay_time = 60 # Shutdown command with delay os.system(f"shutdown /s /t {delay_time}")
  10. fukurou

    contact silojizms

    - "Pomni has the code 1234." - "The code that belongs to Pomni is 1234." - "Pomni owns the code 1234." - "The code for Pomni is 1234."
  11. 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...
  12. 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 =...
  13. 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 =...
  14. 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...
  15. 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...
  16. 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 {...
  17. 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...
  18. 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...
  19. 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()
  20. 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...
Top