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...3 min read·blog.pontakorn.devApr 2, 2022
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...3 min read·blog.pontakorn.devJan 4, 2022
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...3 min read·blog.pontakorn.devDec 25, 2021
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...2 min read·blog.pontakorn.devDec 10, 2021