Verb Tense in English

Each sentence takes a place in a specific moment, and aspects tell us the status of the action at that moment Past Continuous/Progressive “We were sleeping when the sea creature attacked.” Perfect “We had departed from Nantucket.” Perfect Progressive “We had been sailing three weeks.” Simple “We went to search a sea creature.” “Sea creature attacked us.” Present Continuous/Progressive “We’re preparing for their next mission.” Perfect “We have built a special submarine for the search mission....

May 2, 2018 · Kyle Fang

Recall I

line in 3-D Define $\vec r_0$ and $\vec r$ are position vectors of $P_0$ and $P$, and $\vec a$ represents $\vec{P_0P}$. if $\vec v$ is parallel to $\vec a$, then: $\vec{r} = \vec{r_0} + \vec{a}$ $\vec{a} = t\vec{v}$ $\vec{r} = \vec{r_0} + t\vec{v}$ in othe words, $(x_r, y_r, z_r) = (x_{r_0}, y_{r_0}, z_{r_0}) + t \cdot (x_v, y_v, z_v)$ sphere the sphere’s center point is $(x_0, y_0, z_0)$ radius = $r$ all point on surface: $(x, y, z)$ $(x - x_0)^{2} + (y - y_0)^{2} + (z - z_0)^{2} = r^2$...

April 26, 2018 · Kyle Fang

Entry 6

I had several minions earned from sending out retainers and Eureka NM fates. They only worth 1000 gils on Market Board, so I decided to give them to a random player. I began with asking if the player want minions by sending /tell. It turned out that players all shunned away. Fine, I picked a random player and began with trade. I gave all minions away in one shot. I’ve been thinking changing my main....

April 21, 2018 · Kyle Fang

尝遍方便面

逛 Target 的时候在 Asian 区域发现了很多方便面。 方便面,我爱吃。决定尝遍这个区域。 一开始买了优惠的 pack 类型,尝到了一些不怎么喜欢的口味后认为还是两包两包的买更好,日清的杯面除外。 Maruchan,chicken falvor 每一包面包括了一包调料和一块面饼。对于方便面,我一般是一次煮两包吃撑。这一种两包的分量比较大,需要在碗的下面放一个盘子来防治汤水溢出溅在桌子上。只有比普通小碗大那么两三厘米的碗没办法。 细面条,鸡汤味,煮的时候一开始味道有点冲。加了鸡蛋和番茄酱调味。有一点咸,但在我的可接受范围内。 日清杯面, chicken flavor 请看日清杯面的大型广告:Final Fantasy XV。现在是在做 Dissidia NT 的活动。 小小的一杯,份量还行。每一杯包括了面饼和已经撒好的调料。只要加热水就可以。我额外加了一个蛋。 细面条,鸡汤味。无论是泡还是吃的时候,味道都很寡淡。里面有我喜欢的玉米粒。 SAPPORO ICHIBAN,original flavor 一包 100 g,包括了一块面饼和一包调料粉。 煮面加入调料粉的时候并没有味道。香味是慢慢出来的。细面条,汤的味道比较浓厚。不咸不淡刚刚好。 这是目前为止最好吃的一款。 SAPPORO ICHIBAN, Shio Ramen 同一个牌子,谷歌说这是盐味拉面。 一包 100 g,包括了一块面饼,一包调料粉,一包白芝麻。白芝麻细细咀嚼是真香啊。 比起原味款味道要咸一点,依旧是比较浓厚的味道。 超市里只有 5 包装的…… SAPPORO ICHIBAN, Beef flavor 这一次是牛肉味。 一包 100 g,包括了一块面饼和一包调料粉。 依旧是咸度适中,味道浓厚。但很奇怪的是汤水中有小颗粒,我才是超级迷你的牛肉粒吧。严重影响口感。这个牌子最难吃的一种。 说起来,康师傅的红烧牛肉也是这样。

April 18, 2018 · Kyle Fang

Color Channel 颜色通道

颜色通道(color channel)不能光用类比三原色的方法来理解,还需要理解灰度值(gray scale)。 数字图像的本质是矩阵。 每个矩阵内的元素可以看作是一个像素,每个元素都有关于 BGR 三种颜色的灰度值,而灰度值表示的是颜色的“深浅/强弱/明亮”。灰度值越高,颜色越深/强/暗,反之则是越浅/弱/亮。 如果一个像素的 BGR 的灰度是 [100, 40, 35]。那么这就表示,这个像素的蓝色通道的灰度值是100,绿色的通道的灰度值是40,红色的则是35。这些颜色混合在一起就变成了这个像素的颜色。 P1.d 的题目要求的是: Modify the above code snipet to replace the green with blue, red with green, and blue with red channels. 也就是: green -> blue red -> green blue -> red 第一次解法: newColor.at<Vec3b>(i, j)[0] = r; newColor.at<Vec3b>(i, j)[1] = b; newColor.at<Vec3b>(i, j)[2] = g; 实际上是: red -> blue blue -> green green -> red...

April 12, 2018 · Kyle Fang