Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
Introduction Coding with children is a topic close to my heart.
-
Last update This post was last updated on August 29th, 2024.
-
After a longer break I continued working on my machine learning basics repository which implements fundamental machine learning algorithms in plain Python.
-
I posted another notebook in my machine learning basics repository.
-
Books I am currently reading Mindset by Carol Dweck (Link to book) Books I have read Atomic Habits by James Clear (Link to book) A Promised Land by Barack Obama (Link to book) The Alchemy of Air by Thomas Hager (Link to book) Superintelligence: Paths, Dan…
-
I finally found time to continue working on my machine learning basics repository which implements fundamental machine learning algorithms in plain Python.
-
I recently finished reading the book Deep Work by Cal Newport.
-
Topics: Mocking in Python Today, I want to talk about mocking.
-
Introduction Variational inference is an important topic that is widely used in machine learning.
-
One of the points on my long ‘stuff-you-have-to-look-at’ list is the Kullback-Leibler divergence.
-
Topics: Docker I have been wanting to learn more about Docker for months.
-
Topics: Containers I have been wanting to learn more about Docker for months.
-
Topics: Virtual machines I have been wanting to learn more about Docker for months.
-
Topics: Wrap up During the past 50 days we studied several highly useful Python concepts using a Magical Universe.
-
Topics: Using config files What are config files As a last topic I would like to take a look at the usage of config files.
-
Topics: collections.defaultdict Updated 2020-10-06 The collections module The collections module in Python contains several useful classes.
-
Topics: functools.wraps We have discussed decorators on day 5, day 6 and day 20 already.
-
Topics: Custom exception classes Errors and Exceptions First of all, what is an exception?
-
Topics: Extending the Magical Universe with classmethods for Charm, Hex, Curse, etc.
-
Topics: Multisets, collections.Counter Counting objects Today I want to present a very useful class in Python: collections.Counter.
-
Topics: Iterators, iterables and iteration Iterators Although we need to create more test functions for the other Magical Universe classes, I want to spend a few days on iterators.
-
Topics: Testing code with pytest Updated 2020-10-05 Writing test functions for our code is extremely important.
-
Topics: with statement and context managers Updated 2020-10-05 Context managers and the with statement Similar to decorators, context managers are a concept many people use but only few understand.
-
Topics: What is if __name__ == "__main__" doing?
-
Topics: Decorators within a class Updated 2020-10-05 After having talked about decorators already on day 5 and day 6 I would like to revisit the topic to discuss how decorators can be used within classes.
-
Topics: Immutable data classes Updated 2020-10-05 We have talked a lot about data classes in the last post.
-
Topics: Data classes Updated 2020-10-05 Data classes are a feature that is new in Python 3.7.
-
Topics: Abstract Base Classes, ABC’s Updated 2020-10-05 The last days I have been working on a lot of new classes and methods.
-
Topics: Immutable classes, namedtuples Updated 2020-10-04 Tuples Before looking at namedtuples, we should review what a tuple is.
-
Topics: Duck typing, EAFP principle Updated 2020-10-04 Duck typing Today we are going to look at some fundamental philosophies of programming: duck typing, EAFP and its opposite LBYL.
-
Topics: Adding new classes and methods to the Magical Universe Today I used some of the concepts introduced during the last days to extend my Magical Universe.
-
Topics: underscore patterns for variable naming, _variable, __variable, __variable__, _ Updated 2020-10-04 Underscore patterns for variable naming Today we are going to look at a very important concept in Python: the usage of underscores when naming varia…
-
Topics: properties, @property and property(), setters, getters Updated 2020-10-04 Today, I digged a little deeper into the @property decorator, how it is related to the property() function and how its getter and setter methods work.
-
Topics: decorators Updated 2020-10-04 Today, we are going to look at decorators.
-
Topics: to-string conversion, __repr__, __str__ Updated: 2020-10-04 To-string conversion Today we are going to look at the two methods that control how an object is converted into a string object.
-
Topics: Type annotations Updated 2020-10-04 Type annotations Type annotations are a very cool feature that came out with Python 3.5.
-
Topics: class methods, instance methods, static methods, using class methods as alternative constructors Updated 2020-10-03 Types of methods A class can have three types of methods: instance methods, class methods and static methods.
-
Topics: object oriented programming, classes, inheritance I want to start with using some of the things I learned from the “Python Tricks” book (see my reading list for more details on the book).
-
My magical universe: “The Tales of Castle Kilmere” The main character of our magical universe is named Lissy Spinster.
-
I have decided to take on a new habit using a technique I found on the ‘get discplined’ subreddit.