███████╗██╗ ██╗██████╗ ██╗██╗ ██╗██████╗ ██╔════╝██║ ██║██╔══██╗██║██║ ██╔╝╚════██╗ ███████╗███████║██████╔╝██║█████╔╝ █████╔╝ ╚════██║██╔══██║██╔══██╗██║██╔═██╗ ╚═══██╗ ███████║██║ ██║██║ ██║██║██║ ██╗██████╔╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚═╝ ╚═╝╚═════╝
$ ls -l Posts
> STOP INCLUDING NERD FONT AS DEPENDENCY | |
> Read more ...
It’s so fucking annoying that every new UI-related neovim plugin requires you to have some sort of glyphs installed |
|
> The archtecture terminimology madness | |
> Read more ...
/// DRAFT /// I’ll write about confusing naming in different architectures in sys programming. |
|
> ELF: symbol table, linker script and assembly sugar | |
> Read more ...
// DRAFT //
// WIP // |
|
> How much Page Tables / PTEs are needed for xyz amount of memory? | |
> Read more ...
TL;DR;
For m bytes virtual memory (up to 256T), you need
|
|
> The media exploits ADHD (WIP // DRAFT) | |
> Read more ...
we don’t force you to scroll the social media 4 hours a day, it’s all your choice, they say. |
|
> reflections on how ChatGPT HAS changed things | |
> Read more ...
The good, the bad, and the evil. |
|
> C syntax is bad for regex | |
> Read more ...
I find myself using grep (or regex in general) more often than before and I’ve been writing code without LSPs at all. And I found an unexpected drawback of C style syntax: it’s not ergonomic to find, say the definition/declaration of a function/struct/class, using grep.
The C syntax is that, you declare something in the same manner you use it. For example, you have a function:
uint64 *myfunc(int n); You call the function myfunc, with parameter n, then you dereference the result with a asterisk and you will get an integer, hence the syntax (also the reason that the asterisk should attach to myfunc not uint64).
|
|
> openring + webring, build a suckless web | |
> Read more ...
openring and webring are two orthogonal projects that are dedicated to build a decentralized web of independent blogs. The openring is a program written in GO that pulls RSS feeds from a list of URLs and render 3 of the newest articles into html that can be integrated into static site generators. The webring is a well maintained collection of blogs: |
|
> Chinese translations of OS terminologies (WIP) | |
> Read more ...
The meaning is distorted when terminologies are translated, even if they are translated by the literal meanings. In this post I list some translations that I think are “bad”, and hopefully some better translations. (well, unluckily for most of them I can’t think of a better one.) |
|
> schnitzel.nvim : my neovim config | |
> Read more ...
schnitzel.nvim is the neovim config that I daily drive. Some friends asked for my dotfile, so I made a public version of it. |
|
> Binary Hacks - Dump process virtual memory | |
> Read more ...
|
|
> Tile Split Tile Split Tile (rants) | |
> Read more ...
I love tilling window managers,it split my display in halves. |
|
> End the holy war between space and tab indentation... | |
> Read more ...
Indentation not Tabulation People(I) make mistakes often because they mixing the idea of indentation and tabulation. |
|
> Text to speech in (neo)vim... | |
> Read more ...
Some dirty hacks to read the vim buffer with |
|
> JS or no JS, that's a problem - towards a ZERO JS blog | |
> Read more ...
[This post is to be updated] I’ve commissioned myself to build this blog completely without javascript: that’s simple. But how can I add “modern” features without adding “modern” javascript? |
|
> Tomato clock! | |
> Read more ...
Just a simple script that reminds you to take some rest every n minutes |
|
> Comment system on a static site without javascript??? | |
> Read more ...
So I want to integrate a comment system to my blog.There are many many comment service providers like disqus. Even for a static site, you can add comment support simply by inserting a javascript snippet into the page. But what about … zero JS? |
|
> Human as runtime | |
> Read more ...
Let’s bring “cursed” programming to a whole new level. |
|
> Cursed C - snippets from Expert C Programming | |
> Read more ...
Helpful or not, I’m taking some notes while reading the book “Expert C Programming” by Peter van der Linden. |
|
> C struct inheritence | |
> Read more ...
If you have no idea what “cursed” is, well, this is it. |