Re: [tor-relays] Proper bandwidth units [was: Exit nodes on Gandi]

2013-11-23 Thread grarpamp
 Why not just accept KB/sec, KiB/sec, GB/mo, GiB/mo in the config file?

Because KB/sec would be rejected as not conforming to
either SI or IEC prefix specs. Therefore the above proposed
'AND' would fail ;)
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] Proper bandwidth units [was: Exit nodes on Gandi]

2013-11-23 Thread Andreas Krey
On Sat, 23 Nov 2013 02:50:03 +, grarpamp wrote:
  Why not just accept KB/sec, KiB/sec, GB/mo, GiB/mo in the config file?
 
 Because KB/sec would be rejected as not conforming to
 either SI or IEC prefix specs.

Why so? The SI prefix spec only specifies that K means 1000,
it does not limit the base units. (And neither bytes not bits
are SI units.)

Andreas

-- 
Totally trivial. Famous last words.
From: Linus Torvalds torvalds@*.org
Date: Fri, 22 Jan 2010 07:29:21 -0800
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] Proper bandwidth units [was: Exit nodes on Gandi]

2013-11-23 Thread Lunar
Gordon Morehouse:
 Why not just accept KB/sec, KiB/sec, GB/mo, GiB/mo in the config file?

That would be #9214 [1], implemented by CharlieB, shipped since tor
0.2.5.1-alpha.

[1] https://bugs.torproject.org/9214

-- 
Lunar lu...@torproject.org


signature.asc
Description: Digital signature
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] Proper bandwidth units [was: Exit nodes on Gandi]

2013-11-23 Thread Gordon Morehouse
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Lunar:
 Gordon Morehouse:
 Why not just accept KB/sec, KiB/sec, GB/mo, GiB/mo in the config
 file?
 
 That would be #9214 [1], implemented by CharlieB, shipped since
 tor 0.2.5.1-alpha.
 
 [1] https://bugs.torproject.org/9214

Good, this is the most sensical behavior to the widest array of people
who type things into config files, and the ability to type GiB/mo and
have it mean a line rate will be nice for those of us who, thank you
very much, do make up an important part of the peanut gallery on VPS
providers.

Centralization is death.  I'm glad we're here.

Best,
- -Gordon M.


-BEGIN PGP SIGNATURE-

iQEcBAEBCgAGBQJSkSwvAAoJED/jpRoe7/ujxvYIALDaDKZKA8vWXh9aJZycZjNc
3qHQVMwn96Nocl6vmFqhbB2VvpgfAkRb5+MPpZjX5UeXZ4kLcoQh14SsXXvcC2xc
HUi8/IF5a1eYUtsOGAz/+Rde0Xdhvkbf3LG7iJGoY0kX94GI4LG04uVN3j8NsKQv
2XUy3z7ifkSj+AAHwdDtVDP3eX7XZ0Nogo+x0q18Y+ZhW6JAtTncPQvojalGpNYw
qbgVLOKvzJPX8LSokfE6NNR/asjioz5K27ueodrjnlps9s3VrEDc5Xo+tush1nqm
zEd0TVZlS20xIqFTFiqqOoucM8jH35XfSv4EUSoLm5yUPwadMJND/Xm+L5wl62U=
=q9T8
-END PGP SIGNATURE-
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays