robertseaton / bkz Goto Github PK
View Code? Open in Web Editor NEWWhat should you read? bkz knows.
What should you read? bkz knows.
~/projects/bkz $ ruby bkz.rb --title "betting on theories"
Warning: Goodreads data missing.
/Users/robb/projects/bkz/amazon.rb:22:in `getratings': undefined method `[]' for nil:NilClass (NoMethodError)
from /Users/robb/projects/bkz/amazon.rb:35:in `amazon_search'
from bkz.rb:64:in `add'
from bkz.rb:86:in `<main>'
This book does not exist on Amazon, but still returns an Amazon Book Rank.
Google Books has 49 reviews, returns 0.
Amazon returns 4.5 stars, actually 3.7.
Goodreads returns 10941, 4.18
Should return 47, 3.49
Returns 4.5 amazon stars.
Should return 3.7.
Returns no goodreads or amazon data.
Amazon returns 4.0, should return 3.9
~/projects/bkz $ ruby bkz.rb --title "Constructibility and Mathematical Existence"
/Users/robb/projects/bkz/amazon.rb:22:in `getratings': undefined method `[]' for nil:NilClass (NoMethodError)
from /Users/robb/projects/bkz/amazon.rb:35:in `amazon_search'
from bkz.rb:64:in `add'
from bkz.rb:86:in `<main>'
Probably a result of Amazon not having any reviews for this book.
Returns 4.5 stars from Amazon, only has 3.8.
Amazon returns 4.3, should be 4.6
Just a side note, you may want to add that to the database or it breaks.
Amazon returns 4.0, should be 4.6.
bkz.R sometimes fails with:
~/projects/bkz $ Rscript bkz.R
...
Error in kernel$x : $ operator is invalid for atomic vectors
Calls: predict ... lapply -> FUN -> sapply -> lapply -> FUN -> dkernel
Execution halted
Bizarrely, if you keep trying to run the script, it eventually succeeds. It's not an issue with changes to the database, since the database isn't modified during runs. (Confirmed with a diff).
Amazon Book Rank may or may not be broken on this entry. Need to double check.
Amazon returns 4.4, should return 4.6
Returns 4.1 amazon stars, should be 3.7.
Fails to find Amazon page.
Returns Amazon book rank: 49
Actual: 69,338
Amazon returns 4.5, should return 4.7
Returns the wrong Google Books data.
Broken on Amazon and GoodReads. Should return:
Amazon 18, 4.5
GoodReads 73, 3.66
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.