Recently google toolbar incorporated bookmarks feature, one can use it without google toolbar too using google.com/bookmarks
Usuability looks really neat too me, far more better than yahoo, Indeed delicious power users can also consider switching because it comes without great tools like searching, etc apart from neat google toolbar integration.
For downloading latest google toolbar go here
Wednesday, March 29, 2006
Monday, February 27, 2006
Agile Web development with Rails : Rocks
It is being more than 3 months I am using RoR and till now I was solving all the problems using public forums/google/RoR irc channel on freenode but since(2 weeks) I got this book "Agile web development with rails" and now around 70% of problems are solved by simple search in this book, Dave and David has done excellent job, real must for anyone who plans to adopt RoR(RoR culture :-) ).
Tuesday, January 31, 2006
how to use javascript in script src attribute
Recently I faced a strange problem in javascript, I wanted to pass window.location.href in javascript src tag, but In javascript following holds true
Following is the quick hack which can be used for it
<script type='text/javascript'>
var pid = encodeURIComponent(window.location.href);
var jis='http://somehost&u='+pid;
document.writeln("<script type='text\/javascript' src="+jis+"><\/script>");
</script>
Following is the quick hack which can be used for it
<script type='text/javascript'>
var pid = encodeURIComponent(window.location.href);
var jis='http://somehost&u='+pid;
document.writeln("<script type='text\/javascript' src="+jis+"><\/script>");
</script>
Sunday, January 15, 2006
PHP is going to catch soon on rails
Zend which is company behind php is in process of developing framework named "Zend Framework" which is surely inspired from rails, I just finished listening to there webcast, and though it looks like rails but surely it contains alot more than rails obviously because zend is collaborating with lot of companies and this time they will come like big bang as they will have complete ecosystem, like proper doc,IDE(yes), proper samples,etc,etc though one can argue that most of these things rails already have, But given a choice I would surely go for php framework simply because php is not only fast but very easily portable, I can configure mod_php in 10 minutes but I couldn't configure rails with apache2 using fcgi even in 2 full days :-).
Tags: php zend zendframework rails rubyonrails HemantOnRails
Tags: php zend zendframework rails rubyonrails HemantOnRails
Thursday, January 12, 2006
RollingOnRails: Possible to use RJS to send dynamic JavaScript to client?
I am try'g to figure out some easy way in rails for flushg user specific(generated diff for each client, actually jst some variable value changes)Javascript to browser
Following is what I have tried
1) Client requests javascript by
script src="http://perfecthost/model/getjs/213j5sxfsaj23523"
On server side I need to change 3 variable values bfore I flush JS to client, now since rhtml dnt understand JS content type, I am left with newly introduced RJS
2) Since RJS templates is not yet in Rails 1.0 i have installed this plugin from Fausr site simply using following
script\plugin install http://www.codyfauser.com/svn/projects/plu
gins/javascript_generator_templates/
3) Now I copied all the JS code in getjs.rjs,
4)Now I get error say'g template not found.
Seems like I have tell controller tht I am using RJS template?and few other things?
Any1 can point to the sample? Sample given here really don't help !
Just to make things lil more tougher plugins page has gone under maintenance, I hope it will come-up by morning...
Tags: RollyingOnRails Rails Ruby HemantOnRails
Following is what I have tried
1) Client requests javascript by
script src="http://perfecthost/model/getjs/213j5sxfsaj23523"
On server side I need to change 3 variable values bfore I flush JS to client, now since rhtml dnt understand JS content type, I am left with newly introduced RJS
2) Since RJS templates is not yet in Rails 1.0 i have installed this plugin from Fausr site simply using following
script\plugin install http://www.codyfauser.com/svn/projects/plu
gins/javascript_generator_templates/
3) Now I copied all the JS code in getjs.rjs,
4)Now I get error say'g template not found.
Seems like I have tell controller tht I am using RJS template?and few other things?
Any1 can point to the sample? Sample given here really don't help !
Just to make things lil more tougher plugins page has gone under maintenance, I hope it will come-up by morning...
Tags: RollyingOnRails Rails Ruby HemantOnRails
Wednesday, January 11, 2006
RollingOnRails: How to use link_to when call ctx is out of client ctx
here is the problem scenario
Client do a signup --> Controller do validations, if successful, say "thanks" to client, so I take it as client ctx is closed, now I need to send email to client asking for email verification, so jst after sending "thanks" to client, I call another models (but uses same DB table as caller)API Notifier::deliver_signup_thanks
Now this api is mapped to a RHTML file, which contains following link
http://host/emailverify/somebiguniqueidcomeshere
Now for generating above link, I want to use link_to thus avoid hardcoding hostname in rhtml, but link_to fails here say'g url_for not found.
Currently only way I see to solve this issue is to use environment variable wherever we need to specify hostname, but I just wanna find what is the best approach for this?
Any1?
Tags: rails ruby RollingOnRails HemantOnRails
Client do a signup --> Controller do validations, if successful, say "thanks" to client, so I take it as client ctx is closed, now I need to send email to client asking for email verification, so jst after sending "thanks" to client, I call another models (but uses same DB table as caller)API Notifier::deliver_signup_thanks
Now this api is mapped to a RHTML file, which contains following link
http://host/emailverify/somebiguniqueidcomeshere
Now for generating above link, I want to use link_to thus avoid hardcoding hostname in rhtml, but link_to fails here say'g url_for not found.
Currently only way I see to solve this issue is to use environment variable wherever we need to specify hostname, but I just wanna find what is the best approach for this?
Any1?
Tags: rails ruby RollingOnRails HemantOnRails
Wednesday, December 07, 2005
Why email upload is slower than other http file uploads?
I just now tried, tried and tried but no lucks sending a 2meg pdf file via my gmail a/c to one of my friend gmail a/c, and in last I need'd to use my favorite file upload site you send it and they could upload the same file in less than 2 minutes of time.
I think it is not only gmail but other mails also I tried sometimes back and they fail to upload files if file contents are even little bigger.
I think it is not only gmail but other mails also I tried sometimes back and they fail to upload files if file contents are even little bigger.
Thursday, December 01, 2005
Today is last nite of Nguyen
I have been following Nguyen's case from around 3+ months, He is Australian citizen and was caught in 2002 on Changi airport, Singapore with around 400gms of heroin(~26000 normal doses) and will be executed tomorrow morning(hang till death).
Till a week back I was thinking because of extra-ordinary efforts from Australian media(mainly smh and age ) and even oz'y govt. lobbying he will not be executed and will get clemency and life in prison, but Singapore is firm on his decision of death penalty even though Australians was lobbying real hard for him, indeed they threaten Singapore by putting trade sanctions against him and they even knocked the doors of U.N and international media but all in vain! Now from last 2-3 days Australians lobbied for his mother to hug him before his execution, even John Howard made a personal request for this to Singapore PM but no success, Though I am glad they are allowing Nguyen to hold hands of his mom and brother's, here and here is the news story about it.
No doubt Singapore is strict country, but in this case to me it looks like they was try'g to show also that w/e they have done till now was correct...execution looks like too hard punishment for nguyen who don't have any criminal record as well as his first crime that too didn't hurted anyone.
Also I would like to see one more political leader now in Amnesty's candle Ad
Tags: Nguyen Tuong Van Nguyen
What I am upto?
It is really being long I felt like writing something ... looks like I have lost my spirit, I seems tobe in low energy these days! Life is moving bit slow ... looks like everything is still around me and nothing is moving; I am feeling like a bird in cage and really try'g hard to find the way to get out of this cage, not sure this is a real cage or just a net over my mind.
Though one good thing happend yesterday that I got my SCEA p3 certification result emailed to me yesterday, and I just got pass'd. But surprisingly, I don't feel like party for it ... not at all, WTF !
Though one good thing happend yesterday that I got my SCEA p3 certification result emailed to me yesterday, and I just got pass'd. But surprisingly, I don't feel like party for it ... not at all, WTF !
Friday, November 25, 2005
Google analytics indirectly apologizes from users?
Google indirectly apologizes for the temporary removing google analytics, following is the snippet from the mail I got from them just now.
-----------------------------------------
Hello Google Analytics User,This is a quick update to address some issues you may be seeingin your Google Analytics account and what we're doing to respond.First, due to extremely high demand, we've temporarily limitedthe number of new signups as we increase capacity. This allowsus to focus on our primary objective--to provide a great userexperience for our existing users.Next, here is current information on the most common questionswe're receiving:
1. The 'Check Status' button is being reworked to check forproperly installed tracking code. This should be fixed by theend of November.
2. The '+Add Profile' link has been temporarily removed untilwe increase capacity. We'll alert all current users when thefeature is restored.
3. While we increase capacity, you may see longer than normaldelays in data showing up in your reports. All data continuesto be collected and no data has been lost.For additional help with your Google Analytics account, weencourage you to browse or search our online Help Center athttp://www.google.com/support/analytics?hl=en.Thanks for your patience as we improve Google Analytics and addresources to ensure a high-quality service.
-----------------------------------------
Hello Google Analytics User,This is a quick update to address some issues you may be seeingin your Google Analytics account and what we're doing to respond.First, due to extremely high demand, we've temporarily limitedthe number of new signups as we increase capacity. This allowsus to focus on our primary objective--to provide a great userexperience for our existing users.Next, here is current information on the most common questionswe're receiving:
1. The 'Check Status' button is being reworked to check forproperly installed tracking code. This should be fixed by theend of November.
2. The '+Add Profile' link has been temporarily removed untilwe increase capacity. We'll alert all current users when thefeature is restored.
3. While we increase capacity, you may see longer than normaldelays in data showing up in your reports. All data continuesto be collected and no data has been lost.For additional help with your Google Analytics account, weencourage you to browse or search our online Help Center athttp://www.google.com/support/analytics?hl=en.Thanks for your patience as we improve Google Analytics and addresources to ensure a high-quality service.
Wednesday, November 23, 2005
Me and My Fathers relationship
It is pretty strange relationship, We usually talk very less even when I am at home, now over the phone probably in 1-2 months and that too don't last 3-4 minutes, and if lasted more than 5 minutes than must be problem in line and we couldn't hear each other and so look so long. In my parents I am more close to my mom than my father, but sometimes it is really strange to know by someone else or by mom that though my father don't say to me but how much he do care about me, well not only from him side it is true at my side also, but I always hate to find that I never able to confess this thing in front of him ... never !
Friday, November 18, 2005
Days need to be longer than 24 hours?
I never liked fact that it is only 24 hours in a day, Indeed I do change this for myself over the weekends or when I am on holidays(2 or more days), usually I make my day of 28 hours by loaning every day 4 hours from next day!
Indeed I just did a small research on days length on other planets and some planet have days as long as 100 days though some have as short as 10 hours, but I think if someday humans start migrating to other planets, mars should be first choice bcz it have ~24.6 hours in a day.
Here is a nice link where someone has specified some good reasons behind having 28 hours in a day.
Indeed I just did a small research on days length on other planets and some planet have days as long as 100 days though some have as short as 10 hours, but I think if someday humans start migrating to other planets, mars should be first choice bcz it have ~24.6 hours in a day.
Here is a nice link where someone has specified some good reasons behind having 28 hours in a day.
Wednesday, November 09, 2005
Natwar singh & Jaya Bacchan, two different sides of Indian politics
I am not a big political buff, but being Indian I do like to read and stay aware with current political happenings in India
Firstly Mr. Natwar Singh literally pissed me off by sticking to his seat like it was his life line, despite of all news papers flashing his name in UN's Oil for food program.Okay for moment I agree with congress and Natwar Singh that Paul Volcker is a CIA spook(Or maybe pakistani agent), I also agree even UN hates him bcz of personal reasons*** But common, what goes in stepping down from the seat for sometime while the things get cool and committee gives its report? That too at age of 70+ someone’s behavior at this high position literally sounds %@#%, And on another contest whole govt has also done a excellent job, they won’t completely throw out Natwar Singh, but will make a committee, while they never made any committee for as serious thing as bird flu till guys in WHO literally pushed them to take atleast some measures.
While on otherside is there great lady Misses Jaya Bacchan gave this excellent speech in UN against Pakistan, and words was so loud and clear that no one could say anything against her, I really wonder, why not people like her comes ahead and take more responsibility and literally throw out people like Natwar Singh out from govt.
Tags: Jaya Bacchan Natwar Singh India
Firstly Mr. Natwar Singh literally pissed me off by sticking to his seat like it was his life line, despite of all news papers flashing his name in UN's Oil for food program.Okay for moment I agree with congress and Natwar Singh that Paul Volcker is a CIA spook(Or maybe pakistani agent), I also agree even UN hates him bcz of personal reasons*** But common, what goes in stepping down from the seat for sometime while the things get cool and committee gives its report? That too at age of 70+ someone’s behavior at this high position literally sounds %@#%, And on another contest whole govt has also done a excellent job, they won’t completely throw out Natwar Singh, but will make a committee, while they never made any committee for as serious thing as bird flu till guys in WHO literally pushed them to take atleast some measures.
While on otherside is there great lady Misses Jaya Bacchan gave this excellent speech in UN against Pakistan, and words was so loud and clear that no one could say anything against her, I really wonder, why not people like her comes ahead and take more responsibility and literally throw out people like Natwar Singh out from govt.
Tags: Jaya Bacchan Natwar Singh India
Madonna: Confessions on Dance Floor
I heard this latest album(releasing next week) of Madonna today morning while getting ready for work on VH1.
Can't stop myself from appreciating her!
Excellent performance, a big no to Lindsay Lohan,Alicia for few weeks, and Pink Floyd maybe for a day :-).
Tags: Venture reviews
Can't stop myself from appreciating her!
Excellent performance, a big no to Lindsay Lohan,Alicia for few weeks, and Pink Floyd maybe for a day :-).
Tags: Venture reviews
Monday, November 07, 2005
Would you like to send email yourself?
Kinda weired, but not so weired If I say that these emails will be delivered to me on 11/2006 and 11/2010, and It will be really interesting to get some past memories back in future, that too in my own written email.
If you wanna try the same, here is the link of Email time capsule by Forbes
If you wanna try the same, here is the link of Email time capsule by Forbes
Subscribe to:
Posts (Atom)