On macOS compiled Tensorflow to open AVX2 and FMA

When using Tensorflow,There has been a strange warning: Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA ,Although not affect the use,But looking annoying,You can use this command to turn it off: the.about['TF_CPP_MIN_LOG_LEVEL'] = '2'

but,Have you noticed it? " could speed up CPU computations"……Ok?!

background

In short,according toThe official,Ten[……]

Click link to continue reading...

Proper use PIP to install Python package to avoid TypeError: ‘module’ object is not callable

Before,I have been so install and use pip on the macOS:

later,This method is ineffective,Become such:

Finally one day,I need to update it prompted pip,then:

After the query,Python is found that to be so safe[……]

Click link to continue reading...

WordPress automatically add copyright text and text link

Blog post past few days has been grabbed someone else take,Though Contact Webmaster and communication to solve,But I still have to reflect on their own,The body of the article did not add article link,Cause even if people can not get crawled pingback ......

Plug-law

In short,Search a pass,There seems to be a plug-in before you can step (I happen to be the kind of person like a lot of plug-ins),Called "Add Post URL",But this plugin has the shelf。

This approach does not work,But to try to modify the code level:

Change text Template

This approach requires your theme[……]

Click link to continue reading...

Use ClamAV and Linux Malware Detection (LMD) Protect your servers

Use CalmAV scan / home

This article originated inR0uter's Blog,ClickView original

 

Normal,Speaking of viruses, Trojans,People will probably think of Windows,In fact, as long as the operating system,There will be loopholes,So long as the operating system was used,Then some people will take advantage of this loophole to develop malware (such as viruses, Trojans)。In short,Since the Windows operating system users is far greater than macOS and various Unix-like,So many people think the latter even immune to the virus。

Not really,Although Linux[……]

Click link to continue reading...

Pocketed input macOS 2 It is how to restart the free activation input method

On macOS,Install the input method has always been a nightmare,To open the system input method directory,We should drag input into this directory,The process also enter a password,Full manual bad enough,After we had to reboot the system to recognize,Not really a headache。

Later, we gradually realized the problem,Pocketed input method is also provided macOS standard installation package pkg。

Having said that,But in fact it seems that there is a way to automatically load input method,such asSogouHe did restart free,After installing only be able to identify without rebooting,Even installation[……]

Click link to continue reading...

Use Mailgun create your free domain mail

This article now has expired,Because Mailgun no longer offer free credit,And the necessary functions used herein, "recipient routing" feature set for advanced users no longer offer free,I changed the site to achieve another domain mail,see:When Mailgun no longer free,How do you placed your domain mail?

Creating a website is easy,But there should own a domain name and e-mail address associated Domain mail,It seems to be more trouble。For Chinese webmaster,“QQ-mail domain name"It seems to be the only option,Of course, if using Pay,Then use[……]

Click link to continue reading...

Why is my upload so slow Fastlane?

automation

Processed using automated tools for iOS test Flight distribution,It is a very pleasant thing,It can save you a lot of time,Reduce the amount of manual intervention - especially like this need to wait a long time to look at things that require manual operation,Although it does not make you feel tired,But a lot of time so wasted。

use fastlane A key to compile、Upload,And then wait for Apple server processing is complete,Automatic release test Flight,It would have been a great operation,However, due to changes in the network environment,My fast[……]

Click link to continue reading...

macOS app script to automate notarize

According to Apple's official description,Since macOS 10.15 Start,All downloaded from the Internet were not notarize the app,Default will not be opened,So distributed outside the App Store app,The app must also be uploaded to Apple's servers for processing before release。

Use Xcode comes archive tool can be easily notarize,But this operation can not be automated process,In order to facilitate distribution,I pocketed input method macOS 2 The flow distribution[……]

Click link to continue reading...