broken screen – How to enable USB debugging without being able to click prompt?

I have a cellphone with a broken touchscreen, and I’m trying to recover files by remote controlling it. I can see only the top half of the screen and there is touch sensitivity in only the bottom 5% or so (I can barely tap the home button). All of the options I’ve found require USB debugging to be enabled, which I managed to do with a mouse and some lucky clicking. I am looking at Vysor, but I can’t get to that point yet so it’s most likely irrelevant for this question.

I’m stuck on the prompt that shows up when I plug it into the computer, because I cannot have both the mouse and the data cable plugged in to the phone at the same time, and therefore cannot click OK to allow the computer access.

The OTG cable (more like an adapter, not sure if it is technically called an OTG cable since I found it in a random old box) allows both USB-C and USB-A at once, but it seems that if the data cable is connected through this, only charging is allowed.

I tried using a clicker app to click in the area where the prompt shows up after a 30 second delay, but the app apparently can’t go over the prompt screens.

Is there any other way I can do this, either a different cable, a different clicker app, or a different method altogether? It seems like I’m almost there but experiencing a stupid roadblock where there shouldn’t be one.

I have not tried anything with command line because I’m not familiar, but if anyone can offer more specific instructions with that, I am happy to try.

Not sure if the whole cable thing was clear, so my options are either:

Phone << USBC---USBC >> Laptop

Where I cannot use the touch screen


Phone << USBC---USBA << Mouse
             ---USBC << USBC---USBC >> Laptop

Where the USBC-USBC wire only allows charging

Access permission to organize the icons in the home screen

I have a use case currently, where I need to access the Home screen layout from the Android Operating System level. Specifically what I need is the ability to,

  • Access the placing of the icons in the layout and the usage of different apps

I want to be able to organize the icons in the layout programmatically.

For that particular use case ,

  1. what are the permissions I need to access from the operating system level?
  2. Is it possible to gain such permissions without rooting the operating system?

About Blue Screen of Windows System after starting Mathematica 12.2/12.1 Win10

I found a way to solve the problem. Windows 10 KB5000802 Security Update is the culprit and it needs to be uninstalled. Then mathematica can work normally.

But there is a problem, Win10 will automatically update which is very annoying, because it will install KB5000802 Security Update again and Blue Screen will happen again. So you should disable automatic updates in Win10, then mathematica will work again, but that means your computer will never have a security update, So you have to make a trade-off.

One thing needs to be mentioned more, I found out that my colleague’s computer also has version 12.1 installed, also has Win10 KB5000802 Security Update installed, but his compouter can run mathematica normally. And my computer is not even if the computer system is reinstalled. This is a metaphysical thing and I don’t know why.

Operations for uninstalling security updates and disabling system updates are readily available online, you can find them everywhere. Hope the above description can help those who encounter this problem.

KB5000802 is also a culprit for the failure of some printers to print, that’s the problem I had before, if you hit the print button and the printer didn’t respond, this could be the reason.

game design – Why Beat ’em Ups don’t allow players to face toward or away from the screen

Most Beat ’em Ups don’t allow players to face away or towards the screen: example, in Streets of Rage, when you press up, the character moves up but still facing either left or right and same goes when you press down. Even in modern Beat ’em Ups, this is the case. What is the reason for this? I used to think this is because the graphics are 2D so its harder or more work to get characters to face towards or away from the screen. But even in Beat ’em Ups that uses 3D graphics, this is still the case, like Double Dragon Neon.

unity – How can I set perspective camera in portrait to fit screen sizes

I want to fit a perspective camera in different mobile portrait resolutions to see always the same objects in screen.

Doing a research about my problem I have found this post Scale camera to fit screen size unity that have a similar problem than mine, but he ask for an ortographic camera also horizontal.

My problem is the same but in perspective and vertical, I have tryed to adapt the solution code to my project but I don’t know why isn’t working, can someone explain to me the code or helpme to understand the maths behind them so I can figure how to do it?

My code for vertical

public float VerticalFoV = 60.0f;

// ...

void Update() {
   float halfHeight = Mathf.Tan(0.5f * VerticalFoV * Mathf.Deg2Rad);

   float halfWidth = halfHeight * Screen.width/ Screen.height;

   float horizontalFoV = 2.0f * Mathf.Atan(halfWidth) * Mathf.Rad2Deg;

   Camera.main.fieldOfView = horizontalFoV;

Sample code for horizontal

public float horizontalFoV = 90.0f;

// ...

void Update() {
   float halfWidth = Mathf.Tan(0.5f * horizontalFoV * Mathf.Deg2Rad);

   float halfHeight = halfWidth * Screen.height / Screen.width;

   float verticalFoV = 2.0f * Mathf.Atan(halfHeight) * Mathf.Rad2Deg;

   camera.fieldOfView = verticalFoV;

Yellow Screen on Ubuntu Desktop Setup

On setup of desktop, the boot up sound happens and I’m stuck with a yellow screen.enter image description here

python – How to save screen output into a text file

So I need to create a script and save the info into a text file, and here is what I did:

import platform

def bios_version():

    uname_result = platform.uname()

    pl = {}

    pl('BIOS version') = uname_result.version

    for a, b in pl.items():

        print(a, ":", b)


save_path = 'D:/'

name_of_file = input("What is the name of the file: ")

completeName = os.path.join(save_path, name_of_file+".txt")

f = open(completeName, "w")



So it return:
TypeError: write() argument must be str, not None”

What’s the reference screen resolutions to start preparing mockups for desktop?

Design for the most common screen resolution in your userbase. If it’s an internal company application then you can hopefully find out the various devices being used boy contacting the internal IT department. If it’s an external application then you’ll have to go by statistics available in that location.

Sites like can give you stats by country, which is a place to start.

HOWEVER – just because screens have a certain resolution, that doesn’t mean the application window will always be set to maximum for all users to make the most of. People use applications in all sorts of ways, have different sized monitors connected, have them set to different zoom levels… So you need to make sure the application can scale to a variety of different sizes.

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive New Proxy Lists Every Day Proxies123