Golang: JSON YAML TOML (config) File Reading.(opens in new tab)
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
Curated river of news
Latest posts from blogs I follow
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 ...
A successful software crash
Introduction In the 21st post of the series, we will be exploring the file paths in golang, we will be exploring how we can deal with paths. By using packages l
Every Python developer is familiar with the `self` argument, which is present in every* method signature of every class. We all know how to use it, but do you _really_ know what it is, why it's there and how it ...
A love letter to tools that changed everything for me.
Introduction Error handling is quite an important feature of any programming language to improve the quality and transparency between the user and the applicati
I started watching YouTube sailing videos in about 2014 when I discovered Sailing la Vagabonde. I’d never really considered that sailing was something I could be interested in, I didn’t know anything about it at all. I remember being on ...
Introduction In the 19th post of the series, we will be taking a look into interfaces in golang. Interfaces allow us to create function signatures common to dif
Critical CSS promises faster loading, but is it worth the complexity? Learn when Critical CSS actually boosts performance or when it might slow you down.
Python's list comprehensions (and generators) are an awesome feature that can greatly simplify your code. Most of the time however, we only use them to write a single `for` loop, maybe with addition of one `if` conditional and that's it. ...
I recently stumbled upon an article about the Weierstrass Function, which led me to another article about Pathological Objects in mathematics—meaning functions, numbers, etc., that have deviant, irregular, or counterintuitive properties. There was a time when even the introduction of ...
I don't think it's too much of a stretch to say that software is part of most scientific research now. From astronomy, to neuroscience, to chemistry, to climate models. If you work in research that hasn't been affected by software ...
When implementing performance fixes, it’s imperative that you measure the right thing—but what is ‘right’?
People reappropriating existing software to solve their own unique problems
The scrolling checks box on Github really irritates me. Follow these instructions to make it full height on Firefox. 1. Take this CSS: .branch-action-item.open > .merge-status-list-wrapper > .merge-status-list, .branch-action-item.open > .merge-status-list { max-height: fit-content !important; } 2. Tell Firefox to ...
Github notifications can be overwhelming, but with effective email filtering they can be turned from an encumbrance to being highly valuable. Here’s some filters to get you started (in Mail.app on a mac) to make them more useful. Luckily Github ...
The assignment operator - or "walrus operator" as we all know it - is a feature that's been in Python for a while now (since 3.8), yet it's still somewhat controversial and many people have unfounded hate for it. In ...
Introduction In the previous part of the series, we covered and in this section, we will look into which are quite a cool concept for various things. Closures a
Introduction Have you ever used the Postgres database and did you know you don't have to launch PGAdmin every time you want to write SQL queries, you can write
The first game I remember coding, or at least copying from a magazine, was in Basic. It was Lunar Lander. Learning to code a game is a way that a lot of people get started and excited about programming. Of ...