coding

All posts tagged coding
Posted on 14. October 2023

Find the missing data - interpolation and extrapolation with Python

When you have a set of data, there is a high chance that it is incomplete. Not only does the data, outside the given range not exist, but also values between known ones are missing. But what if your work relies on that missing data?
You can use interpolation and extrapolation to fill the missing gaps in your data set.
Posted on 15. December 2022

How to test GraphQL with Codeception in PHP

GraphQL is a query language for APIs. It was developed by Facebook and is often used as an alternative to REST APIs - but you can define the specific data you want to retrieve from the API. But how to test GraphQL with Codeception in PHP?

Spoiler: You do not need an extension.
Posted on 10. September 2022

Do you test for sufficient randomness?

Some years ago, I have used an existing random string generator for generating random unique strings. From one day to another, there were a lot of timeouts in the application.
It turned out that the random string generator was not as random as I thought.
Do you run automated tests against a random string generator if it can provide for sufficient randomness?
Posted on 2. September 2022

Open current folder in PhpStorm from command line

Do you work a lot with the shell and PhpStorm on macOS? You can easily open the current folder in PhpStorm or in any other IntelliJ product with a shortcut direct out of the console by adding an alias!
Made with ♥️ and Gatsby © 2024