Make Better Things



I like to make better things.

Recipe for Programming Success

Here’s my recipe for programming success:

• Get interested in programming, and do some because it is fun.

• Talk to other programmers; read other programs. This is more important than any book or training course.

• Program. The best kind of learning is learning by doing. To put it more technically, “the maximal level of performance for individuals in a given domain is not attained automatically as a function of extended experience, but the level of performance can be increased even by highly experienced individuals as a result of deliberate efforts to improve.” and “the most effective learning requires a well-defined task with an appropriate difficulty level for the particular individual, informative feedback, and opportunities for repetition and corrections of errors.”

• Work on projects with other programmers. Be the best programmer on some projects; be the worst on some others. When you’re the best, you get to test your abilities to lead a project, and to inspire others with your vision. When you’re the worst, you learn what the masters do, and you learn what they don’t like to do (because they make you do it for them).

• Work on projects after other programmers. Be involved in understanding a program written by someone else. See what it takes to understand and fix it when the original programmers are not around. Think about how to design your programs to make it easier for those who will maintain it after you.

• Remember that there is a “computer” in “computer science”. Know how long it takes your computer to execute an instruction, fetch a word from memory (with and without a cache miss), read consecutive words from disk, and seek to a new location on disk.

Dennis Ritchie 1941 – 2011

So finally god needed the Unix master after getting Steve Jobs there… something is really cooking up there in the heavens.
You were my hero dmr.. and you always be…
May his soul and the souls of all the departed faithful by God’s mercy rest in peace.
Thanks for everything… We all love you..

Steve Jobs 1955-2011

This is the single suckiest home page I think I’ve ever seen. Not because it’s not well done, but because the news it represents is…heartbreaking.

It hurts even more because, despite all of Steve’s wealth, power, influence, and success, the simple truth is that human is human. No matter who you are, you are still mortal.

It’s that truth of human frailty, manifested in someone so focused on perfection in all things, that truly gives me pause tonight. It takes my breath away. It’s just so sad.

Goodbye, Steve.
Thanks for everything!

Getting started with jQuery

It can seem challenging to know where to begin with jQuery because this tiny library does many functions. Most of its concept borrowed from structured HTML and CSS.

So Let’s look what jQuery can do for us.

What jQuery does –

Access elements in a document – without a Javascript library you may need to write a lot of code to traverse Document Object Modal (DOM) tree. A robust and efficient mechanism is offered by jQuery to access elements in a document.

Modify the appearance of a web page – CSS offers a powerful method of influencing the way a document is rendered, but it falls short when web browsers do not all support the same standards. With jQuery, developers can bridge this gap, relying on the same standards support across all browsers. In addition, jQuery can change the classes or individual style properties applied to a portion of the document even after the page has been rendered

Alter the content of a document – Not limited to mere cosmetic changes, jQuery can modify the content of a document itself with a few keystrokes. Text can be changed, images can be inserted or swapped, lists can be reordered, or the entire structure of the HTML can be rewritten and extended—all with a single easy-to-use Application Programming Interface (API).

Respond to a user’s interaction – The jQuery library offers an elegant way to intercept a wide variety of events, such as a user clicking on a link, without the need to clutter the HTML code itself with event handlers.

Animate changes being made to a document – The jQuery library provide many animations built in such as fade in , fade out etc and provide easy to use API to create new one.

Retrieve information from a server without refreshing a page – The jQuery library removes the browser-specific complexity from this process, allowing developers to focus on the server-end functionality.

Simplify common JavaScript tasks – In addition to all of the document-specific features of jQuery, the library provides enhancements to basic JavaScript constructs such as iteration and array manipulation.