idoleat

@idoleat

不喜歡吃薑絲/苦瓜/炒芹菜 | 不喜歡裝手機殼 | IQ在0與200之間浮動 | 不用睡覺是最大願望 | 不睡覺不假外力,如果會睡著代表對清醒不夠堅持 | 拖延症患者 | 講話口齒不清

Prime membership

Joined on Mar 16, 2018

du be du be duuu ~~~ dA Da la daDAda ~~~

  • drop-in minimal CSS New.css MVP.css Animate.css (Document) C💚SS.css Water.css Sakura.css Something more... win98 win7
     Like  Bookmark
  • ← 回主頁面 :house: TOPLAP - The home of Live Coding Live Coding 的形式 簡單來說是一種結構化編排音樂的表演形式,可以先看看最近剛結束的線上表演祭 solstice (播放清單) 表演工具 TodalCycles 大概是最普遍的,不過現在有更多後起新秀如 facet 和 Strudel,TOPLAP 的 wiki 有更多介紹,完整 list 在 GitHub 上 Strudel 作品:"barcode break" @by eddyflux, "old beat" @by hellocatfood
     Like  Bookmark
  • 撰寫 Linux 核心模組 注意 .c 檔案的檔案名稱要與 Makefile 裡面的 obj-m .o 檔名一致,否則 make 時會見到以下錯誤訊息 ~/g/m/hello-1 ❯❯❯ ls Makefile module.c ~/g/m/hello-1 ❯❯❯ make make -C /lib/modules/`uname -r`/build M=/home/idoleat/tmp/module/hello-1 modules make[1]: Entering directory '/usr/lib/modules/6.8.9-arch1-1/build' make[3]: *** No rule to make target '/home/idoleat/tmp/module/hello-1/hello-1.o', needed by '/home/idoleat/tmp/module/hello-1/'. Stop. make[2]: *** [/usr/lib/modules/6.8.9-arch1-1/build/Makefile:1921: /home/idoleat/tmp/module/hello-1] Error 2
     Like  Bookmark
  • [Jul10 11:07] [Wed Jul 10 11:07:25 2024] ata7.00: exception Emask 0x0 SAct 0x0 SErr 0xd0000 action 0x0 [ +0.000003] [Wed Jul 10 11:07:25 2024] ata7.00: irq_stat 0x40000001 [ +0.000001] [Wed Jul 10 11:07:25 2024] ata7: SError: { PHYRdyChg CommWake 10B8B } [ +0.000002] [Wed Jul 10 11:07:25 2024] ata7.00: failed command: FLUSH CACHE EXT [ +0.000001] [Wed Jul 10 11:07:25 2024] ata7.00: cmd ea/00:00:00:00:00/00:00:00:00:00/a0 tag 6 res 51/04:00:00:00:00/00:00:00:00:00/a0 Emask 0x1 (device error) [ +0.000003] [Wed Jul 10 11:07:25 2024] ata7.00: status: { DRDY ERR } [ +0.000001] [Wed Jul 10 11:07:25 2024] ata7.00: error: { ABRT } [ +0.012184] [Wed Jul 10 11:07:25 2024] ahci 0000:16:00.0: port does not support device sleep [ +0.002265] [Wed Jul 10 11:07:25 2024] ata7.00: revalidation failed (errno=-2)
     Like  Bookmark
  • ← 回主頁面 :house: Tools here are not always binded with Audio, but good to work with Audio. 工具 Captivate (source code): Live DMX Lighting and Visuals NAP (source code): low overhead, real-time control & visualization plaform. Create fast, modular and responsive applications to interact with the world around you. NAP is built to scale up to a large number of input and output devices: many displays, many lights, many speakers, many sensors, many servos. PureData familyPureData PurrData PlugData
     Like  Bookmark
  • exaplin what it is -> how does that cause the problem -> how to solve it --> One may find his/her Linux machine always has 1 CPU under full load. In system monitor such as top or htop, a command called kworker takes up nearly 100% of a CPU. Observation This problem mostly happens on laptops. On my MSI GS60 6QD, with kernel Linux 6.8.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 17 Apr 2024 15:20:28 +0000 x86_64, top two CPU usage listed in top are kworker/0:1+kacpid and irq/9-acpi PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 10 root 20 0 0 0 0 R 82.1 0.0 9:32.66 kworker/0:1+kacpid 79 root -51 0 0 0 0 R 15.6 0.0 1:48.09 irq/9-acpi
     Like  Bookmark
  • 2024/4/19 於 CCNS 聚會分享 :::success 背景音樂二選一:<a href="https://open.spotify.com/playlist/7z7dtyHde52h0uZPOTVg7a" style="color:#df0115">(壹)</a> <a href="https://open.spotify.com/playlist/2MyI5uygOgDDaqqTljwlhy" style="color:#2bb6df">(貳)</a> 這不是紅藥丸和藍藥丸,只是借用一下老任的配色,如果被告就算了 ::: 今年是 2024 年,Twitter X 依舊是馬斯克的大玩具和他的混亂修羅場兼流量放大器。Meta 依舊是用戶的貼身秘書,從頭到腳的各種特殊癖好他都知道還能推薦你一二。抖音一響管他父母有沒有白養,反正精神鴉片還不是照吸。每個國家的選舉都有中國和俄國陪你選,您家有事就是我家有事。推薦演速法和審查機制是太上皇,平台只想餵食用戶他們覺得大家該看到的內容 並不是要直接與科技巨頭打架 若只是另一個以流量維生的平台 (yet another platform),可預見的是使用者只會流過去又流回來,既有問題還是問題只是還沒浮現出來,而且這顯然不是有錢就可解決的事。
     Like  Bookmark
  • contributed by < idoleat > 測驗題改進 quiz1 - quick sort: 設計效能評比的測試程式 quiz4 - XTree: 與 AVL Tree, rbtree 比較並評比較能 quiz3 - ilog2 quiz3 - EWMA 題目構想與規劃 先把前六周的作業與 integration 做好做仔細,即將加入 Andes performance and solution team (一部分工作內容是執行 benchmark 程式,找出編譯器或硬體設計上的缺陷並回報給相關團隊),對於細節掌握很重要。在寫作業時接觸到 Linux kernel 程式碼,體認到需要有足夠基礎及素養才有辦法理解並思考是否有改進空間,或是分析做出的改動會帶來什麼影響。前年修這門課的經驗是若是基礎知識不完備,在看比較艱深的教材時容易落入一知半解的困境,就算投入更多時間也不會有更深的理解 (scalability 不好) 。探討 information theory 的部份也可以順便加強我的論文中的分析。以前和同學的專案有使用亂數作為溝通對象的共識,但我仍不知我實作之亂數產生器的特性,顯然也需要加強。另外一個目標是要有足夠的能力可以自己持續探索並精進,並在有成果時供眾人檢視、接受批評指正
     Like  Bookmark
  • contributed by < idoleat > 作業表單中的問題 問題 2 :考慮以下程式碼: char s[64]; 試問 s == &s 是否成立?搭配〈你所不知道的 C 語言:指標篇〉的描述,佐以 C 語言規格來解釋 #include <stdio.h> int main(){ char s[64] = "test"; if (s == &s) {
     Like 1 Bookmark
  • contributed by < idoleat > 表單問題第 1 題 考慮以下程式碼 uint8_t ip = 9, *p1 = &ip; uint32_t *p2 = (uint32_t *) p1; printf("p2 = %d\n", *p2); 這段程式碼會導致 undefined behavior
     Like  Bookmark
  • 在探索聲音的道路上,究竟有哪些好玩的,可以怎麼發展呢? :::warning WIP 一堆還沒寫完 QAQ ::: 數位音樂製作基礎知識 類比天堂 合成器
     Like 1 Bookmark
  • :::info 最底下過時欠整理那邊有很多沒啥卵用的老舊或資訊錯誤的連結可以清掉了 但是我好懶得動,有空再弄,現在先摺疊起來丟在最下面 ::: 軟體為主,硬體的部份應該會在 :star:==聲音探索地圖==:star: 找地方寫,這篇最後應該也會整併進地圖 吧 Collection 免費 DAW 個人推薦 Ardour 和 Zrythm 前六者以開源授權釋出
     Like 2 Bookmark
  • 使用場景 因課程需求,作業需要以公開的形式繳交開發過程筆記及對應程式碼的連結至教師設置的公開筆記作業區。當學員直接編輯作業區筆記繳交作業時,時常忘了設置適當的 HackMD 權限,例如公開閱讀且登入者可修改。若有自動化檢查並提醒學員不適當的權限設置則可以省下可觀的溝通時間。 我們使用 Google 表單取得學員之 GitHub 帳號、作業程式碼網址、HackMD 筆記固定發布網址、基本聯絡資訊以及一些關於課程內容之基本問題。Apps script 是 Google 提供自動化旗下服務的平台,運行於 GCP 之上,語法是 Javascript 的子集合。使用範例如下 image image 設置方法
     Like 3 Bookmark
  • # 2024q1 homework4 quiz3+quiz4
     Like  Bookmark
  • 目標 從入門到專精的一張地圖,給予入門的新手,已入門的中手一個可依循的學習道路(其實也不一定要依循,大量讀就對了),並且有足夠的教材可以學習,避免學員浪費時間在零碎、鬆散甚至不正確的教材上。每個項目都設有常備助教,隨時可以針對學員提出的問題和作業進行回答和批閱 認證機制:每個項目皆有一定的驗收機制,若學員合格則給予通過證明,當學員取得某一條到路上所有項目的證明之後便可認證為具有一定就業能力的工程師。 :::spoiler 私心覺得有機會變成一種就業媒合機制 畢竟與學員長期互動下來可以了解一個人所掌握的能力以及做事的方式,若正是某公司要找的人就可以直接洽談了。如此過程所招募的人遠比僅花費幾場面試速食認識的人來的有可信度吧?對學員來說也不需再花費力氣準備如何在面試場合表演還有 leetcode 框架,自身實力也可以比較完整的被看到,只要你盡心盡力參與課程。目前有類似概念的:The Audio Programmer 社群 ::: <br>
     Like  Bookmark
  • Generalize Synchronization Mechanisms for Analyzing Properties Trade-offs and Exploring New Mechanisms 泛化同步機制以分析屬性權衡及探索新機制 <small style="color: #999">(Link to the paper: https://arxiv.org/abs/2309.11972)</small> Introduction The synchronization of shared resources. The origin Multiple workers for scalability and speedup No shared resources<span style="color: #999">No data race. Simply divide the workload</span>
     Like 1 Bookmark
  • <h1 style="text-shadow: pink 2px 0 5px">CCNS 定期聚</h1> <h3 style="text-shadow: pink 2px 0 5px">Steam 的掌上遊戲機都裝 Linux 了<br>你的電腦也該裝了吧<!-- .element: class="fragment" --></h3> 什麼是 Linux? Linux kernel 是作業系統核心<br>提供一個作業系統運作所需的基本功能<!-- .element: class="fragment" --> 使用包裝好 Linux kernel 的發行版<!-- .element: class="fragment"--><small>(distro)</small><!-- .element: class="fragment"--> <font color="#83aec9"> <span>手機 <!-- .element: class="fragment"--></span></font><font color="#9dd1a4"> <span>伺服器 <!-- .element: class="fragment"--></span></font> <font color="#e8e2b0"> <span>嵌入式裝置 <!-- .element: class="fragment"--></span></font> <font color="#efaa64"> <span>個人電腦? <!-- .element: class="fragment"--></span></font>
     Like  Bookmark
  • :::warning :warning: 以下僅為個人經驗 ::: 會發生什麼好玩的事 修 24+ 學分、聽一堆演講、讀很多論文、報很多 paper、然後發現很多亂七八糟的問題不知道怎麼解決、牌位掉到底、找工作、沒有升學壓力所以全力往想達成的目標前進 設定目標 :D學業上的、生活上的、各種規劃上的 碩班步調是相當忙碌的,如果目標是有好的研究成果並畢業就找到符合預期的職位並有足夠的能力繼續自我成長完成想做的事
     Like  Bookmark
  • contributed by < idoleat > GitHub 以第 9 週測驗題第二題和第 11 週測驗題給定的程式碼為基礎,探討 lock-based vs. lock-free Multiple Producer-Consumer 的設計和實作議題 第一種實做 -> correctness/benchmark -> 第二種... Introduction 通常 micro optimization 及對應的 benchmarking 較常見於熱門大型專案或公司的特定團隊,例如 meta 的高效能函式庫 (folly 是其中一個) 或是 rust 的新 std::mutex 實做,但是 C 或是 C++ 不像 Java 背後有商業公司帶領討論較為可惜。我們希望藉此期末專題也可以針對 Producer-Consumer 問題進行探討 (第 14 週測驗即算一種)
     Like  Bookmark
  • ← 返回主頁面 :house: 2022/1 edit: 近期應該會開始把剩下的補完 Lecture 0 - Why learn Compiler? Reverse engineering Data processing Write better code Security Compiler 是驅動眾多技術的關鍵 e.g. ref1
     Like 23 Bookmark