Skip to content

Instantly share code, notes, and snippets.

@kenwebb
Last active June 29, 2023 19:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kenwebb/15e48ff780830df54e7df3a9c52df724 to your computer and use it in GitHub Desktop.
Save kenwebb/15e48ff780830df54e7df3a9c52df724 to your computer and use it in GitHub Desktop.
Category Theory at the Coffee Shop
<?xml version="1.0" encoding="UTF-8"?>
<!--Xholon Workbook http://www.primordion.com/Xholon/gwt/ MIT License, Copyright (C) Ken Webb, Thu Jun 29 2023 15:03:13 GMT-0400 (Eastern Daylight Saving Time)-->
<XholonWorkbook>
<Notes><![CDATA[
Xholon
------
Title: Category Theory at the Coffee Shop
Description:
Url: http://www.primordion.com/Xholon/gwt/
InternalName: 15e48ff780830df54e7df3a9c52df724
Keywords:
My Notes
--------
June 29, 2023
This screenplay was created by ChatGPT, from my prompt:
Kan, Jane and Ray are meeting in a coffee shop to discuss a book about Category Theory. Write a screenplay about these three characters as they drink coffee and talk about the book. Use the Fountain format.
]]></Notes>
<_-.XholonClass>
<TheSystem/>
<Universe/>
<TreeWanderer/>
<ActRegulator/>
</_-.XholonClass>
<xholonClassDetails>
<Avatar>
<Color>rgba(255,215,0,0.8)</Color>
</Avatar>
<TreeWanderer implName="org.primordion.xholon.script.TreeWanderer">
<Color>rgba(255,215,0,0.8)</Color>
</TreeWanderer>
<Universe>
<Color>white</Color>
</Universe>
<ActRegulator implName="org.primordion.xholon.base.ActRegulator"/>
</xholonClassDetails>
<TheSystem xmlns:xi="http://www.w3.org/2001/XInclude">
<MechanismEnabler characterColor="rgba(205,133,63,1.0)" go="now"/> <!-- this must be the first node; the go attribute must be included -->
<StorySystem>
<ActRegulator val="4.0"/>
<Screenplay format="fountain" timewords="NIGHT,DAY,EVENING,MORNING,DAWN,DUSK,EARLY,LATE,CONTINUOUS,SAME,SATURDAY" sceneLocationRoot="Universe" speech="false">
<Attribute_String roleName="screenplay"><![CDATA[
Title: My Screenplay
Credit: written by
Author: Ken with ChatGPT
Notes:
INITIAL DRAFT
Copyright: (c) 2023 Me Myself and I
Kan, Jane and Ray are meeting in a coffee shop to discuss a book about Category Theory. Write a screenplay about these three characters as they drink coffee and talk about the book. Use the Fountain format.
ChatGPT
INT. COFFEE SHOP - DAY
Kan, a mathematician in his 30s, sits at a corner table, sipping his coffee. Jane, a philosophy professor in her 40s, and Ray, a computer scientist in his 50s, join him with their own cups of coffee. The atmosphere is cozy, with bookshelves lining the walls and soft jazz playing in the background.
KAN
(excitedly)
I'm so glad you both could make it! I've been diving deep into this book on Category Theory, and I can't wait to discuss it with you.
JANE
(smiling)
Likewise, Kan. Category Theory has always fascinated me, especially its philosophical implications. What specific concepts have caught your attention?
RAY
(interjecting)
Before we delve into the specifics, could you give me a brief overview? As a computer scientist, I haven't delved too deeply into this area.
Kan reaches for his bag and takes out the book, placing it on the table.
KAN
(slightly amused)
Well, Ray, Category Theory is a branch of mathematics that focuses on the study of relationships between different mathematical structures. It provides a language for discussing these relationships in a very abstract way.
JANE
(nodding)
Indeed. It's a powerful tool for understanding the connections and similarities between various branches of mathematics. But what about its philosophical implications? I find that aspect intriguing.
KAN
(leaning forward)
Absolutely, Jane. Category Theory challenges our traditional view of objects and their properties. It emphasizes the relationships between objects rather than their internal structure. This perspective opens up new ways of thinking about mathematical concepts and even extends to other disciplines.
RAY
(pulling out a notepad)
Interesting. How does this relate to computer science? I'm curious to see if there are practical applications.
KAN
(excitedly)
Category Theory has proven to be valuable in computer science, Ray. It provides a framework for understanding and organizing complex systems. It helps in designing programming languages, developing algorithms, and even analyzing the behavior of software systems.
JANE
(raising an eyebrow)
Kan, I recall reading about the connections between Category Theory and cognition. Is that true?
KAN
(sipping his coffee)
Absolutely, Jane. The notion of categories and their relationships has been applied to cognitive science and philosophy of mind. It offers a way to model the structure of knowledge and how it's processed in the human mind.
Ray scribbles notes furiously, captivated by the conversation.
RAY
(enlightened)
Wow, this is fascinating! I never realized how far-reaching Category Theory could be. It's like a unifying language across different domains.
KAN
(grinning)
That's precisely it, Ray! Category Theory provides a common framework for thinking about diverse fields, transcending disciplinary boundaries.
Jane and Ray exchange glances, impressed and inspired.
JANE
(enthused)
I'm eager to explore this further. Perhaps we could form a study group to discuss the book and its applications?
RAY
(nods)
Count me in! This could be a fantastic opportunity for interdisciplinary learning.
KAN
(delighted)
I couldn't agree more! Let's delve into Category Theory together and see where our discussions take us.
The trio clinks their coffee cups, their enthusiasm evident.
FADE OUT.
> _**THE END**_ <
]]></Attribute_String>
<Attribute_String roleName="options"><![CDATA[
{
"addIconsToPlaces":
[],
"formatPersonName":
[],
"outputPersonNames":
{}
}
]]></Attribute_String>
</Screenplay>
<Story>
<Characters>
<!-- characters will be extracted from the screenplay, and inserted here -->
<!-- <Character roleName="Anna"/> -->
<!--<Character roleName="Dummy"/>-->
</Characters>
<Scenes>
<!-- scenes will be extracted from the screenplay, and inserted here -->
<!-- <Scene roleName="EXT. STREET - DAY" duration="8"/> -->
<!--<Scene roleName="EXT. STREET - DAY" duration="8" encloses="./StorySystem/Story/Universe">
<AvatarScript avatar="Dummy"><Attribute_String><![CDATA[
[Dummy];param caption #xhanim>span:nth-child(2);param transcript true;
out caption Testing.
]]></Attribute_String></AvatarScript>
</Scene>-->
</Scenes>
<Universe roleName="Ottawa">
<!-- scene locations will be extracted from the screenplay, and inserted here -->
<!--<Dummyville/>-->
</Universe>
<!-- if speech is enabled in Screenplay, then set speechMultiplier to 2.5 or other value, else set it to 1.0 -->
<Director sceneLocationRoot="Universe" speechMultiplier="1.0"/>
</Story>
<Animate duration="5" selection="#one" tweenScript="xhSvgTween_exp" xpath="./TheSystem/StorySystem/Story/Universe" cssStyle=".d3cpnode circle {stroke-width: 0px;} #Edward\3a character_248 &gt; circle {fill: red;}" efParams="{&quot;selection&quot;:&quot;#one&quot;,&quot;shouldIncludeDecorations&quot;:true,&quot;useIcons&quot;:true,&quot;shape&quot;:&quot;none&quot;, &quot;iconPos&quot;:&quot;outside&quot;,&quot;sort&quot;:&quot;disable&quot;,&quot;width&quot;:600,&quot;height&quot;:600,&quot;mode&quot;:&quot;tween&quot;,&quot;labelContainers&quot;:true,&quot;includeId&quot;:true,&quot;shape&quot;:&quot;circle&quot;,&quot;supportTouch&quot;:true,&quot;maxChars&quot;:3}"/>
</StorySystem>
</TheSystem>
<SvgClient><Attribute_String roleName="svgUri"><![CDATA[data:image/svg+xml,
<svg width="100" height="50" xmlns="http://www.w3.org/2000/svg">
<g>
<title>Screenplay</title>
<rect id="StorySystem/Screenplay" fill="#98FB98" height="50" width="50" x="25" y="0"/>
</g>
</svg>
]]></Attribute_String><Attribute_String roleName="setup">${MODELNAME_DEFAULT},${SVGURI_DEFAULT}</Attribute_String></SvgClient>
</XholonWorkbook>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment