Jim Cheung

Monday, May 03, 2021

read the news that Emacs native compilation merged into trunk

for os x, the easiest way is check out d12frosted/homebrew-emacs-plus

$ brew tap d12frosted/emacs-plus
$ brew install emacs-plus@28 --with-native-comp

do whatever needed to fix python3/pip, this works for me:

$ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
$ python3 get-pip.py

it took me a day to compile LOL, but can feel it is faster now, good


on my pinebook pro is much easier, debian already have libgccjit-dev package, then I just need to compile emacs:

(from https://www.emacswiki.org/emacs/GccEmacs)

$ git clone git://git.savannah.gnu.org/emacs.git
$ cd emacs
$ ./autogen.sh
$ ./configure --with-native-compilation
$ make -j$(nproc)

Tuesday, May 04, 2021

this one gonna be big: Hosting SQLite databases on Github Pages - (or any static file hoster)

he uses http range header, fake the underlying file system takes it as page. even though it's read-only, but still very useful

he also demostrated to fake the dom manipulation to read-write doms, pretty cool


from Diving Deep on S3 Consistency (not really a deep dive)

one interesting part is the consistency witness component in their metadata system:

no further details though


slowly reading How to Take Smart Notes, Luhmann's slip box is quite interesting, I forgot the details but the points might be:

Blog Archive