Archive for the ‘Code’ Category

Video Game Merit Pin

Technorati Tags: video games Finally, the Boy Scouts are encouraging something more socially relevant that my Firem’n Chit

Read the rest of this entry »

ADTs, Data Structures, And Problem Solving With C++

This is the textbook that Regis University used for my Advanced Data-structures class. The author, Larry Nyhoff, provides ample explanation, examples, and code to make the subject palatable. Moreover, he also helps the student (i.e. me) to see patterns where efficiency and simplicity of code merge. However, I didn’t find everything to be sunshine and [...]

Read the rest of this entry »

Nice site to quickly test your JSON

I was fighting with a JSON implementation today and needed to find out why my JSON wasn’t parsing and http://www.jsonlint.com/ came to the rescue, it’s a good way to quickly validate that you have built properly formatted JSON.

Read the rest of this entry »

Fun Facts: Ruby

I’m a C and C++ sort of guy, the higher-level the language the most mystified I tend to be. One such example I found while building a class in Ruby: class calendar require ‘Date’ attr_accessor :year, :month, :day end This does not work, why? according to irb: SyntaxError: compile error (irb):8: class/module name must be [...]

Read the rest of this entry »

yay, I broke gcc

brian@bjl-dv9700t:~/src/bjl_mvc$ make g++ -g Dispatcher.cpp Main.cpp Event.cpp I_Control.cpp Delegate.cpp: In static member function ‘static void delegate::method_stub(void*, Event) [with T = My_Client, void (T::* TMethod)(Event) = cb_f]’: Delegate.cpp:39: internal compiler error: in make_decl_rtl, at varasm.c:1256 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: *** [all] Error 1

Read the rest of this entry »

Boost

For anyone who has become familiar with Boost C++, I think you’ll agree, that’s some crazy stuff. -b

Read the rest of this entry »

Converting a Nanoblogger to an XMLRPC blog

A few people out there may have noticed that I updated our blog software about a week ago, I used to use Nanoblogger and today I am using WordPress. In order to make the conversion as seemless as possible, I decided to attempt to convert as many of my posts automatically as I could. Using [...]

Read the rest of this entry »