SQL 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
Ruby 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.
macOS Failing to install Windows on your Mac, after Bootcamp let you down, part 1 Where we take the world down with us, and burn it all to the ground. All to play Portal 2. Seems oddly fitting.
Typescript 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.
Nest.js 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.
Nest.js 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.
Thoughts It comes down to people buy-in The thought came down onto me as I was leaving a job interview. I don't know where it came from. I didn't care. It was here now. And it was obvious. Whatever the idea. Whatever the project. It all comes down to people buy-in.
Thoughts Everything to be said has already been said… There’s a quote by André Gide, a French author, that goes along those lines: "Everything to be said has already been said. But since nobody was listening, it has to be said all over again" ...
SQL How to retrieve a nested relationship using TypeORM You have a TypeORM entity. It has a relationship. The relationship entity has a nested relationship to a third. And you need that third entity to save the world and crack the bank vault open. How the hell do we get it?
Thoughts The dog and the dragon This story comes from a book, where one of the protagonists tells it to another. One who direly needs to hear it. And little did I know; so did I. This is a story that disturbed me greatly. It almost made me cry. And I couldn't stop from thinking about
Thoughts On blanks and "hum"s… When we don't know, when we need to take some time to consider our answer, to build it. We own it. We own it, we shut up, and we take the time it will take. It's not an issue. On the contrary!
macOS How to export one of those pesky weird PDF forms as a regular PDF Failing to open a PDF form using Preview? Want to export a PDF form to a regular PDF (on macOS)? Here's the solution you weren't looking for.
iOS Development Make your UIButtons come to life After giving our UIViews' both shadows AND rounded corners, today we will learn how to animate UIButtons and make them visually respond to our users' touch!
Thoughts Covid vaccines reticence is a trust issue I have a piece on how most things we try to accomplish in life often come down to people buy-in that has been sitting as a draft for over a year. I still hope to actually finish and publish it here some day in the near future, but answering to
Programming No space left on your Cloud9 environment? Here's how to solve that While using Cloud9, and installing node dependencies, my instance ran out of space. I couldn't finish setting up my project, and the terminal's autocompletion was dead in the water.
RxSwift Getting the last two values from an RxSwift Observable I really can't remember why, but at some point I needed to get a RxSwift Observable's last two values, to compare them and decide what to do next.
Thoughts A world of waste Do you want to sell sugar water for the rest of your life or come with me and change the world?
Swift Programming Solve most of your Xcode problems through Cargo Cult If you are an iOS or macOS developper, you probably work with Xcode. And if you work with Xcode, you've most probably had some weird times where, suddenly, things just stopped working. Here's how to solve that
Serverless Separate concerns and optimize client performances with CQRS using Firestore & Firebase Cloud Functions Optimize your mobile app's performances and run "big" and "complex" queries in NoSQL, using CQRS & Serverless! (in our case, Firestore & Firebase Cloud Functions)
SwiftUI Add a bottom divider to your SwiftUI view! Where we learn to look around thoroughly before blindly trusting strangers.
Swift Programming Give your UIViews and UIButtons some rounded edges and a shadow! Somehow, making a button rounded, and then adding a shadow to it, seems to be more difficult than it should. Here's how to do it in Swift!
Thoughts Life Over The Air Ever heard of the School of the Air? It's an Australian thing, from deep within the Australian outback. A peculiar and quite unusual one at that, until recently.
Firebase Make your Firebase Storage files available on upload Ever uploaded a file to Firebase Storage, only to be hit with a 403 error when trying to access it? Here's how to get a publicly accessible URL for the file you just uploaded.
Swift Programming Memoize your API calls in Swift using functions' scopes! Improve your iOS app's performance and battery usage by not repeating expensive computation and network calls, using memoization, in Swift!
Swift Programming Stop hard coding your cells identifiers Tired of having your app crash on runtime because of a misspelled a tableView's or collectionView's cell identifier? Learn here how to stop that from happening, today!