Recent Posts

  • Migration and Consolidation
  • Moving legacy PHP sites from Bluehost to WebFaction
  • July 17, 2014, 6:34 a.m.
  • When I originally created stggolf I had only known how to write HTML and CSS for about 3 months, and I only knew of one hosting provider: Bluehost. Bluehost was perfectly fine and suited my needs well, but I have since moved from PHP to Django/Python as my pref...

  • Continue reading
  • Sorting Algorithms
  • Some basic sorting algorithms implemented in Java and timed
  • May 18, 2014, 12:56 p.m.
  • I wanted some more Java practice before I start my new job as a Software Engineer working with Java, so I decided to implement some basic sorting algorithms and time them. For each algorithm I chose to start by coping the ArrayList into a new one as to preserve the original input. I started ...

  • Continue reading
  • Generic Foreign Keys in Django
  • Using content types for generic foreign keys in Django models
  • May 4, 2014, 5:13 p.m.
  • Sometimes it is necessary to use a generic foreign key in a Django model class instead of a foreign key to a specific model. One example could be a photo model that you would like to use for a profile model and a event model in some kind of social networking app. Django provides this functio...

  • Continue reading
  • Interview prep and Java refreshers
  • Some practice questions and solutions implemented in Java
  • April 27, 2014, 10:48 p.m.
  • In preparation for upcoming interviews for a Software Engineering position, I have decided to post some practice questions and my solutions to them. If you are able to think of a better way to solve any of the questions I would appreciate hearing it. I chose to implement these solutions in J...

  • Continue reading

Categories