2024/09/09

Synology手動更新韌體失敗 更新檔毀損

 下載了synology的韌體更新檔後,要手動更新,結果都會跳出更新擋毀損的錯誤。

其原因是NAS主機上的韌體版本跟要更新的版本差太多,(要從6.3升到7.2)。

解決方法就是先去下載7.0.1版來手動升級,升級成功後,再手動升級最新版,就可以了。



After downloading the Synology firmware update file and attempting a manual update, an error message stating that the update file is corrupted always appears.


The reason for this is that the firmware version on the NAS is too far behind the version you're trying to update to (upgrading from 6.3 to 7.2).


The solution is to first download version 7.0.1 and manually upgrade to it. Once the upgrade is successful, you can then manually update to the latest version without issues.

2024/08/01

主機板上的內建顯卡 抓不到螢幕

 有幾台同型號的桌機,主機板上有內hdmi/dvi 接孔,也都有加裝外接顯卡,螢幕接上外接顯卡都正常運作。

但把外接顯卡拔掉,螢幕接上內建的hdmi/dvi ,就都抓不到螢幕,到bios裡也找不到可以調整了。

去查了一下該主機的手冊才發現,原因主機板上有內建的顯示接孔,不一定有用,還要看cpu有沒有支援。

怎麼查cpu有沒有支援,可以查看這篇說明

https://www.asus.com/tw/support/faq/1045576/




There are several desktop computers of the same model. The motherboards have built-in HDMI/DVI ports, and they all have external graphics cards installed. When the monitor is connected to the external graphics card, everything works fine.

However, when the external graphics card is removed and the monitor is connected to the built-in HDMI/DVI ports, the screen is not detected, and there's no option in the BIOS to adjust it.

After checking the manual for the motherboard, I found out that even though the motherboard has built-in display ports, they may not be functional depending on whether the CPU supports it.

To find out if the CPU supports it, you can refer to this guide:

https://www.asus.com/tw/support/faq/1045576/

2024/07/29

covered call 期貨一直跌 很煎熬

 最近一直跌,Sell call雖然都有賺到,但賺的部分實在很難補小台跌的部分。

真的是很煎熬,要一直補保證金,不然怕等等不小心被斷頭。

一直在想是不是應該買個PUT才對。

2024/07/12

sc被穿後,換sp又被穿

 

上圖是從https://steadyoptions.com/articles/the-options-wheel-strategy-wheel-trade-explained-r632/ 抓來的。
這就是目前小台搭配選擇權的策略。
一開始先小台+sc,第一二周沒穿價,收sc權利金,第三周被穿進結算賣了小台,整體是獲利。
第四周就sp,結果兩天就被穿價,所以平倉sp,再次買進小台+sc,又回到covered call。
sp被穿價要平掉真的有點想凹,但還是有確實執行,一切就照著策略走。

2024/07/02

期貨賠 選擇權賠 那就混在一起做小台covered call

 雖然期貨做了6~7年, 選擇權也做了2年,都找不到穩定獲利的策略,但還是想做呀。

後來看了輝哥的covered call策略,解釋的內容比其他的介紹好很多。

即然看好台股長期是向上,那持有台指期也是很合理的策略,只要保證金放的夠多,搭配賣call來收權利金,的確是個很好的搭配。

目前就是小台搭配週選賣call,雖然小台是跌的,但保證金放的夠,賣call又一直能補點血回來,心裡的負擔感覺好多了。

希望這招能穩穩的做下去。

2024/06/21

i-ctrl AC 使用心得

 


一開始連線設定好難用,跟ipcam這種產品相比,設定的順暢度差很多。
一次只能對應到"一種搖控器",所以如果你有多台相同型號的冷氣,買一顆就可以同時控制這些冷氣。但如果冷氣是用不同搖控器,那一顆i-ctrl ac一次就只能控制一台。
連上冷氣後,不代表什麼功能都可以設定,連上10幾年的老冷氣後,只有開跟關的功能,溫度,冷氣或送風那些通通都不能用,也看不出來當下的冷氣是開還關。
只能在相同的區網內才能控制,官網上顯示的你離開會幫你關,回家可以先開,是透過手機GPS定位來判斷你的位置,並不是真正的你在外面用手機網路時,可以連線回來控制你的冷氣。
心得就是跟當初想要的功能差很多。


2024/06/18

win10安裝framework3.5

最近win10下載framework3.5安裝時,一直失敗,都是在下載必要原件的地方失敗,改機碼也沒用。

後來看到一招,就是找一個win server2012以上的安裝iso,把裡面的sxs資料夾複製到win10的c槽,然後用powershell執行下列指令,就成功了。

dism.exe /online /enable-feature /featurename:netfx3 /Source:c:\sxs



Recently, I kept failing to install Framework 3.5 on Windows 10. The failure always occurred at the stage of downloading the necessary components, and modifying the registry didn't help.

Later, I found a method that worked. You need to find an installation ISO for Windows Server 2012 or later, copy the "sxs" folder from the ISO to the C drive of your Windows 10 machine, and then execute the following powershell command. This solved the problem:

dism.exe /online /enable-feature /featurename:netfx3 /Source:c:\sxs

2024/05/09

EPSON無線投影

 EPSON買一些投影機有內建無線投影功能,有分成兩種投影模式。

1- screen mirroring

這種方式投影很簡單,投影機本身不需做任何設定,client電腦,win10以上,按下win + p鍵,就可以找到"連接到無線顯示器"的選項,選下去後,就會搜尋到投影機,直接進行連接投影,非常方便。



2- iProjection

這個就要先在投影機上,設定連上內部的無線網路。

然後client電腦要裝Epson 的iProjection 無線投影軟體。

client電腦跟投影機都在同一個區網內,iProjection程式執行後,就會自動搜尋到投影機讓你連線投影。


2024/05/08

新買的asus 筆電安裝win10找不到硬碟

 新買的asus 筆電是win11,要重灌在win10。

但在安裝的過程,卻找不到任何硬碟(裡面有1個m.2跟1個sata硬碟)。

這時就要進到bios裡,在"進階"設定中,找到"儲存介面",裡通換sata操作設定值,把raid改成ahci,重新再試一次,就可以找到裡面所有的硬碟了。


The newly purchased ASUS laptop came with Windows 11, but I need to reinstall it with Windows 10.

However, during the installation process, I couldn't find any hard drives (there is one M.2 and one SATA hard drive inside).

To solve this, I had to enter the BIOS, navigate to the "Advanced" settings, find "Storage Interface," and change the SATA operation setting from RAID to AHCI. After doing this and trying again, all the hard drives were detected.

2024/05/07

新買的asus 筆電找不到secure boot選項

 新買的asus win11筆電需要降級裝win10,插入安裝win10的usb,就會出現"secure boot violation invalid signature detected. check secure boot policy in setup"的錯誤。

看到這個就是去bios把secure boot的功能關掉就對了,但進到bios裡,卻一直找不到。

後來才查到,要先把fast boot的功能關閉,secure boot的選項才會出現。



The newly purchased ASUS Win11 laptop needs to be downgraded to install Win10. When inserting the Win10 installation USB, an error message "secure boot violation invalid signature detected. Check secure boot policy in setup" appears.

To resolve this, you need to disable the secure boot feature in the BIOS. However, upon entering the BIOS, the option was not found.

Later it was discovered that the fast boot feature needs to be disabled first for the secure boot option to appear.

2024/04/30

win10電腦麥克風沒反應 收不到音

某台asus win10的筆電內建麥克風跟外接耳麥,都收不到音。

但在裝置管理員裡都有找到設備,所以就更新驅動,結果還是沒用。

後來拿閒置硬碟換上去裝了win11後,居然都沒問題,那表示硬體沒故障。

在換回win10 後,突然想到,去設定裡面看看,結果發現在"隱私權"裡面有一個"麥克風"的設定,有一個"存取此裝置的麥克風"居然是關閉的,改成開啟後,麥克風就正常了。



An ASUS laptop running Windows 10 had issues with both the built-in microphone and external headset not picking up any sound. Even though the devices were detected in the Device Manager, updating the drivers didn't solve the problem.

Later, when a spare hard drive was installed and Windows 11 was installed on it, surprisingly, there were no issues with the microphone. This suggested that there was no hardware fault.

Upon reverting back to Windows 10, checked the settings. It was discovered that under "Privacy," there was a setting for "Microphone," and the option to "Allow apps to access your microphone" was inexplicably turned off. After toggling it on, the microphone started working properly again.


2024/04/29

所有網路共用資料夾都連不上 錯誤代碼:0x80004005

 有台win7電腦有時後會突然連不到所有的共用資料夾都連不上 ,錯誤代碼都是0x80004005。

但上網都正常,去ping那些共用資料夾的主機也正常。

經查才發現,那個win7電腦的網卡內容裡,少了很多項目,正常的應該要像下圖一樣,但那台電腦裡的網卡內容只剩ipv4的設定。

要把其他功能找回來,就只要按下左下方的"安裝",裡面就有其他項目可以選,選好後馬上就會裝回來了,但是要重開機後,會生效。




Sometimes a Windows 7 computer suddenly cannot connect to any shared folders, and the error code is always 0x80004005.

However, internet browsing works fine, and pinging the hosts of those shared folders also works.

Upon investigation, it was found that many items were missing from the network card settings of that Windows 7 computer. Normally, it should look like the image below, but the network card settings on that computer only have IPv4 configuration.

To restore the missing functionality, simply click on "Install" at the bottom left, where there are other items to select. After selecting the desired items, they will be installed immediately, but a reboot is required for the changes to take effect.



2024/03/07

outlook 自動儲存尚未傳送的郵件

有的使用者不知是不是信件開太多,pst又掛載一大堆,三不五時outlook就會突然都沒反應,雖然從工作管理員查看,cpu還是有在處理,但每封信或是outlook主視窗上面所有的鈕都無反應,只能強制關係。

這時後如果有些信寫到一半還沒寄出會存成草稿,就會怕資料不見。 

outlook裡面有一個自動存到草稿的功能,就在"選項"-->"郵件"裡面,可以設定幾分鐘內沒寄出的信自動儲存。

如果是正常方式關閉outlook,系統會問你,要不要存,你選擇不存,就算超過設定的時間,也不會存到草稿。

但若不小心outlook當掉,超過時間的那些信,其實就可直接在開啟outlook後在草稿匣內找到,這功能還蠻實用的。




2024/02/21

電腦登入後都會啟動一個程式Bright Data

下載格式工廠來做一些影片轉檔時,發現電腦右下角工具列,多了一個程式"Bright data",不知是什麼東西。



每次登入電腦就會啟動,在windows啟動列表中,卻找不到這個項目,電腦的程式安裝清單內也沒有。

查了一下才發現這是做網路代理的程式,但被被不肖份子濫用,使個人設備成為攻擊跳板。

https://www.cc.ntu.edu.tw/chinese/cert/cert20230815.asp  這個網頁有提供移除方法。

簡單的說就是用Autoruns.exe或procexp.exe去找搜尋net_updater64.exe、net_updater32.exe及brightdata.exe或服務Brightdata Service是否持續運行,找到就把這個程式刪除。


When downloading Format Factory to perform some video conversions, I noticed a program called "Bright data" appearing in the toolbar at the bottom right corner of my computer screen. I was unsure what it was.


Every time I logged into my computer, it would start up, but I couldn't find it in the Windows startup list, nor was it listed in the installed programs on my computer.


After some investigation, I discovered that it's a program used for internet proxies, but it has been abused by malicious actors, turning personal devices into attack proxies.


This webpage (https://www.cc.ntu.edu.tw/chinese/cert/cert20230815.asp) provides a method for removing it.


In short, you can use Autoruns.exe or procexp.exe to search for net_updater64.exe, net_updater32.exe, and brightdata.exe, or check if the Brightdata Service is continuously running. Once found, you can delete the program.

2024/02/17

ESXI 7.0 安裝好WINDOWS 2019 無法使用ctrl alt del

剛裝好一台 ESXI 7.0,在上面建好一台win2019的虛擬機後,要傳送ctrl +alt +del做登入時,都沒反應。

之前也遇過,不過那是做了windows更新,裝到了vmtool造成的,這次卻是裝好win2019就沒辮法登入了。

後來發現是因為裝好後,通常都會直接選擇"開啟瀏覽器主控台",然後操作,有時後傳送ctrl +alt +del會失效。

改用"啟動遠端主管台"來傳送ctrl +alt +del,就可以了。



Just installed an ESXi 7.0 server, and after setting up a Windows Server 2019 virtual machine on it, I found that pressing ctrl + alt + del to log in doesn't work.

I've encountered a similar issue before, usually caused by Windows updates or installing VMtools. However, this time, even after setting up Windows Server 2019, I couldn't log in.

Later, I realized that after installation, I typically chose "Open Browser Console" directly, and sometimes sending ctrl + alt + del wouldn't work.

Switching to "Launch Remote Console" to send ctrl + alt + del solved the issue.



2024/02/06

利用python做台指期當沖自動交易~~失敗

 利用python做台指期當沖自動交易~~跑了快三個月吧。

程式本身沒什麼問題,大概就是停損出場會滑價,其他方面執行上是沒什麼問題。

但失敗了,因為策略太爛了,雖然風報比把2:1,但太常停損了,勝率太低,所以最重要的還是策略,程式只是個輔助。

現在就停止當沖,在好好想想策略吧。

2024/01/23

EDGE開啟pdf檔直接另存

 有時後用EDGE在瀏覽網頁時,看到一些PDF檔,EDGE可以直接顯示,不用另存成PDF檔,再用 PDF reader開啟。

如果希望直接存在PDF檔,不要在EDGE中直接開啟,可以調整機碼來達行。

機碼位置如下,如果沒有的話,可以自行手動新增,設定好要重開機才會生效。



Sometimes, when browsing web pages using EDGE, you may come across PDF files that EDGE can display directly without the need to save them as PDF files and then open them with a PDF reader.

If you prefer to save the PDF file directly instead of opening it in EDGE, you can adjust the registry to achieve this.

If you cannot find this registry entry, you can manually add it yourself and ensure that the changes take effect after restarting your computer.



2024/01/19

WIN10 安裝framework 3.5失敗 0X800F0954

 win10在裝framework 3.5一直失敗,錯誤代碼是 0X800F0954 。

有人說要去HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU\ 裡面調機碼,把UseWUServer的值改成0。

但發現自己的電腦裡並沒有這個機碼,所以就手動新增,設定好重開機,就可以成功安裝。



Windows 10 fails to install Framework 3.5, and the error code is 0X800F0954.

Some suggest modifying the registry key at HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU\ by changing the value of UseWUServer to 0.

However, it was found that the registry key was not present on the computer, so it was manually added. After configuring and restarting, the installation was successful.



2024/01/05

WINDOWS複製資料夾 包含權限

 如果要把A資料夾整個完整複製,包含裡面的權限跟所有資料,然後名稱變成B資料夾。

而且B資料夾本身的權限必須跟A資料夾相同,可以使用robocopy這個內建指令。

執行指令前要確認B資料夾不存在,再執行指令。

指令: robocopy D:\A D:\B /E /COPYALL



If you want to completely copy the entire A folder, including its permissions and all data inside, and rename it to B folder, you can use the built-in command robocopy.

Ensure that the B folder does not exist before executing the command.

Command: robocopy D:\A D:\B /E /COPYALL

2024/01/03

WINDOWS 檔案總管內點選檔案時速度很慢

使用者反應,他在檔案總管裡,開啟一個pdf檔案時很正常,然後再點其他pdf檔案後,檔案不會馬上開啟,要等個幾十秒,他認為是程式有問題。

把程式重新安裝後,還是一樣,後來發現在檔案總管內,是有開啟預覽窗格的功能,如果這個功能關閉,連續開啟不同檔案時,就不會有緩慢的問題了。




User feedback indicates that when he opens a PDF file in File Explorer, it works fine. However, when he tries to open another PDF file after that, the file doesn't open immediately; instead, it takes several seconds. He believes there is an issue with the program.

Even after reinstalling the program, the problem persists. Later, it was discovered that within File Explorer, there is a feature to open a preview pane. When this feature is disabled, there is no longer a delay issue when opening different files consecutively.

2024/01/02

python py轉exe後執行失敗

 最近在更新一個python檔案,更新完要透過pyinstaller轉成exe,會用到pandas跟openpyxl兩個套件。

轉出來後卻無法執行,錯誤訊息是說numpy有問題(Error importing numpy: you should not try to import numpy from....)

這個是在裝pandas時自動裝進來的,研究到最後就是python的版本太新(3.9.x),重新建一個虛擬環境,降到3.6就排除這個問題了。

但卻產生另一個錯誤(ImportError: Missing optional dependency 'xlrd'. Install xlrd >= 1.0.0 for Excel support Use pip or conda to install xlrd)

查到最後也是版本的問題,最快的方法就是重做一個虛擬環境,python是3.8.1,然後pip install pandas跟openpyxl,xlrd跟numpy的問題就沒了。



I have been updating a Python file recently, and after the updates, I need to convert it to an executable using pyinstaller. The script relies on two packages, pandas and openpyxl.

However, after the conversion, the executable cannot run, and the error message indicates an issue with numpy (Error importing numpy: you should not try to import numpy from....). It turns out that this issue arose because of the version of Python being too new (3.9.x) when installing pandas. I resolved this by creating a new virtual environment and downgrading to Python 3.6.

However, this led to another error (ImportError: Missing optional dependency 'xlrd'. Install xlrd >= 1.0.0 for Excel support. Use pip or conda to install xlrd). After investigation, I found that this was also a version-related problem. The quickest solution was to create a new virtual environment with Python 3.8.1 and then install pandas and openpyxl using pip. This resolved the issues with xlrd and numpy.