Article directory Understand time: hardware time, system time (UTC time), local time, time zone and daylight saving time 1. Hardware time (RTC time) 1.1 Introduction to hardware time 1.2 How to use hardware time 2. System time (UTC time) (Universal time) 2.1 Introduction to system time 2.2 UTC time 3. Local time 3.1 Introduction to […]
Tag: utc
About using the super-core HI600D to obtain UTC time, latitude and longitude, east longitude, ground speed, ground heading, and date.
This article uses the stm32f103vet6 development board + super-core HI600D to obtain a series of information 1. Serial port data When we connect the Super Core 600D with a type-B data cable and connect it to the computer, open the serial port assistant and get a series of information as the picture shows: This is […]
In Spark SQLHadoopMapReduceCommitProtocol, choose 1 or 2 for mapreduce.fileoutputcommitter.algorithm.version
Background This article is based on spark 3.1.1 For spark, the default mapreduce.fileoutputcommitter.algorithm.version is 1 This can be seen in the SparkHadoopUtil.scala code: private def appendSparkHadoopConfigs(conf: SparkConf, hadoopConf: Configuration): Unit = { // Copy any “spark.hadoop.foo=bar” spark properties into conf as “foo=bar” for ((key, value) <- conf.getAll if key.startsWith(“spark.hadoop.”)) { hadoopConf.set(key.substring(“spark.hadoop.”.length), value) } if (conf.getOption(“spark.hadoop.mapreduce.fileoutputcommitter.algorithm.version”).isEmpty) […]
Use Python to analyze the data of 1982 games of League of Legends, and predict the outcome of the game before the start!
Nowadays, as long as you enter an Internet cafe casually, you will find that the most people play “League of Legends”. It can be said that “League of Legends” is already a well-deserved leader in end games. With such a base of players, “League of Legends” is not just an e-sports game, it also brings […]
Standard IO process thread functions: fopen, perror, fclose, fprintf, fscanf, fputc, fgetc, buffer, fputs, fgets, fwrite, fread, fseek, ftell,
Standard IO functions: 1. Stream pointer (FILE*): FILE* fp=fopen(“1.txt”,”r”): This fp is a stream pointer. When this file is opened in read-only mode, a buffer will be applied for at the same time. At this time, the stream pointer fp It will contain the information of the current reading position of the file, if it […]
[Elementary C Language] Learn to use the library functions getchar and putchar
Directory One, getchar function 1. Function: 2. Recognize functions 3. use Two, putchar function 1. Function 2. Definition 3. use 3. The use of getchar and putchar Fourth, the application of getchar 1. getchar function 1. Function: The function of this function is to receive a character, and then convert the character to the corresponding […]