Hypercipient

Writing

Here are my latest thoughts. I have a few, I guess.

Priority Queue in Go - Part 2 of n

This is Part 2 in an n part series on building a priority queue in Go. In this part I will explore how to pull items from the queue.

Priority Queue in Go - Part 1 of n

On my road to learning Go, I am implementing various data structures. One I have never implemented is a Priority Queue, so I thought I would give it a try. Here is the first installment: Adding items to the queue and getting in them in the correct order in the backing array.

Python Notes - Part 1 of n

A few things I learned about Python as a Java programmer: Loading modules dynamically, creating objects of dynamically loaded types, parsing CLI arguments and operator overloading.

Building JSON from Raw Input

The command jq is often used to process JSON into other JSON. What if you do not start with JSON, though. It can still help.

What Process is Listening on That Port?

What you need to do to determine which process is listing on specific port

Reading Files With Go

There are different ways to read files, depending on your needs. This guide shows different ways to read files using go and which approach is appropriate for a given situation.

Determining Environment Variables of a Process

When you need to determine the environment variables of a Linux process but it doesn’t log them or otherwise provide them, follow these simple steps to get the environment variables with which the process was launched.

Restructure JSON Objects Using jq

The JSON parsing command jq can do more than extract a subset of elements from JSON. This guide shows some examples you may encounter.

The ln Command - All About Links

Some notes I created, with examples, while doing a bit of studying on the ln command.

Sorting Data from the CLI

Sometimes you just need to put a bit of text in order. This could me numerically or alphbetically. If you need to do this from a shell script or the terminal, the sort command and its friends can help.