BetterExplained
Learn Right Not Rote

Main menu

Skip to primary content
Skip to secondary content
  • Articles
  • Philosophy
  • About
  • Contact
  • eBook

Category Archives: Programming

Post navigation

← Older posts

Aha! Moments When Learning Git

57
Aha! Moments When Learning Git Git is a fast, flexible but challenging distributed version control system. Before jumping in:
  • Understand regular version control
  • Understand distributed version control
Along with a book, tutorial and <a class=”… Read article
Posted in Guides, Programming | March 10, 2010 by kalid

A Simple Introduction To Computer Networking

18
A Simple Introduction To Computer Networking

Most networking discussions are a jumble of acronyms. Forget the configuration details -- what are the insights?

  • Networking is about communication
  • Text is the simplest way to communicate
  • Protocols are standards for reading and writing text

Beneath the… Read article

Posted in Guides, Programming | March 16, 2009 by kalid

Intro to Distributed Version Control (Illustrated)

131

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… Read article

Posted in Guides, Programming | October 15, 2007 by kalid

A Visual Guide to Version Control

289
A Visual Guide to Version Control

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… Read article

Posted in Guides, Programming | September 27, 2007 by kalid

Starting Ruby on Rails: What I Wish I Knew

105

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 under my belt, here’s my shot at sparing you… Read article

Posted in Programming, Web | June 16, 2007 by kalid

The Quick Guide to GUIDs

42

Our world is numbered. Books have ISBNs and products have barcodes. Cars have VINs, 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… Read article

Posted in Programming | April 18, 2007 by kalid

Speed Up Your Javascript, Part 2: Downloadable Examples!

14
Speed Up Your Javascript, Part 2: Downloadable Examples!

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. You can talk all… Read article

Posted in Guides, Programming, Web | February 25, 2007 by kalid

A Simple, Comprehensive Overview of Javascript

10

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… Read article

Posted in Programming, Web | February 23, 2007 by kalid

Understanding Quake's Fast Inverse Square Root

26

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

Posted in Programming | February 6, 2007 by kalid

Swap two variables using XOR

28

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 =

… Read article

Posted in Programming | January 16, 2007 by kalid

Post navigation

← Older posts

Aha! Now I get it...

The mission: share aha! moments in clear, friendly language. I write about topics as I wish they were explained to me. Read more...

Subscribe by email or RSS

Like the site? Try the ebook

Categories

  • Business
  • General
  • Guides
  • Math
    • Calculus
    • Vector Calculus
  • Observations
  • Personal Development
  • Programming
  • Web

Popular Posts

  • Easy Permutations and Combinations
  • An Intuitive Guide To Exponential Functions & e
  • How To Optimize Your Site With GZIP Compression
  • A Visual Guide to Version Control
  • A Visual, Intuitive Guide to Imaginary Numbers
  • A Gentle Introduction To Learning Calculus
  • Demystifying the Natural Logarithm (ln)
  • Understanding Big and Little Endian Byte Order
  • Techniques for adding the numbers 1 to 100
  • Intro to Distributed Version Control (Illustrated)