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…

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…

Media, anecdotal evidence, and hard research into the “geek syndrome” for Engineers — what’s the truth?

One could argue about stereotypes like lawyers talk too much, doctors have God complex, bankers are jerks, CEOs are ruthless, and software engineers are weird! As a fellow engineer let me analyze this rude but semi-true stereotype.

Why Engineers may seem weird

Most professionals come from a variety of backgrounds while engineers are from a…

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