[BITS] - the weekly archive
bits 0x51 - Calender Week XX, 20XX (WIP)
bits 0x50 - Calender Week 16, 2024
bits 0x49 - Calender Week 15, 2024
> see all

Notes on (neo)vim
> Read more ...

I have (and will have more) many notes on this blog on Vim, the post serves as all-in-one reference page.


vim tricks
> Read more ...

My personal cheatsheets for vim-IDE keybindings


C_quicknotes
> Read more ...

Takeaways from the book “Advanced C Programming” by Berry, John Thomas.

While it’s titled “advanced”, it is rather basic. Here is some quick notes on stuff that I’m not familar with/ don’t use often.


Qajg
> Read more ...

随笔


List synchronization, from coarse-grained to non blocking wait-free
> Read more ...

Concepts: Wait-free and Lock-free

An object impl. is wait-free if every thread completes a method in a finite number of steps:

  • NO mutual exclusion (thread should not halt in critical section)
  • NO while loop (that may keep spining..)

An object impl. if lock-free if in an infinite execution infinitely often some method call finishes(in a finite number of steps)


Colors - It's more complicated than you think
> Read more ...

How is color space defined and what exactly is “color” from a machine’s point of view.


Counter
> Read more ...

tl;dr:
给自己的静态博客增加一个访问统计,效果如下: https://shrik3.com/misc/report.html


[OSC] CGA显示
> Read more ...

前言:此为从零开始造轮子搭建操作系统的笔记,框架来自学校课程,编程语言主要为C++和汇编,涉及大量底层硬件相关。 本篇为CGA显示驱动和基础总线读写


postgresql upgrade
> Read more ...

TIFU by letting pacman upgrade the postgresql a major version (13->14). Then the postgresql service failed to start.. Anyways here is the fix.

also a nice thing in the AUR: the postgresql-old-upgrade package. It provides the binary for the older version of psql under/opt/postgresql{VERSION}


A (neo)vim IDE setup for C/C++, that just works
> Read more ...
Honestly I don’t think over-functional completion and diagnostics give you any productivity. The same is true for highlighting: if you highlight everything, you highlight nothing. It’s a harmful mentality to think “oh I have to have the best tools before I get started.” No, tool is just tool, the purpose is production. So this is what I want: basic syntax highlighting. completions based on current project. jump to definition. <–!more–> Essential tools/plugins Deoplete for completion framework
seite: [prev] 5/12 [next]