‘App not Installed’ Error on Android

Primarily for older phones I only encountered the App not installed error when trying to install an apk on my phone which runs on 4.4.2 aka KitKat, but my friend did not encounter this error on his phone which runs on 6+. I tried the other solutions such as removing the old/debug version of the app because … Read more

How to deal with SettingWithCopyWarning in Pandas

The SettingWithCopyWarning was created to flag potentially confusing “chained” assignments, such as the following, which does not always work as expected, particularly when the first selection returns a copy. [see GH5390 and GH5597 for background discussion.] The warning offers a suggestion to rewrite as follows: However, this doesn’t fit your usage, which is equivalent to: While it’s clear that you don’t care … Read more

Emulator: ERROR: x86 emulation currently requires hardware acceleration

As per this response, the complete steps are: 1) Open SDK Manager (In Android Studio, go to Tools > Android > SDK Manager) and Download Intel x86 Emulator Accelerator (HAXM installer) if you haven’t. 2) Now go to your SDK directory C:\users\%USERNAME%\AppData\Local\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager\ and run the file named intelhaxm-android.exe. In case you get an error like “Intel virtualization technology (vt,vt-x) … Read more

Docker: How to delete all local Docker images

For Unix To delete all containers including its volumes use, To delete all the images, Remember, you should remove all the containers before removing all the images from which those containers were created. For Windows In case you are working on Windows (Powershell), Based on the comment from CodeSix, one liner for Windows Powershell, For … Read more

Differences between git pull origin master & git pull origin/master

git pull origin master will pull changes from the origin remote, master branch and merge them to the local checked-out branch. git pull origin/master will pull changes from the locally stored branch origin/master and merge that to the local checked-out branch. The origin/master branch is essentially a “cached copy” of what was last pulled from origin, which is why it’s called a remote branch in git … Read more

What is a StackOverflowError?

Parameters and local variables are allocated on the stack (with reference types, the object lives on the heap and a variable in the stack references that object on the heap). The stack typically lives at the upper end of your address space and as it is used up it heads towards the bottom of the address space (i.e. towards zero). Your process also … Read more

How to update/upgrade a package using pip?

The way is or in short Using sudo will ask to enter your root password to confirm the action, but although common, is considered unsafe. If you do not have a root password (if you are not the admin) you should probably work with virtualenv. You can also use the user flag to install it on this user only.

Git: How do I force “git pull” to overwrite local files?

⚠ Important: If you have any local changes, they will be lost. With or without –hard option, any local commits that haven’t been pushed will be lost.[*] If you have any files that are not tracked by Git (e.g. uploaded user content), these files will not be affected. First, run a fetch to update all origin/<branch> refs to latest: Backup your … Read more

How to deal with SettingWithCopyWarning in Pandas

The SettingWithCopyWarning was created to flag potentially confusing “chained” assignments, such as the following, which does not always work as expected, particularly when the first selection returns a copy. [see GH5390 and GH5597 for background discussion.] The warning offers a suggestion to rewrite as follows: However, this doesn’t fit your usage, which is equivalent to: While it’s clear that you don’t care … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)