DART - 123dev #92(opens in new tab)
A successful software crash
Curated river of news
Latest posts from blogs I follow
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
Today is a major time shift for me. Another rotation around The Sun.
Experts know more about what they don't know
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 ...
What network do they use in Middle Earth? Tolkien ring
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.
What are you pretending to be?
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 ...
The `match`/`case` syntax that got introduced to Python in 3.10 looks like basic `switch` statement which we all know from other languages - in Python however - it's much more than just an alternative `if` syntax. So, let's explore advanced ...
Introduction Gone are the days of writing Ajax requests with javascript, just add a few parameters to the HTML content tags and you will be ready for sending re
One of my (slowly evaporating) reasons why I like putting packaging metadata into an executable setup.py is the ability to have optional dependencies that are combinations of others. As of pip 21.2, this is possible without running code.
Introduction We have looked at the defer keyword in golang in the part of the series, in this section, we will understand how we can use anonymous functions in
With every Python release, there are new modules being added and new and better ways of doing things get introduced. We all get used to using the good old Python libraries, but it's time say goodbye to `os.path`, `random`, `pytz`, ...
Introduction We have seen how to deploy a Django application on railway app in the of the . We deployed the django project using the Heroku Buildpacks under the
We spend 1/3rd of our life sleeping. But why do we sleep? We don't live in a sleep loss epidemic?
A new role at an AI research lab working on tools for open-ended reasoning
Introduction It has been a while since I have written a Vim article. Finally, I got some ideas after configuring my Neovim setup for Lua. I recently migrated to
Scaling application on Kubernetes using _Horizontal Pod Autoscaler (HPA)_ based on their CPU or memory usage is pretty simple. There are however many more features of HPA that you can use to customize scaling behaviour of your applications using external/custom ...
Having a personal site is a great playground for learning tons of skills. Brian Wisti discusses the benefits of running a his own blog over the years.Links:Random GeekeryJamstackEleventyNetlifyPlausible AnalyticspytestBeautiful Souppyinvoke - Invoke!rsyncInternet Archive : archive.orgRichStatamicjamstack.orgA static site generator should be ...
Introduction In this part of the series, we will be taking a look at the keyword in golang. The defer keyword is used for delaying the function call in a partic
Introduction In the 15th post of the Series, we will be looking into the details of the String manipulation and performing types of operations in Golang. We wil
PyPy is a fast, compliant alternative implementation of Python. cPython is implemented in C. PyPy is implemented in Python. What does that mean? And how do you test something as huge as an alternative implementation of Python?Special Guest: Carl Friedrich ...
A common issue when writing tests for real-world software is how to deal with third-party dependencies. Let’s examine an old, but counter-intuitive principle.
Introduction In this 14th Post of the 100 days of GOlang, we will be understanding about the mutable and immutable data types in Golang. Firstly, we will unders
As files, datasets and configurations grow, it gets increasingly difficult to navigate them. There are however many tools out there, that can help you to be more productive when dealing with large JSON and YAML files, complicated regular expressions, confusing ...
In Python, before dataclasses, we had attrs. Before attrs, it wasn't pretty.The story of attrs and dataclasses is actually intertwined. They've built on each other. And in the middle of it all, Hynek.Hynek joins the show today to discuss some ...
We've all been there - it's frustrating seeing deletion of Kubernetes resource getting stuck, hang or take a very long time. You might have _"solved"_ this using the terrible advice of removing finalizers or running `kubectl delete ... --force --grace-period=0` ...