wolf

@wolf@lemmy.zip

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

wolf,

Disclaimer: Never really used Emacs, but mediocre VI(M) user for nearly 25 years.

I am fully capable of using VIM for developing bigger programs, but I gave up on the wish of setting up VIM as an IDE. Still, IMHO VIM is worth knowing for quick edits, writing and remote work.

Seriously, if you want an IDE for Python and C#, VS Code with the Microsoft plugins is and will be miles ahead of the VIM experience. The Rust plugin for VS Code is IMHO subpar, the last time I tried it. I don’t know what is the favorite IDE of Rust developers.

I wouldn’t want to stop you trying out editors and having a nice journey, but in the last years, VS Code ‘won’ and is used by nearly every developer for a reason: It has not a perfect setup and a lot of annoying issues, but out of the box the experience is good enough™ and is has the biggest user base by far, so show stoppers will be fixed quite fast.

So, my advice would be: Learn vi, because it is a handy tool for quick edits with good defaults (looking at EMACS) and chose a popular editor or IDE for your development needs. The time trying to force VIM/EMACS into a descent IDE will never come back and the theory sounds better than it will be in reality.

wolf,

No, never touched neovim.

The things you get ‘for free’ with VS Code:

  • Integrated debugger
  • Integrated unit test runner
  • black
  • isort
  • linting

For Python, AFAIK Microsoft have their own implementation of a language server, so I don’t know how it compares to the Open Source options. My VIM config for Python runs black/isort on save and that’s good enough for me.

IMHO the distance is far greater when you use a language like Java/C#, which has really descent support from IDEs.

If neovim serves your needs, enjoy using it and don’t listen to random people in the internet. ;-)

wolf,

My pleasure. :-)

My impression about VS Code being popular is also from workplaces at several companies, VS Code was literally on every machine and VS Code project config files are nowadays checked in with project into version control. (In the past I would not have been happy about config files in version control, but I just accepted it by now.)

One more question: How to setup VIM/NEOVIM or EMACS as a descent C# IDE? AFAIK the language servers support navigation and auto completion, what about refactoring, code generation, support for build systems, hot reloading for code while debugging etc.?

wolf,

Thank you very much! Really a strange tribe of people, who only ‘care’ for one half of the body.

Funnily enough I do strength/cardio primary for health and functional reasons, that it looks better is just a nice bonus on point of it. :-)

I feel like the Steam Deck is the best proof of Gabe Newell's quote that "piracy is a service issue."

They could have easily crammed the Steam Deck full of stuff to make it hard to use for piracy - locking down everything, making it usable only to play games you legitimately own, force you to go through who knows what hoops in order to play games on it. That’s what Nintendo or Apple or most other companies do....

wolf,

In my personal life, I run Linux on all my devices and I would never invest in non-opensource technology for my career. (Work forces me to run macOS, but that’s another story).

For years now, I happily and only buy games on Steam, even if I have the choice between Steam and NoDRM. Simply because Steam just works™ and is convenient. (Of course one never buys games on steam with a forced additional starter from Ubisoft etc.).

Steam is really great from a technically POV, from a giving back to the community point and from a customer friendliness point (never had a problem with a return).

I even bought a SteamDeck although I am no big fan of handhelds, and for what it is, it is great.

I’ll happily waste more money on my Steam backlog of shame. ;-)

wolf,

Seriously, I have no idea how one could brush teeth in 2 minutes. I brush gently, use the simple swipe away from the gum technique and just work systematic chewing surfaces, inner surfaces, outer surfaces. Each part gets 2-3 swipes. I had a professional dental cleaner teach this technique to me, and she also told me that she couldn’t finish within 3 minutes. (Do not misunderstand me; I would happily get away with 2 minutes.) BTW flossing is another interesting topic, AFAIK there is no study which can show that flossing helps your teeth/gum. (I floss daily, but I just cannot understand why there is no study which supports this practice.)

wolf,

I also got the ‘brush after every contact with sugar’ thingy.

The common agreement nowadays seems to be twice a day and the points are very clear: before you go to bed and soon after getting up in the morning, to bring some fluid to the nasty bacteria, remove their food and plaque from your teeth.

wolf,

Wait, so the summary states clearly, that a.) flossing is effective b.) mouth rinsing is more effective?!? It seems to good to be true, why does not every producer of mouth rinsing make advertisement with this? I also always ask my dentists about tips for dental hygiene, and none every recommend mouth rinsing. (Germany)

wolf,

I was stupid enough to believe the interview with a dentist a few month back in a reputable German newspaper. Now I feel dump for not doing my own research. Thanks for helping me out of ignorance!

wolf,

I am sorry to read about your gum problems, fingers crossed it does not get worse!

wolf,

Thanks, good to hear, I am not the only one. :-)

wolf,

Fair and good question. I literally ask my dentist on every single visit the following points

  • is my dental hygiene ok?
  • do I damage my gums with my brushing?
  • what can I improve in my dental hygiene?

The dentist always tells me it is okay and I cannot do more, than I am doing.

wolf,

This, so much!

It really makes me angry, that there is no free dental hygiene training for children/teenagers.

I life in a comparatively rich society (Germany), but our retarded health care system pumps billions every year in preventable diseases (like most dental problems) and exactly zero in prophylaxes.

wolf,

Look at the shit Apple produces and understand it is not only a function of money.

Custom shell prompt tips and tricks?

Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so...

wolf,

zsh … it is totally awesome, I saw a lot of crazy autocomplete stuff by people using it. I stick to bash mostly because it is simply installed everywhere and good enough for my needs. (With some help like autojump for bash.)

wolf,

Damn it! That is such an obvious great idea, I feel like an idiot! Thank you very much! :-)

Any advice/guide how to change the color for ssh sessions?

wolf,

Wow, thank you very much! :-)

This example is very enlightening. I was kind of aware that one could run shell functions and even use a GIT function in my prompt, but I never thought it through and your example brings the point home.

I’ll waste most probably a few hours to find my perfect prompt function!

(Mandatory xkcd link Nerd Sniping)

wolf,

Thanks, of course the color escapes are the first thing I ran into yesterday, when I played around with prompt functions. ;-)

Porting your prompt command to another language is a very nice and practical little project, perhaps I will give it a go with Go. (Pun intended ;-))

Have a great week!

wolf,

First, Fedora is not Red Hat but their own community. (Although heavily sponsored by Red Hat) Second, Red Hat is FOSS.

The ones hostile to FOSS are all the freeloading companies, which used the work of Red Hat to increase their own profit, w/o contributing anything back.

If it is so easy, cheap and so much fun to support a stable Distribution for 10 years with backports for security vulnerabilities and drivers, I am very surprised that we don’t have hundreads of community distributions which do this.

Finally, over the years Red Hat contributed a load of the things we take for granted now.

(Writing this as a happy Debian user. I am just tired of reading this kind of bullshit again and again and again.)

wolf,

Thanks! And I totally agree with you: We don’t have to defend or like what the corporations/companies do, most of their moves I don’t like. OTOH Linux would not be anywhere w/o their investment. (Sad look over to the *BSDs, Haiku and ReactOS.)

There is so much crazy good and innovative output from the communities around Fedora and openSUSE (I like what is happening with Aeon right now, very cool and innovative)… so IMHO it should be the default for every FOSS user to project the communities which produce great products free of charge from bullshiters. :-)

Cheers!

wolf,

Had a 100X, back then with 2GB RAM. Worked OOTB with Linux w/o trouble, all hardware supported. Good times. Later, starting your browser maxed out the RAM so not a viable option anymore.

Nowadays I can happily recommend a HP Stream 11". Works perfectly with Fedora 39, good battery life. (Obviously you don’t want to use such a machine for more than casual work/internet surfing. But as a cheap/solid travel netbook, it is perfect. Typing this message on it.)

wolf,

Thank you very much for elaborating. :-)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • khanakhh
  • kavyap
  • thenastyranch
  • everett
  • tacticalgear
  • rosin
  • Durango
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • InstantRegret
  • Youngstown
  • slotface
  • megavids
  • ethstaker
  • ngwrru68w68
  • cisconetworking
  • modclub
  • tester
  • osvaldo12
  • cubers
  • GTA5RPClips
  • normalnudes
  • Leos
  • provamag3
  • anitta
  • lostlight
  • All magazines