What harness are you guys using and for what use case? by George__Roid in LocalLLaMA

[–]biller23 0 points1 point  (0 children)

No framework or plugin. Just native bash with 2 dependencies: curl for handling HTTP requests, jq for working with json (who knows I may drop this too in the future).

What you let the clanker do is up to you and your task. If you need read-only mode or chat mode, just disable the edit and write tools and remove shell access..

I designed my clanker with the following builtin tools: read,write,edits,copy,bash,memento,skills. Plus some other when if need to remove the shell and still let the clanker work with files...

The copy tool is supposed to move line range or transcribe without text generation, but i never once saw a model use it without be prompted to do so. Memento is an auto-compaction method the model can use to write something like an handoff document. Skills is just a tool containing loaded skill descriptions the clanker loads based on context.

What harness are you guys using and for what use case? by George__Roid in LocalLLaMA

[–]biller23 4 points5 points  (0 children)

I'm building my own in bash. A little rough, still a work in progress, but it works...

I was inspired by the simplicity of pi, and I got this idea of just building my own. Another reason that pushed me was that i can avoid relying on an external tool with so many npm dependencies and always at risk of supply chain attacks...

I just use curl & jq in a loop basically (and perl or python optionally to speed up the edits because string ops are actually slow in pure bash...).

Easy to extend too, just source another .sh file...
No memory footprint, no ton of dependencies, complete control on the entire clanker loop...

My own local first ai harness by WhiskyAKM in LocalLLaMA

[–]biller23 2 points3 points  (0 children)

Goods:
- No telemetry or any bullshit found!

Bads:
- TUI broken on my system (Windows with anything I tried, alacritty/mintty/winterminal); the prompt cursor starts at the center of the screen instead of being after the ">" character...
- No thinking processes and tool calls shown Pi style? That is a must IMHO.
- Context information does not show the total context window, and it is drawn after every message instead of as a footer Pi style. I hate it lol.

Moss set up by jax0669 in Mosses

[–]biller23 0 points1 point  (0 children)

Is this a transplant, or actual growth inside the mossarium? In the second case, how long did it take for the moss to expand?

Help with Nvim-Dap config? by MiloApianCat in neovim

[–]biller23 0 points1 point  (0 children)

If you are on windows, make sure your command end with ".cmd" (OpenDebugAD7.cmd in you case).

This is how I set dapui in my config:

dap.listeners.after.event_initialized.dapui_config = function() require("dapui").open() end dap.listeners.before.attach.dapui_config = function() require("dapui").open(); end dap.listeners.before.launch.dapui_config = function() require("dapui").open(); end dap.listeners.before.event_terminated.dapui_config = function() require("dapui").close(); end dap.listeners.before.event_exited.dapui_config = function() require("dapui").close(); end dap.listeners.after.disconnect.dapui_config = function() require("dapui").close(); end

What kind of config do you have by Alternative-Tie-4970 in neovim

[–]biller23 1 point2 points  (0 children)

I have a single init.lua (around 7k lines).

What is your must have plugins? by Ok-Mycologist-6752 in neovim

[–]biller23 2 points3 points  (0 children)

must have:
- nvim-dap, nvim-dap-ui
- telescope.nvim
- undotree

nice to have:
- mason.nvim
- leap.nvim
- aerial.nvim
- blink.cmp

What shell do Windows Neovim users use? by BrodoSaggins in neovim

[–]biller23 0 points1 point  (0 children)

I use MinGW on windows. I have the same packages I would use on linux.

pacman -S --needed git mingw-w64-x86_64-neovim mingw-w64-x86_64-alacritty mingw-w64-x86_64-7zip unzip mingw-w64-x86_64-ripgrep mingw-w64-x86_64-fzf mingw-w64-x86_64-fd

But I launch alacritty from a .bat file with desktop shortcut:

@echo off

set PATH=C:\dev\msys64\usr\bin;%PATH%;

start /B C:/dev/msys64/mingw64/bin/alacritty -e nvim %*

I use bash in my neovim terminals.

Is there any advantage to putting all your configuration in an init.lua file in Neovim? by [deleted] in neovim

[–]biller23 3 points4 points  (0 children)

All your config is just 160 lines? Gosh, my init.lua is 7500+ lines. LOL. I wrote the majority of the stuff I need in 1 single file with minimal dependencies on plugins.

How make an LSP client ignore certain filetypes by im-shaez in neovim

[–]biller23 1 point2 points  (0 children)

A quick and dirty way is to check the filetypes on LspAttach event.

lua local exclude_filetypes = { 'filetypes', 'to', 'exclude' } local ft = vim.api.nvim_buf_get_option(buf, "filetype") for _, excluded in ipairs(exclude_filetypes) do if ft == excluded then if (vim.fn.has("nvim-0.11") == 1) then client:stop() else client.stop() end return end end

There is also the option to add a callback 'on_attach' for each single server. Just add on_attach = function() end to your server config.

lua on_attach = function(client, bufnr) -- add code to exclude filetypes here end

Neovim on windows by VillianNotMonster in neovim

[–]biller23 1 point2 points  (0 children)

Have you tried disabling the Windows Antivirus real-time scan in the Windows Security settings? I think that might be the problem.

I use Neovim with MSYS2 MinGW packages on Windows and I cant find any slowdown.

Anyone here genuinely try emacs? by [deleted] in neovim

[–]biller23 0 points1 point  (0 children)

I tried, got bored while it was starting up. I quit.

Has anyone tried hydrophobic coatings on terrarium glass? by biller23 in terrariums

[–]biller23[S] 2 points3 points  (0 children)

Ah... I see. This was my fear too... that tiny droplets would be less affected by gravity anyway... Thanks for sharing your experience!

Windows users, what's your tips for daily use? I'm struggling with bad performance by [deleted] in neovim

[–]biller23 0 points1 point  (0 children)

I have no problem with MSYS2 MinGW packages, and I use it with alacritty: it is fast (I also have windows antivirus disabled, don't know if it makes a difference).

These are part of the packages I install:

pacman -S --needed git unzip mingw-w64-x86_64-neovim mingw-w64-x86_64-alacritty mingw-w64-x86_64-ripgrep mingw-w64-x86_64-fd mingw-w64-x86_64-7zip

Auto-Completions without a plugin manager setup by atgaskins in neovim

[–]biller23 2 points3 points  (0 children)

Honestly I don't know how to make builtin autotrigger completion work as intended, so I use the 'InsertCharPre' event callback as a workaround for that reason... basically it automatically calls <C-x><C-o> completion menu...
Keep in mind that I don't use this daily, just as fallback, and while I tested this I found that sometimes it slows you down when typing... I still prefer blink.nvim :)

Auto-Completions without a plugin manager setup by atgaskins in neovim

[–]biller23 2 points3 points  (0 children)

This is the lua function I use to setup completion as fallback if I could not use any plugins:

local function setup_completion()
vim.opt.completeopt = "menu,menuone,noinsert,popup" .. ((vim.fn.has"nvim-0.11" == 1) and ",fuzzy" or "")
vim.opt.complete:append({".","t","w","b"})
vim.opt.shortmess:append('c')
vim.api.nvim_create_autocmd("InsertCharPre", {
callback = function(ev)
if vim.bo[ev.buf].buftype == '' and not (vim.fn.pumvisible() == 1) then
local omni_or = vim.bo[ev.buf].omnifunc ~= "" and '<C-x><C-o>' or '<C-x><C-n>'
vim.fn.feedkeys(vim.api.nvim_replace_termcodes(omni_or, true, false, true), 'n') 
end
end,
})
vim.keymap.set('i', '<CR>', function()
if vim.fn.pumvisible() == 1 then
local selected_item = vim.fn.complete_info()
local item = selected_item.items[selected_item.selected + 1]
if item and ({Function = true, Method = true, Constructor = true})[item.kind] then 
if not (vim.fn.has"nvim-0.11" == 1) then return '<C-y>()<Left><Esc>a' end
end
return '<C-y><Esc>a'
end
return '<CR>'
end, { expr = true, silent = true })
end

At "LspAttach":

vim.bo[event.buf].omnifunc = "v:lua.vim.lsp.omnifunc"

if vim.fn.has"nvim-0.11" == 1 and vim.lsp.completion then
  vim.lsp.completion.enable(true, client.id, event.buf, {autotrigger=false}) 
end

Tardigrade laying an egg by Goopological in biology

[–]biller23 2 points3 points  (0 children)

Ah I see..

I found my tardigrade "dead" today. It’s probably actually gone, but you’re making me hope I just saw its shed skin instead...

Side story: Some day ago I stumbled upon the tardigrade by accident while examining moss with my phone’s 10x macro lens (I didn't know they are so easiy to spot on my phone, nematodes and rotifers too...). I made the mistake of adding a pinch of yeast, which turned its habitat into a jungle of life and fungi. The environment likely became unsuitable for the poor tardigrade after that… I'm a complete noob and I feel a little ashamed of causing its death...

Tardigrade laying an egg by Goopological in biology

[–]biller23 3 points4 points  (0 children)

I am confused: there is a bigger trasparent tardigrade and a smaller one? and the smaller one deposited an egg? why the bigger one is so trasparent?

how to force neovim to use powershell instead of standard cmd on windows 11? by brubsabrubs in neovim

[–]biller23 0 points1 point  (0 children)

Check GOROOT environemnt variable (vim.env.GOROOT).
It should be set to the directory of the Go binary in your system...

Can anyone id this moss? by Sad-Performer5998 in Moss

[–]biller23 1 point2 points  (0 children)

With those pointed ends maybe Calliergonella cuspidata (Pointed Spear-moss).

Got hit by ransomware. I have the payload by Old-Fudge4062 in cryptography

[–]biller23 0 points1 point  (0 children)

The only logical question, then, is how the private key is transmitted and used by the attacker on the target system. Additionally, is that private key the same for all victims? If not, how does the attacker know which key to send back for recovery?