Running Macbook with 7.3v battery & AC power adapter

MacBook Pro 2013 non retina device has a defective battery which outputs only 7.3 volts. The Macbook cannot run only on the battery – it requires the AC power adapter to be plugged in to power the device.

The battery used to provide 11.1 volts but there may be fault in cells or BMS circuit which is causing it to output only 7.3 volts.

enter image description here

The battery gets charged normally but I don’t know if any power is consumed from the battery by the MacBook.

It’s similar to using Macbook without battery, but Macbook cpu speeds are down when only used with AC adapter. But I notice no cpu throttle when used with 7.3v battery and AC adapter.

Is it safe to use the Macbook with combination of defective battery (7.3v)and AC adapter?

redhat – Why after running subprocess.Popen(), not able to write to a file?

I am not able to write to a file after

> Popen() runs

conf_file='/home/'+ service_ac +'/conf/keep-allGateways-alive.cfg'

def find_gw_ips():
        fp.write('hello') #this gets printed in file
        t = subprocess.Popen("ifconfig", stdout=subprocess.PIPE)
        fp.write('hello_2') #this does not get printed in file


I use crontab to run this script, without crontab it runs good, without any issues

* * * * * python /home/vtu/bin/ vtu >/tmp/out.txt 2>&1

I am using RHEL 7.4, python 2.7.5

I tried redirecting and got errors:

Traceback (most recent call last):
  File "/home/vru/bin/", line 34, in <module>
  File "/home/vru/bin/", line 30, in find_gw_ips
    t = subprocess.Popen("ifconfig", stdout=subprocess.PIPE)
  File "/usr/lib64/python2.7/", line 711, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.7/", line 1327, in _execute_child
    raise child_exception
OSError: (Errno 2) No such file or directory

Award-Winning Literary Portal Running Since 1999 Goes on Sale!

Why are you selling this site? Focus on other activities, so allow someone else to benefit from it.

How is it monetized? Google Adsense and affiliate program links.

Does this site come with any social media accounts? Yes.

How much time does this site take to run? 10 hours a week.

What challenges are there with running this site? Updating it.

Age of site: Founded in 1999 with the name/brand LitLinks. Switched to domain name in 2000.

Site design: It took two professional designer several months to create and perfect the current look of the site. The directory has gone through several revamps over the years to keep it up-to-date and enhance its appearance.

Just to come up with the ideal logo took us several weeks. We had several graphic designers coming forward with different ideas and creating sample logos (all logos will be given to purchaser of

Traffic statistics: 32 million visitors since 1999. Now approx. 60,000 unique visitors per annum.

Site demographics: Most people who visit are university graduates and aged 35+. They are financially solvent and spend far more money online than younger surfers. From a survey we did a few months back, the audience is mainly highly-educated, middle-aged people from Western countries. They are affluent and amongst the highest online spenders.

Source of traffic: We have spent hundreds of hours acquiring permanent links to from numerous large, medium and small web directories (Arts/Literature is often the top category in most directories). Those links to will there for a long time: even five years down the line they will be sending traffic to

Enjoys valuable aged inbound links from Wikipedia, academic websites and review portals.

Even if you were never to spend a penny more on promoting the site, it would continue to pull in at least 4,000 uniques a month for years to come. Unlike other websites, we have invested a huge amount of time and money into to ensure its long term profitability.

There are thousands of references to in search engines. See how many sites mention and link to in Google and Bing. Due to the enormous number of backlinks to it ranks number 1 – 5 in Google, Bing etc. for popular search terms like “english literature directory”. It takes a phenomenal amount of time and money to get so much exposure for a site!

Asking price: We are selling the site, which includes the domain name, social media accounts, content, logos, professionally-designed banners adverts and thousands of links to it from all over the web, for a mere US $3,495. Special offer for July: get 20% off our asking price!

Net revenue per month: $xxx revenue a month. Until now, we have been concentrating on drawing traffic to the site and providing a quality user experience rather than monetizing the traffic. The amount of income the site generates could be increased.

Specific source of revenue: Google Adsense and affiliate program links.

Copyright status of site content: Copyright of text and images will pass to purchaser of the business.

Any other pertinent data: has been around in different incarnations for over 20 years! It is the product of thousands of hours of work, mainly spent on promoting the URL. A lot of effort has gone into automating sections of the portal and future-proofing the coding, so the site will require minimum maintenance.

Further information: If you may be interested in buying this award-winning directory please email buy (at) , Skype AzamMkt or ring our office on +44 (0) 20 33 55 4334 anytime 24 hours a day, 365 days a year.


Firefox 78.0.1 does not connect to Django development server running at localhost:8000

Firefox was working ok to browse localhost:8000 on a development machine running Django development server. However, it suddenly stops working (perhaps after a nightly update). The Django server is running fine at but when trying to browse http://localhost:8000/ it just shows the following page:

enter image description here

Any ideas?

woocommerce – WP WPQuery, not running properly in WP CLI

I’m running a simple query just to find simple WooCommerce products, here is the query which works fine in the header of the site:

$args = array(
    'post_type' => 'product',
    'posts_per_page' => -1,
    'tax_query' => array(
            'taxonomy' => 'product_type',
            'field' => 'slug',
            'terms' => array('simple')

$simpleProducts = new WP_Query($args);

This query returns 1065 products which are correct. If I run the same query through a WP CLI command, I get 0 posts… however, if I remove the tax query it’s returns all the products on the site.

Has anyone had this issue with WP CLI?

How to determine Windows 10 version when it is not running?

Where is my Windows OS Product information stored?

In a functional copy of windows, there is a couple of registry values which contain information about the Windows system.

This can be accessed through the Registry Editor by searching under:

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion"

The registry ‘hive’, which is a subset of keys and values for the system, contains information such as CurrentVersion, ProductName and EditionID – these can be used to evaluate your type of Windows.

To check your version of Windows, locate the CurrentVersion value.

If you are running Windows 10, there are two new values that can be used to evaluate the OS version, CurrentMajorVersionNumber and CurrentMinorVersionNumber.

What if I want to check the version of an offline Windows?

  • Plug the offline storage of Windows into a host machine (E.g. An old copy of Windows on a HDD).
  • Locate the Registry Hives for the offline Windows. They are usually stored under C:WindowsSystem32config. You should notice the hives as regular file types named in ALL CAPS (E.g. SOFTWARE, DRIVERS, VSMIDK)
  • Open the host system’s Registry Editor by running regedit.exe.
  • Select the HKEY_LOCAL_MACHINE folder. Click File/Load Hive. Load the SOFTWARE hive from you offline Windows folder.
  • Give the loaded hive a recognizable name so that you can locate it later.
  • View/Modify the loaded hive/value is required. Click File/Unload Hive once you are done.

Alternatively, you can use a third-party registry editor on you host machine to view/modify the hives.

time machine – Migration Assistant won’t copy (some) files, though running through smoothly without error

we’re just migrating my wife’s MacBook Pro to a new one, both most recent macOS versions via a TimeMachine backup. In the process all files are selected, Migration Assistenten on the new mac runs through smoothly without any errors. Except that it’s a lot faster than expected, and faster than it first estimates to be. We’re roughly talking about 200 Gb of data, it first estimates to take around 1:30 (h:min), but then finishes after just a couple of minutes. After rebooting the Pictures and Music folder for example are empty, haven’t fully explored, what else might be missing. The missing data definitely is on the time machine backup.

Any ideas on what might have gone wrong here? Might try skipping the time machine backup and using Migration assistant directly Mac to Mac.

One more thought: old Mac used case-sensitive Apple File System, new Mac doesn’t – might that be the source of the „error“? Thanks for your help!


sudo – The file system shows there is a user, “_mysql”, that I cannot “su” as root. What is basically going on so I can get mysqld running again

The following shell command sequence makes me realize I don’t understand something very basic about how user and group accounts works on MacOS:

/tmp$ whoami
/tmp$ cd /usr/local/mysql/data
/usr/local/mysql/data$ ls -l | grep mydatabase
drwxrwxrwx 55 _mysql _mysql 1760 Jun 24 2019 mydatabase
/usr/local/mysql/data$ su
/usr/local/mysql/data# su _mysql
/usr/local/mysql/data# whoami

summary: The file system shows that the mysql installation created a user account and group account both called: “_mysql”. Yet, when I am root, there is no user account named “_mysql” for me to “su”.

why do I care? I ran my database fine using El Capitan. Then, I upgraded to Catalina, and now I’m having trouble (I think permission) with running mysqld. And, as a general “best practice”, I think you are suppose to minimize the number of things running as root on your machine. But, I really just want my db running again and I’m puzzled by this.

amazon web services – MySQL: normal CPU Utilization but I’m running out of memory. Should I get worried?

I’m running a heavy python script in a EC2 instance. This script is inserting tables (financial reports) to a MySQL server. There are lots of tables, the total amount is 240.000 tables. I started the python script 1 day ago and these are the stats of MySQL server. CPU Utilization / Memory As you can see, cpu utilization seems normal but memory has gone down since the script started running. Note that I’m only running this script, there is no other work for MySQL. How can I maintain the memory stable?