排序
Des enumérations encore plus puissantes avec Python 3.11
Des enumérations encore plus puissantes avec Python 3.11,Python 3.11 est sorti à la fin de l'année dernière. Comme souvent, il y a beaucoup de nouveautés. Une section a plus a...
TIL that there is a else-clause in a Python for-loop
TIL that there is a else-clause in a Python for-loop,In Python if you want to execute something after a for-loop has finished, you can use a else-clause. This code: for i in range...
TIL how to ship an executable with Poetry
TIL how to ship an executable with Poetry,I wanted to build an executable python script on PyPi, so it can be run like MyPackage instead of python MyPackage.py. Finding out how to...
TIL: isBlank() String Method
TIL: isBlank() String Method,Today i learned that in Java 11 there was a new String Method introduced that checks if a string is empty or just contains blanks and the same time. So...
Three ways to configure HTTP Proxy in Playwright
Three ways to configure HTTP Proxy in Playwright,TL;DR In fact, in Playwright v.1.31.1 there are three ways to configure an HTTP proxy: chromium.launch browser.newContext page.setE...
This Week in Changelogs: flask, pytest, IPython, etc
This Week in Changelogs: flask, pytest, IPython, etc, This Week in Changelogs (2 Part Series) 1 This Week in Changelogs: Django and faker 2 This Week in Changelogs: flask, pytest, ...
JUnit’s @CsvSource.quoteCharacter
JUnit's @CsvSource.quoteCharacter,@CsvSource used with text blocks is really awesome! Similarly to validation files, it can be used to create easily readable tests with readily vis...
Django Rest Framework: adding DateTimeField format serializer validation
Django Rest Framework: adding DateTimeField format serializer validation,Here’s an example of adding date and time validation to a DateTimeField in a serializer in the Django Rest...
[TIL] A better response to post request (Spring Boot)
[TIL] A better response to post request (Spring Boot),When writing an api that saves the data it would be nice if there was a way to see the the data stored. So usually the id is r...
K-Nearest Neighbor implementado com Python + numpy
K-Nearest Neighbor implementado com Python + numpy, Conceito K-nearest neighbor (kNN) é um algoritmo de Machine Learning supervisionado usado para classificação e regressão, em...
Iterable gotcha’s in Python
Iterable gotcha's in Python, What are Iterables? Typehints have been introduced in Python since Python 3.5. As part of this introduction, a new module typing was introduced which c...
JPA Repository – find by multiple Columns
JPA Repository - find by multiple Columns,In this tutorial, I will show you how to use JPA Repository to find by multiple fields example. At the end, you will know way to filter by...