Context: I'm loading data from one database (A) to another database (Weaviate).
Weaviate only supports UUID, however database A is using strings as the primary
identifier for some tables.
Problem: In order to not duplicate data I need to ensure that the string
identifier gets converted to an UUID in …
ChatGPT at the time of writing this blog does not have an official API nor
libraries published. Luckily, many folks have inspected the API calls made
when using the ChatGPT web UI and created unofficial Python clients.
This blog post, will show you how to use the unofficial chatGPT python …
I'm currently taking the class Algorithm: Design and Analysis of Stanford via Coursera and
in the class the Karatsuba algorithm got mentioned. I went ahead and implemented it based
on the lecture slides.
The Karatsuba algorithm is a fast multiplication algorithm. It's special because
it was the first multiplication algorithm …
For a mobile project I required a background worker which sents an email
with 300 generated QR codes zipped together as attachment. This costs
quite some time so we need a background worker to execute this task.
To make my life easier I made a simple decorator which checks if the
parameters are present in the request.POST or request.GET and returns a
response if they are not.
It accepts a list of parameters in string format and will loop through
each parameter to check if …
To install easy_install for a specific python version. I just installed
from source and used the python version you want to install setuptools
too. I used the following steps in Ubuntu 11.04 with Python 2.5 and
Python 2.7 installed. The following commands will install setuptools to
python …