$ brew install sbcl
# copy .env.sample -> .env, update and source
# create a local/ranking.txt file, each row formatted like:
# PersonName | No. 10 Album // Artist Name | No. 9 Album // Artist Name | No. 8 Album // Artist Name | No. 7 Album // Artist Name | No. 6 Album // Artist Name | No. 5 Album // Artist Name | No. 4 Album // Artist Name | No. 3 Album // Artist Name | No. 2 Album // Artist Name | No. 1 Album // Artist Name
$ RANKING_FILE=local/sample.txt make run
./build/bin/topten
<INFO> [14:16:28] topten (run-main) - ranking from: local/sample.txt
===== RANK: ALBUMS =====
no. 1 album: 10
no. 2 album: 9
no. 3 album: 8
no. 4 album: 7
no. 5 album: 6
no. 6 album: 5
no. 7 album: 4
no. 8 album: 3
no. 9 album: 2
no. 10 album: 1
===== RANK: ARTISTS BY ALBUM SCORE =====
artist name: 55
===== RANK: ARTISTS BY ALBUM COUNT =====
artist name: 10
===== RANK PEOPLE BY ALBUM SCORE =====
PersonName: 55
topten's Introduction
topten's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.