Replace Broken Stair Nose & Tighten Loose Stair Nose

I had 2 broken stair noses and few loose stair noses. So I decided to have it replaced and glue back the loose stair noses.

broken stair nose
broken stair nose

Buying Stair Noses at Shopee

First I bought new stair noses at Shopee. I choose PCV type so it is more long lasting vs the one that I have now which is like rubber based.

shopee buying stair nose
shopee buying stair nose

I bought 2 set of LM4 model.

Replace & Tighten Loose Stair Nose

Rudy my preferred contractor used Max Bond glue to stick loose stair nose and the new one.

He first removed the broken one, clear up old glue or any remaining broken stair nose from the stair case.

glue use to stick stair nose
glue use to stick stair nose

My contractor Contact Number

Rudy: 011 3310 8757

PHP Constant expression contains invalid operations new stdClass Error

I got this PHP error of “Constant expression contains invalid operations”.

php Constant expression contains invalid operations
php Constant expression contains invalid operations

This is due to a function variable default value of new stdClass()

This happens on PHP version 8.0.30 on my hosting server.

php vesion 8.0.30
php vesion 8.0.30

This errors doesn’t appear on my development laptop which is version 8.2.4.

php version 8.2.4
php version 8.2.4

Solution

I put “null” instead of “new stdClass()” and then set it to new stdClass if the variable is null.

 

Bagaimana Bayar Cukai Secara Ansuran selepas diaudit LHDN?

Baru-baru saya diaudit oleh LHDN untuk cukai tahun 2023. Jumlah yang saya kena bayar ialah dalam RM4,000. Oleh kerana jumlah yang banyak, saya mohon untuk membayar secara ansuran dengan LHDN.

Selepas mendapat kelulusan untuk membayar cukai secara ansuran, saya membuat bayaran secara online menggunakan FPX.

Bagamaimana Bayar Cukai Secara Ansuran?

1) Lawati https://byrhasil.hasil.gov.my/

LHDN ansuran bayaran
LHDN ansuran bayaran

2) Masukkan No Bil Atau Nombor Pengenalan Cukai (TIN)

Anda akan dapat no bil dari LHDN selepas membuat rayuan.

LHDN ansuran bayaran - masukkan no bil
LHDN ansuran bayaran – masukkan no bil

3) Masukkan No Bank dan Login ke Bank Anda

LHDN ansuran bayaran - maklumat bank
LHDN ansuran bayaran – maklumat bank

4) Status Berajya dipaparkan Selepas Berjaya Membuat Bayaran FPX

LHDN ansuran bayaran - bayaran berjaya
LHDN ansuran bayaran – bayaran berjaya

5) Simpan Slip Bayaran Untuk Rujukan Anda

LHDN ansuran bayaran - slip pengesahan bayaran
LHDN ansuran bayaran – slip pengesahan bayaran

 

 

Periksa Cukai Taksiran Tertunggak Rumah Lelong

Kebanyakan rumah lelong, pembida yang berjaya perlu membayar cukai taksiran yang tertunggak terlebih dahulu sebelum bank yang lelong rumah bayar balik kepada pembida yang berjaya.

Oleh yang demikian, pembida perlulah periksa cukai taksiran yang tertunggak untuk kita sediakan wang tunai yang secukupnya.

Bagaimana Memeriksa Cukai Taksiran Tertunggak Rumah Lelong di Kawasan Majlis Bandaraya Shah Alam?

1) Ambil no Hakmilik dari POS

Rumah lelong disertakan sekali Proclamation of Sales (POS). Dalam POS ada nombor hakmilik.

rumah lelong contoh no hakmilik dari POS
rumah lelong contoh no hakmilik dari POS

2) Kemudian login ke MyMBSA

Login menggunakan pengguna sedia ada anda. Jika belum ada akaun anda bolehlah buat pendaftaran.

https://www.mymbsa.gov.my/

3) Buat carian Maklumat Harta

Klik myCukai -> Senarai Carian Maklumat Harta -> Permohonan Baharu

mbsa - carian maklumat harta
mbsa – carian maklumat harta

4) Masukkan Maklumat Harta – nombor Hakmilik

Klik seterusnya untuk maklumat peribadi.

carian maklulmat harta - maklumat peribadi
carian maklulmat harta – maklumat peribadi

Pastikan D ada kurungan contoh HS(D) dan space antarata (D) dengan nombor hakmilik untuk memastikan anda berjaya membuat carian harta.

pastikan hakmilik ada kurungan pada huruf D
pastikan hakmilik ada kurungan pada huruf D

Jika berjaya anda akan menjumpai harta yang dicari dan boleh memilih maklumat yang dikehendaki iaitu

i) Carian Maklumat

ii) Penyata Cukai

iii) Bil Cukai

Satu laporan akan dikenakan caj RM20.

jika carian harta berjaya maklumat harta akan dipaparkan
jika carian harta berjaya maklumat harta akan dipaparkan

5) Selepas Membuat Bayaran Anda Akan Dapat Melihat Maklumat Harta

Maklumat harta boleh dipaparkan selepas klik setiap laporan (rujuk garis hijau)

maklumat harta klik untuk paparan -garis hijau
maklumat harta klik untuk paparan -garis hijau

Contoh-contoh Maklumat Harta Yang Anda Boleh Dapat

i.Maklumat Harta

ii. Penyata Cukai

contoh penyata cukai
contoh penyata cukai

iii. Bil Cukai

contoh bil cukai maklumat harta
contoh bil cukai maklumat harta

OpenCV findContours – What it is?

OpenCV findContours detects change in the image color and marked it as contour.

In this example using archery target face, findContours detects the outer circle, yellow circle, bullseye circle, logos on top left and bottom left.

In this case, findContours doesn’t detect the red circle contour.

The Original Image

archery target face
archery target face

The Image Gray

image gray of target face
image gray of target face

The Find Contours Image

Green color is the contours found on the image.

opencv findcontours on archery target face
opencv findcontours on archery target face

The OpenCV Python Code

 

Conclusion

findContours is an easy way to automatically detect an image shape or outline.

References:

  1. https://docs.opencv.org/4.x/d4/d73/tutorial_py_contours_begin.html
  2. https://medium.com/analytics-vidhya/opencv-findcontours-detailed-guide-692ee19eeb18

 

OpenCV Python Image Perspective Transform

I wanted to learn OpenCV Perspective Transform. Tutorials that I found on the internet bit complex for me to really understand what it is all about. I have to read few tutorials before really understand it.

In layman term, perspective transform is taking a rectangle area from original image and re-project the cut rectangle to our defined size canvas.

To do this, you just need 4 corner pixel points and perspective transform will do all other pixels calculation automatically based on those 4 pixels points.

The Required Pixel Points

The corner pixels points must follow the order as shown in below image.

source pixels positions order
source pixels positions order

This is considered the source pixel points.

The destination points are where you want to re-project those source points into new plane.

The size of destination plane is:

width: 1000 pixels
height: 200 pixels

I just take the source rectangle width and height.

Image Used for the Perspective Transform

I used below image to do the perspective transform.

restaurant original image
restaurant original image

Code on Perspective Transform

Filename: Main.py

To run the program, type at the terminal

 

Folder Structure:

source code folder structure
source code folder structure

Reference

OpenCV Perspective Transform Youtube

Markah Diperlukan Untuk Menang Memanah Recurve Peringkat MSSD Petaling Perdana & MSSM

Berapakah Markah Memanah Recurve Yang Diperlukan Untuk Menang Peringkat MSSD Petaling Perdana dan Peringkat MSSM untuk Lelaki Bawah 12 tahun?

Untuk daerah Petaling Perdana, U12 markah purata setiap pusingan untuk menang ialah 332 manakala peringkat MSSM ialah 352 ini berdasarkan markah MSSD Petaling Perdana 2024 dan MSSM 2024.

Markah Memanah MSSD Petaling Perdana 2024 - Lelaki Bawah 12 Tahun
Markah Memanah MSSD Petaling Perdana 2024 – Lelaki Bawah 12 Tahun
Markah Memanah MSSM 2024 - Lelaki Bawah 12 Tahun
Markah Memanah MSSM 2024 – Lelaki Bawah 12 Tahun

Markah Memanah MSSD Petaling Perdana 2024 – Lelaki Bawah 12 Tahun

Markah Memanah MSSM 2024 – Lelaki Bawah 12 Tahun

MSSD Archery 2024 – For Petaling Perdana

First time my son attended MSSD Archery for Petaling Perdana under U10 category.

He plays archery since 2023 at SKBJ (Sekolah Kebangsaan Bukit Jelutong) but only get serious in last 2 weeks of June 2024 to get ready for MSSD Petaling Perdana on 1st July 2024.

mssd selangor u10 -warming up
mssd selangor u10 -warming up

The Competition

Individual

Under Individual boys started on 1st July.

It has Qualification Round (QR) and Olympic Round (OR). QR every archer has to shoot for 2 round and each round consists of 6N meaning 6 arrows per N.

mssd selangor u10 - getting ready
mssd selangor u10 – getting ready
mssd selangor u10 - shooting
mssd selangor u10 – shooting
mssd selangor u10 - girls student from sm shah alam giving motivation to hadien
mssd selangor u10 – girls student from sm shah alam giving motivation to hadien

Group

MSSD made the grouping based on individual scores within the same school.

The groups competition happened fifth day which was on 5th July 2024.

mssd selangor u10 - carrying equipments etc
mssd selangor u10 – carrying equipment etc
mssd selangor u10 - group competition
mssd selangor u10 – group competition
mssd selangor u10 group competition - warming up
mssd selangor u10 group competition – warming up
mssd selangor u10 group competition - getting ready
mssd selangor u10 group competition – getting ready

Competition Result

Individual

For individual he got no 34 with 260 points.

mssd selangor u10 - hadien no 34
mssd selangor u10 – hadien no 34

Group

My son only able to win number four for group competition and if not mistaken the organizer gave medal for number four starting this year.

mssd selangor u10 - group result
mssd selangor u10 – group result

Overall Archery MSSD Petaling Perdana 2024 Result

mssd selangor u10 group competition - got number 4
mssd selangor u10 group competition – got number 4

Very Good Experience

For me it was a good experience for my son as he needed to learn to be cool, had strong endurance and to be fast as you need to shoot fast for group competition due to limited time.

 

SKBJ Archery Club – Wolfpack Training

My son Dien joins archery club since June 2023 and he joined it because of friends influence. At first, I didn’t give much attention to his interest because I thought I would die off in a matter of months.

But Dien consistently went to training and kept asking to buy him a bow. Until he joined MSSD last June 2024 only then we bought him a bow. From there on we start to seriously focus on his interest.

Training at SKBJ Archery Wolfpack – Wolfpack

Training is every Saturday from 8AM till 10AM.

archery training at SKBJ
archery training at SKBJ
5m archery shooting
5m archery shooting
hadien practising archering shooting for 15m
hadien practising archering shooting for 15m

After Training

This week 20/6/2024, only 2 kids left after they finished training to practice their shooting. I let him play till 1030AM.

only 2 arhcers left after 10am - end of training
only 2 arhcers left after 10am – end of training