Unable to find remote helper for 'SSH'

I'm using Bamboo as a build server and decided that I would connect to BitBucket with git/ssh instead of using their BitBucket option since I don't want to use username and password. The error I got was: Unable to find remote helper for 'SSH'.

Turns out it was due to capitalization of the protocol. Just change SSH: to ssh: and it'll work out. Pfft!

2016-12-09
Read the full post

Server and client responsibilities

So, the messaging and server/client got really messed up. It was confusing to share logic within the same nodes. I had to restructure how the client and server part was built up. And removed alot of "magic" and made every message more explicit.

I also drew up small guide lines for what should happen where so it was crystal clear how it was to be implemented.

2016-12-09
Read the full post

Synced data containers for players and server

I found that sending data back and forth between clients and server got messy and unstructured. I made wrappers to structure the transfers back and forth. Sometimes you want to send a list of positions and velocities for the physics engine, sometimes you want to update the inventory of an actor. It can get very messy when dealing with all these different data operations if you don't structure it. I solved it by wrapping data in containers, registering them with a handler and connected them with an identical counterpart on the other side.

2016-11-22
Read the full post

Less garbage with a reusable array

This is the most boring post of all times. I recently hit some performance issues in the form of sudden spikes in frames. I thought it had to do with garbage collection since it cropped up every 250-300ms. So I pulled my pants up and made a ReusableArray<T>. That wasn't the culprit, but still, now I have less garbage. I created some List<T> every frame where I kept my meshes that should be drawn which went through some linq to determine inside frustum, etc. However, I notices that the garbage was collected a bit less and it didn't run for as long as it did before.

2016-05-17
Read the full post