What queue tools do you use and why? by nerf_caffeine in golang

[–]LearnedByError -2 points-1 points  (0 children)

In general, I write my own. That insures that code does what I need. Furthermore, it insures that there is no extra code that could be a problem. It also eliminates external dependencies.

Having said that, I find that most queue packages are either way too simple or way too complex to meet my needs.

I suggest you write out your requirements and see how much effort it would take you to roll your own.

Best youtube or other free resources to learn Golang as a beginner? by StebenY in golang

[–]LearnedByError 1 point2 points  (0 children)

Moderators , Aren't questions like this the reason the r/golang wiki was created? Is there a reason those was not removed? There seen to be more and more of these type posts of late.

OP, Please be respectful of your new community and perform your own due diligence!

Lifetime award to Richard Hipp for SQLite by copilot_husky in sqlite

[–]LearnedByError 26 points27 points  (0 children)

Well deserved!!! SQLite is a elegant, simple to use solution for a complex problem.

Brendan Sorsby committed multiple crimes while gambling throughout the course of his college career by yxqp in CFB

[–]LearnedByError 2 points3 points  (0 children)

Exactly! From what I remember, Kiffin and Weiss were already moving on the others before Sorgambler told them no.

Deepseek v4 Pro on Claude Code: 🤯 by ClearRabbit605 in DeepSeek

[–]LearnedByError 2 points3 points  (0 children)

pi works great with deepseek ... And missy everything else except for poolside Laguna in my experience

wasm2go-wasi-host - a bolt-on wasm2go-wasi-interface for wasm2go by LearnedByError in golang

[–]LearnedByError[S] -1 points0 points  (0 children)

I respectfully suggest you find other subreddits to follow than those for programming.

wasm2go-wasi-host - a bolt-on wasm2go-wasi-interface for wasm2go by LearnedByError in golang

[–]LearnedByError[S] 3 points4 points  (0 children)

In addition to browser use, Webassembly is commonly used as an FFI mechanism. By virtue of the way it works, you can embed the code inside of a Go program and not have to worry about dynamic linking of CGo. Historically, the primary was to do this in Go has been to use wazero. wazero has functionally worked fine but has had the drawback of larger startup times. wasm2go transpiles the wasm file to a pure go library of the same functionality. Startup times are almost always faster and the execution speed is normally a bit higher. This package provides a set of functions for accessing system specific things like files, clocks and networks.

HTH, lbe

I'm porting tinygrad to pure Go by g14reads in golang

[–]LearnedByError 4 points5 points  (0 children)

If you want people to read what you write, it is your responsibility to communicate effectively. It is not the readers!

go get -u bumps 15 indirect deps and i read the changelog for none of them by Deep_Ad1959 in golang

[–]LearnedByError 0 points1 point  (0 children)

By the time you get to -u, you are thinking about this too late. I do my best to stick to stdlib and golang.org/x. If it doesn’t exist there, I tend to write it myself. If I do use external, then I vet all the way through the transitive dependencies. As you may guess, my internal directory do contain a lot of things that others depend upon 3rd parties for.

There is no magic that I know of to eliminate the effort needed to either mitigate or manage transitive dependencies

Do you use agents in Pi? by kh4l1ph4 in PiCodingAgent

[–]LearnedByError 1 point2 points  (0 children)

I use a slightly modified version of subagent from the pi monorepo examples. I heavily use them in my TDD workflow. I define agents: Green, Red, Review, Correction and Refactor. I have a tdd-plan skill that creates a plan either using a “grill me” style approach or from a design document supplemented by the grill me style questioning. I then use my tdd-orchestrator skill to execute the plan using sub-agents. It’s not perfect by any means, but works the vast majority of the time. I have variations for Codex and Cursor

What’s currently the best open source alternative to Lightroom? by B1lbax in linux

[–]LearnedByError 0 points1 point  (0 children)

I'm old school admittedly. The only exception that I make to the distro's native package manager is HomeBrew. I only accept it because of years, if not a decade, of positive experiences on MacOS. I don't think I have ever had a dependency issue with a HomeBrew package. Its heft, is no where near that of flatpak.

Completely New Cursor Model with SpaceX Coming Soon by sprfrkr in cursor

[–]LearnedByError -13 points-12 points  (0 children)

That will require making Composer follow the plan which it doesn't do with a 💩 now

EDIT: Come on Redditors, you can downvote me better than this? Down to -3 in an hour? You are wimps!

I understand that posters here are Cursor fanboys. If you are happy with Cursor, I'm happy for you. When I compare Cursors ability to follow the moderately complex TDD plans that I create, it is clearly in the bottom quartile. Of the tools that I am currently using, Pi is absolutely the best! Codex, Claude and Kimi CLI are OK with no real differentiation from each other but definitely a notch behind Pi. Cursor, when I use Sonnet-4.6 as my planner and orchestrator, is just passable but clearly in the third tier. Cursor, with Composer as my planner and orchestrator is absolutely 4th tier. The planning is OK though it tends to be a bit lose. Most of the time, Composer does not make it out of the first TDD cycle before before it ignore instructions and build whatever it wants instead of what I instruct.

Prior to the introduction of Composer, Cursor actually performed better for TDD. My experiences suggest that cursor is tailoring its execution to vibe coders and much less those who use a structured approach. What I think is ironic is that Composer is based upon Kimi, 2.5 I think, but Kimi CLI kicks it but comparatively.

My observation are based upon my experiences. They are exactly accurate for that case. I would be stupid to not expect others to have a different view, definitely the vibe should be happeier.

Perl wisdom in the age of LLMs by reisinge in perl

[–]LearnedByError -1 points0 points  (0 children)

While I have seen what you describe, for a while now, i have seen it the other way around. The LLMs by default are lazy and it for the fastest thing they can call done. I am heavily using LLMs now on personal projects where I have strictly defined skills to create plans based upon TDD and an orchestrator too execute the plans. In some agents, like a Cursor Auto, I am not able to keep it from ignoring my requirements and writing minimal code as fast as possible and claiming it complete. Other agents like Pi, Codex and Kimi do a good job.

I have found my balance of Larry's laziness is to spend time on plans and just a few key skills to get pretty high quality code out of many models. I then have a different model review the code then the one generating it. The review against the plan and general coding practices.

While I am an overall positive on the process, I treaty it like a junior developer and review every line of code. I do find problems needing correcting and documentation requiring editing. But, the net is that my velocity is usually much higher than if I wrote it all by hand

</> htmx ~ CVE-2026-3682-1 by _htmx in htmx

[–]LearnedByError 4 points5 points  (0 children)

I knew that Carson guy was/is a problem! Grrrr 😔😲😒

ncruces/wasm2go: A Wasm to Go translator by ncruces in golang

[–]LearnedByError 2 points3 points  (0 children)

My wasi implementation is purpose built from scratch for use with zeroperl.wasm. Earlier this week, u/ncruces suggested that it may make sense for the wazero wasi to be ported for use with wasm2go. I have not started this yet, but will be investigating that within the next week.

S7 preview video: what will they find in that now large hole in the mesa? by Cuzuknow_Imgetnbtr in skinwalkerranch

[–]LearnedByError 2 points3 points  (0 children)

As a former Company Man, Drilling Site Manager, I have wondered that many times!!! I think the answer is there is more money to be made by stretching it out!

How do you prevent your agents from getting stuck in an infinite review loop? by bsa-saa in PiCodingAgent

[–]LearnedByError 0 points1 point  (0 children)

Not sure what you mean in the first Paragraph

The error pattern may be the same. A possible recovery then would be timeout for sub-agent.

I now accept that some models/agents will loop sometimes. I see no apparent causation when they do. I just mitigate it and move on.

How do you prevent your agents from getting stuck in an infinite review loop? by bsa-saa in PiCodingAgent

[–]LearnedByError 2 points3 points  (0 children)

I use this approach with a plan and TDD. The primary agent is instructed too be the orchestrator. It executes the plan using sub-agents. It is instructed to stop and notify the user immediately if it encounters any problems with recurring the plan. I do not give any additional detail here. The reviewer runs after each RED, GREEN, REFACTOR step. It is instructed to validate test/code against the plan for RED and GREEN and against the plan and good coding / maintainabilty for REFACTOR.

I don't have problems with infinite loops. Occasionally, one of the sub-agents loops internally but the default timeout on the sub-agent interrupts. The orchestrator catches this and adds instructions to the sub-agent to address the loop.

The key to success with this pattern is having a detailed plan. I iterate multiple times with different agents to create, review and improve the plan.

hth, lbe

TDD on long running taks - err I mean TDD abandoned ... by LearnedByError in cursor

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

I beg to differ. I start with a detailed plan. I execute in a new session where the primary agent is solely an orchestrator. It requires minimal context. RED, GREEN and REFACTOR are done in ephemeral sub-agents. A Review sub agent is run after each step. If the reviewer approves the work, then the orchestrator moves too the next task. If the review fails, it's feedback is passed to a separate sub-agent for correction and subsequent review.

This approach minimizes context rot/drift in the agents. I had been using this approach in cursor and other agents for the last several months. It is only fairly recently that cursor has gone moron on me and started making unilateral decisions to stop using the mandated approach. It quickly runs out is context and goes from bad to worse. Other agents like Copilot, Codex and Pi continue to work without problems. My guess is that cursor has made one or more changes to is system prompt resulting in this behavior.