原创 how can I use NSubstitute for stub and mock? any difference about the usage?

how can I use NSubstitute for stub and mock? any difference about the usage? NSubstitute is a popular mocking library fo

原创 stub will not make test fail, but mock will.

stub will not make test fail, but mock will.  In the context of unit testing, stubs and mocks are both used to isolate t

原创 深度學習入門9787115485588 Chapter3

explain the activation function in neural network with an actual case and demonstrate it in python code  In a neural net

原创 ai修復圖片

人工智能老照片無損修復, 利用2022年最先進人工智能 AI 將老照片無損高清修復(支持老照片修復、老照片上色和魔法動態照片) (jpghd.com)  

原创 Python中通過反射來調用方法

Is there a way to pass invoke function by method name in string, which means call the method by reflection Yes, you can

原创 深度學習入門9787115485588 Chapter2

What's perceptron algorithm invented by Frank Rosenblatt? The perceptron algorithm is a supervised learning algorithm fo

原创 Cursor | Build Fast

Cursor | Build Fast   GPT-4 自動寫代碼 剛剛發佈的 Cursor 編輯器集成了 GPT-4 接口,我測試了下他生成代碼的能力,歎爲觀止,我嘗試了從前端到後段,從純軟到軟硬結合,從UE到Unity,各種語言甚至彙

原创 雲風的Blog 學習神經網絡的一點筆記

雲風的 BLOG: 學習神經網絡的一點筆記 (codingnow.com) 一開始,我是從維基百科的 Machine learning 開始讀的。順着看了一整天,瞭解了近年發展的脈絡。好多詞條,亂七八糟的筆記記了一大堆,感覺快消化不了了。疑

原创 MySQL數據庫應用 2023-03-18

MySQL practice 1.create a database with name example, and set the character set to utf82.alter the example database, and

原创 多媒體技術 2023-03-18

Audition的使用 音頻的獲取 新建-->多軌文件或者音頻文件 直接選音頻文件,默認是單軌。   設置採樣率8khz,聲道:單,位深度8 錄製聲音後,可以調整振幅   比特率=採樣率*聲道*位深度 文件大小=比特率*時間/8 文件大小及

原创 連網技術與網絡管理 2023-03-18

TCP連接的特點   三次握手 爲啥確認號需要+1 可以wireshark抓包查看,訪問一個網站的http,會被自動重定向到https syn, sync,ack ack   ack只包含信息,不包含數據   標誌位 urg ack psh

原创 程序設計應用2023-03-18

在first程序的裏面views.py返回 def index(request):     return HttpResponse("這是我的第一個Django網頁")     還要主程序的urls.py引入 urlpatterns

原创 session not created: This version of ChromeDriver only supports Chrome version 109

session not created: This version of ChromeDriver only supports Chrome version 109Current browser version is 111.0.5563.

原创 WebDriver | Selenium

WebDriver | Selenium 安裝分兩步,先安裝nuget package,然後再安裝chrome driver   https://github.com/seleniumhq/selenium 源碼 https://www.n

原创 DateTime vs DateTimeOffset

DateTime vs DateTimeOffset What is the difference between a DateTime and a DateTimeOffset and when should one be used?