Ecosyste.ms: Repos
An open API service providing repository metadata for many open source software ecosystems.
Package Usage: go: github.com/mroth/weightedrand
Package weightedrand contains a performant data structure and algorithm used
to randomly select an element from some kind of list, where the chances of
each element to be selected not being equal, but defined by relative
"weights" (or probabilities). This is called weighted random selection.
Compare this package with (github.com/jmcvetta/randutil).WeightedChoice,
which is optimized for the single operation case. In contrast, this package
creates a presorted cache optimized for binary search, allowing for repeated
selections from the same set to be significantly faster, especially for large
data sets.
In this example, we create a Chooser to pick from amongst various emoji fruit
runes. We assign a numeric weight to each choice. These weights are relative,
not on any absolute scoring system. In this trivial case, we will assign a
weight of 0 to all but one fruit, so that the output will be predictable.
9 versions
Latest release: over 1 year ago
359 dependent packages
View more package details: https://packages.ecosyste.ms/registries/proxy.golang.org/packages/github.com/mroth/weightedrand
View more repository details: https://repos.ecosyste.ms/hosts/GitHub/repositories/mroth%2Fweightedrand
Dependent Repos 277
Cha0sIDL/ZeroBot-Plugin Fork of FloatTech/ZeroBot-Plugin
基于 ZeroBot 的 OneBot 插件- v0.4.1 go.mod
- v0.4.1 go.sum
Size: 28.3 MB - Last synced: 8 months ago - Pushed: 8 months ago
dreamer-zq/cosmos-sdk Fork of cosmos/cosmos-sdk
:chains: A Framework for Building High Value Public Blockchains :sparkles:- v0.4.1 go.sum
Size: 217 MB - Last synced: 24 days ago - Pushed: 7 months ago
millicent-money/cosmos-sdk
- v0.4.1 go.sum
Size: 361 MB - Last synced: 9 months ago - Pushed: about 1 year ago
bwhour/tendermint Fork of tendermint/tendermint
⟁ Tendermint Core (BFT Consensus) in Go- v0.4.1 go.mod
- v0.4.1 go.sum
Size: 85.9 MB - Last synced: 4 days ago - Pushed: 4 days ago
championshuttler/cosmos-sdk Fork of cosmos/cosmos-sdk
:chains: A Framework for Building High Value Public Blockchains :sparkles:- v0.4.1 go.sum
- v0.4.1 x/group/go.sum
Size: 367 MB - Last synced: about 1 year ago - Pushed: over 1 year ago
58565856/gocqzbp Fork of FloatTech/gocqzbp
go-cqhttp与ZeroBot-Plugin的合体- v0.4.1 go.mod
Size: 169 KB - Last synced: 16 days ago - Pushed: 8 months ago
knkgun/cosmos-sdk Fork of cosmos/cosmos-sdk
:chains: A Framework for Building High Value Public Blockchains :sparkles:- v0.4.1 go.sum
- v0.4.1 x/group/go.sum
Size: 386 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
kleimanb81/cosmos-sdk Fork of pomifer/cosmos-sdk
:chains: A Framework for Building High Value Public Blockchains :sparkles:- v0.4.1 go.sum
Size: 406 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
Thunnini/cosmos-sdk Fork of cosmos/cosmos-sdk
:chains: A Framework for Building High Value Public Blockchains :sparkles:- v0.4.1 go.sum
Size: 431 MB - Last synced: 10 months ago - Pushed: about 1 year ago
gadost/telescope
State alerter for Cosmos SDK based chains- v0.4.1 go.sum
Size: 138 KB - Last synced: 10 months ago - Pushed: almost 2 years ago
vegaprotocol/tendermint Fork of tendermint/tendermint
⟁ Tendermint Core (BFT Consensus) in Go- v0.4.1 go.mod
- v0.4.1 go.sum
Size: 82.7 MB - Last synced: about 1 month ago - Pushed: 8 months ago
niuxiaojie-Alaya/Alaya-Go Fork of AlayaNetwork/Alaya-Go
Golang implementation of the Alaya protocol- v0.3.0 go.mod
Size: 218 MB - Last synced: about 1 year ago - Pushed: over 1 year ago
USC-Developers/gaia Fork of cosmos/gaia
Cosmos Hub- v0.4.1 go.sum
Size: 109 MB - Last synced: about 1 month ago - Pushed: almost 2 years ago
shumshersubashgautam/Running-a-node-cosmos-SDK
- v0.4.1 cosmovisor/go.sum
- v0.4.1 go.sum
Size: 109 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
shumshersubashgautam/Cosmos-IBC-Denoms-with-Gaia
- v0.4.1 go.sum
Size: 17.1 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
DevSCNinja/tendermint
- v0.4.1 go.mod
- v0.4.1 go.sum
Size: 63.3 MB - Last synced: 9 months ago - Pushed: about 1 year ago
lidofinance/cosmos-sdk 📦
- v0.4.1 go.sum
Size: 100 MB - Last synced: 4 months ago - Pushed: about 1 year ago
funfungho/tendermint
- v0.4.1 go.mod
- v0.4.1 go.sum
Size: 68.5 MB - Last synced: about 1 month ago - Pushed: about 1 year ago
relab/hotstuff
- v0.4.1 go.mod
- v0.4.1 go.sum
Size: 4.56 MB - Last synced: 29 days ago - Pushed: 29 days ago
AlayaNetwork/Alaya-Go
Golang implementation of the Alaya protocol- v0.3.0 go.mod
Size: 219 MB - Last synced: 24 days ago - Pushed: over 1 year ago
tendermint/tendermint
⟁ Tendermint Core (BFT Consensus) in Go- v0.4.1 go.mod
- v0.4.1 go.sum
Size: 143 MB - Last synced: about 11 hours ago - Pushed: 4 days ago
tkestack/kvass
Kvass is a Prometheus horizontal auto-scaling solution , which uses Sidecar to generate special config file only containes part of targets assigned from Coordinator for every Prometheus shard.- v0.4.1 go.mod
- v0.4.1 go.sum
Size: 30.3 MB - Last synced: 3 months ago - Pushed: over 1 year ago
idena-network/idena-go
Idena node- v0.4.1 go.sum
Size: 87.3 MB - Last synced: 7 months ago - Pushed: 9 months ago
anderstorpsfestivalen/benis-phone
benis- v0.4.1 go.mod
- v0.4.1 go.sum
Size: 9.26 MB - Last synced: 7 months ago - Pushed: 11 months ago
shutter-network/rolling-shutter
Rolling Shutter is an MEV protection system to be plugged into rollups.- v0.4.1 rolling-shutter/go.sum
Size: 4.27 MB - Last synced: about 2 months ago - Pushed: about 2 months ago
FloatTech/gocqzbp
go-cqhttp与ZeroBot-Plugin的合体- v0.4.1 go.mod
Size: 169 KB - Last synced: 6 months ago - Pushed: 8 months ago
trisacrypto/testnet
Monorepo for TRISA TestNet and VASP integration libraries.- v0.4.1 go.sum
Size: 4.44 MB - Last synced: 24 days ago - Pushed: 30 days ago
alephao/nftool
A suite of tools for NFT generative art.- v0.4.1 go.mod
- v0.4.1 go.sum
Size: 213 KB - Last synced: 16 days ago - Pushed: over 1 year ago
sigwo/callisto
- v0.4.1 go.sum
Size: 49.2 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
MoYoez/Lucy-QOnebot
A bot Running with Zerobot.- v0.4.1 go.mod
- v0.4.1 go.sum
Size: 73 MB - Last synced: about 4 hours ago - Pushed: 2 days ago
limitedlee/microservice
golang microservice- v0.4.0 go.mod
- v0.4.0 go.sum
Size: 135 KB - Last synced: 10 months ago - Pushed: about 1 year ago
UnUniFi/notificator-sdk
- v0.4.1 go.sum
Size: 135 KB - Last synced: 11 months ago - Pushed: about 1 year ago
NoirHQ/tendermint
Forked from tendermint/tendermint- v0.4.1 go.mod
- v0.4.1 go.sum
Size: 68.8 MB - Last synced: 10 months ago - Pushed: over 1 year ago
fivol/go-poker-tools
- v0.4.1 go.mod
- v0.4.1 go.sum
Size: 7.19 MB - Last synced: 5 months ago - Pushed: 5 months ago
m0zgen/open-bld Fork of 0xERR0R/blocky
🧩 OpenBLD.net DNS Backend - Blocky Listener Daemon- v1.0.0 go.mod
- v1.0.0 go.sum
Size: 27.8 MB - Last synced: 4 months ago - Pushed: 4 months ago
okada-shun/game-api
- v0.4.1 api/go.mod
- v0.4.1 api/go.sum
- v0.4.1 go.mod
- v0.4.1 go.sum
Size: 176 KB - Last synced: about 1 year ago - Pushed: over 2 years ago
konafx/natalya
- v0.4.1 go.mod
- v0.4.1 go.sum
Size: 4.14 MB - Last synced: about 1 month ago - Pushed: over 1 year ago
mroth/weightedrand
:balance_scale: Fast weighted random selection for Go- v0.0.0 examples/compbench/go.mod
Size: 120 KB - Last synced: 23 days ago - Pushed: 23 days ago
quibbble/go-quibbble
Quibbble game service- v0.4.1 go.mod
- v0.4.1 go.sum
Size: 249 KB - Last synced: 4 months ago - Pushed: 4 months ago
PlatONnetwork/PlatON-CDT
Wasm contract Development Kit- v0.3.0 tools/platon-test/go.sum
Size: 10.6 MB - Last synced: 18 days ago - Pushed: about 2 years ago
efryntov/psiphon-tunnel-core Fork of Psiphon-Labs/psiphon-tunnel-core
A Psiphon client component implemented in Go. This component provide core tunnel functionality, handling all aspects of connecting to Psiphon servers and relaying traffic through those servers. Local proxies provide an interface for routing traffic through the tunnel.- v0.4.1 go.mod
- v0.4.1 go.sum
- v0.4.1 replace/gotapdance/go.mod
Size: 79.2 MB - Last synced: about 19 hours ago - Pushed: about 20 hours ago
0xyicheng/cosmosSDK-development
🧩 An attempt based on CosmosSDK- v0.4.1 kvstore/go.sum
Size: 34.5 MB - Last synced: about 1 year ago - Pushed: almost 2 years ago
cosmos/keystone
- v0.4.1 plugin/cosmosg/go.sum
- v0.4.1 plugin/pkcs11/go.sum
Size: 284 KB - Last synced: 19 days ago - Pushed: almost 2 years ago
rod-hynes/psiphon-tunnel-core Fork of Psiphon-Labs/psiphon-tunnel-core
Psiphon is an Internet censorship circumvention system.- v0.4.1 go.mod
- v0.4.1 go.sum
- v0.4.1 replace/gotapdance/go.mod
Size: 75.6 MB - Last synced: 10 days ago - Pushed: 11 days ago
monsdar/mattermost-icebreaker-plugin
A Mattermost plugin that asks Icebreaker questions- v0.3.0 go.mod
- v0.3.0 go.sum
Size: 1.65 MB - Last synced: 23 days ago - Pushed: over 1 year ago
moul/cosmos-snapshot
WIP- v0.4.1 go.mod
- v0.4.1 go.sum
Size: 218 KB - Last synced: 8 days ago - Pushed: about 1 year ago
bdengine/bde-tendermint
- v0.4.1 go.mod
- v0.4.1 go.sum
Size: 78.8 MB - Last synced: 4 days ago - Pushed: 4 days ago
Wrathchyld/cosmos-sdk Fork of cosmos/cosmos-sdk
:chains: A Framework for Building High Value Public Blockchains :sparkles:- v0.4.1 cosmovisor/go.sum
- v0.4.1 go.sum
Size: 420 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
albertopeam/GO
Learning GO- v0.4.1 cosmoshub/get-balance/go.sum
Size: 364 KB - Last synced: about 1 month ago - Pushed: over 1 year ago
aiyaya188/cosmos
- v0.4.1 go.sum
- v0.4.1 store/tools/ics23/go.sum
Size: 18.4 MB - Last synced: 3 days ago - Pushed: 3 days ago
drgomesp/peerforge
📡 A P2P protocol for code collaboration- v0.4.1 go.sum
Size: 170 KB - Last synced: 9 days ago - Pushed: over 1 year ago
git-sgmoore/tendermint Fork of tendermint/tendermint
⟁ Tendermint Core (BFT Consensus) in Go- v0.4.1 go.sum
- v0.4.1 go.mod
Size: 78.9 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
ricecake/queueBert
A little discord bot- v0.4.0 go.mod
- v0.4.0 go.sum
Size: 28.3 KB - Last synced: about 1 year ago - Pushed: over 3 years ago
hleb-albau/cosmos-sdk Fork of cosmos/cosmos-sdk
:chains: Blockchain Application Framework :sparkles:- v0.4.1 go.sum
Size: 89.3 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
schollz/svg2gcode
Converts svg to gcode for pen plotters- v0.4.1 go.mod
- v0.4.1 go.sum
Size: 129 KB - Last synced: 8 days ago - Pushed: about 2 years ago
drgomesp/happendb
A decentralized event-sourcing platform.- v0.4.1 go.sum
Size: 145 KB - Last synced: 9 days ago - Pushed: over 1 year ago
mb-14/razorpay-spotlight
- v0.4.0 webhook/go.mod
- v0.4.0 webhook/go.sum
Size: 47.7 MB - Last synced: about 1 year ago - Pushed: over 3 years ago
SimonSebechlebsky/cat_swarm_optimization
- v0.2.1 go.mod
- v0.2.1 go.sum
Size: 383 KB - Last synced: about 1 year ago - Pushed: over 3 years ago
peip-mirror/tendermint Fork of tendermint/tendermint
Tendermint Core (BFT Consensus) in Go- v0.4.1 go.mod
- v0.4.1 go.sum
Size: 160 MB - Last synced: about 1 year ago - Pushed: about 1 year ago