Code Monkey home page Code Monkey logo

jamie's People

Contributors

dokthar avatar mefisto94 avatar riccardobl avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

jamie's Issues

Actively remove Savables from their "data"

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)

End of file reached (EOFError) for sdk download stats on some boxes

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.