About:

Dmitrii Aleksandrov's personal website. Hi! My name is Dmitrii Aleksandrov, I usually use @expurple handle.

Website:

Outgoing Links:

Subscribe to RSS:
The post advocates for defining modular error types in Rust applications, emphasizing the need for clarity and maintainability over using a single global error enum.
The blog post discusses a Rust programming technique to handle struct fields effectively, particularly in the context of evolving codebases. It emphasizes the importance of recognizing an 'all fields' pattern early to ensure that ...
The author discusses the persistent issue of null values in programming, despite the availability of advanced tools and frameworks. They argue that existing solutions are insufficient and advocate for using programming languages l...
The author critiques Go's error handling mechanism, arguing that returning a tuple (a T and an error) is inadequate for expressing 'or' relationships and nullability. This approach leads to frequent misuse without a third-party li...
The post details the challenges of managing a Hugo-based website, focusing on dependency updates and the author's automation efforts to streamline the process.
The article discusses the inherent conflict of interest in commercial software, where profit often takes precedence over user benefit, leading to 'enshittification.' It advocates for the use of non-commercial software, particularl...
The post highlights the advantages of using hvm for automating Hugo updates over grouse, emphasizing its simplicity and Git integration.
The post discusses the dangers of complacency in a technologically advanced society, likening humans to batteries in a Matrix-like scenario. It emphasizes the importance of seeking truth and being aware of external realities to av...
The author argues against the notion that large language models (LLMs) are 'worse than useless' for coding. They emphasize the limitations of 'vibe coding' and advocate for better formal languages to express coding requirements. T...
The post is a comprehensive list of bands the author has liked over the years, detailing their listening experiences and preferences. The author emphasizes the fluidity of their favorites and provides insights into their listening...
The author discusses their method of organizing blog post ideas, which includes using a file for one-liners, titles, and raw thoughts. They emphasize the importance of creating drafts immediately to avoid the 'tyranny of the blank...
The text discusses the use of structured errors in Rust applications, comparing the use of thiserror for libraries and anyhow for applications. It highlights the benefits of using structured errors, such as facilitating statically...
The author discusses the optimal post size for writing, coding, and reading. He suggests that the ideal post size should not exceed 5 laptop screens or 2000 words. He also shares his struggles with scrolling and search, and his pr...
The text discusses the idea that posts don't have to be long and detailed to be useful, and that short, subjective, high-context posts can still communicate ideas effectively.
The text discusses the issues with exceptions in programming languages, particularly in Java, and how Rust solves these issues. It highlights the problems with exceptional flow, error wrapping, and unchecked exceptions, and explai...
The author discusses the decision-making process in a rock band, emphasizing the importance of leadership and specialization. He shares his personal experience and the challenges he faced in his band, and how he tried to change th...
The author loves storing and organizing things, including music, code, and articles. He has a system for storing and accessing his files and has plans to add a blog to his website.