ZL2BO

Tubo's stuff, for future reference.

When you install VS Code with its remote-SSH plugin, and logs into a shell via SSH. VS Code will install its backend on the remote machine (at ~/.vscode-server) and turns the client into a front-end (after all, it’s just an Electron app).

However, VS Code depends on an much older version of nodejs, and so you need to manually relink the node exectubale to that version. In other words:

  • Install nodejs-12_x via nix-env or home-manager
  • rm -f the node executable in ./vscode-server/bin/<hash>/node
  • Replace it with symlink nix eval nixpkgs.nodejs-12_x.outPath

References

  1. Go to Settings → Settings Editor
  2. Find xsettings → Gtk → KeyThemeName
  3. Change the property value to “Emacs”

The concept of closure may seem deceivingly easy to grasp — just a function that returns another function which could access the parent function's environment.

Read more...

I've just came across this article Into the personal-website-verse. Below are some of its points along with my comments:

Read more...

A log of my how I host my blog.

Read more...

There’s heated discussion on the impact of AI tools (or machine learning to be more accurate) on radiology. Here’s a points I summarised from various conferences and readings on the internet.

Read more...