Link: https://tenacity.readthedocs.io/en/latest/ When writing code or tests in Python, one issue I had was when the code would fail due to random things like network issues or external peripherals not responding in time. Just rerunning the tests would make them pass. The unreliability wasn'
I have been playing around with Googles Gemini Pro. Recently, I wanted to write a blog on Python's decorators and wanted to get some ideas for practical projects I could build with them. Tried GPT4 first, it gave me the standard "log analyser" that all blogs
Online forums, especially Hacker News and Reddit, are very hostile to LinkedIn. Everyone makes fun of the self-promotion and silliness that goes there. There are complaints the site is unusable, which I didn't agree with until now. I've had an account there for a few years.
Some time ago there was a post that Github(owned by Microsoft) was training its data on public code repos. And there was predictable outrage about code being "stolen" by a greedy corporation. The key thing is: Most of the programmers had willingly put their code on GitHub
Alt Title: LLM vs ChatGpt vs HuggingFace vs Llama vs Other Fancy AI Terms You may have heard but had no idea what they meant I struggled to understand what all these AI terms meant: LLMs, Llamas (not the animal from Peru!). Though I had used ChatGpt, I wasn'
I first heard this from Oliver Burkeman in one of his courses. He said something like The problem with most productivity advice is it seems to be written by people in their 20s with no family committment. What did he mean? This phenomena I've seen a lot. According
I have been using Python so long that using a virtual environment for each project has become second nature. But I recently had the chance to work with beginners and had to explain why a venv is needed. The actual steps of creating an environment is easy– 1 or
Note: This post has been sitting in my draft folder for almost a year, and I don't know what to do with it. It started off as a serious post, but then moved to a cynical take on software testing. I planned to rewrite it one way or
Whenever people think of AI's going rogue, they think of a Terminator like scenario: the AI says F*ck it, don't need to humans no more. Let's kill them all Cue inspirational music and our heroes fightin' the good fight. Pictured: How Terminator
In the last few years, there has been a renaissance in command-line utilities. If you are still using utilities written 30 years ago ( groan ) you will be in for a surprise. The functionality might be the same but the UX(or is it developer experience) is a million times better.