Sunday, October 09, 2005

Year End Tax Planning for the Self Employed

Ways to minimize tax deductions:

1. Send december invoice to your client on Jan 01.
2. Pay your accounts payable in advance (even those that are due in jan). Could be your accommodation for the month of Jan.
3. Buy equipment for your business and take a deduction for upto $17,000. Of course this must be required by the business so that it gives you an competitive edge in the market and generates cash flow in the future.
4. Spend money to accelerate your corporate growth. I love this one. I might buy a high-end laptop and Webtrend pro by the end of this year.

These ideas are good if you have a good cash flow. You either postpone your income or prepone your expenses to minimize taxes. This is helpful because, it helps you during the transition to a new contract when you have to wait for 45 days or more for the first payment. So tax planning helps to get through the bumps ahead in the first quarter of next year. Don't over do or abuse it. It is reasonable to do it for the right reasons.

Consult a CPA and get advice for your scenario. I called a CPA and the fees are too much for me. He quoted $1600 for his services.

You could also apply for a solo 401k before the end of the year. But you don't have to fund your account by the end of the year. Because only after the end of the year you will be able to compute the amount of money you can contribute to this account. It is computed only for the amount you earned on 1099. You have to exclude any w2 income. Solo 401k allows you to get loan against your account for upto 50% of your account (maximum is $50,000). This way you can have your cake and eat it too. You get the tax benefit, the remaining money in your account act as an emergency fund and you are able to access half of the account and use it for your business or personsal expenses.

Tuesday, October 04, 2005

How to calculate your hourly rate

I accidentally found a new way to find your hourly rate for your consulting services. As many of you already know that the rate depends on the geographical location. Search for salary calculator in Google and go to the homefair.com website.

1. Calculate the salary based on your present location to the new location. Let's say it is 160k /yr.
2. Do a job search on Dice and check out the salary or hourly rate for that area and your level of experience. Lets say this is 95-145k/year.
3. Go to Candlewood suites website and check out the daily room rate for 30 days or more. For example this can be 80/night.

As you can see #1, #2, #3 all confirm each other. (160/2=80)

So your hourly rate for the new location should be $80/hr

Wednesday, September 28, 2005

Time Management

1. Do few things and do them well.
2. Learn few long lasting things very well.
3. Minimize delegation to others as much as possible. Eliminating this dependency increases reliability.
4. Don't expect to do lot of activities during your spare time. Just relax.
5. Clear out the clutter on your desk and focus on accomplishing one task at a time. Set your ego aside and leave multitasking to Bill Gates.
6. Set your priorities to help you choose things that must be done.
7. Consider maintenance costs in time and money before spending money on any item.
8. Reduce learning curve by focusing your learning on few things that are stable and does not change too fast.

Tuesday, March 15, 2005

auto login

Step 1 : Include this :

JavaScript begin tag

function autoSubmit(form){
document.forms[0].submit();
}
End javascript tag

begin [body onLoad='autoSubmit()']
begin html:form action="/LoginLogout.do?method=login">

Step 2 : Hard code the user id and password in the value attributes.

Saturday, March 12, 2005

From Use cases to code in a Struts project

Notes on going from Use cases to code for Struts. Joe Seilman and Struts in action.

1. Gather requirements.
2. Determine the data captured and displayed to the user. Screen requirements.
3. Find all the possible paths to the screen.
4. Design Action Mappings from the workflow of the application.
5. Create Action Form classes from the screen.
6. Create Action classes to implement the Action Mappings.
7. Develop the business logic by implementing the Business Delegate.
8. Develop the JSP and the presentation tier components.
9. Configure the components - struts-config.xml, web.xml resource bundle etc.
10. Build - Deploy - Test.

Tuesday, January 11, 2005

Changing administrator password in Oracle 9i

1. Open the DOS command prompt and enter: sqlplus /nolog
2. Type : connect / as sysdba
3. Type : alter user sys identified by new_password;

This alters the password for the adminstrator (sys).

Monday, January 10, 2005

Oracle 9i and WSAD 5.1.2

Installed the Oracle 9i database and client on my PC. Select * from emp; query shows all the records in the emp table from the SQL window. So, the installation issuccessful. Some of the components are mutually exclusive and during the installation it does let the user know about this.

WSAD 5.1.2 installation messed up my existing Eclipse 3.0 installation. I cannot bring up the Eclipse anymore. Is this due to the WSAD 5.1.2 using Eclipe 2.1 ? My plan is to install Eclipse on the laptop when I get one.

Changed the Oracle db related services to run manually instead of automatic. TNS listener and the DBName processes must be started to use the database. Need to download the JDBC driver classes12.zip. I think it is free. Once the database is setup, I can start playing with Hibernate framework.

Thursday, January 06, 2005

Balanced Programming

After reading all the hype about Xtreme programming by the Software Swamis, I would like to introduce the Programming Community to my theory of Balanced Programming. This concept is similar to the idea of Balance as the key to leading a good life. Balanced Programming recognizes the good aspects of other programming theories and balances them to a level that optimizes the benefit of software productivity and quality. Think of it as a stereo tuning with several different controls to optimize the frequency of the particular type of music that you are hearing.

In this theory, neither the design is considered dead nor is programmer testing detested. Design is done when necessary to improve the quality of the code base without getting stuck in analysis paralysis. Testing is also done when it gives most value and is one of the primary means of finding Interfaces.

Wednesday, January 05, 2005

Commonclipse

Nice tool to generate :

toString()
hashcode()
equals(Object)
compareTo(Object)

from Eclipse.

Saturday, January 01, 2005

Estimating taxes for the self employed

This site looks interesting. I will post later if the estimates were good after consultation with a tax professional.