this post was submitted on 31 Aug 2024
8 points (100.0% liked)

Programming

17373 readers
238 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
 

Long story short, I don't have the resources to keep any PC on for a reasonable time, so I want to make use of all the hardware I can find, I have an old iPad 4th generation lying around, I know anything related to programming becomes annoying when using a touchscreen but it's what I got, I don't mind jailbreaking it, or even have a Linux distro that actually works on (I'm fine with compiling stuff myself too)

top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 2 months ago* (last edited 2 months ago)

You can run Python reasonably well with pythonista or Pyto (I like pythonista, but Pyto supports some PyPI libraries). Apple's Swift playgrounds is pretty decent for Swift. They're all only up to a point, but you can do plenty of actually interesting stuff with them. I use them on my current iPad (and run the Python scripts on my phone).

But 4th gen is old, so it's quite possible none of that works. Maybe web stuff with something like Textastic if you pay for shared hosting somewhere, or a low end VPS isn't crazy expensive and lets you run code. If it's consistent power that's your concern, raspberry pis can be paired with one of those portable USB batteries if it can be charged and send charge at the same time.

If those options are still too expensive, really no clue. It's hard with no money at all.

[–] [email protected] 2 points 2 months ago

I have been hoping someone would eventually write a solid utility to use old tablets as touch screen displays for other machines but I think the apple ecosystem has prevented any good solutions from being banged out.

[–] [email protected] 2 points 2 months ago* (last edited 2 months ago)

Looks like it's a generation too old for installing linux on it directly. Too bad.

I wonder if the iSH app allows installing a compiler.

Maybe add a bluetooth keyboard for programming?

[–] [email protected] 1 points 2 months ago

You don't say what type of programming you do, or if you're just learning or developing professionally, but maybe something fully online would work? For example repl.it, stackblitz, or Visual Studio Code for the Web.

I second the suggestion for getting a Bluetooth keyboard for the iPad.

[–] [email protected] 1 points 2 months ago

Google’s project idx might work for you, https://idx.dev/ it can pull from GitHub and run an instance of vs code and a terminal in the browser. It’s not the fastest, but I’ve been using it to do some dev work with my iPad on an Astro project I have

[–] [email protected] 1 points 2 months ago

I don't use Visual Studio Code, so please don't take this as endorsement, but this article reminded me of your post:

Coding on iPad using VSCode, Caddy, and code-server