J. R. Swab


Go-Hive v0.2.0 - Get Blog Data

Categories: [Technology]

This update contains the condenser methods used to access an account's blog. The only one left out is get_tags_used_by_author since "api.hive.blog" does not have the tags plugin enabled.

Example Usage:

package main

import (
    a "git.sr.ht/~jrswab/go-hive"
func main () {
    c :=...

Create A Quick and Easy Caesar Cipher

Categories: [Technology]

... a Caesar cipher ... is one of the simplest and most widely known encryption techniques. It is a type of substitution cipher in which each letter in the plaintext is replaced by a letter some fixed number of positions down the alphabet. For example, with a left shift of 3, D would be replaced b...

You Need To Stop Using HTML Email

Categories: [Technology]

HTML email is bad and should be considered harmful.

HTML Email Makes Phishing Attempts Easier

HTML emails allow you to make links which hide the URL behind some user-friendly text. However, this is an extremely common vector for phishing attacks, where a malicious sender makes a misleading lin...

Email Lists To The Rescue!

Categories: [Content Creation], [Technology]

I use email lists to send updates on new videos, blog posts, and other things. This way I don’t have to play to the algorithms on the platforms I create within. (This is not really an issue on Hive mind you; but other places love to give your followers what "they" think your followers want to see.)


Go-Hive v0.1.0 - Get Accounts Methods

Categories: [Technology]

Finally got some functionality into the project and I hope to have a good chunk of free time soon to plug away at it more.

What's added in v0.1.0?

  • NewChain helper function to create the chain struct.
  • GetAccountBandwidth to return the "forum" bandwidth for an account.
  • GetAccountCount to...

How to Write an ISO to USB on Linux with DD

Categories: [Technology]

DD(1) is a progam used to convert and copy a file to a desired location.

Usage: sudo dd status=progress if=name-of.iso of=/dev/sdx bs=1M; sudo sync

status=LEVEL The LEVEL of information to print to stderr; 'none' suppresses everything but error messages, 'noxfer' suppresses the final transfer...

Moving To Sourcehut

Categories: [Technology]

Pulled the trigger.

Now supporting Sourcehut financially because this is exactly the kind of source control I want.

$2/month is a great price to support the crew working on this Github alternative for hackers.

I know the claim is that Github makes our repos more easily discovered but after yea...

How To Create a Linked List Using Golang

Categories: [Technology]

Lately I started to practice my data structures to get a better grasp of programming. Today I chose to tackle the Linked List from scratch using Go. I have not had to write a linked list in forever which made this a great mental exercise.

Peer-To-Peer: Our Only Hope

Categories: [Technology]

Peer-to-peer has been around a long time and is decentralized in nature. Yes, this is decentralized without the need for a blockchain. Cryptocurrencies and blockchains are awesome but not everything needs to use that technology to be decentralized. All cryptocurrencies are peer-to-peer but not all peer-to-peer decentralization has to be on a blockchain.

Scripting Server Customization & Setup

Categories: [Technology]

As you well know by now, I am a big nerd. The more I learn, the more I find myself moving away from large desktop environments and window managers to the terminal. The terminal is fast, efficient, and does not hog system resources.

It is to a point now that if I can do it in the terminal then I do...