Antigravitas posted:You can change the mountpoint of a dataset, which will unmount it wherever it was mounted, and mount it on its new directory. See zfsconcepts(8).
|
|
# ? Oct 15, 2021 17:28 |
|
|
# ? Jun 6, 2024 21:30 |
|
What is everyone's recommendation for multi-session ssh clients? Superputty doesn't really support ssh keys well, and I don't want to drop the $350 on xshell if I don't have to. I've been looking at mRemoteNG, KiTTY, and some others but all of them are missing one feature or another (ie no session manager, have to manually save SSH keys per server, doesn't support SCP/SFTP, automatic command logging, etc.)
|
# ? Oct 15, 2021 17:57 |
|
Twerk from Home posted:I found my smoking gun on the network interfaces changing names after upgrading from Ubuntu 18.04 to 20.04! Next question is why. https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
|
# ? Oct 15, 2021 18:34 |
|
Twerk from Home posted:I found my smoking gun on the network interfaces changing names after upgrading from Ubuntu 18.04 to 20.04! Next question is why.
|
# ? Oct 15, 2021 19:09 |
|
MustardFacial posted:What is everyone's recommendation for multi-session ssh clients?
|
# ? Oct 15, 2021 19:11 |
|
ExcessBLarg! posted:"eno#" are the names of the on-board (as in, soldered to your motherboard) network adapters, while "enp#s#f#" refers to devices on the PCI bus. Of course, on-board devices are also on the PCI bus, leaving it up to the device driver to determine whether it's "on-board" or not. Presumably the i40e driver updated some device list and now acknowledges that it's an on-board adapter. Those bastards, both ports are onboard, it's 2 ports on the same device. What a weird state to decide that one of the X722 ports is onboard and the other one is on the PCI bus when one is at 60:00.0 and one at 60:00.1.
|
# ? Oct 15, 2021 19:13 |
MustardFacial posted:What is everyone's recommendation for multi-session ssh clients? Superputty doesn't really support ssh keys well, and I don't want to drop the $350 on xshell if I don't have to. I've been looking at mRemoteNG, KiTTY, and some others but all of them are missing one feature or another (ie no session manager, have to manually save SSH keys per server, doesn't support SCP/SFTP, automatic command logging, etc.) Install the native OpenSSH client for Windows, and use PowerShell ISE.
|
|
# ? Oct 15, 2021 21:23 |
|
For Windows, run whatever in Windows Terminal. It's really good.
|
# ? Oct 15, 2021 21:35 |
|
MustardFacial posted:What is everyone's recommendation for multi-session ssh clients? Superputty doesn't really support ssh keys well, and I don't want to drop the $350 on xshell if I don't have to. I've been looking at mRemoteNG, KiTTY, and some others but all of them are missing one feature or another (ie no session manager, have to manually save SSH keys per server, doesn't support SCP/SFTP, automatic command logging, etc.) I had to lookup what this means is this still what people do? Whats the use-case that ansible or some other configuration management tool doesn't do better?
|
# ? Oct 15, 2021 23:41 |
|
Twerk from Home posted:Those bastards, both ports are onboard, it's 2 ports on the same device. What a weird state to decide that one of the X722 ports is onboard and the other one is on the PCI bus when one is at 60:00.0 and one at 60:00.1. It's not the driver. the DSM ACPI tables provided by ur bios describes the hardware layout and systemd-udev derives a name based upon that information. If the bios info is shoddy well then the names can get ugly.
|
# ? Oct 16, 2021 08:40 |
|
Well, it can be the driver's fault if it causes bad info to be exposed via sysfs but in your case it sounds more like the bios acpi dsm info is not up to spec.
|
# ? Oct 16, 2021 08:41 |
|
The interface name changes depending on the kernel. Unless he happened to reflash his BIOS at the same time that doesn't fully explain it.
|
# ? Oct 16, 2021 14:22 |
|
Doh. In that case either there is some change in what the kernel is exposing in sysfs or possibly some difference in how systemd-udev interprets it. Google tells me ubuntu 18.04 began with v4.15 and can be updated to v5.4 and that 20.04 began with v5.4 and can be updated to v5.8. It would be cool to know the specific kernel versions and systemd versions and then boot each one and get the contents of both devs' sysfs with something like: $ grep -s . /sys/class/net/eno1/* But maybe no one cares this much.
|
# ? Oct 16, 2021 15:36 |
|
I’ve gotten to the chapter in my book about VI and emacs. Please tell me these are relics of the late 80s and nobody actually uses these anymore.
|
# ? Oct 18, 2021 21:57 |
|
drunken officeparty posted:I’ve gotten to the chapter in my book about VI and emacs. Please tell me these are relics of the late 80s and nobody actually uses these anymore. I use neovim as my default editor. Tho, using a vi plugin in an existing ide like vscode is easier then using vi plugins to turn it into a useable ide. I also took vhdl course once, that used emacs as the ide for the lab exercises in around 2005. On solaris thin clients. Taught by a close friend of the knoppix guy.
|
# ? Oct 18, 2021 22:06 |
|
That reminds me: While cleaning up I found a simple sed script that I used to use to help organize some :files: back then. I wrote it, but I haven't used it for over 10 years code:
|
# ? Oct 18, 2021 22:13 |
|
drunken officeparty posted:I’ve gotten to the chapter in my book about VI and emacs. Please tell me these are relics of the late 80s and nobody actually uses these anymore. no idea about emacs but almost everyone i know who does anything CLI still uses vim, and a lot of people also use vim behaviour in their favourite IDEs because it's so good
|
# ? Oct 18, 2021 22:27 |
|
Emacs is great, I don't use it as much anymore but it was my main editor for a while
|
# ? Oct 18, 2021 22:45 |
|
vi(m) is the default editor that exists on basically every unix-like system in existence. if you are gonna janitor servers, you need to know it. I have never used emacs in 20+ years of working with linux, except the one time someone tricked me into editing with it and I had to launch a second terminal to kill the process so I could escape(I have done this with vi as well, to be fair)
|
# ? Oct 18, 2021 22:56 |
|
I can use vim. I use nano. And I'm not even ashamed.
|
# ? Oct 18, 2021 23:17 |
|
Computer viking posted:I can use vim. I use nano. And I'm not even ashamed. you should be
|
# ? Oct 18, 2021 23:18 |
|
I'm waiting for the pico user to pipe up
|
# ? Oct 18, 2021 23:18 |
|
RFC2324 posted:vi(m) is the default editor that exists on basically every unix-like system in existence. if you are gonna janitor servers, you need to know it. yeah I've messed around with various minimal cloud distros that only had vi so here is the full extent of what I know: press i to enter edit mode now pretend it's a normal editor with no features and do whatever you would do normally press esc then :x to save and quit, or :q to exit without saving ok i also know that dd in escape mode deletes the current line. I know that I'm supposed to use hjkl to navigate but arrows work fine. that's literally it though as for emacs... when I ask people about what's so awesome about emacs, usually they bring up org-mode. aka the world's most complicated and least usable todo / notes / calendar app, with the bonus feature of being completely useless from your mobile devices unlike every single todo / notes / calendar app in tyool 2021, from which I reasonably infer that emacs users never leave their desktop let alone their house
|
# ? Oct 18, 2021 23:54 |
|
NihilCredo posted:as for emacs... when I ask people about what's so awesome about emacs, usually they bring up org-mode. aka the world's most complicated and least usable todo / notes / calendar app, with the bonus feature of being completely useless from your mobile devices unlike every single todo / notes / calendar app in tyool 2021, from which I reasonably infer that emacs users never leave their desktop let alone their house In the late 90s in my first programming course in the university I created a graphical CoreWars game with Scheme that ran on Emacs. I dream of the day I get my hands on the Emacs XDRAW extension and able to run it again.
|
# ? Oct 19, 2021 00:30 |
|
drunken officeparty posted:I’ve gotten to the chapter in my book about VI and emacs. Please tell me these are relics of the late 80s and nobody actually uses these anymore. I use vi all of the time, basically whenever I'm already in a console session and I don't actually feel like pulling a file up in a GUI editor.
|
# ? Oct 19, 2021 00:38 |
|
drunken officeparty posted:I’ve gotten to the chapter in my book about VI and emacs. Please tell me these are relics of the late 80s and nobody actually uses these anymore. I categorically don't use IDEs. VIM works well for every language I've used professionally and as a hobbyist. ExcessBLarg! fucked around with this message at 01:15 on Oct 19, 2021 |
# ? Oct 19, 2021 00:53 |
|
I use vi/vim for doing quick or otherwise tedious edits of config files and stuff like that. I reckon some knowledge of vi + tmux is indispensable for managing servers. I use Emacs for just about everything else that involves writing. My personal email, writing lists, recipes, articles, lnotes, generating pdf and static sites etc. I'll also say if you dabble in one or more lisps then it's excellent for that too. I don't use it (or any pc or phone) for to-dos... I just use a little notebook and pencil lol I like Emacs but I will admit that the out of box experience is bewildering. I get why someone would open it once and decide it's not for them. Buck Turgidson fucked around with this message at 01:33 on Oct 19, 2021 |
# ? Oct 19, 2021 01:30 |
|
drunken officeparty posted:I’ve gotten to the chapter in my book about VI and emacs. Please tell me these are relics of the late 80s and nobody actually uses these anymore. I've used vim basically every day for almost 6 years Here's what typical vim use looks like. good luck https://www.youtube.com/watch?v=bzja9fQWzdA
|
# ? Oct 19, 2021 02:16 |
|
NihilCredo posted:yeah I've messed around with various minimal cloud distros that only had vi so here is the full extent of what I know: actually you can also code:
Methanar fucked around with this message at 02:27 on Oct 19, 2021 |
# ? Oct 19, 2021 02:25 |
|
Methanar posted:actually you can also The most important command to remember in vi is ":w !sudo tee %". I would never switch to an editor that doesn't offer this option.
|
# ? Oct 19, 2021 02:34 |
|
VictualSquid posted:I absolutely press <downarrow> ten times instead of pressing 10j. the first because I need to be surer that I don't need 9. The second because I really can't get used to vi-keys, despite trying several times to learn them. Even for playing angband on my laptop. The thought that hjkl are the movement keys because vi is so old that it predates keyboards having arrow keys tickles me in just the right way.
|
# ? Oct 19, 2021 02:40 |
|
It's good to see hobbyists keeping these old timey editors alive
|
# ? Oct 19, 2021 02:48 |
|
cum jabbar posted:It's good to see hobbyists keeping these old timey editors alive yes, in a professional setting we use poo poo, we use vim. sometimes we use vimdiff for special
|
# ? Oct 19, 2021 02:53 |
|
VictualSquid posted:I absolutely press <downarrow> ten times instead of pressing 10j. the first because I need to be surer that I don't need 9. The second because I really can't get used to vi-keys, despite trying several times to learn them. Even for playing angband on my laptop. the 10 thing also works with arrow keys, also you can always move back up a line or two if you overestimated it before going # esc but yeah, for editing text (any kind of text, but especially files a computer is supposed to read), vi* offers so much power compared to non-modal editors. even if you only have a few basic things down it's like night and day compared to crappy notepad clones
|
# ? Oct 19, 2021 02:56 |
|
I do all my coding in cat and output redirection.
|
# ? Oct 19, 2021 03:07 |
|
It takes a long, stupid time but once you're vimpilled it's hard to go back. Especially if you're sensitive to how slow VSCode can get, despite the heroic efforts made in making it snappy.
|
# ? Oct 19, 2021 04:18 |
|
using vim is like stockholm syndrome, but useful
|
# ? Oct 19, 2021 05:12 |
|
Vscode is genuinely pretty snappy vanilla. Just people don't seem to want to use it as a text editor and add 20+ extentions to it to make it more like an IDE. So why not just use an IDE at that point? People are weird about their tools.
|
# ? Oct 19, 2021 08:04 |
|
Mega Comrade posted:Vscode is genuinely pretty snappy vanilla. Just people don't seem to want to use it as a text editor and add 20+ extentions to it to make it more like an IDE. So why not just use an IDE at that point? i have 20+ extensions and it's still pretty snappy here's some secret l33t sauces for doing awesome vi-type stuff with vscode: - want to transform all your text to uppercase? press f1 (or ctrl-shift-p), start typing 'uppercase' (or just 'upp'), press enter - want to select all text to the end of the current bracket? press f1 (or ctrl-shift-p), start typing 'select to bracket' (or just 'sel br'), press enter - want to compare the content of the active file with the last saved version? press f1 (or ctrl-shift-p), start typing 'compare active file with saved' (or just 'act sav'), press enter and if you spend a lot of time learning your tool, you might eventually start to notice some pattern in those commands and be able to figure out more awesome tricks all by yourself!
|
# ? Oct 19, 2021 09:04 |
|
|
# ? Jun 6, 2024 21:30 |
|
I miss nedit....
|
# ? Oct 19, 2021 09:17 |