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.
Subtitle: Yet Another Tech Interviewing Post There are hundreds and hundreds of blogs about how programming interviews suck, how they ask trivia questions or try to ask questions that only fresh graduates would know well (sort binary trees is the classical example). All these theories are correct, but I have
For web automation/testing, Selenium has been the de facto "standard" since forever. It's simple to get started with and supports almost every programming language. My problem with it has been: It's good enough, but nothing more. It doesn't work that well
This is a guest post by KP, whom I found by a very detailed and thoughtful comment he posted on Reddit /r/godot . If you like the post, make sure to check out his Youtube channel A tale as old as time. You just started to get familiar with Godot,
I've been thinking about supplementing another language to Python for some time – mainly to cope with areas Python struggles with, or is a pain to use (which I'll go over in a minute). I had used C/C++ some years ago, but don't
AWS has a lot of haters. Lots of horror cases where people thought they were on the free account but ended up with a $20,000 bill. We are told Azure has a much better model. You have to manually move to a paid service. No surprise bills. Like AWS,