Dynamic generation of polygonal 2d meshes is a useful stepping stone to more dynamic shapes. Unity Mesh object can be broken down into two major components, an array of Vector3s and an array of integers. The simplest polygons have equal angles and side lengths, this is an easy calculation to […]
Tool Spotlight: https://app.quicktype.io
Today I had to make Swift structs for the datatypes that are returned from an API. This is usually a rather time consuming process, especially for large data sources. I found this really simple yet helpful tool that takes json objects and converts it to usable structures that you can […]
Expect Beta APIs to change.
When you are writing software again API’s that are marked as beta, expect that things will change. This is true if it’s Apple’s seasonal beta cycle, AutoDesk APIs or any other large companies public/private API Betas.
Sometimes things break
If you randomly start to see 500+ errors on your sites, changes are there’s a bug you didn’t know about. Today I discovered one. One of my projects was returning a 502 error, I reviewed the logs. The logs basically told me that my database find was using too much […]
Ignore the outcome of Async Function in JavaScript
If you have an async function in Javascript that you just want to call but don’t care about the result. You can: func_name().then(). The then part of handling an async function normally takes a function to handle when the async function completes, however you can exclude that function if you […]
Sometimes you’ll have to change your application due to how people use it.
Initial brainstorm phase can only get you so far, the real test of your project is letting general people access it without you looking over their shoulder. Sometimes you will find that your assumptions are wrong, or that you need to add extra fields to the form. Say for when […]
The importance health habits.
Building and maintaining good and health habits as a developer. The more good habits you have less likely you will become burnt out. If you become burnt out it’s extremely difficult and almost impossible to recover from. Some tips of health habits to adopt for yourself: Take a walk outside […]
Brainstorming App Icons
I am using the Bakery App to create app icon mockups, below are a couple of possible icons that I’m thinking of using.
How I Built and Host This Blog
Yes, this blog is in WordPress, however it’s not on a simple shared host. I’m hosting this on Digital Ocean, in a Droplet. This droplet is a linux using an open source toolset known as Dokku, an open source alternative to Heroku. I can host all my websites inside of […]
Useful Tools
If you have to convert numbers like Temperature easily in Swift check out https://www.andyibanez.com/posts/using-nsmeasurement-for-working-with-dimensions-and-units/. I’ve used it in the Weather Driver Application to handle Celsius to Fahrenheit.