PinnedDavid TinginTowards AWS[AWS] DynamoDB batchWriteItem incomplete upload — unprocessed itemsRecently on a work project, I was given our internal API to upload around 50,000 records to the database. Behind the scene, the API uses…Sep 14, 20211Sep 14, 20211
David Ting[Jest] Jest Typescript — mocking static methodRecently, I needed to mock a static method for my unit tests using Jest with Typescript. I’ve come across a few different ways to…Oct 31, 20211Oct 31, 20211
David Ting[Elasticsearch] Search geo-point with polygon across datelineThis was an interesting issue to debug. The solution was simple, but again took me too long to figure out.Sep 22, 2021Sep 22, 2021