Thursday, December 25, 2025

Using yazi on Windows

 Yazi is my favorite file manager on Linux. On Windows, however, I have been having trouble with file previewing and file opening. Today I asked Google Gemini about this and the answer was:

---

3. Important Windows Requirement: file

Yazi uses the file command to determine if a file is "text" or "image." Windows doesn't have this by default.

  • Recommendation: Install Git for Windows. It includes a file.exe utility.

  • Tell Yazi where it is by adding this to your Nushell env.nu (open with config env):

    Code snippet
    $env.YAZI_FILE_ONE = 'C:\Program Files\Git\usr\bin\file.exe'
---

This actually solved the problem.

Saturday, October 25, 2025

Agents.jl vs. Vanaha.jl

 Some very informative discussions here.

Introduction to Julia for R users

 Useful information for R users here.

This is another one.

Saturday, August 02, 2025

NLRX tricks

 I just realized that it is possible to combine `runtime` and `stopcond` options to accommodate the situation that most NetLogo simulation runs can reach equilibrium but some cannot. In my case, I used the following code:

runtime = 300,

stopcond = "all? turtles [happy?]",

With amazing results. 

Tuesday, April 01, 2025

Sunday, March 23, 2025

Vmware Workstation on Windows 11

 I finally figured out why Vmware Workstation virtual machines are so slow on Windows 11. Here are the steps:

  1. Disable Hyper-V on Windows, following the instructions here
  2. Install the virtual machine system.
  3. If typing in the virtual machine is slow, the fix can be found here and here.
This is especially important because now Vmware Workstation is free for personal use. This is the instruction to follow. 

Counter