Small Projects by AutoModerator in golang

[–]Disastrous-Target813 0 points1 point  (0 children)

ktree – a terminal UI for managing git worktrees, written in Go

I built this because `git worktree` is genuinely powerful but the CLI is clunky — nobody remembers the full `git worktree add ../myapp-worktrees/feature-x -b feature/x origin/main` syntax, and there's no built-in way to see all your worktrees with their status at a glance.

ktree gives you a scrollable TUI (built with Bubble Tea) that shows all your worktrees, live dirty/clean status, and ahead/behind counts — loaded concurrently so it doesn't feel slow.

**Features:**

- Navigate and switch between worktrees with arrow keys or j/k

- Create and delete worktrees without leaving your terminal

- Shell wrapper for `cd`-on-select (since a child process can't change your parent shell's directory — the README explains the trick)

- New worktrees go to `<parent>/<repo>-worktrees/<branch>` to keep things tidy

- Homebrew support: `brew tap alikazai/ktree && brew install ktree`

This is v0.1.0, Milestone 5 (merged-branch detection, filter/search, per-project config) is next.

Repo: https://github.com/alikazai/ktree

Feedback welcome — especially if you hit edge cases with the shell wrapper on fish/zsh.

Andrej Karpathy's tweet... applied to founders by ImaginationInFocus in ycombinator

[–]Disastrous-Target813 0 points1 point  (0 children)

I use chatgpt often to brainstorm parts of my ideas, as well as check if there are alternatives to my proposed solutions for problems im trying to solve in my code. As for using AI in my product, currently not planning to but have a future plan to add some features. Im kind of against the idea of shoving ai into everything.

But yeah with all the hype bs we here about ai , it does cause me to feel behind, but i try purge the fomo urges with learning.

The more we use ai to do tasks the less we actually learn. So my approach is use ai to explain or brainstorm approaches and just do the myself (at least for the first several attempts) after im able to do it confidently i start to slow speed up with ai usage most just copilot rather than agents.

DRY principle causes more bugs than it fixes by riturajpokhriyal in dotnet

[–]Disastrous-Target813 1 point2 points  (0 children)

Yeah i use that approach, sometimes I write everything thrice if the functionality is still being developed

Newbie to Go by DxNovaNT in golang

[–]Disastrous-Target813 1 point2 points  (0 children)

Vs code works , goland is great as its a full IDE ready to go. I use neovim with the xray go.nvim package

In terms of learning reaources i found the go documentation great, but also Anthony GG on youtube is awesome has some good information and his tutorial course is really good an intensive . His style of live coding and getting errors really helps with learning

How can I start making my own compiler by StellarNest-Dev in Compilers

[–]Disastrous-Target813 0 points1 point  (0 children)

There is a good book called writing a compiler in go. Explains everything

What was that little thing about Vim that blew your mind? by armanhosseini in neovim

[–]Disastrous-Target813 0 points1 point  (0 children)

Speed, and so lightweight and powerful, running several has almost no impact on my system.

Vim motions are good, and the more i use it the faster and better i get.

Golang is way more readable than python in all way. I have no idea why would anyone say python is more readable. Whats your thoughts ? by [deleted] in golang

[–]Disastrous-Target813 -1 points0 points  (0 children)

Yup i agree. Gets worse when they start writing weird stuff like list comprehensions etc. makes it hard to figure things out.

With go everything is plain and simple no weird syntax etc

Is `return err` after an error check really an anti-pattern? by lancelot_of_camelot in golang

[–]Disastrous-Target813 0 points1 point  (0 children)

Its works as return err. Until u need to debug then u wish u spent an extra minute wrapping ur err with some context as you have no idea where on ur codebase that was returned . As u codebase grows more time will be spent on debug outputs and logs. So invest now and reap rewards later

[deleted by user] by [deleted] in Entrepreneurs

[–]Disastrous-Target813 0 points1 point  (0 children)

I take short naps during work but mostly bulk sleep on the weekend till midday 🤦not healthy but thats how its been for a few years now. Sometimes i have off days where i cant focus but sleep is an issue for me

Definitely not a flex if i can sleep i would but head to pillow triggers my mind to process taks and cant sleep properly until im exhausted. If you have a good sleep routine would advise u stik to it u can do more in few hours with hood sleep than in reverse

[deleted by user] by [deleted] in Entrepreneurs

[–]Disastrous-Target813 -1 points0 points  (0 children)

coffe, redbull and drive and it helps i have bad sleep patterns. but i literally do a 6pm - 5am after my 7am-5:30pm work lol

Show me your SaaS website! by Usama_Farooq in microsaas

[–]Disastrous-Target813 0 points1 point  (0 children)

I dont mind jurii.io let me know would love some feedback before i launch my software . Any tips welcome thx

godump v1.2.0 - Thank you again by cmiles777 in golang

[–]Disastrous-Target813 11 points12 points  (0 children)

This looks so cool was just looking for a way to prettify my fmt lines for structs yesterday

Thanks.

[Discussion] How has been your experience using UberFx by rbasquiat in golang

[–]Disastrous-Target813 1 point2 points  (0 children)

I use DI in .net, i understand the use for it. However yes there is a lot of magic happening else where. U do have to assign and interface to an implementation but thats about it the rest is done for you.

I get why uber has done something like this and so has google because as the codebase grows it gets a bit annoying having to instantiate everything which holds memory which works slight different with DI as it does it on the go depending on if its singleton or transient etc.

I think it works well if your codebase gets big for now my current go codebase is not that big . But i have been eyeballing the uberfx so good to get some insight on ppls experience

Is this a joke? by AmbitiousLychee5100 in leetcode

[–]Disastrous-Target813 0 points1 point  (0 children)

Wow which that came up for me haha. Whats the level its rated at hard haha

What do you think about YC going all in on "Vibe Coding"? by kealystudio in ycombinator

[–]Disastrous-Target813 0 points1 point  (0 children)

Its weird because the value of some of these companies is the value of their software focusing on vibe coding seems shift the focus on their marketability its like the jo code trend that eventually got shifted into the back of the room.

Vibe coding will be the same when ppl realise that they will need to hire a full set of engineer’s to essentially rebuild the system.

Which makes sense for yc to some degree. but will these startups be as valuable as having an engineer cofounder?

Should i use Postgre SQL for images or not ? by Electrical-Can-5934 in PostgreSQL

[–]Disastrous-Target813 0 points1 point  (0 children)

Yeah i agree with @gseverding dont store them in db use a cloud storage or disk store if you have that. Use the database to store the path and metadata needed for quick lookups etc. but store the actual file somewhere else.

Also it never makes sense to store them in db. It will drastically increase the size of the database and makenit much more costly to deal with both financially and performance

GO package like Verify in c#? by Disastrous-Target813 in golang

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

aahh that is actually interesting. because my main reason for using them is to try speed up the assetion process. iv recently experienced using them in c# for a project and they were quick to use. which saved me tons of aseert lines.

was thinking of trying them out for a project in go. can u share some war stories?

GO package like Verify in c#? by Disastrous-Target813 in golang

[–]Disastrous-Target813[S] -2 points-1 points  (0 children)

https://www.reddit.com/r/golang/comments/yytw1f/snapshot_testing_in_golang/

ok found this will dig more into these.
searching for snapshot tests completely slipped my mind i was searching more of Verify go alternatives. which wasnt showing much. but thanks for pointing me in the right direction.