Coder Social home page Coder Social logo

Comments (3)

rufuscoder avatar rufuscoder commented on May 11, 2024

From [email protected] on July 11, 2008 07:39:32
I'm attaching a diff with one way to do this.

I can think of three obvious places where a user's size is displayed: the user list in the main window for a
hub, the preferences panel, and the friends list. Changing str_size_human covers all three (though in slightly
varying ways: two use a HumanSizeTransformer, as defined in SPTransformers.h/SPTransformers.m, which
uses str_size_human to transform a size, while one uses an SPHubController object as a datasource, which
also uses str_size_human). Am I missing anything?

Also, are there any compelling arguments for choosing a value other than 2 (perhaps 3?) after the decimal
point for values in the TiB range?

from shakespeer.

rufuscoder avatar rufuscoder commented on May 11, 2024

From [email protected] on July 11, 2008 10:14:15
The value transformer should be used in all places, thanks for pointing that out, and
thanks a lot for the patch! I'm going away for a few days, but then I'll have a look
at the patch and hopefully check it in.

from shakespeer.

rufuscoder avatar rufuscoder commented on May 11, 2024

From [email protected] on July 18, 2008 21:10:42
Fixed in r444.

from shakespeer.

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.