又梦到要重新高考,
回到实验高中,
我好恨,
我在橱子上刻下愤恨不平的字样,
被pb发现后帮我掩饰过去,
发练习册填写姓名学号时,
不自觉地又填写上北大的学号,
发模拟卷时各种试卷打包在一起發,
還是紅筆批閱的。
上課時母親竟在座位旁陪伴,
教課的老師像自己的舅媽,
嚇了我一跳,
考数学漏做了好多题。
重新高考时考场竟然是北大,
北大为前来高考的学生发放了23开头的临时学号,
那些现实里为考研准备的安检设备,
在梦里竟成了检查重新高考的设备。
我庆幸地得知自己又拿回了那个属于自己的学号,
专业也还是原来的专业,
只是处处透露着后面还有新的淘汰考试的征兆。
本来北大的同学好像大部分都重新考上了,
我猜测已经考上的学生标准降低到合格考的水平,
也有新的人考上了北大。
我想去找负责人问个清楚,
却浑身瘫软下去,
醒了。
小组作业
小组作业实在是这世界上最抽象的东西
不要问我从哪里来
我的故乡在远方
天尽头
何处有香丘
离不开你
我俩,太不公平,
爱和恨,全由你操纵。
可今天,我已离不开你,
不管你,爱不爱我。
月亮代表我的心
/*
Melody
Plays a melody
circuit:
- 8 ohm speaker on digital pin 8
created 21 Jan 2010
modified 30 Aug 2011
by Tom Igoe
This example code is in the public domain.
https://www.arduino.cc/en/Tutorial/BuiltInExamples/toneMelody
*/
#include “pitches.h”
// notes in the melody:
int melody[] = {
NOTE_G3, NOTE_C4, NOTE_E4, NOTE_G4, NOTE_C4, NOTE_B3,NOTE_E4, NOTE_G4,NOTE_G4,NOTE_A4,NOTE_B4,NOTE_C5,NOTE_A4,NOTE_G4,
NOTE_E4, NOTE_D4, NOTE_C4, NOTE_C4,NOTE_C4, NOTE_E4, NOTE_D4, NOTE_C4, NOTE_C4,NOTE_C4,
NOTE_D4, NOTE_E4, NOTE_D4, NOTE_A3, NOTE_B3, NOTE_C4, NOTE_D4, NOTE_C4,
};
// note durations: 4 = quarter note, 8 = eighth note, etc.:
int noteDurations[] = {
4, 12, 4, 12, 4, 12, 4, 12, 8,12,4,12,4,16,
4, 4, 12, 4, 8, 4, 4, 12, 4, 8,
4,4,12,4,8,4,4,24,
};
void setup() {
// iterate over the notes of the melody:
for (int thisNote = 0; thisNote < 32; thisNote++) {
// to calculate the note duration, take one second divided by the note type.
//e.g. quarter note = 1000 / 4, eighth note = 1000/8, etc.
int noteDuration = noteDurations[thisNote] * 70;
tone(8, melody[thisNote], noteDuration);
// to distinguish the notes, set a minimum time between them.
// the note's duration + 30% seems to work well:
int pauseBetweenNotes = noteDuration * 1.30;
delay(pauseBetweenNotes);
// stop the tone playing:
noTone(8);
}
}
void loop() {
// no need to repeat the melody.
}
给别人debug
给别人的lab debug,感觉自己把lab又做了一遍。😵😵😵😵😵😵😵😵
tcp计算checksum时包含一个伪头部
所以经过nat后不只port的改变,saddr或daddr的改变也会影响checksum的结果
算了一半天checksum总是不对,这下狠狠记住了
0 是无效端口
debug了一晚上sendto,总是errno=22(Invalid Argument),最后才发现,原来0不能作为端口,这下狠狠记住了