Friday, May 21, 2010
Motivate team to work on legacy products...
By: Parth Barot @ 5:41 AM 0 Comments
Categories: Articles, Goodies, Guides, Optimization, Performance, Programming, Technology, Tips, Tutorials
Wednesday, July 2, 2008
Best jabber clients for Windows...

Hi friends, many of you will think that i am addicted to IMing.Yeah,may be but i like to discuss about different IMs.It is one way through which the world is connected.
Mostly we all use different jabber clients for different purposes.Some having it for personal private office network to avoid heavy bandwidth usage,some uses gmail and other jabber based services.
There are many jabber clients listed on jabber.org, but recently they have changed the way to represent it.Now they allows users to rate their favorite client which are arranged on OS bases.
I am talking about windows based IMs.And no others would be of interest because of less nice options for other OS. Say, for Linux pidgin and for MAC adium is there.
On windows, i have used pidgin,Gajim,Psi,spark and Tkabber. And as per me, first three are better.Currently i am using Gajim.
Check the list in attached image.You can see how Gajim got ahead of Spark.May be because spark is heavy java based thing which just sits in your memory eating lots of memory and create every other program you run!
But my surprise is Psi.It is on top!And yeah it is not so good as compared to Gajim.But though many people have rated it better.Yeah,everyone has his choice.Psi 0.12 RC release is there,but its not having such great improvements to rate 5 star!And i am waiting since a long time for newer and better version of Gajim,but i think its development is on shelf!But still its usable, with older GTK+.Newer GTK+ is creating problems.
Lets see where this competition goes.Its based on if any new IMs will be added or these will be improved.And what new thing will be introduced?Like video/Audio chat,Phone calling or something new we can't thing right now? :)
share your idea what new can be introduces in jabber clients which you want or you think can be of our benefit.
For more on jabber, jabber.org
By: Parth Barot @ 9:27 PM 0 Comments
Categories: Articles, chat, Communication, Goodies, Guides, Internet, Invention, Technology, Tips, Windows
Thursday, June 5, 2008
Firefox tweaking for Broadband
- Double click on ‘network.http.pipelining’ and set the value to true.
- Double click on 'network.http.pipelining.maxrequests’ and in the dialog box enter a higher value than the default value 4. 15 is an ideal value.
- Double click on ‘network.http.proxy.pipelining’ and set the value to true.
- Right click on the page and select New->Integer. Enter nglayout.initialpaint.delay and then click ok. Set the integer value of this to 0 and click ok.
Tuesday, May 13, 2008
Domain names - Everything you wanted to know :)
Now that you have seen techdudes.blogspot.com has been awarded with a domain, thanks to you guys let me share some knowledge about domain names so that it can ease your process of selecting one.There are several important things to consider when deciding on a domain name for your website. Following are a few tips to keep in mind when selecting a new domain name:
If possible, opt for a domain name that is easily recognizable and describes your business. This will be helpful when you promote your site.
Keep your domain name as short, simple and easy to remember as possible. The shorter it is, the easier it will be to remember. Although a good number of the short and simple .com domains are likely already taken, you may have the option to purchase a domain with a different extension, like .net or .us.
Your domain name can be 2-63 characters long (excluding the extension), and can contain the characters a-z, 0-9 and ‘-’ (dash). However, domain names cannot begin or end with ‘-’ (dash).
If your first choice is not available, try to utilize synonyms, rearrange the words, add dashes, or use abbreviations or acronyms to find an alternative.
You now have several options to choose from for extensions as well. Following is some information about some of the extensions you can choose from:
.com denotes the word commercial, and it is an unrestricted global domain name extension. Many businesses prefer a .com domain name because it is a highly recognized symbol for having a business presence on the Internet. However, the number of available .com domain names is shrinking as more and more businesses go online.
.net represents the word network, and is an unrestricted global domain name extension most commonly used by Internet service providers, Web-hosting companies, or other businesses that are directly involved in the infrastructure of the Internet. Additionally, some businesses choose domain names with a .net extension for their intranet web sites.
.org represents the word organization, and is an unrestricted global domain name extension that is primarily used for non-commercial sites. However, many commercial entities register the .org extensions corresponding to their .com domain names in order to protect their brands.
.biz is a restricted-use global domain name extension used for business web sites. As a relatively new type of domain, .biz offers a company the opportunity to get the domain name it really wants and enhance its presence on the Web with a domain name that means business.
.info is an unrestricted domain name extension that creates an opportunity to reach a worldwide audience with information about your business and ideas. .info is growing in popularity, but still has many great names available.
.us is a restricted-use country code that may be used by any individual or organization with residence in the United States or its territories, including foreign organizations that do business in the US.
What about .TV, .WS, .FM and .CC?
Although often marketed as such, .TV does not mean television and .WS does not mean web-site or world-site. .TV is the country code extension for Tuvalu a small island country located in the Western Pacific Ocean with a population of approximately 11,000 that gained independence from the UK in 1978. .WS is the country code extension for Samoa. Samoa, also in the Pacific, gained independence from New Zealand in 1962 and has a population of around 180,000.
.FM masquerades as the TLD (top level domain) for radio stations, but is actually the country code for Federated States of Micronesia. .CC is the Internet country code TLD for Cocos (Keeling) Islands, an Australian territory, but has been promoted for international registration as the next .com
Java optimization and performance
Many of us do this when we want to throw an error. But if you are throwing exception from another catch, then don't make new exception object. Keep throwing the same exception which you caught if possible. This will be better for performance. And also in new exception usually we change the description only to reflect the perfect error cause, but other ways are there to track it.
Avoid excessive synchronization
Yah threading can be a bit complex situation sometimes in java. And we all use synchronization to avoid dead locks. But it needs a more attention then we give it. Try to make a block of code synchronized rather then making the whole method synched. The whole method will stop all other threads, waiting to go inside it. It will generate more overhead. So keep the design like we need less sync code.
Read Full @ javaLibs
By: Parth Barot @ 11:48 AM 0 Comments
Categories: Articles, Goodies, Guides, Java, Programming, Tips, Tutorials
Friday, May 9, 2008
Spring Framework problem : SqlReturnResultSet() not returned
SqlReturnResultSet before you declare SqlParameter.Otherwise you will not be able to find return data from StoredProcedure execution.Check the code below,public MySp(JdbcTemplate jdbcTemplate){so keep in mind while using Spring DAO support.Must declare resultsets first.
super(jdbcTemplate,"sp_mysp");
declareParameter(new SqlReturnResultSet("strRs",rsMyResultSet));
declareParameter(new SqlReturnResultSet("strRs1",rsMyResultSet1));
declareParameter(new SqlParameter("myId", Types.INTEGER));
compile();
}
By: Parth Barot @ 5:02 PM 0 Comments
Categories: Articles, Freeware, Goodies, Guides, Java, open source, Programming, Tips, Tutorials
servicemix problems: NormalizedMessage getContent,copyPropertiesAndAttachments()
While creating and sending
NormalizedMessage object from any data, after doing that if you read data using NormalizedMessage.getContent() method and send the message object with exhchange to deliveryChannel, using DeliveryChannelImpl.send(MessageExchange) method, then you will get null exception in DeliveryChannelImpl class.Yes this is true.I don't know why, but it removes content from the message object.Only the content is removed and the properties are still there.
You can read properties from it in same component as many times as you want.If you are forwarding same message to next component, properties will automatically goes.But if you read content once, you must set it again :(.
Also remember that if you need to make new
MessageExchange, then you must copy all properties and attachments using TransformComponentSupport.copyPropertiesAndAttachments(outExchange,inMsg,outMsg) method.Then all your data from one message will be copied to another message.So keep checking this if you getting null Exceptions while sending message through
DeliveryChannel.By: Parth Barot @ 4:59 PM 0 Comments
Categories: Articles, Freeware, Goodies, Guides, Java, open source, Programming, Tips, Tutorials
Sunday, May 4, 2008
Design the Firefox Logo in Photoshop
very nice tutorial and shows simple steps making the hard logo! :)
after checking you will think, "ah!its very easy,may i have done this before firefox!".But then also, a cool tutorial.

The final output is attached here. but see the source for details.
Full thing @ henryhoffman.com
Saturday, May 3, 2008
want easy linux? try Ubuntu...
Are you a windows user like me who dont qwant troubles of installing linux?Reason can be any but its a trouble i know.
We need to format the disk, remove windows ,install linux with great care and then again install windows over it becasue you can't leave without it.
Actually i want to get rid of windows and want to move on linux.But its not easy as my development and aother things are to be set on linux.
Then i seen site of wubi, the installer which installs linux on windows like any other software you do.i found it too easy.I just downloaded the latest ubuntu 8.04 LTS (long term service) ISO file from internet.When i loaded it into virtual drive, wubi popped up.
And your task done. Just give it a Drive having 8 to 10 GB space, give 8 to 10 GB space for installation,choose your username & pass. and click 'install'! simple!
It will install ubuntu in the drive,backup the ISO file,and asks for reboot.When you reboot, it will show you 'ubuntu' with windows XP in windows MBR!its great.And after choosing ubuntu from the OS choice menu, it will install it in 15 minutes.
Loing and enjoy linux of you know it.Learn new things,try to used to terminal!And you can simply unistall it from windows' add/remove menu.Isn't its great?
best thing about latest Ubuntu 8.04 is,
-easy install/unistall from windows.And i suggest you to get below listed packages from add/remove first to get your multimedia on,
-network configuration for internet is autodetect in most cases.
-easily you can add/remove programs from system.It will download new packages from internet to install.
-includes most needed programs pre-installed.(Firefox,pidgin etc.)
-restricted media formatssuggest me if you know better things about ubuntu as i am also newbie to it. :)
-VLC
Wednesday, February 20, 2008
Bugged by Virus??
So lately you suffered a computer crash and a headache of course due to a virus intrusion or a spyware. So people ask me what are the ways to avoid that. Here are some of the basic steps that everyone should follow to prevent such an intrusion.
1) Install a reputed antivirus software.
2) Upgrade your Internet Explorer to version 7
3) Use Firfox browser for increased security.
4) Regularly install windows update and keep it on.
5) Run liveupdate on your antivirus and put it on automatic update mode.
Read the complete article here: TechJunkies
(Sam is a Certified Ethical Hacker who blogs at TechJunkies)
Saturday, February 16, 2008
What is svchost.exe And Why Is It Running?
You are no doubt reading this article because you are wondering why on earth there are nearly a dozen processes running with the name svchost.exe. You can't kill them, and you don't remember starting them… so what are they?So What Is It?
According to Microsoft: "svchost.exe is a generic host process name for services that run from dynamic-link libraries". Could we have that in english please?
Some time ago, Microsoft started moving all of the functionality from internal Windows services into .dll files instead of .exe files. From a programming perspective this makes more sense for reusability… but the problem is that you can't launch a .dll file directly from Windows, it has to be loaded up from a running executable (.exe). Thus the svchost.exe process was born.
Why Are There So Many svchost.exes Running?
If you've ever taken a look at the Services section in control panel you might notice that there are a Lot of services required by Windows. If every single service ran under a single svchost.exe instance, a failure in one might bring down all of Windows… so they are separated out.
Those services are organized into logical groups, and then a single svchost.exe instance is created for each group. For instance, one svchost.exe instance runs the 3 services related to the firewall. Another svchost.exe instance might run all the services related to the user interface, and so on.
So What Can I Do About It?
You can trim down unneeded services by disabling or stopping the services that don't absolutely need to be running. Additionally, if you are noticing very heavy CPU usage on a single svchost.exe instance you can restart the services running under that instance.
More @ howToGeek.com
Friday, February 15, 2008
Java - Javascript interaction
Actually i knew this while i was facing a strange problem (ofcourse it was strange for me becasue i was not aware of this!). The applet used is compiled in JRE 1.4.0.And whenever anyone having JRE version newer than 1.4.0 tried accessing that applet, the call from javascript to applet method gives error "Object doesn't support this property". So i was very much tired of compiling applet with different versions of Jre but no luck.
So once i found the <param> tags for <Object> element which is now used for applet in HTML code.And then i used these tags for java and javascript interaction.
we will look at what parameters we should use the applet and object tags to 'switch on' the java-js communications.
According to the java 5 documentation, if you use the APPLET tag, you do not need any special parameters to allow a javascript to call the applet's method. On the other hand if you use the OBJECT tag you need to use the scriptable parameter. Things use to be slightly different in the older versions.
For an applet to call javascript methods, all you need to do is add the mayscript parameter
so the tags are
<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
width= "290" height= "290" style="border-width:0;" id="rup" name="rup"
codebase="http://java.sun.com/products/plugin/autodl/
jinstall-1_4_1-windows-i586.cab#version=1,4,1">
<param name="archive" value="jsapplet.jar">
<param name="code" value="com.raditha.articles.JSHelloWorld">
<param name="mayscript" value="yes">
<param name="scriptable" value="true">
<param name="name" value="jssapplet">
</object>
The object tag can actually cause the most recent version of the java plug in to be downloaded if the user does not have it installed or if the version present is older than the minimum requirement (in this case 1.4.1). If you want to be able to do the same for Netscape Navigator the object tag has to change slightly:
<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
width= "290" height= "290" style="border-width:0;" id="rup" name="rup"
codebase="http://java.sun.com/products/plugin/autodl/
jinstall-1_4_1-windows-i586.cab#version=1,4,1">
<param name="archive" value="jsapplet.jar">
<param name="code" value="com.raditha.articles.JSHelloWorld">
<param name="mayscript" value="yes">
<param name="scriptable" value="true">
<param name="name" value="jsapplet">
</object>
Calling applet method from javascript is simple. You just need to do document.getElementById("appletid").methodName();
But calling javascript from Applet is somewhat tricky.
In order to call javascripts we need to get hold of a JSObject. But first things first, we need to import the netscape.javascript.JSObject into our class.
public void init()
{
jsObj= JSObject.getWindow(this);
}
All that remains to do is to add the JButton to our applet. Then we add an ActionListener to the JButton, and it's actionPerformed method calls the javascript.
public void actionPerformed(ActionEvent e) {
if(jsObj != null )
try {
jsObj.call("updatePage", new String[] {txt.getText()});
}
catch (Exception ex) {
ex.printStackTrace();
}
}
thats it! it will call the method from jsObj.
hope this helps someone like me for first time.Enjoy!
By: Parth Barot @ 9:40 PM 0 Comments
Categories: Ajax, Articles, Browser, Goodies, Guides, Java, Javascript, open source, Programming, Software, Tips, Web
Thursday, February 14, 2008
Firefox: Tips with Middle Mouse Button
In this post, I will show you 6 tips to supercharge your Mozilla Firefox with the middle mouse button , thus making your web browsing experience better than before.
1- Click on a link with the middle mouse button to quickly open a link in a new tab. No more right click -> “Open Link in new tab”!
2- Press the Control (Ctrl) button and scroll the mouse wheel backward to increase Firefox’s font size. Scroll it forward to decrease the font size.
3- Press the Shift button and scroll the mouse wheel forward to move a page forward and scroll backwards to go the previous page.
Below are Mozilla Firefox’s about:config hack to modify hidden preferences (mouse related). Check out here on how to modify about:config.
4- Change the value of middlemouse.paste to true. This will let you paste a clipboard content to any text field with the middle mouse button.
5- Change the value of middlemouse.scrollbarPosition to true and restart your Firefox. The next time you click on a scrollbar location with the middle mouse button, Firefox will center the screen to that position.
6- Change the value of mousewheel.withaltkey.action to 1. This will enable you to scroll document by one page while pressing the Alt button.
post your tips and hints for other things you found for it. Enjoy!
By: Parth Barot @ 11:11 PM 0 Comments
Categories: Articles, Browser, Freeware, Goodies, Guides, open source, Optimization, Software, Tips
How to increase your internet connection speed?

1. Start - Run - type gpedit.msc.
2. Expand the Local Computer Policy / Administrative Templates / Network Branch.
3. Highlight the QoS Packet Scheduler in left panel.
4. In right panel double click the Limit reservable bandwidth setting.
5. On setting tab check the Enabled item.
6. Where it says Bandwidth limit % change it to read 0.
The problem is, XP seems to want to reserve 20% of the bandwidth for itself. Even with QoS disabled, even when this item is disabled. So why not use it to your advantage.
wiresmash.com
By: Parth Barot @ 9:46 PM 2 Comments
Categories: Articles, Goodies, Guides, hack, Internet, Microsoft, Optimization, Performance, Software, Surfing, system, Tips, Windows
wiki definitions : Unusual software bug
By: Parth Barot @ 2:55 PM 0 Comments
Categories: Articles, Goodies, Guides, Internet, Software, Technology, Tutorials, Wiki
Saturday, November 17, 2007
Best Chat Client - Open Source and lightweight - Miranda IM
It supports AIM, IRC, MSN, Yahoo, Jabber (XMPP protocol means gmail will work and any local LAN chat also works).
Basic architecture is plug in based. You can add different kinds of plug ins as per your needs.I will show here which plug ins you must have after installing it so it looks good and gives some good functions.
The most basic plug in is 'send/receive messages' which is in built and supports simple sending and receiving of messages. All protocol plug ins are also provided with the setup.You need to find more plug ins from add ons from Miranda site.
TabSRMM
This is very good plugin.
It supports
- tabbed message windows for multiple IMs.
- Log/history view of previous chat in the IM.
- Send message to multiple users at once.
- And many other cool things which are not in srmm.
History++ (History plus plus)
This is very advanced version of basic log viewer for all previous chat.
Basic log viewer shows all chat in listbox view. Means you need to select particular datetime to see the chat.
History++ will show you whole chat done for particular contact to till date in one view all text! isn't it great?You can also search in that log view.See the image below.
I will provide more good plug ins which may be of interest because of their usefulness. I generally avoid skinny things used for UI changes only :)Please provide if you also find some new plug ins for it as i am not doing it now. This is what i am using and must have once.
so please leave comments and give your favorite plug ins.
Addons site for Miranda
Thursday, October 11, 2007
Blogger - Transform 2-column Template to 3-column
People are always curious about how to use maximum space on blogger. The default templates are very simple and disgusting. We need something new after all. So take any template from blogger or another where you can get blogger compatible templates. And then do changes as per the instructions.
First goto your HTML template code and save it in your machine before starting changes.
Find
in your HTML code#header-wrapper {
Change value for width like width:860px; if its small value.This will make your blog's width wide and gives you more space fro your content and ads.By default width is about 660 pixels.
Find#outer-wrapper {
width: 860px;
margin:0 auto;
padding:10px;
text-align:left;
font: $bodyfont;
}
#main-wrapper {
width: 410px;
float: left;
word-wrap: break-word; /* fix for long text breaking sidebar float in IE */
overflow: hidden; /* fix for long non-text content breaking IE sidebar float */
}
#sidebar-wrapper {
width: 210px;
float: right;
word-wrap: break-word; /* fix for long text breaking sidebar float in IE */
overflow: hidden; /* fix for long non-text content breaking IE sidebar float
*/
}
#left-sidebar-wrapper {
width: 210px;
float: left;
word-wrap: break-word;
overflow: hidden;
}
and colored lines are changes or new additions. here left-sidebar-wrapper is for new sidebar. I have changed the widths as per total width of 860 pixels. For example 2 sidebars, each of 210 pixels(by default it is 220) and main post column is of 410 pixels.
Find <div id="content-wrapper"> and add below code after this line
<div id="left-sidebar-wrapper">
<b:section class="sidebar" id="sidebar1" preferred="yes">
</b:section>
</div>
Now save your template and goto Layout tab.
You will get new sidebar in design. Then you can add your new widgets in it. Use your whole blog.manage all your data as you wish. You can make it more wider if you need.
By: Parth Barot @ 9:52 PM 0 Comments
Categories: Articles, Blogger, CSS, Goodies, Guides, hack, Internet, Javascript, Programming, Tutorials
Thursday, September 20, 2007
The Guide 2.0 dev 2
The Guide evolved from the need to have an application that could organize information and ideas in a hierarchical, tree-like structure. Tree-based structures are frequently employed to manage information through a "divide-and-conquer" approach, wherein each level of the tree represents a further level of specialization of the parent-level topic — the best example of this being a book.The Guide is an application that allows you create documents "guides" which inherently have a tree which you can modify as you please and text associated with each node of the tree. The text itself is of the rich-text variety, and the editor allows you to modify the style and formatting of the text (fonts, bold, italics etc).
For the initiated, the Guide is a two-pane extrinsic outliner. This concept is similar to mindmapping in some ways.
New Features (since v1.6):
- Proper hyperlinks.
- Link targets are shown in status bar.
- Node expand/collapse state is remembered.
- Upgraded to Rich Edit 5.0.
- Ported to unicode. East european, east asian characters supported fully in tree pane also.
- Foreground and background color of nodes in tree pane can be changed via RMB menu.
- Node colors are used when printing and exporting also.
Changes:
- .gde file format has changed. The Guide v2.x series can read files of both format, and will write out in the new file format.
Home Page
Thursday, August 30, 2007
Decrypting and re-encoding DVD-Audio
A DVD-Audio can be encrypted. The encryption is called Content Protection for Prerecorded Media (CPPM), which uses a media key block (MKB) to authenticate DVD-Audio players. In order to decrypt the audio, players must obtain a media key from the MKB, which also is encrypted. The player must use its own unique key to decrypt the MKB. If a DVD-Audio player's decryption key is compromised, that key can be rendered useless for decrypting future DVD-Audio discs. DVD-Audio discs can also contain digital watermarking technology, typically embedded into the audio once every thirty seconds. If a DVD-Audio player encounters a watermark on a disc without a valid MKB, it will halt playback. quoted from wikipedia As of today, the encryption is broken, but it is not possible to remove the watermarks yet.
The purpose of this guide is the following:
- It explains how to decrypt and re-encode the audio of your DVD-Audio to FLAC (which is an open source lossless audio codec). This enables you to play your re-encondings on your PC without any hassle (using open source tools).
- The above will be done retaining higher quality than the audio counterpart that is located on the video section of the disc.
As of today, it is not possible to decode the MLP tracks of your DVD-Audio using open source (or even free) tools. So you need to get one of the following two tools:
- The Sonic filters "Sonic HD Demuxer" and "Sonic Cinemaster@Audio Decoder 4.3.0". They are directshow filters contained in the package "Sonic.CinePlayer.HD.DVD.Decoder.v4.3.rar".
- Surcode MLP.
If you want to use AviSynth (without creating intermediate WAV files) then you need to get the Sonic filters somewhere. As of today, 192kHz 24bit MLP tracks are not supported by the Sonic filters, so you are forced to use Surcode MLP in that case. The Sonic filters which support MLP decoding are the following:
- CinemasterAudio.dll v4.2.0.840, SonicHDDemuxer.dll v4.2.0.59
- CinemasterAudio.dll v4.3.0.151, SonicHDDemuxer.dll v4.3.0.73
- CinemasterAudio.dll v4.3.0.169, SonicHDDemuxer.dll v4.3.0.89
By: Parth Barot @ 11:01 AM 0 Comments
Categories: Articles, Audio, CD, compression, conversion, DVD, Encryption, Freeware, Guides, Home Entertainment, open source, Software, Tips, Tutorials, Video
Friday, July 13, 2007
How to Batch Process With HCEnc?
First thing is this isn't a guide to use HC. This is a guide for batch processing with HC. I'm assuming that you already know how to use HC. If you need a guide to learn HC click here for Fulci Lives start to finish avi to dvd ready video and audio guide.
Full Guide @ VideoHelp.com
By: Parth Barot @ 11:09 AM 0 Comments
Categories: CD, compression, conversion, divx, DVD, Freeware, Guides, Home Entertainment, mp4, Software, Tutorials, Video, xvid

