joshualat / ohm-zset Goto Github PK
View Code? Open in Web Editor NEWOhm ZSet / Sorted Set support for Redis
Home Page: http://www.joshualat.com
License: MIT License
Ohm ZSet / Sorted Set support for Redis
Home Page: http://www.joshualat.com
License: MIT License
You may want to note that gem 'ohm-zset', :require => 'ohm-zset'
is required in Gemfile
to hint Bundler correctly.
Also, I think
gem.add_dependency 'uuidtools'
gem.add_dependency 'sourcify'
is needed in the gemspec.
Thanks for the gem.
error: can not load file ohm/set
in Gemfile add below
gem "ohm-zset", "> 0.5"> 2.1.3"
gem "uuidtools", "
gem "sourcify", "~> 0.5.0"
Modern versions of ruby show these warnings:
ohm-zset-0.5/lib/ohm-zset.rb:151: warning: found = in conditional, should be ==
ohm-zset-0.5/lib/ohm-zset.rb:171: warning: found = in conditional, should be ==
ohm-zset-0.5/lib/ohm-zset.rb:298: warning: found = in conditional, should be ==
ohm-zset-0.5/lib/ohm-zset.rb:309: warning: found = in conditional, should be ==
ohm-zset-0.5/lib/ohm-zset.rb:327: warning: found = in conditional, should be ==
At those spots in the code
weights = [1.0] * sets.length if weights = []
which overwrites weights always, should instead be
weights = [1.0] * sets.length if weights == []
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.