Self-Professed Nerd
Random ramblings and notes for my own amusement
Saturday, September 13, 2025
Try out Qwen CLI in a docker container sandbox
Saturday, August 17, 2024
RAG with local quantized LLM model
While there are many Retrieval Augmented Generation (RAG) post out there, many of them rely on external LLM APIs such as OpenAI or Amazon Bedrock, etc.
How well do they work with quantized LLM models that can run locally? I got one here, and it works quite well for me.
Saturday, February 4, 2023
How I chose Generali home insurance in 2023?
I read through multiple home insurance comparison sites such as MoneySmart and MoneyHero, and articles/sites such as those from 10life, spacious.hk, and even this old article in 2012 from Consumer Council, and still have no clue which insurance to get. There are too many "features'' offered by these insurance companies, and it just muddles the water. What it comes down to is really knowing what I want want out of the home insurance, and it comes down to 2 things:
- Third-party legal liability protection
- Insurance for my home content
I went through all the insurance company that offers home insurance: Zurich, FWD, Generali, Blue Cross, Dah Sing, QBE, AIG, Allied World, Prudential, HSBC/AXA, AXA, MSIG, AIA, Pingan, One Degree, Bank of China Group (BOCG), Sompo, Hong Leong and Allianz, and got their annual premium, third party legal liability protection amount and home content insurance amount and calculated the Legal Liability Insured per $ and Home content insured per dollar. I rank them all in this spreadsheet.
Legal Liability Insured per $
Rank |
Company |
Rate |
Coverage |
Insured per dollar |
1 |
AXA/HSBC 2 |
1680 |
20,000,000.00 |
11,904.76 |
2 |
Prudential Premier |
1360 |
15,000,000.00 |
11,029.41 |
3 |
Prudential Harmony |
990 |
10,000,000.00 |
10,101.01 |
4 |
One Degree Standard |
1025 |
10,000,000.00 |
9,756.10 |
5 |
Pingan |
1066 |
10,000,000.00 |
9,380.86 |
6 |
Dah Sing Plan C |
1280 |
12,000,000.00 |
9,375.00 |
7 |
Blue Cross Plan B |
980 |
9,000,000.00 |
9,183.67 |
8 |
One Degree Plus |
1342 |
12,000,000.00 |
8,941.88 |
9 |
One Degree Prestige |
1690 |
15,000,000.00 |
8,875.74 |
10 |
Generali |
888.89 |
7,500,000.00 |
8,437.49 |
Home Content Insured per $
Rank |
Company |
Rate |
Coverage |
Insured per dollar |
1 |
Generali |
888.89 |
1,000,000.00 |
1,125.00 |
2 |
Sompo 2 |
900 |
1,000,000.00 |
1,111.11 |
3 |
Prudential Premier |
1360 |
1,500,000.00 |
1,102.94 |
4 |
Sompo 1 |
1000 |
1,000,000.00 |
1,000.00 |
5 |
Pingan |
1066 |
1,000,000.00 |
938.09 |
6 |
Dah Sing Plan C |
1280 |
1,200,000.00 |
937.50 |
7 |
AIG Standard |
1280 |
1,000,000.00 |
781.25 |
8 |
One Degree Standard |
1025 |
800,000.00 |
780.49 |
9 |
Blue Cross Plan B |
980 |
750,000.00 |
765.31 |
10 |
Blue Cross Plan A |
1580 |
1,200,000.00 |
759.49 |
The AXA/HSBC Plan 2 offer was quite tempting, given its high legal liability total coverage and insured per dollar. This is especially true after reading unverified information from forums such as this one from baby-kingdom where the poster claimed “someone forgot to turn off the water, flood the elevators and have to pay 15 million Hong Kong dollars for damage”. However, the home content coverage is a little low at only HK$600,000, which doesn’t even make it to the top 10 for home content insured per $.
Did someone really pay HK$15 million for damage to the building’s elevator? Hard to say. Doing my own research, I found a couple of news articles that put claims of flood damage to elevator(s) at up to K$1 million for this case (2022) and HK$3.5 million for another case (2019). It is a good idea to take even news articles with a grain of salt these days, so if anyone in the elevator repair industry or home insurance industry knows what a “sensible” amount to insure for, please do share!
At the end of the day, I chose Generali, with annual premium at only HK$888.89, with the HK$7.5 million legal liability coverage (rank #10) and HK$1 million dollar home content coverage (rank #1).
For less than HK$200 extra, Pingan also seems like a decent choice for my situation, with annual premium at HK$1,066, you can HK$10 million legal liability (rank #5) and HK10 million home content (rank $5) insurance coverage.
For an extra few hundred dollars per year, Prudential Premier with annual premium at HK$1,360, with HK$15 million and HK$15 million is also a good choice if I move into a more upscale condo and I own more expensive stuff in my home.
Friday, December 17, 2021
Proluxury PDE001060 dehumidifier will not turn on!
This is the second dehumidifier that won't turn on for me. The first one was a busted tactile switch. I am prettier sure of that because I opened up the dehumidifier to access the circuit board. I was able to short circuit across the switch and the dehumidifier will turn on. First time round, as a spoiled developed-world brat, I just bought another dehumidifier, a Proluxury pde001060 dehumidifier.
This time I also opened up the dehumidifier. Long and behold, another busted tactile switch. I short circuit across the switch pins, and the device turn on.
Ordered on Sunday 12/12, goods arrived on Friday 12/15. I ordered way more than just the switches, from shops across China, so the shipping took a little longer than if I just ordered the switches. This is expected.
Monday, November 15, 2021
The infamous Razer laptop battery swelling / bulging
The infamous Razer laptop battery swelling / bulging. Yes. I got it too. I have own more than 10+ laptop of various brands - Apple, Lenovo, Dell, HP, Gateway, etc., and my first Razer is the only one that I got a swelling/bulging battery problem.
Is it just my luck or razer's quality problem?
Is it a battery quality problem, or just the laptop design will kill any battery?
Saturday, September 11, 2021
Smallest Java hello world web application
- Requires no dependencies other the Java runtime itself.
- Since JDK 11+, you can run the file directly
Monday, May 24, 2021
Withholding tax by country of major markets
Australia | 30% |
Canada | 25% |
China (Mainland Incorporated) | 10% |
China (Offsohore Incorporated) | 0% |
Hong Kong | 0% |
Japan | 20.42% |
Singpaore | 0% |
Singapore REITs | 10% |
U.K. | 0% |
U.K. REITs | 20% |
U.S. | 30% |
Source: https://www.spglobal.com/spdji/en/documents/additional-material/withholding-tax-index-values.pdf