Items of the week
aspect-ratiocan be used to set a preferred width-to-height ratio of a box, it accepts values of
<ratio>data type, e.g.
16/9. More about this CSS property is explained on MDN Web Docs.
AWS Lambda - the context object passed to a handler function includes a method
getRemainingTimeInMillis()which returns the approximate remaining execution time before timeout. Picked that up from chapter 6 of Serverless Architectures on AWS.
On the week 49 of 2021, we saw a remote code execution vulnerability on the popular Java logging library - Apache Log4j. Now also known as Log4Shell, the exploit allows arbitrary Java code to be executed, more details about this on LunaSec blog.