News for hackers. Stuff that matters.
Re:Repurposing an old Android phone as a web server by cdev_gl on Wednesday June 22, 2022 @05:24PM (#31842048)
This is basically similar to the process I've used to turn my phone into a dev/writing environment for spending months thru-hiking in areas without internet.

I use termux to host a jupyterlab instance and bring along a tiny folding bluetooth keyboard. Even in airplane mode I can connect to the locally hosted jupyterlab instance. Notebooks are kept in git and synced up to my private repo when I'm back on grid.

There are simpler solutions for writing, but this allows me to keep a single workflow across home/travel contexts. Being able to run graphs, basic code and computation as needed is also a plus.

Re:Repurposing an old Android phone as a web server by alphanumeric0 on Wednesday June 22, 2022 @06:40PM (#31842785)
My older mac book recently died and instead of buying a new laptop I'm using termux to connect to a droplet for side projects. I've tried two different bluetooth keyboards so far and found one I liked with back-lit keys. Also recently setup wireguard on a raspberry pi at home and had fun working on my droplet through my VPN while on a flight. What a time to be alive.
Re:Repurposing an old Android phone as a web server by syntaxing on Wednesday June 22, 2022 @07:30PM (#31843263)
You could probably set up Tailscail ssh that was recently posted here on HN. Though why do you need to go from VPN to droplet?

[1] https://news.ycombinator.com/item?id=31837115

Re:Repurposing an old Android phone as a web server by alphanumeric0 on Thursday June 23, 2022 @12:13AM (#31845089)
Cool, I'll check it out. It is an extra hop, but my fdroid termux install has been blown away (along with my ssh key) several times by the play store version. So now I save my key on my pi instead. I did turn off updates from play store for termux so hopefully it doesn't overwrite termux again.
Re:Repurposing an old Android phone as a web server by madacol on Thursday June 23, 2022 @08:13AM (#31847947)
Termux does not update on the play store anymore since 2020 or 2021. In fact, your repositories are probably outdated

If you ever need to upgrade, you have to install from somewhere else, like F-droid

Re:Repurposing an old Android phone as a web server by alphanumeric0 on Thursday June 23, 2022 @03:30PM (#31854110)
Thanks, I think actually it was something else that made me re-install from F-droid, but I'm glad I can rule out the play store.
Re:Repurposing an old Android phone as a web server by ASalazarMX on Wednesday June 22, 2022 @06:39PM (#31842782)
I don't know what is braver, if hiking for months or developing on a Bluetooth keyboard and a phone.
Re:Repurposing an old Android phone as a web server by cdev_gl on Wednesday June 22, 2022 @07:34PM (#31843286)
I don't know about brave, but the funniest thing I've done with my phone and keyboard is access an amazon workspace to run adobe InDesign for magazine layout while in my tent— sitting in a sleeping bag, a cold rain pattering against the "roof", with my back resting against my backpack and my phone angled nicely in my lap, using the keyboard's attached touchpad to carefully move and assign articles, tweak colors, and do the final bits needed for printing.

There was definitely some squinting at the screen involved, heh.

Re:Repurposing an old Android phone as a web server by tambourine_man on Wednesday June 22, 2022 @10:22PM (#31844482)
I’d love to know more about that. Isn’t running Adobe CC on AWS prohibitively expensive? You need a decent video card and at the very least 8GB of RAM.

Couldn’t you buy a laptop with what they’d charge you for a day of work? A quick simulation here is showing me US$ 140/h for a 4 core 16GB of Ram machine, no mention of video card.

Re:Repurposing an old Android phone as a web server by mrlemke on Thursday June 23, 2022 @01:18AM (#31845408)
You can easily stow a portable solar panel in a hiking bag that can charge your phone and the other accessories. A laptop would have a harder time getting charged, even if it was a Chromebook. Portable battery packs intended for phones would also be easy to stow. Not only do they fit more compactly, but they are light on your weight budget and not as fragile as lightweight laptops.
Re:Repurposing an old Android phone as a web server by tambourine_man on Thursday June 23, 2022 @10:36AM (#31849694)
Sure, but I’m talking about price. AWS Workspace seems crazy expensive, to the point of being unusable almost.

I love the digital nomad lifestyle, but at that price it’s more of a gimmick than a real choice

Re:Repurposing an old Android phone as a web server by bigiain on Thursday June 23, 2022 @03:54AM (#31846244)
A g3s.xlarge running Windows is just under a dollar an hour - 4 cores, 30GB ram, 8GB video ram on Nvidia GPUs.

$140 gets you a t3.xlarge 4 core 16gb ram instance (on linux) for a whole month.

Re:Repurposing an old Android phone as a web server by tambourine_man on Thursday June 23, 2022 @10:32AM (#31849625)
But that’s not Amazon Workspace he mentioned. That’s just EC2.

Check out the hourly price of Workspace:

https://aws.amazon.com/workspaces/pricing/?pg=workspaces&sec...

Re:Repurposing an old Android phone as a web server by cdev_gl on Monday July 04, 2022 @02:01PM (#31980036)
Sorry this comes a bit late, but the answer is you don't really need a performance machine for doing layout. Since Adobe's apps were originally built 30 years ago, the minimum requirements remain quite low. Moving images around a page can handle quite a bit of lag. You don't even need a rented machine with a quality GPU.

I pay for this workspace: $9.75/month-Hourly-Windows licensed-Performance-2vCPU,8GB Memory,80GB Root,50GB User

Since I'm only doing layout on an as-needed basis while hiking, rather than doing it full time, I tend to spend around $45 or less a month.