Changes between Version 8 and Version 9 of Venux


Ignore:
Timestamp:
Feb 25, 2013, 4:59:19 PM (11 years ago)
Author:
Deon Thomas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Venux

    v8 v9  
    33[[Image(http://main.elivecd.org/images/misc/tux-lego.png)]]
    44
    5 A '''Venux Operating System''' is something very '''simple to create''' and without much effort because it will be based on its own evolution just like the things in the nature. I wrote some concepts of design on this page that I think that is the best way to create a functional VOS, '''evolutive''' and '''non-destructive'''. If you want to read the functional/real example, go to the ''History Example'' section.
     5A '''Venux Operating System''' is something very '''simple to create''' and without much effort because it will be based on its own evolution just like things in nature. I wrote some concepts of design on this page that I think that is the best way to create a functional VOS, '''evolutive''' and '''non-destructive'''. If you want to read the functional/real example, go to the ''History Example'' section.
    66
    7 This Document describes how we can '''actually''' build a Venux system, just don't be impatient, start by something basic and let's the computational evolution do the rest.
     7This Document describes how we can '''actually''' build a Venux system, just don't be impatient, start with something basic and let the computational evolution do the rest.
    88
    99=== Core ===
    10 First of all is needed the operating system where to put the software (venux is only a software, it requires an operating system where to work in and with). We have it: GNU/Linux
     10First of all you need an operating system to install the software (venux is only a software, it requires an operating system to work in and with). We have it: GNU/Linux
    1111
    1212=== Modularity ===
    13 When I have discovered the modularity in the software I have understand that is the real key to made a good software, the modularity principles should be applied always and everytime we write a minimally big software, all my ideas are based on '''modularity''', do not forget it.
     13When I had discovered modularity in the software I then understood that it is the real key to mading good software, the modularity principles should be applied always and everytime we write big software, all my ideas are based on '''modularity''', do not forget that.
    1414
    15 The idea of the modularity is basically to connect things between themselves, why this is good ? imagine a car in a single piece, if something breaks or needs to be changed you need to trash it entirely, but with using modularity (pieces) you can change only the required piece, you can create a better piece but you need to maintain the compatibility to plug it with the other ones, and if you need to strictly change the method of how is plugged, then you need to change too the piece where it is pluged... with modularity happens exactly the same.
     15The idea of modularity is basically to connect things between themselves, why is this good ? imagine a car in a single piece, if something breaks or needs to be changed you need to trash the entire car, but by using modularity (pieces) you can change only the required piece, you can create a better piece but you need to maintain the compatibility to plug it with the other ones, and if you need to strictly change the method of how is plugged, then you need to change too the piece where it is pluged... with modular software the samething can happen.
    1616
    1717=== Pieces ===
    18 We can make all the pieces of the puzzle of Venux in for example... a big C application, C is good, stable, portable, and the best optimized one, but we don't need optimization yet, the system is very new, and to write pieces in C is something pretty more slow than to write in other languages.
     18We can make all the pieces of the puzzle of Venux in for example... a big C application, C is good, stable, portable, and is the best optimized language, but we don't need optimization yet, the system is very new, and to write pieces in C is something pretty time consuming than to write it in other languages.
    1919
    2020So then the pieces needs to be simply '''applications''', different applications, every application (piece) do a different type of task, for example, one application that retreives the data, another one that add the data, another that parses the data, other that does special calculations, etc, every application returns data as result of what was been asked.
    2121
    2222=== Plug in Pieces ===
    23 Like in a car, to plug the piece A with piece B it needs to maintain a compatibility, for that, every application needs to have a header data of how it works (data asked, data returned, options, etc) and a version number. Think about it like individual programs that understand if they are compatible with eachother.
     23Like in a car, to plug the piece A into piece B it needs to be compatibe, for that, every application needs to have a header data of how it works (data asked, data returned, options, etc) and a version number. Think about it like individual programs that understand if they are compatible with each other.
    2424
    2525==== Example: Plug in Pieces ====
    26 Piece B knows the version number of piece C before to connect with it, and if the version number of piece C is bigger than the one that B remembers, then piece B checks if it is available an update, if there's an update then update it and ask to his parent if has an update available too. When there's no updates available (B) then piece B checks if the specs of piece C (header of how it works -> data management) is compatible with him, if not, then uses the old version of piece C that stills available on the system.
     26Piece B knows the version number of piece C before it connect to it, and if the version number of piece C is higher than that of B, then piece B checks if it is available for an update, if there's an update then update it and ask its parent if it has an update available too. When there's no updates available (B) then piece B checks if the specs of piece C (header of how it works -> data management) is compatible with it, if not, then uses the old version of piece C that stills available on the system.
    2727
    2828==== Version Numbers ====
     
    3131==== Updates ====
    3232An update is a package, they are done automatically and very fast when is required.
    33 Old updates are never deleted, they are stored in a historycal archiver that can be accessed with the same facility by Venux if needs to use it. Only will be deleted after a minimum of years of fully inactivity.
     33Old updates are never deleted, they are stored in a historical archive that can be accessed by Venux if needs to use it. Historical version will only be deleted if a minimum of years its inactive.
    3434
    3535=== Packages Technology ===
     
    3737
    3838=== Evolution ===
    39 Evolution is very simple: Somebody has a better idea for a piece, more efficient, more fast, etc... then write it and '''present the proposal/result to the Venux Operating System''', Venux like all the other things on the Venus world evaluate the proposal, it does a thousand of different calculations of the good things and the bad things to know if is more "good" than "bad" compared with the actual system, the specs, the resources required, even maybe the ''votes'' from the humans about if like it or not, if is accepted then the operating system includes a new version that will be updated automatically by the system itself, the rest of the pieces will connect to this one if is compatible and if not then is needed to wait their updates too, but everthing continue working thanks to the packaging technology, simple as evolution.
     39Evolution is very simple: Somebody has a better idea for a piece, more efficient, more fast, etc... then write it and '''present the proposal/result to the Venux Operating System''', Venux like all the other things on the Venus world evaluate the proposal, it does a thousand of different calculations of the good things and the bad things to know if it is "good" or "bad" compared with the actual system, the specs, the resources required, even maybe the ''votes'' from the humans about if they like it or not, if it is accepted then the operating system includes a new version that will be updated automatically by the system itself, the rest of the pieces will connect to this one if it is compatible and there is no need to wait for an update too, but everthing continue working thanks to the packaging technology, simple as evolution.
    4040
    4141=== Communication ===
    42 The pieces needs to use a standard method of communication, that the communication is also just another piece of the modularity, when the communication system evolves to something better, his number version changes and his specification too if is needed, then all the pieces that uses communication (almost all of the Venux system) knows that needs to be updated before to use the new communication protocol.
     42The pieces needs to use a standard method of communication, that the communication is also just another piece of the modularity, when the communication system evolves to something better, its  version changes and its specification changes too if that is needed, then all the pieces that uses communication (almost all of the Venux system) knows that needs to be updated before it can use the new communication protocol.
    4343
    44 At the same way explained on teh ''Packages Technology'', the Venux system can work with both communication protocols at the same time while there's any of the pieces that still need to use the old protocol and was not updated yet.
     44As explained in the ''Packages Technology'' section, the Venux system can work with both communication protocols at the same time while there's any of the pieces that still need to use the old protocol and was not updated yet.
    4545
    4646=== Interface ===
    47 The interface is just another piece, it is a layer between the computer and the human in order to communicate at the best way with him. This piece is connected with the pieces that communicate with the data by the communication and also by using the communication it is show to the human.
     47The interface is just another piece, it is a layer between the computer and the human in order to communicate in the best way possible. This piece is connected with the pieces that communicate with the data by the communication and also by using the communication it is shown to the human.
    4848
    49 The Evolution rule will use the best interface too, for example first will exist a commandline-interface, then somebody proposal a better one graphically, the evolution of the system will use the graphic one after the required pieces are connected to the new one, then later appears a interface more easy to manage or with more possibilities, same process... etc
     49The Evolution rule will use the best interface too, for example first it will exist in a commandline-interface, then somebody will proposal a better one graphically, the evolution of the system will use the graphic one after the required pieces are connected to the new one, then later appears a interface that is easier to manage or with more possibilities, same process... etc
    5050
    5151
    5252=== History Example ===
    53 First version of the Venux system: there's 3 bash scripts that was wrote by somebody in less than a day, they are:
     53First version of the Venux system: there's 3 bash scripts that was written by somebody in less than a day, they are:
    5454 * data-get
    5555 * interface
    5656 * data-add
    5757
    58 They are very basic and works on a very simple way, running the interface you have 2 options, to get a data and to add a data, for example, we add the data ''gold'', then we add his specs (composition, category, atomic weight, heat fusion, etc...), and we add also the silver one, then later we want to know the specs of the gold and we use ''data-get'', it works, very simple and functional.
     58They are very basic and works on a very simple way, running the interface you will have 2 options, to get a data and to add a data, for example, we add the data ''gold'', then we add its specs (composition, category, atomic weight, heat fusion, etc...), and we add also the silver, then later we want to know the specs of the gold and we use ''data-get'', it works, very simple and functional.
    5959
    6060Later, somebody add a new piece that gets all the data stored on the wikipedia, parsing the html pages and getting the values of every element of this world.
     
    6262Later, somebody add a new piece that calculates the impact of every piece with the nature
    6363
    64 With this idea, somebody create a piece of choices calculation, for exmaple, we need the best material to use in the sea, the Venux system will calculate the best choice, an abundant material for the actual needs, it also do calculations of future probability needs that are considered too, it checks the resistance of the material with the salted sea, the impact with the nature, etc etc... So this piece shows the better pice choice possible, a lot better, faster, and efficient than a human with studies.
     64With this idea, somebody create a piece of choices calculation, for exmaple, we need the best material to use in the sea, the Venux system will calculate the best choice, an abundant material for the actual needs, it also does calculations of future probability needs that are considered too, it checks the resistance of the material with the salted sea, the impact with the nature, etc etc... So this piece shows the best choice possible, a lot better, faster, and efficient than a human with studies.
    6565
    66 Later we see that the system becomes very slow by retreiving data because we have a lot of data and we have made ''data-get'' in a very fast way, we have wanted it ''just working'', then somebody creates a better way to store data, compressed data, sorted alphabetically, etc... At the same way that someday somebody will pressent again a new version of ''data-get'' with a lot more optimized algorithms for fast search. In again a future day somebody will present a better algorithm that uses probability and usage statistics to retreive the data even faster, etc...
     66Later we see that the system becomes very slow by retreiving data because we have a lot of data and we have made ''data-get'' in a very fast way, we just wanted it ''working'', then somebody creates a better way to store data, compressed data, sorted alphabetically, etc... At the same way that someday somebody will pressent again a new version of ''data-get'' with a lot more optimized algorithms for faster searches. Then again a future day somebody will present a better algorithm that uses probability and usage statistics to retreive the data even faster, etc...
    6767
    68 Somebody create a piece for backup all the data, just like the pieces and everything.
     68Somebody create a piece to backup all the data, just like the pieces and everything.
    6969
    70 The interface changes to something better, we can use now '''tags''' and other special features, but for that, we need to update also ''data-get'' and ''data-add'' in order to use tags too, the interface is presented and accepted, but until there's no ''data-add'' and ''data-get'' compatible with the new version of the ''interface'' using ''tags'', it will be not used. Somedays later somebody found that the tags are added to the new elements but not for the old elements and write a new version of ''interface'' that request to add tags when the element doesn't has any yet, this version of the ''interface'' is updated but has not changed his compatibility so it is directly used by Venux
     70The interface changes to something better, we can use now '''tags''' and other special features, but for that, we need to update also ''data-get'' and ''data-add'' in order to use tags too, the interface is presented and accepted, but until there's no ''data-add'' and ''data-get'' compatible with the new version of the ''interface'' using ''tags'', it will be not used. Somedays later somebody found that the tags are added to the new elements but not for the old elements and write a new version of ''interface'' that request to add tags when the element doesn't has any yet, this version of the ''interface'' is updated but has not changed its compatibility so it is directly used by Venux
    7171
    72 The data is stored on XML that is slow to parse, then somebody write a piece that converts all the XML data to something more binary faster to search by ''data-get'', he also write a feature in ''data-get'' to be compatible with the new structure of the data, and some days later, write another piece that manages the XML as the original ones updating the binary versions when the XML are updated.
     72The data is stored on XML that is slow to parse, then somebody write a piece that converts all the XML data to something more binary faster to search by ''data-get'', someone also write a feature in ''data-get'' to be compatible with the new structure of the data, and some days later, write another piece that manages the XML as the original ones updating the binary versions when the XML are updated.
    7373
    74 Some time later it is found that the binary form can't manage some special features of the XML version, we can still go back to the XML version while the new version of the binary form is writed.
     74Some time later it is found that the binary form can't manage some special features of the XML version, we can still go back to the XML version while the new version of the binary form is being re-written.
    7575
    7676=== Main Feature Concepts ===
     
    8383=== EXTRA ===
    8484When creating the Venux system, we need to remember the rules of the ''Art of Unix Programming'', don't take it as a joke, [http://www.faqs.org/docs/artu/ch01s06.html these rules] are full of wisdom '''essential''' for a correctly made Venux system, if you like them, [http://www.faqs.org/docs/artu/ the full book is a good read too]
    85