(concatenate 'string (document-title "Dialectical materialism applied to modern programming.") (header 2 "Data manipulation.") (paragraph (zettelkasten-card (paragraph (sentence "Contradictions of the electric derivatives form the function of the computer.") (sentence "Electric changes are neccessary to compute a value.")) "1" '(contradiction)) (zettelkasten-card (paragraph (sentence "The contradictions of electric voltages forms the qualitative contradiction between reading and writing a value to the material world.") (sentence "For a program to complete a code datum, it must read or write to a storage of eletronic values.") (sentence "Often, the means for reads and writes are in the CPU.") ;; (sentence "The CPU could be interpreted the means-of-production for programs, as it enables the program to control.") (sentence "The CPU could be interpreted the laborer and the programs being instruction.")) "1/1" '(contradiction inner memory) '(1))) (header 3 "The contradiction of data ownership between programs.") (zettelkasten-card (concatenate 'string (paragraph (sentence "A noticeable inner contradiction between programs is in data ownership.") (sentence "Programs must maintain ownership of their data to maintain stable;") (sentence "otherwise their data (and by extension code) could be arbitarily modified, thus destabilizing the system.") (sentence "(Binary data is publically accessible through a controller, so the program itself will not be the only subject.)")) (sentence "The data ownership contradiction can only be formed when two or more programs exist in the environment.") ) "2/1" '(contradiction dialectical-materialism data ownership)) (list #\Newline) (paragraph (sentence "An example of the" (resource-locator "zettelkasten:2/1" "data ownership contradiction") "is a program being executed through a program read-eval-print-loop (abbreviated to REPL, also termed a \"shell\").") (sentence "There is an inner contradiction of control between the program REPL and the executed program;") (sentence "the executed program commonly maintains most control over its data,") (sentence "while the shell only maintains control of the program's execution.")) (header 4 "The development of the data ownership contradiction") (paragraph (sentence "In the early stages of computer development (the time period 1920 to 1960),") (sentence "programs were not designed with data protection methods;") (sentence "computer hardware could only allow for one program to run;") (sentence "so the idea of multitasking programs was not thought about.") (sentence "Programs were executed directly on computer hardware.") ) (zettelkasten-card (paragraph (sentence "The contradiction of data ownership cannot be reconciled by both programs.") (sentence (bold "A program that held the most ownership of data would need to be developed to maintain stability among other programs.")) (sentence "As a consequence,") (sentence (bold "data would need to be developed to secure the ownership of data.")) ) "2/1/1" '(contradiction data ownership) '("2/1")) (paragraph (sentence "Modern computers have been developed to operate with an \"operating system\", a type of program that manages other programs.") (sentence "The operating system must become the dominant force among the contradiction of") (resource-locator "zettelkaten:2/1" "data ownership") (sentence " in the system of programs to maintain stability.")) (zettelkasten-card "Compilers developed ownership of data out of neccesity; When multiple programs can be executed in a computer environment; programs must be able to reliably read and write data, otherwise the program would not work reliably and thus produce useless goods (information)." "2/1/2" '(exclusive-control contradiction mechanic)) (zettelkasten-card (paragraph (header 3 "Compiler<->Program") (sentence "One instance of this contradiction is the compiler<->program-code contradiction.") (sentence "When the compiler is run, the compiler seizes control over the program data.") (sentence "After compilation, the compiler relieves control of the program and thus the generated machine code program has control over it's data.")) "2/1/3" '(example contradiction)) (zettelkasten-card (paragraph (header 3 "Interpreter<->Program") (sentence "A similar instance is the interpreter<->program-code contradiction.") (sentence "The interpreter seizes ownership over the program upon execution; but the interpreter does not relinquish it's ownership over the program..") (sentence (bold "instead the interpreter itself executes the program's code."))) "2/1/4" '(example contradiction data-ownership)) (paragraph (sentence "The result of the" (resource-locator "zettelkasten:2/1" "data ownership contradiction") " can vary depending on the target the contradiction applies to.")) (zettelkasten-card (paragraph (paragraph (sentence "When the data ownership contradiction between programs is applied to storage data (files and streams);") (sentence "the result is a junctionary program to compromise the data with multiple programs.")) "Examples: * The concept of files are a result of programs being inable to resolve the data ownership contradiction. The operating system often becomes the winner of the contradiction (in practice, it becomes the manager of files.) * Streams are the product of programs being unable to access byte storage; programs must assume that they do not have ownership over storage data.") "2/2" '(result data-ownership junctionary-program)) (paragraph (sentence "Program code is made of data;") (sentence (concatenate 'string "so the " (resource-locator "zettelkasten:2/1" "data ownership") " contradiction can be applied to program data.")) (sentence "When applying this contradiction to program code;") (sentence "we find that a stable program owns it's program code.") (sentence "If the program can not maintain ownership of it's code;") (sentence "the program will become unstable.") (sentence "(The instability manifests often as security vulnerabilities.")) (header 3 "A program becomes the state.") (paragraph (sentence "As the result of the" (resource-locator "zettelkasten:2/1" "data ownership contradiction") ";") (sentence "it would be logical for humans to develop a program to maintain the most control over the other programs to keep a computer stable.")) (zettelkasten-card (paragraph (paragraph (sentence "The contradictions of data ownership among programs and the introduction of multithreading form a qualitative contradiction of governance over data;") (sentence "a similar pattern to the states")) (sentence "* Windows and UNIX OSes both police data ownership in a decentralized manner;") (sentence "programs lacking the neccessary data ownership must call program code to retrieve operating systems' data.")) "2/3/1" '(contradiction pattern)) )