This is a devlog for 2023-12-01—2023-12-11. This is mostly a log for myself so that I remember that I did things, but you may be interested in reading it too, for whatever reason.
Waffle Devlog 8
This is a devlog for 2023-11-01—2023-11-30, or, in other words, the month of November. This is mostly a log for myself so that I remember that I did things, but you may be interested in reading it too, for whatever reason.
Waffle Devlog 7
This is a devlog for 2023-10-01—2023-10-31, or, in other words, the month of October. This is mostly a log for myself so that I remember that I did things, but you may be interested in reading it too, for whatever reason.
Waffle Devlog 6
This is a devlog for 2023-09-01—2023-09-30, or, in other words, the month of September. This is mostly a log for myself so that I remember that I did things, but you may be interested in reading it too, for whatever reason.
Waffle Devlog 5
This is a devlog for 2023-08-07—2023-08-31. This is mostly a log for myself so that I remember that I did things, but you may be interested in reading it too, for whatever reason.
Waffle Devlog 4
The devlog is back, now as a bi-weekly hopefully regular thing. This is a devlog for 2023-07-17—2023-08-06. This is mostly a log for myself so that I remember that I did things, but you may be interested in reading it too, for whatever reason.
Waffle Devlog 3
This week was something else! There is a lot I’ve done this week (2023-04-17—2023-04-21). This is mostly a log for myself so that I remember that I did things, but you may be interested in reading it too, for whatever reason.
Waffle Devlog 2
Blah. Things I’ve done this week (2023-04-10—2023-04-14). This is mostly a log for myself so that I remember that I did things, but you may be interested in reading it too, for whatever reason.
Waffle Devlog 1
Is this week already over? That fast? In this economy? Anyway, things I’ve done this week (2023-04-03—2023-04-07). This is mostly a log for myself so that I remember that I did things™, but you may be interested in reading it too, for whatever reason.
Waffle Devlog 0
Things I’ve done this week (2023-03-27—2023-03-31). This is mostly a log for myself so that I remember that I did things™ but you may be interested in reading it too, for whatever reason.
(Ab)using Rust traits to write silly things
Recently I’ve found some cursed Rust code and decided to make a little joke/question on twitter. In the tweet I’ve presented some unusual code and asked “how could it compile?”. The solution was found quite fast by @Veykril (kudos to them!) and in this post I want to explain it in detail.
Why we can’t have nice things: min/max
In this post I’ll talk about Rust’s BTreeSet
and tell a sad story about its methods.
Comments are weak
I like writing comments. But at the same time comments kind of suck. In this post, I want to outline some ways we could improve this.
if-else chains considered harmful
As always, I have some strong opinions on things I probably shouldn’t have opinions on. This time I want to tell you why I think if
-else
chains are syntactically harmful.
What does `&mut &[T]` mean?
References can be quite confusing, especially with different mutabilities. Indeed, only a third of people in my poll said that they understand what &mut &[T]
means!
Everybody needs a place (and time) to pause
As you may know, I have a (russian) telegram channel. One day I had a random thought about something I could make there. Now it became a tradition…
You wouldn't use `filter_map`, right?
There is a function Iterator::filter_map
. I want to argue that it’s useless and Rust provides more powerful tools to replace it.
Why null sucks, even if it's checked
We all know that null
is a “billion-dollar mistake”, that it creates a lot of easy ways to make terrible mistakes. But it’s only so bad when it’s not checked by anyone and the compiler doesn’t force you to check it, right? Well, the title might be a spoiler, but let’s find out…