Category: machine-learning

machine-learning

Rewriting Strangler Fig

Two decades ago, I posted that I found that the strangler fig plant was an interesting metaphor for the gradual replacement of a legacy system. I didn’t refer to the…

machine-learning

Onboarding to a "legacy" codebase with the help of AI

Much of the attention to generative AI in software development is about generating code. But it may have a more useful role in helping us understand existing code. This is…

machine-learning

Refresh of the PoEAA catalog page

From time to time I take a look at my site analytics to see how much traffic various bits of this site get. When doing this I saw that I…

machine-learning

Instead of restricting AI and algorithms, make them explainable

The steady increase in deployment of AI tools has led a lot of people concerned about how software makes decisions that affect our lives. In one example, its about “algorithmic”…

machine-learning

Testing server calls in generated HTML

Matteo Vaccari completes his article on testing template-generated HTML, by looking at how to use TDD with pages that make calls to the server. more… Source: martinfowler

machine-learning

Testing the behavior of generated HTML

In the story so far, Matteo Vaccari has shown how to test the behaviour of the HTML templates, by checking the structure of the generated HTML. That’s good, but what…

machine-learning

Parameterizing HTML template tests

Testing templates for generating HTML leads to tests that are very similar. Matteo Vaccari wisely likes to separate the common elements of tests from those that vary. He continues his…

machine-learning

Prefetching in Single-Page Applications

Juntao Qiu’s completes his set of data fetching patterns for single-page applications. Prefetching involves fetching data before it’s called for in the application flow. Although this can mean data is…

machine-learning

Code Splitting in Single-Page Applications

Single-Page Applications often require a lot of code to be downloaded to the browser, which can delay a page’s initial appearance. Juntao Qiu’s next pattern, Code Splitting, describes how this…

machine-learning

A short note on how I use and render footnotes

Last week I added a small feature to this website, changing the way it renders footnotes. That prompted me to write this quick note about how I use footnotes, and…