Python F-strings

Since Python 3.6, a new feature called formatted string literals or f-strings has been introduced to the string fomatting arsenal. It boasts better simplicity and readability than the reigning strategy, str.format.

More …

The Stats behind Wordle

The puzzle game Wordle have been trending for a while and hit headlines more recently when purchased by New York Times for over 1 million USD. In Wordle, players need to identify a randomly generated 5-letter word in 6 attempts or less. Players learn hints about the letters and their placements after every attempt: green block means we have the right letter in right place; orange block means the right letter but in wrong place; black block means we get the letter wrong.

More …

Review 2021

Time to put together all the pieces from last year! 2021 marked the start of the post-covid era where everyone tries to find a new way to thrive. For me, the biggest change is the introduction to several long-term commitments that could benefit my life.

More …

596 Days of Gacha

Since April 2020, I have been playing Arknights, a gacha game. In the meantime, I have been keeping track of important in-game events, such as character pulls and upgrades. I believe it’s time for some nice data visualisation and some reasoning on why people shouldn’t do p2w (pay-to-win) in gacha games, or simply play them.

More …