Happy 70s Birthday Dad!
Time flies
Time flies
So as you may or may not be aware, the Portfolio page and the Photography page have been broken for the longest time, well today I managed to finally fix them. I’m not going to use the old “too busy” excuse to justify why they’ve been broken for so long (although it’s true), but I couldn’t for the life of me figure out why the shortcodes couldn’t parse. So eventually I decided to say f*ck it and decided to nuke everything and restore from an old backup from last year, which somehow magically fixed those pages (and also the bug where the 3D effect doesn’t work on Firefox, don’t ask me how).
Anyway now that they’re back, I should probably update them with more recent works. I don’t think I’ve added anything new for several years.
Here’s hoping I don’t take another year before getting around to actually doing it.
Okay first one down, 34 more to go. (oh yeah btw, I may have nuked my entire home server along with over 30 services running on it including Phimhub because I trusted ChatGPT to handle docker management, lesson well learned)
It’s been ages since my last post.
It’s not that I haven’t been trying to write, but lately I find it increasingly difficult to finish a post, or even a thought.
Just look at the amount of drafts I have pending, some of which dated back several years.
Even as I’m writing this, I’m not entirely sure if this will eventually make it to the blog page, or end up as another draft. Still, I needed to start writing again, or I might forget how to. Tonight is the Eve of the Lunar New Year celebration here in Vietnam, but I have no doubt it will be much later until I can finish this blog post. We’ll see.
With my wife having to lie in bed all day, I’m now responsible for making breakfast, lunch and dinner. Between preparing meals and doing the dishes, I can now barely have enough time to work on my day time job, let alone some 30 minutes to write out these thoughts. It’s tough but it also gives me a whole new level of respect for my wife, she’s been doing this for years without complain, I don’t know how she managed to pull it off while running a successful start-up, such a super human.
On a personal note, looking back on 2023, there wasn’t anything particularly eventful that I can recall. It wasn’t a bad year, per se, but it wasn’t a great year either. I visited the hospital a whole lot, perhaps more than any other year up until now. My parents had all kind of health problems as they slowly approaching 70s, my wife had a severe case of food poisoning on our only out-of-town trip of the year, we booked a 4-star resort in Vũng Tàu only to cram together on a tiny hospital bed in District 1, HCMC. And as I sit here writing, we just got back home from a week long stay in Đông Đô Hospital. To be honest, I could really use a year without going near any hospital but at this rate, things are probably not going to change this year.
But 2023 wasn’t all bad, I still managed to learn many new things. I finally got an entry level 3D printer (Kingroon KP3S Pro v2) and printed a bunch of useful stuffs, wow’ed a couple of friends, learn how to modify basic meshes to I can make things fit my need. On top of that, there’s also the AI stuffs. 2023 was the year of AI explosion, and I managed to dip my toes in some generative AI stuffs. Learned how to use Stable Diffusion, MidJourney, ComfyUI etc. Realized how useful AND dangerous this stuff is (seriously, if you post a photo of yourself on Facebook these days, you might as well be naked, as that is only a few clicks away). My only regret is that I still don’t have anybody to teach these stuffs to. I love sharing knowledge but haven’t a platform to do so.
I haven’t finished writing yet but my time for today’s up, and because I don’t want to start this new year with yet another Draft post, I’m going to hit Publish.
Happy New Year
(this post will be written in Vietnamese as those are the main target audience)
SheepIt là một dịch vụ render đám mây phân tán, miễn phí, giúp người dùng chia sẻ tài nguyên máy tính để tăng tốc quá trình render đồ họa 3D. Hệ thống hoạt động dựa trên sự đóng góp của cộng đồng, nơi mỗi người tham gia có thể sử dụng sức mạnh xử lý từ máy tính của mình để giúp render các dự án của người khác và ngược lại. Nhờ vào mô hình cộng đồng, SheepIt mang đến một giải pháp tiết kiệm chi phí, linh hoạt và hiệu quả cho các nghệ sĩ 3D, nhà làm phim và nhà thiết kế, hỗ trợ họ hoàn thành các tác phẩm một cách nhanh chóng và dễ dàng.
Full disclosure: Mình là team founder của team Vietnam trên cộng đồng SheepIt. Nếu các bạn tham gia đóng góp computing power của máy mình trên SheepIt, các bạn có thể join vào team mình. Khi ở trong team các bạn sẽ được sử dụng điểm chung của team để render dự án của mình. Các bạn cũng có thể tham gia chém gió cùng các thành viên khác trong team Vietnam trên kênh Discord chính thức của team tại đây.
So I’ve switched to yet another cloud provider. This time it’s Hetzner.
While I prefer to self-host most of the services that I use (media server, team chat, password manager, CCTV etc.), I still keep my WordPress sites on a separate VPS. The main reason why I do this is because I prefer to keep all my self-host services containerized in docker, but the LAMP stack is one of the few things that runs just so much better bare-metal than containerized. You don’t have to worry about volume bindings, multiple db container vs single db container, PHP settings etc. Plus it never hurts to have a VPS laying around in case you need a sock proxy.
My VPS history:
Started with Google Cloud Platform, it served me well and taught me a lot about managing VPS. Performance was top-notch (it’s still Google after all). Google later revised their pricing which put it outside of my price range. I then looked into Oracle Cloud since I heard a lot of good things about their free tier VPS. Unfortunately though its performance was horrible for me. I couldn’t get any of the fabled ARM VPS with 24GB RAM that they offer, but for me I would be fine even with the micro 1 vCPU 1GB RAM instance, IF it worked. Unfortunately it was unreachable most of the time (I registered for the South Korean datacenter, it was before the Singapore DC was available). So I started looking else where, finally decided to settle with Linode’s nanode.
It worked, for a while. Until performance became a problem again. With the $5 nanode (1 vCPU, 1GB RAM) I was constantly getting database timeout errors. It was clear 1GB just wasn’t cutting it. Unfortunately adding just 1GB more RAM would’ve doubled the monthly fee to $11. I was unhappy with that value.
So anyway, long story short, I switched to Hetzner as per many recommendations on reddit. And you know what, redditors know their stuffs. For less than the price of a Vietnamese Starbucks I’m getting 2 vCPU, 2GB RAM, 40GB Storage and 20Tb bandwidth per month. This beats the absolute living shit out of any offer from Vulture, Linode, DigitalOcean, OVH etc.
The downside is of course, this pricing only applies to VM instances located in Europe. I suppose Hetzner has some sort of home turf advantage that enabled them to keep the cost down. They recently introduced a new data center in Singapore. I tried provisioning a VM there but the monthly cost is more than triple the price of Helsinki. But I can live with a little of latency if that means I can keep the cost at a reasonable level. Otherwise I’d just bring everything back to run on my home NAS.
We (our family) have been using VNPT as our primary ISP for years. They are the largest ISP in Vietnam and generally we have been happy with their services. That rapidly changed during the last year.
Here’s my list of complaint with VNPT:
For reference, for the same price I’m paying ($10/mo) I’m getting more or less the same speed (150Mbps) on FPT but with a free Android box and a subscription to their TV service FPT Play. (VNPT also has MyTV, but it doesn’t come with the internet package). This puts FPT values way above VNPT even for the base package. But things start to get interesting once you get to the next package tier. For an additional $2/mo, FPT buffs your downstream speed all the way to Gigabit! That’s absolutely crazy.
So in the last 2 short months I’ve subscribed to:
And that is on top of my existing subscriptions:
I need help.
Just learned that my mom got diabetes today.
I know it’s not like cancer, but still, why does it get me down so much.
Old age are catching up to us all.
It is no secret that I am a major self-hosting fanatic, but people have been asking specifically about what it is that I host my home “server” (which is a glorified term really, it’s only an old Pavillion laptop running a 4th gen core i5 and 8GB of DDR3 memory). Still
Authelia is an authentication gateway. You only need to sign in once and you’ll get access to the whole server, but it’s not really SSO. You still need separate accounts for their respective applications. Still, having an additional layer of security in front of your services does provide peace of mind, especially when you combine it with Duo Security as a MFA method.
There’s many reverse proxies out there, like Traefik and Caddy, which is actually what I started it. But I choose NPM due to its simplicity. Sure Traefik and Caddy may offer more fine tune controls and is more suitable for power users, but NPM just works™ with minimal configuration. It also handles SSL (via Let’s Encrypt) and its default configuration covers most of my need.
This is it, this is what sent me down this self-hosting rabbit hole. Those who followed me would remember that I run a small movie club called Phimhub, and I started out with a WordPress website much like namvu.net, that listed (NOT hosted) a number of interesting movie titles for our group. Much to our dismay Google, in their infinite wisdom, decided they didn’t like the site and axed my account (no specific reason given). So I did what any reasonable person would do, and host my own media server, with blackjack and hookers.
Read MoreIf you recall I actually attempted to touch on this subject once in the past. That was back when I still used Photoshop for UI design, so that little screenshot took me like 3 days or something. Today I’m attempting to do it again but in Figma and see if I could do something similar in 3 hours.
What if Audacity has a theme that used the same design language as Apple’s Logic Pro X?
Recent Comment