-
Quick Notes on getting random (pseudo random) numbers in C#
Create an instance of a random number generator: – Random rnd = new Random(); Grab random numbers from it as required using: – int i = rnd.Next(1, 100); double d = rnd.NextDouble(); The latter will give a value between 0.0 and 1.0
-
Notes from setting up Jenkins as another user
Setting up Jenkins to run as another user So, long story but it’s often helpful to do this to avoid problems with rights or setting up Jenkins to work as a desktop user This file: /etc/newsyslog.d/jenkins.conf Needs to look like this: – /var/log/jenkins/jenkins.log jenkins:jenkins 644 3 * $D0 J Make sure it’s root:wheel (sudo chown…
-
“Google Play authentication is required”
Android IAP Testing Sometimes you’ll get a “Google Play authentication is required” error when trying to purchase IAP content in an Android app. These are the steps I use to get around the problem when trying to test an app. Make sure the app version and bundle version are the same as the build you have…
-
What I’ve been up to lately
I’ve been taking a break for a while now (working on house renovations) but have been working on a Entity/Component system in my spare time. Still got a way to go but I’ve made some progress… I’ve built an environment that has a C# app to handle the control side of things with an embedded…
-
Setting up a Mac for iOS dev
The code for the hierarchy display was a mess so I’ve given it a rework. I now have an editor in C# with an embedded C++ DX11 interface. The hierarchy display shows entities and components used in the current scene and I’ve integrated bullet so I’ve got a working physics system. Feel like I’m making…
-
So, what’s been going on?
Spent the last week finalising a project at work. It’s almost done now so I can stop worrying about it. Android is sooo damn painful to finish and ship. I’ve got a few things I’ve been working on at home; 1) Setting up a social networking site in a testbed 2) Getting up to speed…
-
Testing, Testing, 1, 2, 3…
So, here it is. My first blog post. Finally got to a point where I’ve had time to set up a basic blog so I can start writing up notes on the code I’m writing. More to follow…
