DEV Community

Cover image for 22nd weekly post, remaining ratio. Also, Log4Shell.
LongYC
LongYC

Posted on • Updated on • Originally published at longyc.com

22nd weekly post, remaining ratio. Also, Log4Shell.

Items of the week

  • CSS - aspect-ratio can 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.

This is a weekly bite-sized post on web app development from JavaScript to UX and technology in general. Thank you for reading and have a nice day!

Top comments (0)