The Cult of Gary

Archive for May, 2008

25 May

Google Search History

I learned something neat tonight. You can view your google search history. That’s not new.
Now you can break it down by service, like news, images, maps, etc. One of the breakouts is sponsored links. That means you can see the google ad words you’ve actually clicked on. Mine appears to be mostly for key words [...]

23 May

PHP Array Order - Another reason why php sucks

I can’t come up with words to describe this:

#!/usr/bin/php
$array1 = Array( ‘a’, ‘b’, ‘c’);
$array2[2] = ‘c’;
$array2[1] = ‘b’;
$array2[0] = ‘a’;
var_dump($array1);
var_dump($array2);

results in:

array(3) {
[0]=>
string(1) “a”
[1]=>
string(1) “b”
[2]=>
string(1) “c”
}
array(3) {
[2]=>
string(1) “c”
[1]=>
string(1) “b”
[0]=>
string(1) “a”
}
My expectation is that the second array should be identical to the first. It should ignore the order I put the elements in, because I’m adding them [...]

16 May

Customer Dimension Vs Customer Fact Table

I’m re-reading the classic The Data Warehouse Toolkit by Ralph Kimball. It’s a great book for learning about data warehousing. I figured it was worth a refresh. In my current project, I’m working with some large data sets and I’ll be using data marts to make analyzing the data easier. 

I’m at the section where he talks about CRM and [...]

© 2009 The Cult of Gary | Entries (RSS) and Comments (RSS)

GPSwordpress logo