Apps About
Software Design - Validator Pattern
Development

It’s quite typical for a Domain Driven Design (DDD) project to need validation for it’s domain models. While it may be sufficient to solve this by adding an IsValid() method to each model, this can cause confusion for the developer by cluttering the model class, and/or by requiring the IsValid() method to be generalized that it covers a large range of validation rules for any situation that may arise. Let’s work with an example.

Read more...

XJ Build - 10/8/18
XJ Build

This post is the second part in my mini-series of restoring my old xj cherokee. If your interested, check out my attempt at saving the rusty roof.

Like most xjs out there, especially those in the rustier parts of the US, the rocker panels needed some love. I never really captured a good before shot of the rust on the passenger side rocker. It was roughly 9" in length and about 3" wide. I finally decided it was time to fix it when I managed to puncture a hole in it using my key. (You can even see the hole in the picture if you look close).

Read more...

XJ Build - 9/03/18
XJ Build

I’m a big fan of older vehicles. I just love the simplicity of them and how easy they are to work on them. Plus the cost of parts really can’t be beat. Since my civic is far from snow worthy I also own a 2000 Jeep Cherokee. It may not be the prettiest vehicle out there but it’s never let me down, and has successfully traveled 20,000 miles in it’s first year of owner ship with a couple road trips ranging in the 800-1000 mile range.

Read more...

Civic Build - 6/23/18
93 EG Hatch Build

Ten months of work finally pays off

I enjoy working on my own vehicles but by far the best part is finishing up. While it took longer than I hoped, and the deadlines I kept setting for myself came and went I can say it was worth the wait. Today was the second day of driving, and started off with topping off the tank. It hadn’t been gassed up since last September and was pretty much on E.

Read more...

Civic Build - 6/9/18

Getting ready for the test drive

While the car may not be on the road yet, it’s come quite a bit closer to getting there. Lately I’ve been working on fixing everything that was sub-optimally done previously by me. One of the things I didn’t do quite right was the clutch pedal pin. Since the car was an automatic initially, I had to source out some parts for the swap. I ended up buying just a generic pin for the clutch master cylinder to hook it to the clutch pedal. Interestingly enough the metal was fairly soft as the pedal has worn a fairly noticable grove into the pin itself.

Read more...

No Mans Blocks - 6/4/18
Development

Creating Time (literally!)

I have a knack for forgetting what I’ve managed to accomplish on the game during the week. To try to overcome this so I have updates I can post on it, I’ve started writing down each accomplishment on a sticky note.

Read more...

Civic Build - 5/20/18
93 EG Hatch Build

Finishing things up

With the weather warming up it’s been making me miss the civic quite a bit. While it may not be the fastest car out there I do enjoy riving it. I had the chance to work on it a bit more this weekend. To get myself motivated I started by getting the radiator mounted in place. After that I wired up the charge harness.

Read more...

C# Threadable Queue
Development

Implementing a Thread-Safe Queue

One of the most useful data structures when it comes to multi-threading is the queue. However, queues in c# aren’t thread-safe by default. Thankfully it’s easy enough to implement your own as we will do today. Let’s start by defining our class.

Read more...

No Mans Blocks - 4/20/18
Development

Playing Around at the Bit Level

This weeks adventure has been exploring object serialization. Initially I was using the serializable attribute to convert my objects into byte arrays but for some objects such as the voxel chunks this is far from ideal. Since I don’t want to handle serialization with 2 different methods I’ve decided to bite the bullet and roll my own set up.

Read more...

Civic Build - 4/15/18
93 EG Hatch Build

Connecting the Pieces

It’s easy to forget just how many parts you’ve removed until it comes time to put them all back together. I know I’m probably not alone when I say I’ve fallen victim to scope creep many times now. In the end you always tell yourself never again yet it keeps happening…

Read more...