This link has been bookmarked by 26 people . It was first bookmarked on 02 Nov 2007, by alfred westerveld.
-
11 Nov 17
-
09 Dec 14
-
16 Feb 14
-
28 Nov 12
-
26 Oct 12
-
Now consider the numbers $18, $19, $20. Under the absolute scaling method, we get:
(18,19,20) → (▆▇▇)
or, if you're rounding up,(18,19,20) → (▇▇▇)
which obscures the difference between the numbers. There's only an 11% difference between the tallest and shortest bar, and that doesn't show up at this resolution. Depending on your application, this might be what you want, but we might also want to avail ourselves of the old trick of adjusting the baseline. Instead of the bottom of the bar being 0, we can say it represents 17. This effectively reduces every bar by 17 before scaling it, so that the the number x is now represented by a bar with natural height n·(x−17) / (max−17). Then we get these bars:(18,19,20) → (▃▅▇)
Whether this "relative scaling" is a better representation than ▇▇▇ depends on the application. It emphasizes different properties of the data.
-
-
05 Oct 12
-
There is a lot of FUD around the rewriting of published history. For example, the "gitinfo" robot on the #git IRC channel has a canned message:
Rewriting public history is a very bad idea. Anyone else who may have pulled the old history will have to git pull --rebase and even worse things if they have tagged or branched, so you must publish your humiliation so they know what to do. You will need to git push -f to force the push. The server may not allow this. See receive.denyNonFastForwards (git-config)
I think this grossly exaggerates the problems. Very bad! Humiliation! The server may deny you! But dealing with a rebased upstream branch is not very hard. It is at worst annoying: you have to rebase your subsequent work onto the rewritten branch and move any refs that pointed to that branch. If you don't have any subsequent work, you might still have to move refs, if you have any that point to it, but you might not have any.
-
-
22 Sep 12
-
17 Sep 12
-
09 Mar 12
-
05 May 11
richtbreakCan't imagine why I didn't find this excellent nook on the web earlier...
-
27 Aug 09
-
19 May 09
-
28 Aug 08
-
25 Apr 08
-
Mark Dominus
-
-
10 Apr 08
-
16 Dec 07
-
24 Nov 07
-
02 Nov 07
-
02 May 07
-
14 Sep 06
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.