peter12345678

@peter12345678

https://www.linkedin.com/in/peterxcli/ https://github.com/peterxcli https://blog.peterxcli.dev/

Joined on Apr 15, 2020

  • LinkedIn [ ] 2023 Systems Development Engineer Summer Intern - Dell Technologies [ ] [2023 Software Engineer Summer Intern(firmware) - Dell Technologies]ㄋ(https://www.linkedin.com/jobs/view/3495901767/) [ ] 2023 Software Engineer Summer Intern(software) - Dell Technologies [x] 2023 Software Engineer Summer Intern(web) - Dell Technologies [x] 2023 Engineering Summer Internship - Appier [ ] Conformal Summer Interns - Cadence Design Systems [ ] SVG Summer Intern- Cadence Design Systems [ ] Allegro Summer Intern - Cadence Design Systems [ ] Allegro Summer Intern - Cadence Design Systems
     Like  Bookmark
  • 覺得自己浪費太多時間? 想知道自己廢了多久qq 有瀏覽器插件可以用嗎 image 有 但好像不能同步 🥲
     Like  Bookmark
  • Service 什麼是 service pods 的生命是有限的,其有一個生命週期。node當機時,上面的pod就都會不見。我們會設定ReplicaSet來規定一個cluster上pod的數量,讓這pods在其它node上重新建立以保證應用程式不會當機。 舉例來說,如果有一個網頁是由三個replicas,前端程式不會管後端有幾個replicas,如果pod死了再被建立了,也沒有人知道。在k8s中所謂的service一個抽象層,用來定義pods和存取其規則。service讓pods鬆散的結合在一起。 service 也是用 yaml 來定義。雖然每個 pod 都有獨一的 ip,但我們的 service 會有一個共用 ip 及K8s internal domain 來代表這些 pods 組成的 service 的服務。 Label Selector Matching image
     Like  Bookmark
  • Recap: K8s Deployment strategy RollingUpdate Recreate. ![image](https://hackmd.io/_uploads/BJOYZF-ta.png =800x) MaxSurge and MaxUnavailable image
     Like  Bookmark
  • 打包 reflex 成 windows exe 1. compile reflex as exec file collect necessary files into /dist dir #!/bin/bash -v poetry shell # Build the executable #!/bin/bash -v
     Like  Bookmark
  • 自我介紹 名字: 李緒成 動機: 對 docker 不熟, 所以想準備 docker 聯絡資訊:https://www.linkedin.com/in/peterxcli https://github.com/peterxcli https://www.facebook.com/peterxcli image how can we handle this?
     Like  Bookmark
  • 一: 申論題55 分 繪圖說明資安技術、資安服務、資安攻擊的關係 graph TD A[Cybersecurity Technology] -->|Protects| B[Cybersecurity Services] B -->|Targets of| C[Cybersecurity Attacks] C -->|Mitigated by| A 何為 Kerckhotf Principle, 請說明之: 密碼系統之安全性需僅依賴其秘密金鑰,而非其密碼演算法之隱藏 Rail Fence 加密法長度為3・明文為『TAIWANCANHELP』、密文為何?the rails
     Like  Bookmark
  • 碰撞 :::info 動量守恆 $$m_1v_1+m_2v_2 = m_1v^{'}_1+m_2v^{'}_2$$ 能量守恆 $$\frac{1}{2}m_1v^{2}_1+\frac{1}{2}m_2v^{2}_2 = \frac{1}{2}m_1v^{'^{2}}_1+\frac{1}{2}m_2v^{'^{2}}_2$$ ::: 理想狀態下兩物體碰撞次數會接近 $pi=3.14159...$
     Like  Bookmark
  • pull private container registry from gitlab to your repo > setting > repository expand Deploy Token and set tokennam, username and scope click create deploy token then run:kubectl create secret docker-registry <secrect_name> --docker-server=registry.gitlab.com --docker-username=<username> --docker-password=<gitlab_token> -n <namespace> in deployment or image spec:add imagePullSecrets spec: containers:
     Like  Bookmark
  • trivial :::info Q: git merge "main" with directly overwrite the "release" branch A: git checkout release git merge -Xtheirs main :::
     Like  Bookmark
  • PCCAwinterCamp-2022 tags : 2022 PCCA camp title : 題單 2022 PCCA camp All Of My Code dsu [X] https://open.kattis.com/problems/ladice
     Like  Bookmark
  • deploy mongodb sharded cluster on k8s Create Namespace :::spoiler namespace config file kind: Namespace apiVersion: v1 metadata: name: mongodb labels: kubernetes.io/metadata.name: mongodb
     Like  Bookmark
  • 彈簧控制新方法之研究-簡報版影片 備用 README 摘要 目前常見震動控制器通常是用磁流變液和電流變液減震器以改變剛性或是使用液壓來改變阻尼係數,這樣的控制方式反應速度較慢且效果較差,本研究探討如何以強化學習算法來控制電訊號改變線圈產生的磁場,能讓彈簧在震盪過程中更快達到較小振幅或是停止 研究動機
     Like  Bookmark
  • $p; ?=; NP$ terms quickly For convenience, we unoffically define a term quickly If we say a problem or a task run quickly, means the existence of an algorithm solving the task that runs in polynomial time
     Like  Bookmark
  • 姓名:李緒成 1 設 $x>0$,設 $x$ 的二進位表示法中,第 $x$ 位為 $1$,第 $0$ 至第 $k-1$ 位都為 $0$ 對x的二進位表示法取反(~$x$),可以得到~$x$的二進製表示中,第$k$位為$0$,第$0$到第$k-1$位都為$1$ 然後再將 ~$x$ 加上 $1$ 得到 ~$x+1$ 的二進位表示法的第 $k+1$ 位至其最高位都為與 $x$ 的二進位表示法中相反的數字 而~$x+1$ 的二進位表示法的第 $k$ 為 $1$,第 $0$ 至第 $k-1$位都為 $0$ 且 $x$ 的二進位表示法的第 $k$ 位也為 $1$ 所以將 ~$x+1$ 與 $x$ 進行 $&$ 運算後,即可得到 $x$ 的 $lowbit$
     Like  Bookmark
  • 姓名:李緒成 1 $(a)$ $a = 0, b = 1, c = 0$ $(b)$ 無解
     Like  Bookmark
  • 姓名:李緒成 1 (a) 否, 當$f_{1}(n) = O(n^{3})$, $f_{2}(n) = O(1)$, $f_{3}(n) = O(n)$ (b) 正確, 可以把$f, g$函數跟$Q$問題的過程直接當成P問題的過程,故P存在一個多項式時間複雜度 (c) 否, 當$f=O(n)$, $g=O(n)$, $P=O(n)$ $Q=O(n!)$ 2 3 將輸入$(a_1,a_2...a_n)$變成點集$S = (0, a_i), |s|=n$, 則當最近點對答案為$0$時輸出$NO$, 反之答案大於$0$時輸出$YES$ 4 用一個陣列b紀錄, $b_i$紀錄輸入a中有幾個數字為b_i, 執行完後輸出任意一個$i$滿足$b_i > 1$即為答案
     Like  Bookmark
  • https://hackmd.io/@peter12345678/BkZ8wIFvO 多項式乘法 表示方法 係數表示法$$A(x) = \displaystyle\sum_{i=0}^na_i,x^i = a_0 + a_1x + a_2x^2 + \cdots + a_{n-1},x^{n-1} + a_n,x^n$$ 點值表示法
     Like  Bookmark