Tag Archives: alignment

用程式自動同步字幕與聲音

在 Hacker News 上看到的專案,readbeyond/aeneas: aeneas is a Python/C library and a set of tools to automagically synchronize audio and text (aka forced alignment). 馬上想到的是... 這根本就是字幕組的福音 XDDD 支援的語言: Confirmed working on 38 languages: AFR, ARA, BUL, CAT, CYM, CES, DAN, DEU, … Continue reading

Posted in Anime, Computer, Movie, Murmuring, Recreation, Software, Television | Tagged , , , , , , | Leave a comment

ESR 解釋 C 的 Compiler 對 Structure Packing 的處理...

ESR (Eric S. Raymond) 寫了一篇 C Compiler 對 struct 實際如何佔用記憶體空間的說明:「The Lost Art of C Structure Packing」,全文在「The Lost Art of C Structure Packing」。 以前都學過也都還記得,但沒用就不容易想起來... 以文章裡的例子用這個 struct 說明: struct { char *p; char c; int x; }; (下面就不列出 struct 的部份了) 實際上在記憶體裡面會因為 alignment … Continue reading

Posted in Computer, Hardware, Murmuring, Programming, Software | Tagged , , , , , | 2 Comments