About me

我的相片
I'm a web and software developer from Kaohsiung, Taiwan.
I design and implement user interfaces, also contribute to open source projects.
http://penkia.net/portfolio

2010年7月11日 星期日

Next-Gen xPUD

I'm planning next generation of xPUD while preparing the talk for Gnome Asia Summit this year.
Here's the fact:
  1. we're using mozplugger and <embed> to get applications embedded for now
  2. but we can't handle popup window, quit from applications or
    application started by xterm
  3. we need a way to listen CreateNotify / DestroyNotify event
  4. and only window manager can do that!
Here's my plan:
  1. write a window manager using xcb, do nothing but a) open web browser in fullscreen, and b) send dbus signal through dbus-javascript bridge to the browser while getting MapRequest event
  2. when the browser get that signal, add an <embed> tag with an id of the window id, and reparent it
  3. while the window manager get DestroyNotify event, remove that
    corresponding <embed> tag
So we can solve this once and for all!

I've done about 50% of the window manager (haven't named it yet, any idea?), and 80% of the "touchweb" browser (based on webkit and javascript dbus bridge), we might eventually need our own NPAPI plugger (could be a stripped down version of mozplugger)

That's for now. Stay tuned.

2010年7月8日 星期四

Daily Bookmarks 07/07/2010

常用 CSS Hack 再整理

http://ka-yue.com/blog/common-css-hack

iOS Icons Made in Pure CSS

http://blog.graphicpeel.com/post/740928981/ios-icons-made-in-pure-css

Basecamp home page redesign

http://37signals.com/svn/posts/2431-basecamp-home-page-redesign

Launch: Draft for iPad

http://37signals.com/svn/posts/2420-launch-draft-for-ipad

Device-scale user interface elements in iOS Mobile Safari

http://37signals.com/svn/posts/2407-device-scale-user-interface-elements-in-ios-mobile-safari

Great since day one

http://www.marco.org/769340032

Don Norman at the Business of Software 2009

http://www.joelonsoftware.com/items/2010/06/28.html

Network_tray

http://bkhome.org/blog/?viewDetailed=01690

How to hire a programmer to make your ideas happen

http://sivers.org/how2hire

Keep your vows; Keeping wed to Node

http://ajaxian.com/archives/keep-your-vows-keeping-wed-to-node

How Custom Events Will Save Us All

http://ajaxian.com/archives/how-custom-events-will-save-us-all

Scaling UI controls appropriately on the mobile Web

http://ajaxian.com/archives/mobile-web-scaling-controls

Connect: Great middleware for Node!

http://ajaxian.com/archives/connect-great-middleware-for-node

Firefox 之簡易觸控手勢實做

http://yurinfore.blogspot.com/2010/07/firefox.html

GLUT 作為 Embedded System 的 UI 平台

http://heaven.branda.to/~thinker/GinGin_CGI.py/show_id_doc/415

dissy -- 好用的 objdump 圖形前端工具

http://blog.linux.org.tw/~jserv/archives/2010/07/dissy_--_objdum.html

如何讓員工忠於公司?

http://www.ruanyifeng.com/blog/2010/06/how_to_keep_someone_with_you_forever.html

插圖式主頁

http://www.ruanyifeng.com/blog/2010/06/illustration_web_design.html

創業公司打工指南

http://www.ruanyifeng.com/blog/2010/06/work_at_a_startup.html

莫斯科地鐵交通圖

http://www.ruanyifeng.com/blog/2010/06/moscow_metro_map.html

Perl學習之旅的回顧(之三)

http://mrhsulife.blogspot.com/2010/07/perl.html

在盛大在線做的《閒談用戶體驗》的講稿

http://dingyu.me/blog/posts/view/ue-keynote-at-sdo