|
i'm not sure I would hang the hook of the "this os is buggy!" article around a VirtIO issue in your virtual machine, but that's me
|
# ? Jul 9, 2021 18:02 |
|
|
# ? Jun 6, 2024 19:52 |
|
Nomnom Cookie posted:vim is a legacy product at this point. not just legacy like "its old an ugly like ur mom", real legacy like no one who isnt using it has a good reason to start using it I use vscode on local but remote I use vim. I used to use a bunch of other stuff that's awful garbage in comparison: atom, sublime, eclipse, notepad++, most of intellij's editors, etc. this "editing stuff through a terminal" use case is exactly why young people still learn vim if they have a job that has them do that type of stuff with any regularity. even learning i, esc, :wq, ? puts vim ahead of nano. The real dying breed are the people who use it as their main editor or even as an IDE. Khorne fucked around with this message at 18:45 on Jul 9, 2021 |
# ? Jul 9, 2021 18:41 |
|
Khorne posted:what other editor can you use in an ssh session, you can use vscode to edit via ssh
|
# ? Jul 9, 2021 18:46 |
|
Chalks posted:you can use vscode to edit via ssh
|
# ? Jul 9, 2021 18:57 |
|
pico?
|
# ? Jul 9, 2021 19:03 |
|
you can use ed, the standard editor, to edit via ssh
|
# ? Jul 9, 2021 19:16 |
|
imo do all your edits as onelinerscode:
|
# ? Jul 9, 2021 20:13 |
|
the vscode ssh remote editing is a dumb design that infects the remote host with a vscode remote service and wants to download extensions on the remote host directly from the internet so it is fairly useless in a enterprise environment why couldn't they just sftp the file back and forth when loading and saving
|
# ? Jul 9, 2021 20:14 |
|
just use sshfs
|
# ? Jul 9, 2021 20:17 |
|
spankmeister posted:just use sshfs yeah this
|
# ? Jul 9, 2021 20:19 |
|
Nomnom Cookie posted:vim is a legacy product at this point. not just legacy like "its old an ugly like ur mom", real legacy like no one who isnt using it has a good reason to start using it lmbo now this is a take
|
# ? Jul 9, 2021 22:08 |
|
I started using vim 5? Years ago beyond i, esc, :wq and it owns op
|
# ? Jul 9, 2021 22:09 |
|
*mashes down arrow while furiously scrolling through a 20k line log file* GOD I hate Linux!
|
# ? Jul 9, 2021 22:10 |
|
Mr. Crow posted:lmbo now this is a take hello i am Mr. Whitenoise and have nothing to say Mr. Crow posted:I started using vim 5? Years ago beyond i, esc, :wq and it owns op five years ago i started punching myself in the dick and i just loving love punching myself in the dick. the swelling that follows is what i imagine an erection would feel like, if i could get an erection Mr. Crow posted:*mashes down arrow while furiously scrolling through a 20k line log file* in conclusion, editors are a land of contrasts
|
# ? Jul 9, 2021 23:02 |
|
r u ready to WALK posted:the vscode ssh remote editing is a dumb design that infects the remote host with a vscode remote service and wants to download extensions on the remote host directly from the internet so it is fairly useless in a enterprise environment lol this is a terrible idea
|
# ? Jul 9, 2021 23:40 |
|
obviously not fine in prod, but if you're ssh'ing in to vim a few files in prod, or are mounting an sshfs on prod, i have some bad news for you.
|
# ? Jul 9, 2021 23:50 |
|
I had a pc with Ubuntu 20.04 on it with no internet that I needed to install a graphical SQL browser on. I used to use MySQL workbench but that's no longer available in the repo's. Next I decided to install DBeaver but it's a snap now and the internal repo doesn't have snaps. So I ended up downloading the deb and sneakernetting it over USB. Half an hour of wasted time later, I finish installing the deb and all the dependencies (g-d drat Java apps) and finally start up my SQL browser software and connect it to the MariaDB instance. Syke, no I didn't because it doesn't come with any of the necessary JDBC drivers but don't worry it automatically downloads it from the web!
|
# ? Jul 9, 2021 23:54 |
|
the word is "psych", numb nuts
|
# ? Jul 10, 2021 00:44 |
|
Clark Nova posted:lol this is a terrible idea it is absolutely fine for it’s intended use case which should be nowhere near anything that isn’t a dev sandbox
|
# ? Jul 10, 2021 02:12 |
|
before you start caring about the editor you use for ssh sessions you have to ask "why are you editing things so much in the ssh session that the editor matters?"
|
# ? Jul 10, 2021 08:12 |
|
Chris Knight posted:the word is "psych", numb nuts I didn't think anyone would of cared so much, but walla
|
# ? Jul 10, 2021 08:24 |
|
carry on then posted:it is absolutely fine for it’s intended use case which should be nowhere near anything that isn’t a dev sandbox if you're regularly sshing in to edit things on prod then what editor you're using to do it is the least of your worries
|
# ? Jul 10, 2021 10:20 |
|
is the tiling WM the same thing as the powertoys 'fancyzones' https://docs.microsoft.com/en-us/windows/powertoys/fancyzones I found it the other day, works pretty well
|
# ? Jul 10, 2021 10:22 |
|
my stepdads beer posted:is the tiling WM the same thing as the powertoys 'fancyzones' i don't think it'll really replace it if you like fancyzones (not very configurable not least), but otoh i only used fancyzones for a short time as it had some serious compatibility issues with some stuff i used, and so far the w11 variant seems to have less problems.
|
# ? Jul 10, 2021 11:21 |
|
my stepdads beer posted:is the tiling WM the same thing as the powertoys 'fancyzones' i had no idea they're still making powertoys. i though that died out with windows 7 for some reason
|
# ? Jul 10, 2021 13:34 |
|
I use all of: - vim in SSH, for editing a couple lines on some file - SSHFS and local editor, if the target is close enough to be fast - vscode and SSH if the target is far enough away to be lovely with SSHFS I agree that vscode's whole "dump a bunch of files into your remote home folder" approach is dumb and bad, and I wish there was something better. I guess if I wanted to go full I could use emacs with tramp mode or something, but yuck.
|
# ? Jul 10, 2021 14:11 |
|
to me the improved latency is kind of secondary to running and debugging the software in its intended environment seamlessly. sure if you're working on a single thing and a bit hardcore about it you'll probably have the right hardware and software to run it locally, but even then it saves some effort (never worry that a bug is something about your environment) and sometimes is the only option short of jumping between machines constantly (e.g. some large machine learning pipeline which simply cannot be approximated on your arm macbook or w/e). nonetheless pretty dumb to call vim "legacy" though, software does not actually rot.
|
# ? Jul 10, 2021 14:41 |
|
Chalks posted:if you're regularly sshing in to edit things on prod then what editor you're using to do it is the least of your worries do you expect me to set up config management for my bullshit personal web server/irc client host im doin good if i remember to back that thing up before major os upgrades
|
# ? Jul 10, 2021 16:29 |
|
CMYK BLYAT! posted:do you expect me to set up config management for my bullshit personal web server/irc client host nah, but hardly an issue to have a ~/.vscode on such a machine either. kind of not in the realm of what i'd call "prod".
|
# ? Jul 10, 2021 16:41 |
|
Cybernetic Vermin posted:nah, but hardly an issue to have a ~/.vscode-remote on such a machine either. kind of not in the realm of what i'd call "prod". i also use vim for full time dev work though, so vov this discussion does dredge up horrible memories of working on healthcare systems in the early 2010s though, where ssh into prod and edit with vi following a big excel spreadsheet of setup tasks was absolutely the standard and really only workflow my suggestion to adopt config management was rebuffed for fears that the machines would somehow make mistakes
|
# ? Jul 10, 2021 16:46 |
|
my stepdads beer posted:is the tiling WM the same thing as the powertoys 'fancyzones' This is pretty neat.
|
# ? Jul 10, 2021 16:48 |
|
my exposure to vscode is my coworker constantly having problems with it, remote debugging, etc. Well be pair programming and it takes him like 5x as long to do anything because he's loving with vscode. If you need an IDE use a proper one e.g. PyCharm.
|
# ? Jul 10, 2021 16:52 |
|
Khorne posted:what other editor can you use in an ssh session, you make emacs use a ssh session
|
# ? Jul 10, 2021 17:20 |
|
Chris Knight posted:the word is "psych", numb nuts
|
# ? Jul 10, 2021 17:37 |
|
Cybernetic Vermin posted:i like where the professional journalist posts screenshots of test-running an os which include all the chrome of his virtual machine “professional” “journalist”
|
# ? Jul 10, 2021 18:29 |
|
you'll have to forgive jim salter, this article is far outside his comfort zone of extremely long winded articles about installing zfs
|
# ? Jul 10, 2021 18:30 |
|
carry on then posted:you'll have to forgive jim salter, this article is far outside his comfort zone of extremely long winded articles about installing zfs
|
# ? Jul 10, 2021 19:13 |
|
|
# ? Jul 10, 2021 19:55 |
|
one of the many ways vscode is like emacs is that it is neither the editor i will launch on a remote host to change one small thing, nor is it an actual ide i'd choose when i commit to building the best possible environment to long-term write code. i spend a lot of time in that middle ground though.
|
# ? Jul 10, 2021 20:09 |
|
|
# ? Jun 6, 2024 19:52 |
|
Cybernetic Vermin posted:obviously not fine in prod, but if you're ssh'ing in to vim a few files in prod, or are mounting an sshfs on prod, i have some bad news for you. well, probably not sshfs the only time I saw that used was with people who don't know how to use a computer using hpc clusters and maybe they do it in other environments first if you're lucky, altho "prod" is kinda nebulous when lots of configurations you can create/change in prod aren't customer facing until you make them & prod could be 100 microservices help I'm being held hostage by questionable development processes Khorne fucked around with this message at 21:13 on Jul 10, 2021 |
# ? Jul 10, 2021 21:07 |