- Open a bash window in Windows 10 (Start + “bash”)
- Connect to the Mac using ssh [username]@[ipaddress]
- e.g. “ssh jenkins@192.168.1.100”
- If you get an error saying “Connection refused” then you’ll need to go to “System Preferences ->Sharing” on the Mac and enable “Remote Login” for the user you want to connect as
- Type your password
- You should now be looking at a bash script commandline interface to the mac
Category: Bits
“The item you requested is not available for purchase.”
If you’re working on Android IAP (GooPlay) and get the message “The item you requested is not available for purchase”, the problem will be one of the following: –
- Ensure you’ve uploaded a build to GooPlay
- Make sure the IAP name you’re requesting has been set up in GooPlay (under “In-app products” in the Google Play Developer Console)
- Make sure the IAP is set to “Active”
- Make sure the Google Play account you’re using has access to the app you’re trying to make the purchase from (Make sure you’re set up as a tester in the “Manage Testers” section of the GooPlay console.
- Make sure the bundle ID is set correctly (matches GooPlay bundle ID) on the build you’re testing with
- Make sure the Version (and Version Code) matches the latest GooPlay published build
- Email yourself the tester link from GooPlay and make sure you’ve clicked the “BECOME A TESTER” link on the device you’re using
- Make sure you’ve installed the app from GooPlay before attempting to run a local build. Without this step, GooPlay has no recorded install for the device you’re using so it won’t talk to it and it’ll block traffic (or ignore traffic) from the test app. This is, ultimately, the reason the above message is being shown.
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
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 with a friends website so I can help him with that and 3) working on my own game engine.
The game engine is my big target and I’ve made some progress building it as a Component/Entity system instead of my usual old-school setup. It hit a point this week where the data-driven nature of the engine started to help rather than hinder progress. Up until now I’ve been thinking that I might have bitten off a bit too much but this week it started to pay off.
Working to integrate Bullet now (http://bulletphysics.org). Have been using it in games for years but have never reached a stage where I’ve needed to have a serious physics system in one of my games. Got the basic integration up and running this evening so I hope to have a few entities bouncing around tomorrow.
Also discovered https://drive.google.com/ this week. Handy little cloud drive that’s easily accessible. Finally became comfortable with Git and also played with https://www.engineyard.com/ which is a very nice way to setup servers to allow testing of web environments.
ok, still not sure about this blogging malarkey but I’ll keep adding entries anyway. Toying with the idea of writing a blog on setting up DX11…
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…