Wednesday, August 22, 2012

Easiest way of taking Fish Care

Greetings Friends,
Well i am back again, and this time i am going to write on fish care.
Fishes are not Toys:
Dear, every fish is a Character on its own, she has its own personality, and they should not be played with. If you cant raise your kids, don't give birth, in the same manner, if you cant take care, wait until you read enough on adopting a fish. a healthy fish says it all that you can really love someone and take care of that person!.

Everybody needs room:
like a person is more comfortable in a spacious place, even a fish is. she should have enough place to swim, play, get tired and feel hungry. you personally will never love to hang around in a small room and sit on the couch for the whole day! If you don't have large room, make sure that you only purchase tiny fish that are comfortable to be in that place. ( A fish keeper will always say that the fish will be comfortable, because he wants to sell it and make money!).

You won't like to sit in your own poop!:
yes you will never like that, so make sure to clean the bottom regularly.

You would never like to sit in a still place! would you?Or instead need to go out in natural for a while?
Yes so if possible, make sure to have a planted tank, if you don't have enough time to take care of the planted tank, there are easy alternatives, bellow is an example:
1) Find some good tank mud/soil.
2) Some good gravel, it should be bit large in size so that the poop slides down!.
3) The gravel (above the soil) should be a bit spaciously kept, with .5 to 1 cm space in between.
4) Some good and easy/fast growing plant like amazon.
5) Good poop/dirt cleaners like apple snails(only a pair will do, coz if you are unlucky enough to get a pair, they will multiply like anything).
6) a simple air pump, air driven filter.( less cost and easy to take care of).
7) whatever fish you keep, make sure they are small in size and number as compared to the tank.(you wont like to live in a 2bhk flat with 10 ppl with you !!!).
8)thats it, change the 50% of water every 4-5 days and it will work, snails have a huge appetite and so they are good cleaners.
9) remember: the more the number of the fishes, the more dirt will be produced, so keep the number less.( I had a pair of Convict cichlid, one inch in length in a 8! gallon tank, with 2 pair of apple snails, they were happy and very fast, healthy). I never purchased low quality food!.


Please read a lot before adopting:
Every fishes have their own behavior, some like to be in schools(like neon tetra), some like to be alone (like Betta) that doesn't mean that Betta doesn't need a partner!, i will talk about that later, but depending upon the type of fish, they should be given companions and number of partners. or else they will turn slugish and fall physically/mentally ill and die soon!. and then people wonder and say " I provide the best food and care to my fishes still they die!" ex. If you will keep a dwarf gaurami with a Convict cichlid , they will die of fear!.

One Last thing:
You wont like to have pizza every day!, you will get tired and fall sick!, same with the fish, keep a varied diet.
Happy Petting Fish :)

Friday, July 6, 2012

Points to practice while designing/Programming:


Planning:
                                i.            Before starting to work on any project, understand thoroughly the project concept, the purpose and the work to be done.
                              ii.            A database should be thoroughly understood before doing any change or using its constituents in the project.
                            iii.            Before starting any project, a through implementation of the database should be done and the database should be reviewed multiple times in relation to the flow of the project as for any difficulty or necessary change that has to be done before starting the development..
                            iv.            Any change in the database, once the project has been moved forward, leads to chaos.

Input Screens:
                                 i.            Should look spacious to eyes and also be soothing. Should speak up their motto.
                               ii.            Less numbers of boxes.
                              iii.            Self communicating.
                             iv.            Dates should be visible for administrators and wherever necessary.
                               v.            Use IE while testing design first and then any other browser.
                             vi.            All code should be browser compatible.
                            vii.            Controls should be uniform and disciplined.
                          viii.            Always remember that a user is a naïve user and he doesn’t understand any technical terms, and then design the screen communication accordingly.

Validations:
                                 i.            Use script validations and then server side validations.
                                ii.            Control names used in scripts and those defined in controls should match cases. (Browser Compatibility).
                              iii.            Make the scripts fail proof so that there is seldom any need for the server side validations to post back.
                              iv.            Use strict validations as
a.        Date formats should be uniform. (Most users prefer dd/MM/yyyy).
b.       Email validations.
c.        For mobile number validations use starts with 7 or more series and 10 characters long.
d.       The results of validations check should be user friendly, ex. The field should get highlighted or/and should get focus.



Formatting:
                                 i.            Be very consistent with the code formatting, it is very necessary for the other person to understand your code. Each inner sentence  should be given a tab to give proper indent.
                                ii.            IE has three default font sizes, your page structure should look consistent through intermediate with these sizes.
                              iii.            The font you are using should be standard and easily available.
                              iv.            Font sizes used should not be too large neither too small.
                               v.            Use less number of tables.
                              vi.            Never use css class having alignment justified in form fields - as a result it shows text vertically down while entry and scrolling
                            vii.            When reports are too big, use small images and put text in the title tag of that image.
                           viii.            Most of the JavaScript functionalities should be framed into a common function and should be placed into a single JavaScript library.
                               ix.            Similarly, all the style applications should be done using style classes and those should be placed into a single style sheet.
                                x.             

Reports:
                                 i.            Give all necessary fields with the context of the report. A report should not only display the fields of a table but should be made more descriptive with a unique amalgamation of necessary information to frame a more intuitive and descriptive report.
                               ii.            If the field text is too large, use a image and display it as tool tip, the image/color etc should match the purpose of the information to be displayed.
                              iii.            Give all necessary filters.
                             iv.            The current date should be visible at the top-right or a feasible location.
                               v.            Apply paginations.( includes fixed records and
                             vi.            Give exporting options PDF/Excel etc.  And the exports should have proper header/footer.
                            vii.            If possible, use Page non refreshing filters.(use scripts wherever possible)

 Coding:
  1. Any variable name should be self descriptive and most important is be consistent with the variable names you use. Ex. AdminApproved, Admin_approved, admin_Approved all are ok, but once you adopt one, it should be followed throughout the coding.
  2. Variables should be carefully used and unnecessary global variables should be kept to the minimum. (Seldom use global variables).
  3. All the Database related code should be kept in a separate library and should be accessed using functions.
  4. All Query’s and stored procedures should be checked neatly for their optimality. A query that gives the right result is not always the best query.
  5. Put comment above every function which gives the description of the parameters and the purpose of the function the comment language could be your own language, the motto is that it should describe the context..
  6. Try to make the maximum use of the common library functions, and so while framing the library functions frame with the view that they will be reusable.
  7. Check return values of junctions for error conditions, a error is unpredictable and all possible places where an error could occur should be handled and a through methodology should be written to properly/gracefully compensate.
  8. Strictly separate business logic from the program.
 Conclusion:
  • No programmer can ever implement all of these suggestions 100% of the time. Not only does one reach a point of diminishing returns, but also there will always be areas that are open to interpretation, opinion, and individual style.
  • But just because perfection isn't achievable doesn't mean you shouldn't strive for it. In fact, the most important thing you can do is to identify the area(s) listed above where your program is most lacking and take steps to fix it. For example, your program might have excellent database handling routines but your variable names may be completely unintuitive.
  • Half the battle is figuring out (and admitting) where your program needs improvement; the other half of the battle is doing something about it.
  •  
  •  
  • Well well well, this is it all for now.....will come up soon......