Viewing posts about Algorithm.

K-means Clustering on Hiking Adventures

Six years of hiking in the Upper Peninsula has taken me to a lot of cool places. Mulligan Plains, High Rock Bay, Ives Hill (Lookout Mountain), and the McCormick Tract are all locations that I never dreamed existed during my years at Michigan Tech, places I only found after research and exploring…

  • Category Web Development
  • Posted July 31, 2014
  • read more

Slightly Shuffled

Shuffling with tolerance of two

It's pretty easy to shuffle a list/array in PHP. There's a function, shuffle(), that will simply randomize the order of elements. It also assigns new keys to the array, possibly a side effect of the internal algorithm that it uses. However, if you want to partially shuffle an array, there is no…

  • Category Web Development
  • Posted July 1, 2014
  • read more

Activity Stream

  • Read Elantris (Elantris, #1) by Brandon Sanderson.
  • Read It by Stephen King.
  • Read Mistborn Trilogy (Mistborn, #1-3) by Brandon Sanderson.
  • Read Tress of the Emerald Sea by Brandon Sanderson.
  • Read Rhythm of War (The Stormlight Archive, #4) by Brandon Sanderson.
View more activities…