Skip to content

bill duncan's blog

Performance Matters (and Other Tidbits from the Trenches)

  • Home
  • About Me
  • Contact bill duncan
  • Links
bill duncan's blog

Category: Code Bits

Command Line Interface Guidelines

Anyone who knows me, knows that I am most comfortable and at home on the unix/linux command line. Continue reading “Command Line Interface Guidelines”

Author bduncanPosted on 2020-12-21Categories Code Bits, devops, RTFM, SRE, WFMTags bash, cli, commandline1 Comment on Command Line Interface Guidelines

Riddler: Can you solve the not-so-corn maze?

I love AWK and I’ve written about it before… Continue reading “Riddler: Can you solve the not-so-corn maze?”

Author bduncanPosted on 2020-06-262020-07-27Categories Code Bits, Just-for-Fun, OT, RLeave a comment on Riddler: Can you solve the not-so-corn maze?

Hiring Questions, Problem 3

This was an interesting question, so I thought I’d share it here.. Continue reading “Hiring Questions, Problem 3”

Author bduncanPosted on 2020-03-252020-03-26Categories Code Bits, Just-for-FunTags hiring, interview, ratelimitLeave a comment on Hiring Questions, Problem 3

Hiring Questions, Problem 2

While most technical hiring questions aren’t all that relevant, this one might be more generally useful. Find duplicate files; the trick was the speedup.. Continue reading “Hiring Questions, Problem 2”

Author bduncanPosted on 2018-09-082018-10-26Categories Code Bits, Just-for-FunLeave a comment on Hiring Questions, Problem 2

From the Get Go!

Learning a new computer language can be fun! Stretching ourselves to think about problems in new ways.. Continue reading “From the Get Go!”

Author bduncanPosted on 2018-08-262018-08-26Categories Code Bits, golang, Just-for-FunLeave a comment on From the Get Go!

Interactive bash Scripts

Building interactive commands that uses editing history and tab completion can be easy in bash and serve as a wrapper for automating tasks. Continue reading “Interactive bash Scripts”

Author bduncanPosted on 2018-07-292018-07-29Categories Code Bits, Just-for-Fun1 Comment on Interactive bash Scripts

Hiring Questions, Problem 1

A colleague of mine once posted a hiring question to ask prospective developers: “What is the least significant 10 digits of the series: 1^{1}+2^{2}+3^{3} .. 1000^{1000} ?”

Continue reading “Hiring Questions, Problem 1”

Author bduncanPosted on 2018-06-212018-06-27Categories Code Bits, Just-for-FunTags awk, bash, LaTeX, modular exponentiation, scriptingLeave a comment on Hiring Questions, Problem 1

awk, the Often Ignored Little Language

Many people use awk for one-liners; picking out fields from logs, doing pattern matching. It’s capable of so much more however. IMO, the “littleness” of the language is one of it’s strengths. Continue reading “awk, the Often Ignored Little Language”

Author bduncanPosted on 2018-06-202018-08-30Categories Code Bits, Just-for-FunTags awk, recursion, sudoku1 Comment on awk, the Often Ignored Little Language

Bitrot, Part 2

This article has a link to a simple script I’ve used for over a decade to detect corrupted files. It will detect and report on files that have changed, been added, deleted or possibly moved within the same directory structure. Continue reading “Bitrot, Part 2”

Author bduncanPosted on 2018-06-192018-06-27Categories Code Bits, Data CorruptionTags bitrot, data corruption, filesystemLeave a comment on Bitrot, Part 2

Recent Posts

  • NOTAM for SREs
  • Command Line Interface Guidelines
  • The Tail at Scale Approximation

Popular

  • The Tail at Scale
  • The Tail at Scale Revisited
  • Checklists and Runbooks
  • NOTAM for SREs
  • The Tail at Scale Approximation
  • Operations in the Cloud
  • Shades of Grey
  • Last Week’s Security Earthquake
  • Seeking SRE
  • awk, the Often Ignored Little Language

Archives

  • February 2021
  • December 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • December 2019
  • November 2019
  • October 2019
  • May 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018

Categories

  • Aviation (6)
  • Code Bits (9)
  • Data Corruption (2)
  • Detecting Performance Issues (14)
  • devops (21)
  • Diagnosing Issues (9)
  • Documentation (3)
  • Event logs (2)
  • Geolocating (1)
  • golang (1)
  • Just-for-Fun (10)
  • Monitoring (4)
  • OT (4)
  • Problem Solving (5)
  • R (2)
  • Reading Week (5)
  • RemoteWork (1)
  • RTFM (5)
  • Security (1)
  • SRE (25)
  • System Performance (13)
  • Uncategorized (1)
  • WFM (2)

Archives

  • February 2021
  • December 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • December 2019
  • November 2019
  • October 2019
  • May 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • Home
  • About Me
  • Contact bill duncan
  • Links
bill duncan's blog Proudly powered by WordPress