Charles


  • Home

  • About

  • Tags

  • Categories

  • Archives

Triangle Counting

Posted on 2024-11-18 | In Algorithm |
Words count in article: 971 words | Reading time ≈ 6 minutes
Triangle countingIn graph theory, a triangle is a cycle consisting of exactly three vertices that are mutually connected by three edges. Triangle coun ...
Read more »

CUDA Programming

Posted on 2024-08-02 | In Algorithm |
Words count in article: 2.6k words | Reading time ≈ 16 minutes
BackgroundCUDA (Compute Unified Device Architecture) is a parallel computing platform and programming model developed by NVIDIA. It enables developers ...
Read more »

CMake Usage

Posted on 2023-12-29 | In Backend |
Words count in article: 1.7k words | Reading time ≈ 6 minutes
CMake Usage在我的 C++ 项目中,我更倾向于使用 CMake 而非 Make。这主要是因为 CMake 在整合第三方库时表现出了更高的便捷性,同时在项目维护方面也更为出色。下面简要介绍一下 CMake 的一些常用方法和特点: 跨平台构建系统:CMake 支持多平台,无论是 Window ...
Read more »

Docker Usage

Posted on 2023-09-29 |
Words count in article: 1.2k words | Reading time ≈ 4 minutes
Docker Usagedocker主要分成images和container,images可以理解成系统的源文件,container就像是把源文件实例化成系统。把images启动成container那我们就相当于得到了可以操作的系统。 Docker imagedocker images 可以查看已经 ...
Read more »

Server Monitor Scripts

Posted on 2022-12-11 | In Server |
Words count in article: 914 words | Reading time ≈ 3 minutes
Server Monitoring Scripts最近在帮组里维护服务器,写了几个简单的脚本,很久没更新了,顺便记录一下。服务器监控最重要的就是CPU, RAM和Disk。RAM达到100%的时候会导致服务器死机,重启,等一系列问题。所以为了防止服务器出现这种问题,我们需要做的就是在RAM使用率达到 ...
Read more »

Flink Gelly

Posted on 2022-08-27 |
Words count in article: 2.3k words | Reading time ≈ 14 minutes
Flink GellyGelly is Flink’s Graph API. It contains a set of methods and utilities designed to simplify the development of graph analysis applications ...
Read more »

Flask API

Posted on 2022-07-20 | In Backend , API |
Words count in article: 1.5k words | Reading time ≈ 6 minutes
Flask API给大家分享一下flask api 和 Flask-RESTful API 的两种不同用法。。首先API只会返回json的类型,不会返回HTML。API一般适用于前后端分离的情况。Flask API的实现方式有两种。第一种就是不用flask_restplus。第二种是用flask_ ...
Read more »

Sliding Window

Posted on 2022-07-07 | In leetcode |
Words count in article: 716 words | Reading time ≈ 3 minutes
滑动窗口的核心在于hua(划水的hua)。滑动窗口有点类似动态规划,在一些区间内找到最优解,而且也有一点双指针的思想。滑动窗口可以用以解决数组/字符串的子元素问题,它可以将嵌套的循环问题,转换为单循环问题,降低时间复杂度。可以把比较常见的暴力解法$O(n^2)$降到$O(n)$。其实如果提升算法效率 ...
Read more »

COMP9311 Extension

Posted on 2022-06-18 | In COMP |
Words count in article: 809 words | Reading time ≈ 5 minutes
COMP9311 extensionThis is an extension knowledge about COMP9311 Auto deploy PostgreSQLYou can find the shell script here. You can execute the followin ...
Read more »

Entropy

Posted on 2022-06-14 | In COMP |
Words count in article: 540 words | Reading time ≈ 3 minutes
EntropyEntropy can be used as a measure of uncertainty in information theory. Entropy H(Y) of a random Y with n different possible values:$$H(Y) =-\su ...
Read more »
12…4

Charles

37 posts
17 categories
28 tags
RSS
GitHub E-Mail FB Page
Creative Commons
友情链接
  • Baidu
  • hexo
  • theme-next
  • MyWeb
© 2019 — 2024 Charles
Number of visitors to this site times Total number of visitors to this site times

Hosted by Coding Pages