/images/avatar.jpg

Programmer, explorer, and life enthusiast. Work for Microsoft and part of Havok middleware team. Views expressed here are my own.

Hugo Website Refresh

Finally made the switch to Hugo after battling with my hand-crafted website for too long. Final straw was that there were just too many out-of-date dependencies which caused everything to break in small and subtle ways. My options were to either spend a lot of time fixing that site or start from scratch. The former option would mean being stuck with hand-crafted garbage that would inevitably break again or switch to something that would last a bit longer (hopefully) and be a bit more battle-tested.

Dev Notes - February 24th, 2019

I decided to refactor my website to make it easier to use and update as well as remove HTTPS support since it was expensive and not really necessary for my needs. In short, huge mistake. First issue was with stopping auto-redirect after disabling HSTS (HTTP Strict Transport Security) and the SSL endpoint. Seems like disabling it should be really straightforward but turns out it really isn’t because browsers cache a lot of information and the default age of HSTS is pretty long (60+ days).

Dev Notes - October 23rd, 2017

In updating my blog finally with some dev notes, it became quickly apparent that my website tech was outdated already. Yet another reason I really don’t like web dev. Few things: Apparently Bower is now deprecated and need to move to Yarn: Prevent this by migrating to Yarn Currently I maintain a ‘private’ version and public version of the website. The reasons I did this seem no longer valid. I’ve been paying to have a secure HTTPS version of the site.

Dev Notes - October 22nd, 2017

Traveling is always my most productive time for random thoughts and coding exercises. Doesn’t always mean clean code in fact it basically never does, but I always have a list of topics I’d like to explore and then when on a plane I finally have time to do that. This time I tackled a few topics: SQLite-net Reveal.js Browser extensions (webpack, TypeScript) Reveal.js For work, I create presentations using PowerPoint quite a bit.

Emscripten

As it happens, we can’t actually build native plugins since VSCode is built off Javascript/Typescript. I have a vague memory of setting up Emscripten in the past and it not being that painful to setup, but this experience was less than pleasant. The major issue I ran into was that ‘emcc.bat’ calls ‘Python’ but the default version of Python that I use is 32-bit while the binaries included in most standard versions of Emscript are 64-bit.

Web Programming for Console Developers

As a C++ programmer by profession, every few years I look into the web and scoff at it. The tools are usually nowhere near the robustness I’m used to and the level of control I have is just not the same. As a type-safe programmer, Javascript upsets me and the likes of jQuery scare me. But over time I’ve come to realize that this is in great part due to my fear of the unknown.