Trading Fish The website of Hector Castro

Writing

A chronological archive of writing with short summaries and topic labels for faster skimming.

Unexpected AirPlay Interference

Debug a surprising macOS development issue caused by AirPlay Receiver listening on port 5000 instead of the local app.

  • debugging
  • macos
  • airplay
  • onboarding

Origin Story

A personal story about finding a path into computer science, struggling through the early years, and persevering anyway.

  • career
  • education
  • personal
  • engineering

Parsing Data in Rust with Nom

Parse Advent of Code input in Rust with nom and use the exercise to learn a parser combinator workflow.

  • rust
  • parsing
  • nom
  • advent-of-code

Every Other Friday Off Work Schedule

Break down a 9/80 schedule and show one concrete way to organize the hours that lead to every other Friday off.

  • schedule
  • work-life
  • productivity
  • career

Leaving Comments on My Own Pull Requests

Explain why leaving comments on your own pull requests can improve onboarding, review context, and documentation.

  • github
  • pull-requests
  • collaboration
  • documentation

How I Make Slack Work for Me

A practical set of Slack habits and features that make day-to-day collaboration more manageable and less noisy.

  • slack
  • productivity
  • communication
  • leadership

Validating Data in Python with Cerberus

Use Cerberus to model and validate structured Python data, illustrated with an Advent of Code passport problem.

  • python
  • validation
  • cerberus
  • advent-of-code

Haskell Code Katas: Counting Duplicates

Work through a Codewars duplicate-counting kata in Haskell and unpack the thinking behind the final solution.

  • haskell
  • algorithms
  • functional-programming
  • codewars

Installing Tor on FreeBSD 11

Install and configure Tor on FreeBSD 11 with a practical walkthrough and pointers for understanding what the software does.

  • freebsd
  • tor
  • networking
  • privacy

Raft Leader Election in Consul

Follow Raft leader election in a small Consul demo and connect the paper's concepts to real log output.

  • consul
  • raft
  • distributed-systems
  • debugging