Debugging Locale of libarchive
程程编里不是这样的!😡应该多让我看看libarchive源码☝,然后提升我的好感度。偶尔让我发现一些灵感,然后在那个特殊函数时跟我有特殊返回值☺️。最后在某个我trace了很久才找到的语句,让我发现错误😮,我终于找到问题根源☺️,然后我成功提交PR啊😃。一怎么上来给我跳转到libiconv!😡?程程编里根本不是这样!😡我不接受!!😡😡😡 If you found you can’t use...
程程编里不是这样的!😡应该多让我看看libarchive源码☝,然后提升我的好感度。偶尔让我发现一些灵感,然后在那个特殊函数时跟我有特殊返回值☺️。最后在某个我trace了很久才找到的语句,让我发现错误😮,我终于找到问题根源☺️,然后我成功提交PR啊😃。一怎么上来给我跳转到libiconv!😡?程程编里根本不是这样!😡我不接受!!😡😡😡 If you found you can’t use...
At least the following three tables are involved in semantic analysis: Symbol table stores information about identifiers seen by semantic parser. Type table Constants table Internal repres...
Terminology Triplet Triplet describes the platform. It consists of three components: ISA-OS-libc. ISA (Instruction Set Architecture) OS (Operating System) libc: the version of libc used o...
Conan is one of the most popular cross-platform package managers in cpp world. But it’s also HARD to use since it have a really bad documentation. In this article, I’ll give some notes on how to u...
$\text{LR}(k)$ parsing is a bottom-up grammar parsing method, for which: $\text{LR}$ stands for “Read from Left to Right, Derive Rightmost Word”. $k$ stands for the number of character to look...
Recently I re-install my fedora due to mis-erasing my disk partition table. After booting to the new system, I found F5 is not bound to refreshing the page. Finally I found this behavior can be al...
TL;DR To erase a reverse_iterator rit, use container.erase(std::next(rit).base());. Original Post To erase a reverse_iterator, say rit, you can’t directly call container’s erase on it. Because s...
Introduction Normalization is a process to strip redundancies in relations. Key 候选码:可以标识元组的最小属性集 主码:指定的某个候选码 码/超码:可以标识元组的属性集 Normal Form (NF, 范式) NF is of fu...
Possible problems in bad designs Data redundancy: 冗余数据。 Update anomaly: 更新时会涉及很多数据的更新,以防止数据不一致。 Insertion anomaly: TODO 插入时无法插入(?) Deletion anomaly: 删去时,将某些有用...
View A view is either a partial reference (i.e., not the whole table) to or a read-only view upon some table. Updatable view and read-only view If a view satisfy the following conditions, it’s u...