Yesterday a friend of mine asked my opinion on a job they took. It's about using OpenCV.js to detect the the colors of a urine strip test from a smartphone camera in a web app.
We bounced some ideas on constraints and assumptions we cold make. Lighting conditions, support to hold the strip during the photo, operator skills, etc.
I showed them what ChatGPT 4 could produce and the result by just providing a prompt of 4 lines is mind-blowing.
Not only it produces code that is sound and works, but it suggested a different OpenCV API approach compared to the one I was thinking of (find contours vs. Haar-cascade detection) that is way simpler and probably more reliable (by just making some tweak to the image acquisition UX).
Impressive!
What was the point of the 'prototypal inheritance vs. classical inheritance' debate in the early 2010s? Nowadays, many new developers probably don't even think about it, and everything still works just fine.
<tsx.is/> is a pretty good alternative to `ts-node`, especially for any local repo script.
Taking a meeting call from a cafe in an industrial area (not that I wanted to, just couldn't be at the office in time). A group next to me started with a round of Aperol Spritz. I guess it's always a good time for a Spritz.