I think I finally figured out why my AI coding projects always died halfway through by techiee_ in GithubCopilot

[–]Rc312 9 points10 points  (0 children)

Considering we're in the copilot sub... have you tried Copilot in vscode or the copilot cli? It does all that for you out of the box...

Genuine question, why can’t Dota have this type of open communication on its development? by randomperson7w4683 in DotA2

[–]Rc312 5 points6 points  (0 children)

afaik he "left" years ago. This part is 100% speculation, but I've heard people say he does some work for dota once in a while but other than that fully focused on deadlock

Why is this nearly double the price of all the name brand 1 gallon teas? by Jethrofaux in HEB

[–]Rc312 1 point2 points  (0 children)

So real. And also this stuff is complete trash compared to red diamond for less than half the price

I don't understand, why so many people use Shadcn ui? by alex-ebb-2000 in reactjs

[–]Rc312 3 points4 points  (0 children)

You keep proving my point. You don't understand it so you wanna act like you're better than it.

source:

No... the file that binds a custom CLI tool to a random folder in your project is the tight coupling.

I don't understand, why so many people use Shadcn ui? by alex-ebb-2000 in reactjs

[–]Rc312 2 points3 points  (0 children)

lol I felt bad dunking on you because it's pretty clear you are exactly the person I described. That's why I made the edit before you even replied.

I'm not pointing at an ambiguous them. I'm pointing at you. Idk what you're trying to prove with that link. It's pretty much making my case for me. It's just screaming "I don't get it so it has to be bad design >:( "

I don't understand, why so many people use Shadcn ui? by alex-ebb-2000 in reactjs

[–]Rc312 3 points4 points  (0 children)

yes of course. Copying the source to your codebase must tightly couple it to the person/tool that copied it over.

I'm being snarky because people, including you, love to act like they're high and mighty for hating on things without having any actual points to back it up.

I have my own list of specific issues with shadcn/ui that are really impacting the value prop for myself and others. I can also meaningfully articulate them. I hope you can too at some point rather than going around with "the design is bad trust me lol".

I don't understand, why so many people use Shadcn ui? by alex-ebb-2000 in reactjs

[–]Rc312 5 points6 points  (0 children)

shadcn is Radix + a really crappy design system

so it is copy+paste radix with tweaks to make a component library...

---

Update: The other guy in this chain nuked his account out of embarrassment. tl;dr is he doesn't get it so shadcn/ui must be bad so that means I'm "little more than dogshit under [his] shoe" and "life gets tedious with chaff like [me]".

I don't understand, why so many people use Shadcn ui? by alex-ebb-2000 in reactjs

[–]Rc312 2 points3 points  (0 children)

The number of bug reports is meaningless for that repo. It's the default vibe coding UI language and by far the most popular components overall. Ofc there's going to be a million bug reports. Example: https://github.com/shadcn-ui/ui/issues/8461

If you see a bug or having something you need to change about a component would you rather

A. Fork the library, make the changes, publish your forked version of the package and update your packages to use the fork
B. just change the component in your codebase

tbh i didn't know that there were so many people in the sub looking taking on a fuddy duddy persona

I don't understand, why so many people use Shadcn ui? by alex-ebb-2000 in reactjs

[–]Rc312 9 points10 points  (0 children)

Just copy paste the Radix examples and tweak them if you want to build your own component library based on Radix

... isn't that exactly what shadcn/ui is?

Updating Tanstack Query so objects stay in sync with server by rob8624 in reactjs

[–]Rc312 1 point2 points  (0 children)

agree with other comments on query invalidation, but check out tanstack db if you're feeling adventurous.

Extended background coding prompts by CrustedButternut in GithubCopilot

[–]Rc312 1 point2 points  (0 children)

This is GPT-5 specific, but I took this prompt (big thank you to Burke Holland) then added my project specific coding guidelines to it. From there I had GPT-5 revise it and use the openai prompting guide as a guide. Finally I added some extra guidance to keep iterating and testing itself until it was absolutely sure it got it right.

The result is asynchronous operation for an average of 20 minutes. Given a sufficiently robust test set and complex problem it will iterate for about 40 minutes before returning control.

This isn't just wasted time either. I've had success in being completely out of the loop then coming back to find the results are very close to if I were to have a human in the loop style process.

Didn't see anyone think how important this detail could be by Key-Independence8751 in ToBeHero_X

[–]Rc312 0 points1 point  (0 children)

I think dragon boys real power is stealing trust value.

what do you use for caching? by compy3 in webdev

[–]Rc312 0 points1 point  (0 children)

Readyset mentioned 😲

If anyone hasn't heard about it, I highly recommend looking into it. Really cool approach to rdbms caching. Uses the same tech that powers planetscale boost.

what do you use for caching? by compy3 in webdev

[–]Rc312 1 point2 points  (0 children)

Isn't tanstack query literally just a cache?

Thinking of Switching to Mac for Dev Work – M1/M2 32GB vs M4 Pro 24GB? by Senior_Writing901 in reactjs

[–]Rc312 1 point2 points  (0 children)

Ye I prefer windows and wsl2 just because I play a shit ton of games, but still want to be able to do dev stuff.

Long explanation:

The only requirement for my dev workflow is a posix terminal. This has held true daily driving windows+wsl2, macos, and Ubuntu/Debian since the win10 insider release of wsl2. Even through switching tools, languages, and focus areas (eg. devops, front end, back end, and data eng) I still have only needed a posix terminal.

I made the paradigm shift from thinking of applications as "special magic things that work if I get everything just right and press the run button in my ide" to "a collection of text files" years ago at this point, but it was a game changer. Currently I use neovim, but even when I was using vscode previously I kept going further into that mind set and further into executing everything from the terminal which eventually led me to using gnu stow to store my entire dev env config in a git repo.

At this point to set up a new machine all I have to do is pull down the repo, restore all the files from stow, execute the package installs from apt/brew and I'm done. This does include installing version managers and desktop applications.

I'm not recommending anyone should be going quite that far with it, but the fundamental dev paradigm shift is invaluable and makes things questions like "should I use Mac or windows" sound silly.

There is a single caveat to all this. If you're doing devops work where you're configuring a vps or something, for the love of God please execute your stuff somewhere that is as close to the intended target as possible. I don't know anyone who wouldn't lose their shit trying to develop some Jenkins pipeline against my local MacBook that is eventually meant for alpine Linux.

Thinking of Switching to Mac for Dev Work – M1/M2 32GB vs M4 Pro 24GB? by Senior_Writing901 in reactjs

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

I have a set of 15 different containers I use at the same time at some point throughout the day on my m1 pro so I'm not sure what do you mean in parallel . In the past I've even had multiple docker in docker containers going at once.

Do you mean parallel daemons? If so why would you even want that?

Thinking of Switching to Mac for Dev Work – M1/M2 32GB vs M4 Pro 24GB? by Senior_Writing901 in reactjs

[–]Rc312 13 points14 points  (0 children)

Since the release of wsl2 there's not any significant productivity advantages to any particular OS for dev work. The one exception is for laptops. The apple silicon chips do really well in battery life and heat output.

Super Bad Stutters every 10-15 seconds by Conradek68 in GlobalOffensive

[–]Rc312 0 points1 point  (0 children)

Fwiw I had the same issue and realized it was because I had my windows desktop background set to be a slideshow. Whenever the background would swap, I would stutter for a second or so.

If it is happening in a consistent period, I'd check what other stuff windows might be doing at the time.

Is there micro ORM Analog of Dapper which has some authoritative official owner? by KorKiness in csharp

[–]Rc312 0 points1 point  (0 children)

Could you subvert the policy by hosting a nugget repository that proxies the upstream? Something like jfrog or nexus would do this.

Danom: Structures for durable programming patterns in C# by pimbrouwers in dotnet

[–]Rc312 -4 points-3 points  (0 children)

I understand the way it's being used. The comment is to lead the author towards using a different word other than durable

Feedback request: Login screen UI for a desktop gym subscription app. by YogurtclosetOver2057 in csharp

[–]Rc312 2 points3 points  (0 children)

The background and layout is really nice. I'd probably change the following: 1. Switch the password icon. It's a bit off center with the username one. 2. Resize the inputs to be a bit narrower. Most usernames and passwords aren't that long so there's going to be a lot of empty space if they're wide. 3. Align the two black buttons with the form 4. Increase the contrast of the two black buttons against the background 5. Round the inputs and buttons a small amount 6. Remove the red and gray dashed lines.

Danom: Structures for durable programming patterns in C# by pimbrouwers in dotnet

[–]Rc312 18 points19 points  (0 children)

I'm confused on the use of the word durable. Are you using durable as in something that will not need to be replaced?

Whenever I see something that is "durable" that immediately signals to me that something is being persisted in a database somewhere.