<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' version='2.0'><channel><atom:id>tag:blogger.com,1999:blog-5911587</atom:id><lastBuildDate>Sat, 13 Feb 2010 04:14:04 +0000</lastBuildDate><title>Jiaqi's Blog</title><description>Some boring dump of daily stories ...</description><link>http://www.cyclopsgroup.org/members/jiaqi/blog.html</link><managingEditor>jiaqi.guo@gmail.com (Jiaqi)</managingEditor><generator>Blogger</generator><openSearch:totalResults>60</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5911587.post-4262627917084986384</guid><pubDate>Sat, 13 Feb 2010 04:08:00 +0000</pubDate><atom:updated>2010-02-12T20:14:04.976-08:00</atom:updated><title>Steve Nash is the most rediculous man in the world</title><atom:summary type='text'></atom:summary><link>http://www.cyclopsgroup.org/members/jiaqi/2010/02/steve-nash-is-most-rediculous-man-in.html</link><author>jiaqi.guo@gmail.com (Jiaqi)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5911587.post-935120972965107366</guid><pubDate>Tue, 05 Jan 2010 16:24:00 +0000</pubDate><atom:updated>2010-01-23T18:46:58.414-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>java webservice</category><title>RESTful service with JAX-RS is so easy, a caveman could do it</title><atom:summary type='text'>A recent project requires me to build a RESTful service that supports supports stream input, output and JAXB binding. After a quick research, I was amazed when I found how easy it is to build RESTful service using JAX-WS(JSR-311) and Apache CXF. Cut the chase, let the code talk.import javax.xml.ws.rs.*;@Path( "/hello" )public interface Greeter { @GET @Path( "/{user}") @Produces( "text/plain" ) </atom:summary><link>http://www.cyclopsgroup.org/members/jiaqi/2010/01/restful-service-with-jax-rs-is-so-easy.html</link><author>jiaqi.guo@gmail.com (Jiaqi)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5911587.post-2889208334117110158</guid><pubDate>Wed, 02 Dec 2009 01:50:00 +0000</pubDate><atom:updated>2009-12-01T19:03:28.745-08:00</atom:updated><title>Amazon PayPhrase, a secure way to pay</title><atom:summary type='text'>I've been hearing about Amazon PayPhrase for a while, and finally received official news letter in last month. Here I'll skip the part about what is PayPhrase and how does it work, I'm sure the official website describes it with words thousands times more accurate and understandable than what I can do. Rest of this article talks about why I think PayPhrase is a secure way to pay."Secure" is a </atom:summary><link>http://www.cyclopsgroup.org/members/jiaqi/2009/12/amazon-payphrase-secure-way-to-pay.html</link><author>jiaqi.guo@gmail.com (Jiaqi)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5911587.post-7308876395514208288</guid><pubDate>Sun, 01 Nov 2009 22:44:00 +0000</pubDate><atom:updated>2009-11-01T18:00:11.832-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>java</category><category domain='http://www.blogger.com/atom/ns#'>euler</category><title>Project Euler problem 220 - Heighway Dragon</title><atom:summary type='text'>This document goes through a Java solution for Project Euler problem 220. If you want to achieve the pleasure of solving the unfamiliarity and you don't have a solution yet, PLEASE STOP READING UNTIL YOU FIND A SOLUTION. Problem 220 is to tell the coordinate after a given large number of steps in a Dragon Curve. The first thing came to my mind, is to DFS traverse a 50 level tree by 10^12 steps, </atom:summary><link>http://www.cyclopsgroup.org/members/jiaqi/2009/11/project-euler-problem-220.html</link><author>jiaqi.guo@gmail.com (Jiaqi)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5911587.post-4189997043983071060</guid><pubDate>Fri, 23 Oct 2009 01:01:00 +0000</pubDate><atom:updated>2009-10-22T18:31:50.164-07:00</atom:updated><title>Yilin Guo, the coolest girl on the planet</title><atom:summary type='text'>The biggest project that I ever do, for now and ever, just started on September 22nd 13:00 EST 2009, in Memorial Hospital in South Bend, Indiana. This project will take 18 years of development and my lifetime to support. She is my daughter, Yilin Guo.There are way too many reasons why Yilin is the coolest girl on the planet. I can't explain them quickly in a simple article, therefore I created </atom:summary><link>http://www.cyclopsgroup.org/members/jiaqi/2009/10/yilin-guo-coolest-girl-on-planet.html</link><author>jiaqi.guo@gmail.com (Jiaqi)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5911587.post-9118943491427373601</guid><pubDate>Sat, 19 Sep 2009 01:59:00 +0000</pubDate><atom:updated>2009-09-18T19:08:30.811-07:00</atom:updated><title>Prairie Vista Elementary School</title><atom:summary type='text'>An elementary school I found next to my house. Looks nothing but a small deserted building coming out of nowhere as my first impression. It turns out a classy school that people waits in queue for months to get enrolled.</atom:summary><link>http://www.cyclopsgroup.org/members/jiaqi/2009/09/prairie-vista-elementary-school.html</link><author>jiaqi.guo@gmail.com (Jiaqi)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5911587.post-7858349370416745430</guid><pubDate>Thu, 23 Apr 2009 06:28:00 +0000</pubDate><atom:updated>2009-04-22T23:33:21.615-07:00</atom:updated><title>The 26th Annual Skagit Valley Tulip Festival</title><atom:summary type='text'>Tulip festival is one of the most exciting events in Washington state. It's usually in April. I missed it last year, which made sad for very long time. This time, I'm not gonna to miss it again.</atom:summary><link>http://www.cyclopsgroup.org/members/jiaqi/2009/04/26th-annual-skagit-valley-tulip.html</link><author>jiaqi.guo@gmail.com (Jiaqi)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5911587.post-8297468543286588949</guid><pubDate>Fri, 23 Jan 2009 06:31:00 +0000</pubDate><atom:updated>2009-01-22T22:38:26.166-08:00</atom:updated><title>Jmxterm project has a new website</title><atom:summary type='text'>I made a number of big changes for project Jmxterm recently, to keep trace of bugs, questions and documents in a better way. Changes include:Start tracking bugs and questions in launchpad.net/jmxterm, move all bugs mentioned in discussion into launchpad.netSetup wiki site for cyclopsgroup.org in wikidot.comCreate wiki category for Jmxterm project in wik siteEvacuate existing Jmxterm home page and</atom:summary><link>http://www.cyclopsgroup.org/members/jiaqi/2009/01/jmxterm-project-has-new-website.html</link><author>jiaqi.guo@gmail.com (Jiaqi)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5911587.post-5708978466074909736</guid><pubDate>Wed, 05 Nov 2008 05:11:00 +0000</pubDate><atom:updated>2008-11-04T21:22:50.527-08:00</atom:updated><title>Sweet golden November</title><atom:summary type='text'></atom:summary><link>http://www.cyclopsgroup.org/members/jiaqi/2008/11/sweet-golden-november.html</link><author>jiaqi.guo@gmail.com (Jiaqi)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5911587.post-5640747205514988309</guid><pubDate>Sat, 11 Oct 2008 20:37:00 +0000</pubDate><atom:updated>2008-10-11T13:45:07.407-07:00</atom:updated><title>SourceForge stopped shell service and broken maven2 site deployment</title><atom:summary type='text'>According to the sourceforge notice, the access methods for project web file management have changed.  The new accepted methods are: SFTP, SCP, rsync over SSH. SSH shell service is not supported anymore.When maven 2 SSH based wagon deploy site, it zip the whole site, upload zip file and unzip it with remote SSH call, which wouldn't work after SHELL service is stopped. Which means SSH wagon is </atom:summary><link>http://www.cyclopsgroup.org/members/jiaqi/2008/10/sourceforge-stopped-shell-service-and.html</link><author>jiaqi.guo@gmail.com (Jiaqi)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5911587.post-8790034386510794631</guid><pubDate>Wed, 30 Jul 2008 05:37:00 +0000</pubDate><atom:updated>2008-07-29T22:46:45.769-07:00</atom:updated><title>Replace jconsole with command line based jmxterm</title><atom:summary type='text'>JMXTERM is a command line based interactive JMX client software. It opens a command line console and user can open connection to an MBean server, then operation against it with interactive commands. The user experience of JMXTERM is like a combination of jconsole and ftp. With JMXTERM, JMX operation doesn't have to be done in graphical environment anymore.JMXTERM project has recently release the </atom:summary><link>http://www.cyclopsgroup.org/members/jiaqi/2008/07/replace-jconsole-with-command-line.html</link><author>jiaqi.guo@gmail.com (Jiaqi)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5911587.post-6916718197542850188</guid><pubDate>Tue, 22 Jul 2008 02:47:00 +0000</pubDate><atom:updated>2008-07-21T20:34:11.402-07:00</atom:updated><title>Dark Knight, the #1 movie in IMDB</title><atom:summary type='text'>This movie tells that,A comic super hero move, a box office blockbuster movie can be appreciated in the same way God Father or The Shawshank Redemption isIt doesn't take comedy to be a profitable super hero movieTo be a good movie, it doesn't matter how many predecessors there are.Dark Knight is unique and unconventional. The #1 position in IMDB may turns out to be too overwhelming in the future,</atom:summary><link>http://www.cyclopsgroup.org/members/jiaqi/2008/07/dark-knight-1-movie-in-imdb.html</link><author>jiaqi.guo@gmail.com (Jiaqi)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5911587.post-3253518587551878671</guid><pubDate>Thu, 17 Jul 2008 14:52:00 +0000</pubDate><atom:updated>2010-01-13T08:02:15.103-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>java</category><title>Reflection is expensive? Illusion!</title><atom:summary type='text'>Reflection invocation is a little bit more expensive comparing to the direct call, but it wasn't very slow and it's not slow at all now in JDK 6. It is looking up  by name that takes long time.Operation2000/11 (probably jdk 1.3.1)2003/1 (probably jdk 1.3.1)2004/10 (jdk1.4.2_03)2007/2 (jdk1.6.0_b105)100,000 regular calls2664ms281ms203ms78ms100,000 reflection calls without </atom:summary><link>http://www.cyclopsgroup.org/members/jiaqi/2008/07/refaction-is-slow-its-illusion.html</link><author>jiaqi.guo@gmail.com (Jiaqi)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5911587.post-4471061366384592137</guid><pubDate>Thu, 17 Jul 2008 13:46:00 +0000</pubDate><atom:updated>2008-07-17T07:12:43.924-07:00</atom:updated><title>Neutual density filter and long exposure</title><atom:summary type='text'>Pictures in this album were all taken from Pier66 in Seattle, between dawn and pitch black night. Most of them were under long exposure (5~60 seconds). Some were taken with neutral density filter. For examples:P7137679 is taken in early dawn with 5s exposure, with .9 neutral density filter plus a .6 graduated neutral density filter.P7137705 is taken in late dawn with 40s exposure, with .6 neutral</atom:summary><link>http://www.cyclopsgroup.org/members/jiaqi/2008/07/neutual-density-filter-and-long.html</link><author>jiaqi.guo@gmail.com (Jiaqi)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5911587.post-2992296644871232951</guid><pubDate>Thu, 10 Apr 2008 05:22:00 +0000</pubDate><atom:updated>2008-04-09T22:26:51.947-07:00</atom:updated><title>Daniel Day-Lewis, the top performance of 2007</title><atom:summary type='text'>Top 100+ performance on big screen in 2007 isDaniel Day-Lewis in "There Will Be Blood (2007/08)"  Casey Affleck in "The Assassination of Jesse James by the Coward Robert Ford (2007)"Marion Cotillard in "La Vie en Rose (2007)" Carice van Houten in "Black Book (2006/07)"  Anamaria Marinca in "4 Months, 3 Weeks, 2 Days (2007)" Brad Pitt in "The Assassination of Jesse James by the Coward Robert Ford </atom:summary><link>http://www.cyclopsgroup.org/members/jiaqi/2008/04/daniel-day-lewis-top-performance-of.html</link><author>jiaqi.guo@gmail.com (Jiaqi)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5911587.post-1512108699844326389</guid><pubDate>Sat, 05 Apr 2008 06:11:00 +0000</pubDate><atom:updated>2010-01-13T08:02:46.408-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>java</category><title>4-states state machine for CSV parsing</title><atom:summary type='text'>Parsing CSV file is easy, it's nothing but splitting string with comma delimiter, which can be easily done in Java... The first thing came to my mind when I'm about to parse CSV file in Java is just like that. Now, reality is that following examples are all possible valid lines in a CSV file1,Bender2,"Bender"3,"Bender, Bending"4,"Ben""d""er"5, Ben"der6, Ben""derLine 7 might be arguable but anyway</atom:summary><link>http://www.cyclopsgroup.org/members/jiaqi/2008/04/4-states-state-machine-for-csv-parsing.html</link><author>jiaqi.guo@gmail.com (Jiaqi)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5911587.post-327621949113845226</guid><pubDate>Thu, 24 Jan 2008 06:31:00 +0000</pubDate><atom:updated>2008-01-23T23:45:37.582-08:00</atom:updated><title>Guess a number (Find the floor in building that breaks egg)</title><atom:summary type='text'>QuestionI have a integer number M in my mind, a number between 1 and N where N is a big number. Chances for M to be any integer between 1 and N are the same. A friend tries to guess this number by asking me to compare M with another number, and I'll answer "your number is bigger", "smaller" or "correct". Another constraint is, his number can be bigger than or equal to M for up to 2 times. What is</atom:summary><link>http://www.cyclopsgroup.org/members/jiaqi/2008/01/guess-number-find-floor-in-building.html</link><author>jiaqi.guo@gmail.com (Jiaqi)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5911587.post-1239000091871730501</guid><pubDate>Tue, 04 Sep 2007 03:25:00 +0000</pubDate><atom:updated>2007-09-03T20:46:57.643-07:00</atom:updated><title>Rattlesnake Lake</title><atom:summary type='text'>Enjoying the beauty of Rattlesnake Lake doesn't require strenuous hiking at all, the lake is right beside the parking lot. With extra 4-mile easy hiking, people can also find stunning mountain view from the summit of Rattlesnake Ridge.</atom:summary><link>http://www.cyclopsgroup.org/members/jiaqi/2007/09/rattlesnake-lake.html</link><author>jiaqi.guo@gmail.com (Jiaqi)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5911587.post-6759501855496819412</guid><pubDate>Sun, 02 Sep 2007 05:51:00 +0000</pubDate><atom:updated>2007-09-01T22:56:56.531-07:00</atom:updated><title>Cenqua Acquired by Atlassian</title><atom:summary type='text'>Received a mail from cenqua recently:1 August, 2007: Today we’re announcing the acquisition of Cenqua! There is a lot of synergy and similarities between Cenqua and Atlassian, from our business models to the philosophy behind our development, so the merging of the two companies makes a lot of sense. While plugins already exist to connect JIRA and FishEye and Bamboo and Clover, we will be building</atom:summary><link>http://www.cyclopsgroup.org/members/jiaqi/2007/09/cenqua-acquired-by-atlassian.html</link><author>jiaqi.guo@gmail.com (Jiaqi)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5911587.post-8434859047971211173</guid><pubDate>Wed, 29 Aug 2007 04:59:00 +0000</pubDate><atom:updated>2007-08-29T09:04:55.935-07:00</atom:updated><title>23 prisoners problem, brutal solution and analysis</title><atom:summary type='text'>Problem abstract23 prisoners are going to be sent to isolated 23 cells and in each day, the guard will randomly pick one of them and have him change the status(either on or off) of one of two switches(switch A and B). The guard promises that if one day the prisoner he picks looks at the two switch, confidently tells that all 23 prisoners have been picked in past and it's truth, then all prisoners</atom:summary><link>http://www.cyclopsgroup.org/members/jiaqi/2007/08/23-prisoners-problem-brutal-solution.html</link><author>jiaqi.guo@gmail.com (Jiaqi)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>4</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5911587.post-5960222161496946573</guid><pubDate>Tue, 08 May 2007 05:51:00 +0000</pubDate><atom:updated>2007-05-07T23:08:57.315-07:00</atom:updated><title>Upgrade to Ubuntu 7.04, Feisty Fawn</title><atom:summary type='text'>Ubuntu 7.04, "Feisty Fawn" is the latest stable release of Ubutun Linux distro. Although the Ubuntu community doesn't support direct upgrade from 6.06 (Breezy) to 7.04, re-installation isn't that scary if your personal data is stored in separated partition. Only a few fundamental mount points like root, /usr, /var and /boot, need to be formatted during re-installation.Feature listUser review</atom:summary><link>http://www.cyclopsgroup.org/members/jiaqi/2007/05/upgrade-to-ubuntu-704-feisty-fawn_07.html</link><author>jiaqi.guo@gmail.com (Jiaqi)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5911587.post-7645277434577463885</guid><pubDate>Mon, 30 Apr 2007 07:41:00 +0000</pubDate><atom:updated>2007-04-30T00:48:01.212-07:00</atom:updated><title>Weekend hiking in Lake Serene</title><atom:summary type='text'>Lake Serene hike, the 7 miles round trip with 2000 feet elevation, probably takes a whole afternoon. The trail is strenuous, dangerous and out of maintenance for years. However, the stunning view from the summit of Mt. Index makes every drop of sweat count.Direction: Take highway 2 from Monroe heading east, exit at milepost 35 for Mt. Index Rd. Map  Album (74 photos)</atom:summary><link>http://www.cyclopsgroup.org/members/jiaqi/2007/04/weekend-hiking-in-lake-serene.html</link><author>jiaqi.guo@gmail.com (Jiaqi)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5911587.post-5437794545846980415</guid><pubDate>Fri, 27 Apr 2007 05:19:00 +0000</pubDate><atom:updated>2007-04-26T22:25:18.732-07:00</atom:updated><title>Reference from metrobellevue.com</title><atom:summary type='text'>One of the bellevue downtown photos is used by metrobellevue.com recently.</atom:summary><link>http://www.cyclopsgroup.org/members/jiaqi/2007/04/reference-from-metrobellevuecom.html</link><author>jiaqi.guo@gmail.com (Jiaqi)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5911587.post-803011202242640676</guid><pubDate>Thu, 26 Apr 2007 06:28:00 +0000</pubDate><atom:updated>2007-04-25T23:33:38.118-07:00</atom:updated><title>Maven Book, Maven: The Definitive Guide (1.0 Alpha 1)</title><atom:summary type='text'>It's also downloadable from http://www.sonatype.com/MavenTheDefinitiveGuide.zipWhy a Book?You may ask "Why a Maven book? There are plenty of documents online, right?". The problem of diving into any new software project is the problem of where to begin. Yes, there is a growing wealth of information pertaining to the Maven project - but it is scattered and piecemeal. They make great reference </atom:summary><link>http://www.cyclopsgroup.org/members/jiaqi/2007/04/maven-book-maven-definitive-guide-10.html</link><author>jiaqi.guo@gmail.com (Jiaqi)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-5911587.post-3301703265791751844</guid><pubDate>Thu, 26 Apr 2007 03:04:00 +0000</pubDate><atom:updated>2007-04-25T21:03:50.544-07:00</atom:updated><title>Custom IdGenerator for JPA, gap between Hibernate and JPA</title><atom:summary type='text'>The JPA annotation is a subset of Hibernate annotation, this means people will find something available in Hibernate missing in JPA. One of the important missing features is the custom ID generator. JPA doesn't provide an approach for developer to plug in their own IdGenerator. For example, if the primary key of a table is a BigInteger sequence, JPA will be out of solution.Assume you don't mind </atom:summary><link>http://www.cyclopsgroup.org/members/jiaqi/2007/04/custom-idgenerator-for-jpa-gap-between.html</link><author>jiaqi.guo@gmail.com (Jiaqi)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>3</thr:total></item></channel></rss>