analyze debug queries output for wordpress

2011-02-09 2 min read Wordpress

Some time back, my website became too slow and I started getting timeout response for quite a lot of my pages. When I analyzed things, I found the issue was with the DB queries taking a lot of time. So, I thought of getting my hands dirty and started with installing the plugin “Debug Queries”. Just in case, you don’t know about the plugin, it lists all the queries to DB along with the time taken for the query when a Admin user visits any page.

Continue reading

fork a new process in perl

2011-01-27 1 min read Uncategorized

I was doing something today and found that I require to fork a new process in perl. Now I had never done this earlier, so I did not know how to do this.

First some background :

I was doing some program very similar to http server, where the script accepts some input through a socket and then processes the same. In doing so I was seeing that the script was taking some time in processing the input and thus was not processing the second request until the first one was completed. Simple solution, fork the process.

Continue reading

Browser Conkeror – fast, versatile, easy and configurable

2010-10-20 2 min read Linux

Conkeror is a browser that uses XULRunner and is a highly configurable and programmable browser.

Here is the description of the browser from the homepage:

Conkeror is a keyboard-oriented, highly-customizable, highly-extensible web browser based on Mozilla XULRunner, written mainly in JavaScript, and inspired by exceptional software such as Emacs and vi. Conkeror features a sophisticated keyboard system, allowing users to run commands and interact with content in powerful and novel ways. It is self-documenting, featuring a powerful interactive help system.

Continue reading

How To Quickly Check If You’re Running A Javascript Enabled Browser

2010-07-18 4 min read Uncategorized

<a href="http://www.makeuseof.com/tag/what-is-javascript-how-works">Javascript is an integral part of <a class="zem_slink" title="Web browser" rel="wikipedia" href="http://en.wikipedia.org/wiki/Web_browser">web browsing and a lot of websites use Javascript for <a class="zem_slink" title="Web application" rel="wikipedia" href="http://en.wikipedia.org/wiki/Web_application">web applications and functions. A question I get at AskTheAdmin.com often is how I can tell if I am using a Javascript enabled browser. I have two quick methods to tell if the browser you are using does or does not support Javascript.

Continue reading

New Improvements in the site and added few more features.

2010-07-11 2 min read Uncategorized

Last couple of days I have spent quite some time on the <a class="zem_slink freebase/guid/9202a8c04000641f8000000000041684" title="Website" rel="wikipedia" href="http://en.wikipedia.org/wiki/Website">website design and format and performance along with moving my Hosting Provider.

Here are couple of things that you would notice immediately:

  1. Site loading time is decreased substantially. I saw it loading in 5 seconds from my system.

  2. I have moved my hosting from ZNetIndia to <a class="zem_slink freebase/guid/9202a8c04000641f80000000003f4284" title="Go Daddy" rel="geolocation" href="http://maps.google.com/maps?ll=33.617409,-111.90477&spn=0.01,0.01&q=33.617409,-111.90477%20%28Go%20Daddy%29&t=h">GoDaddy. Though the users do not have any direct impact in experience but that has definitely improved the performance. I have spent quite some amount of money on this and would request the viewers to click on the <a class="zem_slink freebase/guid/9202a8c04000641f800000000042acea" title="Google" rel="homepage" href="http://google.com">Google Advertisements to help me cover it. You help is much appreciated. Other way you can help is by way of buying my photos from my <a title="My E Sop" href="http://shop.amit-agarwal.co.in" target="_blank">e-shop.

    Continue reading

They own your CPU (and so so in Windows and Mac, too)

2010-05-16 1 min read Firefox Linux

Click: &#8221;I laugh — LAUGH! — when a tech journalist writes something to the effect of, &#8221;for lightweight tasks such as Web browsing,&#8221; when you know, and I know, that there ain&#8217;t nothing light about using present-day Web browser on present-day Web pages filled with Javascript, Flash and enough CSS to fill a book.&#8221;

URL: <a href="http://linuxtoday.com/news_story.php3?ltsn=2009-10-22-030-35-OP-HW-SW">http://linuxtoday.com/news_story.php3?ltsn=2009-10-22-030-35-OP-HW-SW<h6 class="zemanta-related-title" style="font-size: 1em;">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://www.noupe.com/jquery/35-fresh-useful-jquery-plugins.html">35 Fresh and Useful jQuery Plugins (noupe.com) <li class="zemanta-article-ul-li"><a href="http://lifehacker.com/5376222/firefox-36-beta-scheduled-for-next-week">Firefox 3.6 Beta Scheduled for Next Week [Updates] (lifehacker.com) <li class="zemanta-article-ul-li"><a href="http://www.wisdump.com/web-experience/3-nifty-browsing-features/">3 nifty browsing features that should be on every site (wisdump.com) <div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/4094c4e7-74b7-4826-9095-0306e76f7c8e/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_e9.png" alt="Reblog this post [with Zemanta]" /><span class="zem-script more-related pretty-attribution">

Continue reading
Newer posts