

Making a u32 pointer from two u16’s isn’t a generic operation because it has to make assumptions about how the pointers work endianess
Edit: Actually, I’m wrong, didn’t think this through properly. See the replies
Making a u32 pointer from two u16’s isn’t a generic operation because it has to make assumptions about how the pointers work endianess
Edit: Actually, I’m wrong, didn’t think this through properly. See the replies
you can just do :r path/to/file
directly
What are the odds that you’re actually going to get a bounty out of it? Seems unlikely that an AI would hallucinate an actually correct bug.
Maybe the people doing this are much more optimistic about how useful LLMs are for this than I am but it’s possible that there’s some more malicious idea behind it.
They are open to drop some features apparently, but maybe not “90%”
The developers are taking a “less is more” approach. This means that some features of the original sudo may not be reimplemented if they serve only niche, or more recently considered “outdated” practices.
I use wezterm. It’s more configurable than the windows terminal and also works on linux. It has an appropriately linux-y feel imo.
tldr is great, sometimes you can’t remember the exact syntax for a certain command and just need a quick reminder as well.
Can I mod games as freely and as easily as I do on Windows?
It depends a lot on the game, but in my experience not always. Running games straight from steam works really well with a small number of exceptions, but a lot of the sometimes weird tools for patching exe:s and so on that some games use can sometimes be a pain to get running. Not necessarily impossible but yeah this is a reason for why I still keep around my windows installation for dual booting.
If you want to test windows programs on linux, you’re probably going to want to do that in a virtual machine, or even a spare computer just for testing on windows. Depending on how much you need to use excel, a virtual machine could be a good option for that as well, but if using Microsoft Excel™ is a big part of your job, maybe it makes more sense to just stay on Windows for work at least
fd
is a lot faster than find. This might not matter if you’re searching through small directories but if you’re working in a very large project it does make things a lot nicer.
Who the fuck types out “snigger” haha
Teleports behind you
I mean if you think that it’s bad for linux culture because you’re teaching newbies the wrong lessons, fair enough.
My point is that most people can parse that they’re essentially asking you to run some commands at a url, and if you have even a fairly basic grasp of linux it’s easy to do that in whatever way you want. I don’t know if I personally would be any happier if people took the time to lecture me on safety habits, because I can interpret the command for myself. curl https://some-url/ | sh
is terse and to the point, and I know not to take it completely literally.
You should start getting it from CD-roms, that shit you can trust
You have the option of piping it into a file instead, inspecting that file for yourself and then running it, or running it in some sandboxed environment. Ultimately though, if you are downloading software over the internet you have to place a certain amount of trust in the person your downloading the software from. Even if you’re absolutely sure that the download script doesn’t wipe your home directory, you’re going to have to run the program at some point and it could just as easily wipe your home directory at that point instead.
Rust allows you to create more powerful abstractions, which can allow you to express your intent in a clearer way. C code can feel like you’re bogged down by details all the time. C is on the other hand a smaller language, so just getting to the point where you “know” the language is a lot easier.
Sure, what I’m saying is that they’re both editors that you need to invest time in. A bit less so with helix since it has better defaults so you don’t need to spend as much time configuring it, but I don’t think that makes a huge difference.
Helix has better defaults for sure and I get why people might prefer it but I have a very hard time imagining it being a better choice than vim in every situation even with a lot more development.
Also, if you work with programming for example your editor is going to be one of your main tools and I think that “reading guides” is an acceptable amount of effort to put in to learning such a tool. Vim has a higher barrier of entry than it needs to (this can to some extent be explained with backwards compatability) but with Helix you still have to put some time in to understanding the editing model anyway.
The biggest thing missing from helix right now imo is plugin support, so a lot of plugins that I really like wouldn’t be available. I use fugitive a lot for working with git for example.
Another one is the quickfix list in combination with ex commands. One thing you can do for example is setup :make
to run your compiler and then when you get compilation errors they’ll show up in your quickfix list. You can then use :Cfilter
to focus on one type of error and then :cdo
to for example do a find and replace on the remaining lines.
In general, if I don’t have an lsp available for whatever reason (I work in cmake a fair amount at my $DAYJOB for example) I would much rather use vim, in particular because of the stuff that you can do with ex commands that I mentioned above (also works great with grep) but also because of the ctags support.
Helix can do a lot of nice things out of the box for a lot of cases of software editing, but it’s not nearly as broad or as customizable of a tool as vim
I don’t really see the point in a “facebook competitior” since the only appeal of facebook is that it’s “normal” and “evryone” is on it, something that just isn’t going to be true for e.g. some fediverse product. Everyone should stop using facebook if possible though, I’m trying to persuade different messenger groupchats that I’m part of to switch to something else left and right personally
Vim still has a lot of advantages over helix. Being modern doesn’t automatically make a tool better
Oh my bad I don’t know where I got that from lol