Not enough tests
GoBlog’s test coverage is increasing (currently about 41%), but I keep being reminded there is nothing like enough or even too many tests. I still find some stupid bugs that aren’t covered by automatic tests.
GoBlog’s test coverage is increasing (currently about 41%), but I keep being reminded there is nothing like enough or even too many tests. I still find some stupid bugs that aren’t covered by automatic tests.
I’ve never really done test-driven development (TDD). But Advent of Code offers the perfect opportunity for that, because there is already an example input and an example result. So it is possible to create a test first and program until the test passes.
Previously, to work on my code server, I always installed Visual Studio Code locally and then accessed the server using the Remote SSH extension. But that no longer seems necessary now that I have code-server installed. Using code-server, Visual Studio Code can be easily used in the browser. Cool project!
Yesterday I read this article by Vincent Warmerdam describing his new home setup. He uses an Intel NUC running Linux, which he can program on well, and accesses it via his laptop or a Mac using Visual Studio Code.
🖼️ View
I’ve seen several mentions of PlantUML recently and I’d like to share a few thoughts on it as well.
I recently rediscovered the ability of Visual Studio Code to develop on remote machines. Just connect to a server via SSH and develop there.
This thought was written using Visual Studio Code from my Surface Go, but via a SSH remote connection to my ASRock Deskmini.
When you host your static website on a service like Netlify, it’s not that easy to get statistics of your website visitors without violating their privacy by using tools like Google Analytics. Because it’s a static website you can’t use some statistics plugins the way you can in WordPress and it’s also not possible to view which pages the server is serving, because Netlify doesn’t give you access to it’s logs.
Advantages, statistics and my own experience
🖼️ View
If you’re an Android developer and learned to love the benefits of open source, you may want to publish you’re own libraries sometime. A common used services for building and providing Android libraries is JitPack. It’s a user friendly alternative to jCenter, which takes a lot of pain from the process of publishing a library. It’s as simple as adding a few lines of code to your project.