这学期要忙起来了| Getting busy this semester

于是学期开始一周后就要交两份报告,同时另外两门的作业也布置下来了,加上硕士申请以及Project的研究……基本是杯具了。

接下来这段时间可能会延续这一个月来的风格,博文更新什么的速度会很慢。

顺带感慨一下,英国这边的某些家伙素质还真不高。一到晚上就泡进酒吧,出来的时候就已经是傻冒了,经过楼下喜欢大声放歌,随地小便以及踹垃圾桶在这群人的帮助下,俺们楼下4个垃圾桶的位置几乎是每日变换一个花样,令人叹为观止。

—————————–Lang Sep————————————

The busy semester has started and we are having two reports to hand in in the second week with another two assignment to do in the following weeks. I would also need to work on my project as well as my postgraduate application.

Because of all the aforementioned tasks, this blog will not be updated frequently.

BTW, I’m pretty amazed at the behaviors of some group of people here in Preston. According to what they have done, it isn’t difficult to classify them as ‘drunkard’. Singing loud, peeing by the street and smashing garbage bins, this is like their daily routine after drinking too much in bars. With the great help of these people, the 4 of our trash bins have been changing locations daily.

新年快乐| Happy New Year! | Akemashite Omededou!

好吧,2011来了,2012不远了……于是要珍惜时光,赶紧发奋!

标题最后的Romaji仅限测试用…真正开始添加霓虹语要等到猴年马月之时…目前连写个英文版都有点没动力了

至此,回归正题:

Happy New Year!

——————-Lang Sep———————

2011 has come and 2012 isn’t so far away now. Therefore I should cherish the rest of my life (—  —) and work hard on what I am doing!

The Romaji in the title is just a joke. The time for Japanese to be applied to my post is not in the near future because I’m even losing my motivation to write this English version…..

Whatever, here’s what the post is supposed to do:

Wish you a Happy New Year!

动漫歌曲推荐| Recommended anime songs

一直以来都有看动漫的习惯,并且坚持挑画风好的看,赏析过程中发现有一些的OP和ED不错,于是在这儿列出,算是分享。(其实是首篇附上音乐的测试用博文,嗯)

需要下载链接请点击相应标题,注意文件可能很大,非无限流量请慎用。

目录| Index:

  1. Irony – Claris
  2. ツキアカリのミチシルベ – ステレオポニー
  3. ツキアカリ – Rie fu
  4. 君の知らない物語 – Supercell
  5. 总结| Summary

(more…)

渐渐被收录| Site gradually being crawled by searching engines

近些日子忙着考试,便没来更新博文。顺便也就闲置一会儿看看会不会有什么访客,毕竟也积累了数十篇文章了。

Truth hurts. 此话不假,间隔几日来看,偶尔有一句留言也是自动被Akismet过滤的。本着“机器判断不一定可信”的观点,数次检查发现这些Spam还都货真价实,不得不感慨垃圾广告的覆盖能力,连这么一个基本没有宣传的私人小站都被殃及。

除此之外,让人舒服的事情也还是有的,那就是收录量渐渐增加了。起初到处提交URL期望被收录,结果除了股沟反应积极以外其余基本将俺无视。心想顺其自然便也没去理会。随着时光流逝,建站也近一月了。再查了查,发觉摆渡和搜搜都开始有了响应,不禁心下感到欣慰。

希望好的现象能够继续下去吧…作为第一个颇费心血弄出的博客,俺对此站还是很有些期望的~

————————-Lang Sep—————————-

I’ve been focusing on a number of exams recently and therefore have little time to look after this site. However, it is also a chance for me to see what’s going to happen if I just leave this site like this. Will there be any new visitors? New comment? Or even someone who want to exchange link with me?

Well. What best describes the fact is “Truth hurts.” I had only 3 new comments in these days and unfortunately all of them are classified as SPAM by Akismet. I double checked all of them and found only one being misunderstood. Yet it said nothing meaningful but have no ads in it. It is really amazing to see that even a tiny isolated site like this can have visitors delivering spam messages.

While the comment is not so satisfying, some thing else didn’t let me down. According to some SEO tools online, my site is being crawled by several searching engines and an increasing number of webpages in my site are being available in the result when people search for relevant information.

Hope that a bright future is lying ahead~

Python 笔记01| Notes about Python 01

近几日花了挺多时间在这上面,效果也较为显著,PMangar基本被实现了。期间有一些心得在这儿写下来做记录,顺便也分享:
I’ve been working on Python these days and here are some notes for it:

  1. Python中不支持在string.find(str)中使用正则表达式,即str只能是string。
    str in string.find(str) can not be a regular expression, it should be a string.
    Code:

  2. 使用for i in range(a,b)时,i的值可以等于a到不b-1而不会等于b。同理对于i[a:b]会截取i的第a至b-1个元素。
    In Python, any operation involving a range of a to b means the value can be from a to b-1.
    Code:

  3. 当已知一个字符的Unicode编码时,例如a=”u4eba”,可以通过unichr()和int()将其转换为相应字符的Unicode形式即b=”u4eba”
    When you know the unicode number of a charactor, you can get the corresponding character by using unichr() and int().
    Code:

PMangar 再启动计划| PMangar Reviving Project

距离上次编写和使用PMangar已经有些时日了,自从换了手机之后,很少再拿起HKC折腾。原因有两个,一是电池不经用,持续操作下恐怕撑不过2小时,其二是因为重量可观,远没有5630那么轻便。但是不得不说的是,触摸屏还是要方便许多,自从在手机上编程开始,日益发觉触摸屏+全键盘才是王道,缺其一便会增加许多不便,当然了,十二键数字键盘是最杯具的。

此次重拾主要是因为“身处国外,网速很快”,无论是校园WiFi还是手机3G都相当给力,于是本着不能浪费资源的想法,打算继续在手持设备上使用漫画下载软件。另一个推动力则是5630xm的系统,由于S60对Python的官方支持使得Symbian上的Py软件迅猛发展,相应的S60上Python的开发也越来越快,appuifw和e32的用法都能找到很多参考资料,所以这次转移应该不会有什么难度。

其实在开发WM上的版本的时候就已经有了更换图源网站的念头,但是当时一经做出便没有了前进的动力,改得刚好够用便满足了,直到后来由于google编码的问题而无法搜索的时候也由于紧张的学业而停止了开发。此次既然下定了决心,便换筋洗髓,从闲人改用了178。选择178的原因有:1. 漫画浏览页面提供了“右键另存为”链接,意味着图片可供下载,不用顾忌其余网站的所谓“版权问题”。2. 178的图片URL计算模式与主流网站一致,章节内任一页都包含了全部图片地址的列表,只要稍加处理便能直接获取。

目前转移工作基本已经完成,基本功能全部由菜单实现,GUI什么的等于没有。之后要做的就是:

  • 多线程下载。据说Python本身就有相应的函数,貌似是threading什么的。
  • 简介及缩略图获取及显示。这个需要对appuifw做些研究。
  • 自动更新。这个是个难题,短期内无法解决。
  • 章节批量下载。这是通向自动更新的第一步,可能要在downlist上动点脑筋,其次schnam如何随图片变化也是个问题,偷懒的解决方案就是Comic目录+抽取下载地址倒数第二个‘/’之后部分。
  • 最新更新漫画预览及获取。这就要求对178的主页进行分析并且提取简介和缩略图。
  • 多图源切换。这个基本等于重写60%程序,178已经不错了,不到万不得已俺是不会去浪费这个时间的。当然了,或许以后能够找到提高效率的方法也不一定呢。

以上功能若是实现的话,可能就能够与PC上现有的某些漫画下载软件匹敌了吧。

—————————-Lang Sep——————————

Time is ticking and I have to prepare for my presentation in this afternoon.

In a nut shell, this is a comic downloading application running on Python on a Symbian phone. I will update more info in English when time permits.

小雪一场| Snowed

早上醒来,窗外飘起了绒毛般的小雪,可惜好景不长,仅持续了莫约2小时。
—————–Lang Sep——————-
It snowed this morning, the feather like snow was beautiful. However, it lasted only for 2 hours.

Mac OS X真有趣| Mac OS X is interesting

图书馆一楼有一Media Suite,内有Mac无数,遂挑了一台把玩起来,惊觉果然很美观。
期间遇到一个软件,名曰“GarageBand”,相当有趣,内有免费的吉它和钢琴的课程,还能把吉它或者电子键盘琴连接到电脑上辅助练习,当真是不错。简直都让人有了入手Mac的冲动。

话说音乐方面有个一技之长还是很有用的,看来要考虑考虑近两年学一学吉他什么的了。

—————–Lang Sep—————–

I happened to have tried a Mac tonight and found it really interesting. There’s an application on it called “GarageBand” which has free guitar and piano lessons, you can even connect your instruments to Mac for more help. How amazing! I guess I’m beginning to discover the reason why people love Mac.

BTW, I’m also starting to think of learning a musical instrument, it’ll be great for my spiritual life and might be my strong-point in the future.

如何注册live.in后缀邮箱| How to register an email address with suffix live.in

Live.cn的邮箱曾经风靡一时,然而现在却早已泛滥。那么,想要一个live.in的邮箱吗?

只要不怕麻烦,点这里按步骤注册就行了,看不懂的就用Google Translate吧.

同理可以注册live.frlive.hklive.jplive.dk,以及更多,只需要克服小小的一点语言问题便可。

————————–Lang Sep—————————-

Do you want an email address ends with”live.X” where “X” can be any one of these “infrhkjpdk and more” ?

If any help is needed, just use Google Translate.