Tuesday, October 06, 2009

Twitter as marketing tool


I haven't blogging for months(feel like ages), but this guy/girl from Twitter manage to drag my browser to blogger posting form just to share his idea/tactic on fully utilize Twitter as his/her marketing tool.


Well, what the so called faclets does is twitting about a fact in daily basis, link the fact with related books in Amazon website, search some of the keywords in Twitter to find related entry or user, and finally he/she just follows all the matching user results. And as the result, all the user that he/she follows will or most likely will follow back and probably some of them would buy the suggested book that faclets posted on the link. Pretty neat and slick. Perhaps this is one of the "clear" example on how to use Twitter to market your product.

Read the rest of this entry »

Thursday, May 21, 2009

How to restore Windows Vista Sidebar

Recently I created a gadget for Windows Vista Sidebar. It works as it suppose to but yesterday the sidebar refuse to start during start up or directly execute the application. Luckily this not the first encounter, apparently it's becoming popular issue among other unlucky Vista's user. I wonder if the problem will be passed on to Windows 7, 8, 9, 10...or forever. Some people wouldn't care if it works or not, I know because I would. but the thing is, I need to show the gadget it to my client. Anyway here is the solution...


Looking at the solution from Microsoft (KB963010), it is easy enough to solve this. They even provide the fix tool. But if you want to fix it manually, pop up the command prompt and run each of this command:

Regsvr32 atl.dll
Regsvr32 "%ProgramFiles%\Windows Sidebar\sbdrop.dll
Regsvr32 "%ProgramFiles%\Windows Sidebar\wlsrvc.dll
exit


It should fix the issue in no time.

Read the rest of this entry »

Friday, April 10, 2009

Stored Procedure Manic

Since I joined a new company as web application developer, I was amazed on the amount of stored procedure usage in multiple MSSQL databases to support a single system. There is one database which had the largest number of overall stored procedure created. Over 2000 ++ scripts with total size of 11 MB. The best of all there is no single manual or documentation available to map the stored procedure to the application itself. And no programmer to refer to. Damn. This is going to be a mental strain to any system noob. I'm almost reaching the limit for just in 5 days.

When the management set a dateline to complete a task, it is understandable that the result must be achieved no matter what. To be surprised, one day, during the assignment period, the MD directly ask my data enhancer senior colleague what is the progress and what is the result should be achieved that day. He took a long pause not knowing what, when & how to answer the question. I tried to help by explaining the current situation. The MD get upset and ask us the detail action plan and present to him in 30 minutes.

The objective is clear but when the time is too short I had to use every resources that I had, which is time. I spent 72 hours straight to just understand the flow. But to reprogram the whole module it might take 1 or 2 more months. Which is not an option. The logical way to solve it is to contact the previous programmer and ask which script could solve the issue. But for some reason that is not an option too. So I'm stuck and back too nothing. I have no choice but to dig the 2000++ stored procedure script to find the actual script that could solve everything. Luckily I found it after spending another 24 hours digging the script. Sigh. This could be one of the Worse Than Failure (WTF) story in my IT profession life.

I know I've been paid to do the job but 24 hours a day for straight two weeks to make sure the job is done? Come on I'm not 25 anymore. At this point I'm not sure this is the right job for me. I wonder how long I would last in that company.

Read the rest of this entry »

Friday, February 20, 2009

Connecting Ubuntu 8.10 with Atheros Wireless Driver

This setting was a major nuisance to me. I search all over the net for a working solutions. From Madwifi to Ndiswrapper but still, nothing works on my Presario C700 unit. I even fully updated Intrepid release. Thanks for that, the system hit by kernel panic and I need to reinstall the whole OS again. But the working solution is just under my nose. Read on...

Well, not really my nose, it's documented in the Ubuntu help page, under the WifiDocsDriverAtheros topic.

My unit preference is Compaq Presario C700 with Atheros AR242x chip and Ubuntu 8.10 (fresh install). I connect to internet through ethernet cable (wireless is disable duh). If you have similar setup and I assume you know how to set your repository, this might work. This is how I done it:

  1. Update only the essential part. Open the terminal and run this command.
    sudo apt-get install build-essential
  2. Deactivate the installed Atheros Driver. Since we're going to get the new one, disable the default driver which is auto-install during installation.
    System > Administration > Hardware Drivers and click the "deactivate" button.
  3. Run this command
    sudo reboot
  4. You now need to get the backport module. After the reboot, run this command
    sudo apt-get install linux-backports-modules-intrepid-generic
  5. Run this command
    sudo reboot
  6. For some other unit the wireless might be working now. But mine is not working yet. This may be the result of a conflict with either ath_hal or ath_pci, or ath5k might be blaclisted somewhere. So let isolate the ath_hal & ath_pci first. Run this command on the terminal:
    sudo gedit /etc/modprobe.d/blacklist
    and add the following lines to the bottom of the file:
    blacklist ath_hal
    blacklist ath_pci
    save the blacklist file
  7. Run this command
    sudo reboot
  8. By now my unit is able to detect wireless connection and manage to connect using WPA2 Personal pass key. But if your unit still doesn't, the last possible cause is the ath5k being blacklist somewhere, posibbly in modprobe.d. So run this command in terminal:
    grep -r "ath5k" /etc/modprobe.d/
    You just need to comment lines that have "blacklist ath5k" and then run this command:
    sudo reboot
Hopefully by now your unit is able to detect and connect to any wireless connection. Good luck and remember patient is a virtue.

Read the rest of this entry »

Thursday, February 19, 2009

From Windows 7 Beta to Ubuntu 8.10 Intrepid Ibex



The story begin when my notebook (Compaq Presario C700) had an overheating problem. Originally I installed a WindowsXP pro in this unit. Everything when well for 5 months. But then whenever I run a movie or flash application the system automatically shutdown. I try to search the problem source for months but still the problem remain. So what should I do? Read on...

It seems that the notebook can't hold too much concurrent process in one time. Even though formating with a fresh new OS is the last option in my recovery list but I had no choice. Then, Windows released the Windows 7 Beta to the public. I've read all the review (almost) and saw some cool and awsome stuff in their demo video. Even though I knew that it will last until August 2009 and the minimum RAM is 1GB, still I decided to give it a try.



The first distinct different change is the taskbar and much improved on UAC and desktop windows experience which is way better than Vista or XP. The rest was just almost the same like Vista. I have nothing against this new Windows 7 but it doesn't improved my experience with the problematic Compaq C700 notebook. So the quest continue.

The next possible move is to get a less stressful processor & RAM eater operating system. My best bet is the Ubuntu 8.10 Intrepid Ibex with the Linux kernel (2.6.27-11 as in my grub boot menu.lst). I used to play around with Gutsy Gibbon (v7.10) in VMWare. I just love the way they named their release which is using an adjective and an animal. If you notice, this code names are in alphabetical order since Breezy Badger.

I personally think that you can customized this OS into anything that you want without burning holes in your budget. It does provide an alternative program for each Windows Office tools and it's almost FREE. But you must not be fooled. FREE in Linux realm comes with some "price". For a noobs, it is just like entering a twilight zone. Each release or even update comes with a risk of unworking driver or worst "kernel panic". I guess the best way is to separate the system partition with your data partition and keep the best setting for your unit. Every problem has possible solutions in various forum boards. I guess the Open-Source community just love to share or tell their own story. Sometimes I find myself reading too much suggestion for a single problem. Imagine if normal user had to face such nuance problems.

But for the sake of Compaq Presario C700 that I have here, now I can almost eliminate the overheating problem. At least I can watch the entire movie in full screen mode in peace with no auto shutdown.


P/S: I wonder what is the best linux application with functionality at par with Photoshop.

Read the rest of this entry »

Friday, February 06, 2009

Linux System Admin Tips



I'm not an avid Linux user but there is no harm learning some of tricks that only the experienced Linux admin would know. Check out this tips from Mike Chirico. It has 200 over of Linux tips and tricks. From setting and keeping the correct time on your computer, permanently deleting documents with shred, making files "immutable" so that root cannot change or delete, setting up more than one IP address on a single NIC, monitering users and processes, setting log rotate to monthly with 12 months of backups in compressed format, creating passwords for Apache using the htpasswd command, common Perl commands, using cfengine, adding users to groups, finding out which commands are aliased, query program text segment size and data segment size, trusted X11 forwarding, getting information on the hard drive including the current temperature, using Gnuplot, POVRAY and making animated GIFs, monitoring selective traffic with tcpdump and netstat, multiple examples using the find command, getting the most from Bash, plus a lot more.


Another article that I manage to digest from the same author is "Breaking Firewalls with OpenSSH and PuTTY". A very interesting reading material. The article shows you how remote Linux and Windows users can gain access to firewalled samba, mail, and http servers without monkeying the firewall. However the author said that those steps only applicable if you have a valid account on all targeted servers. In other words, to get a valid account is another art of hacking.

Read the rest of this entry »

Thursday, January 15, 2009

Level of Education Required to Read My Blog

One of the best practice in SEO is to deliver your content as clear and precise enough based on your target audience. To do that you will need to hire a suitable copy writer and start building the content using your guideline. Unfortunately not everyone can afford to hire one. But now there is an online tool than can help you rate your content and match it with the level of education required to understand your content.


I tested the tools several times and here are what the range of result that I get.





After done playing with it, I conclude that this is merely a tool to get the traffic to the site. Why? Because if the webpage is in other language beside English, it simply rate it as GENIUS. Well the tool itself is another practice in SEO.

Read the rest of this entry »

Drifted


I swear that I read this from someone's blog....oh yeah it's from my previous colleague, Sue. For the past 3 weeks, I feel like "drifted" into an open water. No sense of direction, lost, tired and desperately need to be saved. Like Sue, I also not sure how to deal with this situation. During the new year eve I said, "2009 is again another challenging year, even tougher than before". But I never expect it to be happened so soon.

Enough wining, let's start to work

Read the rest of this entry »

Thursday, January 01, 2009

2009 - A Challenging Year Ahead


I would like to wish you all a Happy New Year of 2009. Some said that this is going to be a tough and challenging year. But with a strong faith, I believe nothing is impossible.

Read the rest of this entry »

Friday, December 05, 2008

Don't bother

I've been ask if can built an online survey for this particular organization that I don't want to reveal, in just 5 days. After reviewing the project scope, I said yes, it can be done. Since the time is insanely short and their budget is also low, I decided to customize an existing full fledge online survey available.


It is called Lime Survey. Looking at the online demo survey on their website, I thought this is more than what the project requires. I manage to built the entire survey within few hours and send the prototype to the project manager for their evaluation.

The very next morning, to my surprise, I was told that the deal is off. Sigh! Luckily I didn't built from scratch. What we learn that day is that the next time we hear such low budget with short time of deliverable we will politely advice them, "please don't bother us, go look for a freelancer". So many mouth to feed with so little piece of pie, it's simply not worth it. 

So, if you want this similar kind of online survey in the future, you now know what & who is the most suitable to look for.

Read the rest of this entry »

Wednesday, November 05, 2008

So many things yet so little time

 There are so many thing to write here but so little time to spend. Most of my time will be spend on development and research studies. But what can I do? For instance I want to talk about:

  • How similar the phpCake & Codeigniter is
  • The linux beginner delema, with GUI or pure terminal console
  • How to crack WPA & WEP with backtrack3
  • Flex framework for beginner
  • How to develop application with Adobe AIR or what Adobe Air? is all about
  • WebTV development
and so on... Until I can find ample time, nothing much can I do for now.

Read the rest of this entry »

Wednesday, October 22, 2008

My Streamyx is Down.....again

The nightmare of TM's Streamyx downtime is back. My Streamyx Combo is down since  18 October 2008 (Saturday I guess). This is not my first time. Read more about my first Streamyx downtime.


The only time that we're at home is between 8PM or 9PM which is out of TM's Technical working hour (8AM-5PM). Yup, if you're planning to get TM's Technical service, you must take a leave. Otherwise (if you're lucky enough) try to arrange it on Saturday. I did take a leave once during my first Streamyx downtime, but the technician didn't show up on the promised day. I was mad as ever. Please TM, I'm begging you, please improve....pleaaaaaaseeeeeeeeeeeeeeeee.

Update:
My complain were immediately attended the following day. Apparently the technician told me that he change the connection port so that the connection will properly reset. The connection will reset itself when there is a power problem from TNB. In my case, after the reset state the connection were just stucked or hang.

The call centre then called me to check if everything were OK on Saturday and the technician called back on Tuesday to confirm if the problem were fix. I'm glad that the service providedby TM Support lately is much much better than before. By the way thanks Mr Kamal (TM Technician) for your service.

Read the rest of this entry »

Wednesday, September 17, 2008

jQuery for UI Engineers


If you don't know what jQuery is:

jQuery is a lightweight JavaScript library that emphasizes interaction between JavaScript and HTML - Wikipedia


For me, it is another JavaScript library that you don't want to miss. It is a single JavaScript file, containing all the common DOM, Event, Effects, and Ajax functions. Just add this the <head></head> tag:




Not only that, you can add in your own methods and functionality in a mechanism called plugin and put it just below the jQuery.js like this:





The community behind it is quite a number. This is evidently seen in the plugin submitted by the user in the plugin section. It cover the most AJAX functionality that you can think off. With all these, I'm certain that it can help your UI design alot. Maybe I shall implement it in my future Blogger Template design.

Read the rest of this entry »

Friday, September 12, 2008

What is dedication?

Got this from my mailbox today....


If opportunity doesn't knock at your door, you go knocking at it!!!

Read the rest of this entry »

Wednesday, September 03, 2008

Google Chrome - A new browser


Google launch their own internet browser called Chrome yesterday to join the already crowded browser market. At first I thought, don't we have too much browser already? What's the catch? Isn't it obvious. To dominate the internet browser world or at least to lessen the Microsoft's Internet Explorer domination in browser market share. But what about Firefox? Since the Chrome project already started, I won't be surprise if Google acquire Firefox later on. So what are the juice inside the Chrome browser?

Normally I won't read the technical spec sheet too much, but the Google Chrome team has come out with a different approach. Instead of pages of boring technical writing, they release a comic sheet to tell in depth what is Chrome browser is all about.

Read the rest of this entry »