Saturday, June 26, 2010
How to install Tokyo Cabinet
http://1978th.net/tokyocabinet/spex-en.html#installation
Following the instruction, the installation is quite straight forward. As Tokyo Cabinet depends on zlib and bzip2, we need to install these two packages first. I am using zlib-1.2.5 and bzip2-1.0.5, however, after installing these two packages, I encountered an error during the 'make' phrase of Tokyo Cabinet installation:
/usr/bin/ld: /usr/local/lib/libbz2.a(bzlib.o): relocation R_X86_64_32S against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libbz2.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libtokyocabinet.so.9.8.0] Error 1
Solution:
Go back to the bzip2 directory, edit the Makefile, append " -fPIC" to the CFLAGS line:
CFLAGS=-Wall -Winline -O2 -g $(BIGFILES)
Reinstall the bzip2 ('make clean' and 'make install')
And then redo the Tokyo Cabinet installation. Now it should succeed.
Good luck~
Thursday, October 22, 2009
Isharya Gypsy moonstone earings, $175
Denver bridal boutiques pick up premier designers, $50
Bronze Aries Platform Shoes by Terry de Havilland from my-wardrobe.com, 340 GBP
Framed Clutch with Handle - Jewellery Necklaces Bracelets Earrings Rings Ba..., 40 AUD
Mother of Pearl Necklace, $1,485
Tuesday, October 13, 2009
The Model as Muse: Embodying Fashion


I watched a movie called "Funny face" over the weekend, and loved Audrey Hepburn in it. She was so funny, energetic, smart, and so beautiful in the film! And the most exciting thing for me is that, the scenes I had seen about Hepburn in the fashion exhibition in Metropolitan Museum in New York was from this movie!! I love those scenes. And in the movie, those were the scenes when Hepburn took photos outdoor in Pairs.
It' s a pity that I did not take photos in the fashion show, but I found a video on Youtube about it. The exhibition is called

If you are interested, check this Youtube video out:
http://www.youtube.com/watch?v=d82rkPihQ5Q
Wednesday, October 7, 2009
Moving from East Coast to West Coast
(1) Rent an apartment/house to live
Renting an apartment/house without having a look at the place might not be an easy decision. So list some things that you care about, and rank them: distance to working place, neighborhood, price, living space, structure, etc... And in Mountain View, lots of apartments have pools/gyms, so if you love exercise, you could choose such a place. And don't worry if your apartment does not have this, as you might live very near a trail or a park as well.
Craigslist is a good place to look for apar

What if you really want to see a place before renting? There is always a way. You could either ask friends or families for a short stay, or find some temporory sublet/room sharing on Craigslist.
(2) Buying airplane tickets
Southwest is a good place to buy airplane tickets. It allows two free baggag, and its price is usually cheaper than others. If you don't have a strict flying date, click the "Try our low fare calender" after your result for the selected date comes, and you could see the prices for the whole month. Usually the prices in different days differ a lot. Usually if you book early, Southwest is a good place to book tickets.
(3) Shipping luggages
Ask the local post office if they have "book special", uaually books are cheaper than other things. And also, if you ship your car, ask the carrier whether you are allowed to carry things in the trunk. If they allow, some light things such as clothes would be a good fit there.
(4) Shipping the car
It's my first time shipping a car, so I care more about online review while comparing their prices. I used the AmeriFright, and it's door to door shipment with a reasonble price. The good thing about it is that you could bid for several times for different prices, and you could choose one you pick. But be aware that a cheaper price may not attract carriers fast enough, so you might need a longer waiting time.
(5) Purchasing furnitures
Many people will prefer to buy furnitures after they see it. For me, I need some furnitures as soon as I moved in, such as mattress or bed. So I searched online and bought a mattress from Macy's and ask for a shipping date as my arrival date. It was during the Labor day when I purchase the mattress, so Macy's has a big discount, with around $300 for a mattress set originally pricing around $1200. If purchasing in other times, you could try some places such as Costco.
(6) High Speed Internet
During the summer, ComcastOffer has some deal, with $19.99/month for half a year, and a little more than $40 for another half a year. But this is only for new customer in their website. If you are an old customer, you could call Comcast directly, they might have the same deal for old customers. And in searching for Internet, research and negotiation would make a difference. After calling Comcast, I find out that I could get a better deal, with $25 each month for 12 months, and a higher speed. So my suggestion is, call the local office and use the online chatting tool provided by Comcast, to know more information about the choices. But one suggestion is, go with a high speed if internet is really important to you, but do a reasearch before you know about the prices.
Thursday, May 21, 2009
My Book shelf (CS)
Pattern recognition and machine learning
Christopher Bishop
Machine learning for multimedia Content Analysis
Yihong Gong et al
Foundations of statistical Natural Language Processing
Christopher D. Manning et al
Mining the Web
Soumen Chakrabarti
Modern Information Retrieval
Ricardo Baeza-Yates et al.
Machine Learning
Tom M. Mitchell
Learning in Graphical Model(to have)
Michael I. Jordan
Modeling the Internet and the Web
Pierre Baldi et al
Probability, random variables, and stochastic processes
Athanasios Papoulis
Structured Probabilistic Models: Principles and Techniques
Daphne Koller et al
Artificial Intelligence : A modern Approach
Stuart J. Russell et al.
Managing Gigabytes: compressing and indexing documents and images
Ian H. Witten et al.
Pattern Classification
Richard O. Duda et al.
&&&&Algorithms, systems, and other fundamental computer science&&&&
Introduction to algorithms
Thomas H. Cormen
Flexible Pattern Matching in Strings
Gonzalo Navarro et al.
Algorithm Design and analysis(in Chinese)
Xiaodong Wang
Advanced Programming in the UNIX Environment
W. Richard Stevens
Operating Systems: Internals and Design Principles
William Stallings
C++ Primer Plus
Stephen Prata
Effective C++
Scott Meyers
Java Data structures and algorithms
Robert Lafore
Effective Java
Joshua Bloch
TCP/IP Illustrated
W. Richard Stevens
Wednesday, April 22, 2009
Tech trends: visualizing the Internet! (from CNN)
Here are a few fun/interesting tech trends of the day. Making the Internet a more visual experience — and less of a text overload — seems to be on quote a few minds:

SEARCH: Cooliris has a cool tool out that lets you scan through photos and search results on a massive, 3-D wall of images. This spawned a Fortune magazine story about the future of search engines: will they always be text-based? Perhaps not.
BLOGS: There are several stories out about new government data that says there are now more paid bloggers in the country than there are paid lawyers. Not that they make the same kind of cash, although the Wall Street Journal says a blogger with 100,000 unique visitors per month can make $75,000 per year.
MAPS: IRLConnect is trying to make a name for itself with map-based social media. Using the site, you can pull in your Facebook and Twitter accounts to get a visual representation of what your posse is up to.
GOOGLE: Finally, in case you haven’t seen it, Google’s News Timeline is worth a look. You can pull in RSS feeds to make a weekly news timeline of your own.
Tuesday, April 21, 2009
from CNN: making search less text-centric
Making search less text-centric
Thanks to Google we navigate the Web with words. A group of upstarts wants to make search more visual.
![]() |
Browser plug-in Cooliris works lets you see hundreds of pictures at once. |
NEW YORK (Fortune) -- The online world has gone totally multimedia: Web video and images have proliferated in recent years. Yet the go-to method for finding stuff on the Internet remains text-based. Looking for a site? Type words into a search bar, and the text results offer a hint of the relevant pages. Even if you're looking for images or video, the results are notated with words.
But a few companies are looking for ways to spruce up search by making it more visually driven. Not only do the results look better than what we're accustomed to, they might just save you time as you're searching.
Consider Cooliris, a browser plug-in that takes groups of images and videos and presents them on a slick interactive wall. Instead of clicking through endless pages of results to find the image you want, Cooliris lets you fly through hundreds of pictures at once and then zoom in and out on the ones that interest you.
It works for image searches on Google (GOOG, Fortune 500), AOL, Yahoo (YHOO, Fortune 500), and others and it's also helpful for sharing photos on sites like Flickr and Facebook.
The plug-in is still in beta, but Cooliris says it's already attracted more than 10 million users with 50,000 downloads a day. Plus, earlier this month, Cooliris received $15.5 million of funding from Kleiner Perkins, DAG Ventures, the Westly Group and T-Mobile's T-Ventures. The company's first round of funding, $3 million two years ago, also came from Kleiner.
Another site that's putting visuals front and center in Web browsing is Searchme. The big difference between Cooliris and Searchme is that the latter is actually developing its own search algorithm. By contrast, Cooliris is layering its interface onto other search tools.
Searchme has the same business model as a standard search engine - it sells ads against key words - but the search results and ads come up as snapshots of the relevant sites.
So if you look up news stories on Oracle's purchase of Sun Microsystems, you'll actually see the articles lined up next to each other so you can read them immediately without having to click through. The idea is this saves you the trouble of having to toggle back and forth between the search results page and the content behind the links.
Over the last few years, Searchme has received funding from Sequoia, DAG Ventures and Lehman Brothers.
But if Google has about 70% of the search market, how does a company like Searchme fit in?
"I like the fact that Google is a monopoly," says Randy Adams, CEO and founder of Searchme. "It means I'm free to turn on a dime and do things that are disruptive to the marketplace."
Google responded by pointing to a few recent tools the company has added to improve searches. For instance, there's a new feature on image searches called "similar images," where you can click on a link below an image search result to find pictures along the same lines. Late last year Google introduced Search Wiki, which lets users re-rank and comment on search results. The company's also experimenting with alternative views for search results - for instance, putting them on a timeline or a map. Said a spokesperson: "We're constantly innovating new ways for users to experience search and search results."
The only question is whether users are ready to change the way they navigate for information online.
"It kind of requires us to decide that the new way not only has advantages but can be grasped quickly enough that the disadvantage inherent in the learning curve doesn't make it too costly to switch," says Susan Aldrich, senior VP at the Patricia Seybold Group, a technology consulting and research firm. "So if I'm going to be really inefficient for two weeks, then, hmm, it's gotta be really wonderful."
The executives at Cooliris think that so long as the amount of visual content online continues to expand (about 850 million new photos are added on Facebook every month), people will need quicker ways to scan the images.
Still, it could take some time to convince enough people to make a switch.
"Our studies say it takes two months to get someone to use this on a regular basis," says Adams, who says it's hard to re-condition people who have spent years and years thinking text is the best way to search.
"But once you get them over and they're able to do this kind of search, we have these zealots. Once we have them, we don't lose them."