Archive for the ‘Miscellaneous’ Category

Substruct Quickbooks IIF export

Monday, July 14th, 2008 by Marc Uhlig

substruct quickbooks iif export instructions

initial iif import file

The classic shape example, adapted for Haskell

Saturday, March 15th, 2008 by Matthew Elder

Hello, here is a reproduction of the classic Shape example adapted for haskell (The equivalent of “hello world” in the OOP world).

With haskell classes and three different data types (think Java interfaces)


-- define the shape data types
data Triangle = Triangle
data Square = Square
data Octagon = Octagon

class Shape s where
  sides :: s -> Integer

instance Shape Triangle where
  sides _ = 3

instance Shape Square where
  sides _ = 4

instance Shape Octagon where
  sides _ = 8

GHCi output


*Main> sides Triangle
3
*Main> sides Square
4
*Main> sides Octagon
8

With one haskell datatype and runtime pattern matching (think erlang or “parametric polymorphism”)


-- define the instances of shape
data Shape =
  Triangle |
  Square |
  Octagon

sides Triangle = 3
sides Square = 4
sides Octagon = 8

GHCi output


*Main> sides Triangle
3
*Main> sides Square
4
*Main> sides Octagon
8

Which do you like better?

Web Designers

Thursday, February 7th, 2008 by Kai Khoy

I know what your thinking….. sounds like a cool job title, however I know for a fact that these guys who have it on their name badges whether you live in Bakersfield or San Diego put their blood sweat and tears into making it eye candy for us. I can remember a few years ago when flash was considered the coolest thing on the web. I’m not say it’s not cool, but for search ability for major search engines like Google, Yahoo, and Ask.com its terrible. I consider the best site out there are a good blend of design, texture, and simple java scripts. It’s like looking at a page in 2d format verses 3d it makes a huge difference when your surfing that page either looking at content or pictures.

The Chopping Block

Saturday, January 5th, 2008 by Kai Khoy

A few weeks ago I was at a business development meeting at the Bakersfield Chamber of Commerce and during that meeting I quickly notice that many of the business people there when talking about technology lumped hardware and software together without very much distinction. Thus, my main problem when talking to business owner is this constant loop of reeducation of what we do. Kelly and I talk about this and I will use the analogy of breaking a bone and going to the dentist to get it fixed. We both know that does not make sense, however people still believe the same guy who writes code also knows how to fix a server. Not saying that he does not know how to, but there is an assumption that all technology folks are the same.

Christmas photos

Monday, December 10th, 2007 by Kai Khoy

We just took our Christmas photos for our friends and family and it turned out great. I thought the park setting may not work, however with the right lighting it came out perfect.

Srey, Paul, and Me

Please install Flash and turn on JavaScript.