Search results

  1. fukurou

    👨‍💻 dev lambda skill experiment

    def process_text(text): text = text.strip() # Remove whitespace text = text.upper() # Convert to uppercase return f"Processed: {text}" result = apply_function(process_text, " hello world ") print(result) # Output: "Processed: HELLO WORLD"
  2. fukurou

    👨‍💻 dev F sharp port

    module AbsDictionaryDB // Define the AbsDictionaryDB class type AbsDictionaryDB() = member val Save: string -> string -> unit = fun _ _ -> printfn "Default Save method" with get, set member val Load: string -> string = fun _ -> "null" with get, set // Declare an object outside the...
  3. fukurou

    cts ports

    public void addContinuousSkill(Skill skill) { if (this.isThinking) { return; } skill.setKokoro(this.kokoro); this.cts_skills.add(skill); } public void clearContinuousSkills() { if (this.isThinking) { return; } this.cts_skills.clear(); } public void...
  4. fukurou

    new STT code

    cmd winget install ffmpeg check if it installed ok: ffmpeg -version in python terminal: pip install openai-whisper pyaudio numpy wave you may also need: pip install openai-whisper pyaudio numpy pip install pipwin pipwin install pyaudio import whisper import pyaudio import numpy as np import...
  5. fukurou

    deepseek n shit

    def _async_func(this_cls): input_text = this_cls.input_text data = { "model": "deepseek-chat", "messages": [{"role": "user", "content": input_text}], "max_tokens": 50 # Limit response length } try: response = this_cls.call_deepseek_api(data)...
  6. fukurou

    cpp port

    .h #ifndef ALGORITHM_H #define ALGORITHM_H #include <vector> class Algorithm { private: std::vector<void*> algParts; // Using void* to avoid details about Mutatable public: // Constructors Algorithm(const std::vector<void*>& parts); Algorithm(const void* parts[], size_t...
  7. fukurou

    F# core

    the F stands 4 fuck module AbsDictionaryDB open System.Collections.Generic type DictionaryDB(saveFunc, loadFunc) = let db = Dictionary<string, string>() member _.Save key value = saveFunc db key value member _.Load key = loadFunc db key // Example save/load logic let defaultSave...
  8. 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...
  9. 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...
  10. 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]...
  11. 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) {...
  12. 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)...
  13. 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()...
  14. 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"...
  15. 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...
  16. 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}")
  17. 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."
  18. 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...
  19. 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 =...
  20. 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 =...
Top