YanJiun

@yanjiun

Joined on Sep 16, 2018

  • digraph snakemake_dag { graph[bgcolor=white, margin=0]; node[shape=box, style=rounded, fontname=sans, fontsize=10, penwidth=2]; edge[penwidth=2, color=grey]; 0[label = "all", color = "0.03 0.6 0.85", style="rounded"]; 1[label = "reformat", color = "0.43 0.6 0.85", style="rounded"]; 2[label = "harmony\npipeline: profiles_var_mad_int_featselect", color = "0.30 0.6 0.85", style="rounded"]; 3[label = "featselect\npipeline: profiles_var_mad_int", color = "0.27 0.6 0.85", style="rounded"]; 4[label = "INT\npipeline: profiles_var_mad", color = "0.00 0.6 0.85", style="rounded"]; 5[label = "mad_normalize", color = "0.33 0.6 0.85", style="rounded"];
     Like 1 Bookmark
  • 國軍回報 Line bot contributed by <yanjiun> Github https://github.com/yanjiuntw/ninja-hattori 沒有 github 帳號可能需要申請一個。 Fork 這個專案到自己帳號內。 有兩個檔案需要修改:
     Like  Bookmark
  • DDNS setup contributed by <yanjiun> 預先準備 DDNS 是由客戶端主動去更新 DNS Server 上的設定檔,使得自己的浮動 IP 隨時保持在最新。 因此需先完成 DNS Server 的架設,請參考 DNS Server。 開始設定 在 DNS Server 端建立公/私鑰 $ cd /etc/named
     Like  Bookmark
  • contributed by <yanjiun> BIND ( install ) 建立 DNS Server 服務的軟體 目前版本為 BIDN 9 DNS Server 預設 Port 為 53 記得防火牆要開
     Like  Bookmark
  • contributed by <yanjiun> 硬體介紹 官方網站:Intel® Movidius™ Neural Compute Stick 結論 ==Accelerate Deep Learning Development At The Edge== ==Develop for High-Performance, Low-Power Devices== Movidius NCS(Neural Compute Stick) 是 Intel 開發來使低性能的設備也能進行神經網路運算,例如:Rasperry Pi ,FPGA 等嵌入式開發平台,他可以提供低功耗且有一定運算能力。
     Like  Bookmark
  • # NCKU DSP Arch NOTE contributed by <[`yanjiun`](https://github.com/yanjiunhaha)> ###### tags: `mynote` 課程:[VLSI design for digital communication systems -N2109 of NCKU](http://vlsilab.ee.ncku.edu.tw/vlsi.html) 學生:顏君翰 MS student 指導老師:[謝明德](http://vlsilab.ee.ncku.edu.tw/prof.html) PhD ## Retiming (請假) * 目標: * Clock period miniretiming * Registers minimization (Linear Problem) * 特性: * Retiming dose not alter the iteration bound in a DFG * Retiming 使用 Shortest Path Algorithm 解 cons
     Like  Bookmark
  • # NCKU DSP Arch Homework 01 contributed by <[`yanjiun`](https://github.com/yanjiunhaha)> ###### tags: `school`, `108 年上學期` 課程:[VLSI design for digital communication systems -N2109 of NCKU](http://vlsilab.ee.ncku.edu.tw/vlsi.html) 學生:顏君翰 MS student 指導老師:[謝明德](http://vlsilab.ee.ncku.edu.tw/prof.html) PhD ## ==Pracitce find iteration bound in DFG== ### ==Problem 1 : Page.58 in [1]== ![](https://i.imgur.com/XhjsmKs.png) ``` graphviz digraph P1{ rankdir=LR "1(2)" -> D1 D1 -> D2 D2
     Like  Bookmark
  • # Python 基礎語法 contributed by <[`yanjiun`](https://github.com/yanjiunhaha)> ###### tags: `school` --- # Python Identifier (標識符) ## 命名規則 ---- * 由字母、數字、底線 * 大小寫分明 *底線開頭的慣例:* 1. 單底線開頭 `_foo` 代表不能直接使用的變數。 2. 雙底線開頭 `__foo` 代表不能直接使用的函式。 3. 雙底線開頭結尾 `__foo__` 代表 Python 內建專用標識,如: `__init__()` 預設為建構子。 ---- #### Python 保留字 保留字不能用作常數或變數,或任何其他標識符。 已|使|用|保|留|字 -|-|-|-|-|- and | exec | not | assert | finially | or break | for | pass | class | from | print continue | global | raise | def | if | retur
     Like  Bookmark
  • # Manjaro Linux 配置 intel 與 nvidia 雙顯卡切換 (雙顯卡筆電) contributed by <`YanJiun`> ###### tags: `computer` ## Bumblebee [Bumblebee](https://github.com/Bumblebee-Project/Bumblebee) 會自動禁止使用獨立險卡,並可以在需要時自主切換內顯與獨立顯卡,再筆電可以更有效控制續航。 ## 安裝 Manjaro 提供強大的硬體檢測模組 `mhwd` ,可以很方便的安裝各種驅動。 * 安裝依賴 ``` $ sudo pacman -S virtualgl lib32-virtualgl lib32-primus primus ``` * 安裝 nvidia 閉源驅動與 intel 驅動混合版 *bumblebee*。 ``` $ sudo mhwd -f -i pci video-hybrid-intel-nvidia-bumblebee ``` * 自動啟動 *bumblebee* 服務
     Like  Bookmark
  • # 製作 Windows EFI 開機磁區 contributed by <`YanJiun`> ###### tags: `computer` ## 準備工作 需要乙個安裝 win10 開機碟。 ## 修復 啟動進入安裝界面: 1. 選擇語言 2. 點選左下角 *修復* 3. 疑難解答 4. 命令提示字元 * 命令提示字元: 進入 diskpart ``` > diskpart > list disk > select disk 0 // 選擇 windows 所在的位置 ``` 如果 efi 分區沒有刪除的要刪除。 ``` > list partition > select partition 2 > delete partition ``` 創建 efi 分區並格式化。 ``` > select disk 0 > create efi size=100 // 創建 100M 的空間 > select partition 2 > format quick > assign letter=p // 指定為磁碟機 p: > exit // 退出 diskpart ```
     Like  Bookmark
  • # 區塊鏈簡單介紹 contributed by <`YanJiun`> ###### tags: `blockchain` --- # Hash Function ---- ### 1. 相同的輸入,輸出相同的值。 #### 2. 不管輸入++大小++多大,輸出都是固定的大小。 ## 3. 不可逆。 ##### 4. 可能產生碰撞。不同輸入,輸出相同的值。 ---- ![](https://i.imgur.com/cyz8NMd.png) ---- ![](https://i.imgur.com/4QxDNRJ.png) --- # 什麼是區塊鏈? # (Block Chain) ---- ## 區塊鏈 ## (Block Chain) # 是 # ==分散式資料庫== ---- ## 區塊鏈 ## (Block Chain) # 最初應用在 # ==比特幣(Bitcoin)== ---- ## 區塊鏈 ## (Block Chain) ## 維護一份++連續不斷的++ # ==交易紀錄檔== ---- ## 區塊鏈 ## (Block Chai
     Like  Bookmark
  • # 2018q3 Homework2 (lab0) contributed by < [`yanjiunhaha`](https://github.com/yanjiunhaha) > ###### tags: `lab note` [==作業題目==](https://hackmd.io/s/BJp_jq-tm) #### 代辦事項: - [ ] harness.c 它把我們的 `malloc()` 和 `free()` 取代成自己實做的 `test_malloc()` 和 `test_free()`。 有必要查清楚它做了什麼。 - [x] `strdup()`, `strcpy()`, `strncpy()` 差異,以及實做內容。 - [ ] scripts/driver.py 了解自動化測試程式概念。 寫程式測試程式!? ~~帥沒有第二個字可以形容。~~ - [ ] install-git-hooks 第一次使用 git-hooks 。 本以為它會自動檢查++撰寫程式風格++而已。 後來發現它可以做更多檢查功能!? ~~跟上面
     Like  Bookmark
  • # 2018q3 Homework1 contributed by <`yanjiunhaha`> >這是固定格式,請注意 >[name=課程助教][color=red] >>了解。[共筆示範](https://hackmd.io/s/Hyv1gVRux)所使用的格式好像不太一樣,所以讓我猶豫了。[name=YanJiun][time=Wed, Sep 19, 2018 12:33 AM] > Homework2 之後才會嚴格要求格式 [name="jserv"] --- ## [2018q3 第 1 週測驗題](https://hackmd.io/s/S1a9-YO_Q#) ### Problem 1 ::: success 嘗試不用 XOR 運算子做出等效的 XOR 運算。 ::: * 解答 : ```C int my_xor(int x, int y) return (x | y) & (~ x | ~ y); ``` * 心得: 當我一看到這個題目,我馬上想到我在高中學到的數位邏輯。 $A \oplus B = \overline{A}B + A\
     Like  Bookmark