CoolFace
Datasetpublic

hschumann2/TempleOS-Source-Code

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes838downloads
TOSPolicies.txt235 linesDownload Raw Back to TOS
1 2                               TOS Staff Policies3 4* Motto: Run toward bugs, not away from bugs.5 6* Be Metallica.  Use short, sharp, powerful words, as though a song.7 8* Be careful /Demo/AcctExample doesn't get extra files.  When you run9TOSRegen(), it will copy home files to /Demo/AcctExample.10 11* Be careful remote/Wb site doesn't get extra files.  If you delete or rename a12file, also delete the remote/Wb file from the site.13 14-] PreRegen()15 16  Linux: Export Bookmarks to ~/TAD/Home/Sup1/Sup1Blog/Bookmarks.html17  Linux: >vm_in18  Linux: VMware Machine: "TOS"19  {20    TempleOS: >TOSPreRegen;21    TempleOS: Update Budget22  }23 24-] NewRelease(Bool full=FALSE)25 26  if (full)27    ]PreRegen()28 29  Linux: VMware Machine:"TOS"30  {31    TempleOS: >TOSRegen(full);32  }33  Linux: >vm_out34 35  if (full) {36    Linux: Burn ~/TAD to memory stick.37 38    On other machine {39      Linux: Copy ~/TAD from memory stick.40 41      VMware: VMware NewMachine:"TOS", Install TempleOSStaff.ISO42      { //2048 Meg RAM or 57344 Meg RAM43        TempleOS: TOSStaffIns(); in VMware.44        TempleOS: >TOSRegen;45        TempleOS: >#include "::/Misc/OSTestSuite"46        TempleOS: >Del("~/Demo*");47      }48 49      Linux: >emu_staff_new50      Linux: >emu8core or >emu24core51      {52        TempleOS: TOSStaffIns(); in QEMU.53        TempleOS: >TOSRegen;54      }55    }56  }57 58  Linux: CrossFTP sync ~/TAD/Site1/Wb to remote/Wb59 60  if (full) {61    FileZilla62      Upload ~/TAD/Site1/index.html to remote/index.html63      Upload ~/TAD/Site1/TempleOS.html to remote/TempleOS.html64  }65 66  In WebHost FileMgr {67    Del {68      remote/TempleOSCD.ISO69      remote/TempleOSSup1.ISO.C70      remote/TempleOSWeb.ISO.C71      remote/TempleOSUltra.ISO72    }73    Copy up one level to remote root {74      remote/Wb/TempleOSCD.ISO75      remote/Wb/TempleOSSup1.ISO.C76      remote/Wb/TempleOSWeb.ISO.C77      remote/Wb/TempleOSUltra.ISO78    }79  }80 81-] NewVersion(Bool full=FALSE)82 83  Increment minor version number.84    >R("3.12","3.13","-i-l");  //Approve by hand.85 86  Add version release notice in ::/Doc/ChgLog.DD.87 88  ]NewRelease(TRUE);89 90  Submit to www.betanews.com.91  Send email to MajorGeeks.92  if (full) {93    Submit to www.upload.com.94    Upload to SourceForge.95  }96 97-] NewYearlyVersion()98 99  Increment major version number.100    >R("3.13","4.00","-i-l");  //Approve by hand.101 102  Add version release notice in ::/Doc/ChgLog.DD.103 104  Update ::/Misc/PCIDevices.DD105 106  Remove 6 months from bottom of ::/Doc/ChgLog.DD.107 108  ]NewVersion(TRUE);109 110* If you change the compiler language syntax, immediately make a111]NewRelease(TRUE).112 113 114                            TOS Staff Indoctrination115 116Make a list of all the ways you make a project scalable.  With TempleOS, we117scale down, not up, so do we do the opposite of all of them.118 119How would you improve this LZW Compression?  We have a 100,000 line of code120limit, so it's a trick, thought provoking, question introducing you to our way121of thinking.122 123We hope to define objective metrics so we can simply ask the world to reduce the124lines of code and be perfectly objective.125 126We hope for an objective metric for the compiler, such as how fast it compiles127itself (having been compiled by itself).  It's a little less elegant, but we128actually compile kernel and compiler together all the time with TOSBootHDIns('C'129).  We have the freedom to change the HolyC language, like how I made130type-casting post-fix.  We need some more limitations on the problem because we131don't want a ridiculous language.132 133Consider these games as the basis of the vector space we wish to span:134 135/Demo/Games/BattleLines.HC136/Demo/Games/BigGuns.HC137/Demo/Games/BlackDiamond.HC138/Demo/Games/BomberGolf.HC139/Demo/Games/CastleFrankenstein.HC140/Demo/Games/CharDemo.HC141/Demo/Games/CircleTrace.HC142/Demo/Games/Collision.HC143/Demo/Games/Digits.HC144/Demo/Games/DunGen.HC145/Demo/Games/ElephantWalk.HC146/Demo/Games/FlapBat.HC147/Demo/Games/FlatTops.HC148/Demo/Games/Halogen.HC149/Demo/Games/MassSpring.HC150/Demo/Games/Maze.HC151/Demo/Games/RainDrops.HC152/Demo/Games/RawHide.HC153/Demo/Games/Rocket.HC154/Demo/Games/RocketScience.HC155/Demo/Games/Squirt.HC156/Demo/Games/Talons.HC157/Demo/Games/TheDead.HC158/Demo/Games/TicTacToe.HC159/Demo/Games/TreeCheckers.HC160/Demo/Games/Varoom.HC161/Demo/Games/Wenceslas.HC162/Demo/Games/Whap.HC163/Demo/Games/Zing.HC164/Demo/Games/ZoneOut.HC165 166Unlike Linux and Windows, we do not want to handle all usage models.  On the167contrary, we want to cherry-pick the hell out of our target usage so we maximize168the elegance and simple beauty while delivering something good for Hymns.169 170If we can define the vector space we hope to span, precisely, then we can leave171the operating system on autopilot for future generations.  They simply make the172best possible solution to the vector space.173 174Knuth other literate coding homos are wrong -- if you have a well define way of175doing things, it usually doesn't matter as long as it is consistent and easy to176remember, so you don't vasillate.  Try to do things in the way the computer177naturally wants to do them.  Don't be an arrogant French buffoon.  Top-down is178ridiculous because you have to make headers for every function.  Bottom-up is179how a computer wants to do it.  In the past, there was a180big-endian/little-endian battle.  Little endian is obviously the way the181computer naturally wants to operate.182 183Do not bloat a compiler with theoretical optimizations that bad programmers184might require.  We would rather teach them.  As a matter of fact, there is a185very straight forward way to convert the C language to machine code.186 187When I solicit line-of-code reducing optimizations, I plan to make it 100%188objective, if possible, and chuckle at the fun, hard-to-understand hacks.189 190If you have ideas on how to make TempleOS more like Linux, I'm not interested.191However, if you have ideas to make it more like the 8-bit computer generation192operating systems or like DOS, I am interested.  We want the creative spirit of193the 8-bit generation of computers.194 195                              TOS Directory Owners196 197TAD owns:198        /TOS/Home199        /TOS/Home/Sup1200        /TOS/Home/TAD201        /TOS/Home/TOS202        /TOS/Home/Web203 204ALM owns:205        /TOS/Home/ALM206 207 208                                TOS Linux SetUp209 210My Linux home directory is      /home/tad211 212I place my scripts in           /home/tad/TOS/Bin213and in                          /home/tad/TAD/Bin214 215/home/tad/TOS/Bin is in my path.216/home/tad/TAD/Bin is in my path.217 218I place my icons in             /home/tad/TAD/Desktop219 220I copy D:/Home in and out of    /home/tad/TOS/Home221 222When I make a back-up, I copy   /home/tad/TAD to /home/tad/Archives/TOS170131223                                /home/tad/TAD to /home/tad/Archives/TAD170131224 225http://www.templeos.org         /home/tad/TOS/Site1226                                /home/tad/TOS/Site1ALM227                                /home/tad/TOS/Site1Stale228 229Every month, I transfer my blog directory from Site1 to Site1Stale and remove it230from TempleOS.231 232 233* "Linux" is a trademark owned by Linus Torvalds.234* "Windows" is a trademark owned by MicroSoft Corp.235