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

Tag: awk

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