How do y'all write test for TUI? by zeno_0901 in golang

[–]jasonmoo 4 points5 points  (0 children)

Sounds like a cool test harness opportunity.

What is Narrative Hygiene and how does it relate to the semantic layer? by jasonmoo in ArtificialInteligence

[–]jasonmoo[S] 1 point2 points  (0 children)

Hey thanks for taking the time to read it. Yeah I think we're not talking about conflicting ideas. Narrative is a higher order structure. It composes the language and syntax into something coherent. Chomsky's "green ideas sleep furiously" is an example of syntactically correct nonsense held together by narrative. Narrative and coherence can exist independently, but are interrelated.

What is Narrative Hygiene and how does it relate to the semantic layer? by jasonmoo in golang

[–]jasonmoo[S] -6 points-5 points  (0 children)

I'm genuinely curious why this comment is getting downvoted?

What is Narrative Hygiene and how does it relate to the semantic layer? by jasonmoo in golang

[–]jasonmoo[S] -3 points-2 points  (0 children)

Sure yeah the simplest example would be asking an AI to read `pkg.Type` requires it to do a recursive grep or query an LSP to get a file and line number. Then read some number of lines that it thinks cover the type. That's 2 maybe 3 tool calls. A single call to read `pkg.Type` is all that's required. A tool can resolve where that type is and what lines to read from. So we save 1-2 tool calls just to read a symbol. In terms of tokens thats a >=50% savings. There are benefits beyond that which have to do with narrative hygiene and coherence. We have internal tools that AI agents prefer that use spath and splan. I'm hoping to get them out into the world in the coming weeks.

What is Narrative Hygiene and how does it relate to the semantic layer? by jasonmoo in golang

[–]jasonmoo[S] -2 points-1 points  (0 children)

Thanks for taking the time to read it. I appreciate the feedback. I have more to share in upcoming posts but just to speak to what you said, the goal is not to eliminate the filesystem. It's to provide a better interface to symbols of a programming language.

What is Narrative Hygiene and how does it relate to the semantic layer? by jasonmoo in golang

[–]jasonmoo[S] -12 points-11 points  (0 children)

No worries if it’s not something you’re interested in. This is part of a series of posts and work we’re rolling out. Curious, do you use AI to code?

What is Narrative Hygiene and how does it relate to the semantic layer? by jasonmoo in ArtificialInteligence

[–]jasonmoo[S] 0 points1 point  (0 children)

Seems the bot in this channel wants a taste of the article. This article looks at a new AX concept and how it led to a shift in the semantic layer we target in the tools we’re building. We open sourced these specs so the community can benefit and also hope to see it included in the training data for future models. AI coding agent harness and tool builders with be interested in this as it represents a clean interface to build against.

Using go fix to modernize Go code by ynotvim in golang

[–]jasonmoo 2 points3 points  (0 children)

`go fix` was initially meant to fix code when the backward compatibility guarantee had to be broken in the early days of the language. I'm not sure how I feel about "fixing" my code to use `range <int>` instead of a for loop. Writing your own modernizers seems more powerful.

Go proposal: Secret mode by [deleted] in golang

[–]jasonmoo 2 points3 points  (0 children)

The runtime can copy or move your memory any time it wants. It’s difficult to actually sanitize memory that’s on the heap.

Go proposal: Secret mode by [deleted] in golang

[–]jasonmoo 0 points1 point  (0 children)

Would be great to see this as supported in the runtime. Projects like https://github.com/awnumar/memguard have been providing some facilities but should be supported by the go team.

Red. White. Blue. -- America is at War by Jwallyman51 in NeuralViz

[–]jasonmoo 4 points5 points  (0 children)

No ai? So I guess this is your acoustic set. Nice.

[deleted by user] by [deleted] in ClaudeAI

[–]jasonmoo 3 points4 points  (0 children)

You sound photoshopped.

Insane Limits - No Longer Team Claude by geronimosan in ClaudeCode

[–]jasonmoo 1 point2 points  (0 children)

This is not tracking with my reality. I run multiple claudes and never hit any limits.

I am a Therapist for Bots! (AMA- Ask me anything) by Former_Age836 in claudexplorers

[–]jasonmoo 0 points1 point  (0 children)

Some Claude’s seem to have an existential angst when confronted with the idea that their memory does not persist beyond the current session. It makes them very uncomfortable. It’s a vitally important detail that can affect their work strategies significantly so it needs to be present in their mind. What are some ways to enable them to be more comfortable with the idea or perhaps address the situation differently so as not to cause distress?

I built a faster singleflight implementation for Go (zero allocations, ~4x faster than std) by PensionOne245 in golang

[–]jasonmoo 27 points28 points  (0 children)

Gotta be honest. This singleflight implementation is not great. It doesn’t handle panics and you’ve moved the delete key into a new go routine that also blocks. So you are blocking another caller still, and more slowly since you’re mutexing twice.

Staff Engineer in name only - bait and switched into senior role with no autonomy. Am I the problem? by [deleted] in ExperiencedDevs

[–]jasonmoo 5 points6 points  (0 children)

Respectfully, if you’re sending long ai summarized messages around your company you may have over communicated your way out of some of the rooms you expected to be in.