Comments 注释简介 Let's take a quick break from programming and talk about comments. Comments help programmers understand what exactly the computer progra ...
分类:
其他好文 时间:
2020-07-24 09:19:32
阅读次数:
81
C语言简介 C is a programming language that lets us give a computer very specifio commands. C语言是一种编程语言,它让我们可以给计算机非常特殊的命令。 C was invented in 1972. It's one ...
分类:
其他好文 时间:
2020-07-23 09:17:28
阅读次数:
69
作为Computer networks课程的一个project,我们需要实现用TCP在mininet中client和server的相互通信,需要能够传输文本文件,binary file 和image file。整个project的目的还是比较明确的。我主要列出了一下几个问题,需要在代码中实现。 1. ...
分类:
编程语言 时间:
2020-07-19 18:10:07
阅读次数:
91
To perform a cold boot (also called a "hard boot") means to start up a computer that is turned off. It is often used in contrast to a warm boot, which... ...
分类:
其他好文 时间:
2020-07-18 00:38:36
阅读次数:
268
Linux性能相关命令 1. 查看硬盘相关信息 cat /proc/scsi/scsi #查看scsi(Small Computer System Interface)连接的设备 lsblk #查看硬盘设备 lsblk -o name,rota #查看硬盘设备,列出名称和转动标志,如果rota为0, ...
分类:
系统相关 时间:
2020-07-15 23:26:28
阅读次数:
89
1025 PAT Ranking (25分) Programming Ability Test (PAT) is organized by the College of Computer Science and Technology of Zhejiang University. Each test ...
分类:
其他好文 时间:
2020-07-14 17:59:25
阅读次数:
48
##题面 Problem Description Queues and Priority Queues are data structures which are known to most computer scientists. The Queue occurs often in our dai ...
分类:
其他好文 时间:
2020-07-12 17:05:48
阅读次数:
132
go-snowflake 在单机系统中我们会使用自增id作为数据的唯一id,自增id在数据库中有利于排序和索引,但是在分布式系统中如果还是利用数据库的自增id会引起冲突,自增id非常容易被爬虫爬取数据。在分布式系统中有使用uuid作为数据唯一id的,但是uuid是一串随机字符串,所以它无法被排序。 ...
分类:
其他好文 时间:
2020-07-11 11:17:30
阅读次数:
138
Hi everyone! My name is Yuwei, and I'm a senior major in computer science. I enjoy meditation and jogging, and I feel like my soul is in a state of pe ...
分类:
其他好文 时间:
2020-07-11 10:08:34
阅读次数:
97
哦,不!你不小心把一个长篇文章中的空格、标点都删掉了,并且大写也弄成了小写。像句子"I reset the computer. It still didn’t boot!"已经变成了"iresetthecomputeritstilldidntboot"。在处理标点符号和大小写之前,你得先把它断成词语 ...
分类:
编程语言 时间:
2020-07-11 09:56:44
阅读次数:
52