MondaySundaySaturdayFridayThursdayWednesdayTuesday

Git Diagramming "The Weave"

tobr 278 points daverupert.com
ehnto
Someone I know speaks in a reverse tree of sorts which actually does resemble a "weave", they start with various statements about the topic at hand without ever mentioning the topic, and eventually arrive at stating the topic near the end (hopefully). Sometimes I have no idea what they are talking about because they forgot to mention it until the very end when they have merged all their branches.
aDyslecticCrow
I had a professor in a math heavy subject that just started throwing out maths on the blackboard to derrive formula after formula.

It could take 20 minutes until we reach the conclusion, at which point he finally explains what the purpose of the final formula is and why we want it.

I got the habit of reading his book in reverse before the lectures; reading section by section in reverse order from the end. This way the mathematical calculations had a clear goal and were faar easier to follow.

... brilliant maths, but he was fully and utterly incompetent at teaching it. And he had a bit of an ego about how many students fail each year because "they're lazy".

Me and a few friends did deep recaps to de-tangle the explanations using his book, rephrasing it in a easier and shorter format; and he accused us of cheating because our scores deviated from the normal distribution.

All this to say; sometimes clever doesn't correlate well to great with words.... though dont take that as a endorsement of trump.

xtiansimon
“…at which point he finally explains what the purpose of the final formula is and why we want it.”

I can’t learn this way. Great description of some of my instructors. I gravitate towards design and engineering. Goals are first. This sounds like play: “…and this happened, and this happened…” nope. Not me.

aDyslecticCrow
It reflects how the maths was discovered, by toying with formulas until something useful showed up. But its an awful way to teach it.
mebassett
As with many books, this one is best read piecewise backwards. In describing the contents, I accordingly begin with Part III.

Intro to one of the maths books I had to reference to do my masters thesis. :)

axelsvensson
A sibling and me constructed a con-lang, and we tried reverse polish order where you say the terms before the connectives.

It failed badly. While it's easy to construct sentences that way, it puts immense cognitive load on the receiver. Probably because you don't have any structure in which to put all these terms thrown at you, we reasoned, so we reversed the order to get structure (connectives) first, followed by the terms.

It wasn't better. Turns out, receiving a structure with a bunch of holes to be filled later also results in high cognitive load.

Why? My guess is that the cognitive load mainly comes from the number of unfinished structural connections. To minimize that, you need to transmit a tree in such a way that the terms come as close as possible to the connective. In other words, not bottom or top first, but "side first".

I believe this is why infix notation is so popular. While you parse "A and B" or "X + Y" you never have more than one open connection. When you parse "(+ X Y)" you have two open connections after reading the "+". Five levels deep that begins to matter a lot.

I like the purist lispy idea of operation-first expressions, but I struggle to make my mind actually work like that. If you like clojure-type threading macros, consider that they do something similar to infix notation: they reduce the number of open structural connections during parsing.

ehnto
That's a fascinating observation. I happen to study Japanese and my first language is English, and the reversed order is often cited as one of the bigger hurdles to language acquisition.

I feel it too, it's a higher context language and I agree that it is probably the fact that you are holding onto more unresolved threads at a time. But perhaps that's just because I didn't grow up with it? I would love to find out.

An interesting observation related to this is that on top of the sentence order differences, things are generally spoken about from the largest concept to the smallest which is different to English as well.

So where we would say "I ate lunch at the park today", in Japanese you might say Today, I at the park ate lunch.

In the second sentence it feels like there is a cliffhanger until we get to the end, the smallest details are often the point of a sentence, and so it's like waiting for the punchline. My brain is on hold until we get there, but in English I must admit I can tune out of a sentence early on and usually get the gist anyway.

iamben
When it all merges, the payoff feels great. I'm a big fan of when it's used in comedy - https://en.m.wikipedia.org/wiki/Callback_(comedy)
stavros
Yeah but a callback is just a reference to a previous joke, not a tying together of unrelated points. Does the latter have a name? It seems so hard that I can't remember seeing it much.
quuxplusone
It's the third beat (final stage) of the Harold, for what that's worth.

https://wiki.improvresourcecenter.com/index.php?title=Harold

smusamashah
This reminds a lot of a post here on HN. Someone described a very different way some people talk to each other. If someone else was else was listening in, no sentence and it's response from the other person would seem related at all. But to them that communication is very coherent.

Trying to search that post.

Edit: in the discussion there was a link to a do a YouTube video where to movie characters were playing word badminton with each other.

Edit: this clip https://youtu.be/swqfFHLck1o

ehnto
You might be thinking of the discussion around the weavers and storytellers, which I only just realised the connection between The Weave and weavers.

The idea helps when talking with autistic people who might have quite extreme versions of weaving. A conversation between two weavers is kind of an exchange of blunt facts about their world views, which does sound a lot like disparate unrelated tidbits. In contrast to storytellers, who have a discrete path and story to tell, with a start and a finish.

locallost
I talk like this and not sure why. I thought about it a lot over the years and figured that I for some reason need to have a, well, reason to tell a story. And so I tell it not as just a context free snapshot, but a bit more detail to it. And sometimes that resonates with people well, especially when it's something funny, but a lot of times it's too much to ask, especially these days when everyone has a short attention span. Which is fair, I'm the one doing the talking, listening is definitely more challenging.
riedel
My mother-in-law is also a master of 'the weave'. When my wife and I visit she uses it to inform us about every possible happening of gossip and 'important events' . She just needs a key word and then she uses the chance to get all the information out in one stream of thought. (One problem is that she speaks in dialect and also assumes some deep knowledge about my wife's family relations). I often have thought of trying to map the branching. I often assumed that my wife could follow but I found out that everyone seems happy, without any deeper exchange of information.
nilsherzig
Does not render properly on iOS mobile (iOS 26 beta) https://files.nilsherzig.com/IMG_9236.PNG
nilsherzig
I should really add some enumeration protection to these image sharing urls haha
nilsherzig
https://files.nilsherzig.com/screenshots/IMG_9239.png

The difference between posting an image url without and with a random string in the url.

Blue line is successful requests (people viewing the image I posted), green are unsuccessful requests (people trying to find other files).

Second blue bump is the screenshot with a randomized „hard“ to guess url. First bump the default iOS screenshot name in the url.

grues-dinner
Also not on Firefox: https://imgur.com/a/fkaQeIp
TristanDaCunha
Same result on Firefox mobile
nilsherzig
carterschonwald
Oh!!! Thx. This makes way more sense
DonHopkins
A mobile screen is not wide enough anyway!
omgtehlion
It's not mobile, it is IE6 era all over again, when sites are designed and work only in one (dominant) browser :(
stavros
Works fine on my phone, since it was vertical.
pointlessone
I wish people did more testing or at least acknowledged the limitations. I'd expected at list some level of diligence from Dave. This is half-broken in Firefox and looks like a regular nested list in Safari.

I understand it's made for personal use but if it's posted on the public web at least a disclaimer would've been nice.

GeoAtreides
works perfectly on my firefox
Liquid_Fire
I thought it worked fine on Firefox, but then I saw the screenshot of what it actually looks like in Chrome (elsewhere in the comments).
ivape
We act like small models are inconsistent and incoherent, but we rarely point out that it actually matches certain mental states and capacity accurately. We may need to actually see, how would a 0.5B model handle the presidency, because … it could be accurate. Having a super large model simulate these things would not be authentic.

For example, it could be truly true that a developer is roughly as good as a 1.5b model. It could really be true, in which case we’re not valuing these models for their true simulation power (yet). Might be the best interview test, you must generate hand written code that’s better than a small model (or show better judgement).

For the presidency, the current benchmark to beat is GPT2 it seems.

grues-dinner
To be representative, the models need a stronger bias towards what the last person they talked to said was the truth rather than what was in their training data.
AceJohnny2
For the presidency, the current benchmark to beat is GPT2 it seems.

You're generous. I would've gone with Eliza, but on second thought that's an insult to Joseph Weizenbaum.

aDyslecticCrow
Could we do this to Jordan Patterson? I feel like his branching really needs a git tree view to parse sometimes.
N_Lens
Can git handle recursion?
codegladiator
that depends on what you mean by "can" and "git" and "handle" and "recursion"
shrx
I think the diagram would be more comprehensible if the branch (topic) name would be shown next to the "New Topic" label, not only at merges. I had to read it from the bottom up the first time to understand what's going on.
heresie-dabord
It's hard to graph the semantics of a set of arbitrary human statements. It's even harder to work with literal, even intentional non sense.

Humans can indeed make sense. Not to be too Swiftian, but in some countries, children even go to school for it.

For semantic analysis, however, git is just not the right tool. It's a chronological graph that affords diffs. For code.

We need Python NLP and spacy here. But even the best tooling won't get far. A compiler would abort nonsequential logic and unsatisfied contracts and grammar.

An important business presentation would have structure and facts. Inside the theoretical classroom, a public speech is different from casual, random remarks. Unless the speech is intended for entertainment (e.g. comedy, theatre) or some dark usage, such as propaganda.

From TFA:

the cyclical pattern of his speeches, little snippets of “the best words” and talking points assembled like a ransom note cut from a magazine

That's gold!

grues-dinner
Reminds me of a flash game (branch) or tool, art or general "thing" perhaps (branch) I suppose it depends how you see it(return)(return) that I cannot not find (branch)such is the state of the modern web(return) (branch) something in the flavour of a Jared Tarbell piece (return) where you could type and the text would be displayed in a spiral in 3D space (branch) there was a way to make a branch a thought (branch) like this (return) and then return to the parent level. but even that wouldn't handle the weave (branch) not sure if that's a good thing or not (return)
keepamovin
That's funny. I'd like to see you do this more, on more of them. More diagrams! A good source is the introduction he gives at cabinet meetings. Or the way he answers questions with the press. You could compare with his campaign speeches and improvisations.
AceJohnny2
Four minutes of the weave was about all I could handle

I wouldn't want to torture the author by force-exposing him more to Trump's inanities. That's already 5x longer than I can stand before the urge to tear my ears off becomes unmanageable.

MPSimmons
I hate to be like, "Let's use AI for this" on everything, but this actually does seem kind of like a good thing for AI to do, rather than subject a human to it.
teleforce
this actually does seem kind of like a good thing for AI to do

Actually this type of applications should be the killer application of AI.

The extreme analogy is that robot instead of human should explore the nuclear incident of Chernobyl and Fukushima.

Now we're trying to build automated analysis of ECG interpretation using AI. In order to interpret standard 12-lead ECG waveforms signal of 5 minutes for Afib detection that's equivalent of 60 minutes duration. For long duration multi-lead Holter ECG it's at least 24-hour, but I think you get the idea.

You can hire cardiologist that interpret the ECG but you probably need sub-specialist cardiologists specializing in ECG interpretation for the best results but only handful of them exist in the world with ratio of 1:100K or 1:1M for experts:populations, depending on where you're living. These expert cardiologist would rather spent the time doing more meaningful exercises for them like pace maker & IPC surgeries, teaching future cardiologists, and having holidays once in a blue moon.Even they can mistake due to human errors and other limitations. Thus this exercise is tailor made for AI.

AdeptusAquinas
Seems really unfair to the AI
robaato
Douglas Adams: video recorders watched tedious television for you, thus saving you the bother of looking at it yourself;
Ey7NFZ3P0nzAe
This would be interesting to psyhiatrists I believe. If you happen to make the code public I'm very interested (starting my residency soon)
brador
I talk like this. It’s an ADHD thing. All RAM no HDD. Just swap file thrashing like it’s 1999.
iamflimflam1
This would be very useful for understanding business people who answer questions with endless word salad answers.
sorokod
Perhaps Sankey diagrams is a better way to visualise
rzzzt
There is a top-to-bottom mode and it works in their editor, not sure about the library: https://mermaid.js.org/syntax/gitgraph.html#top-to-bottom-tb
neuroelectron
*made famous by Donald J. Trump
ggm
Change over time. Get this done for 10y or more back non teleprompted lower edit recordings, chart and compare for some metric
qwertox
An AI could generate them automatically and visualize the contradictions.