.Open Sample Project Blog -- Improving MATHS Tools . 2009-10-20 Tue Oct 20 12:22 Fixed a bug in mth2html Yesterday I noticed that some items in a section were not being numbered. By looking at what was numbered and what was unnumbered I noticed this .Table Syntax Numbered Unnumbered .Row Had a inline formula no yes .Row Had no inline formula yes no .Close.Table So I looked for why a "
  • " tab was not put in when a " or ). I've changed it (after it bit me) so that each single tab character in a table heading (.Table) or row (.Row) indicates a table entry. THis leads to empty entries. I have a vague memory of these not being treated well in some early browsers. [Contact] me if you have a bad experience. After a private test period, if nothing bad happens, I'll change the script used with web pages (`m2h`) to0 have the same behavior. . 2009-08-25 Tue Aug 25 11:39 doi DOA It turns out that "doi:" is not a reliable protocol.... to put it mildly. I will be removing it. In place of the reccomended .As_is doi:10.1016/j.scico.2007.07.001 on the Science Direct web site..... it has to be .As_is http://dx.doi.org/10.1016/j.scico.2007.07.001 as the "href" in the HTML anchor. I'll test this, but I'm not sure that it is a reliable feature.... It does seem to work.... and even handles ACM's DOIs. DOI::acronym="Digital Object Identifier", following .Box The Digital Object Identifier (DOI(R)) System is for identifying content objects in the digital environment. DOI(R) names are assigned to any entity for use on digital networks. They are used to provide current information, including where they (or information about them) can be found on the Internet. Information about a digital object may change over time, including where to find it, but its DOI name will not change. From .See http://www.doi.org/ .Close.Box . 2009-08-25 Tue Aug 25 11:28 added doi to mth2html Yesterday I added "doi" to the protocols that my MATHS to HTML translator handles. It was a simple change. But the ASCII browser I use to test pages doesn't handle the protocol. Safari does. I'd like to know if MSIE, Firefox, etc. do the right thing with "DOI"s. Select .See ../test.html to get the HTML rendering for this test case .As_is .Open Test .As_is .Source RJB .As_is .See ftp:ftp.csci.csusb.edu/dick/test.html .As_is .See doi:10.1016/j.scico.2007.07.001 .As_is .Close . 2009-06-02 Tue Jun 2 13:35 Obvious solution There was an `obvious` solution to the problems of upgrading to a new server which didn't have the functions I needed for the PHP scripts. As Suggested be Ken our systems administrator -- I can use the old server to run the scripts. All I had to do was change .As_is comment.html:
    .As_is hole.html: to .As_is comment.html: .As_is hole.html: and the Contact and Contribute/hole pages should work. . 2009-05-30 Sat May 30 07:35 Upgrades... We have upgraded to a new web server for faculty. ANd this has killed the PHP scripts that use EMail on this site... [Contact].... It has also killed the rendering PHP scripts.... This is effectively a repeat of the next entry. Which seems to be anexample of this theorem upgrade = crash. . 2009-05-06 Wed May 6 13:46 Another crash On Monday morning the server went down and needed to be rebuilt. The new server was up by the afternoon -- with improved security. It also returned to December 2nd 2008. But -- I keep a separate working copy of all files that I publish on the web. So I was able to replace all the changed files by Tuesday Morning. And discovered that some scripts that used PHP Mail were dead. My systems Admin got that fixed this morning and we worked on the problem of the shell scripts that came out of this project. Turns out that the PATH to the "bin" directory had changed with the new server. And I fixed that about 15 minutes ago. This was a "Tech" issue .See ./maths/T.html#PHP+unix from July 31st raising its ugly head again. . 2009-02-07 Sat Feb 7 08:02 Just when we got it to work... A young officer wrote to his parents from his place of deployment that just when they got everything to work properly somebody from home came out and reorganized everything.... Which is how I feel about my sabbatical work. In December of this year someone got into our web server and set up what was probably a gambling site.... so the whole server had to be rebuilt and this broke all my scripts for sending contributions. The sysadmin was very helpful in providing work arounds and I've just installed them. I alsohad to find out were my "web/bin" directory had got to. And discover that "~dick" on the web server works differently to which I thought... ANd.... the our PHP doesn't like "else if". BUT I've fixed most of the critical scripts: home, samples, papers, maths, cs375, and cs201. So, in theory I'm open for contributions again.... I think I'm going back to bed as well, to recover... By the way, the young officer was in the Imperial Roman Army, nearly two thousand years ago. The only constant..... is change. . 2008-11-18 Tue Nov 18 14:11 Allow 3 leading spaces to work like a tab Here is a feature I lost.... and which is helpful when inputing MATHS into a form in some browsers. To make a formula out of a like put a tab or 3 spaces in front of it. Like this or this for example. . 2008-10-18 Sat Oct 18 11:10 Error in fixing slashes I didn't know that PHP also prefixed a backslash in front of backslashes.... or more precisely I've just rediscovered this while testing "hole.php". So the `ed` shell script reads: .As_is ed - "$1" < anonimous coward -> named person -> moderator. The Core subgroup love and weed the garden that others wander through (and vandalize?). = Volunteer fire department. `One user = one vote` does not work when anybody can be a user. .Close.List Things to design for .List Give members a handle -- stable local name. So they get a reputation. Make a simple way for behavior to be visible -- who is in good standing? Make it difficult to enter the core subgroups. The `group` is the real user! Make the communications scale. Encourage a `small world` structure. Many linked small groups. .Close.List .Close . 2008-05-21 Wed May 21 09:05 Tweaked the infrastructure .See ./maths/ . 2008-05-20 Tue May 20 19:05 Technology exploration This morning I discovered a difference between the 'sed' available in our labs and office machines, and the login server vs the 'sed' on our web server. My plan is to initially reuse the source code and much of that uses the UNIX Stream EDitor --(sed) The code that works outside the web server looks like this .As_is sed '/^\.As_is/!{s/\\TeX/\Τ\Ε<\/sub>\Χ/g .As_is s/\\alpha/\α/g .As_is ... .As_is }' and I had to "Destructure" it and introduce a `goto`: .As_is sed '/^\.As_is/bignore .As_is s/\\TeX/\Τ\Ε<\/sub>\Χ/g .As_is s/\\alpha/\α/g .As_is ... .As_is :ignore' Please don't tell me to use Perl. I'm thinking about using a variation of PArnas's Display concept where requirements, designs, the properties of machines are all shown at once, but kept separately.... . 2008-05-16 Fri May 16 10:05 Infrastructure -- New directory -- samples/maths .See ./maths/ . 2008-05-15 Thu May 15 17:05 Blog Started -- Copying items from main blog I've decided that I need to track my thinking about MATHS and developing its tools separately to to my regular blog of reading. The following entries are ripped out of the normal blog. . 2008-05-13 Tue May 13 14:05 Requirments vs Technologies Meanwhile -- working on requirements and the available technologies for my sabbatical project, and sorting out leaks in (1) my accounting and (2) a bath room tap. Also reviewing the syntax and semantics of documentation in my MATHS language -- .See ./maths/notn_13_Docn_Syntax.html .See ./maths/notn_14_Docn_Semantics.html .See ./maths/notn_15_Naming_Documentn.html etc. . . 2008-05-12 Mon May 12 14:05 YAML -- XML considered harmful My favorite blog just sent me an excellent article .See http://www.codinghorror.com/blog/archives/001114.html which says something that I have been thinking ever since XML was invented -- that it may not be the best solution for all your data encoding needs. As evidence the author gives examples of YAML .See ./samples/languages.html#YAML which are both easier to read and still 99% unambiguous. Like my own $MATHS language it use white space to indicate structure. But it goes further by having no open+close bracketing syntax. It is all done by indentation. Much the same way CODIL did (does?). I'm tempted to formalize YAML into my $MATHS language as a long format for complex objects: CIRCLE( center=> POINT( x=>1, y=>2 ), radius => 10 ) .As_is .Open.YAML .As_is center: .As_is x : 1 .As_is y : 2 .As_is radius : 10 .As_is .Close.YAML But this will need some thought about current features of MATHS and how simple implementation might be. Can it be done with the UNIX standard tool kit -- sed/auk/...? . 2008-05-09 Fri May 9 17:05 Sabbatical Project -- MATHS My sabbatical project is not making much progress. The next post is typical of the reading that I have been doing that indicates that there may not be a `market` for a simple, formal notation for mathematics -- even if designed to have a lot in common with programming languages. The language exists .See ./maths and has stabilized over several years personal use. My project is to add a new feature heading in the direction of a wiki. In the project I was hoping to move in the direction of a wiki-style site that used the language with a lot of people contributing information, notes, samples, and so on. Yesterday I looked into a "PHP Phrasebook". It is full of warnings about the bad things can do if they supply data and some of the things you can do to avoid them. I knew about the risk of passing HTML code with "