Via Noir Chicago!

Last weekend I went to Chicago with my roommate. I split up with my roommate after we arrived in the city.

Before the battle, there are riots against Trump’s presidency on south side of Chicago River and in Millennium Park. (The surprising part is that Chicago police are on bikes.) The POC soon announced that there will be no anomaly portals in those areas.

Play Hard Play Fair Signing Board!
Play Hard Play Fair Signing Board!

This battle was more harsh than I originally thought. Enlightened faction players are organized into car teams, bike teams and foot teams. My team was assigned to guard a target portal in Milton Lee Oliver Park in east part of Chicago. Although we lost the battle because the resistance faction deployed 3 teams to our portal, Enlightened faction won the battle in the end and I leveled up to L13 as well. Everyone enjoyed the night view of Chicago and we had a fun after party in a pizza restaurant. According to my GPS, our team covered a distance of 16 km during the whole anomaly. Continue reading Via Noir Chicago!

毕业后记

Portal @ SHS紧接着高考的毕业,见多了的合照、毕业典礼、教师赠言。

虽然说是从上中毕业,然而我必须承认,三年上中生活对我的性格并未产生巨大的改变。然而这个地方使我明确知道自己想要的东西要尽力追求、自己厌恶的东西能改变则改变,不能改变就远离。从某种意义上说,是对于理性的加强,情感的弱化。

过去的三年,我在控制自己的情感上越发的熟练。站在现在已经获得美国 F-1 签证的我的视角,看 5 年前的自己,觉得 too young too simple sometimes naive,看 3 年前刚进上中的自己,就像在看昨天的自己的背影。然而那个时候的我不会想到,被录取并决定去上中成为了世界线的分歧点,此后的 3 年(不能说全部是愉快的)不断把我推向出国深造的未来。

在工作站里存着的那些放出一定会被同学追杀的照片,却不断地提醒我,情感是我固有的一部分,无论我多么试图克制,也一直潜意识地给我提供自己能接受的做这做那的理由。翻看照片才猛然意识到,我所认识的可爱的、阳光的、脑洞大开的、污力滔滔的同学,上课开黄腔、一本正经胡说八道但负责的老师也曾经是我生活的一部分。

我想要记住的东西,无论是照片还是文字,将会永远留存。

我想要留住的东西,无论怎么试图去挽留,都会随着时间飘散。

It’s happening, and here I come.

</高三狗>
</高中生活>

又到了樱之雨的季节……然而已经没有樱花了。

それぞれの場所へ旅立っても、友達だ 聞くまでもないじゃん。
Your presence will always linger in my heart.
桜ノ雨

El Psy Congroo

Continue reading 毕业后记

EarthLiveShell 在桌面从太空看地球

之前在 GitHub 上看到 bitdust 用 C# 做的一个能够获取卫星影像并设定为壁纸的程序 EarthLiveSharp (v2ex 讨论),可惜只能在 Windows 下工作。趁着会考完结花几天时间用 Bash 实现了一个能够在 Linux Gnome 下工作的版本

setsid <command> & 可以使进程直接挂在 init 下面作为新的 session 运行,EarthLiveShell 的服务进程即使用这种方法保持在后台。

附上截图

EarthLive

Time-based One Time Password Algorithm

Follow the algorithm

As implemented in Google Authenticator app, you’ll need:

  • A shared secret key K, which is base32 encoded
  • a specific time period since UNIX epoch T

I’ll use K = GEZDGNBVGY3TQOJQGEZDGNBVGY3TQOJQ and T = 1450235092 (which is Wed, 16 Dec 2015 11:04:52 CST) for example. In the Google Authenticator App, both K and T are passed to TOTP as hexadecimal values (or byte arrays).

Since K is a base32 encoded string, we’ll decode it to byte format. Password changes every 30 seconds, T should be divided by 30, tuncated to integer and converted to hex and padded to 16 hexadecimal digits.

Continue reading Time-based One Time Password Algorithm