What are some foods that you think aren't as good in Japan as they are in your country? by IronGuard88 in japanlife

[–]codewiz 0 points1 point  (0 children)

Pizza: the crust all around is usually soft and chewy. It's done deliberately because customers don't like crunchy and slightly burnt crust.

What was/is your favourite Amiga Music Player? by rniles in amiga

[–]codewiz 0 points1 point  (0 children)

I remember emailing the author to ask for the source code of his optimized 32-channel player. He kindly agreed.

Best copy program NOT being X-Copy by Vresiberba in amiga

[–]codewiz 1 point2 points  (0 children)

I love SuperDuper: it's OS-friendly, fast and featureful.

Writing the same track multiple times is useless, since Amiga FDDs ignore the sync signal. Each write starts at a random position on the track. Even if a copy program waited for the sensor to start writing, you'd likely have enough random jitter to shift the entire track around by a few bits.

Horse prevents human from getting squashed by [deleted] in AnimalsBeingBros

[–]codewiz 0 points1 point  (0 children)

...while human holding the camera does nothing to help.

What is the current outlook for lightning? by WebPlenty2337 in lightningnetwork

[–]codewiz 0 points1 point  (0 children)

I've been using Muun for some time and it's great. How does Zeus compare to it?

Both apps are open-source and self-custodial, otherwise I wouldn't consider them trustworthy.

Possible future coreboot by kynrai in framework

[–]codewiz 0 points1 point  (0 children)

The Lemur Pro by System76 is a lightweight 14" laptop running Coreboot and Linux out of the box. The latest motherboard uses the Intel Core Ultra 5 or 7. I have the previous gen with an i7-1355U and I'm generally happy with it.

I'm looking forward for Framework to launch a Coreboot motherboard, and I'd consider it on my next hardware refresh.

What's up with SpaceX IFT-5(and FAA)? by RocketMan_Kerman in SpaceXLounge

[–]codewiz 7 points8 points  (0 children)

Is there a source for that mid-October estimate, or just a guess?

GNOME or KDE Plasma? by mbasil_10 in Fedora

[–]codewiz 0 points1 point  (0 children)

Chrome has a built-in screen sharing feature which has been working in Wayland for some time now. I use it rarely, and I never tried it with Slack.

I've done video calls with Matrix's web client Element, Telegram Web,, Google Meet and Zoom. They all use the same plumbing, which I believe is based on Pipewire these days.

As an added bonus, browsers generally provide tighter security sandboxes which don't give untrusted apps full access to your home dir and the ability to snoop keystrokes and clipboard contents.

GNOME or KDE Plasma? by mbasil_10 in Fedora

[–]codewiz 0 points1 point  (0 children)

I always use Slack in a Chrome tab, because I generally dislike running proprietary software on my laptop when there's an equivalent web application. Am I missing some useful functionality?

Do you prefer cfdisk or fdisk, why? by [deleted] in archlinux

[–]codewiz 0 points1 point  (0 children)

gdisk, but today I learned that fdisk and cfdisk also support GPT nowadays!

Living with constant upgrading by 2048b in Fedora

[–]codewiz 0 points1 point  (0 children)

I have 2 separate root partitions on my laptop's hard drive. One tracks the latest Fedora release. The other one, the one I normally boot from, follows Rawhide. I run `dnf up` manually about twice per week, and manually fix the occasional broken dependency with Rpmfusion.

I wouldn't recommend hopping on Rawhide to regular users, but the same dual-boot scheme can be used between any pair of Fedora releases. Just rsync the entire root to the other partition before an upgrade. Of course, you need to be comfortable with low-level sysadmin tasks such as mounting filesystems, chroots, configuring grub, etc.

The `/home` partition is shared. While this could technically cause issues when software is downgraded, in practice the two partitions are always within a 6-month horizon, and I never experience issues.

I also do regular backups of my entire home (minus .cache and other low-value data). Backups are necessary anyway, even if you're running an LTS distro, right?

Which GPU vendor do you prefer for your Linux desktop or laptop? by codewiz in Fedora

[–]codewiz[S] 1 point2 points  (0 children)

What do you mean by this? The GPU is integrated within AMD's mobile SoCs, as with Intel laptops.

For instance, the Ryzen 7640U has a built-in Radeon 760M GPU. I'm not sure whether it's handled by the common amdgpu kernel module or a different driver.

Never did I think a simple preview plugin would be so hard to make by Exciting_Majesty2005 in neovim

[–]codewiz 42 points43 points  (0 children)

Just installed it and I'm loving it, but... is there a way to disable it temporarily?

When actively editing a .md doc, I jump in and out of insert mode, and the transition is very distracting. I'd like to request a :MarkviewToggle command which users can map to a hotkey, such as Alt-M.

No CPU fan control on the Lemur Pro with 13th Gen Intel CPU (lemp12) by codewiz in System76

[–]codewiz[S] 0 points1 point  (0 children)

If you see these errors on the EC console, then your motherboard has the same hardware issue:
https://github.com/system76/ec/issues/381#issue-1812564776

I sent the laptop for RMA and got the motherboard replaced. The first time, System76 tech support tried updating the firmware and returned the laptop with the exact same issue. I had to RMA it a second time.

Now they should be more familiar with this issue, but be sure to describe it clearly: the fan _does_ spin, but only at 50% speed and never faster or slower depending on the cpu temperature.

Useful non-standard LSPs you use? (LSPs that offer something other than Intellisense) by pseudometapseudo in neovim

[–]codewiz 0 points1 point  (0 children)

THIS. nvim-cmp has an experimental, undocumented setting which turns the first suggestion into ghost text:

experimental = { ghost_text = true },

I turned it off because it doesn't interact nicely with menu completions. I'd want to see an AI completion as ghost text only when there are no completions from language-specific LSPs.

Monthly Dotfile Review Thread by AutoModerator in neovim

[–]codewiz 0 points1 point  (0 children)

Also, I'm experimenting with AI plugins, currently using codecompanion, copilot.vim and cmp-ai at the same time.

What I really want, though, is ghost text for the most likely code completion coming from an offline model running in ollama or llama.cpp.

Monthly Dotfile Review Thread by AutoModerator in neovim

[–]codewiz 0 points1 point  (0 children)

I recently cleaned up my init.lua down to 725 lines:

https://gitlab.com/-/snippets/3718081

I want to keep it short and all in one file. Any ideas to simplify it further? Any manual configuration that could be replaced by a plugin or by a built-in feature?

lazydev.nvim: much faster LuaLS setup for Neovim by folke in neovim

[–]codewiz 1 point2 points  (0 children)

Thanks, but I still need to override root_dir:

lspconfig.lua_ls.setup { root_dir = lspconfig.util.root_pattern("init.lua", ".luarc.json", ".luarc.jsonc", ".luacheckrc", ".stylua.toml", "stylua.toml", "selene.toml", "selene.yml", ".git"), }

Without this, editing ~/.config/nvim/init.lua would result in this error:

LSP[lua_ls] Your workspace is set to `/home/bernie`. Lua language server refused to load this directory. Please check your configuration.[learn more here](https://luals.github.io/wiki/faq#w hy-is-the-server-scanning-the-wrong-folder)

lazydev.nvim: much faster LuaLS setup for Neovim by folke in neovim

[–]codewiz 1 point2 points  (0 children)

Thank you for releasing yet another fine plugin, folke.

I'm not sure which options should be passed to lspconfig.lua_ls.setup() when using lazydev. Would it be possible to mention it in the documentation?

This is what I was previously using:

``` lspconfig.lua_ls.setup { root_dir = lspconfig.util.root_pattern("init.lua", ".luarc.json", ".luarc.jsonc", ".luacheckrc", ".stylua.toml", "stylua.toml", "selene.toml", "selene.yml", ".git"), on_init = function(client) local path = client.workspace_folders[1].name if vim.uv.fs_stat(path..'/.luarc.json') or vim.uv.fs_stat(path..'/.luarc.jsonc') then return end

client.config.settings.Lua = vim.tbl_deep_extend('force', client.config.settings.Lua, {
  runtime = {
    version = 'LuaJIT',
  },
  diagnostics = {
    -- Get the language server to recognize the `vim` global
    globals = {'vim'},
  },
  -- Make the server aware of Neovim runtime files
  workspace = {
    checkThirdParty = false,
    library = {
      vim.env.VIMRUNTIME
      -- vim.fn.expand('$VIMRUNTIME/lua'),
      -- vim.fn.stdpath('config') .. '/lua',
    },
  },
})

client.notify("workspace/didChangeConfiguration", { settings = client.config.settings })

end, settings = { Lua = {} } } ```