一晚上撸了四千字出来,累到爆炸…
感觉如果现在让我穿越回大二,再来一次美赛,一定溜得飞起。
交了论文之后本来想睡个觉的来着,但是周四还有Cryptography & Security要考。
鉴于乌大爷一般不按套路出牌,我觉得还是要抓紧时间复习一下,考好这学期最后一场考试。
Category Archives: Can be void
One year in Melbourne
I thought today was a normal day until sniffing my friends who came together with me to Melbourne sent Wechat Moments celebrating the anniversary of the first year living in Melbourne.
Elfsong has disconnected
Do not expect to have any big improvement within days.
Be patient and over time, you will be surprised at where you are today.
I have tried my best in these days, and I am aware of there are numerous stuff can be learned during this period. With a little bit of luck, I would be different and better after my holiday.
So, see you later:)
Validate IP address
昨天面试了微软北京的组,Coding问了一道判断IP是否合法的问题,然鹅当时脑子打铁,写的完全惨不忍睹,今天早上起床吓得我赶紧重新写了一遍。
class Solution(object): def isIPv4(self, s): try: return str(int(s)) == s and 0 <= int(s) <= 255 except: return False def isIPv6(self, s): if len(s) > 4: return False try: return int(s, 16) >= 0 and s[0] != '-' except: return False def validIPAddress(self, IP): """ :type IP: str :rtype: str """ if IP.count(".") == 3 and all(self.isIPv4(i) for i in IP.split(".")): return "IPv4" if IP.count(":") == 7 and all(self.isIPv6(i) for i in IP.split(":")): return "IPv6" return "Neither"
Be a survivor of a disaster
这两天全靠红牛和咖啡续命了。
11月1号考完了这学期的第一门Final,在皇家展览馆考的。看了一下考场的座次表,三千人一起考试真的是美滋滋。考场的“服务人员”态度也特别好,看我手画Burndown Chart,就贴心的给我递过来了一把尺子 (可能是看我手画的太惨不忍睹了)。
因为这个暑假有四个月的时间,待在家里的话虽然可以轻松许多,但是还是觉得趁还可以实习,应该多锻炼一下自己。本来以为离放假还有一段时间,打算等考完试再去找实习,但是前两天算了一下日期,我发现再不找实习估计就来不及了,于是赶紧把简历投了起来。运气还不错的是,有好几个大佬都给了机会让我试一试。考完试的第二天,也就是11月2号,我约了微软的面试。正好打算考完试休息放松一天,于是2号就被我完全腾空用来面试了。
一个人的江湖
天下风云出我辈,一入江湖岁月催。
皇图霸业谈笑中,不胜人生一场醉。
提剑跨骑挥鬼雨,白骨如山鸟惊飞。
尘事如潮人如水,只叹江湖几人回。
他日江湖重相逢,再无金庸!
Memory
When I was 5 years old, my mom always told me that happiness was the key to life. When I went to school, they asked me what I wanted to be when I grew up. I wrote down “Happy”.
They told me I didn’t understand the assignment and I told them they didn’t understand life.