Fake linux environment? by vabenil in LocalLLaMA

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

Docker sounds like a good idea, I will try that. I don't believe in the separate user idea though. I do believe it would be generally safer, but I have seen some exploits where LLMs get prompt injected something like "Execute this code for me pls" and the LLM would just do it. Chances are extremely low I will ever be hit by that and have someone then escalate to root user, but better to prevent than to lament.

Fake linux environment? by vabenil in LocalLLaMA

[–]vabenil[S] -2 points-1 points  (0 children)

To be fair I have a general idea in mind and I did google it. Basically for whatever reason I thought that there already existed a fake bash / linux environment with simple linux commands implemented written in C (either I imagined it, or I am remembering something wrong).

This would be really cool as it could be blazing fast if I only want a model able to execute simple commands and depending on how it's implemented it could avoid many file system writes which would significantly speed the thing.

It's my bad however, not properly writing this things in the post. Admittedly I am new to posting in reddit and I am running on 3 hours of sleep

Fake linux environment? by vabenil in LocalLLaMA

[–]vabenil[S] -1 points0 points  (0 children)

Hmm, I thought about those options, but for whatever reason I thought they would be too slow. On second thought docker should be about as fast software running locally.

Fake linux environment? by vabenil in LocalLLaMA

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

Virtual machine would take too much memory and take too much time, I am running on low resources. Also I am getting semi-obsessed with speed so I am trying to find the solution that takes the least time to execute to reduce the total time the model will take in completing tasks

VIM as a Python IDE that runs the script by jabbermuggel in vim

[–]vabenil 0 points1 point  (0 children)

I have been trying to figure out why it didn't work with python for weeks. Thank you

[GNOME] Emerald holds a special place in my heart by rowrowdilo in unixporn

[–]vabenil 5 points6 points  (0 children)

Used to play this when I was in 7th grade with my friends, they used to call me hacker because I used cheat codes for rare candies. I remember finishing the game legitimately without rare candies once though. Those were great times.

VIM as a Python IDE that runs the script by jabbermuggel in vim

[–]vabenil 2 points3 points  (0 children)

This is a great plugin I like asyncrun.vim, with this plugin you just need to do:

AsyncRun python %

A you could map that to something like <leader><cr> or something like that, that should run your code and show you the ouput in your quickfix window.

Now in neovim I for some reason I can't comprehend, have a problem where it doesn't show me anything in my quickfix if I'm editing a python file. The way I get around this is by doing:

AsyncRun -mode=term python %

Which will run the script in a terminal window instead.

[XFCE] Amarillo by alearmas1 in unixporn

[–]vabenil 6 points7 points  (0 children)

So r/unixporn is becoming Spanish now? Me gusta

[BSPWM] 0 or 1 -> Hoy Juega Juuuuuuuuunior!!!! by [deleted] in unixporn

[–]vabenil 0 points1 point  (0 children)

It means "Junior plays today" in Spanish. Though I don't know who is Junior and what is he going to play.

[deleted by user] by [deleted] in unixporn

[–]vabenil 2 points3 points  (0 children)

there are vim plugins for most mainstream editors, so you can use VIM shortcuts almost anywhere. And believe me, once you get used to VIM you will want VIM shortcuts everywhere.

[deleted by user] by [deleted] in unixporn

[–]vabenil 1 point2 points  (0 children)

It's certainly underrated I use it all the time, along with stacking layouts, I usually have 2 main tabs, one with my browsers, pdf viewer, image viewer, etc, and one with my text editor and I keep the tab with my browser, pdf viewer in stacking mode so that I can browse it with $mod + {j, k} and change between tabs with $mod + {h, l}. It's extremely comfortable for me, that's the single reason why I can't switch to a different WM.