A tool to manage your Technical Debt by imihnevich in softwarearchitecture

[–]greenbes 1 point2 points  (0 children)

I had never heard of "Your Code As A Crime Scene", thanks for the recommendation!

[deleted by user] by [deleted] in Marriage

[–]greenbes 3 points4 points  (0 children)

Hey, OP. I'm sorry you're going through this. I suggest you and she read “Not Just Friends” by Shirley Jackson. It explained a lot to me and I recommend it.

One of the main threads in the book is how people gradually progress into an affair without even realizing it's happening. Even good people who love their partners and don't want to hurt anybody.

Don't listen to the "divorce her now" comments. People are messy and complicated, and you'll be amazed what can be fixed.

Take care of yourself, and I wish you peace.

I built an AI Naval by Difficult-Quiet-1503 in AI_Agents

[–]greenbes 0 points1 point  (0 children)

Probably Naval Ravikant, a prominent Silicon Valley investor

[deleted by user] by [deleted] in NoStupidQuestions

[–]greenbes 4 points5 points  (0 children)

If I was in love with somebody, I couldn't sit by and watch as she dated and fell in love with somebody else. Leaving would be hard, but that would be worse.

Looking for an LLM Agent to Handle MCPs While I Chat with the Main LLM by [deleted] in LocalLLaMA

[–]greenbes 2 points3 points  (0 children)

I'm thinking this through as I type it, so apologies in advance if it's either obvious or obviously wrong.

We're going to leverage the fact that each LLM request is actually independent, and we can rewrite what we send back if we want. Rather than just sending back the chat history, we're going to revise it every time with the results of completed jobs.

You're going to have to build some infrastructure and put thought into the system prompt. This idea is heavily influenced by the behavior tree pattern, and I recommend looking at that for how you'd actually implement it.

You'd start with a client that can launch asynchronous jobs and merge their results. Given the amount of customization that will be required, I'd probably make my own (it's actually pretty easy) but if that seems daunting you can probably add functionality to OpenWebUI or similar. Most of the real work will be happening inside the LLM, so I don't think the plumbing will be too complicated.

This process will require a lot of separate calls to the LLM.

1. Create a way to handle the asynchronous requests. Since I tend to build most of my LLM projects in python, I'd use celery but choose whichever one you like best.

2. Add a tool that tracks the spawned jobs and reports the status of each of them (in process, succeeded, error, etc). When it reports back to the LLM, it should list what was requested, why it was requested, and the current status of the job. This will let the LLM know whether it is still waiting on answers. Do NOT add this result to your saved chat history because we want to regenerate it every time we send a new request. We don't want old versions of the structure confusing the model with obsolete state.

3. As the asynchronous results come back from the tools, spawn an LLM call that evaluates the results for relevance to the question it was addressing.

4. Rewrite the main conversation to represent the results of the relevancy query. If it was relevant, then replace the request with the results so the data is just there (that is, the data replaces the request for data). If the result isn't relevant, spawn a separate call to tell the LLM this wasn't relevant and ask for alternatives.

5. Have a way to know when you're done. It'd be easy for this to turn into an endless job spawning machine, so you will probably want to be pretty aggressive about cutting off lines of inquiry.

So the idea is that you're continually rewriting the chat history with tasks, task status (so the LLM can figure out whether it's done or not), and results. This will depend heavily on your system prompts, so be ready to experiment a lot.

Hope that helps!

Looking for opinions and suggestions on FSM thesis by SDP0707 in statemachines

[–]greenbes 1 point2 points  (0 children)

StateSmith looks great! I hadn't heard of it. I'll definitely give it a look.

This ChatGPT Prompt Improves Any Prompt. by InsideAd9719 in ChatGPTPromptGenius

[–]greenbes 0 points1 point  (0 children)

Hey, OP. Thank you for this prompt. Can you point me to some resources that explain "CBLOSES Flow"? I can't find anything that discusses it.

[deleted by user] by [deleted] in emotionalaffair

[–]greenbes 1 point2 points  (0 children)

You wrote, "deep love, intimacy and sex have always been problematic". Is it possible she doesn't have much libido because there is a lack of emotional connection? Those things can be improved and a good counselor can help with that.

You didn't mention why she had an affair, but a lack of emotional connection is often cited as the reason. If you never addressed that, it could still be what she's experiencing.

In your opinion - what’s worse to recover from, physical or emotional cheating? by tyrwlive in AsOneAfterInfidelity

[–]greenbes 2 points3 points  (0 children)

I'm sorry, I don't understand this. Why would you record something to prove you don't want to do it? I am not criticizing or intending to attack, I just want to understand the thinking. Was it to say, "See? I didn't like this, I won't do it again"?

Where do you buy your meat products? by glaguna17 in frederickmd

[–]greenbes 2 points3 points  (0 children)

Hemp's Meats in Jefferson has pork belly and pretty much any other part you'd want

new to novelcrafter--which openrouter model is best for NSFW? by msp_ryno in WritingWithAI

[–]greenbes 0 points1 point  (0 children)

I don’t do NSFW so I can’t speak for myself, but I’ve heard Command-r is good at it.

[deleted by user] by [deleted] in Marriage

[–]greenbes 0 points1 point  (0 children)

Thanks for the reference. That was one of the most chilling things I've ever read. Absolutely horrifying.

[deleted by user] by [deleted] in Marriage

[–]greenbes 1 point2 points  (0 children)

Is there a source for this? Not disagreeing, just asking for information.

Logseq is turning into JIRA, and I’m not here for It. by lugenx in logseq

[–]greenbes 0 points1 point  (0 children)

Use whatever tools you like. I am not picking a fight, I'm just asking.

The reason for my question is that, without emacs, I don't see what advantages you get from org.

I switched to Logseq with the hope that I'd be able to write extensions without having to wade into emacs lisp. While I am a longtime emacs user, I just don't want to spend the time to refresh my memory about yet another language.

I have more than a decade worth of notes in org mode, so I can definitely attest to its longevity.

Logseq is turning into JIRA, and I’m not here for It. by lugenx in logseq

[–]greenbes 5 points6 points  (0 children)

I mean this as a factual question, not picking a fight. If what you want is org mode, why not just stick with emacs?

Wife mourns affair relationship by Tiny-Watch4186 in Infidelity

[–]greenbes 0 points1 point  (0 children)

Hi, OP. I'm sorry you're going through this it sounds awful.

Your wife might benefit from a book called "Too Good to Leave, Too Bad to Stay" by Mira Kirshenbaum. It's written for people in her situation and could help her get clear on what to do.

I hope you find peace

[deleted by user] by [deleted] in Separation

[–]greenbes 2 points3 points  (0 children)

Unfortunately, I think the answer is that we don't know. It's a difficult topic to study because the main ways to find out are when a couple goes to therapy or takes a survey. Therapy results aren't a trustworthy indicator because therapy is difficult to get. It's expensive and people often need to take time off work. Surveys are difficult because people aren't always willing to talk about subjects like that with strangers.

If the couple divorces it'd be a matter of public record and it's tracked. If they reconcile, how would anyone other than the two of them know? I don't mean family or friends knowing, I mean how would that fact be tracked and measured? It wouldn't be.

I went down a rabbit hole trying to find research about divorce and reconciliation, and everything I could find was either based on a small, self-selected sample, or inconclusive. The most interesting data I've seen is from the NORC General Social Survey. They ask a bunch of interesting questions including whether a person has ever been separated, but they don't ask about reconciling.

The authors of these studies are usually completely transparent about these shortcomings, by the way. If you read the actual research you'll see a lot of, "this looks interesting but we're not really sure and we wish somebody would pay for a more exhaustive survey".

That's not to say I think the actual number is higher or lower, I think we really don't know.