howarddo

joined 1 year ago
MODERATOR OF
 

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!

[–] howarddo@programming.dev 1 points 1 year ago

is it any better than Invidious? I usually watch through yewtu.be

[–] howarddo@programming.dev 5 points 1 year ago

I used bare git repo before, then switch to GNU Stow + Nix home-manager.

[–] howarddo@programming.dev 2 points 1 year ago (1 children)

It's open-source and only on F-droid

[–] howarddo@programming.dev 10 points 1 year ago* (last edited 1 year ago) (3 children)

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)

[–] howarddo@programming.dev 2 points 1 year ago

nice, didn't know about it, thank u!

[–] howarddo@programming.dev 2 points 1 year ago

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.

[–] howarddo@programming.dev 2 points 1 year ago (2 children)

Oh, I didn't know that, thanks! Do you know any quick way to search and delete password contained commands in the history?

[–] howarddo@programming.dev 5 points 1 year ago* (last edited 1 year ago) (5 children)

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.

 

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

 

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

10
How I manage snippets (howarddo2208.github.io)
submitted 1 year ago* (last edited 1 year ago) by howarddo@programming.dev to c/neovim@programming.dev
 

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.

[–] howarddo@programming.dev 4 points 1 year ago

I just hope lemmy instances are more searchable like reddit. That would kill any usage of reddit for me for sure

[–] howarddo@programming.dev 8 points 1 year ago (1 children)

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

[–] howarddo@programming.dev 2 points 1 year ago

If you suspect plugins break your macros, do a binary chop disable plugins until you find the culprit. That's what I usually do.

 

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?

 

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

 

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.

 

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

 

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

view more: next ›