本篇介紹
Quantization table
Huffman table
Encoded data
在JPEG檔案內排列的順序,範例參考Understanding and Decoding a JPEG Image using Python,參考規格書補漏,並實作JPEG decoder。
JPEG有4種壓縮格式
93i7xo2 changed 3 years agoView mode Like 1 Bookmark
contributed by <93i7xo2>
Source: quiz2
Lock-Free Data Structures with Hazard Pointers
Source
本偏論文旨在提出一個 lock-free "Write-Rarely-Read-Many" maps,基於 Lock-Free Data Structures 提出的方法進行改良。
93i7xo2 changed 4 years agoView mode Like Bookmark
Thread & Process
取自Programming Parallel Machines Spring 2019第7周教材
A thread can possess an independent flow of control and be schedulable because it maintains its own:
Stack pointer
Registers
Scheduling properties (such as policy or priority)
Set of pending and blocked signals
Thread specific data.
IRIT
2019 COSCUP 投影片
What is the original meaning of CUJU? And how does it connect to the high
availability?
CUJU,中文為踧鞠,一種傳統中國遊戲,玩家要保持球不落地,隱喻該技術不讓VM有停機的機會。藉由在兩台 host 間不斷同步虛擬機器的記憶體和I/O,當一台 host 故障發生時另一台能馬上接手,達到零停機時間。此類技術不是 HA(High availability) 而是 FT(Fault-tolerance),雖然 VMWare 的 vCenter 要打開 HA 才能使用 FT,但 HA 是藉由監控 guestOS 維持高可用性,一旦 VM 上的服務停止回應藉由重啟VM或在其他host上重新啟動,仍然有停機時間;FT 則是在虛擬機層級進行同步,若 guestOS 發生錯誤崩潰,另一端備份也同樣崩潰,無法保證服務正常運行,所以一般會搭配 HA 使用。
What is the group fault tolerance (GFT)? To what kinds of applications it is useful.
93i7xo2 changed 5 years agoView mode Like Bookmark
# 台大資工104考題
###### tags: `雜記`
> 僅供參考,有沒有錯都不知道==

```!
On a MIPS machine (Fig. 1) running UNIX, we observed the following binary string stored in memory location x.
0011 1111 0111 0000 0000 0000 0000 0000
The binary could mean many different things,
```
#### a. If this is an integer number, what value is it?
$2^{29}+2^{28}+2^{27}+2^{26}+2^{25}+2^{24}+2^{22}+2^{21}+2^{20}$
#### b. If this is a single precision floating point number, what value is it
93i7xo2 changed 5 years agoView mode Like Bookmark