Comments (3)
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.
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.
From [email protected] on July 18, 2008 21:10:42
Fixed in r444.
from shakespeer.
Related Issues (20)
- Can't cancel and resume incompleted file download. HOT 2
- Feature: Simultaneous download of every single file from multiple sources
- Cannot resolve hubs with a .local hostname HOT 3
- Continous disconnection from hub HOT 2
- Close button to hide window HOT 1
- It says that the server died and i found a bug HOT 2
- Hublist Address in .xml format does not load HOT 2
- Still having trouble building for borth 10.5 and 10.4 at the same time HOT 1
- Backend server problem HOT 2
- Shakespeer not functioning HOT 2
- *.nib files within *.app files being scanned.
- Duplicates of all the folders in one giant list instead of separate lists for each folder. HOT 3
- Duplicate files do not disappear from duplicates list
- hubs HOT 2
- you've found a bug HOT 5
- Are you working on updating this? HOT 4
- html entities in the commands sent to bots
- Shakes peer cannot be opened on OS X mavericks. HOT 1
- Connection refused for weeks HOT 1
- Cannot start/connect to backend server
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shakespeer.