Docker multi-stage builds image size

I have been fixing Dockerfile in our Labzero project as a preparation for PyconMY 2023 next week. I’ve been using multi-stage builds for quite some time to reduce the final image size. The general pattern is something like this:-

Read More

Searching for nobody

It’s hard to search for “nobody”’s blog posts these days. Take for example when I searched for “why all todos apps doesn’t works?”. All the frontpage results are from some brands, except for a blog post from Scott Hanselman and Jeff Attwood’s Codding Horror on the third page. But they are hardly “nobody” anymore.

Read More

You can’t teach student English

6 years in primary school, 5 years in secondary school. That’s how much student learnt the English language in their school years in Malaysia. Yet, the subject of English proficiency comes so often in the local media.

Read More

Trying Kotlin

Kotlin, the new programming language from JetBrain suddenly become overnight sensation after Google announcement at IO conference last week, that Kotlin will be officially supported for Android dev. Everyone people talking about how the new language will be the future … sigh.

Read More

Bagaimana menghantar email secara manual ?

Biasanya bila kita nak hantar email, kita cuma buka email client, (atau kebanyakkan sekarang menggunakan web based email service seperti Gmail), tapi alamat dan message yang hendak dihantar dan klik butang “Send”.

Read More

Minimal Django

Minimal django application. When things become so big and complex as django, sometimes it help to tear it up, broken it into smaller pieces to see how it work. So I start with just this in app.py:-

Read More

Learning Go

So I decided to learn Go in 2017. This will be an ongoing notes as I learn more about it.

Read More

Senarai Blog Pelajar Sains Komputer/IT

Memiliki blog (teknikal) adalah satu kemestian bagi semua pelajar Sains Komputer atau IT. Untuk panduan dan juga sumber inspirasi, kami senaraikan blog-blog yang bagus daripada pelajar di serata dunia.

Read More

Nasihat kepada graduan Sains Komputer/IT

Pertama sekali, tahniah kerana anda telah berjaya menamatkan pengajian dalam bidang Sains Komputer ataupun Teknologi Maklumat (atau apa2 kursus berkaitan). Ia satu pencapaian yang amat membanggakan dan semestinya anda begitu teruja untuk memulakan kerjaya dalam bidang software development.

Read More

CherryPy file upload

Testing cherrypy file upload and spent more than an hour trying to figure out why the uploaded file ended up as empty. My initial code basically like this:-

Read More

Kenapa Kena Belajar Bahasa Inggeris ?

Bidang pembangunan perisian adalah satu bidang kerjaya yang unik berbanding bidang-bidang lain. Kenapa saya kata begitu ? Kita ambil satu contoh yang mudah dan sentiasa menjadi elemen penting dalam kerjaya - pengalaman.

Read More

You're up and running!

Next you can update your site name, avatar and other options using the _config.yml file in the root of your repository (shown below).

Read More

System python is not for you

If you already did some python development or just getting started, one of the advice you would always get is to never mess with the system python - the python version that come with your distro. For example on Ubuntu or Debian based system, python that was installed by sudo apt-get install python. At first I didn’t really understand what this mean, why you can’t use something that already comes for free ?

Read More