• 0 Posts
  • 83 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle

  • I just bought a new laptop for a family member. It wasn’t very expensive, but hardware now is generally amazing. It has Windows 11. My 12 year old laptop running Windows 7 is faster for most tasks, despite far inferior hardware. Plus search actually works in 7, it’s better organized, it doesn’t come with a ton of junk you need to disable or remove (good god the default start menu on 10 is a mess), and it doesn’t look like they designed the UI over the weekend. I kept waiting for the typical MS move of fixing the dumb crap they added, but with 11 it’s clear that they’re doubling down.




  • Yeah, I use that all the time. I think I use it in a different way though. I have projects with C, C++ and other languages. The C and C++ get compiled and linked together, and so there are some considerations for those files that don’t apply to anything else. So I mean C files and C++ files, but not as if they were the same language.



  • Kethal@lemmy.worldtoProgrammer Humor@programming.devTrue Story
    link
    fedilink
    arrow-up
    20
    arrow-down
    1
    ·
    6 months ago

    I did this in a project and someone later came and changed them all to .h, because that was “the convention” and because “any C is valid C++”. Obviously neither of those things is true and I am constantly befuddled by people’s use of the word convention to mean “something some people do”. It didn’t seem worth the argument though.












  • People are giving some advice but it doesn’t seem appropriate for an absolute newbie. Here’s what I’d say. Absolutely do not run telnet. Because it’s so insecure and everyone knows that, it’s usually not on by default, and you would have had to start it yourself somehow. It’s unlikely that you did that, but you can check to see.

    If you’re new, you very likely don’t need an SSH server running. Unless you’re logging into that computer remotely, you don’t need it. It’s probably not running, but it’s conceivable that it could run by default. Check to see and disable it if you don’t need remote login.

    If you do need remote login, use SSH and use a very good password. Ideally, you’d need to leave newbie territory and use public-private keys instead of a password. It’s also not a bad idea to use a nonstandard port, instead of 22. That doesn’t beef security much, but many scanners are going to look for 22 and nothing else.