Deprecated: Assigning the return value of new by reference is deprecated in /home/techmasa/public_html/wp-content/plugins/sem-cosmos-link/sem-cosmos-link.php on line 90

Deprecated: Assigning the return value of new by reference is deprecated in /home/techmasa/public_html/wp-content/plugins/sem-recent-posts.php on line 942

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/techmasa/public_html/wp-content/plugins/sem-cosmos-link/sem-cosmos-link.php:90) in /home/techmasa/public_html/wp-content/plugins/wordpress-automatic-upgrade/wordpress-automatic-upgrade.php on line 121

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/techmasa/public_html/wp-content/plugins/sem-cosmos-link/sem-cosmos-link.php:90) in /home/techmasa/public_html/wp-content/plugins/wordpress-automatic-upgrade/wordpress-automatic-upgrade.php on line 121
TechMasala - Technology Spice Rack » This is interesting

Archive for This is interesting

Foundation Stone #37 - Attack Problems in Small Chunks

We all know that we cannot eat a water melon in one mouthful but to break them into pieces, remove the seeds and skin and then share and eat the fruit. Similarly the work we do might look complex, big and not solvable from the onset. I was watching a Discovery channel program on Siafu ants (pinching ants) which is a common ant type in Siafu AntAfrica. These ants would eat everything in sight that moved. They eat mice, scorpions, spiders, anything that comes on their way and the local people say even elephants sometimes. They would kill and eat dogs and cats if they were trapped in the house also. The warrior ants have big claws that can tear off the outer skin of the victim and the rest of the ants swarm in and tear the soft inner flesh. These march in thousands and thousands and are nomads that shift the colony once in two weeks. Here is the best part, these ants are totally blind. They rely on touch, smell and chemical signals from the abdomen of the leading ants. The swarms can travel at up to 20 metres per hour, stripping all animal life in their path.

Think about the collaboration, team work and best of all the strategy of attacking in pieces but in huge numbers. The victim is outnumbered and is soon captivated. The whole episode was mind boggling just like watching a thriller movie. I could not take my eyes off the whole hour. The commercials did give me time to think about the lesson learnt through these ants and I thought this is an analogy I can share with you. Working as a team with good communication and collaboration and applying the divide and conquer rule can help in tackling huge problems so easy that you would want more.

Note - This post is a part of foundation stone series of posts


Deprecated: Function ereg_replace() is deprecated in /home/techmasa/public_html/wp-content/plugins/sociable/sociable.php on line 64
Blink this Foundation Stone #37 - Attack Problems in Small Chunks at blinklist.com    Bookmark Foundation Stone #37 - Attack Problems in Small Chunks at blogmarks    Bookmark Foundation Stone #37 - Attack Problems in Small Chunks at del.icio.us    Digg Foundation Stone #37 - Attack Problems in Small Chunks at Digg.com    Fark Foundation Stone #37 - Attack Problems in Small Chunks at Fark.com    Bookmark Foundation Stone #37 - Attack Problems in Small Chunks at Furl.net    Bookmark Foundation Stone #37 - Attack Problems in Small Chunks at NewsVine    Bookmark Foundation Stone #37 - Attack Problems in Small Chunks at reddit.com    Bookmark Foundation Stone #37 - Attack Problems in Small Chunks at Simpy.com    Bookmark Foundation Stone #37 - Attack Problems in Small Chunks at Spurl.net    Bookmark Foundation Stone #37 - Attack Problems in Small Chunks with wists    Bookmark Foundation Stone #37 - Attack Problems in Small Chunks at YahooMyWeb

Comments      Cosmos

Tool, Technology, Framework Selection

Before the development starts and before the design is done for the project the technology stack for the system has to be clearly identified. While a simple programming language could be selected to complete the system and often that was how it was couple of decades back these days we are more into higher level of abstractions that allow us to focus on just the problem. For example to develop a web application one doesn’t need to write an application server that has to handle the request and response and many other low level functions. Imagine if we were still stuck with how the trend was couple of decades ago probably I wouldn’t be writing this blog post now.

OK the point is now we have lot of tools, technologies and frameworks (TTF - is not a known acronym but for the sake of this post) that we can one off use them and not worry about taking care of so many low level details. Because these TTF go through the same process as any other project would go through to make it free from critical errors. But a task that still remains is the selection of the tools, technologies and frameworks that will aid in effectively building the system. The selection not only includes if the TTF meets the specific needs of the system but also how it can integrate well with other TTF’s with not much friction. Before the TTF’s can be selected the primary language(s) under which these TTF’s would work is as well as important. This by itself should be thought through with some of the performance requirements of the system and most important the skill set available within the organization. The selection process of the TTF’s should include not any lesser than the following.

Meets good enough requirements - While logically one won’t select a TTF that doesn’t meet all of the requirements of a system be aware of TTF’s that can do more than what is needed. While selecting such a tool may not affect the behavior of a system but it could choke the environment loading what is not required. Trying to find a tool that meets the requirement exactly maybe difficult but look if the TTF provides a way to use only those components required through plug and play or load what is required.

Environment Support - A TTF is also a program and requires an underlying environment that supports it. The TTF should support the language or the operating environment under which the system is deployed. The important point is to look for the supported versions and also look at the release notes for the specific platform.

Integration - As I mentioned earlier if there are more than one TTF’s involved and if they have to talk to each other look for compatibility. If they operate under different environment then a middle tier that can help bridge the TTF’s maybe required or look if the TTF’s provide support to talk over the network in technology-agnostic language such as XML.

Cost - The budget allocated for project and how much of it can be spent for the TTF’s is an input here. While open source TTF’s has been blooming crazy for every known area, there are few areas where commercial ones still hold the upper hand. The cost comes into picture in such an instance. Also the support provided could vary depending on open source or commercial (again depending on the package if commercial) which by itself is a criterion (see next point).

Support - What type of support is available for a specific TTF? Look for community forums, developer forums, discussion boards and any other groups other than the support provided by the company if any.

Help documents - Look for the help document provided by the TTF and how extensive it is and how easy it is to refer, use it.

IDE (Integrated Development Environment) support - Does the TTF provide any plugins for the IDE (selection of IDE if one doesn’t exist for the organization by itself has to go through certain criteria’s) the development team would use.

Tests - These days some of the TTF’s bundle with certain tests that asserts the proper functioning of the TTF. Look if one is available for the TTF you are evaluating.

While it is not an exhaustive list and there could be additional checks pertaining to specific requirements the above are some of the points to look for. Said that the selection process by itself is not something systematic or has any formula to select or not select. Such a selection process requires some experience and insights either from experts who have gone through it or from the past experiences. Sometimes failures teach better lessons.


Deprecated: Function ereg_replace() is deprecated in /home/techmasa/public_html/wp-content/plugins/sociable/sociable.php on line 64
Blink this Tool, Technology, Framework Selection at blinklist.com    Bookmark Tool, Technology, Framework Selection at blogmarks    Bookmark Tool, Technology, Framework Selection at del.icio.us    Digg Tool, Technology, Framework Selection at Digg.com    Fark Tool, Technology, Framework Selection at Fark.com    Bookmark Tool, Technology, Framework Selection at Furl.net    Bookmark Tool, Technology, Framework Selection at NewsVine    Bookmark Tool, Technology, Framework Selection at reddit.com    Bookmark Tool, Technology, Framework Selection at Simpy.com    Bookmark Tool, Technology, Framework Selection at Spurl.net    Bookmark Tool, Technology, Framework Selection with wists    Bookmark Tool, Technology, Framework Selection at YahooMyWeb

Comments      Cosmos

Table or Divs?

With more and more rich user interface based screens there is lot of HTML + CSS that has to work together to make it really rich. There can be more than one HTML element that can produce similar result but the way in which they render might be different. The best example is the TABLE and DIV element. While both can achieve putting the data in a matrix format there are differences in terms of rendering, advantages and disadvantage of using either of them. If you are a presentation layer developer you might want to know the difference in using these elements, when to go for a TABLE and when to go for a DIV. A TABLE alters its size dynamically as the data gets filled up. Here is an example site that extensively uses TABLE. If you see carefully you can see how the table size varies as the page gets loaded. This could be annoying if there is too much dynamic data represented in table and there is a flicker effect on the screen when the page gets loaded.  For some insights on the differences refer this article “Table Vs Divs“.


Deprecated: Function ereg_replace() is deprecated in /home/techmasa/public_html/wp-content/plugins/sociable/sociable.php on line 64
Blink this Table or Divs? at blinklist.com    Bookmark Table or Divs? at blogmarks    Bookmark Table or Divs? at del.icio.us    Digg Table or Divs? at Digg.com    Fark Table or Divs? at Fark.com    Bookmark Table or Divs? at Furl.net    Bookmark Table or Divs? at NewsVine    Bookmark Table or Divs? at reddit.com    Bookmark Table or Divs? at Simpy.com    Bookmark Table or Divs? at Spurl.net    Bookmark Table or Divs? with wists    Bookmark Table or Divs? at YahooMyWeb

Comments      Cosmos

JUnitEE

JUnit is a great tool for unit testing Java applications but it is little difficult to apply it and test the flow from a web application perspective. Particularly say you have unit tests for your DAO you will have to use the JDBC driver connection class to connect to the database and cannot test through JNDI as it requires a server environment. Try JUnitEE. From the site,

JUnitEE provides a TestRunner which outputs HTML and a servlet which can be used as an entry point to your test cases. Building your test harness as a standard J2EE web application means:

  • Your tests are packaged conveniently into a .war file which can easily be moved between servers; you can leave the .war file in the main .ear file and simply avoid enabling the test web application on the production server.
  • Your test classes will be dynamically reloaded by the app server (assuming your server supports this).
  • Your test cases look just like your production code, and can use the same beans (or whatever) you use as a facade for your EJBs.


Deprecated: Function ereg_replace() is deprecated in /home/techmasa/public_html/wp-content/plugins/sociable/sociable.php on line 64
Blink this JUnitEE at blinklist.com    Bookmark JUnitEE at blogmarks    Bookmark JUnitEE at del.icio.us    Digg JUnitEE at Digg.com    Fark JUnitEE at Fark.com    Bookmark JUnitEE at Furl.net    Bookmark JUnitEE at NewsVine    Bookmark JUnitEE at reddit.com    Bookmark JUnitEE at Simpy.com    Bookmark JUnitEE at Spurl.net    Bookmark JUnitEE with wists    Bookmark JUnitEE at YahooMyWeb

Comments (2)      Cosmos

Evolution, Revolution, Pollution and Explosion of Web

I was impressed with this video “Web 2.0 … The Machine is Us/ing Us” that takes us from where we were to where we are today and also raises the question where it is all leading to. We are getting connected to people around the world so easily with web and collaboration it has unleashed but are we missing to connect personally to our own closed ones that are nearby? I could not answer myself convincingly. That apart, this video is also a good movie on the evolution of web 2.0.


Deprecated: Function ereg_replace() is deprecated in /home/techmasa/public_html/wp-content/plugins/sociable/sociable.php on line 64
Blink this Evolution, Revolution, Pollution and Explosion of Web at blinklist.com    Bookmark Evolution, Revolution, Pollution and Explosion of Web at blogmarks    Bookmark Evolution, Revolution, Pollution and Explosion of Web at del.icio.us    Digg Evolution, Revolution, Pollution and Explosion of Web at Digg.com    Fark Evolution, Revolution, Pollution and Explosion of Web at Fark.com    Bookmark Evolution, Revolution, Pollution and Explosion of Web at Furl.net    Bookmark Evolution, Revolution, Pollution and Explosion of Web at NewsVine    Bookmark Evolution, Revolution, Pollution and Explosion of Web at reddit.com    Bookmark Evolution, Revolution, Pollution and Explosion of Web at Simpy.com    Bookmark Evolution, Revolution, Pollution and Explosion of Web at Spurl.net    Bookmark Evolution, Revolution, Pollution and Explosion of Web with wists    Bookmark Evolution, Revolution, Pollution and Explosion of Web at YahooMyWeb

Comments      Cosmos

Foundation Stone #33 - Complacency Is A Slow Poison, Avoid It

OK you got a job in software industry in a Multi National Company (MNC) and getting a good pay. You are pretty busy when there are projects but at least few weeks in a year you might be free and may not have much work. So what do you do? Beware these periods can pull you into the luxury of idleness called as complacency. Complacency is a slow poison; it does not happen in one single dose but slowly over a period of time. Once a project comes it becomes very difficult to get back to the routine work and may result in less productivity.  To see if you are becoming complacent just take a look at what you did every day.  The tasks that you did the whole day should be result oriented that either benefits you or the organization. If this time is anywhere less than 80% of the whole working time, beware you might already be getting sucked into complacency mode. Complacency not only results in lower productivity but also brings unwanted habits like mail chatting, instant messaging, spending too much time in cafeteria etc. These are time wasters and time wasted cannot be regained. Instead think of tasks that can help your growth in career and things that can distinguish from the crowd.

Note:- This is post is part of the “Foundations” series.


Deprecated: Function ereg_replace() is deprecated in /home/techmasa/public_html/wp-content/plugins/sociable/sociable.php on line 64
Blink this Foundation Stone #33 - Complacency Is A Slow Poison, Avoid It at blinklist.com    Bookmark Foundation Stone #33 - Complacency Is A Slow Poison, Avoid It at blogmarks    Bookmark Foundation Stone #33 - Complacency Is A Slow Poison, Avoid It at del.icio.us    Digg Foundation Stone #33 - Complacency Is A Slow Poison, Avoid It at Digg.com    Fark Foundation Stone #33 - Complacency Is A Slow Poison, Avoid It at Fark.com    Bookmark Foundation Stone #33 - Complacency Is A Slow Poison, Avoid It at Furl.net    Bookmark Foundation Stone #33 - Complacency Is A Slow Poison, Avoid It at NewsVine    Bookmark Foundation Stone #33 - Complacency Is A Slow Poison, Avoid It at reddit.com    Bookmark Foundation Stone #33 - Complacency Is A Slow Poison, Avoid It at Simpy.com    Bookmark Foundation Stone #33 - Complacency Is A Slow Poison, Avoid It at Spurl.net    Bookmark Foundation Stone #33 - Complacency Is A Slow Poison, Avoid It with wists    Bookmark Foundation Stone #33 - Complacency Is A Slow Poison, Avoid It at YahooMyWeb

Comments      Cosmos

RToon #7

RToon 7 - Tags

If you are new to tagging refer my post “Tags

Happy Weekend!

Note:- This post is part of the “RToons” series


Deprecated: Function ereg_replace() is deprecated in /home/techmasa/public_html/wp-content/plugins/sociable/sociable.php on line 64
Blink this RToon #7 at blinklist.com    Bookmark RToon #7 at blogmarks    Bookmark RToon #7 at del.icio.us    Digg RToon #7 at Digg.com    Fark RToon #7 at Fark.com    Bookmark RToon #7 at Furl.net    Bookmark RToon #7 at NewsVine    Bookmark RToon #7 at reddit.com    Bookmark RToon #7 at Simpy.com    Bookmark RToon #7 at Spurl.net    Bookmark RToon #7 with wists    Bookmark RToon #7 at YahooMyWeb

Comments      Cosmos

RToon #6

RToon - Wi-Fi everywhere

Its a Wi-Fi world :)
Happy Weekend!

Other RToons.


Deprecated: Function ereg_replace() is deprecated in /home/techmasa/public_html/wp-content/plugins/sociable/sociable.php on line 64
Blink this RToon #6 at blinklist.com    Bookmark RToon #6 at blogmarks    Bookmark RToon #6 at del.icio.us    Digg RToon #6 at Digg.com    Fark RToon #6 at Fark.com    Bookmark RToon #6 at Furl.net    Bookmark RToon #6 at NewsVine    Bookmark RToon #6 at reddit.com    Bookmark RToon #6 at Simpy.com    Bookmark RToon #6 at Spurl.net    Bookmark RToon #6 with wists    Bookmark RToon #6 at YahooMyWeb

Comments      Cosmos

Next entries » · « Previous entries

Creative Commons License  This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.