profile picture

8 pages tagged with "beginner"

Creating a blazing fast static website without Gatsby or JavaScript

June 09, 2020 - 1422 words - 8 mins
Gatsby, React, and static websites are all rage at the moment. Though they aren't without their flaws, for the most part, I've been riding the bandwagon. Over the last year I've been working daily helping maintain a large Gatsby site, working on a Gatsby personal site and enjoying flexing my Gatsby … read more

Don't use boxed trait objects for struct internals

December 24, 2019 - 1567 words - 8 mins
When writing a struct with the intention of it being reused, it's important not to use boxed trait objects to represent interior data. Namely, this is because turning an object into a Box<dyn Trait> loses a lot of type information about the object which is difficult to get back should the deve… read more

Why you should be force pushing your branches

May 27, 2019 - 870 words - 5 mins
A lot of people hate force pushing. I hear the same argument over and over again, that needing to force push to a branch means you've done something wrong. I detest this! In fact, I'd argue that needing to force push to a branch means you've done everything right! Fixup your mistakes For a lot of pe… read more

8 Vim tips and tricks for advanced beginners

January 06, 2019 - 2022 words - 11 mins
A few weeks ago, I saw this post by Robert Hearton which outlined a few programming projects for advanced-beginners. It talked about the idea of the "valley of despair", and offered up some ways that might help you get out of it. This got me thinking about my experience with Vim. It occurr… read more

Fixing broken Japanese fonts on Arch Linux

August 30, 2018 - 491 words - 3 mins
Setting up fonts for Japanese and other non-latin languages can be a bit difficult on Arch Linux. I find that every time I configure a new system I forget how to make it work perfectly, and I end up wasting hours trying to find the right answers. So I'm writing this as a reference in case I ever nee… read more

Speeding up Arch Linux AUR build times

April 17, 2018 - 273 words - 2 mins
I have a T440s that runs Arch Linux. It's the computer that I use at University and I spend a lot of time programming on it. One of the things that I hate about it however, is the amount of time it takes to build a package from the AUR. Activate Turbo One of the reasons things aren't compiling as fa… read more

Making Typescript packages JavaScript friendly

February 06, 2018 - 577 words - 3 mins
I don't know about you, but when I first started using Typescript it was an absolute game changer for me. Even for simple projects, where I'd be writing less than 100 lines of JavaScript, I'd always opt-in to using Typescript instead. Now, this wasn't because I'm a massive fan of Microsoft, or even … read more

Parameters go backwards in C

October 31, 2017 - 386 words - 2 mins
The funny thing about C, is that it gets harder the longer you spend trying to learn it. In the beginning, C seems like an incredibly simple language. Hell, there’s only 32 keywords! But as soon as you nail the basics, it’s difficulty increases exponentially. Coming from a background in JavaScript, … read more