alanhc
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # 2025q1 Homework5 (assessment) contributed by < `alanhc` > {%hackmd TDGjUnHqRlSwffjXulBnrw %} :::danger 修正存取權限 ::: > 收到,已經更改權限 ## 從前 6 週的測驗題選出 3 題改進觀摩其他學員並參照授課教師進行的作業檢討和回顧 - 目前我的Lab作業 - [2025q1 Homework1 (lab0)](https://hackmd.io/@alanhc/linux2025-homework1) - [2025q1 Homework1 (ideas)](https://hackmd.io/@alanhc/linux2025-ideas) - [2025q1 Homework 3 (kxo)](https://hackmd.io/@alanhc/linux2025-homework3) - [Term Project](https://hackmd.io/@alanhc/2025q1-term-project) - 目前自評 - hw1 一開始比較心急想趕快寫完,大部分靠ChatGPT及觀察其他同學作業學習,中間有點小挫折,也覺得好像在不是很了解知識連結這樣也是死記而已,後面有些更改的部分是先猜測學習目標畫好地圖再一步步做完 - hw3 這邊 ## 紀錄閱讀〈因為自動飲料機而延畢的那一年〉的啟發 - 應具體描述你在課堂、課後創作,和觀摩其他學員的成果時,理解到系統軟體的開發態度、對細節的重視,以及理論和實務的融會貫通。 :::danger 注意書寫規範:中英文間用一個半形空白字元區隔,註硬細節。 ::: > 了解 謝謝 - 閱讀完 [因為自動飲料機而延畢的那一年](https://www.opasschang.com/docs/the-story-of-auto-beverage-machine-1) 這篇與觀察上這門課的同學甚至是上過的學長,我覺得大家參與這門課就是想要好好學好 linux kernel ,投入大量的時間及心力想要找出突破點貢獻開源專案,找尋曝光的機會,期許自己之後能有更好的職涯機會。這篇自動飲料機的文章有幾點與在這門課觀察的同學不謀而合。參與的人不論背景與否,都是有個主題遇到問題就把背景知識補齊,一步一步從各個面向解決堅持到最後直到問題解決,之前雖然有聽過工程師如果寫不好可能會導致墜機之類的,不過一開始聽都感覺離我很遠,自動飲料機及觀摩課堂的氛圍讓我感受對問題解決的嚴謹過程及重視每一個環節及細節,以及課本上理論可以怎麼解決實際生活發生的問題,還有可能課本上知識與實際實作的落差或考量。 - 這篇看完突然有個反思,現在資訊系學生為了更好的薪水都在刷題進外商,雖然刷題可能有其理由及適時要刷,我想到碩一一門課的老師好像靠某個專利賺了幾億的專利金,也鼓勵我們去創業做一點不一樣的事情,而不是跟隨主流價值觀。裡面印象中 jserv 也有給該生一個關於避免失敗: 「你最大問題是太害怕失敗,既然決定要做就要好好做」、「青春很貴,你知道實習會發生甚麼事情,你學習到的東西並不會比你現在多。你該學習的不是看到事情要完蛋了就去避免失敗,而是學習如何處理與承受失敗,你才能變得比以前更強大」,這句話我覺得也很適用現在的我,上碩班我害怕失敗的情形比以前更加嚴重,我覺得多少也有造成一點學習上的問題,不過我認為老師上課不斷強調缺甚麼補甚麼及做中學,應是我現在應該有的學習態度,畢竟出職場後沒有所謂的成績或標準定義好壞,而且技術實力及包裝表達是可以透過短暫面試及做過的事情看出來的。 - 之前可能還有點怕不是成大學生可能不一定能很好的參與這門課,因為有參與外校同學的讀書群組剛好因緣際會認識到邱冠維學長,再與學長聊過之後也鼓起勇氣寄信給老師討論,我希望期末能順利貢獻回跟老師討論的開源專案。 ## 研讀第 1 到第 6 週「課程教材」和 CS:APP 3/e (至少到第二章),紀錄心得和提問。針對自訂題目,例如貢獻程式碼到 Linux 核心,也將自己的構想和規劃記錄下來,隨後與授課教師一對一討論時可運用。 ### CS:APP 3/e #### ch1 - process 是 os 對正在運行的 program 的一種 abstract class - CPU 看起來會並發執行多個線程,是透過處理器在不同 process 進行 context switch - os 會 trace process 所有個狀態,這種狀態叫做 context switch - kernel 不是一個獨立的 process , 他是系統管理全部 process 及資料結構的集合。 - 一個行程(Process)實際上可以包含多個稱作執行緒(Thread)的執行單元。 這些執行緒會在同一個行程的上下文(Context)中運作, 而且會共享相同的程式碼區(Code Segment)和全域資料(Global Data)。 - 虛擬記憶體(Virtual Memory)是一種抽象概念(Abstraction), 它讓每一個行程(Process)看起來就像是自己在獨佔使用主記憶體(Main Memory / Physical Memory)。 每個行程所看到的記憶體空間都是一致且連續的,這被稱作虛擬位址空間(Virtual Address Space)。 <s> - 併發(concurrency)是一個有多個 task 的系統 - 並行(parallelism)是使用併發來使一個系統運行更快 - 分類 - threads 級併發 - 指令級並行 - 單指令、多數據並行 </s> :::danger 注意用語,務必詳閱 https://hackmd.io/@sysprog/it-vocabulary ::: > 謝謝,確實我在看的時候有點看不是很懂 ## 比照 2024 年期末專題,簡述你想投入的專案 (亦可建立新專案),至少選出 (或訂出) 二個,過程中可參照其他學員的想法,即 ideas。 - 已經與老師討論會投入BitNet,老師有給一些方向之後稍微有點成果會與老師1-1討論 - 目前開的筆記在 > [Linux Kernel Term Project](https://hackmd.io/@alanhc/2025q1-term-project)

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully