2007 年文章归档
共 37 篇文章
It’s not a bug. It’s a …
Hey, I have to blog about this one. It’s so funny it’s classic!
2007-08-24 03:22 · Technology
What does a native tab control on Windows look like, anyway?
I came across an article on EclipseZone today that got me to really wonder what a native tab on Windows should look like. The article takes the tab control of Eclipse for an example. Eclipse’s editor and view tabs have a gradient-based rendering with the colors drawn from the system primary and sec…
2007-08-23 15:46 · Java
Eclipse RCP and desktop Java - are we there yet?
I’m currently working on an Eclipse RCP project, which is supposed to be mostly used by non-technical people. Actually in my company today, Eclipse RCP is the de facto technology for building all desktop applications - from developer workbench to everyday necessities. There are RCPs built for progr…
2007-08-16 16:25 · Java
Downloading YouTube Videos with a Groovy one-liner, and convert it to mpeg4
Today I used LiveHTTPHeaders to take a closer look at how the youtube video streams are directed to the browser. And I found that my previous attempt actually has some redundency in it. To get the flv video stream, simply request the URL: http://cache.googlevideo.com/get_video?video_id=${vid} where…
2007-08-15 14:31 · Groovy
准备搬新服务器了
2个礼拜没有更新了。 现在blog的服务器空间是和朋友一起办的另外一个网站 autoers.org 合用的,一年前在 上海服务器合租网 买的。说起来 autoers.org 已经换了好几个国内服务器空间了,也受够了国内服务器商的低劣质量和服务。最惨的一次,由于共享服务器上有其他未知的“非法网站”,流量还很大,服务器资源被大量占用导致我们的网站速度很慢而且不稳定。最后服务器整个被公安端走了,来不及备份的数据全部丢失。 所以这次决定搬到国外服务器了。最近调查了一下国外web hosting服务商的情况,在 web hosting unleashed 上对比了几家最热门的服务商,最后选定了 hos…
2007-08-15 12:38 · General
用Launchy发消息到饭否
Launchy 真是个用了舍不得放下的小东西,可以双手不离键盘的打开电脑上几乎任何东西。而且,hack一番的话你还可以让Launchy干更多更有趣的事情。 比如,今天尝试成功了用Launchy发消息到 饭否 ,方法如下。 先下载 cURL 。把curl.exe复制到系统path路径下,比如c:\windows 在Launchy建立了索引的某个directory下,新建文件fanfou.bat,内容如下 @echo off cmd /c curl –basic –user loginname:password –data status=”%*” http://api.fanfou.com/st…
2007-08-02 15:33 · Hacks
Downloading YouTube Videos with a Groovy one-liner, kind of
Inspired by Downloading YouTube videos with a Perl one-liner , I’ve put together a piece of code to do the same thing with Groovy. Not as succinct as Perl. But figure out how much noise there will be in plain Java. 1: HttpURLConnection.setFollowRedirects(false) 2: def vid = (args[0] =~ (/(?<=v=).*$…
2007-07-29 13:33 · Groovy
Hello world, again (Part II, how I moved from JRoller to Wordpress)
This is my summary about the migration of my blog from JRoller to here. I’m a Java engineer working in China. So when I was looking for a free blogging service, JRoller was my natural choice, because 1. In China, Blogger, Wordpress, LiveJournal, and all other mainstream blogging sites are blocked. …
2007-07-29 05:18 · General
Hello world, again!
Hi, folks! So I’ve finally made up my mind to move my blog out of JRoller. Now this blog is on a domain and space owned by myself, which is virtually the best solution for blogging, which is also sadly non-free. Thanks to Feedburner, you feed reading monkeys don’t need to update your feed subscript…
2007-07-28 15:17 · General
JRoller upgraded!
Wow! JRoller has upgraded to the latest Roller 3.1, and got a fresh facelift which is in harmony with the lovely DZone. The immediate difference I see with my blog is that my control panel is now partially in Chinese!:) But to my much disappointment, the awkward multi-language problem is still not …
2007-07-19 10:30 · General
JRoller upgraded!
Wow! JRoller has upgraded to the latest Roller 3.1, and got a fresh facelift which is in harmony with the lovely DZone. The immediate difference I see with my blog is that my control panel is now partially in Chinese! But to my much disappointment, the awkward multi-language problem is still not fi…
2007-07-19 02:30 · General
Project Zero: First Impressions
Last weekend, Project Zero officially unveiled its community site. Project Zero is a fresh new project from IBM which aims at the agile web development framework domain which is getting momentum very fast lately with the popular RoR and the promising newcomer Grails . Project Zero’s tagline is, “Ze…
2007-07-07 00:38 · Java
Project Zero: First Impressions
Last weekend, Project Zero officially unveiled its community site. Project Zero is a fresh new project from IBM which aims at the agile web development framework domain which is getting momentum very fast lately with the popular RoR and the promising newcomer Grails . Project Zero's tagline is, "Ze…
2007-07-06 16:38 · Java
Project Zero: First Impressions
Last weekend, Project Zero officially unveiled its community site. Project Zero is a fresh new project from IBM which aims at the agile web development framework domain which is getting momentum very fast lately with the popular RoR and the promising newcomer Grails . Project Zero's tagline is, "Ze…
2007-07-06 16:38 · Java
Problem with posting from Windows Live Writer
Windows Live Writer is really quite a nice tool for posting to blogs. But despite of my effort to get it to work with jroller, I’ve always failed. I have seen someone succeeded posting to jroller, but I always get the following error. Could anyone give me any hint what I’m doing wrong? Here’s what …
2007-07-05 21:29 · General
Problem with posting from Windows Live Writer
Windows Live Writer is really quite a nice tool for posting to blogs. But despite of my effort to get it to work with jroller, I've always failed. I have seen someone succeeded posting to jroller, but I always get the following error. Could anyone give me any hint what I'm doing wrong? Here's what …
2007-07-05 13:29 · General
Problem with posting from Windows Live Writer
Windows Live Writer is really quite a nice tool for posting to blogs. But despite of my effort to get it to work with jroller, I've always failed. I have seen someone succeeded posting to jroller, but I always get the following error. Could anyone give me any hint what I'm doing wrong? Here‘s what …
2007-07-05 13:29 · General
Version 1.0.1 of the Groovy Eclipse Plugin is now available!
The goodness of the day isn’t over yet. The newest version of the Groovy Eclipse Plugin is also out now ! I can’t wait to try out the code completion magics.
2007-06-29 22:38 · Groovy
6/29 is a big day!
Following last year’s Callisto, Eclipse Europa is officially out on 6/29! Go get it while it’s hot! In the meanwhile, GPLv3 is scheduled to launch on the same day! It’s reported that R.S will launch GPLv3 via a video stream on the organisation’s Web site . What’s more, the much anticipated and craz…
2007-06-29 22:17 · General
Version 1.0.1 of the Groovy Eclipse Plugin is now available!
The goodness of the day isn't over yet. The newest version of the Groovy Eclipse Plugin is also out now ! I can't wait to try out the code completion magics.
2007-06-29 14:38 · Groovy/Grails