1626372960
In this video I’ll compare monorepo tools such as Lerna/Yarn workspaces/PNPM workspaces with Nx. The video walks you through the steps of adding Nx to a Lerna repo and showing many affordances Nx offers. Although the video uses Lerna, everything said applies to Yarn or PNPM. Basically, any time I say “Lerna” you can substitute it for Yarn or PNPM.
Lerna, Yarn workspaces, pnpm workspaces offer the following affordances for developing multiple projects in the same repo:
node_modules
. If I use the same version of say Next.js in all the projects, the package is installed once.This is what Nx offers:
#nextjs #react #nx #angular #node
1626372960
In this video I’ll compare monorepo tools such as Lerna/Yarn workspaces/PNPM workspaces with Nx. The video walks you through the steps of adding Nx to a Lerna repo and showing many affordances Nx offers. Although the video uses Lerna, everything said applies to Yarn or PNPM. Basically, any time I say “Lerna” you can substitute it for Yarn or PNPM.
Lerna, Yarn workspaces, pnpm workspaces offer the following affordances for developing multiple projects in the same repo:
node_modules
. If I use the same version of say Next.js in all the projects, the package is installed once.This is what Nx offers:
#nextjs #react #nx #angular #node
1618408800
In this post and video I’ll compare two dev tools for working with monorepos: Lerna and Nx.
Lerna offers several great affordances for developing multiple projects in the same repo, and it’s used by many open source projects. Nx is developed by former Googlers and provides a richer monorepo-based developer experience. Nx has a lot more in common with the tools you find at companies like Google, Uber, and Twitter.
In addition to comparing Lerna and Nx, I’ll show how to migrate your repository from Lerna to Nx.
#javascript
1618698960
The C++ team at Visual Studio has delivered substantial build and link time improvements throughout Visual Studio 2019. This blog is Part 2 of a series of blogs showcasing real-world results of our efforts. See how the Gears 5 team benefited from iteration build time improvements in Part 1.
#c++ #performance #build throughput #build time #compile time #game development #games #gaming #iteration time #linker #video games
1591641000
It is essential to keep the correct time on a server. This is especially true when it comes to processing financial transactions or other vital functions which need to be handled in a specific order. Using the Network Time Protocol (or NTP), computers can synchronize their internal clock times with the internet standard reference clocks. In essence, NTP is a hierarchy of servers. The higher the Stratum number of a server, the more accurate the timing is and the lower the Stratum number of a server is, the lower the accuracy and time stability. Stratus are defined by the distance from the initial reference clock.
#tutorials #atomic clock #centos #chrony #clock #drift #internal time clock #network time protocol #ntp #offset #peers #pool.ntp.org #server time #stratum #system clock #time #time drift #timekeeping #ubuntu #utc
1591688078
Dealing with dates and times in Python can be a hassle. Thankfully, there’s a built-in way of making it easier: the Python datetime module.
datetime helps us identify and process time-related elements like dates, hours, minutes, seconds, days of the week, months, years, etc. It offers various services like managing time zones and daylight savings time. It can work with timestamp data. It can extract the day of the week, day of the month, and other date and time formats from strings.
#data science tutorials #calendar #date #dates #datetime #intermediate #python #time #time series #times #tutorial #tutorials