Sunday, September 06, 2009

搬家搬家

由于种种原因,把Blog从blogspot搬到了blogbus。 之前也试过sina的,但最终感觉还是blogbus的比较好一些。

我的新Blog: http://yangck.blogbus.com/

老的Blog也会继续更新,但应该还是以这个新的为主了。

Sunday, August 30, 2009

Love Story meets Love Story

Piano: Jon Schmidt
Cello: Steven Sharp Nelson

It's said they had some problem with ColdPlay on Viva La Vida, so here we have this Love Story meets Love Story, as beautiful as previous one.

Wednesday, August 26, 2009

Inglourious Basterds真的是Basterd!

看了Inglourious Basterds这个片子只能是无语,不知道是说Quentin Tarantino的风格又一次把我击败还是我发现自以为不错的英语在这个片子面前毫无用武之地。总之,很憋闷。从预告片里完全看不出这个片子风格之另类,但开场Nazi出现时的配乐就在暗示看这个片子是一种极度的考验。

章节式的剪切,几个故事相互交叉串联
怪异的音乐搭配和血腥的场景
英语完全不够,需要德语,法语和意大利语,而且英语还需要熟悉田纳西口音
历史的颠覆
从美国人的角度对德国人和英国人的嘲讽

现在我知道为什么KTH学生会今年Swedish Movie Night要选择这个片子了,你必须去看瑞典语字幕猜测对话的意思,地道的Swedish Movie Night.

Inglourious Basterds, really do not know how to comment on it. Quentin Tarantino once again made a show with his own style. You might think it's a Garrison's Gorillas-style War-Film from the trailer, but you may realize you are wrong and then find out it's a challenge to stare at the screen when the bizarre music come up with the show up of Nazi in opening scene.

Personally i think this movie is inter-crossed stories with bizarre music and bloody scene; a challenge to audience's language skill coz you may find out English is totally not enough, you need German, French and some Italian, actually, English is not the main language at all; the totally turn over of history; and kind of mocking over German and British from the view of American.

Now i know why ISS choose this movie for this year's Swedish Movie Night, you have to watch the Swedish subtitle for most of the time. Totally native Swedish Movie Night.

Monday, August 17, 2009

第一轮 17 shoots = 1 goal

最近2年Man Utd第一轮都不好打,今年同理。虽然赢球了,但总体感觉还是没在最佳状态。全场17次射门,只有1个进球,的确很可惜。N17表现不错,但还是有突然失踪的时候;V25还有点游离,好像很多次中场拿到球都不敢给他;同样游离的还有下半场的F24。后防线的伤病也够呛,O22都打起中卫,果然是万金油的干活。不知道C16怎么没首发? S18今天不错啊,几个传球很赞,射门也有当年的风采;还有两个边卫,E3和F20也不错,F20的表现的确是让人眼前一亮啊。以后左边有E3,F20;右边有B6,R21,D30,F20还能打右边,再加上从门将到前锋都能打的O22,怪不得Sir Alex从不买后卫。周三第二轮,没想到一开始就是一周双赛,接下来两个客场。Go, Man Utd!

The reds did not performed so well in last two 1st rounds, so is this one. 17 shoots made 1 goal. Technically, we got the 3 points but i think in general, the reds are still a little bit away from their best.

Nani did well in 1st half, before he got injured; but some time we still can not find him in game. Valencia is still somehow out of the team some time, anyway this is his 1st Premier League game for Man Utd. I really want to see more from this two players this year. Scholes did well today, so did Evra and Fabio. Fabio is definitely a young talented player. Now we have so many good wing-backs in team, no wonder Sir Alex never thought to buy a new back. lol

The Reds will visit Burnley on Wed. Hope Vidic and Carric can join the game then. Go, Man Utd!

Sunday, August 16, 2009

新赛季 New Season

Man Utd比赛是明天,不过现在也很激动。新赛季英超比赛又要开始了,谁能料到普遍被看低的Arsenal 居然能客场6:1扫平Everton呢? 对于新赛季的Man Utd,感觉挑战不小,拭目以待。

I've been thrilled for the new season of Premier League, even the game of the Reds is tomorrow, or this afternoon:D Who ever can believe that Arsenal can smash Everton with 6:1? For Man Utd the new season wont be easy, but we have the power and ability. Let's make it 4 in row!

Start to twittering, Twitter me plz :D

关于Jena的一点点 Something about Jena

终于把Demo弄好了,Jena的ontology也积累了写经验。总的来说Java+5, Ontology+3, Jena+5? Jena还真是一个不错的库,基本ontology你需要的它都考虑进去了。但还是有些Tricky。比如说在OntProperty.listRange()或listDomain()的时候,如果OntProperty是个object property,则有可能出现range或domain不是唯一的情况,比如 bool(A, B) P bool(C, D),这里bool(, )表示布尔运算,例如Union。这个时候直接P.listRange()是不能得到C, D的,如果P.listRange().toString()的话得到的是一串诸如"70d252bf:123146816dc:-7ffd"的值。其实这里的bool(C, D)被当作一个Annoymous OntClass来处理了,要得到C, D,只能从P.listRange()取出这个Anoymous OntClass,然后OntClass.asUnionClass().listOperands()。有点麻烦,实际中发现很多Anoymous OntClass都可能是多个OntClass做布尔运算的结果,真不知道是怎么出现的,OWL文件里也发现不了撒。现在很大的一个问题是: 哪个Union才是所需要的Union?

Finally finished the Demo, did learn something new about ontology and Java. Jena is a pretty good library to support the ontology-based development. But, still some tricky things.

For example, if there's a object property P, then P.listRange() or listDomain() may not be a single class. It may be something like "bool(A, B) P bool(C, D)". bool(,) here means bool expression. Now you can not get C, D directly from listRange(), because Jean treats "bool(C, D)" in a whole as an anonymous ontclass. The only way to assess C, D is to get this anonymous ontclass out then OntClass.asUnionClass().listOperands(). Not that handy, huh? And another problem here is that it's hard to know which union is the one you need, because i found there may be many anonymous classes in property range or domain and many of them are union of other named classes -_-!! And you can not find these unions from OWL file.

Wednesday, August 05, 2009

Java, Jena

最近一直在忙一个Demo,需要用到Java。自己之前对Java一直都有种莫名的抵触情绪,但试用下来发现还是比较方便的。估计是多亏了Eclipse的存在还有之前C#打下的基础。不过Java的速度一直是自己比较纠结的一点,不知道是不是自己多虑了。

涉及Ontology的编程,能用的家伙真不多。一开始想看看C#下有没有相关的库,但膜拜google大神半天只发现了Java环境下有,目前比较广泛应用的的当属Jena。Jena的功能不错,包括建模和实例,但涉及mapping估计还要自己写一些。前几天一直被一个import ontology的问题困扰,和一个同学讨论他开玩笑说问题无非就是那几个,估计这就是他喜欢编程的原因。但后来我想想这估计也是我不喜欢编程的原因,譬如被一个OWL的编码问题困扰很长时间。

昨晚看了Man Utd vs.Valencia,十分精彩的一场比赛。在感叹O7浪费机会如流水的同时也为V25的表现高兴。弗Sir有句话没错: Man Utd从来就不是一个人的球队。

Recently i was bothered by programming Demo for the thesis, which required Java and Jena. Thanks to Eclips which makes all the work much easier. But there are still problems, for example i was trapped by a OWL encoding problem for a long time, when you finally realize it then only feeling you have is kind of release mixing feel of stupid.

Watched the match between Man Utd and Valencia last night, really entertaining. V25 had a impressive show as well as O7 also impressed us by his ability of show up in the right position but later miss the opportunities. lol Anyway, it's a good game. Sir Alex got one thing right: Man Utd has never been a one-player's team. United!

Friday, July 31, 2009

几相忘

一个朋友要回国了,今天去帮忙拿东西。突然有些惆怅,两年时光飞逝,大家从陌生到熟悉现在又要各奔东西。本来想和朋友开玩笑说: "你走了,以后你在瑞典就只是一个传说了",但又没说出来。大家还是有说有笑的互道珍重,其实内心估计也各有滋味吧。King叫周六去吃饭,说着来了一句: 这个聚会也是聚一次是一次了。大家都知道再见总会到来,只是说再见很难。

A friend's leaving made me a little bit depressed, with other bothersome things. Time flies, two years is so short. We went through the process from strange to familiar to build our friendship, but now it's time to say goodbye? Actually i think all we know that it's a matter of time for this, but to say "goodbye" is not that easy.

Wednesday, July 29, 2009

Those Syfys

什么时候Si-Fi.com改名为Syfy了? 最近对科幻类作品的兴趣突然加大,发现自己深陷于Mutant,Vampire和Eurekars之间。很多时侯也在想像那些游走于人性和异能直接的感觉,就好象X-Men的超能力,不死的Vampire如何在社会中立足或者直接就是Eureka这个神奇的小镇上的神奇而又不神奇的事情。或许是现实面对的那些事情的确迫使自己在精神上追求一个简单的解决方案,但也不能无视Mutants的超能力不能被社会接受,Vampire们逃避阳光和压抑欲望,或者Eureka那些大问题背后的简单道理。

Eureka第三季归来走势不错。Tess是个有趣的角色,就看和Carter如何发展了。新的卖点是神秘的Signal,感觉比前两季都不错。

Kind of addicted to Sifi shows recently. No matter it's about Mutants or Vampires or even a bunch of funny scientist in a small town called Eureka. Somehow i thought the interest on those super-power reflected the lost or frustration in reality. So at least i can found a "short-cut" from those TV soap mentally. However, it's also hard to avoid the pain and angry when those mutants or vampires are wandering between super-power and humanity. It's a cost to pay. Mutants with super-power are facing the un-trust and discrimination from normal people and immortal vampires are hiding from sunshine and suppressing their desire to blood. Eureka might be the most "humanity" one, but those genius scientists most time have to count on the 112 IQ Sheriff Jack Carter.

Eureka S3 seems going well. Tess is a interesting character and also the "mysterious" signal. At least i think it's better than previous 2 seasons even they were both good. BTW, since when they changed the name of Si-Fi.com to Syfy?