5

40s News Express

  • Kuaishou announced the abolition of "small and large weeks" starting in July: two times the salary for overtime on weekends
  • The ByteDance trainee deletes all machine learning models below GB: Suspected of being deleted by mistake
  • The blogger of Xiaomi Mi 10 Extreme Edition compensates 1 million yuan for leaking in advance
  • Tencent Electronics signed a new "small contract" function to quickly generate legally effective cloud contracts
  • Xiaomi Mi 11 pushes the "cooling" patch, which can limit the heating of Snapdragon 888, and finally it will not burn!
  • Chinese Academy of Sciences releases domestic open source RISC-V processor "Xiangshan"
  • It is reported that Huawei will build its first chip factory in Wuhan in 2022
  • Microsoft explains why Windows 11 mandates TPM 2.0 hardware support
  • Huawei P50 standard version specifications exposed: or equipped with Snapdragon 888 4G
  • Nintendo Switch Pro processor details exposure: NV Orin S chip blessing, codenamed Black Knight
  • The design of Google’s new address book looks a lot like Google Plus
  • Operating system written in V language: Vinix
  • Spring Boot 2.4.8 released
  • Rocky Linux 8.4 released
  • Linux 5.14 will support OpenPOWER Microwatt Soft CPU core
  • IntelliJ IDEA 2021.2 EAP 4 released

Industry Information

Kuaishou announced the abolition of "small and large weeks" starting in July: two times the salary for overtime on weekends

Kuaishou just announced the cancellation of major and minor weeks starting from July 1. Employees work overtime as needed, and the company pays employees overtime wages in accordance with relevant regulations. Kuaishou internally referred to the big and small weeks as the "focus day", and started trial operation in January this year, and decided to cancel after half a year of trial operation. Big and small weeks refer to a single rest for one week, and double rests the next week, and so on. Overtime on weekends Kuaishou pays employees twice the wages, and national statutory holidays overtime pays employees three times the wages.

The ByteDance trainee deletes all machine learning models below GB: Suspected of being deleted by mistake

Recently, a netizen broke the news that an intern of ByteDance deleted all the company’s lightweight lite machine learning models. The poster stated that the lite model is almost all the company’s machine learning models below the GB size, and all of them have been deleted. The intern directly deleted the parent directory and added skip trash (temporarily disable recycling when deleting files), which caused the deleted model to be unable to be restored. The whole company notified that night and was directly included in the P0 accident level (serious accident). Afterwards, everyone was discussing the intern’s stay, but it is said that "as long as it is not subjectively and deliberately" will not be expelled, and some netizens said that the intern cannot have the authority to operate such important things. 80% of this pot should be sentenced. To the managers, the intern actually exposed the problem. From another point of view, the intern did a good job.

The blogger of Xiaomi Mi 10 Extreme Edition compensates 1 million yuan for leaking in advance

Digital blogger "Beautiful Technology" issued an apology letter on Weibo, claiming that he violated the confidentiality agreement with Xiaomi by sending out the unboxing video of the Mi 10 Extreme Commemorative Edition in advance on August 11, 2020. After arbitration by the China International Economic and Trade Arbitration Commission, the company was awarded 1 million yuan in compensation to Xiaomi.

Tencent Electronics signed a new "small contract" function to quickly generate legally effective cloud contracts

On June 24, Tencent Electronics signed and announced the launch of the "small contract" function. We can use the small contract function to quickly generate a standard rental contract. After both parties have completed personal identity verification and have no objection to the contract information, they can sign this legally effective contract at any time. This will effectively resolve the rights and interests disputes that may arise between the renting parties. In addition, during the lease period, the landlord can use the "small receipt" function to issue a legally valid receipt for the tenant.

Xiaomi Mi 11 pushes the "cooling" patch, which can limit the heating of Snapdragon 888, and finally it will not burn!

Xiaomi Mi 11 is the world's first model equipped with Snapdragon 888. Due to the Snapdragon 888 chip itself, the heat problem cannot be suppressed well, so this kind of complaints will appear. The fact is the same. Because Xiaomi Mi 11 does have a certain heat problem, although the sales of this phone since its release are considerable, the heat problem has been complained by many netizens. However, the fever problem of Xiaomi Mi 11 has finally been solved. Judging from the feedback from the Xiaomi community, this version of the patch seems to greatly limit the performance release of the Snapdragon 888 chip, and the daily experience will encounter the problem of frame dropping and even the game can only use the 60Hz refresh rate.

Chinese Academy of Sciences releases domestic open source RISC-V processor "Xiangshan"

The first RISC-V China Summit was held this week at Shanghai University of Science and Technology. At this conference, Bao Yungang, a professor at the University of Chinese Academy of Sciences and a researcher at the Institute of Computing Technology of the Chinese Academy of Sciences, announced the core of the domestic open source high-performance RISC-V processor-Xiangshan. He said that there is currently no open source mainline like Linux in the CPU field. Therefore, the R&D team judges that the industry needs an open source high-performance RISC-V core that can be widely used in the industry and can support the academia to experiment with innovative ideas. The goal is to survive at least 30 years like Linux. With the support of the Institute of Computing Technology of the Chinese Academy of Sciences and Pengcheng Laboratory, Xiangshan has developed an open source high-performance RISC-V processor core through the China Open Command Ecology (RISC-V) Alliance and industry companies. The first mass-produced version "Yanqi" "Lake" plans to tape out in July this year, using TSMC's 28nm process.

It is reported that Huawei will build its first chip factory in Wuhan in 2022

By 2022, Huawei will build its first chip factory in Wuhan. As the external environment changes, Huawei has to make many changes, one of the most important of which is to produce its own chips. As early as April, we had learned that the company was looking for talents for this project. In May, we learned that its subsidiary HiSilicon (HiSilicon) will continue to exist, but because it is not allowed to use the ARM system, it has switched to developing its first processor under the open RISC-V architecture.

At that time, a development board Hi3861 provided by Huawei to Hongmeng developers attracted attention, although HiSilicon did not specifically disclose the architecture of the main chip used by this development board. However, it is mentioned that gccriscv32 is used. Therefore, the industry speculates that it should be a development board based on the RISC-V architecture.

Unfortunately, the information we can get is quite scarce. The report from the source Taiwanese media Digitimes is only a few words. We only know that this foundry will be built in Wuhan, Hubei Province, China. Therefore, we don't know what the wafer specifications and processes are in the beginning.

If it can build its own factory and produce silicon chips, and if the development of chips based on open architecture goes well, Huawei will be able to bypass restrictions and launch its HiSilicon chips again, and may return to mobile devices, desktops and servers, 5G and other businesses market.

Microsoft explains why Windows 11 forces TPM 2.0 hardware support

After Microsoft released the Windows 11 operating system, many users who like early adopters saw a mandatory prompt for the "Trusted Security Module" (TPM) when running the "System Upgrade Checker" this week. This means that in addition to the new user interface (UI), Android application support (WSA subsystem), stylus interaction and other experience refreshes, Microsoft pays more attention to the security improvements that Windows 11 can bring. Therefore, there is no room for negotiation on the support of TPM 2.0.

It is reported that TPM is a chip that can store content such as encryption keys and account credentials, usually related to PC motherboards or processors, but not all system users in recent years have chosen to enable it.

Another major point of controversy is that Microsoft is somewhat vague in its description of "Windows 11 compatibility." Until the company's director of enterprise and operating system security David Weston published a new article on the Windows Security Blog:

In the future, PCs need to use this modern hardware root-of-trust to help defend against common and complex attacks, such as ransomware and sophisticated attacks by heavyweight hacker groups.

By forcing the built-in root of trust, Windows 11's requirements for TPM 2.0 will also help improve hardware security standards.

Based on this, by default, any system certified for Windows 11 will include a TPM 2.0 chip.

It will be part of a more comprehensive set of security tools, including the ability to use Windows Hello, and support AMD systems, and such PCs can be used out of the box.

David Weston added: The security requirements for the new hardware attached to the new version of the Windows operating system are designed to build a stronger foundation that is more resistant to attacks against certified devices.

We are well aware of the effectiveness of this solution-PC products with a core security will be twice as resistant to malware infection as before.

It is currently known that OEM manufacturers, including Acer, Asus, Dell, HP, Lenovo, Panasonic, etc., will provide solid support for TPM 2.0 for the new system. As for how the consumer PC DIY market will develop, it remains to be seen.

Huawei P50 Standard Edition specifications exposed: or equipped with Snapdragon 888 4G

As usual, Huawei will launch a new generation of flagship mobile phone product P50 series in April, but due to some uncontrollable reasons, the press conference has been postponed repeatedly. At present, the official has released a preview of the phone, but the release date has not yet been announced. According to relevant reports, the Huawei P50 series will be officially launched at the end of July. As the press conference is approaching, various reports about the aircraft are also emerging in the near future. This afternoon, the blogger @頭然熊猫 brought the latest news. .

According to the news, the Huawei P50 Standard Edition will adopt a centered perforated face-to-face screen solution, which is also the most popular screen design on the market. The screen size is 6.3 inches, the body measurements are 156.7*74*8.3mm, and the weight is only 187g. , Is a very thin and light flagship mobile phone .

It is worth noting that there have been reports that the Huawei P50 and P50 Pro models will mainly push the 4G version. The stock volume of the 5G version may be relatively small. As for the top version of Huawei P50 Pro+, the release may be postponed, in P50/P50 After the two Pro models are launched first, they will be listed separately.

The 4G version of the Huawei P50 is likely to be equipped with the Snapdragon 888 4G version. Earlier news said that Qualcomm has resumed supplying chips to Huawei, but it is currently limited to 4G, and 5G chips have not yet been approved.

As for the 4G version of Snapdragon 888, it has not yet been officially launched on the market. It is reported that the chip is mainly used in countries and regions where Qualcomm's 5G construction is relatively backward. However, due to 5G restrictions on Huawei mobile phones, Huawei will also become Snapdragon 4G. The main customers of the chip.

Nintendo Switch Pro processor details exposure: NV Orin S chip blessing, codenamed Black Knight

Although at the E3 face-to-face meeting on the 16th of this month, Nintendo did not announce the so-called Switch Pro game console, but the product should be making the final sprint in full swing. The latest news from the informant kopite7kimi hinted that the new processor (SoC) chip codenamed Black Knight (Black Knight) on the Switch Pro.

He quoted a previous tweet mentioning that the Switch Pro uses the T239 version of the Orin chip, which seems to be further confirmed.

When NVIDIA Orin was released, it was positioned as a car autopilot chip. The most entry-level version that supports L2 assisted driving consumes 15 watts. It is guessed that this high probability of Switch Pro is based on this magic change.

NBC reported that Nintendo uses the Orin S chip. Whether it is full of 12-core Cortex-A78E CPU is still uncertain, but it will definitely be stronger than the current long-life version of Tegra X1+ (4x Cortex-A57 + 4x Cortex-A53). Moreover, the Ampere architecture GPU unit is integrated.

Of course, before all the dust settles, we should treat this revelation with caution, after all, Nintendo has never relied on stacking hardware to attract players.

The design of Google’s new address book looks a lot like Google Plus

When Microsoft released the next-generation operating system, Google also launched a new version of the address book. The company said that the new Google Contacts experience, which contains additional information in this circle style, can help Google Workspace users better understand their colleagues. Although the personal version of the Google Plus social platform has been abandoned, Google still seems to want to improve this experience for corporate customers.

As shown in the figure, the new version of Google Contacts will display the structure diagram of your organization and historical contact records with specific people (including emails and meetings, etc.) as part of the address book UI.

With a concise and orderly appearance, the new version of Google Contacts aims to help you "understand colleagues and other stakeholders easily." But people who have used Google Plus may recall the bad experience in the early 2010s.

2.jpg

At that time, Google forced Google+ to sort and provide information to everyone, but spam incidents such as "emails from Google+" still left a large negative impression.

Fortunately, this Google address book service update is unlikely to be forced to individual users in the next few weeks, but only for Google Workspace (workspace) and G Suite productivity suite users of various subscription levels.

The latest technology trends

Operating system written in language: Vinix

The V language development team released ( https://github.com/vlang/vinix) the first V-Vinix, and stated that this operating system can now run mlibc and bash.

Vinix's source code has been hosted on GitHub in accordance with the GPLv2 open source license agreement, and its repo shows that it is written in V and is committed to becoming a modern, fast and useful operating system.

Vinix's tentative goals are as follows:

  • Keep the code as simple and understandable as possible
  • Try to use V to write
  • Make a usable operating system that can run on real hardware, not just on an emulator
  • For modern 64-bit architecture and CPU features
  • Maintain good source-level compatibility with Linux to facilitate porting programs

When talking about why Vinix was created, the reasons given by the development team were:

  • Explore V's ability to program in bare metal
  • Improve the compiler by providing feedback for uncommon needs of bare metal programming
  • For fun

According to Vinix's Readme, Docker must be installed and run normally to build Vinix, which means that it is not currently supported to install Vinix directly on the computer.

V is a static language that combines the simplicity of Go and the security features of Rust. The author said that V is very similar to Go. If you know Go, you already know 80% of V.

V improved on the basis of Go:

https://vlang.io/compare#go

V main features

  • Simple (the author claims to be able to learn V in less than an hour)
  • Fast compilation (the compiler is only 400kb, and there is no third-party dependency)
  • Easy to develop: V compiles in less than a second
  • Security: no null, no global variables, no undefined values, boundary detection, Immutable structure is used by default
  • Support C/C++ conversion
  • Easy-to-use cross-compilation
  • Provide cross-platform UI library
  • Built-in graphics library
  • Built-in ORM
  • Built-in web framework
  • ……

Spring Boot 2.4.8 released

Spring Boot 2.4.8 is now released. This version includes 33 bug fixes, documentation improvements, and dependency upgrades.

Main update content

  • EnvironmentPostProcessors was not instantiated with the correct ClassLoader
  • Failed to bind the name of a non-existent class to the Class<?> property
  • Configuration file-specific parsing should still occur when processing the "spring.config.import" property
  • If the kotlin.version extra property has been set, the version of the Kotlin plugin should not be read
  • Memory leak in MetricsClientHttpRequestInterceptor when automatic timing is disabled
  • When using configuration caching in a project that depends on org.springframework.boot:spring-boot-configuration-processor, Gradle fails to build and displays "Calling'Task.project' during execution is not supported"
  • When using Flyway or Liquibase with spring.flyway.url or spring.liquibase.url and without spring-jdbc on the classpath, the application fails to start
  • Misleading type information reported by BeanNotOfRequiredTypeFailureAnalyzer
  • The HTTP header processing supported by DevTools' LiveReload is case sensitive
  • Unable to exclude dependence on repackaging
  • Spring.datasource.name property description is inaccurate
  • Documentation uuid support in RandomValuePropertySource
  • Update reference documentation to reflect @SpringBootApplication's use of @SpringBootConfiguration
  • Make the document version more obvious

Rocky Linux 8.4 released

Rocky Linux 8.4 is now officially released. Rocky Linux is a community version of the enterprise operating system, designed to achieve 100% bug-for-bug compatibility with Red Hat Enterprise Linux 8.4. According to the official, since this is the first version of Rocky Linux, the release notes only reflect the changes in upstream functions between versions. It does not support migration from Rocky Linux 8.3 RC1, Rocky Linux 8.4 RC1 or any other candidate version to Rocky Linux 8.4.

The Rocky Linux team provides the migrate2rocky tool to help users migrate from other enterprise Linux systems to Rocky Linux 8.4. This tool has been tested and works normally, but you need to use it at your own risk.

new module

The new module streams in Rocky Linux 8.4 include the following:

  • Python 3.9
  • SWIG 4.0
  • Subversion 1.14
  • Redis 6
  • PostgreSQL 13
  • Mar

main changes

The main changes of Rocky Linux 8.4 are reflected in security, network, kernel and high availability, and clustering.

security

  • The IPsec VPN provided by Libreswan now supports IKEv2 TCP encapsulation and security labels
  • scap-security-guide has been updated to 0.1.54, and OpenSCAP has been updated to 1.3.4. These updates provide substantial improvements, including optimized memory management
  • The fapolicyd framework now provides integrity checks, and the RPM plugin registration is updated by YUM package manager or RPM package manager

network

  • Fully supports Nmstate (host network API). These nmstate packages provide a library and nmstatectl command line to manage host network settings declaratively
  • Support MPLS (multi-protocol label switching)
  • iproute2 introduces three new flow control (tc) operations: mac\_push, push\_eth, and pop_eth, and adds MPLS labels

kernel

  • Active compression function: periodically start memory compression before issuing an allocation request. Therefore, the latency of a specific memory allocation request is reduced.
  • Provides a flat memory controller for controlling group technology. The Slab memory controller optimizes the utilization of memory and can transfer memory accounting from the page level to the object level. Therefore, it can be observed that the total kernel memory footprint has dropped significantly and the memory fragmentation has been improved.
  • Time namespace function: This function is suitable for changing the date and time in a Linux container. Now it is also possible to adjust the clock in the container after the checkpoint is restored.
  • Supports the error detection and correction (EDAC) kernel module set in the 8th and 9th generation Intel Core processors.

high availability and cluster

  • Maintain the persistence of status data: Pacemaker resource agent can detect failures asynchronously and immediately inject them into Pacemaker without waiting for the next monitoring interval. Persistent resource agents can also speed up the cluster response time of services with high state overhead, because maintaining state data can reduce the state overhead of cluster operations (such as start, stop, and monitoring) by not calling the state separately for each operation.

compiler and development tools

The following compiler toolsets have been updated:

  • GCC Toolset 10
  • LLVM Toolset 11.0.0
  • Rust Toolset 1.49.0
  • Go Toolset 1.15.7

Identity Management

  • Rocky Linux 8.4 provides Ansible modules for automated management of role-based access control (RBAC) in identity management (IdM), an Ansible role for backing up and restoring IdM servers, and an Ansible module for location management.

download link:

https://rockylinux.org/download/

Linux 5.14 will support OpenPOWER Microwatt Soft CPU core

According to the latest submission, the upcoming Linux 5.14 will add support for Microwatt.

Microwatt is a small FPGA-based Open POWER ISA soft core written in VHDL 2008 and launched in 2019. It complies with the Power ISA 3.0 instruction set, can run on various FPGA hardware, and is the first processor to be written from scratch using the open Power ISA 3.0 specification, and it has become one of the reference designs of the specification. Last month, the kernel was also selected by OpenPOWER into the Efabless Open MPW Shuttle program.

Currently, Microwatt platform support, MicroWatt device tree, and various other patches to enable OpenPOWER Microwatt support have been submitted in the powerpc-next tree of the linux kernel. These supports are sufficient to handle Microwatt FPGA implementations. However, these patches also emphasize that the platform is still in an early state and does not yet have any SMp, VMX, VSX, transactional memory, or other mature POWER hardware features.

If nothing happens, Linux 5.14 will add support for Microwatt.

IntelliJ IDEA 2021.2 EAP 4 released

IntelliJ IDEA 2021.2 EAP 4 is now released. This version brings some feature updates and bug fixes, including new project-wide analysis, and some nice new Java and Kotlin checks and intention actions.

It is worth noting that the official said that starting from this EAP version, you must first have a JetBrains account to log in before you can join the program in IntelliJ IDEA Ultimate. If you have logged in with your credentials, you can automatically access the EAP build. If you are not logged in yet, the IDE will redirect you to account.jetbrains.com, where you can enter your login name and password or create a new JetBrains account.

Project-wide analysis for Java projects

The new features of IntelliJ IDEA can help you track all errors in the entire Java project. Project-wide analysis can be performed in the Problems tool window. Just click the new icon in the upper left corner of the window. One advantage of this is that you can even start using project-wide analysis before compiling the project.

When you click the icon, IntelliJ IDEA will start to check your project, and then display any problems that occur, including those that can usually only be detected by scanning the entire project. The first inspection may take longer than subsequent inspections.

IntelliJ IDEA displays a progress bar at the bottom, but you can click to expand it into a dialog box.

If you need to stop the analysis, just click the icon to start the process again. After the IDE finishes checking, the results will be displayed in the "Problems" tool window.

This function is only suitable for small and medium-sized projects.

Java

By adding relatively simple but effective inspections and quick fixes, the user experience during inspection review is improved.

floating point range tracking

Data flow analysis allows you to track the range of float and double values. IntelliJ IDEA can now use doubles and Float.isNan statistical verification conditions.

update method collection size tracking

Another useful update of data flow analysis is that it now tracks the size of the collection after the collection is updated through the following methods: add, addAll, put, putAll, remove, removeAll, and retainAll. If any errors are detected, the check will highlight them.

write only object check

IntelliJ IDEA provides several checking methods. When you modify an object but never query it, it will warn you. For example, the query and update of the collection do not match or the read-write mismatch of the array is checked. The write-only object check performs the same check on your project and some custom classes defined in the standard library. For example, it supports AtomicReference.

Quick fix to solve similar compilation errors

A new quick fix has been added, you can apply it to all the same compilation errors in the file with one click.

Improved coverage mapping, collection or array element inspection

Handling of checks for overwritten keys or elements now supports local variables. If it is overwritten due to a switch failure, IntelliJ IDEA will detect it.

The same check now applies to overridden array elements and highlights duplicate array element assignments.

The unused assignment inspection was also extended to detect the covered fields.

Kotlin

Check to simplify the call chain of collection types

Now, when IntelliJ IDEA calls a method in a chain in a collection, it can simplify the syntax and combine multiple calls into one.

Intent action for buildString conversion

Other checks and intentional actions

There are also some new checks and intention actions that are now applicable to Kotlin and help resolve specific situations: [KTIJ-6994 ], [KTIJ-8888 ], [KTIJ-7615 ], [KTIJ-1045 ], [KTIJ-1045 ].

.NET MAUI Preview5 released

.NET MAUI Preview 5 has been released. In this version, the development team enabled animation and view transformation functions, completed the migration of multiple UI components, and improved a single project template. In addition, the first batch of preview documents covering the introduction and basic aspects of .NET MAUI were released:

https://docs.microsoft.com/

animation

Currently .NET MAU provides a variety of methods to perform animation, the easiest of which is to use view extension methods, such as FadeTo, RotateTo, ScaleTo, TranslateTo, etc. In the following example, a reference to each view bound to the layout is obtained by using the new HandlerAttached event:

<DataTemplate x:Key="FavouriteTemplate">
    <Frame
        AttachedHandler="OnAttached"
        Opacity="0">
        ...
    </Frame>
</DataTemplate>
<FlexLayout
    BindableLayout.ItemTemplate="{StaticResource FavouriteTemplate}"
    BindableLayout.ItemsSource="{Binding Favorites}"
    >
    ...
</FlexLayout>

When the page appears, animate the views in a slightly staggered manner to create a beautiful cascading effect.

public partial class FavoritesPage : ContentPage
{
    List<Frame> tiles = new List<Frame>();

    void OnAttached(object sender, EventArgs e)
    {

        Frame f = (Frame)sender;
        tiles.Add(f);
    }

    protected override async void OnAppearing()
    {
        base.OnAppearing();

        await Task.Delay(300);
        TransitionIn();
    }

    async void TransitionIn()
    {
        foreach (var item in tiles)
        {
            item.FadeTo(1, 800);
            await Task.Delay(50);
        }
    }    
}

UI components

In this version, all properties and events of multiple controls have been ported to the handlers of the Xamarin.Forms renderer architecture, including ActivityIndicator, CheckBox, Image and Stepper. In the previous preview version, developers need to check whether the control has been ported and register the renderer for the unavailable renderer from the compatibility package. In .NET MAUI Preview 5, the UseMauiApp extension is updated to connect all controls for developers, regardless of whether they are based on handlers or renderers, making this easier.

Another new feature of Preview 5 is the first introduction of Shell, which is an application container that provides URI navigation and a quick way to implement pop-up menus and tabs.

single project template update

The development team has made progress in this version: merge multiple WinUI projects into one. Now, when creating a project (dotnet new maui), the developer will see two projects: the multi-target .NET MAUI project and the WinUI project.


snakesss
1.1k 声望244 粉丝

SegmentFault 思否编辑,欢迎投稿优质技术资讯!