mefisto94 / jamie Goto Github PK
View Code? Open in Web Editor NEWJamie is our funny Slack bot supporting Banana-Betting Games and more :)
Jamie is our funny Slack bot supporting Banana-Betting Games and more :)
When a bet has ended, the following happens:
bet[bet_name] = nil;
This works good, as an non existant key would also return nil, however the json serializer iterating over bet will create:
{
"bet_name":null
}
Maybe add something to Savable
like removeData(name)
So as I switched Jamie from my Macbook to a Debian 7.9 System I got this exception when trying to get the SDK download stats.
E, [2016-03-19T16:28:04.879922 #13407] ERROR -- : end of file reached (EOFError)
/usr/lib/ruby/1.9.1/net/protocol.rb:141:in `read_nonblock'
/usr/lib/ruby/1.9.1/net/protocol.rb:141:in `rbuf_fill'
/usr/lib/ruby/1.9.1/net/protocol.rb:122:in `readuntil'
/usr/lib/ruby/1.9.1/net/protocol.rb:132:in `readline'
/usr/lib/ruby/1.9.1/net/http.rb:2562:in `read_status_line'
/usr/lib/ruby/1.9.1/net/http.rb:2551:in `read_new'
/usr/lib/ruby/1.9.1/net/http.rb:1319:in `block in transport_request'
/usr/lib/ruby/1.9.1/net/http.rb:1316:in `catch'
/usr/lib/ruby/1.9.1/net/http.rb:1316:in `transport_request'
/usr/lib/ruby/1.9.1/net/http.rb:1293:in `request'
/usr/lib/ruby/1.9.1/net/http.rb:1195:in `request_get'
/usr/lib/ruby/1.9.1/net/http.rb:455:in `block in get_response'
/usr/lib/ruby/1.9.1/net/http.rb:745:in `start'
/usr/lib/ruby/1.9.1/net/http.rb:454:in `get_response'
/usr/lib/ruby/1.9.1/net/http.rb:431:in `get'
/home/tv/ruby/Jaime/Jamie/jaime/util.rb:77:in `getJSONAPI'
/home/tv/ruby/Jaime/Jamie/jaime/commands/help.rb:30:in `block in <class:SDK>'
/var/lib/gems/1.9.1/gems/slack-ruby-bot-0.7.0/lib/slack-ruby-bot/commands/base.rb:60:in `call'
I have no clue why that behaves different on different OS' and I also have no clue why that happens, but maybe I find something.
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.