ForwardDiff.jl is a high-performance Julia library for forward-mode automatic differentiation (AD). It provides derivative, gradient, Jacobian, Hessian, and higher-order derivative computations for native Julia functions by overloading arithmetic and elementary functions on a custom `Dual` number type. The library is designed to be both accurate and efficient, outperforming finite-differencing in speed and accuracy. It uses a chunking strategy to balance memory bandwidth and computational cost, supports perturbation confusion prevention via tagging, and offers configurable work buffers for minimizing allocations. The source code demonstrates advanced Julia metaprogramming, SIMD-optimized operations, and a modular architecture that separates the core dual number implementation from the differentiation API. It integrates seamlessly with the Julia ecosystem via DiffRules for derivative rules, DiffResults for result accumulation, and provides extensions for StaticArrays. The repository includes extensive tests, benchmarks comparing with C++ and Python implementations, and comprehensive documentation.
react-native-linear-gradient is a mature, well-maintained React Native library that provides a `<LinearGradient>` component for rendering linear gradients on iOS and Android. The library supports both the old (Paper) and new (Fabric) React Native architectures, with native implementations in Objective-C/C++ (iOS) and Java (Android). It offers configurable start/end points, color stops, angle-based gradients, and automatic handling of border radii on Android. The codebase is cleanly structured with TypeScript types, proper prop validation, and a Jest mock for testing. The example app demonstrates various use cases including simple gradients, angle gradients, animated gradient transitions, and gradient buttons. The library is actively maintained with CI/CD pipelines, recent commits, and support for React Native 0.75+.
Gauge Card Pro is a Home Assistant Lovelace custom card that renders highly customizable gauge visualizations. It extends the native HA Gauge card with dual gauge layers (main and inner), gradient and severity modes, climate control features (HVAC, fan, swing, preset, temperature), template support, and a full visual editor. The card is built as a Lit web component and integrates deeply with Home Assistant's frontend, using internalized copies of HA and Mushroom dependencies for actions, entities, translations, and forms. Key entry points are `src/card/card.ts` (main card class) and `src/editor/editor.ts` (visual editor). Data flows from user configuration (YAML or UI) combined with HA entity state to compute gauge angles, gradient strings, indicators, and value displays. The system relies on external libraries like Lit, tinygradient, superstruct, and zod, and is distributed as a HACS plugin.