Programming Leftovers
-
Developers Should Deploy Their Own Code
This is the platonic ideal. We're not there yet, but the all signs point to this rather than specialization.
Applications and their infrastructure (functions, queues, permissions, runtime) have always been closely intertwined. Fewer handoffs mean quicker deployments and less context loss.
-
Markdown Sans Front Matter
I changed how I format my blog posts. I’ve been testing this new format for a while and I like it so much I retroactively went through previous posts and re-formatted them too.
In this way, the purist in me has beat out the practical guy. But hey, it’s an eternal struggle. The practical guy will be back when the purist gets knocked over the head by the complexity of the real world and suddenly realizes the value of the practical guy’s argument.
[...]
Now when I start a blog post, I have a blank editor staring at me and I just start writing, not worrying about the technical details I’ll have to add later.
-
Reading Notes: Accelerated Expertise
Specifically, there are some things which we are good at teaching people to do, like calculus or playing the piano. We have well-tested syllabi for these types of things. Then there are some things we just don’t know how to teach people, like software engineering, solving crossword puzzles, flying helicopters, and noticing improvised explosive devices in urban environments. Some people get really good at them, and others don’t. If you ask an expert what they are doing so well, they will shrug and go, “I don’t know, but it felt right at the time.” These are the types of skills Accelerated Expertise deals with. Anyway. These are a few of my notes from the book. These points are, to the best of my recollection, paraphrasing what the authors wrote. Most of it was backed by at least somewhat solid research. My personal experiences don’t always agree with this, but it’s still worth keeping in mind.
[...]
It is important that training also covers conceptual models and abstractions. Giving the learner the right language, so to speak, helps them communicate with the instructor and gives them tools to reflect on their own.
-
Default To Large Modules
When you design a system of decent size, whether it’s software or something else, you are going to have to decompose it into subsystems, or modules.
-
Guru: Regular Expressions, Part 2 - IT Jungle
In the first part of this series, I showed how to replace characters in a string using SQL and regular expressions. This time, I’ll show other regular expressions that are available for us to use. The regular expression functions I’ll show are REGEXP_COUNT and REGEXP_LIKE and the examples come from production programs that I’ve recently implemented.
In the first example (Figure 1), I want to get a count of the number of occurrences of a pattern within a string. To make this more interesting, I’m searching for two different patterns within a sting. To accomplish this objective, I used REGEXP_COUNT to get a count of how many times the pattern appears in a string.