Giter Site home page Giter Site logo

deepmage's People

Contributors

mmiszczyk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

mewbak

deepmage's Issues

More convenient way of exiting the application

Dear Author,

Please consider implementing more convenient way of exiting the application. Currently the only available option seems to be F10, however this closes my whole terminal application. I would like to be able to exit to my previous shell. How about implement the SIGNIT (Ctrl-C) to gracefully exit this process?

Thank you and Best Regards,
Bartosz Zator

Creation error while drawing view

When I try to run the deepmage like below:

/tmp/deepmage$ python deepmage.py a.bin

the application crashes with the following trace:

Traceback (most recent call last):
  File "deepmage.py", line 225, in <module>
    Screen.wrapper(main_loop, catch_interrupt=True)
  File "/usr/local/lib/python2.7/dist-packages/asciimatics/screen.py", line 1169, in wrapper
    func(screen)
  File "deepmage.py", line 222, in main_loop
    UI(screen, f)
  File "deepmage.py", line 55, in __init__
    self.main_loop_internal()
  File "deepmage.py", line 150, in main_loop_internal
    self.redraw_if_needed()
  File "deepmage.py", line 116, in redraw_if_needed
    self.draw_view()
  File "deepmage.py", line 58, in draw_view
    self.view = self.reader.get_view(self.starting_word, self.words_in_view)
  File "/tmp/deepmage/bitstream_reader.hy", line 173, in get_view
    (+ first-word-idx number-of-words))])))
  File "/tmp/deepmage/bitstream_reader.hy", line 149, in __getitem__
    (for-bit-in-word word-number
  File "/tmp/deepmage/bitstream_reader.hy", line 29, in __getitem__
    (unless self.loaded (.load self))
  File "/tmp/deepmage/bitstream_reader.hy", line 18, in load
    (setv self.contents (bitstring.BitStream (.read self.file self.size)))
  File "/usr/local/lib/python2.7/dist-packages/bitstring.py", line 4133, in __new__
    x._initialise(auto, length, offset, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/bitstring.py", line 805, in _initialise
    self._initialise_from_auto(auto, length, offset)
  File "/usr/local/lib/python2.7/dist-packages/bitstring.py", line 836, in _initialise_from_auto
    self._setauto(auto, length, offset)
  File "/usr/local/lib/python2.7/dist-packages/bitstring.py", line 1274, in _setauto
    bs = self._converttobitstring(s)
  File "/usr/local/lib/python2.7/dist-packages/bitstring.py", line 1972, in _converttobitstring
    raise CreationError(*e.args)
bitstring.CreationError: Don't understand length '' of token.


Could you please take a look at this issue?

Compatibility with hy 0.15.0

When Hy 0.15.0 gets released (hylang/hy#1652), all the list-comp, dict-comp etc. will stop working, requiring replacement with the lfor, dfor etc. syntax. I'm posting this issue as a reminder to myself, so that when deepmage inevitably stops working I'm going to know what caused this.

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.