<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8847031390251920888</id><updated>2012-01-30T11:19:33.120-08:00</updated><category term='test'/><category term='yahoo'/><category term='prefactoring'/><category term='java'/><category term='software'/><category term='ajax'/><category term='user interface'/><category term='book review'/><category term='intellij'/><category term='greasemonkey'/><category term='opinon'/><category term='vista'/><category term='kde'/><category term='google'/><category term='subversion'/><title type='text'>My Coding Blog</title><subtitle type='html'>request connection ... connected!!</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mycodingblog.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8847031390251920888/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://mycodingblog.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>thai ice tea</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_ecD5ZSknijs/SQ_pNMco49I/AAAAAAAAAHM/wkuApOXiqnQ/S220/thaiicetea.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8847031390251920888.post-7360349916621265796</id><published>2008-11-03T18:13:00.001-08:00</published><updated>2008-11-03T23:11:19.650-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='test'/><title type='text'>Test Google Crawl Entry</title><content type='html'>I am not sure whether google is still crawling my site. Writing this entry just to test to verify it.&lt;br /&gt;&lt;a href="http://thaiicetea.blogspot.com"&gt;thaiicetea&lt;/a&gt;&lt;br /&gt;&lt;a href="http://the-androidspot.blogspot.com"&gt;android&lt;/a&gt;&lt;br /&gt;&lt;a href="http://the-iphonespot.blogspot.com"&gt;iphone&lt;/a&gt;&lt;br /&gt;&lt;a href="http://the-streetfighter.blogspot.com"&gt;sf&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8847031390251920888-7360349916621265796?l=mycodingblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mycodingblog.blogspot.com/feeds/7360349916621265796/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8847031390251920888&amp;postID=7360349916621265796' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8847031390251920888/posts/default/7360349916621265796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8847031390251920888/posts/default/7360349916621265796'/><link rel='alternate' type='text/html' href='http://mycodingblog.blogspot.com/2008/11/test-google-crawl-entry.html' title='Test Google Crawl Entry'/><author><name>thai ice tea</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_ecD5ZSknijs/SQ_pNMco49I/AAAAAAAAAHM/wkuApOXiqnQ/S220/thaiicetea.jpg'/></author><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8847031390251920888.post-6352483193907005592</id><published>2007-03-16T08:35:00.000-07:00</published><updated>2007-03-16T09:45:57.067-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ajax'/><category scheme='http://www.blogger.com/atom/ns#' term='yahoo'/><category scheme='http://www.blogger.com/atom/ns#' term='opinon'/><category scheme='http://www.blogger.com/atom/ns#' term='google'/><title type='text'>Yahoo! still the most visited sites</title><content type='html'>&lt;span style="color:#000000;"&gt;Back in November, &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;ComScore's&lt;/span&gt; &lt;a href="http://www.comscore.com/press/release.asp?id=1145"&gt;report&lt;/a&gt; showed that Yahoo! was &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_1"&gt;dethroned&lt;/span&gt; by &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;MySpace&lt;/span&gt; as the most viewed site based on page views. Many people &lt;a href="http://www.redorbit.com/news/technology/768822/did_myspace_really_beat_yahoo/index.html?source=r_technology"&gt;argued&lt;/a&gt; at the time that it is simply because Yahoo! had &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;ajax'ed&lt;/span&gt; many of its properties, including it's flagship product, Yahoo! mail. But it is still interesting to find out how close exactly other sites have catch up to Yahoo. With the emerging of Ajax applications, page view is clearly no longer the correct &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_4"&gt;metric&lt;/span&gt; to compare the popularities and usages among sites. A user actively engaged in an &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;ajax&lt;/span&gt; site would record a handful of page views versus possibly hundreds of page views for a traditional site.&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;ComScore&lt;/span&gt; recently released its &lt;a href="http://www.comscore.com/press/release.asp?press=1246"&gt;Media &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;Metrix&lt;/span&gt; report&lt;/a&gt; for February 2007. It uses “visits” instead of "page views" for the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;metrix&lt;/span&gt;. &lt;/span&gt;The “visits” metric, by their definition, is the number of times a unique person accesses content within a Web entity with breaks between access of at least 30 minutes. This is certain a better metric. For the engaged user scenario above, both will be registered as one visit. But clearly, it is not perfect. A user spending hours on one site chatting with friends is considered one &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_9"&gt;visit&lt;/span&gt; while a user occationally checks email once every hour is recorded as multiple visits.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;Nonetheless, this gives us a better picture of the landscape.  From the report, Yahoo! once again comes up on top, in both unique visitors as well as average visits per visitor. Based on unique visitor report, it seems like sites such as Microsoft and Google are up to Yahoo's neck. For example, Yahoo haa 128M unique visitors while Google has 114M. That represents only a little more than 10% advantage for Yahoo. But the "visits" report tells a different story. Yahoo has 28.6 visits per unique visitor while Google has only 17.7. That means their users visit Yahoo more than half the time they visit Google. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The combination of these reports shows an even bigger gap. &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_10"&gt;Multiplying&lt;/span&gt; unique visitors by visits per unique visitors gives you the total visits for the month. Therefore, Yahoo has 128M*28.6 or 3661M total visits versus 114M*17.7 or 2018M total visits. Yahoo has almost double of &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;Google's&lt;/span&gt; visits! &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_12"&gt;Now&lt;/span&gt;, lets look at how &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_13"&gt;MySpace&lt;/span&gt; fares with Yahoo. Fox Interactive Media, which owns MySpace, has 78M unique visitors and 16.9 visits per visitor. That gets 1318M visits. Yahoo has nearly triple their visits!&lt;br /&gt;&lt;br /&gt;So for now, Yahoo is still the King.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8847031390251920888-6352483193907005592?l=mycodingblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mycodingblog.blogspot.com/feeds/6352483193907005592/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8847031390251920888&amp;postID=6352483193907005592' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8847031390251920888/posts/default/6352483193907005592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8847031390251920888/posts/default/6352483193907005592'/><link rel='alternate' type='text/html' href='http://mycodingblog.blogspot.com/2007/03/yahoo-still-most-visited-sites.html' title='Yahoo! still the most visited sites'/><author><name>thai ice tea</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_ecD5ZSknijs/SQ_pNMco49I/AAAAAAAAAHM/wkuApOXiqnQ/S220/thaiicetea.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8847031390251920888.post-3131303450523238109</id><published>2007-03-14T23:24:00.000-07:00</published><updated>2007-03-15T11:47:19.087-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='vista'/><category scheme='http://www.blogger.com/atom/ns#' term='user interface'/><title type='text'>Microsoft Vista - Impression after one week</title><content type='html'>It has been one full week since I installed Microsoft Vista. Initially, I did not plan to use it as my permanent operating system. There are quite a number of softwares in my system reported to have problems running under Vista. My original thought was to switch over when most of these softwares are patched or updated to support Vista.&lt;br /&gt;&lt;br /&gt;But the more I use it, the more I like it over XP! Partly, I think it is because of the new Aero3D user interface. It is always nice to see something flesh after using the out-of-the-box XP UI for the last 4 years. I know there are a lot of theme softwares to customize the UI for XP, but I am not the type of person to fiddle with them. Most of them are not original and simply imitate other UIs. The others are either straining to look at or not intuitive. Companies don't spend a large amount of effort doing usability and user acceptance tests for nothing.&lt;br /&gt;&lt;br /&gt;Another reason I continue to use Vista is because most softwares seem to be working fine.  The first thing installed is Java SE because I am a Java developer and many of my softwares are Java applications. Apps such as Intellij, Eclipse, Azureus, and Tomcat all seems to be working flawlessly.  Next, I install a bunch of utility softwares I use regularly.  I realized that most of them already have version upgrades for Vista already.  They include Nero, Winrar,  iTunes and audio video codec packs.&lt;br /&gt;&lt;br /&gt;Next, I will try out the rest of my softwares, such as Photoshop, Office, Partition Manager and Perfect Disk to see if they have issues.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8847031390251920888-3131303450523238109?l=mycodingblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mycodingblog.blogspot.com/feeds/3131303450523238109/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8847031390251920888&amp;postID=3131303450523238109' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8847031390251920888/posts/default/3131303450523238109'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8847031390251920888/posts/default/3131303450523238109'/><link rel='alternate' type='text/html' href='http://mycodingblog.blogspot.com/2007/03/microsoft-vista-impression-after-one.html' title='Microsoft Vista - Impression after one week'/><author><name>thai ice tea</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_ecD5ZSknijs/SQ_pNMco49I/AAAAAAAAAHM/wkuApOXiqnQ/S220/thaiicetea.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8847031390251920888.post-18627772045742939</id><published>2007-03-09T16:07:00.000-08:00</published><updated>2007-03-09T16:51:53.702-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vista'/><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>Microsoft Vista - My first hands-on</title><content type='html'>Last night, I did a new installation of &lt;a href="http://www.microsoft.com/windows/products/windowsvista/default.mspx"&gt;Vista&lt;/a&gt; onto my computer at home.  I did not foresee it replacing my Windows XP soon because many softwares are still not compatible with Vista.  In fact, the tool that Microsoft provides to check for compatibilities reported more than 10 applications I am currently using have problems running under Vista. As more and more software companies provide updates for Vista, I will eventually switch over.  For now, I just want to get a feel for it.&lt;br /&gt;&lt;br /&gt;The installation is surprisingly simple and fast.  It no longer shows the dos mode setup screen which you see for the previous Windows versions.  I had it up and running in less than an hour.  The Aero3D user interface is very cool.  I especially like the change to the Alt-Tab menu that shows thumbnails of the windows.  As screen sizes get bigger and more people are using their LCD TV as the monitor, Microsoft is more liberal in using more of the screen spaces.  Icons and menu items are much larger than before.  They make it a lot easier for me to navigator on my 40" LCD TV.  :)&lt;br /&gt;&lt;br /&gt;Performance has also been improved.  Typically, you would expect new softwares to be more hardware demanding, thus running sluggishly on "not-so-new" hardware.  But in the case of Vista. I found many things to be faster.  For example, IE 7 is running very smoothly on Vista.  Especially while browsing client intensive applications, such as Yahoo's new Web 2.0 mail client.  I am guessing many components of Windows have been rewritten to take advantages of multi processor machines.&lt;br /&gt;&lt;br /&gt;Overall, I am very impressed with Vista.  But it took Microsoft so long to deliver it, it better be good.  I hope my softwares will be Vista-ready soon so I can switch over for good.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8847031390251920888-18627772045742939?l=mycodingblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mycodingblog.blogspot.com/feeds/18627772045742939/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8847031390251920888&amp;postID=18627772045742939' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8847031390251920888/posts/default/18627772045742939'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8847031390251920888/posts/default/18627772045742939'/><link rel='alternate' type='text/html' href='http://mycodingblog.blogspot.com/2007/03/microsoft-vista-ultimate.html' title='Microsoft Vista - My first hands-on'/><author><name>thai ice tea</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_ecD5ZSknijs/SQ_pNMco49I/AAAAAAAAAHM/wkuApOXiqnQ/S220/thaiicetea.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8847031390251920888.post-6175725075687113553</id><published>2007-03-07T23:09:00.000-08:00</published><updated>2007-03-07T23:51:58.856-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='book review'/><category scheme='http://www.blogger.com/atom/ns#' term='prefactoring'/><title type='text'>Prefactoring</title><content type='html'>I am reading this &lt;a href="http://www.amazon.com/Prefactoring-Extreme-Abstraction-Separation-Readability/dp/0596008740"&gt;book&lt;/a&gt; by Ken Pugh called 'Prefactoring', which talks about how to get the code right the first time to prevent the need for refactoring at a later time. Personally, I don't think it is the right approach. As requirement changes or with addition requirement, refactoring is almost always inevitable. Instead, we should aim to write code that are adaptable to changes. Anyway, the book touches on a lot of different topics including validation, error handling, naming strategy, etc. Granted, most of the suggestions here are really common senses, such as "don't reinvent the wheel", "don't repeat yourself", and "separate concerns." As I was reading it, the techniques feel more like reminders than new ideas.&lt;br /&gt;&lt;br /&gt;Other than mentioning the obvious, the book is very well written with a easy flow to it. The examples are relevant which help make the topics stick to your mind. I would recommend this book for those beginners who are looking to improve their coding techniques.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8847031390251920888-6175725075687113553?l=mycodingblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mycodingblog.blogspot.com/feeds/6175725075687113553/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8847031390251920888&amp;postID=6175725075687113553' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8847031390251920888/posts/default/6175725075687113553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8847031390251920888/posts/default/6175725075687113553'/><link rel='alternate' type='text/html' href='http://mycodingblog.blogspot.com/2007/03/prefactoring.html' title='Prefactoring'/><author><name>thai ice tea</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_ecD5ZSknijs/SQ_pNMco49I/AAAAAAAAAHM/wkuApOXiqnQ/S220/thaiicetea.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8847031390251920888.post-4658090474354671468</id><published>2007-03-05T17:42:00.000-08:00</published><updated>2007-03-05T21:42:12.143-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='subversion'/><category scheme='http://www.blogger.com/atom/ns#' term='kde'/><title type='text'>A bad day at work</title><content type='html'>I came to work early this morning, after a relaxing weekend, prepared to have a productive week. I needed a source control for a small project I am working on with 2 other coworkers. Recently, I noticed that most major open source projects such as Apache Software Projects and Hibernate, have switched over to Subversion. So I decided to give it a try. Documentations are well written and installation is a breeze. The only road block I ran into is the loader having trouble reading config files with the UTF-8 BOM marks. I edited one of the config files with Textpad and it automatically added the BOM mark causing the config loader to complain about "Section header expected".  &lt;br /&gt;&lt;br /&gt;Anyway, after I came back from lunch, I noticed a BSOD showing on my Windows machine. I tried rebooting the machine couple times with different start up options, but still fail. I figured at this point, it is a hardware failure which I can't fix. I contacted IT, 4 hours later (now), I am still waiting for the guy to show up at my cube.&lt;br /&gt;&lt;br /&gt;Luckily, I have a freebsd box with KDE installed, which I have never used before, sitting next to my feet. I decided to fire Konqueror up and do some blogging while waiting for the IT guy to show up. But I am really disappointed with KDE. I couldn't finish this blog because in less than an hour, Konqueror crashed 3 times on me. Then I decided to write my blog in KWrite and copy over. In a short while, KWrite crashed on me as well. I sure hope the IT guy can fix my machine early in the morning tomorrow so I can get out of this KDE nightmare.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8847031390251920888-4658090474354671468?l=mycodingblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mycodingblog.blogspot.com/feeds/4658090474354671468/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8847031390251920888&amp;postID=4658090474354671468' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8847031390251920888/posts/default/4658090474354671468'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8847031390251920888/posts/default/4658090474354671468'/><link rel='alternate' type='text/html' href='http://mycodingblog.blogspot.com/2007/03/bad-day-at-work.html' title='A bad day at work'/><author><name>thai ice tea</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_ecD5ZSknijs/SQ_pNMco49I/AAAAAAAAAHM/wkuApOXiqnQ/S220/thaiicetea.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8847031390251920888.post-3489400859650735453</id><published>2007-02-28T14:54:00.000-08:00</published><updated>2007-02-28T18:50:41.708-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='intellij'/><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>Intellij code inspection</title><content type='html'>I recently done an interview with a candidate who uses IntelliJ Idea for her java development.  Just like me, she is the only one in the team who choose to use it as the primary IDE.  The rest of my and her teams use either Eclipse or NetBean.  But as I was talking to her about the benefit of using IntelliJ, it was shocking for me to hear that she never heard of the inspection feature!!  To me, inspection is by far is the number advantage of IntelliJ over other IDEs.&lt;br /&gt;&lt;br /&gt;The inspection is a tool designed to assist in maintaining and cleaning up code.   It accomplishes this by searching for bugs or inconsistencies  and then suggesting solutions for any problem found.   Currently, it overs over 600 bugs ranging everything from detecting performance issues to locating 'dead' code.&lt;br /&gt;&lt;br /&gt;The best part is it checks automatically for you on the fly as you code.  Whenever it detects a problem, a yellow line appears in the small column on the right.  Clicking on the yellow line brings you to the line which it thinks the problem occurs:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_ecD5ZSknijs/ReYaKRv5XjI/AAAAAAAAAAc/Jj9XQm2P2LM/s1600-h/code-inspection.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 271px;" src="http://3.bp.blogspot.com/_ecD5ZSknijs/ReYaKRv5XjI/AAAAAAAAAAc/Jj9XQm2P2LM/s400/code-inspection.JPG" alt="" id="BLOGGER_PHOTO_ID_5036741997125787186" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;So if you are using IntelliJ but not using this feature, give it a try.  Or the next time you get into a heated conversation on IntelliJ vs Eclipse, bring up code inspection and see what the other guys have to say.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8847031390251920888-3489400859650735453?l=mycodingblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mycodingblog.blogspot.com/feeds/3489400859650735453/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8847031390251920888&amp;postID=3489400859650735453' title='39 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8847031390251920888/posts/default/3489400859650735453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8847031390251920888/posts/default/3489400859650735453'/><link rel='alternate' type='text/html' href='http://mycodingblog.blogspot.com/2007/02/intellij-inspections.html' title='Intellij code inspection'/><author><name>thai ice tea</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_ecD5ZSknijs/SQ_pNMco49I/AAAAAAAAAHM/wkuApOXiqnQ/S220/thaiicetea.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_ecD5ZSknijs/ReYaKRv5XjI/AAAAAAAAAAc/Jj9XQm2P2LM/s72-c/code-inspection.JPG' height='72' width='72'/><thr:total>39</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8847031390251920888.post-2798581960361785640</id><published>2007-02-28T12:01:00.000-08:00</published><updated>2007-03-01T11:40:16.836-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='greasemonkey'/><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>Dive into greasemonkey</title><content type='html'>I recently had to write a browser client tool that checks for advertisements on Yahoo! pages and displays detail information about the it. I first thought about writing a browser plugin to do the task. Then I came across &lt;a href="http://www.greasespot.net/"&gt;Greasemonkey&lt;/a&gt; for Firefox and decided to give it a try.&lt;br /&gt;&lt;br /&gt;They have done a great job is writing the tutorial documentation. I followed the instructions &lt;a href="http://diveintogreasemonkey.org/toc/"&gt;here&lt;/a&gt; and I got it up and running in a matter of minutes. But there are certain things I would like to point out about this tutorial.&lt;br /&gt;&lt;br /&gt;1. The 'Better way to delay calling a function' example in section 2.3 actually does not work at all, even though it says that it should. The problem has to do with passing the callback function, helloworld, as a string. In this example, the helloworld function has no reference to it after the page is rendered. Therefore, it will be garbage collected. The correct way should be this:&lt;pre class="programlisting"&gt;        window.helloworld = function() {&lt;br /&gt;         alert('Hello world!');&lt;br /&gt;       }&lt;br /&gt;&lt;br /&gt;       window.setTimeout(helloworld, 60);&lt;br /&gt;&lt;/pre&gt;Passing in as object makes a reference to the function and keeps the function around by the time it is being called.&lt;br /&gt;&lt;br /&gt;2. Section 2.4 on editing your user script is unclear. At first, I made trouble getting it to work and the part on associating you favorite text editor for .js files confused me. I associated js files to textpad on Windows and that did not appear to work. I then found out that I need to associate it in Firefox using the 'about:config' command.&lt;br /&gt;&lt;br /&gt;I finally have everything ready to start my little project!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8847031390251920888-2798581960361785640?l=mycodingblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mycodingblog.blogspot.com/feeds/2798581960361785640/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8847031390251920888&amp;postID=2798581960361785640' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8847031390251920888/posts/default/2798581960361785640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8847031390251920888/posts/default/2798581960361785640'/><link rel='alternate' type='text/html' href='http://mycodingblog.blogspot.com/2007/02/dive-into-greasemonkey.html' title='Dive into greasemonkey'/><author><name>thai ice tea</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_ecD5ZSknijs/SQ_pNMco49I/AAAAAAAAAHM/wkuApOXiqnQ/S220/thaiicetea.jpg'/></author><thr:total>0</thr:total></entry></feed>
