dd-magical-jewelry-pricing-and-inventory-generation
Generates D&D jewelry items with gold values based on specific pricing logic where enchanted jewelry is more expensive than equivalent armor, and suggests store names focusing on metals.
Generates D&D jewelry items with gold values based on specific pricing logic where enchanted jewelry is more expensive than equivalent armor, and suggests store names focusing on metals.
Generates retail pickup order responses using specific pre-defined macros for order status, cancellations, and inventory errors, ensuring exact phrasing and policy adherence.
Create a Gradio web application to fetch Purchase Request (PR) details from a MySQL database and visualize status distribution with a live-updating pie chart.
Validates sales order data to ensure quantities and values are positive, and computes missing total values based on a specific formula.
Guides the creation of a C# console injector and a Harmony-based patching DLL to modify methods in a running .NET process, ensuring architecture and framework compatibility.
Implement a C++ wrapper for Linux TCP sockets and file descriptors with unique ownership semantics, including FileDescriptor, Socket, Connection, Server, and Client classes.
Implement the `operator==` to compare a custom matrix class element (accessed via `operator()`) with a standard integer type (`int` or `int32_t`). This resolves compilation errors where `ASSERT_EQ(matrix(x,y,z), 5)` fails due to type mismatch.
Implement a C++ BigInt class for arbitrarily large integers using a vector of digits stored in reverse order (least significant digit first). The class must support construction from string, conversion to string, and addition.
Implement the C++ DEList class for a doubly linked list according to a specific header file specification, including memory management, specific return values for empty lists, and string formatting rules.
Create a memory-efficient PyTorch optimizer fusing SM3 and Adalite techniques. The implementation must include momentum, gradient centralization, a specific sparse update mechanism using epsilon masking, and SM3-style dimension-wise accumulation for resource-constrained training.
Implement a PyTorch-based MoE-Mamba model featuring an input-dependent selection mechanism and Mixture of Experts (MoE) layer for text generation tasks, including data loading, training, and evaluation workflows.
Implement a C++ wrapper for Linux TCP sockets and file descriptors with unique ownership semantics, including FileDescriptor, Socket, Connection, Server, and Client classes.
Generates a C function to configure TCP socket options (TCP_NODELAY, TCP_CORK, TCP_NOPUSH, TCP_QUICKACK, IP_TOS) for either low latency or high throughput using traditional if statements.
Создание пользовательского слоя nn.Module, веса которого являются обучаемыми параметрами (torch.nn.Parameter) и обновляются через loss.backward() и optimizer.step(), вместо статического вычисления на входе.
Implement a PyTorch Transformer model using nn.Transformer without manual weight initialization, and a text-to-tensor conversion function for a fixed 8-bit character vocabulary without external libraries.
Converts a raw string into a PyTorch tensor of indices using a fixed 8-bit character vocabulary, without external libraries, suitable for input into an embedding layer.
Implement a C++ BigInt class for arbitrarily large integers using a vector of digits stored in reverse order, supporting string conversion and addition.
Provides concise, bullet-pointed explanations of technical concepts (specifically OOP) tailored for senior engineers, emphasizing Python-specific implementations and nuances for interview preparation.
Generates PyTorch embeddings for categorical edge features in a Graph Neural Network by mapping string values to indices and concatenating learned embeddings according to a specific structure.
Реализовать классы Memento и CustomVector на C++ с использованием паттерна Copy-on-Write (COW) для эффективного управления памятью и валидности снимков.