Avoid Using Exceptions as Control FlowsHere are my strongly opinionated arguments against using exceptions to handle validation in API controllers (Rails).Nov 21, 2023Nov 21, 2023
Validation in APIs (Ruby on Rails)Validation is a critical aspect of building robust APIs, ensuring that the data received by your application is accurate, secure, and…Nov 20, 2023Nov 20, 2023
Reading list for new principal software engineersBecoming a principal software engineer is an exciting and challenging role, and it’s important to be well-versed in the latest best…Jan 20, 2023Jan 20, 2023
How to guarantee ordering in a Kafka topic with multiple producersKafka is a powerful, distributed streaming platform that allows for the real-time processing of large volumes of data. One of the key…Jan 17, 2023Jan 17, 2023
How to sort a 1 terabyte text file?Sorting a large text file can be a challenging task, especially when the file is in the order of terabytes. The traditional in-memory…Jan 17, 2023Jan 17, 2023
High Order Function Instead of Decorator for FunctionAn elegant solution for “Decorators are not valid here.”Jan 20, 2021Jan 20, 2021
Zeit.now Using Private DependenciesAn easy way (but probably not the best one) to deploy your Javascript/Typescript application using Zeit.now and use private dependencies…Mar 10, 20201Mar 10, 20201
Persisting State Securely In Session StoreIn my frontend projects, I normally use oauth2 implemented internally by my backend team. The only problem with this authentication…Dec 1, 2018Dec 1, 2018
Wasting My TimeNowadays in job interviews it is common to have a quiz that asks the candidate to solve some problems that look simple at first but that…Jun 30, 20151Jun 30, 20151