If you’re like most people, you use Google Chrome as your default browser, you use Google as your default search engine, and you don’t often think about online privacy much further than that. Why should huge tech companies make fortunes at the direct expense of their users’ privacy?
There are a lot of ways you can protect yourself and your privacy online, if you care enough to make the effort.
If you use Google Chrome as your default browser, the browser itself is spying on you. …
Find my new blog at https://dev.to/matjones/
Recently, I decided that I wanted to move away from Google Drive and Google Calendar, primarily for privacy reasons. I started searching around for a self-hosted alternative, because I wanted to be in full control of my data, and I came across Nextcloud, which perfectly fit my use-case, with one caveat; it only runs on Unix systems, and I was running Windows Server on my home lab server at the time.
I decided that since the only thing I was running on my server at the time was Plex, I’d migrate to a Unix-based server, as Plex runs on both…
When COVID-19 first broke out, it forced a massive shift in the workplace; the only way to survive as a business was to have employees work from home. And it seems like work from home policies are here to stay, at least in the tech industry. The company I work for only had an “as needed” work from home policy before the pandemic, but now we will have an option to work from home full time, even after the office reopens, an option which I think many will take advantage of.
So, since we’re going to be working from home…
Code comments once served a critical purpose; adding context or explanation to a snippet of code. But this was back when programming languages were mostly esoteric, and the barrier to entry for writing code was extremely high.
Today, though, we have extremely expressive programming languages, like C# (especially since the addition of LINQ), Python, Kotlin, etc. that make code comments virtually obsolete. With a highly expressive language, nearly all comments become unnecessary, because it’s easy to write self-documenting code; the code is easy enough to understand at a glance that you don’t need comments anymore.
TypeScript is a great language. TypeScript takes JavaScript and makes it actually good. If there’s one glaring weakness, it’s the inability to use strongly typed catch blocks. However, this is mostly due to a design flaw in the JavaScript language; in JavaScript, you can throw
anything, not just Error
types.
Consider the following, completely valid TypeScript code:
It’s easy to see why this can be a problem. One use-case where this is less than ideal is consuming a web API from TypeScript. It’s quite common for non-success HTTP status codes (500 Internal Server Error…
Software engineer, network admin, online privacy and security advocate. https://github.com/mrjones2014