• Posts
  • Portfolio
  • About
Daniel's Blog
  • Posts
  • Portfolio
  • About
TIL: Python Print Buffer
Exploring Python’s print buffer I was watching Miguel Grinberg’s talk on Pycon 2017 Asynchronous Python for the Complete Beginner last night. And tried a code snippet on my computer which is not really connected to the talk or async programming. from time import sleep def hello() -> None: print("Hello", end=" ") sleep(3) print("World!") if __name__ == "__main__": hello() What do you think will happen if we run the code? Terminal print’s Hello first, then after three seconds we see World! appear, right? Actually, no.
2026/04/24 · Posts
How to fix Bengali font issue in arch Linux
How to fix Bengali font issue in arch Linux So, every time I reinstall Arch, I must rediscover why my Bengali font is broken everywhere. Then I install every Bengali font universe has to offer, but it still doesn’t fix shit. The main problem is that gnu-noto-fonts comes as the default, which doesn’t have good support for Bengali scripts. We just have to install noto-fonts, which is an alternative to gnu-noto-fonts. We need this because most of the software we use daily requires at least one ttf-font source and this one has decent Bengali font support. And then we can remove the gnu-noto-fonts and refresh the font cache.
2025/07/28 · Posts
Copyright © 2026 by Daniel