> I really like this setup because I only have one environment, so everything is there, and I don't have to install anything in the laptop
Yeah that's one of my favorite parts. Same about living in the terminal. I can be effective anywhere nearly instantly. I carry everything around in my dotfiles and keep it small (keep the .git folder small and don't add anything except text files)[0].
On that note, one thing I highly recommend to people is to add some visual clues to tell you which machine you're on. I use starship and have a few indicators but I also have some PS1 exports that I've used in the past or use in new tmp instances (I HIGHLY recommend also doing this for when you're using the root account). It can get confusing when you have different tabs on different machines and it is easy to mistake which one you're on.
[0] I also recommend keeping notes there if you like writing in markdown. Files are so tiny that it's worth having them. It's benefited me more times than I can count.
If you don't mind, I'd like to hear more about your setup. I have a bunch of bash scripts and python programs I've used to make working in the terminal easier (and more fun). Are you saving your dotfiles are a git project and then just syncing and pulling them down from there? I'm not an expert, just a tinkerer, but I like tinkering in the terminal. :)
Not the parent but a project (glorified Bash script) called vcsh[1] has served me well over the years for managing multiple Git repositories containing my dotfiles (separation of concerns).
Lately I have migrated some of that to Guix Home because the other half of the problem is having all the dependent programs necessary for the dotfiles installed automatically at the appropriate versions.
The latter one especially falls into the realm of tinkering. :)
Yeah my dotfiles, notes, and scripts are in a single repo. I think the most important thing to do is organize. I just match the system. So I put everything that a rc file in ~/ in one directory and everything in ~/.config in another. Then if you have your repo downloaded all you need is to run 2 find commands like this
It baffles me that people are so unorganized in their dotfiles. A little goes a long way to making your life easier. But then again people suck at bash so they're probably not thinking of using find this way. You could also use xargs to parallelize if you want but there'd be no practical speed difference for me
Another key component is to break out files. For example I have the directory ~/.dotfiles/rc_files/zsh. My zshrc file sources different files from that location. So I have a Linux file and OSX file there for anything that is specifically system dependent. If you want different configs on different machines you can check the hostname and use the same pattern!
Speaking of which, use functions! At first this is going to sound crazy but it's worth the effort and let's be honest, the effort is very low (though the initial rebase might not be depending on how messy you are)
function _exists() {
command -v "$1" &> /dev/null
}
alias_ls() {
alias_lsd() {
alias ls='lsd'
alias la='lsd -A' # A drops . and ..
alias ll='lsd -l' # h is automatic
}
alias_base_ls() {
alias ls='ls -v --color=auto -h' # numerical sort, color, human readable
alias la='ls -A' # ignore . and ..
alias ll='ls -lh'
}
if ( _exists lsd );
then
alias_lsd
else
alias_base_ls
fi
}
main() {
alias_ls || echo -e "\033[1;31mls aliasing fucked up!\033[0m"
}
main
Yeah, it is a bit more cumbersome but it's really not that bad and
1) debugging gets so much easier
2) you know where everything is and what everything does.
3) trying new aliases, command tools, scripts, etc also becomes a lot easier.
Following Unix philosophy has more advantages than disadvantages. I also strongly suggest adding comments because you'll forget why you did something. I'll often link to posts for this and for giving credit.
Fwiw, my main language is Python but for pretty much everything in the terminal I write in bash. You can often make oneliners that would traditionally be a lot of lines in Python. Not to mention it's usually faster. It's a good way to help you learn bash too! ^__^
Thanks for the detailed reply, examples, and links! Yeah, I definitely rely heavily on bash script functions, but had never thought about using git to share or sync my scripts and little programs. Thanks again, I really appreciate it!
Exactly, I found that most of the time, I spend significantly more time reviewing the code; most of the time, there is a lot of repeated code. Refactoring and cleaning the code also require a lot of time.
I found that the time I spend reviewing and refactoring is marginally less than the time it takes to write the code myself. For very repetitive tasks, there is a sweet spot.
The only case where vibe-coding really delivered on the promise of super high-speed development is when you completely gave up on the code quality or you are in a greenfield project where all the business logic hasn't been fully defined.
Me too, I still have my iPhone SE, I was hoping they would bring back some smaller version of the iPhone + Touch ID, I refuse to upgrade just because of the lack of Touch ID
The camera is what finally pried my SE out of my hands, replaced by a 17 Pro. Hate it. Heavy, no more Touch ID, forced into iOS 26. Even the button placement drives me bananas. The amount of times I accidentally take a screenshot because I’m trying to adjust volume...
Still have my SE. When I pick it up, it’s striking just how much better it feels.
I KNOW RIGHT?!? why would they move the left-side buttons down!? (It’s actually probably because otherwise they’d be hard to reach in these huge phones with our tiny hands but boy did the change mess with my muscle memory to find the buttons).
I’m still on the 1st gen SE from 2016. Imagine my disappointment when I found out that the iPhone Pocket was, in fact, not an iPhone that fits in your pocket.
Looking at replacing my SE with a keitai supplemented with an Android emulator
It’s totally shot lol. I’ve had the battery replaced it once already, and frankly it didn’t make too much of a difference. The battery always shows 1%, even if it has 50% charge left in actuality, and I never know when it’s going to die. I don’t really use my phone enough for this to be a problem but it’s annoying. I blame Apple for shipping heavier and heavier versions of iOS that demand more and more power for no discernible reason (Liquid Glass being the latest example).
I don't want to look at my iPhone every time I need to unlock it, for example, when I am riding my motorbike, the helmet would block my face. This isn't a problem when I use Touch ID because I can use fingerless gloves. Another case is when I need to discreetly check my phone for a moment, like when I am in a meeting or a dinner.
I don't have anything against Face Id, BUT I just don't see why they eliminate the sensor and remove the option.
I used to think the same thing. And ya TouchID is handy sometimes over FaceID. But FaceID overall between the two if one has to choose is superior. If you haven't lived with it daily yet, I wouldn't let that stop you from getting a 13 mini. It helps a lot too with longevity, less to break. You are obviously one of us, those that keep their phones for a very long time. It never needs wiped off, it's incredibly consistent. The durability feature starts to matter when you're using something this many years. Not trying to change your mind, just share a perspective as I do understand where you're coming from for sure. You're not exactly wrong.
FaceID works a very few angles with glasses. Won’t work if my glasses have been exposed to rain (it rains like 70% of the year where I live). Struggle to work with face masks and glasses. I have to hold the phone at eye level to unlock it (ie: can’t unlock it discretely). If I’m lying in bed and the phone is lying in front of me, I can just tap to unlock with TouchID, but need to shuffle it around and raise my face for FaceID.
I rolled back to TouchID after a few months, it was intolerable.
I have an impression this gets worse the more correction your glasses have.
It's worse than motor memory (no thought required) gesture, because it requires a more expensive non-motor-memory physical movement that depends on context of the human. Face ID requires moving and orienting phone close enough for the Face ID sensor to capture a 3D image of face and moving eyes for attention, so it's a function of both phone and human position.
TouchID is context free: grab phone and touch button in fixed position. By the time the phone has turned to facing the user, it is already unlocked.
I love TouchID and can’t stand FaceID. But the home button is terrible. It’s just too hard to be used comfortable, and I end up hang that floating software button instead.
I completely agree, I did a very small chat app just for fun, I thought, this is only going to take me a couple of days and before I realized it, that couple of days became weeks and it never felt finished, there was always something to add.
Hi and thank you. The more I think about it, the more I find it kind of nuts that I worked non-stop for ~10 years of my formative life all the while completing a Physics degree without taking a little break apart from annual leave here and there.
What a coincidence, that was my setup as well but for my next(now current) pc, I changed it to a Radeon R7 250, (nvidia is fine but dealing with the drivers on linux was a pain in the neck)
only one small problem with that idea, the lack of a magnetic field, mars also has this problem but you atlest can bury your self in the ground to protect yourself agains the solar radiation
If you've already figured out how to live in space for the many months required to get to Mars, why would you want to abandon your (presumably shielded) ship to live underground at the bottom of a massive gravity well? Stay in orbit. The view is better and you're halfway to anywhere.
Same boat as you, waiting for the second generation, I don't event want to jump to the apple ecosystem but the battery life + performance at that price range makes it a almost a non-brainer for me
I have an old used Dell Latitude that I use as a pseudo thin client. I ssh into my PC, and everything just works.
I really like this setup because I only have one environment, so everything is there, and I don't have to install anything in the laptop