Free books on software development technologies
I’ll update this as I find more: https://goalkicker.com/ https://www.syncfusion.com/succinctly-free-ebooks
I’ll update this as I find more: https://goalkicker.com/ https://www.syncfusion.com/succinctly-free-ebooks
There are various ways to leverage docker to develop AWS lambda serverless functions. One recent method is to deploy Python Lambda functions with container images (as specified here). Another method is to develop the Lambda package from within an Amazon Linux docker container and then upload it to AWS Lambda (more details here). A summary …
Wanting to run Linux command line under windows usually brings you to one of two options: Install WSL (Windows Subsystem for Linux) – the main advantage here is performance optimizations made by Microsoft to take the most advantage of the hardware and OS infrastructure. Install Docker for Windows 10 and then create a Linux container …
I was curious to see how much slower the training of chapter 1 of fast.ai would be on my GPU-less home desktop vs. a basic cloud GPU servers. The first issue was to get the code running after installing torch, torchvision and fastai modules. Apparently, there are some code modifications to make to get things …
Continue reading ‘Training “cat or dog” on Windows without GPU’ »
This was the error I received when trying to import fastbook to study the excellent fast.ai course. I had Python 3.9.1 installed and used pip to install the latest versions of torch, torchvision, and fastai To spare the reader from boring war stories, here’s the bottom line: Download the latest version of torchvision for your …
Continue reading ‘cannot import name ‘mobilenet_v2’ from ‘torchvision.models’’ »
A very good tutorial on creating and extending LetsEncrypt certificates on Bitnami: https://docs.bitnami.com/ibm/apps/gitlab/administration/generate-configure-certificate-letsencrypt/
Seems like a comprehensive set of algorithms in one library, based on a similar Java project: https://pypi.org/project/strsim/
This is probably easier to do for PHP 7.4, but I wanted PHP 7.3 to make sure everything is compatible with existing code. The code below assumes you are doing this in an interactive shell in a Docker container build for creating binaries for AWS Lambda. Doing this is explained here First, install the necessary …
Continue reading ‘Compiling PHP 7.3 with MySQL support for AWS Lambda’ »
There might be a built-in method to do so, but I haven’t found one. I wanted to download packages of all the lambda files I have in AWS and ended up creating a script to do it. Of course you should replace the –region parameter with the AWS region you run your AWS lambda functions …
The short version: logname = ‘processing’ formatter = logging.Formatter(fmt=’%(asctime)s %(levelname)-8s %(message)s’, datefmt=’%Y-%m-%d %H:%M:%S’) handler = logging.StreamHandler() handler.setFormatter(formatter) logger = logging.getLogger(logname) logger.setLevel(logging.DEBUG) logger.handlers = [] # === Make sure to add this line logger.addHandler(handler) logger.propagate = False # === and this line For details, check out this link