/images/avatar.png

^_^

GO与socks5代理服务器

参考

Socks5原理

https://img-blog.csdnimg.cn/9a512ade87134363879ab7bbe5a4d024.png

如果不设置代理服务器,网站先和服务器建立tcp连接,然后三次握手,之后网站发送http请求,服务器返回http响应。

GO与并发

并发与并行

concurrncy和parallellism

并发指多个任务在同一时间段进行,并行指多个任务在同一时刻进行

单核cpu只能并发不能并行,现在的多核cpu既能并发又能并行

VINS-Mono: A Robust and Versatile Monocular Visual-Inertial State Estimator

简要记录一下论文的内容,防止遗忘,有些地方自己也没弄明白,记录不涉及公式的推导(公式推导参考崔华坤vins公式推导)

Abstract

VINS-Mono是一个由港科大秦通、栗培梁、沈劭劼完成的单目VI状态估计器,输入相机的图片和IMU参数,经过非线性优化,实时输出位姿和地图。

Matrix Decomposition

本文试图用最简洁清晰的语言解释各种矩阵分解,只记录矩阵分解的基础知识和过程,对性质和应用的讨论先挖个坑,下次再填

有关矩阵分解的知识可以参考这个

Pandas

pandas is a fast, powerful, flexible and easy to use open source data analysis and manipulation tool, built on top of the Python programming language.

参考

1
2
import numpy as np
import pandas as pd

Object creation

Series是一维数据

1
2
s = pd.Series([1, 3, 5, np.nan, 6, 8])
s
0    1.0
1    3.0
2    5.0
3    NaN
4    6.0
5    8.0
dtype: float64

DataFrame是一张表格

Kalman Filter in One Dimension

参考资料

卡尔曼滤波就是用测量值(measured value)、测量不确定度(measurement uncertainty)、估计值(estimated value)、估计不确定度(estimate uncertainty),通过一轮轮的迭代来使估计值接近真实值(true value)。需要初始化测量值和估计不确定度。

剑指offer

在leetcode平台上做一下剑指offer的题,不定时更新

03 数组中重复的数字

考点

easy 模拟

题意

题链

找出数组中任一重复的数

题解

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
func findRepeatNumber(nums []int) int {
	mp := make(map[int]int)
	for i := range nums {
		if _, ok := mp[nums[i]]; ok {
			return nums[i]
		}
		mp[nums[i]] = 1
	}
	return 0
}

04 二维数组中的查找

考点

medium 线性查找

Learning CPP

Introduction

学习一下c++

教程视频地址,搬运自youtube

个人认为是一个非常不错的c++教程

空着的待补

How C++ works

pre-process

compile

link

Variables

Functions

Header Files

当我们需要在cpp文件中用别的cpp的函数,需要先声明(declaration)

tf-idf

记录一下tf-idf

TF-IDF(term frequency–inverse document frequency)是一种用于信息检索与数据挖掘的常用加权技术。TF为词频,定义为