MK Bridges

MK Bridges

MK Bridges is an ongoing freelance project I worked on for Martin-Kaye Solicitors.

The firm works with a number of suppliers that provide them clients. Those suppliers need information about the progress of a case such as when certain milestones have been met. Unfortunately MK’s current system doesn’t easily allow for this reporting to third parties and thus they were logging into each supplier’s website and manually entering the data whenever the case updated. As this can happen many times a day for each case the extra workload was high.

MK Bridges is a solution to that problem. It uses daily snapshots of the MK database to work out which milestones have been completed and then sends API calls to the relevant supplier thus saving a great deal of manual labour.

It was developed using ASP.NET 5 with Entity Framework 6 with some sprinkling of Typescript for the client side.

screenshot_016 Oct. 06 16.11

Although the project sounds deceptively simple it was actually quite complex and required quite a bit of back and forth with suppliers and hosting providers to link it all up correctly. There is an internal error handling system that uses Mandril to report on errors, a message request and response logging system and a moderately complex system for filtering information to send and display in the user interface.

Post To Tumblr 5.9

Post To Tumblr 5.9

One thing that has always bothered me with Post To Tumblr ever since version 1.0, and I have finally fixed it in 5.9!

First I should explain how photo posting works in Post To Tumblr. Its pretty simple. First I take the URL of the image the user clicks on from Chrome, then send that URL to my server with some other information (such as formatting options) then I bundle all that up into an API call to Tumblr. Tumblr then takes that URL and downloads it, caching it to its own server returning a URL with the newly created post, I hand that back to the browser for the user to view and we are done.

Now the problem comes if Tumblr is unable to access that image. That could happen if the image is behind a password protected firewall such a GMail attachment or a private Facebook photo for example.

The solution is to upload the image bytes to Tumblr directly so that Tumblr doesn’t have to go and try to download the image from a URL. The problem is that the Tumblr API is a NIGHTMARE. Im not kidding, I have struggled for years (off and on) to try to get this to work with no hope.

An idea came to me the other day however, why not just cache that image on my server temporarily then provide a URL that tumblr can definitely access and use to download the image. Well after an hour or two of hacking I have it working!

Images are cached on my Parse.com backend and will be deleted after a certain period of time.

Im so happy to finally have this working. Now I have this in place I hope to get uploading from the desktop working soon!

Mr Nibbles 3D Development 09 – Animations

Mr Nibbles 3D Development 09 – Animations

Its been a little while since I have posted about Mr Nibbles 3D progress but we have been making progress slowly but surely. After a few hiccups creating and importing animations from C4D we now finally have Mr Nibbles in the game with mostly the correct animations in place, check out this video to see:

As you can see we have a few different idle animations in there which are randomly picked from when Mr Nibbles isn’t moving. Then when he moves he slowly progresses between a walk, run and roll animations.

There is still a few issues with the roll animation but I hope to fix them soon!