Blogs on Tony Grosingerhttps://grosinger.net/blog/
Recent content in Blogs on Tony GrosingerHugo -- gohugo.ioen-ustony@grosinger.net (Tony Grosinger)tony@grosinger.net (Tony Grosinger)Sun, 01 Apr 2018 00:00:00 +0000What is a Tool Library?https://grosinger.net/blog/2018-04-01-what-is-tool-library/
Sun, 01 Apr 2018 00:00:00 +0000tony@grosinger.net (Tony Grosinger)https://grosinger.net/blog/2018-04-01-what-is-tool-library/For the last year I have been telling nearly everyone I meet how great tool libraries are. I tell them to search their city name with the words &ldquo;Tool Library&rdquo;, because there is probably one close to them. Where I live in Seattle, there are 6 within 25 miles!
So many tool libraries Almost every time I get the question &ldquo;What is a tool library?&rdquo; and I think that&rsquo;s a very fair question to ask.Unnest with Reflection in Gohttps://grosinger.net/blog/2018-03-03-unnest-with-reflection/
Sat, 03 Mar 2018 00:00:00 +0000tony@grosinger.net (Tony Grosinger)https://grosinger.net/blog/2018-03-03-unnest-with-reflection/<p>Recently at work I needed to write a utility to sync a PostgreSQL database
with another data source. In my attempts to make the synchronization
efficient, I came across a very helpful StackOverflow question which
explained how to perform bulk insertions and updates. The recommended
solution looked something like this:</p>
<p></p>Homelab Phase 1 - Completehttps://grosinger.net/blog/2018-01-28-home-network-phase-1/
Sun, 28 Jan 2018 00:00:00 +0000tony@grosinger.net (Tony Grosinger)https://grosinger.net/blog/2018-01-28-home-network-phase-1/As discussed in a previous post, I started breaking improving my home network for the sake of knowledge and experience acquisition. But before I could get very far, I needed a plan. I wanted to at least theoretically be increasing my network security, and I hoped to enable playing with technologies used at work such as Kubernetes. Finally, this was an opportunity to see the ExtraHop network monitoring tools, which I have helped create, as a customer.Root Certificates Containerhttps://grosinger.net/blog/2018-01-21-root-certs/
Sun, 21 Jan 2018 00:00:00 +0000tony@grosinger.net (Tony Grosinger)https://grosinger.net/blog/2018-01-21-root-certs/<p>This website, like most of the services I host in my <a href="https://grosinger.net/series/homelab">homelab</a>
runs in a Docker container which is hosted in a small Kubernetes cluster. I&rsquo;ll
go into more detail about the Kubernetes cluster in a later post. In this post
I want to demonstrate a very simple container I have created which bundles the
root certificates distributed with most operating systems, making them available
to the application running within.</p>
<p></p>Grithttps://grosinger.net/blog/2018-01-10-grit/
Wed, 10 Jan 2018 00:00:00 +0000tony@grosinger.net (Tony Grosinger)https://grosinger.net/blog/2018-01-10-grit/<p>Grit, in addition to being the sand in your food, is the term given to the
character trait of sticking with something. Persistence in a passion. A runner
with grit, for example, sets a goal to complete a marathon, trains for
weeks in advance, and conquers the challenge, despite there being significantly
easier methods of traversing those 26 miles.</p>
<p></p>To Homelab?https://grosinger.net/blog/2018-01-02-homelabbing/
Tue, 02 Jan 2018 00:00:00 +0000tony@grosinger.net (Tony Grosinger)https://grosinger.net/blog/2018-01-02-homelabbing/My home network worked really well. It was stable, fast, and simple. I had a standard consumer-grade wireless router, a modem better than the one provided by the cable company, and a switch to hook up the ethernet to various rooms. The server holding my media and running a couple small websites sat in the front room and routed all of the port 443 and 80 traffic coming into the house.No, I'm not learning Esperantohttps://grosinger.net/blog/2017-11-08-esperanto/
Sun, 05 Nov 2017 00:00:00 +0000tony@grosinger.net (Tony Grosinger)https://grosinger.net/blog/2017-11-08-esperanto/But I sure wish I was. Have you learned about this language?
The Esperanto Flag I had heard about it. I knew it was some sort of failed attempt at a universal language. I knew that very few people spoke it, and they were probably &ldquo;weird&rdquo; in some way.
But that is all I knew. Sadly, most of what I thought I knew was wrong or just a very small part of the truth.Workbench Upgradeshttps://grosinger.net/blog/2017-11-05-workbench-upgrades/
Sun, 05 Nov 2017 00:00:00 +0000tony@grosinger.net (Tony Grosinger)https://grosinger.net/blog/2017-11-05-workbench-upgrades/When I moved into my house there was a workbench in the basement. This bench was a custom made, one-of-a-kind, piece of crap. But I did&rsquo;t know that yet.
For the first several years I thought this bench was great. It had a hard plywood top that I wasn&rsquo;t afraid to get dirty. It had storage drawers and shelves to keep my fasteners and some tools in. Best of all, it was free.Running TiddlyWiki on Node.jshttps://grosinger.net/blog/2017-09-18-running-tiddlywiki/
Mon, 18 Sep 2017 00:00:00 +0000tony@grosinger.net (Tony Grosinger)https://grosinger.net/blog/2017-09-18-running-tiddlywiki/TiddlyWiki is an awesome personal wiki, but if you have found this page then you probably already know that. Either you know me personally, and I won&rsquo;t stop talking about it, or you have searched for TiddlyWiki explicitly and don&rsquo;t need me to tell you about it.
I have been using TiddlyWiki to keep track of just about everything for the last couple of years, from packing lists to general research notes.Bicycle ReConstructionhttps://grosinger.net/blog/2017-08-15-building-the-bike/
Tue, 15 Aug 2017 00:00:00 +0000tony@grosinger.net (Tony Grosinger)https://grosinger.net/blog/2017-08-15-building-the-bike/Before building an electric bike, I first need a bike suitable for electrification. With the expected expense of the project, I wanted to ensure I was building something to last. For the past few years I have been riding an ill-fitting mountain bike which actually belongs to my fiancé, so the first step was going to be finding a bike I liked enough to call my long-term rider.
Growing up I always had a cheap mountain bike.De-Duplicating Unit Test Setuphttps://grosinger.net/blog/2015-11-11-deduplicating-unit-tests/
Wed, 11 Nov 2015 00:00:00 +0000tony@grosinger.net (Tony Grosinger)https://grosinger.net/blog/2015-11-11-deduplicating-unit-tests/Go (or if you are using a search engine, Golang) has great unit testing functionality built directly into the language. Create a file ending in _test.go and define a function with the signature func TestMyFunction(*testing.T). Executing go test will now run any tests in the current package. Very easy.
As an application grows however, the number of tests explodes and it maintaining organization becomes difficult. To solve this problem, while developing the new REST API at ExtraHop I began using GoConvey from the very gracious developers at SmartyStreets.A Better Recipehttps://grosinger.net/blog/2014-04-20-a-better-recipe/
Sun, 20 Apr 2014 00:00:00 +0000tony@grosinger.net (Tony Grosinger)https://grosinger.net/blog/2014-04-20-a-better-recipe/I have always had trouble with recipes. The instructions are always located at the bottom well after the full list of ingredients is displayed. So guess what happens… yup, I go down the ingredients list adding each to a big bowl as I go. By the time I read the instructions and learn there was a specific order it is far too late.
I have been reading The Little Schemer and came across a nearly perfect solution that I just had to share.