Scala comments and variables
1, Notes
Scala annotations use exactly the same as Java. Annotation is a good programming habit that a programmer must have. First sort out your thoughts through comments, and then reflect them in code.
1.1 single line notes
package com.atguigu.bigdata.scala
object ScalaComment{
def main(args: Array[String]): Unit = {
// Si ...
Posted by EvilCoatHanger on Fri, 29 Oct 2021 19:02:25 -0700
[Linux] reproduction of fast r-cnn
0. Download Code using Git
Installation and use of Git: https://blog.csdn.net/qq_44747572/article/details/121006841Clone Code: Pytorch version 1.0.0 source code: https://github.com/jwyang/faster-rcnn.pytorch/tree/pytorch-1.0 Download the zip and unzip it in the specified folder:
1. Data preparation
Switch the path to fast-rcnn.pytorch ...
Posted by devarticles on Fri, 29 Oct 2021 18:46:39 -0700
LVM ---- transfer space from / home installed by default in CentOS7 to the root directory/
LVM ---- transfer space from / home installed by default in CentOS7 to the root directory/
1, Basic concepts
By default, LVM2 (Logical Volume Manager) is enabled in Cent0S 7. A hard disk of the machine is divided into two areas sda1 and sda2, in which sda1 is mounted as a system disk / boot, with a small amount of space; Sda2 acts as a physi ...
Posted by john_zakaria on Fri, 29 Oct 2021 18:06:05 -0700
Oracle Database: Installation & function query & condition query
1. Course introduction
first day: 1.Oracle concept and installation 2. Basic query 3. Condition query 4. Functions in Oracle the second day: 1. Multi table query (mysql also has the same concept, different syntax and important aspect) 2. Sub query (it also exists in mysql, with the same concept, different syntax and important aspect) on th ...
Posted by troublemaker on Fri, 29 Oct 2021 17:42:01 -0700
List common operations are more elegant than for loops
introduction After using JDK1.8, most list operations can be written using lamada expressions, which can make the code simpler and develop faster. The following are the common operations of lamada expressions I use in my work on list. I like to collect suggestions. Taking the user table as an example, the user entity code is as follows:
public ...
Posted by ali_2kool2002 on Fri, 29 Oct 2021 17:32:13 -0700
Join query & & aggregate function of Mysql
join query
MySQL connection query usually combines the record rows from two or more tables to splice data based on the common fields between these tables. First, determine a main table as the result set, and then selectively connect the rows of other tables to the selected main table result set. Connection queries that are frequently used ...
Posted by ignace on Fri, 29 Oct 2021 16:43:50 -0700
Flowable getting started series article 40 - gateway 02
1. Include gateway
describe
The inclusive gateway can be regarded as an exclusive combination and parallel gateway. As with exclusive gateways, you can define conditions for outbound sequential flows that are evaluated by included gateways. But the main difference is that the inclusive gateway can adopt multiple sequence streams, such as para ...
Posted by jim35802 on Fri, 29 Oct 2021 16:06:50 -0700
[Java] after a long time, you can finally give yourself new objects -- Java classes and objects
🗽 Preliminary cognition of class and object
C language is process oriented, focuses on the process, analyzes the steps to solve the problem, and gradually solves the problem through function call. JAVA is based on object-oriented and focuses on objects. It divides one thing into different objects and completes it by the interaction ...
Posted by edwardsbc on Fri, 29 Oct 2021 16:06:12 -0700
Mock 85 exam summary
Title Background praise
Pass the exam
Or is there a problem with the opening sequence
It's not easy to visually check T1. T2 is greedy, so he plunged into T3 and began to push persimmons. As a result, there was no fruit for 1.5h, and then the mentality collapsed
Then they began to fight violence. T2 made a mess that has been sorted all the time ...
Posted by TheHyipSite on Fri, 29 Oct 2021 15:23:39 -0700
(C # version) use TCC distributed transaction to transform the existing order placing process
introduction
The previous article has gone over a lot of details, just to clarify the flow of tcc distributed transactions, and introduce the differences and application scenarios between it and the other two commonly used distributed transactions "reliable message queue" and "saga".
Next, let's introduce our protagonist & ...
Posted by Fira on Fri, 29 Oct 2021 11:23:32 -0700