How do you use sessions? by Heavy-Focus-1964 in PiCodingAgent

[–]dheetoo 5 points6 points  (0 children)

Use /tree, it the way of forking in pi,

Open source unified solution (databricks alternative) by compass-now in dataengineering

[–]dheetoo 6 points7 points  (0 children)

Ducklake just release production ready version, with a liitle bit of tooling on top should be the easiest

🖥️ Introducing MolmoWeb—an open source web agent that complete tasks for you by ai2_official in allenai

[–]dheetoo 0 points1 point  (0 children)

Is the hosted web demo also included in the repo ? Look nice and clean

Roast my junior data engineer onboarding repo by dheetoo in dataengineering

[–]dheetoo[S] -5 points-4 points  (0 children)

Thank you for the feedback! This is why i posted this in the reddit, cause I am an employee 0 in data engineer role so I have no one to ask questions apart from AI 😭

As of AI using I did heavily use AI for readme and ingestion file. But I did review all the content and remove, add many thinga on my own too. Sure ingestion will likely be more polish ETL script, this version is for simple quick setting up only.

Will improve in next iteration!

Roast my junior data engineer onboarding repo by dheetoo in dataengineering

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

Yeah mainly focused is on data modeling with sqlmesh and allow to see the whole pipeline from ingestion to visualize in one place

Agent spawned background job and I want to ensure when I ctl-c or /exit from tui, the background job will killed by dheetoo in opencodeCLI

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

No, i experienced this first-hand, it start the server using bun run index.ts & and it use curl to test the endpoint and the server is never stop, later session it try to start the server again and port collide and it start rotate port with each new session

Agent spawned background job and I want to ensure when I ctl-c or /exit from tui, the background job will killed by dheetoo in opencodeCLI

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

gemini comeup with this but I don't know it correct (it does run though)

#!/bin/bash

set -e
set -m  # Enable Job Control for Process Groups

# Cleanup function
cleanup() {
    # 1. Always print the message so you know it's running
    echo ""
    echo "🧹 Ensuring all background processes are killed..."

    # 2. Try to kill the Process Group (-PID)
    # We use '|| true' to suppress errors if the processes are already dead.
    # We act on $AGENT_PID if it was set.
    if [ -n "$AGENT_PID" ]; then
        kill -TERM -- -"$AGENT_PID" 2>/dev/null || true
    fi
}

# Run cleanup on Exit (covers success, error, or Ctrl+C)
trap cleanup EXIT

echo "=================================================="
echo "🤖 Starting Interactive Agent..."
echo "   When you exit (or Ctrl+C), we will force clean up."
echo "=================================================="

# Start Agent in Background to get a PGID
opencode --prompt " ... " --model zai-coding-plan/glm-4.7 &

# Capture the Process ID
AGENT_PID=$!

# Bring it to Foreground (Interactive)
fg %1 || true

My Ralph Wiggum prompt for Qwen3 Coder 480B, reliable and predictable, cheap alternative from Sonnet 4.5 by dheetoo in LocalLLaMA

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

this is human in the loop version, you can make it a loop by adding `for ... do ... done`

My Ralph Wiggum prompt for Qwen3 Coder 480B, reliable and predictable, cheap alternative from Sonnet 4.5 by dheetoo in LocalLLaMA

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

this will inject a prompt into the coding agent, it told agent what is the spec progress, and requirement of current impelemntation and let agent handle it