Upsert Issue with SwiftData's Attribute Schema Macro using the Unique Option I recently encountered a puzzling crash while using SwiftData. The result? A cryptic Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0) error message. The catalyst? Updating a record in the DB and then... 3 minute read
Utilize a Swift Package inside a Swift Playground New in Swift 5.3 is the ability to embed and use resources (plists, images, xibs, etc..) inside a Swift Package. Additionally Xcode 12 affords us the ability to drag packages... 4 minute read
New Mac Setup Notes Install Xcode and the Xcode Command Line Tools. Upgrade the shell to Oh My Zsh. sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" Open ~/.zshrc Change: ZSH_THEME=”robbyrussell” To: ZSH_THEME=“gnzh” Note: zsh aliases git... 3 minute read
An iOS Game Post Mortem – Boom Boom Bros. Boom Boom Bros is a Rampage inspired TimerMan-style game. Please check it out here, and give it a rating if you like it. Similar to Timberman, the player hacks away... 5 minute read
Preparing a Hadoop Cluster Node for Ambari The following are my notes on preparing a freshly installed Centos 6.5 for inclusion into a Hadoop cluster via Amabari. The goal here is to get a system prepared so... 2 minute read
Setting up an Environment to Build the Hadoop Native Library The following are my notes on how to setup a freshly installed Centos 6.5 machine to compile the Hadoop native library. My reason for doing this was to add a... 3 minute read
Integrating Hardware Accelerated Gzip Compression into Hadoop The following is a set of instruction for integrating HW GZIP compression into a Hadoop DataNode. The compression enabled in this set of instructions is activated on the map phase’s... 6 minute read
Create a bootable CentOS USB drive with a Mac (OS X) for a PC Visit Centos’ web page, https://www.centos.org/download/, and download the iso image you’d like to boot from. When the download has completed, open up terminal and use ‘hditutil’ to convert the *.iso... 1 minute read
Debugging Apache Modules in Linux with GDB/DDD This guide documents the steps required to debug an Apache 2.2.16 module. The module being debugged in this example is the deflate module (mod_deflate.c) as well as the zlib library... 2 minute read