Skip Navigation
howarddo Howard Do @programming.dev

my blog: https://howarddo2208.github.io/

Posts 18
Comments 61
Why UTM VMs so slow compared to Parallel Desktop on my Intel MacBook
  • Thank u! Guess I'll stick with Parallels for now.

  • Why UTM VMs so slow compared to Parallel Desktop on my Intel MacBook

    Hi, I'm using a MacBook Pro 2018, and I'm dipping my toes into virtual machine, tried VirtualBox and then moved to QEMU with UTM after some recommendation on YouTube saying KVM is just better.

    However, my Windows 10 virtual machine created with UTM is so slow and laggy. Then I tried the Parallel Desktop, which is propriety and the performance is so much better. Why is that?

    I don't want to use a propriety paid program for VM, so I want to ask how to improve performance on UTM or any open-source alternative that gives the performance on par with one on parallel desktop.

    Thanks for your help!

    2
    Do you care about diamonds?
  • is it any better than Invidious? I usually watch through yewtu.be

  • How do you manage your dotfiles?
  • I used bare git repo before, then switch to GNU Stow + Nix home-manager.

  • Stop he's already dead
  • based EU

  • About Privacy: Browsers and Search Engines
  • yeah me too, haven't heard of it before but I'm glad I can use it now.

  • The shady world of Brave selling copyrighted data for AI training
  • It's open-source and only on F-droid

  • The shady world of Brave selling copyrighted data for AI training
  • seem like a good place to shill my blog about switching browser and search engine. I recommend Librewolf on desktop and Mull on android tho. view this privacy comparison. For search engine, use StartPage, Whoogle (privacy frontend for Google) or SearXNG (search engine aggregator)

  • howarddo2208.github.io About Privacy: Browsers and Search Engines

    Another step into being an open source purist, I decided to change my browser and search engine for better privacy. Not that I’m doing anything illegal and afraid of someone trying to get me, it’s just I’ve read and listened to a lot of stories of people got screw over by big tech data collection . ...

    Hi, so I stumbled on some videos and decided to change my browser and search engine for more privacy. I wrote about it in my blog, hope u find it useful.

    2
    Fzf Tmux Session Manager
  • nice, didn't know about it, thank u!

  • Can't remember the name of that one command line tool? Next time, add a comment!
  • I tried it, it's nice, thank you man! I'm on zsh, so I have to add history 0 in pick_from_history tho. It would be nicer if it allows continuous deletion and not need to rerun every time. Btw, even when I delete it locally it wouldn't delete already synced history on Atuin, I guess I'll take a look at that later.

  • Can't remember the name of that one command line tool? Next time, add a comment!
  • Oh, I didn't know that, thanks! Do you know any quick way to search and delete password contained commands in the history?

  • Can't remember the name of that one command line tool? Next time, add a comment!
  • Nice tip, I will start doing it from now on. I recommend Atuin to keep and sync the shell history, although I don't like its default bindings.

  • howarddo2208.github.io Fzf Tmux Session Manager

    Today I wrote a script to quickly search, delete and add new tmux session with the power of fzf. The script The --bind flag of fzf took me quite some time to debug because of many escape backslashes I needed to add. #!/bin/bash # ~/.local/bin/tmux-session-manager FIND_DEFAULT_COMMAND="tmux list-sess...

    I already posted this on c/commandline but I think it's more suitable here.

    0
    Tmux community request
  • done!

  • Hi there!

    Welcome to Tmux community, let's share your configs, seek technical help and have some discussions.

    0
    howarddo2208.github.io Fzf Tmux Session Manager

    Today I wrote a script to quickly search, delete and add new tmux session with the power of fzf. The script The --bind flag of fzf took me quite some time to debug because of many escape backslashes I needed to add. #!/bin/bash # ~/.local/bin/tmux-session-manager FIND_DEFAULT_COMMAND="tmux list-sess...

    2

    Fzf Tmux Session Manager script

    howarddo2208.github.io Fzf Tmux Session Manager

    Today I wrote a script to quickly search, delete and add new tmux session with the power of fzf. The --bind flag of fzf took me quite some time to debug because of many escape backslashes I needed to add. Here’s the script #!/bin/bash # ~/.local/bin/tmux-session-manager FIND_DEFAULT_COMMAND="tmux li...

    0

    How I manage snippets

    howarddo2208.github.io How I Manage Snippets

    Snippet manager is not something I pay attention to until recently, but when I do, I want to make it blend into my workflow smoothly. I will share my tool and process in this blog The tool Nap is the tool of choice for me. It runs on the terminal, have a nice terminal UI. I don’t really like GUI sol...

    Hi guys, it's my new blog post on managing snippets with a TUI program called Nap. I know it not addressing Neovim specifically, but writing code in the terminal in general, and I'm requesting Tmux community btw. Hope you find the blog useful.

    0
    Are you replacing Reddit with Lenny?
  • I just hope lemmy instances are more searchable like reddit. That would kill any usage of reddit for me for sure

  • *Permanently Deleted*
  • Good for him, I personally think null-ls should be a core functionality rather than a plugin.

  • macros not working, stopping in the middle of execution
  • If you suspect plugins break your macros, do a binary chop disable plugins until you find the culprit. That's what I usually do.

  • Get rust program project root using lua script
  • Nice! Didn't know I need it

  • GitHub - akinsho/toggleterm.nvim: A neovim lua plugin to help easily manage multiple terminal windows
  • I think you can learn a thing or two from this guy's config, his keybinding config is clean and I stole it :D toggle layzygit and vifm from toggleterm is nice if you use them. Btw: it only configs float terminal, side by side terminals I just use tmux instead

  • How do I improve on borrow checker skills?

    Hi guys, I'm a soydev trying to learn rust. It's hard, especially with the references, ownership, the compiler goes crazy every time and I just throw all the references, dereference until it stops. I'm not used to it coming from JS. Do you have some resource, tips to improve on this? Thank you very much. Side note: what is your first project in rust? And what are some interesting open-source rust projects, you go to learn from/ contribute to?

    3

    Vim tips from my favorite boomer

    he gives some really nice tips with the the g key, I think u can learn a thing or two from this.

    0

    Understand the basics: buffers, windows and tabs

    If you are like me, chances are you used Neovim for a period of time without knowing the basics. The notion of buffers windows and tabs in Vim is quite different from other IDEs/code editors. I suggest you read through this and this Stackoverflow answer to get some understanding of this matter.

    1

    Nix - An universal package manager

    nixos.org Nix & NixOS | Reproducible builds and deployments

    Nix is a tool that takes a unique approach to package management and system configuration. Learn how to make reproducible, declarative and reliable systems.

    I think the main pain point of distro hopping is learning a new package manager, I discovered Nix a while ago, it works on every single OS, has the biggest package repo out there. I replaced Homebrew on my mac with it. If this piques your interest, give it a go. Later, you can integrate with Home-manager to manage all of your program config to have a reproducible dev environment on any machine, as described in the tutorial here.

    The catch is it's really advanced and got steep learning curve. You can adopt gradually tho. Just get started with nix-shell and nix-env

    19

    Auto-create folder when saving a new buffer

    jdhao.github.io You Do Not Need a Plugin for This Feature

    I saw from the repo awesome neovim1 a plugin that helps the user create the intermediate dir when they save a file. I wondered why this feature even needs a whole plugin? You can literally do this with a few lines of code.

    If you find yourself adding a new file with :e but the folder isn't there yet, this is for u

    1

    Recommendation to get more passion for programming?

    What are some of your recommendations for books, videos, podcasts, or any other media that inspire and spark more passion for programming and computer science in general? I'm interested in hearing how these resources have helped you grow as a programmer.

    36

    How long does it take you guys to complete the book?

    I'm a beginner who just started to read the rust book, I find it quite tedious and wonder how long does it take u guys to read it? Also, any suggestion after finishing reading the book?

    17

    Fuzzy-switching sesssion in tmux script

    jdhao.github.io Fuzzy-switching Tmux Sessions with Ease

    During my work, I use multiple Tmux sessions to manage different projects. When I create a new session, I usually give it unique name so that I know that the project is about via the session name.

    I found this post really helpful to anyone who is using tmux

    7