a blog by Christian Snodgrass
about programming, web and game design, and everything else

Latest Posts, Page 2

Keep It Sorted: Binary Search Sort

In a previous article, I discussed binary searching and mentioned that you could modify the function a bit to get the index of where to put the value to keep it sorted. This eliminates the need to sort it on demand and lose all the performance gains of the binary search. The Binary Search Sort [...]

June 19th, 2011 | No Comments | In Flash/ActionScript 3, Javascript, PHP

Gotta Bounce: Google Analytics Bounce Rate

So, you have an awesome site, filled with pages of awesome content. You’re PR is on the rise and you get 5,000 views a day… great! But, are you really giving them what they want when they first get to your site? If you have a high bounce rate, you may not be. What is [...]

June 17th, 2011 | No Comments | In Design

Classics to Remember: Binary Search

If you went to school for programming, you’ve likely seen the binary search algorithm. If you’re self taught, as many great programmers are, you may not have come across it before. What is the Binary Search Algorithm? The binary search algorithm is an algorithm which searches through a collection of sorted values. It does so [...]

June 17th, 2011 | No Comments | In Flash/ActionScript 3, Javascript, PHP

Xazure Game Engine – ActionScript 3

The Xazure Game Engine has been my pet project for two or three years. Hopefully it’ll be released before this time next year (ideally, before the end of this year). This thread is to introduce the Xazure Game Engine and get you excited. We’ll be making posts about the Xazure Game Engine as we get [...]

June 15th, 2011 | No Comments | In Xazure Game Engine - ActionScript

Quick Tip: Adding Commas to Numbers

A common problem that you may run into when you want to output a number is to add commas. It’s much easier to understand 1,000,000 than it is to read 1000000. I haven’t done this in a while so I did a quick search to see what others were doing to tackle this problem. A [...]

June 15th, 2011 | No Comments | In Flash/ActionScript 3, Javascript, PHP

Padding String in Javascript

Yesterday when I was working on a little Javascript for showing all unicode characters yesterday, I needed a way to pad the string. I did a bit of research and came across a very interesting and handy approach. The Typical Approach The typical approach is pretty simple. You create a loop and just add whatever [...]

June 14th, 2011 | No Comments | In Javascript

CSS content and Special Characters

While I was working on this theme, I wanted to use the content CSS property to add some right-pointing double-angle quotation marks (») for my list elements. So, of course, I used the good ole » to add it in. However, it didn’t work! It took me a bit to realize that you can’t use [...]

June 14th, 2011 | No Comments | In HTML/CSS

First post of Xazure!

Welcome to my new blog, Xazure.net! It may take some time to get content up, but bear with me while I get the ball rolling. My goal is to post at least three articles a week. Along with the new articles planned, I’ll be updating, editing, and bringing over my lessons from HTML Blox, as [...]

June 14th, 2011 | No Comments | In News

Newer Posts

Back to Top