Cuttlefish Dev Log / Scratch Notes
Dev Prayers for Machine Week
things that should work before MW
- properly handle logging of anything and be able to inspect any datatype with this kind of tool (i.e. see the path...)
- err path cleanup ... i.e. cover cases of new hunk writing:
- syntax errors (in code, on load)
- file naming errors
- dom access (this is bigish, and maybe containable)
CF pre MW
- save / open program with UI information... positions
- hunk loading error paths / errors from hunks appear by hunks / same with logs
- the merge / recreate / state searching algorithms are key, and no good, and maybe require / want a UI rewrite. i.e. I am running bootstraps now at the stepper (and the DLPcores later) that write new link states, etc, and those push 'replaceDef' msgs up to cuttlefish on hello ...
- i.e. also: try restarting / refreshing lower levels: we broke: fix or remove functionality
Dev:
- jquery, d3 are in the view/ folder
- dom rework (multiple doms... the global $().find() problem)
- dom: request animation frame (i.e. in ghost) is not deleted,
- hunkify ?
Compound Dmseg and MDMseg
I would really want to see MDmseg, and Dmseg, as made up of compound types: a great example for in-context abstractions, readily taken apart, and of using known serializations to deliver complex types downstream. This I would like to take shots at today, or / a looping example.
JS Afternoon
data from other sources / udp / streams etc the complex / compound data type wrap is order 1 motion control pls MDArray(number) type, similar for others? Compound typing Array(type) (functional typing... this 'of' this, not this 'and' that) Useability / bughunting ... Accel control -> pressure inputs, jogging? ReadCSV / ReadJSON / Load on Default? / WriteJSON / Cleanup... Other 'basics' - addition, subtraction, and for various types? Expression... / evaluate UI?
paths are MDArrays unwrap MDArray 3d vector display ++ chart task: take path from JSON, split mdarray -> components, chart x, 3d render xyz, ok
Dev Golf
hour +/- long tasks under existing structures,
- assign meaning to charts and graphs (date / location / etc)
- this should be generic json-object making, yeah? / csv
- save tests as .json objects (optionally) develop program for reading
- overlay multiples, save images
- read-in csv as well, polymorphic for outputs
- generic wrap / unwrap data objects ...
- the force loop / layout (floop.js)
- wire length != zero
- better keepout-rectangles
- spawn new hunks at the mouse (floaters! things 'inside' of others!)
- how to do this all elegantly ... it's ah big redesign: take some hours, consider, maybe it's not so grand ?
- sys / save etc
- dates & times in metadata on list ...
- save systems w/ layout ??
- menu
- arrow keys to bump through items
- import
- lit-html, emojis don't load when developing offline: store them somewhere.
- lit-html just writes html strings into the dom? probably easy to rm
Examples
Build a looping structure that replaces / stands in for traditional 'for/while' type structures. Recursing through offsets for the path is the currently pertinent example. Again this is a kind of polymorphic issue / etc. Want to write one kind of recursor, often need some secondary trigger / flowcontrol gate item that is of-the-appropriate-type.
Aspirational Dev
Things we want to see, extensions, etc,