There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

cyborganism , in emacs

Emacs sucks. Vim is so much better. And vscode is okay.

Go ahead. Down vote me. I don’t care. This isn’t Reddit lol.

Vorticity ,

I use vscode with vim key bindings. It’s amazing!

jack ,

Vim is a pain to configure

martinb ,

Try Lunarvim, it’s neovim with a bunch of great Plugins and configuration settings out of the box.

Cube6392 ,

I’m going to give what I’ve realized newer folks to Vim think is a scorching hot take: VimL is nice. Theyre the same editor commands you use in your day to day life, even if you’re using NeoVim + Lua, just all written out in a file.

That said, using NeoVim + Lua makes it far easier to organize your config, which also makes it easier to write more complex configs. It’s like the difference between building a shed around back for your home office vs building a cathedral. Its fine to work in a shed, but once you know you can build a cathedral, you’re kinda tempted to just up and do it

cyborganism ,

At first maybe. But when you get your vim config well honed over time you’re good. Plus there’s things like pathogen or other frameworks to add plugins and stuff.

expr ,

Vim has vim9 script now which is very similar to common scripting languages like Typescript.

Vim also doesn’t need tons of configuration.

netchami ,

Fennel > Lua > VimScript

KSPAtlas ,
@KSPAtlas@sopuli.xyz avatar

I use both emacs and vim, each have their own use cases

crandel ,
@crandel@programming.dev avatar

Vim sucks, Emacs is the best editor in the world

cyborganism ,

Nuh uh!!! Vim is better! So much better!!! Emacs sucks balls!

histic ,

stock emacs sucks, doom emacs ftw

curiousaur ,

You haven’t switched to cursor yet?

AVincentInSpace ,

This isn’t Reddit lol.

Genuinely curious what you think the difference is

wols , in Spooktober meme time!

That number is like 20 years old.

Today it’s around 60 billion.

Zuberi , in emacs
@Zuberi@lemmy.dbzer0.com avatar

Codium you dorks

HurgletOfficial , in emacs

VSCodium > VSCode

Ethab83 ,

It is, but the lack of official Microsoft extensions makes life a little harder

HurgletOfficial ,

You can change the extension repository to the official one.

I don’t need it tho, I only need Pyright, Python and the catppuccin theme

tostiman ,
@tostiman@sh.itjust.works avatar

Some MS addons still don’t work if you do that, last time I tried

skilltheamps ,

The most unfortunate of which for me is remote development. So convenient, nothing compares :(

HurgletOfficial ,

That’s weird, AFAIk VSCodium only strips telemetry and changes branding. It shouldn’t actively break addon.

Unless they check if they’re running inside of the actual MS VSCode, which could explain why they aren’t working

tostiman ,
@tostiman@sh.itjust.works avatar

IIRC VSCode contains some proprietary, closed source binaries and VSCodium does not. So maybe the MS addons need those binaries

skarn ,

You can get e.g. pylance to work if you trick it:

github.com/VSCodium/vscodium/issues/1640

So, at least in that instance, it’s just Microsoft being a little petty.

TheSecurityNinja , in emacs

VS code is pretty amazing though

MsPenguinette , in emacs

My serial killer trait is that I use vi instead of vim cause I’m too lazy to type the extra character. Tho if for some reason, vi tab completed to vim, I’d probably use vim

LinuxSBC ,

Alias?

ekky43 ,

Aliases are just bloat! You can do just fine without them. Heck, why not remove the ASCII conversion and read everything in hex or binary?

It’s all about SPEED and efficiency here!

MsPenguinette ,

I’m in DevOps so I’m in a lot of effemerial systems so in practice, I will run into systems where profile hasn’t been set up. Tho I do like the idea of making sure all systems properly have that aliased cause it’d be serial killer vibes to spend hours of time to make sure that I can save a keystroke.

Tho it’d never make it through PR. Also, wild require explaining to my coworkers that I do this

Spider89 ,

I use nano.

Nano >> vi/vim, emacs

mosiacmango ,

4 letters < 2 letters.

vi forever.

Spider89 ,

Simplicity > Complexity

Prunebutt ,

Not if you need any work done.

BeigeAgenda ,
@BeigeAgenda@lemmy.ca avatar

That’s when you switch to a IDE.

Prunebutt ,

Neovim and emacs are IDEs.

BeigeAgenda ,
@BeigeAgenda@lemmy.ca avatar

Yes, if you can remember the shortcuts…

M-x IDE

netchami ,

You can customize all the shortcuts and create custom ones. I’d recommend utilizing the leader key concept, and centering your keybindings around that. For text editing, just use evil-mode, once you build up muscle memory with those Vim bindings it’s just awesome.

netchami ,

By default they are not, but you can turn them into IDEs. In fact, you can turn them into better IDEs than stuff like IntelliJ or Visual Studio will ever be.

BeigeAgenda ,
@BeigeAgenda@lemmy.ca avatar

Nano is the best when you just need an editor, you can as well use an IDE instead of vi(m) or Emacs.

brodoshmodo ,

Ok but why use nano when micro literally exists

donnachaidh ,

alias v=vim. There, just saved you two keystrokes.

MsPenguinette ,

{vi} = 2 {vim} = 3 {v=vim} = 5

I’d need to run vi at least 5 times to have a net gain in saving keystrokes. I’m typically in effemerial systems created by the users of our env, so rarely am I going to gain those strokes back

But also, why am I trying to apply logic to this? I’ll often cat a file before editing it. This shit is just illogical idiosyncrasies I’ve picked up over the years. I’m probably creating posthoc justifications for insane things I do cause it’s hard to override muscle memory

emptiestplace ,

effemerial is new to me

MsPenguinette ,

Here’s a link I found that might be good if you are interested in more:

cloudnativenow.com/…/ephemeral-idempotent-and-imm…

…medium.com/persistent-and-ephemeral-infrastructu…

There are different levels of effemeriality. The simplest example I use daily would be an autoscaling group in AWS. Especially if you use Spot Instances to save money, thi gs may scale in and out whenever.

So if a development team creates a new autoscaling group and I need to get into an instance to test something, unless I add stuff to their IaC, I’m stuck with their configuration. I need to assume that every time I ssh into one of those instances, it’s a brand new instance. But it’d be a big challenge for me to go to their repo and make a PR to alias a command whenever an instance in that resource is created

Stuff can be even more temporary if it’s something like an ECS task which creates a container with a read only filesystem only when a task is needed to be done. But I don’t want to get too deep in the weeds (or deeper than I already have)

terraform workspace will at least stick around for a while so you might be in and out of the same system multiple times.

Chunk ,

He’s commenting on your misspelling. www.merriam-webster.com/dictionary/ephemeral

MsPenguinette ,

Shit… I’m an idiot

Chunk ,

Nah it’s fine

netchami ,

Vi is totally fine to quickly make small changes to e.g. a config file on a server. I wouldn’t like to program in vi though.

MsPenguinette ,

I do most of my programming in vscode but when I need a cli editor, I use vi

puppy ,

You are missing out! I used to only use vim to edit config files. So I knew my way around (albeit, slowly). I installed the IdeaVim plugin a week ago and learned some new key bindings I wasn’t using. A week in I’m almost faster than before! And it’s only going to get better after I’ve acquired muscle memory (I’m nearly there.) and move on to complex key bindings/sequences. Then it will probably be as if the cursor is directly connected to my mind. I’m hopeful because I’ve seen a mentor of mine do it.

netchami ,

What am I missing out on? I use vi to change values in files on servers. What would you use for that task? Most of my other text-based work like writing Emails, taking notes or programming happens in Emacs.

puppy ,

I don’t think you understood what I said. I started using vim key bindings ALSO in my IDE and my speed improved because of it. I didn’t ask you to stop using vi. I merely suggested that you used MORE of it. If your Emacs setup already use vim keybindings that’s exactly what I’m doing too.

netchami ,

Oh thanks, now I got it. I agree, vi/vim bindings are awesome. I use them everywhere, in Emacs, in my shell, my browser, and in my tiling window manager. When I said, that I wouldn’t want to program in vi, I didn’t mean that because of the keybindings, I meant that because vi just lacks many useful features for programming and you can’t add plugins to it. I have programmed in Neovim for over a year though. Just switched to Emacs, because it has even more features, possibilities and customizability. I will never drop Vim keybindings though.

puppy ,

Awesome! How did you get them in the shell and browser? Now I am also curious.

netchami ,

I use the fish shell. In fish, you can just add fish_vi_key_bindings to your config file and now Vi bindings will be automatically enabled when you start fish. For bash, it’s set -o vi and for zsh it’s bindkey -v. For the browser, you can install plugins like Vimium (Vimium-FF for Firefox) or Tridactyl. I find these to be incredibly useful, I love navigating around websites with j and k or d and u, jumping up with gg and down with G, searching with /, closing tabs with x, reloading websites with r, opening new tabs with t, going back and forward with H and L, etc.

FiskFisk33 ,

vi, not vim.

expr ,

Most all distros alias vi to vim already, so it makes no difference.

MsPenguinette ,

I’ll have to check tomarrow if RHEL and UBI do this.

Did some quick googling and looks like cent has that alias by default but doesn’t do it when root. Which would explain why I do get inconsistent results with vi. I never thought about it in detail besides just knowing that there are some visual changes. Thanks for the info, I’ll be noticing this now that I know!

Chunk ,

You use vi because you are lazy.

I used vi because I am too stupid to close it.

We are not the same.

tirohia , in classic configure neovim experience

I tried. Going through that loop convinced neovim is not an ide. It’s a means by which someone who wants to build an ide can build one.

If you’re one of those people who doesn’t want to build an ide, like me, it’s not for you.

backhdlp , in classic configure neovim experience
@backhdlp@lemmy.blahaj.zone avatar

kickstart.nvim is one of the configs of all time

fluxion ,

I can also contest that this is a config

bnjmn , in classic configure neovim experience

I felt this 😢

CanadaPlus , (edited ) in Harder Drive: Hard drives we didn't want or need

Comments as I watch through:

I want more information on the ionosphere-storage calculations. 175kB bandwidth is hella illegal (in my jurisdiction at least) for an amateur station, but if you’re ignoring laws you could get way more. 1MB seems entirely reasonable if you can use anything open enough on the whole shortwave spectrum.

Yes, buddy, your ISP is totally throttling you. I think over a thousand individual recipients per second for hours is the definition of suspicious traffic. I guess it could be a hardware limitation too, either way they have no reason to let you do this as a member of the general public.

Ah, there’s a technical report!

“So the first step is going to be to reverse the random number generator of the game…” Yep that’s harder lol. Aaand it’s right around as hard as I would expect assuming a really shitty RNG. How much time did this guy spend on the video?

I guess the polymino-placement algorithm must be in the technical report? Oh wait, pre-computed brute force search for each byte.

Well, this next one sounds biohazerdous. Jesus Christ that test is far dumber than this harder drive could ever be. Oh man, he’s designing and printing a circuit board? And building physical things? He really does go all-out.

Also, still gross. And yes, Bitcoin is also gross, especially because it’s a persistent bad implementation of a non-terrible idea.

Anticorp , in Spooktober meme time!

Here’s another one: Companies depend on Adobe.

xusontha OP ,

That and: Companies are stuck with Adobe

Aiyub ,

Off by 1 error

Anticorp ,

Usually these things are “or less”. I see looking again that it wasn’t actually said.

onlinepersona ,

Governments depend on Microsoft.

bAZtARd ,

Governments? Try critical infrastructure…

Anticorp ,

That is truly terrifying.

5ublimation , in classic configure neovim experience
@5ublimation@hexbear.net avatar

skill issue

smik , in classic configure neovim experience
@smik@discuss.tchncs.de avatar

Have you ever tried changing anything substantial in any other editor? It’s a nightmare if you want a custom experience.

xmunk , in classic configure neovim experience

That’s why I use emacs. It just works.

(just kidding, I use nano because it’s “good enough”)

Chreutz ,

You freak…

TheV2 , in classic configure neovim experience

It can be worth the effort, if the tool fit your needs and wants in the first place.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines