A Mature Developer

Let’s call a developer reaching that 10x definition like achieving nirvana. He has experienced almost everything in SDLC, he is productive, quick to self-brainstorm, communicates what is needed, never let the shit spread, gels well with the team, creates examples for others to follow, etc. Apart from technical competency what are the other qualities that a 10x engineer should have? Let’s find some answers and define these as base for a mature developer!  Ownership Get involved with what you are building rather than thinking 9-6pm and go home. Once shipped, get excited about how your feature is doing. Are customers adopting? Are there any exceptions in production that went unnoticed when…

Read more

Simplest way for Cache Busting in NodeJS/Express

Caching in Web browsers is important. Without caching page performance is hurt as each page navigation requires the same set of JavaScripts and CSS files to be re-fetched. We can achieve caching by setting Cache-Control header’s max-age in the HTTP response headers. In NodeJS/Express stack, you do this done by passing options map to express.static() middle-ware.

However, the challenge is to discard or bust this client cache for new code deployments. As HTTP is a stateless protocol, there is no way server can tell clients to ignore old caches and request again. If you do set max-age:0 then we shall not arrive in this situation at all. However, we want to achieve caching and refresh this cache with new code deployments.

Read more

Android Interview Questions

Hi Guys, Here are some Android test questions that I have compiled. Search for their answers by reading Android Docs. Post your answers in the comments. If you are too desperate for answers you can try . Which class is used to handle the Bluetooth on Android? Which package provide set of classes required to manage the Bluetooth on android sdk? What is a sticky intent? How to show a non-modal dialog/information on screen? OR What’s the purpose of Toasts. What is a 9-patch image and how to benefit from it? What is adb? Following are some more generous objective…

Read more


Linear Hashing

Hash table is a data structure that associates keys with values. To know more about liner hashing refer Wikipedia. Here are main points that summarizes linear hashing. Full buckets are not necessarily split Buckets split are not necessarily full Every bucket will be split sooner or later and so all Overflows will be reclaimed and rehashed. Split pointer s decides which bucket to split s is independent to overflowing bucket At level i, s is between 0 and 2i s is incremented and if at end, is reset to 0. hi (k)= h(k) mod(2i n) hi+1 doubles the range of…

Read more

Webservices PowerPoint Presentation

My presentation on WebServices Basics is available for download to the *valuable visitors* of my blog. Here is the content: Web services – Definition: A web service is a collection of protocols and standards used for exchanging data between applications or systems. Characteristics Demo: Writing a simple WebService in Visual Studio 2005 & Consuming WebServices Technologies: XML (eXtensible Markup Language), SOAP (Simple Object Access Protocol), WSDL (Web services description language), UDDI (universal description, discovery, and integration) SOAP: SOAP is an open protocol specification defining a uniform way of performing RPCs using HTTP as the underlying communications protocol with XML for…

Read more

Ajax Tutorial Series

Want to learn Ajax from scratch? Here is a series of tutorials for you. Mastering Ajax, Part 7: Using XML in requests and responses Brett McLaughlin demonstrates how you can use XML as the data format for sending asynchronous requests. Mastering Ajax, Part 6: Build DOM-based Web applications Continue to explore how DOM programming fits into interactive Ajax applications as Brett McLaughlin completes his trilogy of articles on DOM programming with a DOM application in practice. Mastering Ajax, Part 5: Manipulate the DOM Last month Brett introduced the Document Object Model, whose elements work behind the scenes to define your…

Read more

AJAX Guide !

Johnson compiles a useful list of Ajax resources. It contains resource for PHP/Java/ASP.net. [Edited: Oct 13th, 2006] And here we go to hack an Ajax website. Using ‘Firebug’ (and extension to FireFox) you can discover ajax calls, stack trace of errors, etc; Using ‘chickenfoot’ provides a programming environment within the browser (ie. simulation of user clicks, etc;) ~ Ankit

Read more