Saturday, December 30, 2023

Adding and removing Jupyter kernels

 Using the following command to see the currently installed kernels:

jupyter kernelspec list

And the following command to remove an installed kernel (in my case an updated version has been installed):

jupyter kernelspec uninstall julia-1.9

To add an updated version of Julia kernel into Jupyter, it is sufficient to:

Pkg.build("IJulia")

These simple things need to become part of my muscle memory. 

Sunday, December 03, 2023

cargo-update

 As the number of cargo-installed packages increases on my computer, I naturally wonder if there is a convenient way to keep them up-to-date. cargo-update does exactly that. I can first do:

cargo install-update -l

to see if any installed packages are out-of-date. If so, I can then:

cargo install-update <pkg>

to get it updated.

Saturday, December 02, 2023

Zoxide

 Zoxide is such a small, nice command line utility that significantly reduce the amount of typing. It works with the Nushell nicely. 

Tuesday, November 28, 2023

Rust, Helix, and Zellij

I know about Rust programming language for many years but did not think it will be a major player in the open source software world simply because there have been so many good programming languages and development tools. I recently stumbled into a couple of really good open source software, including the Helix file editor and the Zellij terminal multiplexer, both were developed using Rust. Also, there are at least two R packages, rextendr and cargo, that facilitate the calling of Rust function from within R. Maybe it is time to pay more attention to Rust. 

The Nushell is another essential component of this Rust-centric free software ecosystem. 

Tuesday, August 01, 2023

Cold War II: Niall Ferguson on The Emerging Conflict With China | Uncommon Knowledge

In this interview, Ferguson basically argued that the US needs a credible threat to pull its people together and China fits the bill ... so there will be a second Cold War and possibly a hot war. Wow ...

Saturday, July 08, 2023

8 ChatGPT tools for R programming

This post is very informative and helpful.

Sunday, June 25, 2023

Smart Connections

 Smart Connections is the best combination of Obsidian and ChatGPT so far. 

Monday, January 09, 2023

Integrating Obsidian and Rstudio workflow

This little Obsidian plugin called qmd as md Obsidian plugin. It enables Obsidian to recognize Quarto Markdown source file, which is the new generation of the widely used R Markdown format. As a result, now it is possible to index all the intermediate project source file and visualize their relationship. 

This can fundamentally change my research life. 

Counter