Trying to backup my iPhone 6s with an unresponsive screen

A month or so ago I dropped my iPhone 6s and the screen stopped working. When I turn the screen on, I can interact with the screen for maybe half a second. Then I have to turn the screen back off and on again to interact for another half second. After the half second is up, the screen starts to get these pink links and spots that cover the screen and the screen becomes unresponsive. I decided since it was already an old phone it was better to just get a new iPhone rather than having to send this one into Apple and wait weeks for it to be fixed (on top of the fact that the fix itself would probably cost more than the phone is worth).

I just bought the iPhone 12 Pro and will be picking it up on October 24. However, the last time my iPhone backed up was October 12 (which it did automatically). While I haven’t been using the phone recently (obviously), I’ve still received texts and other notifications that I would like to keep. I tried to make it backup automatically by plugging it in and waiting overnight, but when I check iCloud it still says the last backup was Oct 12. I think it has stopped backing up automatically every 24 hours because when I turn my phone on and sign in using my fingerprint, it asks me to enter my Apple ID password. Obviously I can’t type it in, because I can’t work with the screen for longer than half a second. If I rapidly click cancel, the next time I turn the screen on it pops back up. I tried using a voiceover and my laptop keyboard to enter the password manually and navigate around to make the phone backup, but no dice (unless I’m doing it wrong?). I saw a YouTube video where the guy seemed to be doing this method successfully but it does not seem to be working for me (https://www.youtube.com/watch?v=dciP0geH624).

Am I going wrong somewhere? Or any ideas as to how to backup my iPhone?

Thank you for your time pals 🙂

javascript – How do modern JS engines terminate unresponsive scripts?

I’m trying to implement a safety feature that puts a timeout around a huge function call. Pretty simple, I thought, but it turned out much harder than expected; there’s no built-ins for this in any of the C languages I’ve looked at, apparently because it’s too complex under the hood. But JS engines do this all the time; they tell you that the page is unresponsive and asks if you want to wait a bit longer or terminate it.

How do they implement the “terminate” part, having jit’ed to machine code? Is there a ton of conditional jumps, e.g. one inside every loop and one in every function body? Do they run in a separate process, so the whole process can be shut down easily with help from the OS? Do they trigger a special exception?

I’m hoping I can draw some inspiration from some of the most optimized implementations of this in the world, since the requirements are pretty similar; effectively sandboxed code, relatively long timeout that almost never fires, relatively high performance requirements.

macbook pro – A1502 trackpad unresponsive and keyboard occasionally erratic

My computer is a mid-2014 retina MacBook Pro.

After five days of sleep, the trackpad stopped responding to touch input, and couldn’t be revived by any number of NVRAM/PRAM/SMC resets. Most recently, the keyboard has also started to become unresponsive after waking from sleep until the computer is rebooted. No water damage occurred.

I have access to some spare parts due to trackpad cable shenanigans from days past:

  • 2x iFixit trackpad (excluding cables),
  • 1x iFixit trackpad cable, and
  • 1x original Apple trackpad cable (known defective)

For clarification, in my attempts below, I refer to the Apple trackpad and cable as “original”, the two iFixit trackpads as trackpads “A” and “B”, and the iFixit trackpad cables as “1” and “2”.

The setup currently operating inside the MBP comprises iFixit trackpad cable “A” and the original Apple trackpad.

I’ve tried the following things, to no avail:

  1. Reboot
  2. NVRAM/PRAM reset
  3. SMC reset (NVRAM/PRAM/SMC were reset multiple times now and after almost every later step)
  4. Checked that trackpad is still recognized under System Information – still there, from previous experience if the trackpad isn’t detected it doesn’t show up in here
  5. Deleted trackpad preferences
  6. Tried updating software to latest version – macOS Catalina 10.15.6
  7. Tried diskutil verifyVolume and diskutil repairVolume
  8. Tried booting into Recovery to isolate if issue is software or hardware related – seems to be hardware related since the issue persists in Recovery
  9. Ran Diagnostic Test to see if any issues with trackpad were reported – no issues were found
  10. Tried booting into external boot drive to isolate if issue is software or hardware related – issue persists
  11. Tried original trackpad with original cable – this is a known defective combo, which gave me trackpad issues last year with wild inputs; no inputs were detected this time around
  12. Tried original trackpad with iFixit cable A
  13. Tried original trackpad with iFixit cable B
  14. Tried iFixit trackpad A with original cable
  15. Tried iFixit trackpad A with iFixit cable A
  16. Tried iFixit trackpad A with iFixit cable B
  17. Tried iFixit trackpad B with original cable
  18. Tried iFixit trackpad B with iFixit cable A
  19. Tried iFixit trackpad B with iFixit cable B
  20. Debugged in Single User Mode and saw errors arising from AppleUSBMultitouch saying (HID) (USBMT) (Error) ReportID is invalid in AppleUSBMultitouchDriver::_deviceGetReportWithLookup – I doubt this is the issue, since it should be driven by AppleMultitouchDriver; but as the trackpad is classified as a USB device under System Preferences, I wasn’t too sure
  21. Booted into Recovery and saw that the error message mentioned above did not appear, arousing suspicion it is software related – again, I’m not sure if this is the issue; even though the error message didn’t appear the issue persisted
  22. Tried replacing AppleUSBMultitouch, AppleMultitouchDriver, AppleTopCase kernel extensions with fresh kernel extensions from macOS installer – didn’t work because codesign is different
  23. Tried macOS 10.15.6 reinstall – also didn’t work, but the error mentioned in (20) was no longer present
  24. Tried fresh macOS install on a brand new partition – no luck here either
  25. Procured replacement iFixit trackpad cable, and tested with original trackpad – this was done on the suspicion that all my cables may be defective
  26. Tested replacement cable with trackpad A – didn’t work
  27. Tested replacement cable with trackpad B – didn’t work
  28. Reseated trackpad and keyboard cables fully – didn’t work
  29. Removed logic board to inspect CY8C24794-24LTXI USB controller connections for corrosion – I live in an area near the ocean where corrosion of metallic parts is inevitable after a few years, so I figured that might’ve been an unfortunate cause. However upon close inspection with a microscope looking for signs of corrosion, dejointing, or shorts no glaring issues were found with the chip or its joints. The ZIF connectors were also in good shape.

I’ve also taken it to an Apple Genius, but they ran their tests, found nothing wrong, and told me I’ve already done pretty much what they would’ve done, if not more. This leaves me quite stuck with truly no idea what’s going on with my trackpad and keyboard subsystem. For now, I’ve started using the ol’ wireless mouse (and sometimes keyboard), and that should tide me through for a while.

Are there any possible causes of this issue, or perhaps solutions to reviving the trackpad?

macos – Vim frozen and unresponsive on startup

This question was originally asked here. Please see the comments and edits to see the attempted fixes so far.


I am using zsh on macOS. When I type vim, it opens, but it is completely frozen:

Anything I press on the keyboard does not display or change the window. In order to exit, I have to terminate the terminal session.

I did recently uninstall Homebrew, so it could be that this corrupted the program.

Does anyone know how this can be fixed? Is there a way to reinstall or update the system Vim (preferably, without Homebrew – it causes more problems than it solves).

virtualhost – Why does the Tomcat 7 virtual host become unresponsive (504) when a WebRTC webcam share session is on, with the nginx as reverse proxy

I am using nginx as the reverse proxy (correct me if I am wrong) server that runs the Tomcat 7 Java webapp. The complexity here is that there’s two apps nginx is serving off Tomcat. The main one resides as the domain xyz.com and the other subdomain sub.xyz.com. I had gone through various SO posts as to how to reverse proxy a subdomain still residing in Tomcat by using Tomcat virtual hosts in the section. So both xyz.com and sub.xyz.com reside as virtual hosts and the nginx sites config both default and sub.xyz.com are using proxy settings.

All’s well until I start using a webcam sharing tutor app that uses tutor.xyz.com within the sub.xyz.com web page in an iframe, after a while when multiple (8) participants are loaded, the site sub.xyz.com becomes unresponsive with 504 bad gateway error. Nobody else can browse or see any webpages. Strangely xyz.com works fine, and any other nginx hosted websites work well. It’s only the sub.xyz.com which stops responding, and I have to restart Tomcat for it to function again. Not to say, I may have to restart nginx as well. This problem has been bugging me, and I need it to be fixed. Help!

Touchpad unresponsive after few second on MacBook Pro 9,2 [Ubuntu Focal Fossa 20.04]

On a fresh install of Ubuntu 20.04 Fossal Focal on Apple MacBook Pro 9,2, the touchpad often becomes unresponsive after few second. I becomes unresponsive after 1 to 3s if I drag and drop, after bout 5s when two fingers scrolling, and for regular one finger touch, it appears more random.

I don’t remember having this issue on previous releases, but It’s been a while I haven’t done a fresh install. I made an install of 12.04 in 2013 and then successfully upgrade to the different LTS (14.04, 16.04 and 18.04).

wi fi – How do I turn on WiFi with an unresponsive screen?

So I own a Moto G4 plus

The touchscreen on this phone has stopped responding.
I've been in the middle of a lock for a long time. I cannot buy a new phone or have it repaired.
I want to continue using Whatsapp Web until then.

A few days ago, the WiFi on my phone was turned off for no reason and I can no longer use Whatsapp Web

In this case, how can I switch on the WLAN again?

magento2 – PDOException: SQLSTATE[HY000] [2002] No such file or directory error fixed, but now the website is very slow / unresponsive

Before the fix, I tried installing the printable module, proceeded to step 3, where you activated the module, and stopped half of the execution. The front or back end was not loading and after a long attempt to load it there was this error in my browser:

Error

I followed this link to fix this error and change localhost to 127.0.0.1. This worked because I can log in to the back end and load the front end, but it takes forever to load to the next page that I navigate to. Sometimes it takes so long until the administrator account has expired and I log in again.

I have assigned 2G in PHP memory_limit, but when I go to bin/magento c:c
I get this error:

mmap() failed: (12) Cannot allocate memory
PHP Fatal error:  Out of memory (allocated 10485760) (tried to allocate 12288 bytes) in /var/www/html/vendor/zendframework/zend-uri/src/Uri.php on line 1024

I'm so confused.