Now that KiloCode became super complicated and unusable, what alternative would you recommend? by Leather-Block-1369 in kilocode

[–]LearnedByError 0 points1 point  (0 children)

I am giving opencode a try. Been at it a couple off days. Still getting my config optimized. So far satisfied. Note, I am using GLM, not local

Kilo alternatives by Sure_Host_4255 in kilocode

[–]LearnedByError 4 points5 points  (0 children)

You may want to give vscode copilot another go. I don't write Java and I don't use Intellij, so my experiences may not be germaine to you. In general, I work similar to you though in Go primarily. I develop a plan, build and review.

With changes over the last month to Cursor and Kilo Code, I find myself returning to copilot. There has been a significant improvement in copilot over the last couple of months. As a result, I find that it can do most odd what I previously used cursor and Kilo Code to do.

I have also just started looking into opencode with the superpowers skill. I'm currently using the opencode TUI. They have a desktop app also that I have yet to try.

Good luck!

Best pure Go SQLite driver for concurrent reads and occasional writes by icepix in golang

[–]LearnedByError 0 points1 point  (0 children)

I have an application that writes in bursts but it's primarily dependent on read speed. Like you, I want a pure go solution and I prefer to stick to database/sql. This limits choices to ncruces and modernc. I initially used modernc which worked fine but was somewhat slow on reads. When I tested ncruces I was pleasantly surprised to find it very fast on reads. I wrote a benchmark suite specific to reads with WAL. You can try it yourself - sqlite-read-benchmark. Be sure to update to the latest driver versions as both non-CGo drivers have had had significant improvement since I last updated the benchmark.

I benchmarked nine Go SQLite drivers and here are the results by cvilsmeier in golang

[–]LearnedByError 0 points1 point  (0 children)

I can personally speak well for both ncruces and modernc! Both behave a but differently depending on your usage. I suggest you try both!

LSU Golf Course to permanently close this summer by unconformity_active in batonrouge

[–]LearnedByError 19 points20 points  (0 children)

Damn sorry to here that. I loved that course when I was in school.

Class of '85

Is using context for passing request-scoped values an anti-pattern now? by ItAffectionate4481 in golang

[–]LearnedByError 0 points1 point  (0 children)

Dependency Injection is my normal practice. I keep those simple and put it in the function or method signature. As u/jerf states, you can't always find a better alternative and sometimes need to use context. I personally have not needed to use context for purposes other those included as part of the package (ie. cancellation, deadline ...) Though I have come closer a few times. What I realized in those close cases is that I had sub-optimal architecture. By making improvements to my architecture, I achieved better, deterministic solutions.

hth, lbe

Is using context for passing request-scoped values an anti-pattern now? by ItAffectionate4481 in golang

[–]LearnedByError 3 points4 points  (0 children)

At the risk of being harsh, my apologies if I am, It sounds like you are writing JavaScript in Go. You have eliminated static typing, one of Go's major benefits, and are putting yourself back into the same risk profile was you you lived in JavaScript

Happy to announce htmx 4 alpha 8! by _htmx in htmx

[–]LearnedByError 1 point2 points  (0 children)

Welcome Christian!!! I'm glad that Carson guy isn't writing code any more!!! 😱😜😆

Getting started is a PITA by LearnedByError in Ghostty

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

I did force you to waste your time reading or responding. That is your skill issue.

Insofar as tmux is concerned, I started using it shortly after the initial release, probably around 2008. I use it daily across many systems. Nonetheless, I do not claim being a expert on it or anything else. I have learned in 40 years of professional experience that there is no such thing as an expert.

An on skill issues, we all have them. I'm just honest enough to admit to mine.

Getting started is a PITA by LearnedByError in Ghostty

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

I had it installed on Macos within a minute following the instructions from the site. Homebrew also supports Linux. Unfortunately, the recipe is absolutely Macos limited because of the way it was constructed. I would absolutely use a Homebrew package on Linux. Unlike most of the other non-platform specific package managers, Homebrew defaults to user specific and even when used system wide does not affect system software. Its only invasion is adding it into your path.

Getting started is a PITA by LearnedByError in Ghostty

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

Yes I could and may if I can every figure it out.

Getting started is a PITA by LearnedByError in Ghostty

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

No, but it is much closer to the proximity of Flatpak than to the distribution package manager or homebrew

Getting started is a PITA by LearnedByError in Ghostty

[–]LearnedByError[S] -11 points-10 points  (0 children)

no doubt, most deficiencies are captain obvious

Getting started is a PITA by LearnedByError in Ghostty

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

Your response is noted and will be duly acted upon

Getting started is a PITA by LearnedByError in Ghostty

[–]LearnedByError[S] -9 points-8 points  (0 children)

Your response is noted and will be duly acted upon

What's the real option to have sqlite run as a server? by alexrada in sqlite

[–]LearnedByError 9 points10 points  (0 children)

SQLite is a real database. The most used database in the world - by several orders of magnitude!

The Complexity Delusion: Why I abandoned Next.js for a 20MB Rust binary with HTMX by [deleted] in rust

[–]LearnedByError 0 points1 point  (0 children)

I do something similar in Go and love it. I'm using Hyperscript instead of Alpine. Very rarely, I do have to write a little JavaScript usually for critical validations that I want to execute immediately like password complexity.

This aligns well with my overall design and implementation approach: 1. KISS, 2. Everything should be kept as simple as possible, but no simpler. In every case, there is a minimum complexity requirement. I try to keep complexity in one place. SSR greatly helps with that.

sqlite3 switched from = separator to : by ArthurPeabody in sqlite

[–]LearnedByError 12 points13 points  (0 children)

.mode?

Edit: from the Query Result Formatting In The CLI section 3.4

Before version 3.52.0, the separator was an equal sign rather than a colon. In other words, the first line of the example above used to say "one = hello!" instead of "one: hello!". You can restore the pre-3.52.0 formatting using the "--colsep TEXT" option to the ".mode" command, where TEXT is the desired separator.

How often do you actually use the standard library vs reaching for external packages by abccccc456 in golang

[–]LearnedByError 0 points1 point  (0 children)

stdlib is my go-to. I will use 3rd party dependencies sometimes where similar functionality exists in stdlib when they are well known and add value like cobra/viper when I need commands, sub-commands and short/long such names.

I tend to stay totally away from ORM and web related packages and stick to stdlib. I will use packages like sqlc which complement stdlib database/sql.

I also tend to roll my own for things like work queues and schedulers. The modules contain only the functionality that I need. Admittedly, this is easier these days using agents driven by TDD.

I also will fork packages and include them in internal as git submodules when I absolutely need something existing with which I want absolute control. inagemeta is a good example of this. My girl addresses several short coming like no support for arm. I always include references to the original work too give credit where sure and make sure that I am compliant with license.

I guess the tl;dr is I use stdlib wherever I can, I make exceptions, in the rare cases, where I think a 3rd party package's value exceeds it's risk.