Live data from Hacker News

Stop Doom Scrolling, Start Doom Coding: Build via the terminal from your phone

github.com

401–410 of 420 posts

Re: Stop Doom Scrolling, Start Doom Coding: Build via the terminal from your phone

#401
post #272

Earlier quoted context omitted.

While I don't use the AI part I have a very similar scheme and it is one of the reasons I encourage people to live in the terminal. The idea is to create a modern "terminal"[0] My main computer is a Macbook Air, which I carry around with me. It's purpose is for: internet, using Microsoft products when I'm forced to, Zoom/meetings, and SSH (or Mosh). Most of my work is not done on this Macbook, instead I use it mostly…

How do you type? I get the ydotool usage but do you have a shortcut for each key then on your phone?

For my iPhone I made a dumb script using the Shortcuts app. It's a horrendous app that combines all the worst parts of a scripting language with all the worst parts of a visual language. But I'm not sure how else to do it besides learning swift (I'm not confident I made the right decision btw. It is that bad)

So I just press a button from my quick select and then it'll send my text followed by a carriage return (depending on which option I use).

On Android I did something very similar using termux but it only took 2 minutes to write and is much easier to understand and use

Re: Stop Doom Scrolling, Start Doom Coding: Build via the terminal from your phone

#402

Earlier quoted context omitted.

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. :) Thanks in advance!

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…

Thanks for the input! :-)

Re: Stop Doom Scrolling, Start Doom Coding: Build via the terminal from your phone

#403

Earlier quoted context omitted.

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. :) Thanks in advance!

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 find "${DOTFILE_DIR%/}/configs/" \ -maxdepth 1 \ ! -name "*.md" \ -exec bash -c 'ln -Fis "${0}" "${…

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!

Re: Stop Doom Scrolling, Start Doom Coding: Build via the terminal from your phone

#404
I prefer using a VPS instead of an old laptop. 2 improvements I’d recommend:

1. Use tmux to keep sessions alive

2. Launch Claude Code using the —-dangerously-skip-permissions flag to avoid annoying pauses in execution

It’s like having a team of full-time interns running in the cloud building your software

Re: Stop Doom Scrolling, Start Doom Coding: Build via the terminal from your phone

#405

Earlier quoted context omitted.

I'll bite (even though I think the proposed setup is dumb tbh) : why do you need 2 monitors? Can't you just alt-tab from one window to another? FWIW I do code on the go and I 100% prefer to code at home with my neat setup... but also quite often when I'm on the move and inspiration strikes, I do enjoy having a way to tinker right here and there.

I can, but I find the friction it induces to be extremely irritating. I have to memorize snippets of documentation before switching back instead of just having it open on the other monitor to reference at a glance. Plus the act of switching windows itself is extra keystrokes/touch gestures and tedium. Coding on a small touch screen sounds like absolute hell. Like being forced to drive in stop-and-go traffic with a ma…

How are they more keystrokes between one screen and N screens? Don't you have to switch windows regardless of their visibility? I mean if you copy then paste elsewhere you still the same number of key strokes, don't you? Maybe I'm missing something.

Regardless what I'm suggesting, and I believe OP too, is NOT to replace your setup with a mobile one, only that they can complement each other. Namely if you are on your way somewhere, you do not have to stop programming, you can still do it even though in a different way, so I do not believe comparing them helps. The point is not to convince somebody to go from their favorite setup to something they like less, rather to show other ways in which some parts of the process are still acceptable on the go. Nobody is suggesting to remove a screen or keyboard.

Re: Stop Doom Scrolling, Start Doom Coding: Build via the terminal from your phone

#406
post #370

Earlier quoted context omitted.

I have a mini PC hooked to screens in every room other than the bedroom and bathroom, and remote controls with built in air-mouse and keyboard (pepper jobs remotes). This way anyone can pick up a controller in any room and look something up on a shared communal screen as needed, which discourages use of private screens. When I leave home for less than a day I pack no electronics of any kind and enjoy the peace in my…

Did not expect that: I got rid of a small screen i can carry around by putting a lot of small screen all over my house. I put that in the same bin as all the “Stop doomscrolling” apps. You can’t prevent doomscrolling by adding another app on your phone. Get rid of the phone (and all other screens), one does not need to be able to look up everything in a moments notice. Write it down on a paper and do it later.

It causes a major difference. It forces all uses of screens in common spaces with others present, to be inclusive to said others. You do not open anything on shared screens you do not mean for others to participate in, so they function more as collaborative tools instead of private escapes.

Anyone can grab a remote and access to summon shared entertainment, order food, do shared research, fact check something, etc... but said screens are just linux machines with no proprietary software or magic addictive algorithms. Just tools.

Also when we walk away from them they do not follow us, and they cannot notify us.

It has completely changed the way my family and I interact with, and separate ourselves from, the internet.

If my phone battery died, I used to panic. Now with no phone, when I leave home, I am just... present, and can get lost in my own thoughts again. A skill I lost for decades with distractions always in my pocket.

Really just moving the screens further away, tethering them to walls, and ditching all proprietary addictive software is easier. Also a couple TVs and mini pcs cost less than one modern smartphone and covers the whole family.

Re: Stop Doom Scrolling, Start Doom Coding: Build via the terminal from your phone

#408
How about using syncthing instead of ssh?

I explain: instead of enabling ssh to your computer, which may make some users uncomfortable, you use syncthing to sync the folder of the project you are working on. You can open claude code in any android terminal and keep working on the latest changes of your folder. No shell access given.

Anyone?

Re: Stop Doom Scrolling, Start Doom Coding: Build via the terminal from your phone

#410
FYI I just now caught a critical missing step of disabling IPv4 in your Tailscale settings to doom code via cell service. Many of you probably did not have an issue figuring out that missing step - but for those of you like me, apologies for not passing along the time-saving lesson learned!
Post reply on HN