Looking for a SW Engineer to join the Avocado team (Power8)

Hi folks. (from: https://www.redhat.com/archives/autotest-kernel/2014-September/msg00012.html)

We’re looking for a SW Engineer to work on the KVM Test Automation team (currently working on Avocado), focusing on Power8.

The primary assignment of this person will be to work on the Power8 port of Avocado and to be the person responsible for anything related to power8 in our KMV test automation infrastructure in the long term.

If you know of somebody who would fit the description below and is willing to join our team, please point them to the Red Hat job site or contact me in private.

The position is public in this URL:
http://jobs.redhat.com/jobs/descriptions/software-engineer-automating-testing-brno-jihomoravsky-kraj-czech-republic-job-1-4786737 (don’t care about the work place)

Company Description:
    At Red Hat, we connect an innovative community of customers,
    partners, and contributors to deliver an open source stack of
    trusted, high-performing technologies that solve business
    problems. We’re a billion dollar S&P 500 company offering
    solutions from Linux to middleware, storage to cloud,
    together with award-winning global customer support,
    consulting, and implementation services. 

Job summary:
    The Red Hat Engineering team in Brno is looking for a
    Software Engineer to join the KVM team in Brno, Czech
    Republic. Focusing on Power8 (ppc64), you will work on the
    development of testing frameworks and tools to automate the
    test coverage of Red Hat virtualization technologies running
    on the IBM Power8 architecture. As a Software Engineer,
    you'll work with a globally distributed team to develop
    critical technology for Red Hat products while collaborating
    with the open source community on many projects. 

Primary job responsibilities:
    * Design and implement new features in open source testing
      frameworks like Avocado and Autotest
    * Integrate multiple automation tools in a Continuous
      Integration (CI) system for KVM on Power8
    * Assist the Quality Assurance team in developing complex
      tests involving virtualization technologies
    * Promote a culture of test automation internally within Red
      Hat

Required skills:
    * 2-3 years of significant software development experience on
      Linux
    * Good understanding of the inner workings of a Linux
      distribution
    * Experience with test automation or continuous integration
      systems
    * Familiarity with development languages like Python and C
    * Experience with open source projects and development tools
    * Familiarity with IBM's Power8 architecture
    * Bachelor's degree in computer science or equivalent

Thanks!

KVM Forum “International Marketplace” (Music instrument)

Anyone have interest for the portable & traditional musicial instruments?
I still remembered beautiful melody I heared in Barcelona park Guell
http://youtu.be/f6DcykQV8y8

~♫♫~♫♫♫~♫♫~

The most traditional one in China: http://en.wikipedia.org/wiki/Guqin
But it’s too big, so enojoy online: http://tinyurl.com/p5p3d4f (relax)
http://tinyurl.com/mn8dd29 (passional)

Portable ones:
http://en.wikipedia.org/wiki/Xun_(instrument) http://tinyurl.com/mtb8gy3
http://en.wikipedia.org/wiki/Hulusi http://tinyurl.com/ljy2kbg
http://en.wikipedia.org/wiki/Dizi_(instrument) http://tinyurl.com/kcf83ck
http://en.wikipedia.org/wiki/Xiao_(flute) Jason’s Chinese name

More instruments:
http://en.wikipedia.org/wiki/List_of_Chinese_musical_instruments

转: 使用 ffmpeg 缩放、裁剪、剪辑视频

以前系统里装了一个剪辑软件, 用起来很占资源. 刚才想简单剪辑一个视频, 搜到下面文章, 比图形界面方便多了 🙂

我们平时使用手机拍摄的视频一般都在1080p及以上,在实际应用中,比如共享给朋友等,可能需要处理一下会比较方便。下面列出几个 ffmpeg 常用的处理视频方法(如果只需要格式转换,可以参考我之前的一篇文章《使用H264编码转换视频》

缩小视频

假设原始视频尺寸是 1080p(即 1920×1080 px,16:9),使用下面命令可以缩小到 480p:

$ ffmpeg -i a.mov -vf scale=853:480 -acodec aac -vcodec h264 out.mp4

各个参数的含义:

  • -i a.mov 指定待处理视频的文件名
  • -vf scale=853:480 vf 参数用于指定视频滤镜,其中 scale 表示缩放,后面的数字表示缩放至 853×480 px,其中的 853px 是计算而得,因为原始视频的宽高比为 16:9,所以为了让目标视频的高度为 480px,则宽度 = 480 x 9 / 16 = 853
  • -acodec aac 指定音频使用 aac 编码。注:因为 ffmpeg 的内置 aac 编码目前(写这篇文章时)还是试验阶段,故会提示添加参数 “-strict -2” 才能继续,尽管添加即可。又或者使用外部的 libfaac(需要重新编译 ffmpeg)。
  • -vcodec h264 指定视频使用 h264 编码。注:目前手机一般视频拍摄的格式(封装格式、文件格式)为 mov 或者 mp4,这两者的音频编码都是 aac,视频都是 h264。
  • out.mp4 指定输出文件名

上面的参数 scale=853:480 当中的宽度和高度实际应用场景中通常只需指定一个,比如指定高度为 480 或者 720,至于宽度则可以传入 “-1” 表示由原始视频的宽高比自动计算而得。即参数可以写为:scale=-1:480,当然也可以 scale=480:-1  Continue reading “转: 使用 ffmpeg 缩放、裁剪、剪辑视频”

[Travel] 10.17 到 10.22日 柏林及周边旅行, 求伙伴同行 :-)

From:  http://www.dolc.de/thread-1771677-1-1.html (德国萍聚论坛)

我10月11日去杜塞尔多夫出差, 参加 http://events.linuxfoundation.org/events/kvm-forum/ , 结束工作想去柏林玩玩.

10.17早上9点火车到柏林. 准备玩6天时间, 22号中午飞回中国.

现在打算花两三天在城市景点, 其余时间在周边小城镇, 我希望感受德国的自然风光和生活气息, 如果风景好那就更棒了!

我是男生, 27岁, 程序员, 爱好旅游音乐. 这次我女朋友10月25号要考会计中级, 要不我们会一起来游玩. 所以不用担心我有其他想法. 就是找朋友一起互相有个照应, 也怕自己攻略做不到位. 骑行,跟团,自驾(得你们开)我都行.

我比较向往 “新天鹅堡”, 但是太远, 而且10月份那里地势高, 应该有点冷.

还有如果你们需要我从国内带什么东西, 我也义不容辞 🙂

邮箱/Gtalk: kongjianjun AT gmail.com
微信: amoskong
博客: http://amosk.info/blog/

Barcelona Photo: http://chanyouji.com/trips/12462
Paris Photo: http://chanyouji.com/trips/13924
云南: http://chanyouji.com/trips/11746

Mutt:使用Fetchmail收邮件时在服务器上只保留部分文件夹内容

公司邮箱空间只有4G,邮件太多,特别是社区里的邮件.现在是收到警告就上去删一次,太麻烦了.当然强大的Gmail不存在这个问题.

~/.fetchmailrc 里可以执行多次poll 命令, 针对不同的文件夹采用不同的选项参数.
“no keep” 表示不在服务器保留接受过的邮件.
mda命令是对poll回来的邮件做处理, 每个poll命令后面需要紧跟一个mda命令.

# Only keep important internal mails on mail server
poll mailserver.com proto imap authenticate password user akong password mypasswd folder 'inbox' 'rhvirt' 'rhkernel' no fetchall keep ssl
mda "/usr/bin/procmail -d %T"

# Upstream maillists have archive, I also backup them in Gmail, so don't keep them in company mail server.
poll mailserver.com proto imap authenticate password user akong password mypasswd folder 'kvm-upstream' 'kernel-flood' 'seabios' 'autotest' no fetchall no keep ssl
mda "/usr/bin/procmail -d %T"

# set sleep time before next polling
set daemon 180

转: 姚欣宇谈开源社区的创立和运作

姚欣宇,GitCafe创始人。自称Thomas,网络ID是ghosTM55。他自己这么介绍自己:

我是在校学生,计算机系信息安全专业,大三。我个人比较喜欢计算机科学,哲学,运动,音乐与武术。我是Shanghai Linux User Group的组织者之一。我富有激情、理想、创新以及号召力。我不是牛人。

本文选自他的博客,是他自己整理自2010年在盛大创新院的演讲,为大家分享个人对社区文化的理解以及运作经验。

为什么

为什么要做这样的一个演讲?一,在国内,我看到有很多朋友都想创立各类社区,却找不到人和文献去学习以及借鉴经验。我今天的演讲稿会发布到我的BLOG中,有助于这些真正想将社区做好的朋友进行参考。二,社区的创立并不困难,但是社区的规模上升到一定程度后,其组织者、管理者需要考虑的问题非常多,由于其特殊性,有的时候问题的复杂度堪比商业项目中遇到的重重阻碍,我在举出各种事例的同时,在座的各位,也可以进行发散性的思考,帮助自己在生活中或者是从事的项目中遇到的问题提供新的解决方案与点子。

开源社区的性质

好了,各位,我们可以看到,在上海有许许多多的社区,计算机技术社区是其中的一个子集,在这样一个子集中,又有许多门派,有Python、Ruby、 Linux,等等。那么,首先我们要思考一点,为什么会有人需要成立各式各样的社区,参与者的心态和组织者的动机分别是怎样的。

开源社区有着自身的文化底蕴和哲学思想,所以这样的社区往往有着很多自身的特征,并且会因为人本身的因素,导致特征与特征之间产生矛盾。我将开源以及技术社区做了三个分类,分别为纯非盈利社区、半商业社区以及纯商业社区。

Continue reading “转: 姚欣宇谈开源社区的创立和运作”

转:一个幸存者的故事 —- GhosTM55

本文为福布斯云集2014年第二期演讲稿  GhosTM55

今天要先和大家讲一个幸存者的故事,来引出分享我所在从事的项目及其感悟。这个幸存者并不是指一位户外探险爱好者,而是一个应试教育体制下的幸存者。

20多年前,一个小男孩出生在了一个传统家庭,几乎刚学会走路,父母就离异了,家境平平。由于小时候见到了许多负面的事,他早早树立了是非观。当时的他太小,不理解为什么这个世界不那么make sense,于是对所有事情都好奇,会去想为什么,喜欢玩也更喜欢学。

到了幼儿园的时候,他开始自学写书法,上小学后知道了有书法兴趣班这么一回事,就毫不犹豫地报名了,与众多同龄小朋友一起练习书法,到了10岁的时候,他已经能够写出稍微像点样的篆书以及非常像样的隶书。在学习书法的过程中,总是会有家人陪同,家人会因为他早期写的没有其他人好而打他,也会因为写的好而拿去做比较。

小男孩不理解为什么去玩一个自己喜欢玩的东西要去和别人比较,更对没玩没了参加各类比赛感到反感,最终他对书法丧失了兴趣,停止了钻研。 Continue reading “转:一个幸存者的故事 —- GhosTM55”

(Python Author) Guido van Rossum on finding his way

Guido van Rossum is the creator and benevolent dictator for life (a.k.a. BDFL) of the Python programming language. Here he reflects on his path and shares what he’s been working on since joining Dropbox. Read on for this and a hint at what’s next for Dropbox, for Python, and for the BDFL himself.

You were an electronics hobbyist before becoming a programmer. How did you get started in electronics?

Okay, we’re going waaaay back. I don’t know exactly why I got into electronics as a kid. I remember that from the last grade in elementary school and probably through my second year in university, electronics kits and my own designs were one of my big passions.

It wasn’t always an easy path. In elementary school, I took one of the first projects I built into class as a show and tell project. There was no one who understood what it was or why it was interesting or cared. It’s a very vague memory. I just know that I took it in, and it fell flat.

Was there a time when you eventually found your people?

In high school, I hung out with a few other guys who had similar hobbies. We were all the geekiest kids in class.

I remember our physics teacher really encouraging us. The three of us worked together to build a large electronic device that was then used in demonstrations in front of the classroom. That was very satisfying.

Throughout high school, I had a very vague idea of what kinds of careers would be open to me. My general idea was that I was good at both sciences and languages and not so good in social areas. I ended up choosing mathematics.

How did you go from electronics to programming? Continue reading “(Python Author) Guido van Rossum on finding his way”

收缩QEMU虚拟机磁盘空间

相机照了很多照片,删了可惜,只能精选一些放网上.还有很多景色照片全部丢到百度网盘了.再加上很多虚拟机磁盘镜像,硬盘空间经常不够用.除了删除大量不经典的照片,就是在虚拟机镜像上想办法了.

qcow2磁盘镜像在创建后只占很小的空间,随着虚拟机里磁盘空间的真正的使用,镜像会越来越大.即便文件删除后,空间也不会自动收缩.下面是的方法可以用于回收为使用的磁盘空间.

+ Reclaimed space of my old guests images

  1) Fill unused space to zero:
    In Linux guests:
     # dd if=/dev/zero of=./a.out bs=1M
     # rm a.out

    In Windows guests:
     # download sdelete from http://technet.microsoft.com/en-us/sysinternals/bb897443.aspx
     # sdelete -c c:

  2) # qemu-img convert -p -O qcow2 orig.qcow2 new.qcow2
     # rm orig.qcow2

收缩了几个用了很长时间的镜像,笔记本有剩余40+G空间感觉很富有 🙂

第十一届国际软件自由日 (西邮站) 2014/09/20

logo1

9月20日14:00 西安邮电大学西区,图书馆二楼国际会议中心,届时与您相约,解开自由软件的神秘面纱!

外场活动
时间:9月20日上午08:30 ~ 12:00
内容:Linux各发行版展示,体验Linux的与众不同
地点:东区餐厅前

正式活动
时间:9月20日下午14:00~17:00
地点:西区图书馆二层国际会议中心
企业:Red Hat, Mozilla Firefox,GitCafe,优麒麟,IBM
高校:西北农林科技大学,西安理工大学,西安财经大学

Screenshot from 2014-09-19 13:26:47

(联系akong @ redhat.com 加入Red Hat, 职位信息: http://jobs.redhat.com)

Continue reading “第十一届国际软件自由日 (西邮站) 2014/09/20”