Zimo Li
Zimo Li

Zimo Li

Follow
home

🤯TIL for...else exists in Python

Feb 23, 2023

Today, I learned that you can pair an else clause with a loop statement such as for or while. It looks like this: for i in iterator: # do...

🤯TIL for...else exists in Python

Why is my Rust code blocking???

Dec 7, 2022

Rust is a low-level programming language known for its performance and safety. We'll look at why my first attempt to use std::process resulted in...

Why is my Rust code blocking???

Introducing Cronify

Aug 3, 2022

Cronify is a simple and easy-to-use utility that helps you schedule your cron jobs using Natural Language Processing (NLP). What is a cron job? A cron...

Introducing Cronify

Create Telegram Alerts with Cloudflare Workers and ScheduledEvent

Jul 15, 2022

Introduction Motivations Creating notifications on real events in the world is a very common scenario for developers. Telegram Bot provides a...

Create Telegram Alerts with Cloudflare Workers and ScheduledEvent

Dealing with Daylight Saving Time in Scala/Java

Jul 7, 2022

Handing daylight saving time programmatically can be tricky. It could create a mini Y2K problem twice a year when done incorrectly. If you want to get...

Dealing with Daylight Saving Time in Scala/Java

Scala Reduce vs Fold

May 24, 2022

There is only a subtle difference between reduce and fold. Fold requires an initial value, whereas reduce doesn’t need one. Reduce example: scala> (1...

Scala Reduce vs Fold