Why Not document.write()?(opens in new tab)
We’re often told not to use document.write(), but… why?!
Curated river of news
Latest posts from blogs I follow
We’re often told not to use document.write(), but… why?!
Why does DYLD_LIBRARY_PATH keep disappearing!?
Using language models to generate reverse outlines of writing drafts
Introduction In the 25th post of the series, we will be taking a look into parsing of command line arguments in golang. We will be exploring how to do the basic
We all are familiar with Python's generators and all their benefits. But, what if I told you that we can make them even better by combining them with recursion? So, let's see how we can use them to implement _"lazy ...
Proving you're a human on a web flooded with generative AI content
Introduction Well, what a year! If 2021 was a start, 2022 was a year to convert a start into a goal. From collaborating on open-source projects to getting an in
It finally happened!
Introduction In the 24th post of the series, we will be taking a look at how we can perform write operations to a file using golang. We will be using the packag
On the fuzziness of calling things “artificial intelligence” and moving the goalposts
Python's magic methods - also known as _dunder_ (double underscore) methods - can be used to implement a lot of cool things. Most of the time we use them for simple stuff, such as constructors (`__init__`), string representation (`__str__`, `__repr__`) ...
How to make a single user, publish only, mastodon instance with four json files and two pictures
With what's happening at Twitter, many people are considering moving to Mastodon. Like Twitter, Mastodon also offers an API that can be used to create many useful application, bots, to analyze data, respond to notification or simply post some statuses, ...
This is the end.
Making RSS feeds better for hugo static generated sites
The simplest solutions are often the best
In this post I’ll walk through the setup of an example project to show how to build a modern CLI in Rust.
Kubernetes v1.25 introduced Container Checkpointing API as an alpha feature. This provides a way to backup-and-restore containers running in Pods, without ever stopping them. This feature is primarily aimed at forensic analysis, but general backup-and-restore is something any Kubernetes user ...
The hardest things are all in your head
Command line bars you can quickly summon with a keyboard shortcut
This game was easier when I was a kid
Click the gif to see what happens. If you're in the United States GO VOTE!
The infrastructure lies we tell ourselves, and why they're useful.
Google has literally hundreds of APIs, including ones for Gmail, Drive, Maps, Translation, Analytics and more. All of these share the same concepts like authorization, pagination or media uploads/downloads. In this article we will explore all of these concepts and ...
It's Halloween, but this isn't a Stranger Things reference
Reading specific file types (JSON, YAML, TOML) In the previous post, we have seen how to read files in golang, in this extended post of that part, we will look
A little direction goes a long way
Small, scoped areas within a graphical interface that allow users to read and write simple programmes
Introduction In the 22nd post of the series, we will be looking into the file-handling process in golang, in the next few posts, we will cover the operations on
Out-of-the-box, Python standard library ships with many great libraries some of which provide commandline interface (CLI), allowing us to do many cool things directly from terminal without needing to even open a `.py` file. This includes things like starting a ...
Async snippets used to improve performance, but now they’re a legacy anti-pattern. How do we handle them now?
Precision matters on details
simultanous branches for truly scattered development
Python provides a lot of ways to ask questions about your code. Whether it's basic things like `help()` function, builtin functions like `dir()` or more advanced methods in `inspect` module - the tools are there to help you find the ...