This is how I built Mugen Quiz, an April Fool's day project.On the. day before April Fool's day, I got a silly idea for the April Fool's day project. It's similar to Akinator except it only determines your favorite language, has only Yes and No, and never ends. I tried to do it simple way. Let's take a look a...Apr 2, 2022 · 3 min readblog.pontakorn.dev
Why do we need unit test? And how to write it in Python?A good program must be correct. Try to imagine getting negative salary because of a bug. To verify how the program work, you must test it. But testing by hand is slow and unreliable. By the time you are testing a program, your competitor might alread...Jan 4, 2022 · 3 min readblog.pontakorn.dev
4 things you can do to make your Python code betterImagine that you were working on a project yesterday and you cannot understand your code today. Or, someone wrote a long line of code and you need to fix it. But you cannot because you do not understand the code at all. If these things happen, that c...Dec 25, 2021 · 3 min readblog.pontakorn.dev
What is XSS and why so many libraries mention it?Before I write this, I exploited two of my classmates' projects with XSS. I didn't expect it to work but it worked anyway. In many libraries and frameworks, there are usually documentations about XSS. Most of them usually say something similar to Do...Dec 10, 2021 · 2 min readblog.pontakorn.dev