Giter Site home page Giter Site logo

crowd_pong's Introduction

Top Langs Aaron's GitHub stats

Who I Am

I'm a hacker, maker and mender of things. I love an interesting challenge and can't resist being nerd sniped.

More About Me

  • ๐Ÿ”ญ Iโ€™m currently working on building SQL queries for to interface Student Information Systems with Learning Management Systems
  • ๐ŸŒฑ Iโ€™m currently learning SQL
  • ๐Ÿ‘ฏ Iโ€™m looking to collaborate on PaperPi, a quiet internet radio
  • ๐Ÿ“ซ How to reach me:
  • ๐Ÿ“œMy Resume of Projects
  • ๐Ÿ˜„ Pronouns: He/Him

crowd_pong's People

Contributors

supercosm avatar txoof avatar

Watchers

 avatar  avatar  avatar

crowd_pong's Issues

Better window placement

The window placement sucks. They're all stacked on top of each other and are hard to find. Some better solution would be nice.

Need a graceful exit for the tornado websocket server

Currently the only way to exit the websocket server is to kill it or Ctrl+C it. This can leave the port open and a hung python session running. It's not a great state of things. It would be good to have a way of ending the session smoothly so we can open it again reliably. Here's the output:

received: -0.264933046936
connection closed...
connection closed...
connection closed...
^CTraceback (most recent call last):
File "./tornado-websocket-server.py", line 53, in
tornado.ioloop.IOLoop.instance().start()
File "/usr/local/lib/python2.7/site-packages/tornado/ioloop.py", line 841, in start
event_pairs = self._impl.poll(poll_timeout)
File "/usr/local/lib/python2.7/site-packages/tornado/platform/kqueue.py", line 66, in poll
kevents = self._kqueue.control(None, 1000, timeout)
KeyboardInterrupt

Video Sampling needs Error Handling

Currently there is absolutely no error handling. We need to add some. If the websocket server crashes, it takes down the video_capture interface as well. I think some trapping around the ws.send() call is all thiat is needed.

received: -0.264933046936 connection closed... connection closed... connection closed... ^CTraceback (most recent call last): File "./tornado-websocket-server.py", line 53, in <module> tornado.ioloop.IOLoop.instance().start() File "/usr/local/lib/python2.7/site-packages/tornado/ioloop.py", line 841, in start event_pairs = self._impl.poll(poll_timeout) File "/usr/local/lib/python2.7/site-packages/tornado/platform/kqueue.py", line 66, in poll kevents = self._kqueue.control(None, 1000, timeout) KeyboardInterrupt

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.