isc-kea使用python進行管理,相關測試

修改同樣一隻程式 ChatGPT VS GoogleGemini 程式修改

因為不想給小朋友和手機使用,所以買了一台帶螢幕的播放器。
這台老人播放器很低階
只支援 Dvix / mp4 / 360P 的mp4(mp4,avi,rmvb,mp3影音格式都「有限」的支援)
先不講,為了要解決unsupport format測試了很久才找到上面的參數。

音檔來源:線上發音課整個播放清單,使用yt-dlp整個下載回來,內含metadata等相關說明
因為,來源,有的是zoom錄影,有的是手機拍攝,所有解析度從1080P(手機)到480P(Zoom)都有
而且播放清單的順序,是從A~Z,但是拍攝的時間卻不是全都依序

另外,用播放器播放時,播放順序不是檔名,而是建立/修改日期
所以…
我寫了一隻python以檔名,排序,取得當時時間,依序修改每個檔案建立日期和修改日期。

但是…對岸來的,所以播放檔名如果是正體中文,是看不到的,所以修改這隻python在改檔名時,順便做了簡繁轉換。
利用ChatGPT和Google Gemini來做測試,對同一隻程式進行修改
Read more

[ChatGPT 3.5 VS Mistral OpenOrca VS Wizard v1.2 VS Hermes] 多個模型 文章產生比較

Chat4All 可以在個人電腦中安裝多個預訓練過的AI模型,網路上各個網紅說,是本機的ChatGPT,經過測試其實落差蠻大的。

提問句
寫一個心靈文章 內容關於永於挑戰,不懼失敗的文章。讀者目標是12歲左右的孩子。

測試語言
正體中文

ChatGPT 3.5 第一篇

標題:永不止步,勇敢挑戰的冒險旅程 Read more

[chatGPT 測試] 寫一隻 php 連線 mysql 檢查指定的路徑 低於設定的百分比,進行發信

寫一隻php,功能需求如下
1.連線MySQL Server
2.使用SScan資料庫
3.讀取Path_List
4.資料表中
Server 遠端路徑
Path 檢查路徑欄位
Mount_Point 掛載點
Account 帳號
Password 密碼
Percen 百分比
5.使用 exec 語法
使用 mount 指令
用 Account / Password 通過 Server的驗證
掛載Path到Mount_Point上
檢查總空間,可用空間,已用空間
6.如果可用空間低於Percen 設定的百分比
使用phpmailer發信通知
7.另外要有副本收件者

Read more

FAUST加密勒索病毒 不僅僅是加密,還弄壞了我的NAS

All your files have been encrypted! All your files have been encrypted due to a security problem with your PC. If you want to restore them, write us to the e-mail herbtc@lenta.ru Write this ID in the title of your message XXXXXXXX-XXXX In case of no answer in 24 hours write us to this e-mail:<>
2/14早上進公司,回報系統不能用,結果發現是中了faust加密勒索病毒
以至於DB資料庫和應用程式都無法正常使用
打開了畫面之後,發現下面的訊息

Read more

certbot 更新 letsencrypt SSL 失敗

certbot renew 出現下面的錯誤
Cert is due for renewal, auto-renewing…
Could not choose appropriate plugin: The manual plugin is not working; there may be problems with your existing configuration.
The error was: PluginError(‘An authentication script must be provided with –manual-auth-hook when using the manual plugin non-interactively.’)
Attempting to renew cert (def.com-0001) from /etc/letsencrypt/renewal/def.com-0001.conf produced an unexpected error: The manual plugin is not working; there may be problems with your existing configuration.
The error was: PluginError(‘An authentication script must be provided with –manual-auth-hook when using the manual plugin non-interactively.’). Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/abc.com-0003/fullchain.pem (failure)
/etc/letsencrypt/live/def.com-0001/fullchain.pem (failure)

Read more