Talk:Base36
Mathematics Unassessed | ||||||||||
|
Uses in practice:Dell Express Service Code from the Service Tag {{Fact}}
Re:{{Fact}} -Any one with a Dell Express Service Code can enter the digits here and the result will tally with the Service Tag. Proving thats the system Dell uses.--Trounce 15:29, 11 July 2007 (UTC)
- Your intentions are good, but Wikipedia article pages are not allowed to cite Wikipedia talk pages as references... AnonMoos 01:02, 12 July 2007 (UTC)
The system id used for installation can be found in C:\DELL\SYSINFO.DAT. This can be viewed remotely via the hidden C$ Administrative share as something like \\Computername\C$\DELL\SYSINFO.DAT .
The system tag with a "D", for Dell, prefix is used as the Computer's default networking name, so a "NET VIEW" command will often show a few Dell System Tags :-) Lent (talk) 18:18, 10 January 2008 (UTC)
Using Base36 in Java:
long value = 1854479759125471116L; String base36 = Long.toString(value, 36); // "e37y7k86u5xo"
String base36 = "e37y7k86u5xo"; long value = Long.parseLong(base36, 36); // 1854479759125471116
-- 74.92.22.18 (talk) hello —Preceding unsigned comment added by 88.203.9.16 (talk) 15:39, 19 March 2008 (UTC)
Bugs in sample code
Both the C# and the Python code have bugs - they are missing the case where the value == 0. Both loops should be converted to do-whiles to fix said boundary condition. —Preceding unsigned comment added by 68.13.56.115 (talk) 01:37, 12 May 2009 (UTC)
- Good catch. I've fixed the C# example. I'm not sufficiently familiar with python syntax to feel comfortable messing with the python example. 203.171.85.67 (talk) 02:42, 21 June 2009 (UTC)
- Actually, the python example already explicitly checks for value==0. Guess someone's already fixed it. 203.171.85.67 (talk) 02:46, 21 June 2009 (UTC)
Another bug/deficiency in Python base64encode example: infinite loop occurs where the value is negative. There might also be a similar bug in the C# example, but I'm unable to test that one. In any case, both of these examples appear to assume a positive input value, but neither of them appear to enforce their assumption; and both appear to accept a signed value while not being able to handle it appropriately. 203.171.85.67 (talk) 02:53, 21 June 2009 (UTC)
who?
who invented it? name names. — Preceding unsigned comment added by 174.58.93.63 (talk • contribs)
case insensitive
Most of the code samples given are not case insensitive. I'm even guilty of this having modified the C# example to match the case-sensitivity of the C example. The question is, is string representation supposed to be upper or lower case? Or is it supposed to be immune to upper and lower case. If the latter is true, then many of the examples are broken. War (talk) 15:56, 8 May 2013 (UTC)