Will C++ Header Only will the future direction of the C++ programming style with the supporting compiler / tools in the nearly future

To write C++ code with a header only is more convenient but however, it is not efficient when the program needs to recompile all the time. Is it possible in the future that C++ will fully be optimized in this style of programming? This will help a lot for new programmers in C++ and to avoid the complex compiling process.

Failed to install Android SDK Tools, and want to install KVM for Android Studio

i know my Question is probably divergent and maybe looks like other questions but i just can’t figure it out on my own 🙁 bear with me 😀

my computer:

Ubuntu 18.04.2 LTS

Android Studio version 3.4 installed by Ubuntu software

java version “11.0.2” 2019-01-15 LTS Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS) Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)

Question: How to resolve this error ? what should i do with the KVM installation ?

I installed android studio from Ubuntu software, after couple of weeks tried to run it and got me into some downloads required mentioned in the first picture

enter image description here

then i head to this page https://help.ubuntu.com/community/KVM/Installation

to install KVM checked every thing as mentioned in the website and installed everything till this “Lucid (10.04) or later” then instead of completing the instructions i clicked finish in the suspended Android Studio installation and it asked me to install Android SDK Tools and i got this error.

enter image description here

error messege:

java.io.IOException: Cannot download  'https://dl.google.com/android/repository/ emulator-linux-5395263.zip':  Read timed out , response: 200 OK Warning: An error occurred while preparing SDK  package Android Emulator: Cannot download  'https://dl.google.com/android/repository/ emulator-linux-5395263.zip':  Read timed out , response: 200 OK. java.net.UnknownHostException: dl.google.com  Warning: An error occurred while preparing SDK  package Android SDK Platform 28: dl.google.com.  java.net.UnknownHostException: dl.google.com  Warning: An error occurred while preparing SDK  package Android SDK Platform-Tools: dl.google.com.  java.net.UnknownHostException: dl.google.com  Warning: An error occurred while preparing SDK  package Sources for Android 28: dl.google.com.  java.net.UnknownHostException: dl.google.com  Warning: An error occurred while preparing SDK  package Android SDK Build-Tools 28.0.3:  dl.google.com. java.net.UnknownHostException: dl.google.com  Warning: An error occurred while preparing SDK  package Google APIs Intel x86 Atom System Image:  dl.google.com. 

enter image description here

enter image description here

thanks in advance 😀

power measurment tools in android?

I am interested in app power measurment and recently I use Trepn and I have no idea how it is working? I search in Qualcomm forums and the only thing that if found is this:

It gets its power readings from the power management IC (PMIC) and the battery fuel gauge software.

where is this data? I mean how can I read power data from PMIC ? beside Trepn estimate app power consumption , I wonder if it use power models based on device state(Network,CPU,…)?

I am really grateful if someone can give some general overview about how trepn works.

Tools to determine if a website is malicious

I think VirusTotal is the most common tool for this purpose, so I would like to know another tools to find out if a website is malicious or not (like download malware or other bad stuff).

I ask this because my father accessed a site called “milacrin.com” (and other variants, like 6.milacrin.com and 20.milacrin.com). It seems like ads or popup stuff. I used VirusTotal to scan and found nothing, but it seems suspicious.

Tools for manipulating git changesets/patches/diffs

I’m making some large changes to a legacy codebase, and there are a lot of smaller refactors/autolint fixes that often get lumped in with larger function changes as I touch files. The commit history therefore becomes rather messy, and I’d like to clean it up for review.

Are there any good tools (or some combination of shell utilities/git magic) that would allow bucketing of diffs into commits based on a regex match or something similar?