Introduction In Jane Street’s Andy’s Morning Stroll puzzle we’re given the following prompt Andy the ant has spent most of his days living on a strange land consisting of white hexagons that are surrounded by alternating black pentagons and white hexagons (three of each), and black pentagons surrounded by five white hexagons. To us this land is familiar as the classic soccer ball we see above on…
Ruby blocks look like lambdas. But a block does not get its own return, when Ruby encounters return inside a block, it returns from the method that supplied the block. Any code waiting for the block to finish is skipped along the way. This is called non-local returns and can be unintuitive when you’re new to Ruby
Introduction In Jane Street’s latest puzzle, ‘Pent-Up’ Frustration 3 / Knight Moves 7, we’re given the following prompt The board above has been tiled with the 12 pentominoes (plus a 2-by-2 tetromino) into 13 regions. Think of each of these 13 regions as constructed out of 1-by-1-by-1 cubes. We need to add a tower to each region. A tower is an additional size-1 cube placed on one of a region’s…
Tenets are set of guiding principles that align your decisions to what matters most, they serve as durable decision rules that resolve recurring trade-offs. Every team must have them clearly defined in order to succeed.
When diagnosing a memory leak I suspected was caused by orphaned processes, I ran into a snag with ps not being available within the AWS Lambda NodeJS runtime (potentially other ones as well).
Introduction Amazon Web Services (AWS) powers the internet, each of outage results in millions of loss potential . The AWS SDK is what enables developers to utilize the various AWS services. The AWS SDK JS is on its third version, with the latest version introducing a middleware stack enabling developers to customize the SDK behavior via the middleware. Common usages for the middleware are:…