摘要:
1.matplotlib 2.numpy 3.pandas 4.數(shù)據(jù)的合并和分組聚合 5.機器學習
閱讀全文
posted @ 2021-02-14 14:35
謝Rain
閱讀(46)
推薦(0)
摘要:
摘要: 在了解celery的異步任務隊列之前我們來先了解下Node 似乎我與人聊過了node.js這個框架,他是一個簡單運行將js運行在服務器上的 非阻塞的異步框架,一個線程就可以跑起整個項目,但是我想強調的是他的 異步非阻塞和事件驅動!他是怎么把通過一個線程處理這么多請求的,處理一個請求不會阻塞嗎
閱讀全文
posted @ 2019-07-12 16:08
謝Rain
閱讀(617)
推薦(0)
摘要:
1.Django初識 路由層 模板層 ORM層 其他小細節(jié) 2.Django進階 form組件|form細節(jié) Cookie 與 Session 中間件與auth RESTFUL 控制復雜Restful 前后端分離認證 認證使用JWT Redis Celery框架 全文檢索 反向代理和正向代理 虛擬環(huán)
閱讀全文
posted @ 2019-06-10 21:01
謝Rain
閱讀(436)
推薦(1)
摘要:
LLMchain 鏈其實可以被視為 LangChain 中的一種基本功能單元。 相當于直接調用內(nèi)部的 _call_ or run # 導入所需的庫from langchain import Prompt Template, OpenAI, LLMChain # 原始字符串模板 template =
閱讀全文
posted @ 2023-12-15 16:42
謝Rain
閱讀(51)
推薦(0)
摘要:
golang TRANSLATE with x English Arabic Hebrew Polish Bulgarian Hindi Portuguese Catalan Hmong Daw Romanian Chinese Simplified Hungarian Russian Chines
閱讀全文
posted @ 2022-11-22 14:05
謝Rain
閱讀(55)
推薦(0)
摘要:
一.K8S的組件 1.Control Plane Components 做出全局決策 比如資源調度 1.kube-apiserver 負責處理接受請求的工作(可以多個)2.etcd 高可用數(shù)據(jù)庫3.kube-scheduler 負責監(jiān)視新創(chuàng)建的、未指定運行節(jié)點(node)的 Pods4.kube-c
閱讀全文
posted @ 2022-09-23 17:06
謝Rain
閱讀(264)
推薦(0)
摘要:
問題1 Container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config unini
閱讀全文
posted @ 2022-09-21 15:13
謝Rain
閱讀(1265)
推薦(0)
摘要:
通用方法 pandas.melt => 把 value_vars 提取出來 作為一個列值 (比如value_vars=B 那么 var_name這一列的值都是B) df A B C 0 a 1 2 1 b 3 4 2 c 5 6 pd.melt(df, id_vars=['A'], value_va
閱讀全文
posted @ 2022-08-25 18:02
謝Rain
閱讀(52)
推薦(0)
摘要:
看資料 發(fā)現(xiàn)在不加鎖的前提下 “解決redis 和數(shù)據(jù)庫不一致” 的最終方案都說到了 “延遲雙刪” 為什么要雙刪我一直很困惑 雙刪比單刪多了什么保障? 附上 博弈的流程圖 雙刪在某些情景下 可能確實解決了某個業(yè)務場景的需求 才被提出來 但是本質不能解決上述讀寫不一致的情況 所以我認為沒有鎖的介入 不
閱讀全文
posted @ 2022-02-11 16:08
謝Rain
閱讀(191)
推薦(0)
摘要:
Hellow using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; //項目名稱 namespace ConsoleApp
閱讀全文
posted @ 2022-01-25 18:35
謝Rain
閱讀(57)
推薦(0)
摘要:
document: http://www.rzrgm.cn/zongfa/p/12218341.html my version: Python 3.6.8 grpcio 1.25.0 grpcio-tools 1.25.0 nginx version: nginx/1.14.0 instal
閱讀全文
posted @ 2021-07-22 15:11
謝Rain
閱讀(79)
推薦(0)
摘要:
1.redis緩存過期 redis 數(shù)據(jù)少可以設置超時時間 redis 數(shù)據(jù)多單單設置超時時間 還不夠 需要進行全盤掃描 時間太久 所以需要另外機制 redis 淘汰策略 2.內(nèi)存淘汰策略 noeviction:返回錯誤,不會刪除任何鍵值 allkeys-lru:使用LRU算法刪除最近最少使用的鍵值
閱讀全文
posted @ 2021-02-20 16:32
謝Rain
閱讀(257)
推薦(0)