博客目录

2019-05

NotAwesome User File Hierarchy Standard

Introduction

NotAwesome User File Hierarchy Standard aims to help user better manage their resources and files in user space. The standard takes account of all storage at hand or online. It follows tree principles:

  • Accessibility: Anytime you want to locate a resource, you know where it resides and can be accessed
  • Convinience: Frequent used resource should be accessed fast
  • Safe: data not lost

2019-04

Android-Develop

Android 应用程序组件

  • Activity
  • Service
  • BroadcastReceiver
  • ContentProvider

手机信息

soc=cpu+gpu+(dsp+neon)+(modem)

华为(1987-)

  • 海思麒麟处理器
    • ARM 架构
    • 950,980
  • 华为品牌(高端品牌,主打高端、工艺)
    • Mate系列:年末
    • 7,8,9,10,20(5000¥)
    • 20: 980,4000mA
    • P系列:年初
    • 1,2,6,7,8,9,10,20(5000¥)
    • 20:EMUI 8.1 (基于8.1系统),970, 6GB, 3400mA, IP67
    • G/Nova系列
  • 荣耀品牌(互联网品牌,主打高性价比、品质):
    • 荣耀系列:年中
    • 6,7,8,9,10,Note 10(2500¥)
    • V: 8,9,10,20(3000¥)
    • 畅玩系列:千元机

2019-03

C Shell Colorful UI

字符

Escape Code

Escape Sequence Representation
\a alert
\n newline
\t Horizontal Tab
\v Vertical Tab
\',\",\? Symbol
\nnn ASCII in octal
\xhh ASCII
\uhhhh Unicode
\uhhhhhhhh Unicode

Mac App Installed on my mac

Developer's Tools

IDE

Xcode
vscode: Main Code Editor
Anaconda: Python
PyCharm CE: Python
Sagemath: sage
IntelliJ IDEA CE: Java
Android Studio
MATLAB: Matlab
CocosCreator: Javascript/Cocos
Orange3: quick ML
sequal pro: SQL
script editor: Apple Script

- Ecllipse Java: Java
- CLion: C++
- Visual Studio: C#
- CodeRunner: multi language
- Qt Series: Qt
- DataGrip: SQL
- Mathematica: Mathematica

Configurate Ubuntu

Install Ubuntu

Virtual machine on mac

Install virtualbox

brew cask install virtualbox

Download Ubuntu from Tsinghua Image

  • 18.04 is LTS now

问题求解四 OJ 题解

Linear-Programming 专题编程总结

这不是线性规划

穷举所有可能点,二分查找对应区间,斜率判断是否在直线下

ylsnb

多商品流

2019-02

KM algorithm

KM 算法

概念推导

  • 可行顶标:每个节点有一个顶标值 $L(u)$,二分图两边的顶标分别记为 $Lx(u),Ly(v)$
  • 可行顶标性质:$lx(x)+ly(y)\geq w(x,y)$
  • 可行边:边 $w(x,y)$ 满足 $lx(x)+ly(y)=w(x,y)$
  • 相等子图:原图中只包含可行边的生成子图
  • 完备匹配:匹配中每个顶点与某条边相关
  • 最大权重匹配定理:若某个相等子图中有完备匹配,则该匹配为原图最佳匹配
  • 松弛函数:二分图一边的节点保存 $slack(x)=\min(lx(i)+ly(j)-w(i,j))$
  • 顶标修改:减少不在交错路中最小的松弛值

Sage

Table of function

Hong Kong overseas study tour

香港五日游学

2019.2.18 - 2019.2.23

为拔尖计划准备的香港五日游学可以说是 80% 游 + 20% 学了。或许这次游学最大的意义,借用同学的话说,很巧妙的方法将喜欢学术的学生和喜欢钱的学生分开了。

此处流水账地记下五日行程