Aha! Moments When Learning Git
Git is a fast, flexible but challenging distributed version control system. Before jumping in:Along with a book, tutorial and cheatsheet… Read article, here are the insights that helped git click.
There’s
Git is a fast, flexible but challenging distributed version control system. Before jumping in:Traditional version control helps you backup, track and synchronize files. Distributed version control makes it easy to share changes. Done right, you can get the best of both worlds: simple merging and centralized releases.
Distributed? What’s wrong with regular version… Read article
Version Control (aka Revision Control aka Source Control) lets you track your files over time. Why do you care? So when you mess up you can easily get back to a previous working version.
You’ve probably cooked up your own… Read article
Ruby on Rails is an elegant, compact and fun way to build web applications. Unfortunately, many gotchas await the new programmer. Now that I have a few rails projects… Read article under my belt, here’s my shot at sparing you the suffering
Our world is numbered. Books have ISBNs and products have barcodes. Cars have VINs… Read article, even people have social security numbers.
Numbers help us reference items unambiguously. “John Smith” may be many people, but Social Security Number 123-45-6789 refers to
I’m happy people are finding the article on javascript optimization useful. But I made a giant, horrible mistake. A mistake that befalls many tutorials.
I didn’t include actual, working examples for you to play with.… Read article You can talk all you
This isn’t a reference guide, programming tutorial or detailed overview. It’s a Javascript refresher, assuming you know another programming language and puts all the information in one place (just ctrl+f to find!). Javascript has nothing to do with … Read article
An article and research paper describe a fast, seemingly magical way to compute the inverse square root (1/sqrt(x)), used in the game Quake.
I'm no graphics expert, but appreciate why square roots are useful. The Pythagorean theorem… Read article computes distance between
Most people would swap two variables x and y using a temporary variable, like this:
tmp = x
x = y
y = tmp
Here’s a neat programming trick to swap two values without needing a temp:
x = x … <a href="http://betterexplained.com/articles/swap-two-variables-using-xor/" class="read_more">Read article</a>