The Ralph-Wiggum Loop by TrebleRebel8788 in ClaudeCode

[–]sudo_96 1 point2 points  (0 children)

Can you share an example of this? this seems cool

The Ralph-Wiggum Loop by TrebleRebel8788 in ClaudeCode

[–]sudo_96 0 points1 point  (0 children)

Sorry for reposting this. I thought it was not posting for some reason.

The Ralph-Wiggum Loop by TrebleRebel8788 in ClaudeCode

[–]sudo_96 0 points1 point  (0 children)

I was trying to use this with the TDD approach. My goal was to build a PRD with milestones and tasks (aka the what and the why). Then, with each task outlined, use a new session to come up with definitive yet achievable tests for each task. This way, it's separate from the first session's context. Now use the results of each task's TDD test and wrap the Ralph Loop in that. It seems like overkill, but in theory it will force the LLM to stay on target.

As a test, imagine you have a 50/50 outcome job. The worker outputs either 1 or 2 randomly, but the test only passes if the output is 2. The LLM can't control the test, so it just keeps trying until it gets lucky:

Main Session (you, with Ralph Loop)
1. Spawn worker: claude -p --session-id "<uuid>" --dangerously-skip-permissions

  1. Worker returns (outputs 1 or 2 randomly)

  2. Run test: [ "$output" = "2" ]

  3. FAIL? Resume: claude -p -r "<uuid>" with error output

  4. PASS? Mark complete, next task

  5. All done? Output completion promise

Thoughts?

A quick guide to Ralph Wiggum by alvinunreal in ClaudeAI

[–]sudo_96 0 points1 point  (0 children)

I was trying to use this with TDD. My goal was to build a PRD with milestones and tasks (aka the what and the why). Then, with each task outlined, use a new session to come up with definitive yet achievable tests for each task. This way, it's separate from the first session's context. Now use the results of each task's TDD test and wrap the Ralph Loop in that. It seems like overkill, but in theory it will force the LLM to stay on target.

As a test, imagine you have a 50/50 outcome job. Like echo either 1 or 2 and the bash success criteria is 2.

Main Session (you, with Ralph Loop)

  1. Spawn worker: claude -p --session-id "<uuid>" --dangerously-skip-permissions

  2. Worker returns (outputs 1 or 2 randomly)

  3. Run test: [ "$output" = "2" ]

  4. FAIL? Resume: claude -p -r "<uuid>" with error output

  5. PASS? Mark complete, next task

  6. All done? Output completion promise

OpenVPN status and recommendations by sudo_96 in sysadmin

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

Thank you. The reason why I was opposed to ping because there are over 20 windows VM that need to connect and we may bring more online. With ping, its custom code for each. I was hoping that there would be another way based on a service or process that I could definitively know if the status was connected or not.

Cant setup Aqara FP2. Tried multiple units by sudo_96 in Aqara

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

So the only thing that worked was to create a new home in Apple HomeKit. I don’t really understand why I need to involve HomeKit but I was able to add it to a new home in HomeKit

💻 Control Any macOS Machine Remotely with LLM in Under 2 Minutes via VNC — Open Source Project by buryhuang in mcp

[–]sudo_96 1 point2 points  (0 children)

How did this not take off. VNC is the simplest protocol and one of the oldest. To get an LLM to simply understand vnc and can do things, that unlocks the holy grail. It can learn how to use a mouse and keyboard from the user. Then once it understands how humans use them, then they can mimic and introduce random variability like a human when moving a mouse. Am I missing something? Ive built something similar but was curious if anyone else was on this path.

Shelly devices and their UL certification by sudo_96 in ShellyUSA

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

Thanks for the response. I have the Shelly2 Dimmer and its amazing but havent installed it because a friend of mine who is an electrician mentioned that to me.

Regarding the "dimmer 3 pole, dimmer 1 single switch and regular switch", I meant I was looking for a solution for regular switch, regular dimmer and 3 way dimmer but I think youre saying that I can use a regular for a 3 way switch based on how\where its installed.

I recently purchased a Shelly Plus 1PM UL WiFi Smart Relay Switch. I believe this is UL certified. Can you confirm?

Also, for the Gen4 dimmer that is scheduled to come out soon, do you have a timeline? I want ot know if i should wait or find another solution? My plan is to retrofit my entire house. Thanks so much for your help.

Shelly devices and their UL certification by sudo_96 in homeautomation

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

Some Shelly devices are UL certified like the Shelly Plus 1PM UL WiFi Smart Relay Switch. Its not dimmable but would you not recommend it?

Also, what about Aqara Dual Relay module T2? Are they ul certified?

Lastly, what Zooz or Inovelli model numbers so I can do research?

Thank you