Coder Social home page Coder Social logo

Comments (5)

radarsat1 avatar radarsat1 commented on September 3, 2024

Seems that this will print in scientific notation for all negative numbers if I am not mistaken?
In any case perhaps a simpler fix is to use %g instead of %f. It would be nice if this could be an option although there is no global option mechanism right now.

from liblo.

7890 avatar 7890 commented on September 3, 2024

oh. yes.. that's a bug haha. that was too quick.
%g "Use the shortest representation" sounds good

from liblo.

radarsat1 avatar radarsat1 commented on September 3, 2024

By the way I didn't fully read your first message. Your idea for distinguishing symbols is not too bad. I'm not sure it's important to distinguish them but in principle it's interesting. I have to think about it. Technically there is no guarantee of full representation with the pretty-print functions, they are not intended to be a reversible "file format", but I've often thought that it would be interesting to think towards the goal of an OSC text format based on pretty-printed messages. For instances, some contributors have expanded oscdump to emit code that can be used to play back a recorded sequence of OSC messages.

from liblo.

7890 avatar 7890 commented on September 3, 2024

That's an interesting idea indeed, extending oscsend and oscdump for more use cases like binary dump, replay and so forth.
I guess we can totally scratch this "issue" for now and think more about it..

from liblo.

radarsat1 avatar radarsat1 commented on September 3, 2024

Yep, thanks!

from liblo.

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.