Coder Social home page Coder Social logo

Comments (8)

ahyatt avatar ahyatt commented on July 18, 2024

What version of emacs is this using, and is it compiled for 32 or 64 bits? I'm not sure why emacs is turning the integer into a float automatically, but I'm guessing this might happen on 32-bit emacs.

from emacs-websocket.

sten0 avatar sten0 commented on July 18, 2024

from emacs-websocket.

ahyatt avatar ahyatt commented on July 18, 2024

Thanks for the clarification. Fixed in commit 5568114. It's possible that 27.1 will fix this as well for 32-bit systems, but I haven't tested. If you can test and see that merely running on 27.1 is enough to fix this, without my latest commit, then that would be good to know.

from emacs-websocket.

sten0 avatar sten0 commented on July 18, 2024

from emacs-websocket.

sten0 avatar sten0 commented on July 18, 2024

P.S. While preparing a fix for the Debian package in case someone complain sooner rather than later, I took a quick look at the commit and saw that it it's a patch for the test. @ahyatt, assuming Emacs 27.1 doesn't change this behaviour, do you think this integer-to-float issue will cause functional problems for emacs-websocket users on 32bit archs?

from emacs-websocket.

ahyatt avatar ahyatt commented on July 18, 2024

The fix should fix the test on a 32 bit emacs. I've done some previous fixes for 32 bit systems on websockets, so I think there wouldn't really be a problem. It may be possible that extremely large frames that may cause a problem, however. That isn't likely to happen in real-world uses of websockets.

from emacs-websocket.

sten0 avatar sten0 commented on July 18, 2024

from emacs-websocket.

sten0 avatar sten0 commented on July 18, 2024

from emacs-websocket.

Related Issues (20)

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.