An Introduction to babel

What is babel? babel is a Javascript compiler, one of the most commonly used tools for front-end development today, primarily for converting ECMAScript 2015+ versions of code to backward-compatible JavaScript syntax so that it can run in current and older versions of browsers or other environments. 1 2 3 4 5 6 7 8 9 10 a ?? 1; a?.b; //After babel conversion "use strict"; var _a; (_a = a) !

Google Opens Allstar to Implement Ongoing Security Best Practices for GitHub Projects

Today, security vulnerabilities are increasingly plaguing large open source projects. According to RiskSense statistics, the number of open source software vulnerabilities more than doubled in 2019 compared to 2018. Considering that nearly 91 percent of commercial applications contain outdated or deprecated open source components, the impact of security vulnerabilities is far-reaching. As a member of the open source software community, Google is well aware of the growing threat to open source projects posed by software supply chain attacks, and Allstar is its latest tool to improve security.

From now on, there is no Redis Labs, only Redis

August 12, 2012 - Database vendor Redis Labs Inc. has officially announced that it has changed its name to Redis, dropping the “Labs” signifying the maturity of the company and the open source project Redis, according to the official statement. Today, we are leading the evolution of Redis from a single service use, such as caching and session management, to offering a wide range of capabilities that enable it to power the world’s most critical applications," said Ofer Bengal, co-founder and CEO of Redis.

ExpressVPN announces open source Lightway protocol, big changes coming to VPN market?

On August 10, 2021, ExPressVPN announced on their official blog that they are open-sourcing their latest Lightway protocol so that more people can enjoy the benefits of Lightway, a next-generation VPN protocol developed by ExpressVPN to provide users with a faster, more secure, and more reliable VPN experience. Origin of Lightway While the major VPN vendors have been using protocols like OpenVpn, IKEv2, IPsec, WireGuard, etc., ExpressVPN, an industry giant, decided to try their hand at developing a new VPN protocol on their own, Lightway, after stating that they would not be using WireGuard.

Asm and Emscripten Tutorials

Web technology has advanced by leaps and bounds, but there is one area that has been impossible to break through —- games. The performance requirements for games are so high that some large games struggle to run even on a PC, let alone in the sandbox model of a browser! However, despite the difficulties, many developers have never given up and want to make browsers run 3D games. In 2012, Alon Zakai, an engineer at Mozilla, was working on the LLVM compiler and had the idea that many 3D games are written in C/C++, so if we could compile C/C++ into JavaScript code, they would run in the browser.

Android 12 Beta 4 released, has reached platform stability

Google today released the fourth Beta version of Android 12 and is in the final stages of release. This also means that the APIs and all app-oriented behavior for Android 12 have been finalized. For apps, the focus is now on compatibility and quality for launch with the official release of Android 12 later this year. Developers who have not previously signed up for the beta can click on the link to get the Beta 4 push, or if they have previously signed up, they will automatically get the Beta 4 update.

Migrating GitHub engineering teams' development environments to Codespaces

GitHub has officially announced that the engineering team responsible for has migrated its development environment to Codespaces.’s codebase is nearly 14 years old. When the first commit of was pushed, Rails was only two years old, AWS was only a year old, and Azure and GCP were not yet available. In those 14 years,’s core repository (github/github) has received over a million commits, the vast majority of which have come from developers building and testing on macOS.

Facebook opens Time Card atomic clock technology to accelerate Internet services

Facebook shared yesterday the hardware and software design of its “Time Cards”, a device used to keep its massive data centers running at peak efficiency. This timekeeping technology, based on extremely accurate atomic clocks and navigation satellites, will ultimately help speed up the various services that operate at the scale of the Internet. Every computing device needs to know what time it is. With the dimension of time, the device can properly provide various services and record various types of logs; without it backups will fail, financial transactions will go wrong, and many basic network services will not work.

OpenAI upgrades AI encoder Codex and launches internal testing

On August 10, local time, artificial intelligence research company OpenAI announced that its AI encoder Codex has been upgraded and launched internal testing. The biggest highlight of Codex is understood to be its ability to translate English directly into code. In the Codex Demo, OpenAI shows how the software can build simple websites and basic games using natural language, and how it can flexibly translate between different programming languages and even handle data science queries.

Change the protocol, change the code, Elastic is forcing developers to choose one or the other?

In response to the cloud service provider, Elastic recently made changes to the official Python client for its Elasticsearch database (Elasticsearch-py) to make it incompatible with the forks, and then brutally shut down comments on the topic on GitHub. This action caused a heated discussion among developers. Sword pointing to cloud vendors Elasticsearch is a database manager and analytics engine that is widely used in the industry. The official client is available in Java, .

Web Performance Optimization - preload,prefetch,preconnect

When it comes to front-end performance optimization, we usually think of enabling compression to compress the resource file size. Or enabling browser caching can have the effect of optimizing resource loading speed with fewer HTTP requests, but these means mainly improve the loading speed when repeatedly accessing the same resources. By default, the browser will only load resources declared in HTML first. If it is not declared, the browser will not load the resource earlier.

WireGuardNT: A high-performance WireGuard implementation for the Windows kernel

WireGuard author Jason Donenfeld recently announced the WireGuardNT project, a native port of WireGuard for the Windows kernel. Like the other versions, WireGuardNT, lowercase “wireguard-nt”, started out as a port of the Linux version of the codebase. After a successful initial porting effort, the NT codebase quickly diverged to better fit the native NTisms and NDIS (Windows Network Stack) APIs, and the end result was a deeply integrated and high-performance WireGuard implementation for the NT kernel that leverages the full functionality of the NT kernel and NDIS.

elementary OS 6 "Odin" released, the biggest update so far

elementary OS 6 “Odin” is now available. Officially, this is the largest update to the platform to date. This release focuses on. Empowering users to take control and express themselves Continually innovate new features Make elementary OS more accessible and inclusive Download at: Major updates to elementary OS 6.0 include a new dark style, improvements around application sandboxing using Flatpak, multi-touch support across the desktop, an improved notification experience, support for firmware updates via LVFS/Fwupd, a rewritten email client, an improved webcam application, and enhanced installer, and more.

Intel fully adopts LLVM for its C/C++ compiler

In a blog post, James Reinders, Intel’s long-time compiler expert, revealed that they will be using the LLVM open source infrastructure for the next generation of Intel C/C++ compilers; and shared some information about it. “LLVM helps us achieve our goal of providing the best C/C++ compiler for the Intel architecture. The latest Intel C/C++ compilers use LLVM to provide faster compile times, better optimizations, enhanced standards support, and support for GPU and FPGA offloading …… The benefits of using LLVM are many and I will provide recommendations for upgrading from a classic compiler to an LLVM-based compiler.

Mozilla testing Firefox/100.0 user agent, checking site compatibility

With the update of Mozilla Firefox browser yesterday, Firefox version number has reached 91. Although the current version number is still in double digits, according to the official upgrade roadmap, Mozilla will release Firefox Nightly 100 in March next year. Mozilla has launched an experiment to change the Firefox browser’s user agent to the three-digit “Firefox/100.0” version in order to test whether any websites will load abnormally due to the user agent problem when Firefox version number is updated to 100 in the future.

Firefox releases data report, loses nearly 50 million users worldwide

Whether it’s Edge, Brave, Vivaldi in foreign countries, or 360 or QQ in China, these third-party browsers all use the Chromium engine. Mozilla’s Firefox is one of the few well-known browsers that is not based on Chromium. As long as users have some observation of others around them, they will find that more and more users have switched to Chromium-based browsers instead of Firefox. Recently, Firefox published its public data report since 2018, and the official report is a further confirmation of users’ observations.

Microsoft open source GCToolkit, a tool for parsing GC logs

Microsoft’s Java Engineering Group has announced the open source availability of GCToolkit, a set of libraries for analyzing Java garbage collection (GC) log files. According to the introduction, the GCToolkit toolkit parses GC log files into discrete events and provides an API for aggregating data from these events, enabling users to perform arbitrarily complex analyses of the state of managed memory in the Java Virtual Machine (JVM) as represented by garbage collection logs.

Google Microsoft teams up for major update to Chromium's virtual keyboard

Microsoft and Google are working on a new API for Chromium-based browsers like Chrome and Edge called “VirtualKeyboard” that updates the on-screen keyboard for typing on Windows, macOS, Chrome OS and Android and provides better control. According to the documentation, Virtual Keyboard (VK) is a public JavaScript API that puts control of the on-screen keyboard in the hands of Web developers. As it stands now, developers have very limited control over VK, and the keyboard’s performance is not ideal for scenarios where developers want users to use a website’s built-in keyboard to enter passwords on Android.

Google plans to bring a full version of Chrome to Fuchsia OS

Whether it’s desktop, mobile or a smart home device with a screen, every operating system needs a web browser, and while Fuchsia OS already uses some of Chromium’s code, Google is preparing to bring Chrome and all its features to Fuchsia OS. As mentioned above, Fuchsia OS currently already includes a Chromium-based browser, but for now it’s very small and has few additional features and only simple web browsing. Despite the support of the Chromium project, there has been no indication that Chrome will make its way to Fuchsia OS.

Intel provides extensive graphics driver optimizations for Linux 5.15

On Friday, Intel engineers committed a large amount of code on the DRM-Next branch of the Linux kernel, mainly on the kernel graphics driver, with the following highlights. Extensive code refactoring to increase the use of TTM dispensers and prepare for the DRM scheduler. Cleaned up uAPI and dropped faster GPU relocation paths on older platforms, instead mitigating performance issues by updating to the latest UMD version. Initially implemented code for ADL-P/XeHP and DG2 platforms, fixed ADL-S and removed CNL code.