Home

0

Entropy

EntropyInformation gainCross EntropyKullback–Leibler divergence

0

gdb-source-file

Define a source path substitution ruleset substitute-path from to Define a source path substitution rule, and add it at the end of the current list of existing substitution rules. If a rule with

0

Optical-Networking

2017 2019 referenceEverything You Always Wanted to Know About Optical Networking – But Were Afraid to Ask Everything You Always Wanted to Know About Optical 2016 Speaker: Richard A Steenber

0

optical-transceivers

In order to transport high levels of data traffic over a network a component called an optical transceiver is required. Transceivers are lasers that are wavelength specific and convert electrical da

0

SingleCarrier-Multicarrier

Single carrier only uses one frequency point; multi carrier uses several frequency points to transmit information. If N frequencies transmit information to one user, the rate can be increased by

0

wavelength-bands

Telecommunication bands in the infraredIn optical communications, the part of the infrared spectrum that is used is divided into seven bands based on availability of light sources transmitting/

0

flex-grid-optical-networks

Fiber Optic cable — Channel Capacity:Frequency = Speed of Light (m/s) / Wavelength (nm) C-Band(Conventional Band): 1530 nm to 1565 nmSpectrum is Available in C Band:$$(\frac{299792458

0

Cpp/learn-Website

Resources online Complier example: cpp reflect C++ Insights: See your source code with the eyes of a compiler Quick C++ Benchmark online Code Browser

0

OADM (Optical Add-Drop Multiplexer)Introduction​ The evolution of single wavelength point-to-point transmission lines to wavelength division multiplexed optical networks has introduced a demand f

0

shared_ptr memory layout

Struct12345678910111213141516171819202122232425class __shared_ptr { element_type* _M_ptr; // Contained pointer. __shared_count<_Lp> _M_refcount; // Reference counter.

0

string memory layout

source12345678910111213141516171819202122232425262728// string.cpp#include <string>#include <iostream>void func(std::string &hello) { std::cout << hello.size(); std::c

0

tuple memory layout

Source123456789101112131415161718192021#include <map>#include <functional>#include <vector>#include <string>#include <iostream>template<typename... Args>void func

0

map memory layout

Source123456789101112131415161718#include <map>#include <iostream>void func(std::map<int, int> const &mapping) { for (auto &data : mapping) { std::cout &l

0

vector memory layout

Source1234567891011121314151617181920212223// vector.cpp#include <vector>#include <iostream>void func(std::vector<unsigned long> &datas) { for (auto &data : datas)

0

gdb

1. Invoking GDB1. specifying an executable programThe most usual way to start GDB is with one argument, specifying an executable program: 1> gdb program 2. an executable program and a core fileY

0

Process Id

1. ps12345678910111213141516# all process> ps -efUID PID PPID C STIME TTY TIME CMD> ps -auxUSER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND## PID: colum

0

Debug in Linux

Debug in LinuxTool listperformance profiling: perf trace, ftrace, strace, lstrace Two main classes of debugging tool today: checker (static and dynamic) did my code do bad thing x, y, z? Example

0

shell keyboard shortcut

tecmint ostechnix github help Move Cursor on The Command Line Ctrl+A or Home – moves the cursor to the start of a line. Ctrl+E or End – moves the cursor to the end of the line. Ctrl+B or Left Ar

0

git

git docs git tutorials github help basic1. create a first repo1234567891011# create a dir> mkdir dir && cd dir# initialize a repo> git init# check repo status> git status# add new

0

ssh port forward

openbsd ssh ssh SSH1. 服务器端安装ssh-server123456789101112131415161718# 1. 服务器端, ssh server安装# Ubuntu 没有安装SSH-server服务器,需要安装SSH服务器并开启 > sudo apt-get install openssh-server# 查看是否开启;sshd代表开启 > sudo

0

docker

Docker1. install1. dockerdocker 1234567891011121314151617181920# SET UP THE REPOSITORY> sudo apt-get update && sudo apt-get install \ apt-transport-https \ ca-certificates \ curl

0

CMD

Local environment1234567891011# list all environment variables > set > echo %PATH%## 添加环境变量# batch文件中, 当前脚本的目录> SET "SCRIPT_DIR=%~dp0"> SET "PATH=%SCRIPT_DIR%\x64/vc14/bin;

0

Modules and Packages

1. Modules​ A module is a file containing Python definitions and statements. The file name is the module name with the suffix .py appended. Within a module, the module’s name (as a string) is ava

0

protobuf

a message type field types 12string queryint32 page_numbe field numbers ​ each field in the message definition has a unique number. These field numbers are used to identify your fields in the m

0

Network Configuration and Troubleshooting

1. ifconfig commandifconfig (interface configurator) command is use to initialize an interface, assign IP Address to interface and enable or disable interface on demand. 12345678910111213141516171

0

Bloom Filter

布隆过滤器 检测值是可能存在集合中或一定不存在集合中 原理: -

0

xargs

xargsThe xargs command in UNIX is a command line utility for building an execution pipeline from standard input. Whilst tools like grep can accept standard input as a parameter, many other tools can

0

cuda

1. nvidia-smi1. 检查显卡型号1> nvidia-smi --query | grep "Product Name" 2. 计算模式12345678# check> nvidia-smi -q | grep Compute# set# Set MODE for compute applications:#

0

python installer

Installerubuntumethod 1123456789# To enable universe repository> sudo add-apt-repository universe> sudo add-apt-repository main> sudo add-apt-repository restricted> sudo add-apt-reposito

0

python virtualenv

VirtualenvInstallation1> pip install virtualenv User Guide1. use the same version12# 虚拟Python环境 ENV is path> virtual ENV 2. different python version123# PYTHON: 指定使用Python版本(C:\Python27\pyth