Search results

  1. fukurou

    LDAR mega thread

  2. fukurou

    [MEDIA]

  3. fukurou

    LDAR mega thread

  4. fukurou

    LDAR mega thread

  5. fukurou

    LDAR mega thread

  6. fukurou

    LDAR mega thread

  7. fukurou

    LDAR mega thread

  8. fukurou

    ass shit creamed corn inside the ass

    from __future__ import annotations
  9. fukurou

    port overlort python ->Swift assed edition!

    /// Simulates a "Night Rider" LED display that moves position up and down in a bounce pattern. class AXNightRider { private var mode: Int = 0 private var position: Int = 0 private var lim: Int = 0 private var direction: Int = 1 init(limit: Int) { if limit > 0 {...
  10. fukurou

    port overlort python ->Swift assed edition!

    /// Provides tools for generating string permutations from multiple lists. class CombinatoricalUtils { private(set) var result: [String] = [] /// Internal recursive function to generate permutations. private func generatePermutationsHelper(_ lists: [[String]], _ result: inout...
  11. fukurou

    port overlort python ->Swift assed edition!

    /// A simple key-value pair representation class AXKeyValuePair { private var key: String private var value: String init(key: String = "", value: String = "") { self.key = key self.value = value } func getKey() -> String { return key } func...
  12. fukurou

    port overlort python ->Swift assed edition!

    // ╔════════════════════════════════════════════════════════════════════════╗ // ║ MISCELLANEOUS ║ // ╚════════════════════════════════════════════════════════════════════════╝
  13. fukurou

    port overlort python ->Swift assed edition!

    /// A limited-size dictionary used for short-term memory. /// Evicts oldest entries based on insertion order. class Catche { private var limit: Int private var keys: UniqueItemSizeLimitedPriorityQueue private var dict: [String: String] = [:] init(size: Int) { self.limit...
  14. fukurou

    port overlort python ->Swift assed edition!

    /// Stores a log of notes and allows cyclical access class Notes { private var log: [String] = [] private var index: Int = 0 /// Add a new note to the log func add(_ note: String) { log.append(note) } /// Clear all notes func clear() {...
  15. fukurou

    port overlort python ->Swift assed edition!

    /// Manages a pool of dynamic strategies drawn from a central responder class Strategy { private var allStrategies: UniqueResponder private var strategiesLim: Int private var activeStrategy: UniqueItemSizeLimitedPriorityQueue init(_ allStrategies: UniqueResponder, _...
  16. fukurou

    port overlort python ->Swift assed edition!

    /// Enables pattern-based event prediction and alert recognition class SpiderSense { private var spiderSense: Bool = false private var events: UniqueItemSizeLimitedPriorityQueue private var alerts: UniqueItemSizeLimitedPriorityQueue private var previous: String = "null"...
  17. fukurou

    port overlort python ->Swift assed edition!

    // ╔════════════════════════════════════════════════════════════════════════╗ // ║ LEARNABILITY ║ // ╚════════════════════════════════════════════════════════════════════════╝
  18. fukurou

    port overlort python ->Swift assed edition!

    /// Detects directional changes between two observed string tokens /// and returns a corresponding code. class ChangeDetector { private let A: String private let B: String private var prev: Int = -1 init(_ a: String, _ b: String) { self.A = a self.B = b }...
  19. fukurou

    port overlort python ->Swift assed edition!

    /// Tracks the difference between sampled power levels. class Differ { private var powerLevel: Int = 90 private var difference: Int = 0 /// Returns the last sampled power level. func getPowerLevel() -> Int { return powerLevel } /// Returns the most recent...
  20. fukurou

    port overlort python ->Swift assed edition!

    /// AXHandshake manages time-based shout-outs and user acknowledgment class AXHandshake { private var trgTime = TrgTime() private var trgTolerance = TrgTolerance(10) private var shoutout = AXShoutOut() private var userName: String = "" private var dripper = PercentDripper()...
Top