Blog

  • Extroverts: Beware Functional Programming

    As a kid in the 90’s, being anti-* made me feel good.

    In Flash/Flex 2000’s, monolith UI’s using AJAX was also super edgy & super fun.

    At Accenture being in Emerging Tech felt like the pinnacle of my career.

    While I ❤️ Functional Programming and Serverless, it is lonely in minority.

    (more…)
  • Handling Noop Infrastructure in AWS Step Functions

    Spent a month on this and I think I figured out how to get JSON to “roll over” a Step Function step that is a noop (no operation: function that doesn’t return a value), like say AWS Batch. Noop’s (no operation) are steps that basically are full of side effects, but really don’t have a useful return value beyond “SUCCESS”.

    (more…)
  • Body Beast Bulk – 1.1.2020 – 4.4.2020

    Introduction

    I did another round of Body Beast, Bulk version. It’s a body building routine that lasts about 3 months. I did the Lean version last year before my 40th birthday. This year, I wanted to see how lean I can get. I also found out from last year I had lost 9 lbs from simply not eating as much (basically skipping breakfast) and doing a little cardio for fun. Sadly my measurements showed that I had about the same amount of body fat, meaning a lot of my weight was muscle. Still, clothes did feel better and doing cardio things for fun was easier too.

    (more…)
  • Write Unbreakable Python

    Write Unbreakable Python

    In this article, I’ll show you how to write Python with no runtime exceptions. This’ll get you partway to writing code that never breaks and mostly does what it’s supposed to do. We’ll do this by learning how to apply functional programming to Python. We’ll cover:

    • ensure functions always work by learning Pure Functions
    • avoid runtime errors by return Maybes
    • avoid runtime errors in deeply nested data using Lenses
    • avoid runtime errors by return Results
    • creating pure programs from pure functions by Pipeline Programming
    (more…)