SweetCron 新主题

3 Comments

今天抽了点时间为我的 Lifestream 站点做了个皮儿,兼容IE5.5/6/7/8b2, FF 3.0.3, Chrome 0.2.153.1, Opera 9.5。顺便提一下 SweetCron 这款开源的基于 php 的用于搭建 Lifestream(不知道 Lifestream 是啥玩意儿的同学请自行 Google, Baidu 或 Wiki 之。简单来说,就是 RSS 信息聚合器,用于汇聚你在网上的各种活动信息,比如记录你在 Twitter 唠叨了些啥、在 Flickr 上传了什么艳照、在 Google Reader 分享了哪些博文等等)的软件,由于还在继续开发中,所以目前功能比较简单(对于我来说够用就行了,简约的东西比较吸引我)。主页在这里(目前仍未正式发布,估计还有一段路要走),感兴趣的同学可前往Google Code下载源代码,在这里。想看 Demo 的去这里或者作者 YongFook 的主页(感觉这个作者很有明星相,他是 half Singaporean Chinese, half British and working in Japan)。

finian lifestream

迈巴赫62

No Comments

很久没上校内网了,今天进去一看,发现抢车位游戏中的我的金额已经超过620万,也就是说可以买里面最贵的车了(路人: 哇晒,牛X啊,最贵的车耶……这……有什么用啊?;Finian: 就……最贵啊……好吧,我承认我也不知道有什么用)。嗯,就是下面那款迈巴赫62,车身好长……当然了,我一向对游戏不感冒,特别是对于这种每天都要花费时间“升级”的纯属浪费时间和为校内贡献流量的游戏,我玩了两天之后就不想碰了……所以,在这里特此表扬一下每天不辞劳苦废寝忘食为我泊车的小F,嗯,继续好好干下去吧!(小F: =_=,我不想干了,每天泊车泊得我想吐啊,我要喝三聚氰胺自杀……;Finian: 少废话!小心我把你Delete了)

xiaonei carpark

Google 笔试

1 Comment

终于如愿以偿地前去被Google鄙视了,事实上,Google的笔试题目还是很基础的,可惜对于我来说,Google还是来得太早了,对于笔试我现在还是没找到太多的感觉,看来得加快复习进度了,后面很多笔试都快杀过来了,希望能够复习得充分一些,争取更多的机会吧。Anyway,感受了一下Google的宣讲会,感受了一下第一场笔试,还是蛮不错的。

P.S. 第二道算法题值得做一下,题目大意是“给定一个集合A,元素为0~9(不一定都出现),现给定一个正整数k,求由集合A元素所组成的大于k的最小整数。如给定集合A{0,1}和k:12,则结果为100”。在考场时想到了大概思路但没来得及写完(手写代码还是不习惯)。最没效率的做法当然就是生成一个靠近k的整数区间,然后从中选出符合的解。如果k很大,这个做法的效率就相当低(生成了一些不必要的数,当然可以适当优化一些,尽量少地产生不必要的数)。想到的一个较好的算法是,从左到右扫描k(把k当字符串),对于k中的每一位,在集合中选出最接近的数(对于接近程度来说,“大于等于”优于“小于”),然后和k中的这一位进行对比,如果“等于”,则继续下一位的处理;如果“大于“,则将后面(右边)的各位全部置为集合A中最小的元素,输出结果;如果”小于“,则往左回一位(此时该位与k中相应位的关系必然是“等于”),看是否可以“提升”该位的值,如果可以,提升该位的值并把其后面(右边)各位全置为集合A中最小的元素,如果不可以,则再往左回一位,做同样的判断,直到可以提升或者到达最左边一位为止,如果最左边一位也不可以提升,则所求的结果显然是比k多一位的最小整数了。

举个实际例子,比如A为{0,1,5,7},k为17196,结果为xxxxx。从左到右遍历k,第1位是1,在A中找到最接近的数1,和k中的1相等,则继续处理第2位,此时结果为1xxxx;k中第2位是7,在A中找到最接近的数7,和k中的相等,继续处理第3位,此时结果为17xxx;k中第3位是1,类似地,继续处理第4位,此时结果为171xxx;k中第4位为9,在A中找到最接近的数为7,比k中的小,所以往回处理第3位1,看是否可以提升到比1大的数,显然,1可以提升为5,所以把第3位后面各位全置为A中最小的元素,亦即0,输出结果为17500。

另一个中山大学

No Comments

照片由目前身在宝岛台湾的杜姑娘提供

西子湾站

今晚你一直在抽筋

No Comments

dropped frequently

终于能体会到那句“每天徘徊在杀人与不杀之间”。晚上8点开始到现在,已经掉线不下20次,在它彻底崩溃之前,我已经精神分裂了……

还是蛮像的

No Comments

avatar contrast
发现还是蛮像的,囧rz
Updated:
附某刷街青年的avatar,也是很像,特别是那囧囧有神而略带忧郁的眼神
(18岁以下观众请在家长的陪同下观看)
floyxeno avatar

有道新版上线

No Comments

似乎就在刚才,有道新版上线了。域名统一成youdao.com(看来双拼域名价值越来越高了),Logo改了,新版Logo更加醒目。另外增加了换肤功能,增强个性化设置。
http://youdao.com
youdao new version
p.s. 今晚刚听完网易的宣讲会来着

Diaries

No Comments

Saturday, Sept. 13th
Went to 90′s home this afternoon to celebrate the Mid-Autumn Day in advance.Some guys didn’t show up for some reasons:WZ had to take good care of his sick girlfriend and Becky had to be a groomsman at his friend’s wedding.It’s a little pity cuz I haven’t seen WZ for a long time.Wish him the best luck in everything.Well,before I went to 90′s home,I walked a long way to find a Seven-Eleven store (I should get off at the next stop) to buy some beverages as a gift (Although 90 had told me not to bring anything,I don’t think I could go there with empty hands).Janky had already been there when I arrived at 90′s.There is little change in his appearance.Maybe just a little STRONGER,huh:-P Then came WB,FZ,LD(with his gf),YZ and XN.Too many guys huh.It’s kinda crowded since 90′s home isn’t big enough (which give me a HongKong feel).Ancle and aunt prepared a lot of delicious dishes for us.Really appreciated.After that we also had some fruits and of course mooncakes.And,I had a task – fixing 90′s pc which she say,can’t connect to the internet.After reinstalling the OS,there was still a problem – the sound system didn’t work properly.Maybe it had something to do with the drivers.Since I had something to deal with that night,I had to say goodbye to her and promised to fix it some other day.Sorry for that.

Sunday, Sept. 14th
Yes,today is the Mid-Autumn Day.But since I’ve celebrated it in advance,I had no activity today.Just stay in dorm enjoying my ‘busy’ life – coding for the project and preparing for the job hunting and the papers.After all,today is the festival and it’s a little bit boring just stay indoors.So I went out to have dinner with some guys who lived in next door.When we got to the place we found that almost none of the restaurants was available because of the crowded people who were dining with their friends.At last we went to the A Di Beef Ball where there were just a few people in it.We had no idea why there were still empty seats while other places were so crowded and even had guys waiting outside for their turn.There was no cool air turned on inside?Maybe it was one of the reasons and when we finished our dinner there we got another,that was,their service was terrible:no one served the tableware and tea until we remind them and the worst thing was,they served the dishes very very slowly.We don’t think we’ll go there for a second time,so do the others and this was the reason why it had fewer customers in such a festival.

ChinaHR Sucks

No Comments

chinahr suck pic

对chinahr(中华英才网)糟糕的用户体验早就有所耳闻,听说当时出现过使用自己的帐号登入到了别人的简历系统的情况,实在让人汗颜。现在有不少公司把招聘托管在chinahr的平台上,为了方便,我还是在那儿注册了个帐号,这样填写好简历就可以轻松导入了,免去重复填写的麻烦。但我现在连填写基本简历信息的时候都出错(如上图),当然是使用IE内核,连IE都不行,我就更不会去尝试使用FF, Opera, Chrome了。这样的系统有时真的会让人产生问候他母亲的冲动。

Something Is Coming

2 Comments

something-is-coming-pic

Something is coming and I wanna go for it.Fight…

Older Entries Newer Entries

SEO Powered by Platinum SEO from Techblissonline