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: Just-for-Fun

Anagrams for Fun

During the recent Holidays I visited some friends who are avid Scrabble players. After the visit, I thought it would be fun to write a simple anagram script.

Continue reading “Anagrams for Fun”

Author bduncanPosted on 2023-01-162023-01-16Categories Code Bits, Just-for-Fun, OT

Good Luck and Happy New Year!

The next time Friday 13th falls in January is in 2034.. Good luck!

Continue reading “Good Luck and Happy New Year!”

Author bduncanPosted on 2023-01-132023-01-13Categories Code Bits, Just-for-Fun, OT

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, R3 Comments 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, ratelimit

Reading Week #5

Large numbers are difficult to comprehend.  The national debt for example is kind of mind numbing.  The fun article this week is about insane numbers; imagining the unimaginable.. Continue reading “Reading Week #5”

Author bduncanPosted on 2019-01-28Categories Just-for-Fun, Reading Week

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-Fun

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-Fun

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

Preventing Trainwrecks

I keep a large framed photo of this on the wall in my office to remind me what can happen when things go “off the rails”.. Continue reading “Preventing Trainwrecks”

Author bduncanPosted on 2018-06-222018-06-27Categories Just-for-FunTags preventing disaster1 Comment on Preventing Trainwrecks

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, scripting

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

Friday the 13th One Liner

Just for fun, how many combinations of months are there where Friday falls on the 13th?  This one-liner will print out a table of month combinations along with the years for a given range. Continue reading “Friday the 13th One Liner”

Author bduncanPosted on 2018-04-132018-06-27Categories Just-for-FunTags awk, bash, scripting

Recent Posts

  • openssl wrapper script
  • Anagrams for Fun
  • Good Luck and Happy New Year!

Archives

  • April 2023
  • January 2023
  • September 2022
  • August 2022
  • July 2021
  • 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 (7)
  • Code Bits (14)
  • Data Corruption (2)
  • Detecting Performance Issues (14)
  • devops (27)
  • Diagnosing Issues (9)
  • Documentation (5)
  • Event logs (2)
  • Geolocating (1)
  • golang (1)
  • Just-for-Fun (12)
  • K8S (2)
  • Monitoring (4)
  • OT (6)
  • Problem Solving (5)
  • R (2)
  • Reading Week (6)
  • RemoteWork (2)
  • RTFM (5)
  • Security (2)
  • SRE (32)
  • System Performance (13)
  • Uncategorized (1)
  • WFM (5)

Archives

  • April 2023
  • January 2023
  • September 2022
  • August 2022
  • July 2021
  • 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