Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Articles by Erik van Baaren
9 Software Life Lessons You Must Experience Yourself to Truly Understand
In software, there are many lessons to be learned from experience. I had to learn the following nine lessons the hard way! Gordon Bell once said this. The lesson to draw here is that you should keep a system or piece of software as simple as possible. Reduce complexity to reduce the number of bugs. A well-known software principle called KISS (Keep It Simple, Stupid), originating from the US Navy, basically says the same thing: Complexity can present itself in several ways.
Python And AI: Why Learning Python Might Be A Good Idea
Home » Blog » Python And AI: Why Learning Python Might Be A Good Idea If you’ve been exploring the fascinating world of AI and generative AI (like ChatGPT), you’ve undoubtedly run into the term Python. So what exactly is Python, and why is it often linked with AI? Should you learn Python? This article aims to shed light on these questions. We’ll briefly journey through Python as a programming language and then dive into its vital roles in AI.
Let’s Talk About The Database You Wear In Your Pocket
Learn more about the unknown database used by billions When people in our profession think of a database, many will think of Oracle, MySQL, Postgresql, perhaps? But what about the database that is used more than all the others combined? Let’s talk about SQLite! SQLite is a library that implements a SQL database engine.
Python Debugger: Effortlessly Improve Your Debug Skills
Debugging Python code, for many of us, comes down to adding print statements and trying to reason what’s going on based on the output. It’s not ideal, but for some reason, people just don’t want to touch the Python debugger. Using print to debug code If you’re one of those people that use print for debugging, I’m not judging you. Learning Python is hard. Programming is hard. Life is hard. I understand that learning yet another thing seems tiresome if you’re struggling already.
How Not To Write Python Comments
Tips to improve the way you write and use comments Image © by author A Python comment is an explanation in the source code of a Python program. It doesn’t do anything besides being informative and is ignored by the Python interpreter. In this article, you will learn: what Python comments are, how to add comments to your Python code, what the common pitfalls are when writing comments.
This Will Make You a Command-Line Ninja
Lift your skills with these tips, tricks, and a bit of effort Photo by Aisha Askhadova on Unsplash A well-crafted bash command or script can save hours of manual labor. This tutorial will show you exactly how easy it is to become a command-line ninja and automate those tedious tasks. If you need to polish your basics, head over to Shell Commands Every Developer Must Know. The command line has been around for decades and it’s still going strong.
10 Advanced Python Tricks To Write Faster, Cleaner Code
From slotted classes to replacing lists with tuples Image by author, photo from Depositphotos Here are 10 advanced Python tricks to up your game and write faster, cleaner code. You may know some of these, but I’m sure there is something to learn here for everyone. In a slotted class we explicitly define the fields that our class is allowed to have using the magic field name __slots__.
Top 15 Python Packages You Must Try
Image by author Why do we all love Python? For starters, it’s a beautiful and easy-to-learn programming language. Another reason: it comes with batteries included, meaning Python has many excellent libraries included by default. But in my opinion, it’s the 230,000 user-contributed packages that make Python really powerful and popular. In this article, I handpicked 15 packages that I found most useful during my 10-year career as a Pythonista. Let’s go! Dash is relatively new.
Top 15 Best Python Packages You Must Try
Home » Blog » Top 15 Best Python Packages You Must Try Why do we all love Python? For starters, it’s a beautiful and easy-to-learn programming language. Another reason: it comes with batteries included, meaning Python has many excellent libraries included by default. But in my opinion, it’s the 230,000 user-contributed packages that make Python really powerful and popular. In this article, I handpicked the 15 best Python packages that I found most useful during my 10-year career as a Pythonista.
The 22 Most-Used Python Packages in The World in 2021
Image © by author How is Python being used around the globe and across industries? This question inspired me to write this piece. I figured a list of the most-used Python packages would give a good indication. As a starting point, I took a list of the most downloaded Python packages on PyPI over the past 365 days.
A Comprehensive Guide for Classes in Python
Photo by Alexander Schimmeck on Unsplash We see a bunch of different clocks in this photo. They have different shapes, colors, and sizes. However, all of them are a type of clock. We can think of classes in Python in a similar way. A class represents a type (clock) and we can create many instances of that type (clocks in the photo above). Object oriented programming (OOP) paradigm is built around the idea of having objects that belong to a particular type.
Kristan 'Krispy' Uccello
Data makes the world go around so they say. In this article I detail how I use Prisma with Nx to maintain my data models. It is an approach that keeps the model isolated from the underlying “implementation details” and keeps me sane when things in the model need to change.
Pseudo-determinism and Trustworthy Computing
Source — byjus In 2014, at the advent of the Ethereum blockchain, Nick Szabo published a blog post called The Dawn of Trustworthy Computing. In it he describes the protocol for cryptographic verification and proof of work on the blockchain, that is used to ensure Ethereum decentralized applications will be executed reliably as intended by their authors and participants.
4 Tricks to Effectively Use JSON in Python
By Erik van Baaren, Python 3 Guide Python has two data types that, together, form the perfect tool for working with JSON: dictionaries and lists. Let's explore how to: load and write JSON Pretty-print and validate JSON on the command line Do advanced queries on JSON docs by using JMESPath 1. Decoding JSON Python ships with a powerful and elegant JSON library. It can be imported with: Decoding a string of JSON is as simple as json.loads(…) (short for load string).
4 Tricks to Effectively Use JSON in Python
Working with JSON in Python is a breeze, this will get you started right away Illustration by author Python has two data types that, together, form the perfect tool for working with JSON: dictionaries and lists. Let's explore how to: load and write JSON Pretty-print and validate JSON on the command line Do advanced queries on JSON docs by using JMESPath Python ships with a powerful and elegant JSON library.
1 | Basics of Self-Attention
Introduction Self-Attention — the math References Transformers are an ML architecture that have been used successfully in a wide variety of NLP tasks, especially sequence to sequence (seq2seq) ones such as machine translation and text generation. In seq2seq tasks, the goal is to take a set of inputs (e.g. words in English) and produce a desirable set of outputs (- the same words in German).
8 Advanced Python Tricks Used by Seasoned Programmers
Illustration by author Here are eight neat Python tricks some I’m sure you haven’t seen before.
Show More
loading
Actions
Is this you?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.Get in touch with Erik
Contact Erik, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack