Pinned Content
A New Board Game: {macro}Dungeon
Escaping The Amazon
1000 Words
Making A Userscript For Micro.blog
My youtube-dl Setup
A Thank You Letter To Developers 
Custom Post Type Indicator
February 7, 2022

Creating My Own Dynamic DNS Using Porkbun API

Most people don’t have a static IP with their home internet service. Some ISPs do offer you one for an added fee each month, but for some reason my ISP thinks that is somehow worth a $75 setup fee and then an addition $15 a month. Considering the monthly bill is $65, that seems a like a bit much. I don’t strictly need a static IP, but it would be nice to have a memorable address to remotely access my home network. Think something like remote.mydomain.com rather than 97.234.76.276. I started looking at the various services out there that provide Dynamic DNS services with small apps that will automatically update upon your IP changing. These services are pretty nice, but are also a monthly fee, so at the end of the day why not just go the static IP route? They also generally have weird urls that I am not really a fan of, something like yourname.ninjadnscoffeeaddict.net. I would prefer to just use my own domain.

I never really thought about doing this myself until I realized that my awesome domain provider, Porkbun, has an API that allows you to programmatically update aspects of DNS records! That’s pretty sweet, huh? I got to work with some web searches and used Paw, which is part of Setapp to start messing with some calls to see if I could get something figured out. After a bit of fiddling, trial and error, and some more searching, I ended up getting a script working that would do the following:

  1. Check to see what my current WAN IP is
  2. Make a call out to Porkbun with my credentials and update sub.domain.com with the WAN IP from step one above.

This is what that script looks like. Bare with me, I know it’s probably not the best scripting out there.

#!/bin/bash

#grab wan ip from canhazip and set variable to output
output=$(curl http://canhazip.com)

#display wan ip for troubleshooting
echo "$output";

#wait 2 seconds
sleep 2s

#update dns ip of sub.domain.com via porkbun api
curl \
--header "Content-type: application/json" \
--request POST \
--data '{"secretapikey":"sectret_key","apikey":"my_key","content":"'$output'"}' \
https://porkbun.com/api/json/v3/dns/editByNameType/domain.com/A/sub

I then made this script run on a semi-frequent basis via a launch daemon. Since the IP from my ISP only changes every few weeks (or after a reboot of my gateway), I have it set to update once every 12 hours. This is not a mission critical feature so If I have to wait a bit for it to get sorted, it’s fine. I assume it’s obvious this is not mission critical given the way I am going about this. 😬

What would make this better? Well, a couple things.

  1. I really should be checking to see if the IP has even changed, and if it hasn’t, don’t push an update.
  2. The call I am using to get the WAN IP is hacky and should probably be done by pulling from inside vs outside.

Not usre if this is actually useful for anyone, but I wanted to make it public in case it triggers some other ideas for people. 😀👍

Porkbun API DNS IP WAN
February 1, 2022

Stop Driving Wedges.

This was originally written in December 2021 for the Hemispheric Newsletter as part of One Prime Plus for the Hemispheric Views podcast.

Not everything needs a deadline. For that matter, not everything needs to be finished. Whether you look at January 1 as a new year, a fresh start, a major life reset, or a continuation of the last month, a deadline is still a deadline.

deadline
dĕd′līn″

noun

A date on or before which something must be completed.

We all have projects going all the time. They may be professional, personal, or somewhere in between. Hell, you may not even realize or call it a project, but it is. For the vast majority of projects in a professional capacity, there are at least fairly clear boundaries around start and end. Those are not the projects I want to focus on here. Here I want to talk about the projects that are for you, or at least mostly for you. Organizing that comic book collection, sewing some new curtains for the bedroom, writing your first book, landscaping the backyard, getting your bookshelf in order, anything will fit, pick your project. More than likely you have at least once tried to impose a deadline on that project, and it was most likely an arbitrary one. You then felt bad for not meeting that timeline, and this put a wedge between you and the reason you wanted to work on that project to begin with. Soon, enough wedges have been put in place that you lose all sight of what the project meant to you to begin with.

I suppose it’s natural for us humans to set these boundaries and a lot of it comes from cultural conditioning as well. (Don’t get me started on the idiotic notion of hustle culture 🤮). I don’t have any affinity for the new year” meaning anything special for me, but time off around the holidays did get me back to thinking about some unfinished projects and going down the immediate guilt route of reasons they are not finished.

I will pick two examples for this narrative.

Example One: Board games and projects that are in a partially completed state. I was thinking about the second board game that I started creating and how it was feeling a lot like the first in terms of progression. I got a lot done, then it sat for over a year, and then I got back to it and got it released. This second game is a lot like that. A large percentage of the game is completed and needs to be pushed over the finish line. I have set several end goal dates and they have all passed, putting more of those pesky wedges in place. After some more thinking about this situation, I had a realization. That first game was left in a state that was perfect to pick back up when I needed a project like that in my life. Because I had that project in a state that could be picked up at any time, it was there for me when I needed it. I was making the game for myself, I was not beholden to a publisher, just myself, so the arbitrary due dates were serving no purpose other than driving those wedges.

Example Two: Photography projects that are not yet started and simply exist as ideas jotted down. Unlike the 1000 Words project that I managed to convince myself from the start would be over when it’s over, this other project was not so lucky. This other project immediately was assigned a due date, for no reason at all, and has been passed by. I want to take this opportunity (writing this letter) to realize that a wedge has been created and instead use this project as a type of therapy. I will leave this project open-ended, and work on it and add to it as I need to, not because there is a deadline. Not all things need to be done by a certain time and/or date. Heck, not everything needs to be done at all.

For whatever we are calling this January 1 and beyond, I want to explore the use of personal projects as therapy, not additional unneeded stress on top of the real-world stress you are already buried underneath. It’s hard to believe when we look around, but, life isn’t about the volume of output. When the uncontrollable outside forces are crashing down, I want to climb under an umbrella of a personal passion project and enjoy it. I am no longer going to hang my existence or emotional worth on whether it gets done, but rather on the interactions along the way. Remember, it’s for you, not someone else.

Projects Hobbies Deadlines Photography
January 1, 2022

Internet Bucket of Consumption

This was originally written in December 2021 for the Hemispheric Newsletter as part of One Prime Plus for the Hemispheric Views podcast.

Generally I tend to prefer applications that focus on a single task and just do that single task well. However, lately, I am liking the idea of having a single place to read things that originate from the web.

Over the years my collection of things from the web has changed more times than I can count. One thing that was always a trend however was the use of multiple apps. Instapaper, Pocket, Raindrop, GoodLinks, Abyss, ReadKit, Pinboard, Feedly, News Explorer, NetNewsWire, insert 1000 more app names.

After some exploration and experimentation I have landed on a new setup for getting stuff into and out of my internet bucket of consumption™.

TL;DR The Bucket” is Reeder 5 on macOS, iOS, and iPadOS and the net that scoops everything up is Feedbin. This is also the sync system.

IMG_3094.jpeg

The Longer Version

The Consumption Sources”

  1. Newsletters

    These are subscribed through Feedbin using a special email address (xxxxxxxx@newsletters.feedbin.com) provided by Feedbin. When they hit Feedbin I use a couple features built into automate where to end up. They are tagged Newsletter automatically and then ::starred.:: Reeder then recognizes this starred state so they are easy to get to when I am ready to dive into some newsletters. This also means they won’t be accidentally skipped (marked as read) in my main reeder feed. One quick tap to the starred section in Reeder and all my available Newsletters are waiting to be read. 👍

  2. RSS Feeds

    Nothing too special here. All RSS links are added to Feedbin. Done. One special reason to use Feedbin is that you can setup actions based on keywords within the feeds you subscribe to. I use this to filter out content that I don’t care to see in my river of news.

IMG_0007.jpeg

  1. Read It Later

    Reeder 5 has a Read It Later feature now that syncs through iCloud. I use this to store articles that comes from RSS, my email, or just randomly on the web. There are extensions that are baked into the system that stem from Reeder as you would expect.

    Sharing

    Reeder does a nice job of letting me share items out as well, from a simple copy of the source link, to more advanced send-to locations, it covers all my needs for sharing neat things I find on my travels through the web.

    This system has been working very smoothly for me and has made my travels across the web a little easier and more more enjoyable. ::One thing of note: the only thing that made me go away from Reeder a while back was due to the animations making me feel nauseous. Weird? yeah I know. But, never fear, they can be disabled and all is well now.::

IMG_3095.jpeg

Feedbin Read It Later RSS Newsletter
December 1, 2021

A Spark of Creativity

This was originally written in November 2021 for the Hemispheric Newsletter as part of One Prime Plus for the Hemispheric Views podcast.

I have been in a photographic slump over the last couple years. I imagine this is the case for many people given what the last few years have included.. There have been a few shimmers of creativity that have come and gone in that time, but it’s been mostly dark. I recently felt a resurgence and it caught me by surprise so I thought I would attempt to explain it in the hopes that it might be helpful for others. Creativity often strikes when you least expect it and that was the case this time.

I have loved photography for quite a long time, and when the cameras in our pocket computers started really getting good, things changed forever in terms of what it meant to be a photographer and even what the word photography’ meant in general. The greatest benefit of a pocket computer camera is not the photo quality, the lens selection, or even the dynamic range. Those are all getting better by the day, but the real power is just how fast you can go from zero to captured.

Pocket computer camera capture steps.

  1. Grab Device
  2. Swipe the screen to the left.
  3. Capture.

That’s it. I know, right!? Now contrast that with using my standalone camera.

  1. Make sure you actually have it with you. And if you actually do, get it out of your backpack.
  2. Flick power switch and wait for it to start up.
  3. Make sure all the settings are correct so you can actually capture something useful.

Same number of steps. but, A LOT more time.

I sound like I am saying my pocket computer is better than my standalone camera in every way, so why have the standalone camera? I can see how it sounds like that but that’s not the conclusion I am attempting to steer you toward. I really just want to say that for some, myself included, the barrier to getting going again comes down to the input effort required. The above steps using my pocket computer means I am getting back into the swing of things quickly without even thinking about it. And just like that, this initial push has got me thinking about and starting a new photography project using my standalone camera because it’s better suited for that project than my phone is.

I touched on the capturing portion of the process above, but what about the post capture process, how did that play into the reigniting of my creativity? Well, it would be hard to find anyone that feels it’s easier to edit, export, and share photos from a standalone camera vs your pocket computer. (Although I am sure someone out there thinks this?) Anyway, for me, the power of trying different edits, duplicating the image to try different crops, and having this all instantly available for saving and backing up is wonderful for a creative endeavor. Sometimes waiting is best for a creative idea to build, but other times you have an idea right there in the moment and this pocket computer camera makes this all possible. Right now.

So, in my journey back from the brink of darkness thanks to my pocket computer, there were a couple great apps that most have probably heard of but I wanted to mention just in case.

Getting going again is hard. Trust me, I know.

Take this 590 words and see if you can use it to help you build something creative for yourself.

Photo of a fountain pen nib

Photo of a concrete pathway through tall trees

Photography iPhone Halide Darkroom TouchRetouch RAW
November 1, 2021

How I Craft.

This was originally written in October 2021 for the Hemispheric Newsletter as part of One Prime Plus for the Hemispheric Views podcast.

Let’s not pretend like this is the first time you have heard me go on about Craft. I am not here to sell you on it, convert you to the ways of Craft, or even tell you why it’s better than whatever you are already using. I am just going to give a look inside how I organize stuff within it so that it may be of some service to someone who has used Craft, is thinking about using it, or wants some more input on how to perhaps better organize things within the system they are already using.

Getting Stuff Into Craft 📥

Getting stuff into Craft seems like a good place to start. Like a lot of apps that capture information, there are multiple ways to get info into the system and Craft is no different. I generally pull / push information into Craft in one of three ways.

  1. Original authoring within the application. This can be text or other content like images.
  2. Sending to Craft from Drafts.
  3. System Share Sheet within other applications.

Organizing It All 🗂

Craft has an organizational feature called Spaces. These spaces all live within the Craft interface and are a way to silo information into separate buckets. Think of this as a way to logically sort various parts of your life while still having access to everything within one environment. You can do something similar with folders all within a single Space, but that will depend on each person and what they prefer. I manage all my info across several Spaces.

Craft Spaces.png

Spaces

  • Jason Burk
    • My personal notes and stuff I am working on.
  • Archive
    • Once a note has lived its life and is no longer useful I move it to an archive space. This gets it out of my general working on stuff area, but leaves it available on the off chance I need to reference it. I could just export these and let them live in cold storage, but this is a nice compromise that adds some convenience.
  • Burk Home
    • This is a shared space with my wife where we keep all stuff related to home life. Our home wiki’ lives in here.
  • Coffee Pot Games
    • Anything to do with the board games I am working on goes in this space.
  • Hemispheric Views
    • A shared space between Andrew, Martin, and myself. All show related stuff goes in here. Show notes start out here, a running topic pool, and any other info related to the Hemispheric Views Empire.
  • Work”
    • This is all notes related to my work at NAME REDACTED. Being able to keep all my research, daily interactions, meeting stuff, and whatever else in a nice clean and searchable space is wonderful. I use the Secret Link feature (more on this below) at work a good bit as well so I can create dashboards for others to easily view and get info from. It beats the hell out of SharePoint.

Getting Stuff Out of Craft 📤

Craft has a number of ways to export content for use in different ways.

  1. Share
    • Secret Link
      • This allows you to create a shareable link of your note so others with the link can view the contents of your note but not edit it. The content will update for them as you make changes. You can revoke the link as well at any time to remove it from being publicly viewable.
    • Send as Email
      • Allows you to send a copy of the note content via your local email client or Gmail.
  2. Export
    • PDF
    • Image
    • Markdown (I use this one all the time)
    • Textbundle (I use this for exporting all notes as backup, see below)
    • MS Word .docx
    • Copy Deeplink (This is great for adding a link to another note or a specific place within a note)
    • Print
  3. Send To (These will be active or disabled based on what you have installed on your system)
    • Drafts
    • Things (This is great if you add some tasks to a note while talking with someone. Simply select them, send to Things, and those tasks are now created in Things!)
    • DevonThink
    • OmniFocus
    • iA Writer
    • Ulysses
    • Bear
    • Day One
    • NotePlan

Backup, Backup, Backup 📦

Backup is critical when it comes to storing your information. I like that Craft has multiple options for exporting documents. Here is what I do for exports.

Repeat for each space 🔁

  1. Export all documents as Textbundle. This feels like the most universal output for long term storage.
  2. Collect all exported folders into a dated folder.
  3. I store the most recent 3 backup folders in iCloud Drive, and roll the oldest ones off into cold storage’.

Now that I have typed this all out, it feels way more complex, but it really isn’t! Again, whether you use Craft or not, maybe something in here will trigger a part of your brain that will help you with another system you are using perhaps. Craft keeps growing and refining what it is and I am very happy with the direction this ship is sailing. ⛵️

A few other public Secret Links” as examples of what it can be used for

Game Status

Hemispheric Views // Media Corner Picks

Craft Notes
Jason Burk | 1999-2022
blot.im! | 🧛‍♂️
📦 Blog Archives 📦

#FreeAds
top