Mark Grealish

Cats and wizardry.


2018

December


Remap a JavaScript Object

Eh, gods, this one bothered me a fair bit. At work our API returns some data that I’ve found I have to remap. As it happens with any organically-grown system, there are a number of small inconsistencies between different objects with similar attributes. For example: interface Foo { ices: { type: 'vanilla'; } } interface […]

From Oregon!

My ex-wife has moved herself and the kids to near Bend in Oregon. The kids love it there-the Internet is better, there’s so much outdoors to get lost in, and it’s snowed consistently over the past few weeks. Only last night Garrett blistered his hands in the cold because he kept going out in the […]

Hólavallagarður

Hólavallagarður (Holavallagarthur) graveyard in Reyjkjavik, Iceland.