Hacker News new | past | comments | ask | show | jobs | submit | hboon's comments login

The custom commands could be useful too.

I run 2 "developers" and myself. Also with tmux, in 3 windows, but I just clone the repo for the 2 developers and then manually pull into my copy when I think it's done. I see various people/sites mentioning git worktrees. I know what it is, but how is it better?

git worktrees optimize how data is shared across multiple directories. So, you’re not cloning and duplicating a bunch of code on your machine and just referencing data from the original .git folder.

The only downsides I’ve seen:

1. For JS projects at least, you still need to npm install or yarn install for all packages. This can take a bit of time.

2. Potentially breaks if you have bespoke monorepo tooling that your infra team won’t accept updates for, why is this example so specific, I don’t know just accept my PR please. But I digress.


Can I say it's just for disk (and perhaps speed when pulling/pushing) optimisation? But as long as that's not a bottleneck, there is no difference?

(because git clone is much cleaner and feels less risky especially with agents)


> 1. For JS projects at least, you still need to npm install or yarn install for all packages. This can take a bit of time.

I believe that's the problem pnpm is trying to solve (err, not the time part, I can't swear it's wall clock faster, but the "hey hard links are a thing" part <https://pnpm.io/faq#:~:text=pnpm%20creates%20hard%20links%20...> )


Coincidentally, I just posted this[1] earlier today where I made a simple change against a 210 LOC vs 1379 LOC file, comparing parameters: LOC, filename vs URL path for that webpage, playwright verification.

My question is how does the author get things done with $0.10 ? My simple example with the smaller file is $2 each.

[1] https://x.com/hboon/status/1927939888000946198


I have been building a Bluesky+X cross-posting tool with Bluesky analytics — https://theblue.social for the last few months. 2nd time I've gone full indie in 30 years.

I started building this a few months ago and have iterated quite a bit. Want to know your feedback. Login (free) with Bluesky account after you create an app-specific password at https://bsky.app/settings/app-passwords.

(Initially scheduled posting was only for Bluesky, but I've recently added cross-posting to X because cross-posting seems the way to go and I wanted to try that hypothesis out).


> Aka someone wants to know if i'm over 18, someone needs to verify to that entity that im over 18. > If i now trust a random company to verify me, someone now needs to trust that random company. As usual with Crypto/Bitcoin the trust anker issue is not solved as far as i know.

Chain of trust (i.e like HTTPS certs). You'll have to have trusted oracles any way for blockchains. No way around that.


I remember the nightmare days where I refer to my 3-inch bound EDI specs all the time while implementing EDI validation


Ugh! Not sure how big ours was, but it was big enough to feel your comment.


I'm building a Bluesky analytics and post scheduling — https://theblue.social


Claude Code. You can use any editor you want.


What if you lose your phone?


I’d loose access to a bunch of services (temp I think I could still access via my watch, but never actually tested it).

For all critical services like gmail/github I use security keys, and I have multiple of them.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: