Talk:Base36: Difference between revisions
m Signing comment by 68.13.56.115 - "" |
No edit summary |
||
Line 23: | Line 23: | ||
hello <small>—Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/88.203.9.16|88.203.9.16]] ([[User talk:88.203.9.16|talk]]) 15:39, 19 March 2008 (UTC)</small><!-- Template:UnsignedIP --> <!--Autosigned by SineBot--> |
hello <small>—Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/88.203.9.16|88.203.9.16]] ([[User talk:88.203.9.16|talk]]) 15:39, 19 March 2008 (UTC)</small><!-- Template:UnsignedIP --> <!--Autosigned by SineBot--> |
||
==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. <span style="font-size: smaller;" class="autosigned">—Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/68.13.56.115|68.13.56.115]] ([[User talk:68.13.56.115|talk]]) 01:37, 12 May 2009 (UTC)</span><!-- Template:UnsignedIP --> <!--Autosigned by SineBot--> |
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. <span style="font-size: smaller;" class="autosigned">—Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/68.13.56.115|68.13.56.115]] ([[User talk:68.13.56.115|talk]]) 01:37, 12 May 2009 (UTC)</span><!-- Template:UnsignedIP --> <!--Autosigned by SineBot--> |
||
:Good catch. I've fixed the C# example. I'm not sufficiently familiar with python syntax to feel comfortable messing with the python example. [[Special:Contributions/203.171.85.67|203.171.85.67]] ([[User talk:203.171.85.67|talk]]) 02:42, 21 June 2009 (UTC) |
Revision as of 02:42, 21 June 2009
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)