You are viewing archived messages.
Go here to search the history.

Kartik Agaram 2024-01-01 16:45:01

I think I have a usable app development experience now on my tablet. I basically took my recent Lua Carousel and made a few changes. In Carousel (first clip) you start in the programming environment, each screen runs a separate script, scripts run in the background of the editor, and each screen manages its own canvas. The new setup (second clip) starts in the app, which takes over the entire device until I 'exit' into the programming environment. In the programming environment, screens are now just editors with a shared 'run' button and canvas. Hopefully I can now finish polishing this ~turd~ app entirely on the tablet.

Kartik Agaram 2024-01-01 16:45:14

There's a major drawback regarding where the code changes live. Uninstalling LÖVE (say to upgrade it) seems to lose access to all my code changes. They live in a space private to LÖVE that I can't access from my file browser or email, and so backup is a laborious process of copying and pasting screens one by one.

Konrad Hinsen 2024-01-02 06:21:17

That‘s Android, right? You should be able to update LÖVE without uninstalling, and thus without losing data. And if LÖVE has asked for the right permissions, you should be able to access shared storage.

Konrad Hinsen 2024-01-02 06:55:05

Of course, what Google wants you to do is store your code in the cloud. That's what app silos are for.

Kartik Agaram 2024-01-02 07:24:19

Perhaps the issue is that I'm installing from a raw apk. Open source project doesn't want to go through app store review.

Konrad Hinsen 2024-01-02 10:24:17

That's what F-Droid is for. But yes, it has its own reviews and bureaucracy. As far as I know, there is no way to update an app from a raw APK without uninstalling first.

Oleksandr Kryvonos 2024-01-02 21:38:05

I built a bare-minimum in-browser text editor,

it saves files immediately on every key press,

I also created a history of revisions but realised I do not need them, git works good enough for now.

Kartik Agaram 2024-01-03 21:22:56
Jason Morris 2024-01-05 18:47:02

So I've only been a real developer again for a month, but holy cow. I would have thought keeping your data persistence layer in sync with your code would be easier than this, by now. Irritating.

smt 2024-01-06 15:57:55

someone once told me that all bugs are caused by memory being in a state that the programmers did not expect... not sure if this is profound, or useless, but still to this day, thinking about it boggles my mind

Jason Morris 2024-01-06 15:59:08

Programming would be a LOT easier if computers didn't need to remember anything when they were turned off, I've decided. 😁

Jason Morris 2024-01-06 15:59:52

These are the deep insights people come to FoC for. You're welcome, everyone.