We consider the case:
of a result graph equals a left graph joined to right graph. The join producess their intersection.
As in gout = join(right,left)
The join routine knows nothing about database format, except that it has valid database pointers for the three graphs. Their implementation is completely external but needs to respond to call backs append,step,fetch, and eval.
The join machine does nothing, really, it is a reentrant loop which is guided by the response status from the call backs. So it becomes a simple manager of the cursor stacks, as the join descends.
The only built in grammar is the match, two nodes have to be comparable in the grammar imposed.
The join loop becomes a small executive that manages a complete exploration of the left graph over the right, and the 'and,or' function needed to traverse the graphs. It juses match as a completion signal, and the stack unwinds.
Databases can be anything, a write only screen window, a binary format, plain json text. or temporary ram. So, for example, to display json test use: screen = join("*".json).
The '*' is a valid graph, in my version of json, it is the wild card collector. screen is a windows interface which displays widgets from a directed graph. Bots could use this, it is an easy method for them to scoffm up the relevant data from a large set.
Thursday, October 4, 2018
I wrote code!
I got interested in this idea of a simple join engine:
output equals left join right
with left and right graph databases defined externally, in different contexts. It seems to be the basic join process simply loops through pointers into the database and manages the recursion. The externally defined grammar determines the rest. It is trivial, in a way.
output equals left join right
with left and right graph databases defined externally, in different contexts. It seems to be the basic join process simply loops through pointers into the database and manages the recursion. The externally defined grammar determines the rest. It is trivial, in a way.
// simple loop
// executed methods will recursively call this
// It mainly does push and pop of the cursort stack
// the grammar defined externally
//
int joinLoop(Cursor* left, Cursor* right, Cursor* result) {
Element elem;
Cursor * newCursor;
int status;
do {
if(status = right->exec(right,Fetch,&elem) !=End); // Extract left node
status=left->exec(left,Eval,&elem);
if(status == Left) {
newCursor = dup_cursor(left);
status = joinLoop(newCursor,right,result);
delete_cursor(newCursor);
}
else if(status == Left) {
newCursor = dup_cursor(left);
status = joinLoop(newCursor,right,result);
delete_cursor(newCursor);
}
result->exec(result,Append,&elem);
} while(status != End);
return status;
}
Wednesday, October 3, 2018
Killer drones are mass produced
DUBAI, United Arab Emirates (AP) — High above Yemen’s rebel-held city of Hodeida, a drone controlled by Emirati forces hovered as an SUV carrying a top Shiite Houthi rebel official turned onto a small street and stopped, waiting for another vehicle in its convoy to catch up.Seconds later, the SUV exploded in flames, killing Saleh al-Samad, a top political figure.The drone that fired that missile in April was not one of the many American aircraft that have been buzzing across the skies of Yemen, Iraq and Afghanistan since Sept. 11, 2001. It was Chinese.Across the Middle East, countries locked out of purchasing U.S.-made drones due to rules over excessive civilian casualties are being wooed by Chinese arms dealers, who are world’s main distributor of armed drones.“The Chinese product now doesn’t lack technology, it only lacks market share,” said Song Zhongping, a Chinese military analyst and former lecturer at the People’s Liberation Army Rocket Force University of Engineering. “And the United States restricting its arms exports is precisely what gives China a great opportunity.”
Tying the threads on this AI thing
We consider a simple world, all information is in the form of a directed JSON graph.
Consider the simple engine that performs a binary, commutative convolution of two JSON graphs, with a rudimentary conditional traverse based on simple key values. A machine that just got you around, the top layer map. Then we add functionality to this machine by inserting a different grammars using attachments. Let us add weighting and inventory across the links and nodes, an attachment.
Now the adapted general machine solves a whole variety of AI matching tasks. One can envision graph pruning functions, matching functions, neural net functions. Each of the functionality created by presenting the problem as an traversable JSON graph, inserting the enhanced rules of grammar for the context. The machine treats all the attachments with graph function calls.
The trading bots can easily get around with this capability, building their own JSON map as they match their portfolio to the local terrain. If we examine traffic on the links it is likely almost gaussian arrivals as bots compete, like De Broglie waves the random arrivals represent our imprecision.
Consider the simple engine that performs a binary, commutative convolution of two JSON graphs, with a rudimentary conditional traverse based on simple key values. A machine that just got you around, the top layer map. Then we add functionality to this machine by inserting a different grammars using attachments. Let us add weighting and inventory across the links and nodes, an attachment.
Now the adapted general machine solves a whole variety of AI matching tasks. One can envision graph pruning functions, matching functions, neural net functions. Each of the functionality created by presenting the problem as an traversable JSON graph, inserting the enhanced rules of grammar for the context. The machine treats all the attachments with graph function calls.
The trading bots can easily get around with this capability, building their own JSON map as they match their portfolio to the local terrain. If we examine traffic on the links it is likely almost gaussian arrivals as bots compete, like De Broglie waves the random arrivals represent our imprecision.
The Ten year??
The yield on the ten year just popped five basis points. The five year yields 3%, just could have held cash for two weeks and gotten the ten year yield in five. Capital flows are doing a sudden shift.
In just the past month the government budgeteers see interest costs jump by nearly a hundred billion. Now we have intense lobbying for the favorite small programs to maintain their priority as the yearly budget goes for a bit of claw back. It is a spiral, and government will stop, for a while.
In just the past month the government budgeteers see interest costs jump by nearly a hundred billion. Now we have intense lobbying for the favorite small programs to maintain their priority as the yearly budget goes for a bit of claw back. It is a spiral, and government will stop, for a while.
Information technology follows transportation
There were a number of other efficiency gains from the trans-Atlantic telegraph. In general, trans-Atlantic trade rose because of improved information about supply and demand. New regions could be developed for US cotton production. Stock and bond prices on either side of the Atlantic converged. Fassenden notes efficiency gains within the US economy, too. For example,in the past it had been necessary to have two train tracks between locations--one outbound and one inbound. But when it became possible to have information on the location of other trains, it was possible to have only one track that, with shared information, could be used for trains using the track at different times to go both directions.
Our modern world of extremely rapid flows of information and communication is a lot more than a convenience. It's also a driver of economic efficiency from local markets to global supply chains.
The efficiencies sometimes come with a serious restructuring, like broadcast radio, and the great depression. I spotted this theory years ago.
Tuesday, October 2, 2018
Mirror, mirror on the wall
Some of these deaths have been relatively high profile. In Canada—while we don’t know if it was for a selfie—three social media influencers were killed this year after falling into a river and being swept over a waterfall. In May of this year, a man in India was mauled to death by a bear while trying to get a selfie. There have been several stories of people falling just after they’ve taken the selfie leaving only the ghostly photo of them seconds before their demise. The study makes it clear that this isn’t a small problem and there are almost certainly more people out there who died taking selfies than the 259 they reported.
Narcissus by Caravaggio depicts Narcissus gazing at his own reflection.
In Greek mythology, Narcissus (/nɑːrˈsɪsəs/; Greek: Νάρκισσος, Nárkissos) was a hunter from Thespiae in Boeotia who was known for his beauty. He was the son of the river god Cephissus and nymph Liriope.[1] He was proud, in that he disdained those who loved him, causing some to commit suicide to prove their unrelenting devotion to his striking beauty. Nemesisnoticed this behavior and attracted Narcissus to a pool, where he saw his own reflection in the water and fell deeply in love with it, not realizing it was merely an image.
Archimedes in the bathtub
With this new condition, Planck had imposed the quantization of the energy of the oscillators, "a purely formal assumption … actually I did not think much about it…" in his [Planck's] own wordsThe vacuum is finite precision. So they knew what the energy levels were and worked backward to solve for the probability distribution in Schrodinger. In the ball in the box, the wave mode determined the spectral lines, a finite set. The quantization is not explicit in Schrodinger equation, it is in the operator modifying the distribution. I think.
We have data scientists who solve Schrodinger using neural nets, and maximum entropy encoding is neural net done in batch mode. Someone modeled a network of nodes passing wave packets using a variation of Schrodinger.
How did Planck solve the black body problem? Quantized and then used combinatorics, statistical mechanics. All of it, a queueing problem I often think.
Superfluous
Brave CEO Calls for a U.S. GDPR
No, our smart card has a process that manages who does or who doesn't get what information over what contract. The little bot keeps track, warns us, and accepts only our thumb print. We carry it and it has its own lock.
Writing in the letter dated Sept. 28 and addressed to the U.S. Senate Committee on Commerce, Science, and Transportation, Brave CEO Brendan Eich said that Congress should adopt rules similar to the European Union’s General Data Protection Regulation (GDPR), a regulatory framework that governs how businesses must handle the data of EU citizens.
No, our smart card has a process that manages who does or who doesn't get what information over what contract. The little bot keeps track, warns us, and accepts only our thumb print. We carry it and it has its own lock.
Monday, October 1, 2018
Reading about Schrodinger's equation
A rerun from grad school for me, but the reading to the derivation is much easier with Wiki and its links. Some say the equation has a wider swe4t of applications, sort of interest in other applications besides the one with Planck.
Subscribe to:
Posts (Atom)