I recently ordered Samsung 46 inch LCD TV, which of model number is LN46B650. Actually it has not arrived yet. So I can’t really give a review yet. However, when I receive the TV (which is supposed to be delivered this Sunday), I will definitely update this post as I play with it.
Here’s the photo of the TV set (links to amazon product page):


Researching Viewing Distance
My place is not big and distance from tv set to my couch is about just less than 6 feet, which is a little over the ideal view distance for 46″ LCD. However, I assumed that eventually I would move to a bigger place in next 1 or 2 years and decided to buy 46″ sized LCD TV. (I referred to cnet’s “Ultimate HDTV buying guide” article)
Checked!
Researching brands
This was the issue that took the most intensive research on my part. I’m a type of person who longs for a good quality product and believes that a good product does not come with cheap price. When it comes to brands, price usually includes the “brand” name plus the unique technologies used to make a particular product. And the technologies distinguish between good LCD TV and bad LCD TV. Therefore, at first two brand names came up: Sony and Samsung.
Sony is known for good quality of visuals and audios at consumer level as well as production level. That’s why Sony came as a first option obviously. 2nd runner was Samsung, whose LCD panels have been used for apple products such as iPhone and Cinema Display. If Apple uses Samsung, it must be good quality.
So basically I debated between two brands Sony and Samsung for a long time.
To be continued…
Posted in News, Personal.
I came crossed geolocation feature that was introduced in Firefox 3.5. That is very neat functionality that marketings will love for targeted ads. And also for web developer/engineers, it’s something that we can customize the web content based on the users’ location.
It used to require somewhat complex process to get (not technology side tho) the information.
Anyways, in this link you get to see how to access the core API for.
And then here’s the properties of position object:
- QueryInterface
- coords : xpconnect wrapped
- timestamp
- getInterfaces
- getHelperForLanguage
- contractID
- classDescription : wifi geo location position object
- classID
- implementationLanguage
- flags : 8
- SINGLETON : 1
- THREADSAFE : 2
- MAIN_THREAD_ONLY : 4
- DOM_OBJECT : 8
- PLUGIN_OBJECT : 16
- EAGER_CLASSINFO : 32
- CONTENT_NODE : 64
- RESERVED
And interestingly position.coords has some unique properties:
- QueryInterface
- latitude
- longitude
- altitude
- accuracy
- altitudeAccuracy
- heading
- speed
As you can see it has speed property. So in theory, with the available properties you can make GPS system on the web.
Posted in Frontend Tech, News.
I was working on a feed project at work and dealing with lots of XML and JSON data. If data were well indented and formatted, my tasks would have been a lot smooth. However, the reality was not like how I imagined as usual.
At first I googled about it. I kinda found one but the application required actual file, which could be okay. However, I could see myself copying and pasting xml into a file and upload, which is not quite ideal.
So I decided to make one for myself and my tasks. Let me know if it works well for you or you find a bug.
Here they are:
http://www.shinstudio.com/tools/pretty-xml
http://www.shinstudio.com/tools/pretty-json
Posted in News, Personal, Programming.
Tagged with highlighter, pretty json, pretty xml, printer.
Honestly I’ve been too bush with my full time work. You know when you have a full time job, you become really busy for anything else unless you slack.
At work, I’m doing some platform migration work for the news section of Yahoo TV these days. That’s all I can say. This work does not enhance the page features at all. It’s “migration” work. That’s all. It gives me some challenges though, which keeps me interested at least.
Posted in Personal.
Setting up nginx http server was not so bad I thought. Setting up Codeigniter on my server was easy (Just follow the instruction in their documentation).
However, codeigniter redirect was not working except the one that is set up in $route['default_controller'] = “blahblah”;…
If you encounter the same problem as I struggled from, find the config.php from /application/config/ directory and search for “$config['uri_protocol'] = “blahblah”;
When you look at its documentation carefully, it says :
If your links do not seem to work, try one of the other delicious flavors:
So I changed it to “REQUEST_URI” and my Codeigniter’s rewrite rule started working!
If you wonder what my conf file looks like, here it is:
server {
listen 80;
server_name domain.com;
location ~ /\. {
deny all;
}
rewrite ^/(.*) http://www.domain.com/$1 permanent;
}
server {
listen 80;
server_name www.domain.com;
access_log /path/to/your/app/log/access.log;
error_log /path/to/your/app/log/error.log;
location ~ /\. {
deny all;
}
location / {
index index.php;
root /path/to/your/app/public;
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php/$1 last;
}
}
location ~ /index.php/ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include /usr/local/nginx/conf/fastcgi_params;
fastcgi_param SCRIPT_FILENAME /path/to/your/app/public/$fastcgi_script_name;
}
}
Posted in Backend Tech, Tips.
Tagged with codeigniter, nginx, rewriterule.
I read most of emails that were piled up during my vacation and made myself familiarized with all the same protocols and procedures again in the office.
As I just finished my vacation, it’s time to do things that I wanted to do before vacation.
Here’s some photos that I took during my trip to South Korea and Japan:
Japan Trip
South Korea Trip
Posted in Personal.
Finally time has come. I will be flying back to US in just 2 days.
The time I spent in Japan and South Korea seems to be just several days now. I’ve uploaded photos to flick already and here are the links to those sets
Japan trip
South Korea trip
Posted in Personal.
I’m going to take vacation for 3 weeks and planning to visit Japan and South Korea. It’s going to be a good time off since I started working for Yahoo back in 2006.
So in the next couple weeks, I’ll do some photo blogging at flickr.com.
Posted in Personal.
Before I started moving this site to a new host (slicehost.com), my plan was very simple in my head. My plan that I followed was:
- Export Data using word press admin’s tool
- Create database called ‘wpblog’ in a new host
- Create database user and password
- Download wp and copied them to a new host (it will be a brand new wp)
- Update wp-config.php to reflect the newly created database name, user, and password
- Updated *hosts* file to map my domain to the new host’s IP address
- Fired up a browser, went to the domain (where wp is newly installed)
- Followed the instruction to install wp
- Go to admin using “admin” account and the password wordpress auto generated
- Change wp-content directory’s permission to 777 by using FTP client or SSH and chmod it.
- Use *Import* from Tools in the admin page
- Choose auto import photos or images.. something like that
- Copy theme in the old host to a new host
- Copy all plugins in the old host to a new host
- Download *search and replace* from this link and install it
- Select the theme that’s just copied over from the old host
- Activate plugins that are just copied over from the old host
- Look for broken images or any attachments in pages.
- (If found, write down the host name(usually IP address) that is in img src or somewhere like that. Go to admin page, activate *search and replace* plugin, go to *search and replace* page found in the settings, select *content*, type the host name found in the previous step, type the current host name, and then hit *Go*
- Switch name server after verifying everything is intact.
I think the steps that I mentioned above should let you move your wordpress to a new host very smoothly. However, you might wonder what you really have to do in each step specifically the followings:
Continued…
Posted in Tips.
Tagged with move, new host, wordpress.
I decided and moved my site out of mediatemple to slicehost. I might not be able to receive emails yet as I have to set it up all manually. I hope I get it all set up in few days. Currently there’s an issue with rewrite rule on nginx HTTP server, which I am not quite familiar with it yet, but hopefully I figure it out soon.
UPDATE: fixed the rewrite rule on nginx server.
Posted in News.