Fernando's Blog

Stay hungry, stay foolish.

一次难忘的后端经历

一切都要从Dengji Zhao要我们做一个小程序开始

大致分为:1) 服务器的基础配置,2) 基于conda的多用户环境, 3) https协议的开通,包括SSL证书的安装和Apache的转发代理,4) 异常检测,包括断点重连以及发送异常邮件。适合用于macOs,Ubuntu。 I. 服务器的基础配置 # --- 本地端 --- # 生成密钥公钥 公钥copy至server端.ssh/authorized_keys $ ssh-k...

套期保值的正确姿势

行情相关、方向相反、数量相当、盈亏相抵

运用远期与期货进行套期保值 1. 定义 多头套期保值也称买入套期保值,即通过进入远期或期货市场的多头对现货市场进行套期保值。担心价格上涨的投资者会运用多头套期保值的策略,其主要目的是锁定未来买入价格 空头套期保值也称卖出套期保值,即通过进入远期或期货市场的空头对现货市场进行套期保值。担心价格下跌的投资者会运用空头套期保值的策略,其主要目的是锁定未来卖出...

Jupyter notebook import package的问题

以及偶遇的sys.path

问题描述 由于Anaconda集成的包有限,需要用pip3安装sql相关的packege。但是本地的python3可以正常import,而Jupyter的解释器找不到该包。 于是在本地打开python3解释器后看了一下几个包import时的所在路径 可以看到numpy的包在anaconda的site-packages里,而通过pip3安装的sql是在本地的python3的site-p...

Data Science 常用算法

LaTex可以正常显示啦!😬

Algorithms in Data Science Support Vector Machine (SVM) Hard margin SVM Soft margin SVM Non-linear SVM Decision Tree Feature selection Tree spanning Information gain ...

Git指令整理

不适合阅读的整理的一些个人常用的 Git 指令

随便整理的一些自用的Git指令(repost) Thanks to BY GitHub创建仓库提示代码 echo "# 项目名" >> README.md git init git add README.md git commit -m "first commit" git remote add origin git@github.com:qiubaiying/项目名...

部分算法回顾

Intorduction to algorithms in 2018Fall

Algorithm_review 15. NP & NPC A reduces to B A $\leq_P$ B: A is equally or less difficult than B Let X and Y be the set of ‘yes’ instances for A and B. A reduces to B if t...

Bruce Lee and Kungfu

Public Speaking Final pre (5min)

Maybe some of you don’t know him as Bruce Lee. But I do believe you know his Chinese name Li Xiaolong, who promoted and popularised our Chinese martial arts to the world, and named it, Kungfu. I p...

Let's talk about DINK

Public Speaking mid speech (3min)

DINK is short for “Dual Income, No Kids”. It describes those couples who do have double income and do not have children. In China, most people still insist on the tradition of raising children in t...

Go travelling

Public Speaking prepared speech (3min)

Go traveling. I guess this is the topic I am gonna talk about today. Almost every day, there are materials about traveling posted on the social network, like WeChat, Twitter. Maybe there is sort of...

What's big data

Public Speaking prepared speech (3min)

In this era of big data, everyone is participating in some discussion about data mining, data cleaning, data processing balabala. So there got be necessity to talk about so-called “big data”. By de...