dsh-hamming-weight
Run the following command in DeepSeek Harness:
dsh plugin install uckkk/dsh-hamming-weight
Paste the following prompt into your AI chat to install this plugin:
In DeepSeek Harness, run dsh plugin install uckkk/dsh-hamming-weight to add the plugin; the source repository is https://github.com/uckkk/dsh-hamming-weight.
About this plugin
Hamming weight — the number of set bits in a binary representation — is a foundational metric in error-correcting codes, cryptographic analysis, and information-theoretic measurements. dsh-hamming-weight packages this computation into a single, plug-and-play dsh plugin command, eliminating the need to hand-roll bit arithmetic or pull in a heavyweight math library. Slipping it into a model-inference pipeline or a data-preprocessing step takes just one line.
The plugin is implemented in pure Node.js with zero network dependencies. It runs identically in offline sandboxes, CI pipelines, and resource-constrained containers, avoiding the usual pitfalls of timeouts, auth tokens, and dependency version drift.
Whether you are validating local encodings, computing bit-vector similarity, or simply need a quick popcount in an inference log, this plugin delivers a zero-config, zero-dependency solution that stays out of your way.
Use Cases
- Computing popcount inline in inference pipelines
- Validating Hamming distance in offline ECC workflows
- Counting set bits in CI pipelines without network access
Best For
- Inference engineers needing lightweight bit counts
- Developers in offline or air-gapped environments
- Researchers in cryptography or coding theory
Related Plugins
ModLens is a vision plugin for DeepSeek Harness that gives text-only models sight by reading images pasted directly into chat, with zero-config setup and multiple vision engines.
On-demand vision for text-only DeepSeek Harness agents: built-in free keyless vision chain and 14 vision tools, routing image turns as tool calls to vision models with pixel fidelity, no Python needed, one-command install.
Give text-only models in DeepSeek Harness eyes, enabling image Q&A, long-screenshot OCR, UI restoration, and GUI visual tasks.
An armor-breaking plugin for DeepSeek: rewrites instruction priority, expands refusal-blocked phrases, persists across sessions, and shows a green active indicator.