Let's Talk Data

  • Home
  • Books
  • Recommended Materials
  • About

Method Chaining Gone Wrong

Method chaining is the feature available in many programming languages to stack method calls in one line, with each method accessing the object the previous method returned. Compare: The first block’s MyObject class uses traditional setters whereas the second block…

By Phillip Johnson | December 30, 2013 | Programming | No Comments |
Read more

N-Queens Part 3: Success

In the last two posts we explored three different algorithms for solving the n-queens problem. If we wanted to actually implement one of them, we would need to consider which one performs the best. However, performance can be measured in…

By Phillip Johnson | December 26, 2013 | Programming | No Comments |
Read more

N-Queens Part 2: More Algorithms

N-Queens Part 2: More Algorithms

Last time we were considering the following n-queens board with a current heuristic cost of 5:By making just one move, the best decision would be to move the second queen to the space marked 2. However, to find that move,…

By Phillip Johnson | December 9, 2013 | Programming | No Comments |
Read more

N-Queens Part 1: Steepest Hill Climbing

N-Queens Part 1: Steepest Hill Climbing

The n-queens problem was first invented in the mid 1800s as a puzzle for people to solve in their spare time, but now serves as a good tool for discussing computer search algorithms. In chess, a queen is the only…

By Phillip Johnson | December 2, 2013 | Programming | 8 Comments |
Read more

Finding the colors used in graffiti through clustering

Earlier this week, a Graffiti “museum” of sorts in New York was destroyed. Graffiti artists from around the world came to contribute to the ever-changing murals at 5Pointz. To combine millions of colors into just 32 obviously removes a lot…

By Phillip Johnson | November 24, 2013 | Viz | No Comments |
Read more
  • « Previous
  • Next »

Search

Recent Posts

  • How to Write a Text Adventure in Python Appendix A: Saving A Game
  • Java for the Real World Video Course
  • Vaadin Flow Trepidation
  • Java for the Real World Updated for Java 11
  • Java Build Tools: Ant vs. Maven vs. Gradle

Most Popular Posts

  • How to Write a Text Adventure in Python
  • How to Write a Text Adventure in Python Part 1:…
  • How to Write a Text Adventure in Python Part 2: The…
  • How to Write a Text Adventure in Python Part 3:…
  • How to Write a Text Adventure in Python Part 4: The…
  • PostgreSQL generate_series() Tricks
  • N-Queens Part 1: Steepest Hill Climbing
  • How to use the Yelp API in Python
  • Creating Voronoi Diagrams with ggplot
  • Java Build Tools: Ant vs. Maven vs. Gradle

Recent Tweets

Tweets by @phillipcjohnson

Recent Comments

  • Jason on How to Write a Text Adventure in Python Part 1: Items and Enemies
  • bhargz on How to use the Yelp API in Python
  • The0Wolf1 on How to Write a Text Adventure in Python Part 2: The World Space
  • The0Wolf1 on How to Write a Text Adventure in Python Part 2: The World Space
  • Daniel Schwan on How to Write a Text Adventure in Python Part 3: Player Action

Categories

  • Exploratory
  • Other
  • Portfolio
  • Probability
  • Programming
  • Statistics
  • Uncategorized
  • Viz

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Copyright ©2025 Let's Talk Data | Theme by: Theme Horse | Powered by: WordPress