Sunday, November 26, 2023

WordPress.org has launched a high-performance translation plug-in to solve performance problems caused by translation

 After an in-depth performance analysis earlier this year revealed that translation affects server response times, WordPress contributors came up with six technical solutions for consideration to improve performance on the approximately 56% of websites that use translation.


Performant Translations is a feature project of the Core Performance Team and is now available as a plugin on WordPress.org. It combines some suggested solutions and speeds up translation by converting .mo files into .php files, allowing them to be parsed faster and stored in the OPcache cache.


It supports multiple file formats (.mo, .php, and .json) as well as multiple text fields and locales loaded simultaneously. Existing .mo files are converted into .php files and then loaded by WordPress.


The graph included on the plugin details page shows that page load times are significantly reduced when using the plugin compared to a translated website that does not use the plugin. The plugin's translation results are very close to the page load times of the English (untranslated) website.

“With enough testing and feedback, we hope to eventually merge the plugin into WordPress core,” performance team contributor Pascal Birchler said when announcing the plugin at X.


"In the coming weeks and months, we will share more testing instructions and continue to improve the plugin. This will also be available through Performance Labs."


Users testing the plugin can report issues on the support forum or create an issue on the GitHub repository.


Performant Translations is considered a beta testing plugin, but may be tested and used in production at your own risk. No changes to settings or configuration are required after installation. The plugin can be safely removed after testing as it will basically clean up after itself. Once the plugin is deactivated and uninstalled, all .php files it generated will be deleted by the server.

WooCommerce 8.3 sets shopping cart, checkout and order confirmation blocks by default on new installations

 WooCommerce version 8.3 has been released, bringing the shopping cart, checkout, and order confirmation blocks as the default checkout flow for new installations. This is a major milestone in WooCommerce’s journey towards a block-first checkout experience.

Version 8.3 is slightly delayed as core developers work to ensure it is compatible with the latest changes to WordPress 6.4 and the planned release of PHP 8.3 on November 23, 2023. They also want to give plugin developers time to prepare for the new reality of shopping carts and checkout blocks as default settings. The FAQ document outlines the steps for developers who still need to make their extensions compatible.

Developers with extensions that do not support the new Block Checkout by Default feature are encouraged to declare their plugins as incompatible so that WooCommerce can display a message to users in the settings sidebar. (For plugins that do not extend the shopping cart and checkout flow, no action is required).

While existing stores will not be affected by cart and checkout blocks becoming the default, merchants can easily choose the experience using the WooCommerce migration tool located in WooCommerce > Status > Tools > Create page. The tool will automatically generate new pages with block-based checkout flow. Blocked order confirmation templates are currently only available for stores using the block theme.

Other notable changes in WooCommerce 8.3 include:


Theme added to improved WooCommerce > Extension Marketplace

Market search improved

Mobile app onboarding improvements, Jetpack no longer required

Optimize images to reduce WooCommerce package size

WooCommerce 8.3 contains 682 commits to the core plugin, and 231 commits from the WooCommerce block, thanks to the efforts of 96 contributors. Check out the changelog for a more detailed look at the many fixes, tweaks, and enhancements included in this release.

Wednesday, February 8, 2023

There are new revelations about the iPhone 15 series, the top version may become the most expensive iPhone in history

 Not long ago, Cook hinted at the earnings conference call for the first fiscal quarter of the fiscal year 2023 (the fourth quarter of 2022) that Apple will continue to raise the price of high-end iPhones in the future, and said that "it will persuade users to pay higher fees." Analyst Ming-Chi Kuo said before that Apple plans to further increase the difference between the next-generation iPhone 15 Pro and iPhone 15 Ultra (iPhone 15 Pro Max). Add some unique features.

The rumors about the iPhone 15 series have already been released before the release of the iPhone 14 series, and the naming has also changed. The high-end version is no longer named Pro Max, but Ultra. Recently, some overseas netizens exposed a set of renderings of the iPhone 15 Ultra, which seems to be worthy of the expensive price.

iPhone 15 series renderings The appearance design of this group of iPhone 15 Ultra is a bit similar to that of Apple Watch Ultra. It is no longer a sharp-edged design, but returns to a round shape, and the middle frame is made of titanium alloy. However, the button design can still be seen in the rendering. It was previously reported that the iPhone 15 series will cancel the remaining physical buttons and instead adopt the design of solid buttons, which is equivalent to a virtual button. By mobilizing the  Taptic Engine  linear motor to simulate the physical buttons Feedback, just like the Home button used in iPhone 7 and iPhone8 series and other models. At the same time, in order to better simulate the feedback of volume keys and power keys, Apple will also add two Taptic Engine motors on the left and right sides of the fuselage. As the exclusive supplier of  Taptic Engine  solid-state button controller ICs, Cirrus Logic  said that if users respond well to this new design, it may be adopted in other high-end models in the future. The USB-C interface at the bottom is also very conspicuous. According to earlier revelations, the iPhone 15 will be replaced with a USB-C interface for the entire series, and the data transmission and fast charging protocols are expected to be upgraded by then. As for other aspects, it is not much different from the iPhone 14 Pro series. The rear triple camera does not seem to have added a periscope telephoto lens, and the front is still a smart island digging screen. In addition, it is rumored that Apple will further increase the screen brightness of the iPhone 15 Pro and iPhone 15 Ultra (or Pro Max) to 2500 nits. The typical maximum brightness of the two models of the Phone 14 Pro series is 1000 nits, the peak brightness of HDR content rises to 1600 nits, and the peak brightness of outdoor use is 2000 nits. In terms of price, for reference, the iPhone 14 Pro Max 128GB version is priced at 8,999 yuan, the 256GB version is priced at $1,500, the 512GB version is priced at $1,750, and the 1TB version is priced at $2,014. And Cook previously hinted that the iPhone 15 series will increase in price, so the starting price of the iPhone 15 Ultra is likely to exceed 10,000 yuan, and the top version may be higher, or it will become the most expensive iPhone in the world. Would you buy the top-of-the-line iPhone 15 Ultra if it cost more than $3,000?

The iPhone suddenly dropped in price, and the 14 Pro dropped by up to 800 yuan! Sales in Greater China have fallen sharply, is Apple in a hurry?

 Recently, it was reported that all versions of the iPhone 14 Pro series will receive a discount of 700 yuan starting today, covering almost all authorized stores.

In order to further verify the news, a reporter from "Daily Economic News" contacted a person who works in Shangpai Apple authorized franchise store, and she said: "All series of 14 pro are discounted by 700, and it is not clear whether the range is authorized stores nationwide. "The staff of an Apple authorized franchise store located in Shenzhen Link Exhibition Central City also gave the same answer. At present, the prices of the iPhone 14 Pro series on Apple’s official website and Tmall’s official flagship store have not yet dropped. The starting price of the iPhone 14 Pro is still 7,999 yuan; the starting price of the iPhone 14 Pro Max is still 8,999 yuan. However, on the Apple authorized franchise store of the WeChat applet, the iPhone 14 Pro series has shown a price reduction of 700 yuan. In terms of price cuts, Apple’s self-operated flagship store in JD.com offers even greater discounts. Currently, the iPhone 14 Pro series offers an immediate discount of 800 yuan. So will other brands of mobile phones follow suit? According to Southern Metropolis Daily, at present, flagship models of other brands of mobile phones have not seen a sharp drop in price, and some models have discounts for cooperation with operators. On February 6, the reporter visited a number of Apple authorized franchise stores in Shenzhen, Sunion, Coodoo and Sunpie, and learned that the discounts in each store will be launched from February 5, and the specific deadline is not yet clear. However, the price cuts of each store are different. Taking the popular iPhone 14 Pro as an example, the price reduction of Sunion stores is 600 yuan, while the price reduction of Coodoo, Sunpie and other stores is even greater, with a drop of 700 yuan. The situation of offline stores in Guangzhou is also very similar. The reporter visited the Sunion Apple Authorized Experience Store in Guangzhou Tianhe City and found that the prices of all Apple iPhone 14 products are discounted, and the discounts are divided into two levels of 400 yuan and 600 yuan. Among them, the Apple 14 series products have a discount of 400 yuan, and the iPhone 14 Plus, iPhone 14 Pro and iPhone 14 Pro Max series all have a discount of 600 yuan, and the color matching of each series of products is very complete. A clerk at the Guangzhou Tianhe City Apple Authorized Store told a reporter from Nanduwan Finance and Economics that on the basis of the general price reduction of iPhones, relevant discounts for cooperation with operators can also be superimposed. On the online platform, Apple’s self-operated flagship store of JD.com also launched a special offer. The iPhone 14 Pro series will get a discount of 800 yuan for a limited time. The event time is from February 5th to 15th. In the early hours of February 3, Apple released its quarterly report for the 2023 fiscal year (the quarterly report for the 2022 natural year as of December 31). The total net sales in the first fiscal quarter were US$117.154 billion, a year-on-year decrease of 5%, lower than the market The expected $121.104 billion. It is worth noting that this is the first time that Apple has experienced a year-on-year decline in revenue since fiscal 2019. The net profit for the period was US$29.998 billion, a year-on-year decrease of 13%; the gross profit margin for the quarter was 43%, compared to 43.8% for the same period last year. Apple’s first fiscal quarter of each fiscal year covers the shipment of new iPhones launched in the fall. In addition, the holiday shopping season at the end of the year usually has strong demand, and it is also a window to reflect the sales of new iPhones. Therefore, This quarter also tends to be Apple's highest-grossing quarter. However, the first fiscal quarter of fiscal year 2023 was less than expected. In terms of business, in addition to the year-on-year increase in iPad revenue and service revenue in Apple's first fiscal quarter, iPhones, Mac computers, wearables and other terminal hardware all declined. Among them, the net sales of the revenue "responsible" iPhone business were US$65.775 billion, a decrease of 8% from US$71.628 billion in the same period of the previous year, while the net sales in Greater China fell the most, at US$23.905 billion, a decrease of 8% from the same period last year. The 25.783 billion US dollars fell by 7.3%. As for the reason for the decline in performance, Apple CEO Cook said at the performance communication meeting that the delay in demand and channel problems caused the iPhone inventory to fall below the target, and iPhone supply was greatly challenged, and the future impact is still uncertain. But the company currently manufactures products all over the world and assembles them mainly in three countries, so supply issues will improve. He also said that the company estimates that if there were no supply chain issues for the iPhone 14 Pro and iPhone 14 Pro Max, iPhone revenue should have risen year-over-year. The epidemic and the shortage of chips have indeed made the past three years very difficult, and the supply is currently sufficient. As the "leader" in the consumer electronics market, Apple's performance also reflects the sluggish demand in the terminal market from the side. In fact, according to a report released by the International Data Corporation (IDC) a few days ago, in the fourth quarter of 2022, global smartphone shipments fell by 18.3% year-on-year to 300.3 million units, the largest single-quarter decline since records began. Looking at the whole year of 2022, the situation is not optimistic. IDC said that the annual shipments in 2022 will drop by 11.3% year-on-year to 1.21 billion units, the lowest annual shipments since 2013, mainly due to the sharp decline in consumer demand, inflation and economic uncertainty. Nabila Popal, director of research at IDC, even said bluntly: "We have never seen shipments in the holiday season lower than the previous quarter. However, weak demand and high inventories have caused suppliers to slash shipments." .What this holiday quarter has taught us is that rising inflation and growing macro concerns continue to hold back consumer spending, even more than expected." For the top five manufacturers, shipments in the fourth quarter of 2022 will all experience double-digit percentage declines, and Apple is no exception. Apple’s smartphone shipments in the fourth quarter were 72.3 million units, a year-on-year decrease of 14.9%, but ranked first in market share; Samsung ranked second, with a year-on-year decrease of 15.6% to 58.2 million units. Ranked third to fifth were: Xiaomi fell 26.3% to 33.2 million; OPPO fell 15.9% to 25.3 million; vivo fell 18.9% to 22.9 million.

Tuesday, February 7, 2023

120x zoom! Mi 13 Ultra revealed to be launched in April

 Sparrowsnews reports that Xiaomi will release its latest flagship phone, the Mi 13 Ultra, also known as Android Light. This year's Light of Android created a lot of buzz among fans and tech enthusiasts alike, and the latest news from Ice Universe suggests the phone will arrive in April.

One of the most exciting features of the Mi 13 Ultra is that it supports 120x zoom, which is achieved by adding a telephoto optimization algorithm. This algorithm significantly improves the quality of the 50x digital zoom, making it one of the most advanced cameras on a smartphone. Compared with the Mi 13 Pro, the Mi 13 Extreme Commemorative Edition stands out with its periscope telephoto lens. This addition makes it the only high-end flagship in the Mi 13 series to feature the technology. It makes Mi 13 Ultra the light of Android 2023, offering users a truly unique and top-notch experience. The Mi 13 Ultra is shaping up to be one of the most exciting releases of the year. With its advanced camera technology, cutting-edge features, and new design, it's poised to be a top contender for the title of best Android phone of 2023. Keep an eye out for its release in April, as it's sure to be a hit.

What are the meanings of the seven upgrade points of iphone15pro configuration upgrade

 As a fruit fan for more than ten years, with a budget of 7000, I wanted to buy the iPhone14 series, but I was very disappointed after the release of the mobile phone. The configuration of the iPhone14 is too low, the premium of the iPhone14plus is too high, and the Pro series is too expensive. Thinking about it now, since it is already 2023, it might as well just wait for the iPhone 15 series. I have to admit that the influence of Apple's mobile phone is great, and it will be on the hot search when there is a little trouble. Recently, foreign media broke the news about the upgrade of the new iPhone 15Pro this year. There are mainly seven aspects. Let me introduce you one by one:

First of all, the most important thing is that the new machine is equipped with the A17 processor. The performance of this chip is incredible, because it uses the 3nm manufacturing process for the first time, and now the 5nm flagship machine is not popular in China. Apple is a bit ahead of the time with 3nm. According to media reports, compared with the a16, the performance of the a17 can be increased by up to 15%, and the power consumption can be reduced by 35%. It is scary that the transistor density is increased by 70%, which means that the number of transistors in the a17 will exceed 27 billion. No wonder there is a conclusion in the mobile phone industry that Apple's processor performance is twice as good as Qualcomm's in the same generation of chips. But to be honest, so many people around me use Apple mobile phones, and few people say that they choose iPhone because of the powerful chip performance. Almost all of them are because of the ios system or the Apple brand. According to my understanding, it should be that the powerful performance of Apple chips has already been deeply rooted in the hearts of the people. . The second upgrade point of iPhone15Pro is wifi6E. Most consumers don’t understand this function. Simply put, it can improve the network speed. Some bloggers have tested it. A mobile phone that supports wifi6 technology is connected to a hotspot of wifi6 router. The download speed exceeds 200 megabytes per second, while the download speed of 5G mobile phones using 5G network does not exceed 60 megabytes per second, which means that the download speed of 5G network is the younger brother in front of wifi6. Obviously, if iPhone15Pro supports wifi6E, the download speed will be faster, which is why routers supporting wifi6.0 have been very popular in the market in the past two years. The third upgrade point of iPhone 15Pro is the USB-C interface. The reason why changing the L interface to the C interface is also called an upgrade, because the data transmission capability of the C interface is much stronger than that of the L interface. At present, all Android phones use the C port. The purpose of Apple’s non-use is to monopolize and make more money. If it weren’t for this EU legislation, Apple really doesn’t want to use the C port on the iPhone 15Pro. The fourth upgrade point is the hardness of the mobile phone. It is said that the overall frame of the iPhone 15 Pro is made of titanium alloy, which means that the phone is more resistant to falling. Of course, the cost will increase a lot. The fifth upgrade is the frame of the mobile phone. According to the published renderings, the frame of the iPhone 15 Pro is significantly narrower. I believe anyone who has used Apple’s Liu Haiping mobile phone knows that the frame of the iPhone is indeed very wide, especially when wearing a mobile phone case. The front of the phone looks like a thousand yuan phone. This time, the iPhone 15 Pro narrows the frame, which will bring stronger visual effects and a stronger sense of technology. The sixth upgrade of the iPhone 15Pro is 8GB of running memory, and the 14 series is 6GB. Although 8gb does not seem big, it is too big for the ios system. Besides, Apple’s 6GB fluency can kill Android 20GB in seconds, and 8GB will definitely Make the system smooth and silky. The seventh upgrade point is the camera. Judging from the leaked information, the iPhone 15Pro has the same rear three-camera pixels as the 14Pro, but the former increases the optical zoom to 6 times. Indeed, the numerical value of 6x optical zoom is really shabby compared to the high-end Android phones with 10x optical zoom at every turn, but according to my years of experience in using various mobile phones, in terms of taking pictures and videos, Android phones can't beat Apple machines at all. Don’t look at the 10x optical zoom, 120x or even 200x digital zoom that many high-end Android phones have. After using it, you will find that when you zoom in 10x or 120x, the photos and videos are just a bunch of mosaics shaking. Excuse me. What's the point? With such a large zoom factor, the result is a pile of rubbish. It is really zooming for the sake of zooming. It never considers the feelings of consumers, and the high cost is evenly distributed to users. I personally think that the Android brand still needs to be more pragmatic. Like Apple, it first clears up the photos taken with five or six times optical zoom, and then slowly increases the zoom factor, instead of going to 100 times digital zoom all at once. Use superficial data to fool consumers into paying. To sum up the seven configurations of the iPhone 15Pro upgrade, I personally think it’s not bad, and the rest depends on the price. If it’s the same as the iPhone 14Pro series, it’s going to be crazy.

WordPress.org has launched a high-performance translation plug-in to solve performance problems caused by translation

 After an in-depth performance analysis earlier this year revealed that translation affects server response times, WordPress contributors ca...