Lint on Save With VS Code Official Golang Extension

go extension vs code

Go has hard opinions about how you should style and format your code, and because of this, setting up your VS Code environment to enforce linting on save can be very efficient. The big upside of this is that you don’t need to spend hours setting up tools like ESLint, Prettier, JSLint, etc. That said, … Read more

Make, New and Literals Cheat Sheet – Slice and Map Initialization in Go

golang gopher slice literal

There are quite a few ways to create new maps and slices in Go, for example, they can both be initialized using the make or new functions, as literals, or using the var keyword., but which option is best? Or perhaps better asked, which one is best in your situation? Let’s take a look. Slices … Read more

An Intro to Quantum Mechanics; Google’s Claim to Quantum Supremacy

Google Quantum Nature cover art small.0 Copy

The science that deals with the description of the motion and interaction of subatomic particles is known as Quantum Mechanics. Traditional computers utilize the physics of electricity, the flow of electrons controlled by switches, to control their logic. Quantum computers rely instead on the physical properties of electrons, photons, and other tiny bits of matter … Read more

How to Get Consistent Line Breaks in VS Code (LF vs CRLF)

broken piece of wood in snow

Have you ever had the problem where you submit a pull request and the diff is much bigger than it should be? Perhaps the code looks identical but GitHub is telling you that it’s all different? This is typically due to a difference in line endings, primarily the difference of LF vs CRLF. Unix systems … Read more

Simple Setup – Vue Linting in VS Code

eslint vscode

I’m a gopher by nature, so I expect consistent styling and linting in my codebases. More importantly, I don’t like to think about styling. I like to type haphazardly and then have my editor apply styles automatically on save (ctrl+s, cmd+s). If you are the same way, hopefully, this will help you in your next … Read more

Go-CoNLLU – Some Much Needed Machine Learning Support in Go

data has a better idea - machine learning golang

Python is commonly seen as the AI/ML language, but is often a dull blade due to unsafe typing and being slow, like really slow. Many popular natural language processing toolkits only have Python APIs, and we want to see that change. At Nuvi, we use Go for the majority of our data processing tasks because … Read more