RSSAmplifier

Blog

Ari Codes

Recent content on Ari Codes

/RSS feed ↗13 posts

Latest posts

Using Unbound as an Authoritative Nameserver

TL;DR (our example zone is going to be ari.lab, replace that with your domain) Create /etc/unbound/unbound.conf.d/zones.conf with the following content: /etc/unbound/unbound.conf.d/zones.conf auth-zone: name: ari.lab zonefile: /etc/unbound/zones/ari.zone Then create /etc/unbound/zones/ari.zone with the following content: /etc/unbound/zones/ari.zone $TTL 3600 ; 1 Hour $ORIGIN ari.lab. ari.lab. IN…

Fixing "DAP Init Failed" from your Picoprobe

Just get to the instructions! You got it. Background I needed some functionality that CircuitPython just didn’t offer on my Pico, so I followed the excellent Getting started with C/C++ paper put out by the Raspberry Pi company. This worked great up until the part where I didn’t want to unplug and replug my Pico constantly to update the firmware. This was probably one of the most…

Building My Dream Controller

Just get to the instructions! Here’s where the actual build starts. Background There’s been a host of new game controllers coming out recently, designed to give a classic “arcade stick” or “fight stick” experience for modern hardware. Personally, I’m a huge fan of these controllers. I have a fine motor control disorder (more on that later) and precisely…

PiHole Container Exiting as "Complete" After 3 Minutes

If you’re deploying PiHole to a docker swarm cluster, it’s likely that you’re seeing the container exit after 3 minutes with a status message of “completed” - which is a bit strange, given that it’s a DNS server and its job is only complete when it’s replaced with a new one. This is a failure of the healthcheck system built into Docker - for some reason,…

What to do if Pihole-FTL is constantly restarting

What I’ve got for you today is much shorter than my average rant, as the problem and solution are both very simple but hard to search for. Let’s get directly into the issue! What’s happening? If you’re running PiHole in a docker container and are seeing “Lost connection to API” on your dashboard and ads are not being blocked, chances are you’re also seeing…

Brute Forcing Every Axiom Verge Randomizer Seed

What is Axiom Verge? Axiom Verge is a popular metroidvania from 2015 with a sequel coming out Soon (tm). Up until very recently it was developed solely by one person, named Tom Happ. He and Dan Adelman form Thomas Happ Games LLC, with Dan handling the business side of things. Tom is an absolutely incredible developer and one of the most talented engineers I have ever had the pleasure of working…

Building an 8 Node Raspberry Pi 4 Cluster (with Docker Swarm)

Most people visiting this blog have probably heard of the Raspberry Pi before. I’d wager that most people visiting this blog actually own at least one or more of the devices. I’ve actually lost count of how many I own at this point, and I just added 8 more to that number. They’re extremely useful and serve a wide variety of purposes. For those that are somehow not in the know - a…

Remote Controlling a Nintendo Switch for Fun and Profit

For a long time I’ve wanted to proxy controller input from my PC to my Nintendo Switch, and with the introduction of sys-botbase that is now a reality. “But Ari,” I hear you asking, “why would you want to do that? That sounds like it just adds latency.” I’m glad you asked, anonymous reader, because the answer is “because you can do some truly dumb things…

Making a Perforce Server With Docker

Purpose There’s not many Perforce docker images out there, and I haven’t found any that are maintained and well documented. There’s actually a pretty good reason for that - Perforce is messy. It leaves files all over the system, there’s no real option to constrain it to a specific area, and it makes some assumptions about how you want your system to be run that don’t…

Making a Modern Python Package with Poetry

Purpose One of the main problems the Python community faces is complex packaging. Despite being one of the easier languages to get started and go to production with, Python packaging is rather convoluted. There’s not a lot of quality tutorials out there that cover building your own package using setup.py, and the ones that do exist leave out some critical information like the concept of…

"How do I Learn to Code?"

I get asked a lot about how to learn to code. The answer isn’t as easy and clear cut as I would like it to be. There’s a lot of different disciplines of software engineering - almost too many to count, and certainly too many to name. Within each of those there are plenty of specific disciplines and distinctions, which can leave a beginner feeling very overwhelmed. I find it easiest, in…

(untitled)

Hi, I’m Ari Every now and then, I come across or build something that I think is pretty neat and I’d like to share with everyone. I try to stay away from social media, so I started this small site to catalog these things. I love to teach new software engineers and build crazy cloud technology.

(untitled)

Get in touch! If you have any questions, business inquiries, or just want to say hi - feel free to reach out! I’m available at ari@aricodes.net. I offer consulting services on any and all kinds of software projects, primarily focused on web and game development. If you just want to support me in making more content, please consider subscribing on Patreon or buying me a coffee!