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.

xx3rawr , in Programposting

No children, no maiden

z3rOR0ne , in every damn time ...

What is this, a VSCode message? I use NeoVim on Linux and can only vaguely recall such a message from a time long ago…in a galaxy far far away…

backhdlp ,
@backhdlp@lemmy.blahaj.zone avatar

Average Neovim user (I use Neovim btw)

Tsubodai ,

Neovim extension for vscode. Love it.

agent_flounder ,
@agent_flounder@lemmy.world avatar

Yeah vscode.

Today’s stupid question: are vim and neovim not the same thing? I just type vi (ancient habit) and use whatever it is that executes. (I can go search but interacting here is more fun lol)

Dhs92 ,

I believe neovim is just a fork of vim that’s still updated and has support for more modern features.

9point6 ,

FWIW I think vim is also still updated, there was a release this year I believe

emptiestplace ,

and then Bram died :(

9point6 ,

oh… oh shit. That had somehow slipped my mind

:(

emptiestplace ,

Yeah, it doesn’t make a lot of sense. People talk about “when Linus dies”, and obviously that will be devastating, but in my mind Bram just was. I wish I’d made a point of meeting him, or at least sending him an email to say thanks. Not for vim specifically, though I will probably use it until my fingers quit working. As with countess others, Bram inspired me to learn about ICCF Holland, and from there I had the privilege of supporting a child in Uganda through school. That’s what I’d want to thank him for. And vim.

z3rOR0ne ,

Neovim is a fork of Vim. It uses Lua for configuration instead of the original Vim’s VimScript, but still has a lot of interoperability with original Vim plugins and configuration options.

1984 ,
@1984@lemmy.today avatar

Neovim is better in many ways, and because it has lua support, it’s so much easier to write plugins for it. So there are thousands of plugins right now, and entire neovim distributions that are configured to work like an IDE, like Lazyvim for example.

www.lazyvim.org

I’m a huge fan and I have written plugins myself since it’s easy and rewarding.

But on the server, I don’t bother installing neovim. Ordinary vim is fine for simple editing tasks. But if you want a customized experience to replace VS Code on your computer, you want neovim and not vim.

open_world , in every damn time ...
@open_world@lemmy.world avatar

I feel like this popup shows up too often

technojamin ,

If you have a common folder that you clone projects to (like OP’s ~/coding), then that checkbox lets you trust that whole folder easily when this pop up comes up.

Tsubodai ,

I have a coding folder “repos”. It’s on a remote machine though and I get this every time I connect to my code folder using a new remote host. So annoying!

MargotRobbie , in every damn time ...

In general, drunk me is the last person I would ever trust with literally anything.

It’s like waking up in the morning and reading your own drunk text messages.

psud ,

Hits Balmer point, accidentally makes malware. A modern Jekyll and Hyde

TheFriendlyArtificer ,

My wife got prescribed Ambien a few weeks ago. She took one, completely forgot about it, and 45 minutes later had a glass of wine with me while watching Taskmaster.

She then became convinced that she was actually on the show and went around the house asking me to time her doing random stuff. Th next morning she had zero memory and was floored when I showed her the video.

marcos , in every damn time ...

Trust the author? Are you crazy? Do you have any idea how many dumb mistakes I’ve caught the author doing?

flambonkscious ,

They’re getting worse, too

(Assuming my experience is anything to go by)

Buttons , in every damn time ...
@Buttons@programming.dev avatar

To avoid running code that might steal your data for profit, only run official code that will still your data for profit.

odium , in every damn time ...

All the more reason not to

cmbabul ,

I trust me to not steal from me, I do not trust me to write good code

rostby ,

My code does exactly what I programmed it to do, not what I want it to do

aksdb , in Okay, which one of you Java devs did this

IDEA isn’t Java-only. Most of the other languages are available as plugins. IDEA is typically the go-to IDE for multilanguage projects.

brunofin ,

Except .NET then you can use Rider which is pretty much IDEA but with added support for .NET, which makes it… better…? Not sure.

aksdb ,

clion is also strictly separated.

ursakhiin ,

As it should be. The needs of a systems language are very different than the needs of a virtualized or interpreted one. I honestly don’t see how people use a single IDE for every language but I respect their choice to do it.

aksdb ,

I have a few projects where parts are Java, parts are Go and parts are C. Having that in a single workspace can be convenient.

ursakhiin ,

Even those I tend to open up in their specific IDEs when the time comes. It helps me separate the language but also the workflow.

gkd ,
@gkd@lemmy.ml avatar

Most of their products are like that. There are a lot of specific language support features in each one that may become available as plugins later on but not at the same pace or “fullness” as the specific product itself.

For example, PHPStorm has good JavaScript support but if you want really good Typescript support you should probably go with Webstorm.

Alternatively, I can totally write Rust code in Webstorm through the Rust plugin but I’m better off using CLion that has better support (or now RustRover which will be where all the latest Rust support features are added, although it’s still a preview product afaik).

Also worth noting though that there are indeed some “tiers”. Like Webstorm won’t support PHP but PHPStorm will support JavaScript/Typescript (again, not fully but enough to maintain a front end operating off your PHP backend)

CodingCarpenter ,

I prefer phpstorm for multi language personally.

feef ,

This. I use IntelliJ for Java, Kotlin, typescript, Python, HTML etc… it just does everything and does it better than other IDEs.

Lime66 ,

Or available in the paid version

neurospice , in every damn time ...

Trust nobody, not even yourself

at_an_angle ,

I don’t trust anybody. Hell, I don’t even trust myself. 🧛🏻‍♂️

Doug , in every damn time ...

No, but I’m gonna run his code anyway

xmunk , in every damn time ...

Random question… RPI, in my jargon, stands for role-play intensive, and it’s a category of MUD engines… are you working on such a project? Because I’m probably in the commit history, and that’d tickle me.

Pirasp ,

It most likely stands for raspberry Pi, sorry to disappoint you…

xmunk ,

Sadness, one can dream… one can dream.

cupcakezealot , in every damn time ...
@cupcakezealot@lemmy.blahaj.zone avatar

that’s specifically why i don’t trust them

LoveSausage , in Walking Desk Is More Annoying Than A Standing Desk
@LoveSausage@lemmygrad.ml avatar

Love it , wouldnt work where i live , no flat roads. , Would be a new extreme sport going downhill though :) but I think I am gonna go for the one in the comments perhaps hackaday.io/…/180836-desk-ercising-with-the-exer-…

SpeakinTelnet , in 10 months later bill revisits his spaghetti code. forgets absolutely everything and refuses to elaborate. this wouldn't have happened if Bill forgot to comment on his code

I don’t care how much you think your code is readable, plain text comments are readable by everyone no matter the proficiency in the programming language used. That alone can make a huge difference when you’re just trying to understand how someone handled a situation.

Fal ,
@Fal@yiffit.net avatar

There’s nothing keeping the comments up to date with the code. Comments should be sparse and only on sections that aren’t obvious why they’re being done

Zagorath ,
@Zagorath@aussie.zone avatar

Comments explain why, not what. Any comments that explain what a section of code is doing would probably be better off as separated methods.

Apart from basic documentation comments, like JavaDoc or C#'s XML documentation comments.

SpeakinTelnet ,

There’s nothing limiting what a comment should be as far as I know.

As an example of what I mean, I’ve seen in a 10k+ lines python code a few lines of bit manipulation. There was a comment explaining what those lines did and why. They didn’t expect everyone to be proficient in bit manipulation but it made it so that anyone could understand anyway.

Zagorath ,
@Zagorath@aussie.zone avatar

There’s nothing limiting what a comment should be as far as I know.

Nothing technical, sure. Just good coding practices.

lorty ,
@lorty@lemmygrad.ml avatar

Then someone needs to change something about the code and doesn’t bother updating the comment. Now you still have uncommented code but with a comment that confuses instead of helping.

SpeakinTelnet ,

IMHO the issue in this situation is not the comment but that the person updating the code didn’t do his job properly which shouldn’t be an excuse not to do it from the start.

xthexder , (edited ) in Walking Desk Is More Annoying Than A Standing Desk
@xthexder@l.sw0.com avatar

I feel like a treadmill desk would have been way simpler. Unless you like sun glare and spotty wifi.

sbv ,

Okay, now put the whole thing on wheels. I can finally go grocery shopping during my scrum.

SinTacks ,

Wolfram uses a walking desk but it’s more of a laptop support like a baby bjorn. I kind of want one but looks like they need a bit of customizing.

MostlyBlindGamer ,
@MostlyBlindGamer@rblind.com avatar

There are also under-desk treadmills that you can use with an existing standing desk. You need to be able to raise it a bit higher though.

SinTacks ,

The point would be to be outside. Were traveling right now and I can’t find the link but if you search for wolphrams life hacks type of thing there’s an article he wrote about it which was a fascinating read.

Personally I have an elliptical at home with a laptop stand on it and I love it.

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