Build OpenCV Contrib as a .xcframework, for iOS, on a M1 We needed an OpenCV Contrib module in an iOS app, using Swift Package Manager. I thought the hardest part would be using OpenCV. How wrong I was.
Add a height-flexible placeholder to your UITextView Once you have tasted SwiftUI, this kind of UIKit lacking makes you wish you could refactor a client's whole codebase at a snap from your fingers. At least the UI side of it. But, alas, there is no magic spell for that. Yet. What kind of lacking? UITextView
Prevent TypeORM from eating up all your memory Recently, a client told me that the code I had written to sync their systems and a new datasource blew up their AWS EC2 instances. Apparently, the synchronisation engine kept getting killed for using up too much memory. More than a few gigabytes, actually. To sync a few tens of
Fixing the "this cannot include CR/LF" error when doing Basic auth in Ruby Sometimes, opting for sensible defaults seems obvious. Yet, sometimes, the default and most obvious option isn't the most sensible.
Complex-ish SQL queries in Typescript using TypeORM I have, as a teenager, fiddled around with phpMyAdmin when fooling around with WordPress and OGSpy, back when OGSTeam still relied on SVN for versioning, and I didn't know crap about development, let alone architecture.
Print class-validator validation errors in NestJS A simple way to print any and all errors in Nest.js, for people who aren't experienced with it.
Validate a nested array of objects GET query parameter using a DTO & class-validator in NestJS Sometimes, the smallest things take up quite a bit of time. This time, it was a simple serialisation issue.