Blog

These are latest posts on my blog. You can read my blog on blog.pontakorn.dev
There might be mixture of Thai and English.

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...

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...

4 things you can do to make your Python code better

Imagine 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...

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...

Moving to Hashnode

Hello, if you know me, you might know that I have a website at pontakorn.dev. It is my personal website that I write to. But, I move to Hashnode for now. Why I have tried so many stacks to setup my personal website. I tried Gatsby, Gridsome, Hugo, He...