:::

用Cloudflare Tunnel的內網穿透來連接Home Assistant的Google助理 / Using Cloudflare Tunnel for Internal Network Penetration to Connect Home Assistant to Google Assistant

布丁布丁吃布丁

用Cloudflare Tunnel的內網穿透來連接Home Assistant的Google助理 / Using Cloudflare Tunnel for Internal Network Penetration to Connect Home Assistant to Google Assistant

2025-1018-234306.png

如果要讓Google助理操作Home Assistant所連結的設備,那麼必須要有能夠連上Home Assistant的公開HTTPS網址才行。由於原本我用的Telebit發生問題,所以我花了一些時間找尋替代方案。這篇就做個記錄吧。

To allow Google Assistant to control devices connected to Home Assistant, a public HTTPS address that can connect to Home Assistant is required. Since my original Telebit had issues, I spent some time looking for alternatives. This is just a record of that.

(more...)

希希助教祝各位同學中秋節快樂! / TA. Sissi Wishes Everyone a Happy Mid-Autumn Festival!

布丁布丁吃布丁

0 Comments

希希助教祝各位同學中秋節快樂! / TA. Sissi Wishes Everyone a Happy Mid-Autumn Festival!

20250101_BLOG_.note_01.png

與家人團圓之後,做好開學的準備了嗎?新學期也要加油喔!

(more...)

看電腦覺得疲憊嗎?比起螢幕,你更應該注意炫光的問題 / Are You Tired of Looking at the Computer? Pay More Attention to Glare Than the Screen

布丁布丁吃布丁

看電腦覺得疲憊嗎?比起螢幕,你更應該注意炫光的問題 / Are You Tired of Looking at the Computer? Pay More Attention to Glare Than the Screen

2025-0326-161840.png

說到人體工學這件事情,我想講一下燈光的問題。作為租屋族,我發現大部分租屋環境的燈光都不太適合長時間使用電腦。這個問題有兩個層面:一個是螢幕前的光線不足,另一個是螢幕後的光線不足。瞭解這兩種燈光的問題,才能改善眼睛疲勞的狀況。

Speaking of ergonomics, I want to talk about lighting. As a renter, I've found that the lighting in most rentals isn't suitable for prolonged computer use.  There are two aspects to this problem: insufficient light in front of the screen, and insufficient light behind the screen. Understanding these two lighting issues is key to improving eye strain.

(這篇本來是2022年發佈在Facebook粉專上的文章,但實在是太多人都有同樣的問題,我想還是在Blog再重發一次好了,這樣也比較好找。)

(more...)

為何桌前打字總是腰痠背痛?桌子高度和螢幕高度對人體工學的影響 / The Effect of Desk and Monitor Height on Ergonomics: Why Does Typing at a Desk Often Lead to Back Pain?

布丁布丁吃布丁

為何桌前打字總是腰痠背痛?桌子高度和螢幕高度對人體工學的影響 / The Effect of Desk and Monitor Height on Ergonomics: Why Does Typing at a Desk Often Lead to Back Pain?

2025-0326-155218.png

自從買了螢幕支架之後,我開始對所謂的「人體工學」完全改觀了。我認為比起購買昂貴的「人體工學椅」,調整合適的桌子高度跟螢幕高度,可能才是解決你腰痠背痛的關鍵因素。

Ever since I bought a monitor stand, my entire perspective on "ergonomics" has completely changed. I think that adjusting your desk and monitor to the proper height is probably more key to solving your back pain than buying an expensive "ergonomic chair".

(這篇本來是2022年發佈在Facebook粉專上的文章,但實在是太多人都有同樣的問題,我想還是在Blog再重發一次好了,這樣也比較好找。)

(more...)

行動網路無法連線?三星手機簡易解決方案 / Mobile Network Not Connecting? Easy Solutions for Samsung Phones

布丁布丁吃布丁

行動網路無法連線?三星手機簡易解決方案 / Mobile Network Not Connecting? Easy Solutions for Samsung Phones

2025-0301-162157.png

如果手機無法連上4G或5G網路,除了重開機或短暫切換成飛航模式之外,還可以將SIM卡的網路模式暫時切換,讓4G或5G網路斷線後重連,這樣就可以讓行動網路重新運作了。

If your phone can't connect to a 4G or 5G network, besides restarting your phone or briefly switching to airplane mode, you can also temporarily switch the network mode of your SIM card to disconnect and reconnect to the 4G or 5G network. This can get your mobile network working again.

(more...)

實作相容OpenAI API,但背後不是OpenAI的API服務 / Implementing OpenAI API-Compatible Services, But Not Powered by OpenAI

布丁布丁吃布丁

實作相容OpenAI API,但背後不是OpenAI的API服務 / Implementing OpenAI API-Compatible Services, But Not Powered by OpenAI

2025-0212-193808.png

我們上次談到了不是背後說用到OpenAI模型的API不見得能相容OpenAI API,那我們這次就來做個能夠相容於OpenAI API的服務,但只會回答「喵」的「喵型語言模型」。

Last time we talked about how not all APIs that claim to use OpenAI models are necessarily compatible with the OpenAI API. This time, let's create a service compatible with the OpenAI API, but it only responds with "Meow." We'll call it the "Meow Language Model."

(more...)

雜談:生活小技巧之用魔鬼氈避免機車鑰匙脫落吧 / Talk: Use Velcro to Prevent Your Motorcycle Key From Falling Off

布丁布丁吃布丁

雜談:生活小技巧之用魔鬼氈避免機車鑰匙脫落吧 / Talk: Use Velcro to Prevent Your Motorcycle Key From Falling Off

2025-0514-172516.png

這幾天騎機車騎到鑰匙居然整個掉出來了,這該怎麼辦好呢?

(more...)