Udemy

On Udemy, you can find a huge number of courses of all kinds, at all levels — and to be honest, of all qualities. Fortunately, it’s possible to get a refund if you haven’t purchased the course too long ago and if you haven’t completed too many lessons. So here’s a tip: quickly watch two…

|

AWS lambda and layers

How to add a layer made with numpy and pandas and allow your lambda to call it. Create a package #!/bin/bash # 🔧 Configurable variables LAYER_NAME=”pandas-layer” PYTHON_VERSION=”3.10″ PACKAGE_DIR=”python” ZIP_NAME=”${LAYER_NAME}.zip”  mkdir -p $PACKAGE_DIR python$PYTHON_VERSION -m pip install pandas numpy -t $PACKAGE_DIR echo ” Creating zip file…” zip -r $ZIP_NAME $PACKAGE_DIR echo ” Layer package created: $ZIP_NAME” Add this package to your lambda layer Create a lambda…

IntegerToBinary

Something that is quite often asked in interviews, but rarely encountered in the day-to-day life of a developer, is determining the binary representation of an integer. In Java, for example, there are built-in methods to accomplish this (Integer.toBinaryString(number);), but it can also be useful to know how to do it manually, especially when dealing with…