What an expert programmer should know about regex internals like DFA & NFA state machines

Some people, when confronted with a problem, think “I know, I’ll use regular expressions.” Now they have two problems. — Jamie Zawinski

Like most programmers, I’ve been using simple regular expressions/pattern matching like “/^Foo(bar).*/” for years, but I admit when I need a complex one like a basic email checker:

Everything in software engineering has changed within a decade

Old technology

I was a hands-on technologist 20 years ago, turned to management ten years ago, and am now hands-on again as a consultant. I’m amazed by some changes and surprised by others. Here is a basic rundown of what almost caused my early demise.

Unix Is Back for the Developer (Silver Lining)

In the ‘80s and early ‘90s, a…

Step thru the process of building & training a custom NLP sentiment analyzer.

Do Vulcans express sentiment without emotion? With the power of Machine Learning, we can find out. We shall evaluate famous Spock Quotes using this (yet another) basic guide to Natural Language Processing (NLP) and Sentiment Analysis (SA) methods.

“Once you have eliminated the impossible, whatever remains, however improbable, must be…

My search failed, just like my search for the ultimate pancake

“The modern data stack encompasses a data pipeline, a destination, a transformation layer and a business intelligence/data visualization platform” — Fivetran

I read about every article on the Modern Data Stack (MDS) and listened to a few podcasts, youtube videos, and came to the conclusion

Everyone has their own definition…

My observations in Niseko (Kutchan, Hirafu and Niseko towns)

I am a lover of winter and snow. I bought a house in Niseko (Hanazono, Kutchan area to be more precise) several years ago and am wondering do I sell or hold this now?

“Kutchan was home to the highest increase in both residential and commercial land prices nationwide in…

As 2022 starts, let me reflect on the positives after two terrible pandemic years

Taking a break from my usual tech articles, I thought about what good came out of COVID-life. The 3 lighthearted things I realized were:

  1. I like working remotely
  2. I like spreading fewer germs
  3. I like being at home

1. Work Remote Evolution

Coding tests, design tests, etc — a methodology for interviewing and evaluating software engineer hires

“I don’t know why but I like this candidate, my gut tells me he/she is going to be great” — the wrong way to hire people

In his recent book Talking to Strangers, Malcolm Gladwell notes the science behind “gut feel” and how it is usually wrong. Judges in the…

Research, anecdotal, and personal experience claims teams of 3–8 are the best — but here is what I found

People meeting

The ideal number of programmers on a project is nearly always one. — liberal interpretation of (Fred) Brook’s Law

I am not sure if he really said that, but he did say:

“If there are n workers on a project, there are (n²-n)/2 interfaces across which there may be communication…

Doug Foo

Tech Manager by Day, ML Hacker by Night — founder: foostack.ai

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store