Explanation of Universal Permanent Number (UPN).
Custom Search

Enter the Universal Permanent Number in the box below.

The following video shows OLD and NEW self-genertors of Universal Permanent Software (UPS). The OLD generator is understandable only to programmers familiar with the BASIC language. The OLD generator is used to write the NEW generator, which is understandable to non-programmers. The video also show how the Universal Computer Source Code can be automatically feed into the generator to generate the program in the case of self-generation and auto-updating.


The following video shows the Three Lessons (shown below the video) in Universal Permanent Software. The first lesson shows how to program to print on screeen the statement "Hello." The second lesson shows how to retrive the Universal Permanent Number (UPN) 64480 without remembering the UPN. UPN 64480 is needed to write an instruction generating instruction (GOSUB 64480). Lesson three simply reemphasize the simplicity in programming PRINT "Hello." versus the Universal Computer Source Code (machine code) in Java Virtual Machine.

Universal Permanent Software
(UPS)

UPS Lesson 1 The Complete Learning Curve [Demonstration of Universal User Interface]

Question: How to program "Hello"?
Answer: Type: "111Hello".
Question: How to program DNA?
Answer: With the SAME Universal User Interface.
Question: What Is Then The Problem?
Answer: The Problem Is: How to design Universal User Interface in both cases.
Question: What is the Universal User Interface for the first case?
Answer: It can have infinite number of forms. For example, the first level question can be:
Choose one: (1) Print, (2) Input, (3) Calculate, (4) Branching, (5) Files, (6) Generate, (7) Exit?
After typing "1" the second level question appears:
Choose one: (1) Print on Screen, (2) Print on paper, (3) Others?
After typing "1" the third level question appears:
Choose one: (1) Print without a carriage return, (2) Print with a carriage return ?
After typing "1" the content-insensitive question appears:
What do you want to print?
Here one types "Hello".
Question: How is the instruction to print on screen generated?
Answer: This is not the job of the user. The user can write any program after learning the above process.



The above is the complete learning curve for the All People Programming Language based on UPS.

UPS Lesson 2 How to Generate an Instruction Generating Instruction [Universal Data File]

In a self-generating generator, the generator must be able to generate an instruction generating instruction, which, for example, is in the form GOSUB 64880, where 64880 is unknown to the user.
Question: How to write GOSUB 64880?
Answer: Type "6". After typing "6" the following multiple-choice question appears:
Choose one: (1) Write instruction generating instructions, (2) Others?
After typing "1" the following question appears:
Choose one: (1) To write an instruction generation instruction?
After typing "1" the program returns to the first level question:
Choose one: (1) Print, (2) Input, (3) Calculate, (4) Branching, (5) Files, (6) Generate, (7) Exit?
Now to generate GOSUB 64880, the user go through exactly the same process as above in generating the instruction to print "Hello", as follows:
After typing "1" the second level question appears:
Choose one: (1) Print on Screen, (2) Print on paper, (3) Others?
After typing "1" the third level question appears:
Choose one: (1) Print without a carriage return, (2) Print with a carriage return ?
After typing "1" the content-insensitive question appears:
What do you want to print?
[NOTE: Here the input is irrelevant.]


The above is the complete learning curve for the All People Programming Language. In fact, the second Lesson on how to generate an instruction generating instruction is just a repeat of the first Lesson on how to generate an instruction and, therefore, is not necessary, if explained in the Universal User Interface. This lesson shows technically the relationship between UPN and UPS, which is used to remember the meaning of UPN.

Lesson3:Universal Permanent Software vs. Java Virtual Machine in Programming Print "Hello" [Demonstration of Universal Computer Source Code for JVM and Universal Permanent Software]


Java Virtual Machine is a low-level machine language. Universal Permanent Software is a "high-level machine language." The source codes for the two machine languages are compared.
The machine codes, which are integers, the native language of the machine, for Java Machine Code are:
Memory Locations ............................Java Virtual Machine Codes

0010 .................. ........................................0C 00 01 00 09 01 00
Explanations ... ...........................tag=12(constant-NameAndType), tag=1(Constant_utf8) 0020 ................................ 13 6A 61 76 61 2F 69 6F 2F 50 72 69 6E 74 53 74
Explanations ......length=19 j a v a / i o / P r I n t S t
0030 ................................ 72 65 61 6D 01 00 04 41 6F 64 65 07 00 0A 07 00
Explanations ................... r e a m tag=1 length=4 Code tag=7 Index=10 tag7(CONSTANT_String)
0040 ................................ 14 01 00 03 6F 75 74 01 00 15 28 4C 6A 61 76 61
Explanations Index=20 tag=1 length=3 out tag=1 length=21 (L j a v a
0050 ................................ 2F 6C 61 6E 67 2F 53 74 72 69 6E 67 3B 29 56 01
Explanations ..................../ l a n g / S t r I n g ; ) V tag=1
0060 ................................ 00 10 6A 61 76 61 2F 6C 61 6E 67 2F 4F 62 6A 65
Explanations .............length=16 j a v a / l a n g / O b j e
0070 ................................c t 63 74 07 00 04 0A 00 0B 00 03 01 00 04 6D 61 69 m a i
0080 ................................ 6E 0C 00 10 00 17 01 00 16 28 5B 4C 6A 61 76 61
Explanations ................... n tag=12 16 23 tag=1 length=22 (L j a v a
0090 ................................ 2F 6C 61 6E 67 2F 53 74 72 69 6E 67 3B 29 56 01
Explanations / l a n g / S t r e a m ; ) V tag=1
00A0 ................................00 06 3C 69 6E 69 74 3E 01 00 15 4C 6A 61 76 61
Explanations ............. length=6 < i n i t >tag=1 21 L j a v a
00B0 ................................2F 69 6F 2F 50 72 69 6E 74 53 74 72 65 61 6D 3B
Explanations ................... / i o / P r I n t S t r e a m ;
00C0................................ 0A 00 06 00 0E 07 00 08 01 00 10 6A 61 76 61 2F
00D0................................ 6C 61 6E 67 2F 53 79 73 74 65 6D 08 00 18 0C 00
Explanations .................. l a n g / S y s t e m tag=8 Index=24 tag=12
00E0 ................................08 00 11 01 00 00 03 28 29 56 01 00 0B 48 65 6C 6C
Explanations Index=8 Index=17 tag=1 length=3 ( )V tag length=11 H e l l
00F0 ................................6F 20 57 6F 72 6C 64 00 01
Explanations....................o space W o r l d access flag
0120 ................................00 00 00 09 00 0D 00 0F 00 01 00 05 00 00 00 23
0130 ................................00 03 00 04 00 00 00 17 B2 00 02 4C 12 15 4D 10
0140 ................................ 05 3E 2B 2C B6 00 0C 84 03 FF 1D 9A FF F7 B1 00
0150 ................................ 00 00 00 00 00
Explanations EXCEPTIONS_COUNT ATTRIBUTES_COUNT

The source codes for Universal Permanent Software:
1 1 1 Hello.
Explanations ........Choice 1 for (1) Print (11) Print on screen (111) Print on screen with Enter.