Daimond Daimond Guide

A diamond’s page

Every diamond is drawn by a page of its own. By default that page renders what the diamond knows. Ask, and it becomes a small application, something you tap that records what you tapped.

The page is a real file, crystal.html, in the diamond's own folder. Every diamond has one from the day it is made, and the same rules cover the plain one and the elaborate one.

Asking for one

Open the diamond and choose Redesign page… in the row above the crystal. The message box fills with one line, Change how this page looks:, with the caret at the end of it. Finish the sentence and send.

The rules the page must obey ride with that turn and are never shown to you. They are the app's contract with the page, identical every time, and you cannot reword them. Delete the opening line and you are asking something else, so they do not ride.

Say what you tap and what it should record. "A tile for each of the foods I eat: tapping one records it with today's date, and the day's total is at the top." A daimon cannot guess whether an entry is a count, a weight or a time, so say which.

What the page can do

Writing appends by default, so two taps in the same instant both survive. One write is capped at half a megabyte, and the file itself has no ceiling and grows a line at a time.

What it cannot do

The page runs in a sealed frame, and none of the limits here is a setting. The page was written by a model, it is not part of what the diamond knows, and it travels to every device you have linked.

What the page gives up, and what it gets. Such a page is plainer than the little apps other tools write for you, and it reaches another person only when you share its diamond. In exchange it works with no connection, what is in it stays on your devices unless you share it or a daimon reads it, and no subscription keeps it alive.

Where what you record goes

It goes into the diamond, beside the page, in the browser's own storage. That storage is on your machine, but it is not a folder you can open in a file manager, and it is not the folder you have open as your workspace. You read it in the Workspace panel.

Deleting the page does not delete what it recorded. The files stay, and a new page can read them.

The files travel with the diamond, so a log kept on your phone is on your laptop. Two things follow.

Changing it, and putting it back

Ask for changes the same way. Every version of the page is kept, History lists them, and any can be restored.

A page that will not load is not a dead end. Daimond puts its own rendering up instead, says which way it failed, and offers to put the standard page back.

On a phone

At the right-hand end of the row above the page is a button drawn as four corners, Full screen. It takes away the rail, the top bar, the dock, the message box and the page's own row of buttons, and gives the whole display to the page.

The same button, now Exit full screen, brings them back, and so does Esc when Daimond has the keyboard. Full screen is never entered on your behalf and is not remembered.

A worked example

One such page ships with Daimond. The button here makes a diamond called Log Life and puts the page inside it, furnished and ready to record. Daimond asks first, and offers to open the one you have instead of making a second.

Ask for a variation from inside Log Life itself. Redesign page… there, and "the same, but for practice sessions instead of meals", gives the daimon a worked example in front of it. A daimon in another diamond cannot see this page and will start from nothing.