https://www.newmobilelife.com/2016/07/09/20-google-chrome-shortcut-hotkey/
主要想找切換分頁的快捷鍵
https://www.newmobilelife.com/2016/07/09/20-google-chrome-shortcut-hotkey/
主要想找切換分頁的快捷鍵
在群組看到有人推薦這部影片
https://www.youtube.com/watch?v=5pYZtO1W_Tw
影片內容有許多與日常生活經驗跟官方說法不同的東西
我的困惑是這個到底真的假的?
後來稍微查了一下,知乎上有類似的討論
https://www.zhihu.com/question/62241450
這兩邊看完的心得大概是
1.飲食的重要性:注意營養與不要過量
2.沒鍛鍊的時候,可以吃素比較簡單
3.很多知識,都是廠商跟相關機構提供的,到底值不值得信任?商機上,一個值得信任的機構是有其價值的
1.在該project內調整
Project → 右鍵Properties → Configuration Properties → General →Target Platform Version
應該可以下拉選擇
2.Solution調整
Solution->右鍵Retarget solution
3.以上方法有問題的話
移除Windows SDK重新安裝
按照目前問題跟順序排序
應該先測試重裝Visual Studio
再測試重裝Windows SDK
wireshark無法抓到封包
主要是因為公司電腦有鎖定admin權限,但後來跟IT拿了admin權限還是不行
再看內部自動安裝的有Npcap, 將其解除安裝後, 重新單獨安裝就可以正常抓到封包了
我自己試起來也有這個現象,大家也可以做個實驗看看。
國外實測結果確實如此,下面有位網友在stackexchange上發問
如何找到導致kernal_task高CPU使用率的原因?
這個可能持續數分鐘到有時候會有數小時,電腦在這樣的狀態下不能很有效率的運行。
重開機也沒有幫助,新的kernel_task procee也會再次產生,直到所有操作完成為止
最佳解答回答說
內文太長不看的話,直接看結論: 如果你的MacBook Pro運行時高溫或者顯示kernel相關任務高CPU使用率,嘗試將充電線及轉接頭從電腦左側移到右側
原文附上,暫時不翻譯
TLDR; If your MacBook Pro runs hot or shows a high % CPU for the kernel task, try charging on the right and not on the left.
High kernel_task
CPU Usage is due to high chassis temperature caused by charging. In particular Left Thunderbolt port usage.
Solutions include:
Proof:
Actual CPU temperature or application CPU usage is uncorrelated with kernel_task
. A hot CPU is throttled by reducing its clock speed, not by scheduling fake no-op load.
The graphs below are from iStatMenus. The machine had been used on battery then plugged in.
State A a USB-C hub (a mouse and keyboard, plus power) and a USB-C HDMI 2.0 adapter, both on the left side. You can see the Thunderbolt Left Proximity temperature sensor rise quickly. About 3-4 minutes later the dreaded kernel_task
high CPU usage starts.
State B cures the kernel_task
problem by moving power from the left ports to the right. The left side temperature drops and the kernel_task
goes away within about 15 seconds.
This is causal. Moving power back to the left side, restoring State A, quickly restores the temperatures and kernel_task
again comes back after 3-4 minutes. Again moving power back to the right side, restoring State B, resolves the problem immediately.
State C shows that simply having stuff plugged in to TB ports raises their temperature significantly. Both the hub (mouse and keyboard ONLY) and HDMI adapter individually raise the temperature about 10 degrees, and 15 degrees together.
(all other temperatures were both low and flat. Under 55 degrees.)
Note that high temperature on the right side appears to be ignored by the OS. Plugging everything into the two right ports instead of the left raised the Right temperatures to over 100 degrees, without the fans coming on. No kernel_task
either, but the machine becomes unusable from something throttling.
Ergo, high CPU usage by kernel_task
is caused by high Thunderbolt Left Proximity temperature, which is caused by charging and having normal peripherals plugged in at the same time.
2017 15" Macbook Pro, MacOS 10.14.5
To actually answer the question:
How can I find out what this process is doing?
The only way to actually ask the kernel what it's doing is to attach a kernel debugger. That means getting a debug kernel from Apple, rebooting, then using a second Mac to attach to the debugged machine. You can then examine stack traces and guess what they mean.
Otherwise guessing and testing is the only way. Of course that leads to false conclusions more often than not.
https://apple.stackexchange.com/questions/363337/how-to-find-cause-of-high-kernel-task-cpu-usage
序列化 Serilization/ Serialisation
將資料結構或物件轉換成可儲存/傳送的格式 (即稱為序列化),以便之後能還原(反序列化)
序列化: serialization (US spelling) or serialisation (UK spelling)
反序列化: deserialization, (also called unserialization or unmarshalling)
序列化在電腦科學中通常有以下定義:
用途
優點
它使輸出入介面簡單而共同,能被用來保持及傳遞物件的狀態。
要求高效能的應用時,花費精力處理更複雜的非線性儲存系統是有其必要意義的。
缺點
序列化可能會破解抽象資料型別的封裝實作,而使其詳細內容曝光。簡單的序列化實作可能違反物件導向中私有資料成員需要封裝(encapsulation)的原則。商用軟體的出版商通常會將應用軟體的序列化格式,當作商業秘密,以阻礙競爭對手生產可相容的產品;有些會蓄意地混淆,或甚至將序列化資料作加密處理。
程式語言支援
C/C++
C 和 C++ 沒有提供任何類型的高階序列化構造,但是兩種語言都支援將內建資料型別以及一般的資料結構(struct)輸出為二進制資料。
Boost框架有實作Boost.Serialization。
Python
Python編程核心的序列化機制是pickle標準函式庫,這名稱暗示資料庫相關的特別術語「浸漬」,來描述資料反序列化(unpickling for deserializing)。Pickle 使用一個簡單的基於堆疊的虛擬機來記錄用於重建物件的指令。這是個跨版本並可自訂定義的序列化格式,但並不安全(不能防止錯誤或惡意資料)。錯誤格式或蓄意構建的資料,可能導致序列反解器匯入任意模組,而且實例化任何物件。
這個函式庫有另外包括序列化為標準資料格式的模組:json(內置的基本純量與集合型別支援,且能夠通過編解碼支援任何型別)和XML編碼的屬性列表(plistlib),限於plist支援的類型(數字,字串,布林,元組,串列,字典,日期時間和二進制blob)。最後,建議在正確的環境中評估物件的__repr__,使其和Common Lisp的列印物件大略地相符合。並非所有物件類型可以自動浸漬,特別是那些擁有操作系統資源(如檔案把柄)的,但開發人員能註冊自訂定義的「縮減」和構造功能,來支援任何型別的浸漬和序列化。
Pickle最初是純粹以Python程式語言來實作的模組,但在Python 3之前的版本中,cPickle模組(也是內建的)提供了更快速的效能。cPickle從Unladen Swallow專案改造而成。在Python 3中,開發人員應該匯入標準版本,該版本會嘗試匯入加速版本並返回純Python版本。
JavaScript
Since ECMAScript 5.1,[11] JavaScript has included the built-in JSON
object and its methods JSON.parse()
and JSON.stringify()
. Although JSON is originally based on a subset of JavaScript,[12] there are boundary cases where JSON is not valid JavaScript. Specifically, JSON allows the Unicode line terminators U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR to appear unescaped in quoted strings, while ECMAScript 2018 and older does not.[13][14] See the main article on JSON.
Windows PowerShell
Windows PowerShell implements serialization through the built-in cmdlet Export-CliXML
. Export-CliXML
serializes .NET objects and stores the resulting XML in a file. To reconstitute the objects, use the Import-CliXML
cmdlet, which generates a deserialized object from the XML in the exported file. Deserialized objects, often known as "property bags" are not live objects; they are snapshots that have properties, but no methods. Two dimensional data structures can also be (de)serialized in CSV format using the built-in cmdlets Import-CSV
and Export-CSV
.
參加一門Functional Programing with Python的免費課程(Linkedln提供24小時免費)
大概記一下重點,之後寫筆記
網路上其他參考資料
原本計劃使用mac就不要搞雙系統
但攝影課的老師要我們帶筆電去上課,並且指定要安裝兩款影像處理軟體
只好來處理Windows安裝問題
其中遇到的問題紀錄一下,之後會寫一篇安裝教學
查詢現在port使用狀況
Windows
在console視窗中輸入以下指令
Mac
叫出Terminal後
Outlook空間增大/ Outlook已滿/ Outlook空間不足/ Outlook空間釋放/ Outlook封存
Outlook信太多的解法
Outlook 2016
File → Info → Cleanup Tools → Archive..