Monday, July 30, 2018

Merge, Split, or Append - By George I think I've got it!

Here I sit in Woods Hole, having done a clean job implementing the theory and feeling quite good about  the "Merge, Split, or Append" algorithm. I think it is one of those fundamental things, like the division algorithm, which is the basis for a calculation. Time will tell what abstract mathematical questions will come up for this- as we are only now able to do the simple arithmetic.
But I want to complain that, aside from my wife, there is no one to tell my result to. No one to gasp and exclaim - "By George you have done in Waksman". So I have to say it to myself. I do plan to start some promotion in the fall. What a great summer! What a lonely summer!

Sunday, July 29, 2018

Deep Flow now supported in Narwhal

I can guess the direction of Google's marketing. So let me pre-emptively use this term to describe my conversational AI - the new context manager is called ""Deep Flow". Now I have the copywrite!

Saturday, July 28, 2018

Merge, Split, or Append - another version of the rules for the moving topic

What has been hard to clarify is how you start with a tree of context IDs, and follow rules for saving records of statements about the IDs, you always have a list of "current IDs" starting from the top level [where a generic "ledger" is always part of a chain of more and more detailed IDs] and when a new ID occurs you either, merge, split, or append it as follows:
If the new ID is already in the current chain of IDs then you merge the new info into the old, unless there is an overwrite conflict - in which case you split off a duplicate set of records below the new (these duplicated details are "SOFT" and can be overwritten).
Otherwise the new ID is outside the current chain of IDs, so you find one in that chain that is the ancestor nearest to the new ID, and append a bit of chain below that, through the intermediary IDs (recorded as "EMPTY" details), and append the new record to the end of the new chain.
After merging, splitting, or appending, the newly written detail is "HARD" and cannot be overwritten.

Equivalence of "empty" details with their abstraction

Don't know if this is significant but when a color 'exists' but is not get specified, it is pretty close to being the same as the simple abstraction of  'a color'.
Why is this OK:
"I am slowly getting to know her" 
and this is not OK:
"I am getting slowly to know her"

This example is a lot like adjective order - rigid, yet seemingly pointless. With something so rigid but seemingly without purpose, it makes you think their is something wrong with your understanding of "purpose".

Friday, July 20, 2018

Circular saw use in pre-dynastic Eygpt

YouTube is full of videos that show pre-dynastic stonework that is far more precise than anything done by the pharaohs - surfaces too smooth to have been produced with hand tools, and circular saw cuts so obvious you have to laugh at the Eygptologists saying these were produced with copper chisels. Similar saw cuts occur at Baalbek and at Teohoatican.
Let me be the first to propose an obvious way to do this: use a "spinning button" but much bigger than the toy. Those suckers can go 125,000 rpm, much much faster than industrial stone cutting saws of today. At those speeds you could cut rock with a string or with water. A super weed-wacker would work, or a toothed saw made of just about anything and using powdered stone abrasive.

Thursday, July 19, 2018

Woods Hole in 2018

I have been coming to Woods Hole since 1956, my grandfather was a scientist at the Oceanographic and my father rented a desk at the MBL library and was involved with some of the courses. I have been going to Friday night lectures since I was a teenager. So today, semi-retired and getting a good look at the place this is the kinds of people I see:

The "Big Science" MBL scientists get to rent nice properties down Gardiner Rd from me. Meanwhile the U of Chicago has brought in a continually renewing undergraduate population and the doors at the MBL are unlocked more often. The Friday night lectures continue a tradition of emphasizing credentials and the social benefits of science, rather than the science. So for example, a talk on a human disease, can involve routine application of conventional tools, and garner praise because the disease is important [I should talk] and because the grants are large. Amazing images can be praised without any understanding of the underlying processes being observed. Occasional new ideas slip in.

Another group is the retired engineers and "alte kaker" sitting across from Pie-in-the-Sky, watching people go buy (on Thursday's I go and order Chai). I am just feeling out this group. I have known some for many years but am trying to remember names. These guys, if they aren't still working, are trying to entertain themselves with boats. I want to call them the "boys", as it is a resumption of childhood fun.

Then I am bothered by another group, which I am on the fringe of, consisting of urban folks who seem to huddle together for warmth. Waiting - I guess - for death and passing time shoring up their sense of status du jour. Well, I am not urban.

Another group are the successful people, the landed gentry, over on my side of town. They seem confident and easing into age - although I should be a fly on the wall!

Friday, July 13, 2018

The Moving Topic - some first principles of context

Principle 1: Given what you have been talking about and what you are currently talking about, you use the narrowest context that is broad enough to encompass both.

Principle 2: Regardless of word order, process the information from broad("top") to narrow ("bottom") when translating text to content.

Principle 2: When keeping a record of statements an entire top-down "path" is needed to process every sub-context, starting from the broadest and leading down to the sub-context. So when child context information appears, blank information is back-filled into a sequence of containing parent contexts. If attributes for those blanks occur in the following text, they are filled in and to avoid overwriting a value an entire duplicate of the path will split off with only the new value changed. However, when legacy values have been duplicated this way and they are to be overwritten, that can happen without further splitting. [I still don't have this '"right". Perhaps you split if a parent will be..is overwritten but do not split and override, when a child is to be overwritten.]

Update: The principles if the Moving Topic
  1. Contexts are processed in the order in which they are detected in the text.
  2. Given the previous context have been talking about and the context you are currently talking about, you use the narrowest context that is broad enough to encompass both.
  3. To avoid overwriting a previously detected context detail, we split off a duplicate of that detail and all its current children, and overwrite the duplicate. Meanwhile the children that were copied contain details that were not detected and can be overwritten.

Wednesday, July 11, 2018

There are lies and damned lies and....

I want to say: there are lies, damned lies, and statistics machine learning. For truly fraudulent efforts, see the usage "deep".

Saturday, July 7, 2018

Why not develop a real search engine?

Right now, Google search is a joke and the other search engines are incapable of finding relevant matches, even though the searches can be quite clearly specified and....assuming this is true: it is big, wide, world or internet out there.

Why the f*ck doesn't someone build a real internet search engine?

Rudimentary language understanding is not that complicated - for finding out what people are searching for. But perhaps indexing the web in a meaningful way is not so straightforward. Obviously the whole strategy or promoting the 'popular' must collapse inward under its own weight. We are left not knowing how to find things.

Example: I search for articles on mathematics about language but all Google finds (with minimal exception) is articles on the language of mathematics. Google has not ability to differentiate. All it can do it key-word pair processing through their search tree. And even that is wrong because you add search terms and get more results!

Wednesday, July 4, 2018

Formulaic Conventions of Recitative (Tropes of Recitative)

It is very frustrating reading musicologist discuss recitative and see them being focused on the history of the genre and failing to describe the conventions of the form other than being "secco" or "Italian", etc. One thing I do see them discussing is the way recitative can be blended with aria, so let's not go into that. But here are some conventions that are part of the recitative formula by convention, which seem to receive very little attention from musicologists:
  1. The recitative is a dialog alternating between singer and instruments
  2. Usually the instruments make a 'statement' and the singer gives a "reply" or makes their own statement
  3. At the end, instruments finish the cadence.
  4. Singer can use rhythms of their own choosing; instruments usually stick to more rigid meter
  5. The decoupling of voice from instrument occurs through following different rules of meter. So when recitative blends back into aria it can do so, gradually, as the voice does or does not begin to coordinate with the more rigidly metered instrumental parts.
Fun violations
The cadence of (3) above is usually a 5-1. You occasionally hear Bach do a 4-1. You can break this rule in lots of obvious ways: 2-1, 3-1, or whatever you like.

I am writing a recitative where I am enjoying breaking several rules. At the beginning, I am letting the voice go first and be answered by the instruments. For the cadence, I am using 1-5 (F-C) in one place and 1-(minor)5 (C-Gmin) in another. And then by repeating the phrases I can end on the voice, then echo with an ending in the instruments. Finally I go into an aria "al attacca' when I do get back to the '1' rather than ending the recitative.

Most composers I listen to did some experiments with the form. Mozart stands out as a composer who did not.

Update: Another flouting of the recitative conventions is to have that two chord cadence actually serve both as a cadence and as a motif for the initial melody. So the recitative I am writing, called a "reverse recitative", starts with a motif of notes: 1-6. I am thinking of ending on a 2-8 notes.

Tuesday, July 3, 2018

Recording a new piece of information in nested contexts - makeRecord()

I wrote the details of an algorithm today, called makeRecord(), that handles the task of processing context specific text and recording it in the data structure of nested contexts that I have been developing. The algorithm makes some pretty heavy assumptions:

  • that the context can be updated in the order of most general to least general, and 
  • that the new context is the least general common context containing both the new and the previous details
  • that text can be de-serialized into a nested data structure by these assumptions
The reason it is "heavy" is the proposed uniform and simple way to parse meaning, more or less independent of grammar and syntax. 

Equivalence of action and speech

I guess my philosophy is that the way I think and plan to act is equivalent to the way I talk about things. As I explore the possibility of analyzing 'reality' in terms of nested, conceptual-linguistic, contexts, I am starting to see a world around me that I can speak of in more than one way and which tries to organize itself as nested entities within entities. One of the reasons the "Windows" UI was such a success - is that it really is intrinsic to reality, in the sense of the above.

Now, let me come back to the puzzle of 'single part with attribute' equivalence with 'single attribute'. I do believe I can construe the same thing in two different ways and that I am designed to use one or the other when I am planning. Sorry to be vague.

Another short term payoff for thinking in terms of nested contexts is the possibilities of cognitive theorems like this one: changing properties of a part of a context cannot cause a switch in context.

Monday, July 2, 2018

He said...

Then I felt my brain drifting off in the direction of Cuttyhunk

A principle of nested frames

Setting the properties of part of a context, does not change the context. For example, in the context of a discussion of fruit, I cannot change to discussion oranges when I describe an apple's color. [Not sure that example works....how about:] When changing the material on an abutment, that does not change the tooth number

Alexa "skill" for chopping vegetables

Saw this being marketed and think: so, narrow world language programming is gaining a foothold.