Tinderbox Meetup - Sunday, June 18, 2023: Exploring eachLink to unlink notes
Level | Intermediate |
Published Date | 6/18/23 |
Revision | 1 |
Type | Meetup |
Tags | 5Cs Learning and Knowledge Management, Dictionary, Functions, Learning and Knowledge Management, Link Types, Note-taking, Ontology, createLink, unlinkFrom, unlinkTo |
Video Length | 01:55:59 |
Video URL | Tinderbox Meetup - Sunday, June 18, 2023: Exploring eachLink to unlink notes - YouTube |
Example File | TBX L - Meetup 19JUN23 UnlinkNote.tbx (306.2 KB) |
TBX Version | 9.5 |
Instructor | Michael Becker |
Chat | chat.txt (1.6 KB) |
In this Tinderbox, meet up with a fast-passed walk-through of the Tinderbox’s eachLink operator and Michael Becker’s question, “how do I use each eachLink() to unlink notes from values in an attribute automatically?” Note the background on this, Michael has a function that automatically creates notes and links them from values in a note’s attributes. We reviewed aTbref, walked through code options, developed a series of stamps, merged the stamps into a function, and tested logging. Later, Michael added prefix management and reduced the complexity of his note creation function (this will make sense when you watch the file and see the test file). Michael had to leave the meeting early. The meetup participants continued the conversation once Michael left, starting with the idea that the demonstration/problem-solving exercise needed to be slowed down, that Michael’s speed was too fast/overwhelming (Note: Michael was trying to get to his answer before having to leave). The group continued on with a reflection around ideas on how one tackles working through a universal knowledge tool like Tinderbox: do we start from scratch each time, have a sample project, add domain categories to the community portal, etc. This will be an ongoing conversation.
Becker’s Key Take-away: One key take-way Becker took away from this session, i.e., an insight that was the piece of the unlinking tussles that he was missing in the unlinking a note context, was this syntax—$AttributeName(an operator process: e.g., code, an operator, a function)—will populate an attribute with the result of the operator process. For instance,
eachLink(aLink){
vLinkedNotes+=$Name(aLink["source"]);
};
Interacting through notes links, using the above will populate the variable “vLinkedNotes” with the $Name of the source notes. This is a hugely important concept. One that Becker will dig deeper into during his Patreon session on Friday, June 23, at 6:00 AM PST.
Please comment
Please help with the development of future sessions by answering the three questions below.
- What were your top 2~3 key takeaways from this lesson?
- What do you want to learn next? Learn more about?
- What exercises would help reinforce your learning?