Advertisement in streaming tv

Advertisement in streaming tv

Pancake Day There was a international friendly football match yesterday, that was China vs Portugal. Obviously, the result is pretty easy to guess. However, I, as a chinese football fan, would like to watch this game.

For some reason, CCTV didn’t broadcast. I searched in google, and found a great website.

In the first several minutes, the speed was very very good. Suddenly, it stopped.

vshare_ad

You see, I should click the advertisement to continue watching the game. Great idea, ha?

I think this is not a bad idea. For one thing, when the advertisement appears, people need some time to response. It’s helpful for those slow internet connection to buffer. For another, advertisement gives tv provider great profit to support this great work.

High performance machine

High performance machine

Each new day is a blank page in the diary of your life This is my first time using high performance machine. Although the machine is only for student, and of course, it is not good as those pro machines, it is still a good experience for me.

ssh remote machin, returns:

Last login: Wed Feb 17 15:02:15 2010 from nl103-144-35.student.uu.se
———————————————————————–

__  __          ___
/\ \/\ \        /\_ \
\ \ \ \ \     __\//\ \      ___     ___     ___ ___       __
\ \ \ \ \  /’__`\\ \ \    /’___\  / __`\ /’ __` __`\   /’__`\
\ \ \_/ \/\  __/ \_\ \_ /\ \__/ /\ \L\ \/\ \/\ \/\ \ /\  __/
\ `\___/\ \____\/\____\\ \____\\ \____/\ \_\ \_\ \_\\ \____\
`\/__/  \/____/\/____/ \/____/ \/___/  \/_/\/_/\/_/ \/____/

__                _____    ____
/\ \__            /\  __`\ /\  _`\
\ \ ,_\    ___    \ \ \/\ \\ \,\L\_\
\ \ \/   / __`\   \ \ \ \ \\/_\__ \
\ \ \_ /\ \L\ \   \ \ \_\ \ /\ \L\ \
\ \__\\ \____/    \ \_____\\ `\____\
\/__/ \/___/      \/_____/ \/_____/

Interactive cluster at Uppmax, Uppsala Universitet
Access node; os1

———————————————————————–

Hardware:
IBM X3455 dual Opteron 2220SE, 2.8GHz nodes. 4*10=40 cores
8GB RAM, Infiniband and Gigabit interconnect

Infiniband is not available for MPI programming due to system problems

Software:
Scientific Linux SL release 5.2, kernel 2.6.18-92.1.18.el5
SGE version 6.2, Grid Engine queue system
“man sge_intro” for an overview.
GCC version 4.3 c,c++,fortran and java
module load gcc
PGI version 7.2 & 8.0, 64 bit compilers (C,C++,F77,F95,HPF)
module load pgi
Intel version 10.1 & 11.1, 64 bit compilers (C,C++,Fortran)
module load intel
MPI, OpenMPI libraries, default 1.2.9, 1.3 available
module load pgi openmpi
module load gcc openmpi
mpicc or mpif90 to compile
mpirun to execute.
qsub -pe dmp8 16, to submit a 16 slot mpi job
openMP is available in pgi, intel and gcc

QUEUES and PEs:
os: 160 slots main queue (overbooked)
-pe dmp NN, distributed on nodes, 16 slots per node (4 cores)
-pe smp NN, shared memory, 1 single node for up to 16 threads (4 cores)

User Limits:
The login nodes are intended for short test runs only, max cputime is 30min

INTERACTIVE:
Use qsh to request a interactive job and recive a xterm.
e.g. qsh -l h_rt=01:00:20

**NB qlogin dont work at the moment use qsh**
(Use qlogin to execute an interactive session without starting a xterm. )

NB X-forwarding is working!
(If you have logged in with “ssh -X os.uppmax.uu.se” !!!)

Dont forget to request h_rt

————————————————————————–

News:
2009-11-20   os6 restarted due to system problems

2009-10-7/8  Service stop
New file server “bubo” introduced for all uppmax storage.
Your home directory is now in /bubo/home/h?/user.
Refer to this using “$HOME” in your programs.
To ease the transition we have defined symbolic links so that the old
directory names are usable for a short time.

2009-07-07   Compilers: PGI is updated to 9.0, default is kept as 8.0
If you want the latest version use “module load pgi/9.0″
Intel is updated to 11.1 (build 038), 11.0 (build 084) is kept as default
If you want the latest version use “module load intel/11.1″

2009-03-17      Infiniband removed from openmpi due to stability problems

2008-11-28      OS-kluster is reinstalled with SL 5.2
R is now a module to run R please load the module first
“module load R”
Sun Grid Engine updated to 6.2

I use bold font to indicate hardware.

BTW, my knowledge of Vim helps me a lot. I like Vim :)

Display Gnu Grub screen after my upgrading my Ubuntu

Display Gnu Grub screen after my upgrading my Ubuntu

GRUB_screenshot Wubi is a great tool which can help you install Ubuntu in Windows without changing partition. I installed Ubuntu by using Wubi. Really easy!

But, after I upgraded Ubuntu and rebooted, there was no Ubuntu login windows. What I saw is a black screen. It said GNU Grub, Minimal Bash-like shell blabla. I have to say I don’t like it, and you won’t, either.

Luckily, it is easy to find a solution. I searched ‘wubi ubuntu gnu grub’ in Google. The author of Wubi showed his solution here :

For a patch/workaround:

A) get the wubildr in https://bugs.edge.launchpad.net/ubuntu/+source/grub2/+bug/477104/comments/90 and copy it over C:\wubildr
B) ensure that when you boot there is no command “insmod ntfs”. Press “e” at the grub boot menu to edit the relevant entry and remove “insmod ntfs” before proceeding

New ubuntu/wubi installations do not contain the patch yet. The patch will only be applied once there is a clear confirmation (from you) that it actually solves the problem. Hence your feedback is appreciated.

Right, that’s it, download that file and copy it over. There are also some other solutions in which you need to type lots of commands in command line. I think, the solution of his, the author of Wubi, is better :)

Important, RSS management provider changed

Important, RSS management provider changed

FeedBurner Hi, everybody. I decide to change my rss management provider from Feedsky to FeedBurner. I know there is some problems to visit feedburner from China, however, feedburner gives me better service than Feedsky. If this really bother you, please accept my apologize.

This is my new rss link : http://feeds.feedburner.com/kylewu

Most of you use Google Reader. It’s quite easy to subscript feedburner in GR. In the head of Google Reader, there is a button named ‘Add a subscription’. Click it and paste http://feeds.feedburner.com/kylewu into the blank. Then click ‘Add’. That’s all, now you will catch me by using FeedBurner just like Feedsky before.

GR

ailurus, wonderful tool for linux beginner

ailurus, wonderful tool for linux beginner

ailuruslogo If you are a beginner of Linux, especially, Ubuntu, this software is what you need. Ailurus is a great tool which can help you “Install software”, “Configure Linux” and “Study Linux skills”.

Ailurus is an open source software, located in Google Code, here is the link. You can find download address from right side of ailurus homepage. Let’s see what ailurus looks like.
Read More »

2009年终总结

2009年终总结

china 2009年的最后一天,简要记录一下自己的这一年。

2月,杭州淘宝实习3个月。第一次实习,感受很多。

4月1日,自己的博客kylewu.net上线。

5月12日,收到瑞典通知,被Uppsala大学录取。

6月,大学毕业。

8月17日,踏出国门,来到瑞典。

总的来说就是围绕毕业和出国,下半年没有过多的事情,主要是熟悉国外的生活。希望2010年能给我带来更多的希望。

用Google Chrome代替Firefox

用Google Chrome代替Firefox

chrome 自Google Chrome推出以来,受到很多人的喜爱。但是以前仅有Windows版本的,不过现在,Google Chrome for Linux终于出现了。这里可以下载到。感觉速度真的很快,比Firefox强很多。之前我已经使用过Chromium一段时间,不过苦于没有扩展,所以一直没有放弃firefox。但是现在,有相当多扩展可以下载和使用,是时候放弃Firefox了。

LifeHacker介绍了18款扩展,我没有全部使用,只使用了一部分,这里做个简要介绍。

Xmarks for Chrome Beta, 这款扩展我不多说了,我一直没有放弃Firefox的主要原因就是它。它可以同步书签到网络上,免去了备份书签的困扰。

Google Alerter,提示GMail, Google Wave和Google Reader的未读数目。代替了Firefox下GMail Notifier等扩展。

ChromeMilk,专门针对Remember the milk的扩展,Remember the milk是一个GTD网站。

主要是这三个插件,当然还有针对twitter,flickr, delicious等的插件,具体请到LifeHacker上自行查找,链接在这里

VeryCD消失后,我该怎么办?

VeryCD消失后,我该怎么办?

最近国内的各个bt站点相继出现了问题,verycd也在今天不能访问,表面原因众所周知。很多知名博客都对此做了报道和分析。迅雷,土豆等类似提供在线视频的网站必定也会有所影响。

海盗湾的消失并没有将bt消灭,准确点说,这些网站是信息发布的平台,你可以在上面找到各种信息。正如google的作用,你可以在google进行搜索,如果没有google,这些信息就消失了么?不会。这些网站从视野中消失后,一方面,一定会有后继网站出现,二,这种封杀不会是长久的。所以,没必要过于紧张。

关键的问题是以现在的形式,如何在浩瀚的网络中找寻想要的信息,主要指影视,音乐,游戏等方面。相对于国外,国内可能暂时性不容易找到解决方案,不过迅雷暂时还没有出问题,所以这应该给迅雷带去相当多的流量。别忘了emule的搜索功能,虽然自我感觉不是很准确,但比没有要强一些。喜欢看美剧的同学也不用急,用英文google一搜一大把。同时,也别忘了直接HTTP,FTP下载,有时候也是不错的。这里,我没有细致介绍如何找下载资源,但我相信,用百度和Google已经足够了。

总之,同学们不要着急,网络是开放的,不可能由于某几个网站的消失就造成网络的瘫痪。

ps. 正好趁这个机会少下点东西,好好复习,迎接圣诞假期。

在瑞典查询国内的邮件

在国内向国外寄信的时候,会得到一个邮件编号,利用这个编号就可以查询到邮件现在的位置。

国内的部分可以在183查到,链接在这里。把编号填进去就可以追踪到邮件在国内的位置。

国外的部分需要在瑞典的邮政网上查询,链接在这里,是瑞典文的,如果看不懂可以用Google Translate翻译。

不过有一段时间是查询不到,也就是从国内到国外的过程,这里只能等了。

至于邮寄到其他国家的邮件,一样可以查询,只不过国外的网站需要查询。在google.com上以国家和post为关键词搜索,一般第一条就是了。

如何解决Failed to load module "globalmenu-gnome"

如何解决Failed to load module "globalmenu-gnome"

globalmenuGlobal Menu是Mac OS系统的一个基本功能,用过Mac的肯定都知道。使用Gnome的Linux一样可以做到,这里是gnome2-globalmenu的项目主页,有兴趣的可以看一下,里面的wiki挺全,有安装方法介绍。这篇文章不是介绍如何安装global menu,而是解决卸载后出现的一个小问题。

在卸载global menu后,如果你从命令行启动程序,就会发现往往都会提示如下的错误

Gtk-Message: Failed to load module “globalmenu-gnome”: libglobalmenu-gnome.so: cannot open shared object file: No such file or directory

说明在启动程序时,依然去调用globalmenu-gnome模块,但是由于已经卸载,所以提示没有找到。

解决方法很简单,运行gconf-editor,然后找到app -> gnome_setting_daemon -> gtk-modules,在右方可以看到global menu还是选中状态,取消选中或者删除就可以了。这样子再次运行程序就不会出现错误了。

gconf-editorg