吳恩緯

@rickywu0421

Joined on Oct 24, 2019

  • contributed by < rickywu0421 > sysprog21/vwifi [toc] PR #27 - Implement real AP and STA mode [ ] commit: 97f03a
     Like 9 Bookmark
  • 心宿二 - Alpha Scorpii 🐼 : interviewer 🐶 : interviewee 模擬面試錄影(漢) 模擬面試錄影(英) 226. Invert Binary Tree 同儕檢討 interviewer
     Like  Bookmark
  • install a jail from an ISO export DESTDIR=/usr/jail/net80211_0 sudo mkdir -p $DESTDIR Mount the install media on /mnt(change cdimage.iso to your ISO). sudo mount -t cd9660 /dev/`mdconfig -f cdimage.iso` /mnt cd /mnt/usr/freebsd-dist/ Install just the base system.
     Like  Bookmark
  • contributed by < rickywu0421 > 題目連結 測驗 1 題目 考慮以下對二個無號整數取平均值的程式碼: #include <stdint.h> uint32_t average(uint32_t a, uint32_t b) {
     Like  Bookmark
  • 測驗 1 題目 #include <stddef.h> #include <stdint.h> #include <limits.h> #include <string.h> /* Nonzero if either X or Y is not aligned on a "long" boundary */ #define UNALIGNED(X) ((long) X & (sizeof(long) - 1))
     Like  Bookmark
  • 篩選條件 租金每月 $4000 ~ $5000 網速下載平均 20 Mb/s 以上 房間要有對外窗 超過三樓要有電梯
     Like  Bookmark
  • liklely 我在 lab0 中研讀 list_sort() 時學習到 likely 巨集使 copmpiler 優化程式碼, 可以有效增加 branch hit 的次數。 likely 的定義在 include/linux/compiler.h 中, 其實作如下 (若沒有開啟 branch profiling): #define likely(x) __builtin_expect(!!(x), 1) __builtin_expect 為 gcc built-in function, 其在 x 前加兩個 ! 得原因為若想判斷 x 為非 0 整數, 透過 !! (x) 可以確保出來的值是 1, 而達到判斷非 0 整數的目的。 較詳細的探討請參考我的 lab0 共筆 的 likely 部分。
     Like  Bookmark
  • contributed by < rickywu0421 > 開發環境 $ gcc --version gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 $ lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian
     Like  Bookmark
  • contributed by < rickywu0421 > 第一題 LeetCode 1. Two Sum Linux style hash table struct hlist_node { struct hlist_node *next; struct hlist_node **pprev; }; struct hlist_head {
     Like  Bookmark
  • // top module `define TimeExpireSeven 32'd50000000 `define TimeExpireDot 13'd5000 module HeartDisease( input clk, input rst, input btn1, input btn2, output wire [6:0] seven1, output wire [6:0] seven2,
     Like  Bookmark
  • 進度回報 T1進度回報超進化版(2/20後) T1進度回報(2/19前) OS CentOS/RHEL 7.5 GUI (gnome)
     Like  Bookmark
  • openmpi + ucx 專區 fast ucx mpirun --allow-run-as-root --mca pml ucx --mca scoll ucx --mca atomic ucx --map-by node -x UCX_NET_DEVICES=mlx4_0:1 -np 64 -H a1:16,a2:16,b1:16,b2:16 <command to application> with GPUDirect RDMA -x UCX_TLS=rc,sm,cuda_copy,gdr_copy,cuda_ipc --mca btl_openib_want_cuda_gdr 1 讓 CentOS 保持在 7.5 cat > /etc/yum.repos.d/CentOS-Vault.repo <<'EOF'
     Like  Bookmark
  • install BeeGFS repo cat > /etc/yum.repos.d/beegfs_rhel7.repo <<EOF [beegfs] name=BeeGFS 7.1 (rhel7) baseurl=https://www.beegfs.io/release/beegfs_7_1/dists/rhel7 gpgkey=https://www.beegfs.io/release/beegfs_7_1/gpg/RPM-GPG-KEY-beegfs gpgcheck=0 enabled=1 EOF
     Like  Bookmark
  • 請搭配BGM服用 2/19 工人
     Like  Bookmark