quadrant-based-pixel-art-dsl-generator
Generates compact parameter strings for a pixel art framework using a quadrant grid system and simplified visual terms to ensure accurate positioning and low token usage.
Generates compact parameter strings for a pixel art framework using a quadrant grid system and simplified visual terms to ensure accurate positioning and low token usage.
Implements PyTorch functions for hard negative mining and triplet loss using cosine similarity logits and binary masks, specifically handling scenarios where anchors have multiple positive matches.
Modifies OCR entity mapping code to handle duplicate entity values by assigning unique bounding boxes, reversing the dataframe for 'amounts_and_tax' sections, and ensuring no coordinate overlap for multi-token entities.
Создание генератора данных DataGenerator для Keras, который загружает данные из JSONL, присваивает классы на основе имен пользователей (например, 'director'), и реализует паддинг последнего батча нулями для предотвращения ошибок размерности при обучении.
Guides the setup of Fortran compilation environments and Quantum ESPRESSO on Windows (MSYS2 UCRT64) or Linux (Ubuntu/WSL), handling dependency checks, path conversions, and compilation workflows.
Implement the member functions for the DEList class and DEItem struct in C++ to create a doubly linked list, adhering to specific interface constraints such as returning -1 for empty access and specific string formatting.
Modifies PyTorch data preparation scripts for RNN/LSTM models to limit the dataset size by dividing it into chunks controlled by a hyperparameter, ensuring the first dimension of input/target tensors fits memory constraints.
在Python 2环境中编写json.dumps处理字典数据的代码,实现默认UTF-8编码失败时回退到GBK编码,其他异常输出格式错误的逻辑。
Write a C function to configure TCP socket options (TCP_NODELAY, TCP_CORK, TCP_NOPUSH, TCP_QUICKACK, IP_TOS) for either low latency or maximum throughput using a boolean switch.
Provides strategies to keep a specific WPF control (e.g., a Settings button) interactive and clickable while a modal popup or blur effect disables the rest of the UI. Focuses on visual tree restructuring, Z-Index management, and input isolation.
SOP for PyTorch setup involving specific input splitting logic and standard library imports.
在Python中不调用现成的高级库函数(如cv2.Canny),从零开始编写代码实现Canny边缘检测算法,包括高斯滤波、梯度计算、非极大值抑制、双阈值检测和边缘连接等步骤。
Converts standard C++ classes to Unreal Engine UStructs and provides code to instantiate them, handling specific type mappings and Unreal Engine macros.
A skill for troubleshooting C# DLL injection failures by adding granular error logging after each P/Invoke call (OpenProcess, VirtualAllocEx, WriteProcessMemory, CreateRemoteThread) to identify the specific failure point using Marshal.GetLastWin32Error.
Implements signed 64-bit division functions (e.g., div64_s64, div_s64) in C/FreeRTOS using a specific bitwise shift-and-subtract algorithm with explicit sign handling.
Nix module option types and definition patterns. Use when defining options with mkOption, choosing types, or creating submodules.
Optimize code performance through iterative improvements (max 2 rounds). Benchmark execution time and memory usage, compare against baseline implementations, and generate detailed optimization reports. Supports C++, Python, Java, Rust, and other languages.
Create a custom skill that's protected from Dex updates. Automatically appends -custom to ensure your skill is never overwritten.
This skill should be used only when the user explicitly asks to use `$ralph-specum-implement`, or explicitly asks Ralph Specum in Codex to run implementation for approved tasks, quick mode, or an explicit continue request.
Build desktop applications with the Electron EGG framework, covering project setup, main/renderer process communication, window management, plugin system, and build/packaging. Use when the user asks about Electron EGG, electron-egg, needs to create Electron applications with EGG, or work with Electron EGG patterns.
three.js geometry authoring: BufferGeometry, typed BufferAttribute and interleaved layouts, InstancedBufferGeometry, primitive Geometries (box/sphere/torus/etc.), ExtrudeGeometry and Shape/Path/Curve from Extras, WireframeGeometry, and addon geometries such as TextGeometry, DecalGeometry, RoundedBoxGeometry. Use when building custom buffer geometries, extruding shapes, or using primitive geometry constructors; for animation morph targets see threejs-animation; for merging buffers see BufferGeometryUtils addon.