Web Applications – What's the Lightest Web Framework for Deploying a Single Page App on Raspberry Pi?

I plan to install BalenaOS and run a small one-page web app from a Docker container. It only needs to provide static content because there is an API somewhere else. According to Balena documents, they provide images with Node.js, Python, Go, Java and Dotnet.

Which platform offers the lightest web frame fork?

Applications – Where can a game save coins / gold?

I have a rooted phone along with FX File Explorer and Root Add-on. I also have the following apps installed on the phone:

  • SB Game Hacker
  • Game Killer

I had 3 use cases so far.

Case 1:

  • I open the game and note the current value of my coins.
  • Then I open the SB / GameKiller app and look for that value.
  • Then I go back into the game and reduce / raise the coins.
  • Return to the SB / GameKiller app and search for the changed value again.
  • I repeat the process until I get about 5-10 results. Then I change the value in the SB / GameKiller app to a value that I like.
  • After that, when I come back into play, the new value is reflected
  • SUCCESS

Case 2:

  • Case 1 fails (the final changed value is not taken into account in the game).
  • So I go to /data/data// Folder.
  • Usually I find a .json File containing the value of coins / gold.
  • I change the value and save that .json File and go back to the game.
  • SUCCESS

Case 3:

  • Case 1 fails and I can not find one .json file
  • I am trying to search for a database folder / database file within it /data/data// Path, but find none

In which case, where can a game possibly store and retrieve this value? It can not be a server because I play the game without being connected to the internet. My best guess is that the value is stored locally.

Any suggestions?

Can you assign different sounds for notifications to different applications?

I use 18.0.4.3 and I hear notification sounds, but I do not know which application they come from because all apps have the same sound. Apparently there are no badges available for apps like Slack that help me determine if I've received a message. I'm wondering if it's even possible to give each application a different sound that emits a sound for the notification setting. That would be much easier to know which app is issuing a notification.

Message Queue – Best Practice for Communication and Events with Multiple Applications?

In essence, I have a web application and a console application. The web application allows users to configure what to process. It is only a large information processor. Using the Web UI, a user creates a configuration that is added to a configuration queue for processing.

If the user saves a configuration and no instance of the console application is running, the console applications run on the server (in a given configuration, multiple instances of the application are often started). Theoretically, no user needs to enter a new configuration to start an instance of the console app after the previous configuration has been processed. I need to get the next configuration in the queue.

The caveat is that the console application should not be aware of its outer implementation. Only part of the configuration has to be transferred and the information is processed accordingly. Because multiple instances work independently of each other on the same overall configuration, I can not retrieve a new configuration until all instances of the application are completed for the current one.

My thoughts on this may be the use of a message bus for communication between applications (RabbitMQ, MassTransit, etc.). Once all the processors are done, I want to send an event to notify that it's ready to start instances of the console application for the next configuration in the queue.

I'm not sure if a message bus is the best way to do it or not, or if there are other solutions that I did not think of / came across. At worst, I can hack something in the console application, but I want it to be as self-contained as possible.

macos – Disable the rendering of the MacBook Air screen, but will you keep applications running?

There may be something missing in your post, but you should be able to set your energy-saving settings to put your screen in sleep mode, but not your computer.

Since you have not specified the exact version of macOS you are running, I can not give you step-by-step instructions or attach a screenshot, but basically you have to go Apple> System Preferences> Sleep Mode,

If you look there, you should see that you can set your screen to sleep at some point in time, and that your computer will go to sleep at some other time (or never, if you need it).

By doing so, you will save battery power as your screen sleeps, but of course your MBA will work differently.

If you want to connect your MBA to an AC power source while the processes are running, make sure your settings are configured on the Power Supply tab (as opposed to the Battery tab). Likewise, if you want to perform this operation while the battery is running low, you must set the settings on the Battery tab accordingly.

Other settings will also be displayed here (depending on your Mac and the version of macOS). Therefore, you might want to familiarize yourself with the settings in Using the Power Saver feature on your Mac page on the Apple Web site.

Applications – Web / PC interface for iPhone text messaging

At https://messages.android.com, there is a great web app that syncs with the SMS / Messaging messages of an Android phone to allow SMS to be sent from the computer.

(This is great for those of us who type faster than we write on a small phone and for those who want to sit at a desktop all day and do not want to open their phone to address any incoming text message.)

Is there an analog for iPhone Messages? That is, a web or PC app that can send and receive native text messages for an iPhone?

Amazon Web Services – makes cloud-based applications faster and more available all over the world

I've been working on cloud-based applications. These applications include a web-based portal for merchants through which they place new orders and REST APIs that they can integrate into their platforms.

These applications are currently hosted in the AWS Cloud in the Singapore region.

However, some of our clients (based in Thailand and Vietnam) have complaints that they sometimes think that our application is slow.

Recently, one of our Chinese customers reported that he was unable to access our APIs or access our web-based applications.

How can I optimize an existing cloud-based application to make it faster and more accessible to customers around the world?

Our solution is to deploy applications in different regions and provide different endpoints to different customers.

Suggestions are appreciated.